","__serializedExpressions__":["extent","_Extent"],"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes","extent":"lively.pt(21.0,20.0)","_Extent":"lively.pt(21.0,20.0)"},"74":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","partName":"CheckBox","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"75":{"morph":{"__isSmartRef__":true,"id":72},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"76":{"sourceObj":{"__isSmartRef__":true,"id":72},"sourceAttrName":"setChecked","targetObj":{"__isSmartRef__":true,"id":16},"targetMethodName":"dryRun","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":77},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"77":{"source":{"__isSmartRef__":true,"id":72},"target":{"__isSmartRef__":true,"id":16}},"78":{"moveVertical":true},"79":{"submorphs":[],"scripts":[],"id":185,"shape":{"__isSmartRef__":true,"id":80},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":168,"_MaxTextHeight":null,"__serializedExpressions__":["textColor","_Padding","distanceToDragEvent","_Position"],"showsHalos":false,"_FontSize":11,"name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":81},"textChunks":[{"__isSmartRef__":true,"id":82}],"charsReplaced":"some text ","lastFindLoc":-10,"priorSelectionRange":[7,7],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":84},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"layout":{"__isSmartRef__":true,"id":85},"magnets":[{"__isSmartRef__":true,"id":86},{"__isSmartRef__":true,"id":87},{"__isSmartRef__":true,"id":88},{"__isSmartRef__":true,"id":89},{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":91},{"__isSmartRef__":true,"id":92},{"__isSmartRef__":true,"id":93}],"owner":{"__isSmartRef__":true,"id":16},"_Rotation":0,"_Scale":1,"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(112.4,-9.2)","_Position":"lively.pt(41.1,309.0)"},"80":{"fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(168.0,17.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"81":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"82":{"style":{"__isSmartRef__":true,"id":83},"chunkOwner":{"__isSmartRef__":true,"id":79},"storedString":"dry run","_id":"_1275","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"83":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"84":{"morph":{"__isSmartRef__":true,"id":79},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"85":{"moveVertical":true},"86":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":79},"connectedControlPoints":[],"position":"lively.pt(0.0,0.0)"},"87":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":79},"connectedControlPoints":[],"position":"lively.pt(0.5,0.0)"},"88":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":79},"connectedControlPoints":[],"position":"lively.pt(1.0,0.0)"},"89":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":79},"connectedControlPoints":[],"position":"lively.pt(1.0,0.5)"},"90":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":79},"connectedControlPoints":[],"position":"lively.pt(1.0,1.0)"},"91":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":79},"connectedControlPoints":[],"position":"lively.pt(0.5,1.0)"},"92":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":79},"connectedControlPoints":[],"position":"lively.pt(0.0,1.0)"},"93":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":79},"connectedControlPoints":[],"position":"lively.pt(0.0,0.5)"},"94":{"submorphs":[{"__isSmartRef__":true,"id":95}],"scripts":[],"id":186,"shape":{"__isSmartRef__":true,"id":100},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":101},"lighterFill":{"__isSmartRef__":true,"id":106},"label":{"__isSmartRef__":true,"id":95},"name":"ScriptableButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":111},"attributeConnections":[{"__isSmartRef__":true,"id":112}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":139},"__serializedExpressions__":["distanceToDragEvent","_Position"],"layout":{"__isSmartRef__":true,"id":140},"magnets":[{"__isSmartRef__":true,"id":141},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":143},{"__isSmartRef__":true,"id":144},{"__isSmartRef__":true,"id":145},{"__isSmartRef__":true,"id":146},{"__isSmartRef__":true,"id":147},{"__isSmartRef__":true,"id":148}],"owner":{"__isSmartRef__":true,"id":16},"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":149},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(63.6,-10.1)","_Position":"lively.pt(470.0,316.0)"},"95":{"submorphs":[],"scripts":[],"id":187,"shape":{"__isSmartRef__":true,"id":96},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"__serializedExpressions__":["_Position","padding","_Padding"],"_MaxTextWidth":101,"_MaxTextHeight":21,"textStyle":null,"owner":{"__isSmartRef__":true,"id":94},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":97}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":99},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WordBreak":"break-all","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"96":{"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"97":{"style":{"__isSmartRef__":true,"id":98},"chunkOwner":{"__isSmartRef__":true,"id":95},"storedString":"move","_id":"_1276","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"98":{"__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","_BorderColor","_Padding"],"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":101},"_BorderRadius":5.2,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"101":{"stops":[{"__isSmartRef__":true,"id":102},{"__isSmartRef__":true,"id":103},{"__isSmartRef__":true,"id":104},{"__isSmartRef__":true,"id":105}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"102":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"103":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"104":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"105":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"106":{"stops":[{"__isSmartRef__":true,"id":107},{"__isSmartRef__":true,"id":108},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":110}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"107":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"108":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"109":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"110":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"111":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"112":{"sourceObj":{"__isSmartRef__":true,"id":94},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":16},"targetMethodName":"moveWorlds","visualConnector":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"113":{"submorphs":[{"__isSmartRef__":true,"id":114}],"scripts":[],"shape":{"__isSmartRef__":true,"id":125},"id":246,"eventHandler":{"__isSmartRef__":true,"id":128},"__layered_droppingEnabled__":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":129},{"__isSmartRef__":true,"id":130}],"con":{"__isSmartRef__":true,"id":112},"showsMorphMenu":true,"showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":131},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"114":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":115},"id":247,"eventHandler":{"__isSmartRef__":true,"id":120},"__layered_droppingEnabled__":true,"halosEnabled":true,"__serializedExpressions__":["_Origin","_Position"],"owner":{"__isSmartRef__":true,"id":113},"_Rotation":-2.4574344801708827,"controlPoints":[{"__isSmartRef__":true,"id":121},{"__isSmartRef__":true,"id":122},{"__isSmartRef__":true,"id":123},{"__isSmartRef__":true,"id":124}],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Origin":"lively.pt(12.0,6.0)","_Position":"lively.pt(-12.0,-6.0)"},"115":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":116},{"__isSmartRef__":true,"id":117},{"__isSmartRef__":true,"id":118},{"__isSmartRef__":true,"id":119}],"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill"],"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(16.0,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"116":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"117":{"isAbsolute":true,"x":0,"y":12,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"118":{"isAbsolute":true,"x":16,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"119":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"120":{"morph":{"__isSmartRef__":true,"id":114},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"121":{"morph":{"__isSmartRef__":true,"id":114},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"122":{"morph":{"__isSmartRef__":true,"id":114},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"123":{"morph":{"__isSmartRef__":true,"id":114},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"124":{"morph":{"__isSmartRef__":true,"id":114},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"125":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":126},{"__isSmartRef__":true,"id":127}],"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"_BorderWidth":1,"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(347.0,283.0)","_BorderColor":"Color.rgb(0,0,0)"},"126":{"isAbsolute":true,"x":347,"y":283,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"127":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"128":{"morph":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"129":{"morph":{"__isSmartRef__":true,"id":113},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"130":{"morph":{"__isSmartRef__":true,"id":113},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":114},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"131":{"morphMenuItems":{"__isSmartRef__":true,"id":132}},"132":{"varMapping":{"__isSmartRef__":true,"id":133},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":138},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"133":{"this":{"__isSmartRef__":true,"id":113},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":134}},"134":{"$super":{"__isSmartRef__":true,"id":135}},"135":{"varMapping":{"__isSmartRef__":true,"id":136},"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":137},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"136":{"obj":{"__isSmartRef__":true,"id":113},"name":"morphMenuItems"},"137":{},"138":{},"139":{"morph":{"__isSmartRef__":true,"id":94},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"140":{"moveVertical":true,"moveHorizontal":true},"141":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":94},"connectedControlPoints":[],"position":"lively.pt(0.0,0.0)"},"142":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":94},"connectedControlPoints":[],"position":"lively.pt(0.5,0.0)"},"143":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":94},"connectedControlPoints":[],"position":"lively.pt(1.0,0.0)"},"144":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":94},"connectedControlPoints":[],"position":"lively.pt(1.0,0.5)"},"145":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":94},"connectedControlPoints":[],"position":"lively.pt(1.0,1.0)"},"146":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":94},"connectedControlPoints":[],"position":"lively.pt(0.5,1.0)"},"147":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":94},"connectedControlPoints":[],"position":"lively.pt(0.0,1.0)"},"148":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":94},"connectedControlPoints":[],"position":"lively.pt(0.0,0.5)"},"149":{"onFire":{"__isSmartRef__":true,"id":150}},"150":{"varMapping":{"__isSmartRef__":true,"id":151},"source":"function onFire() {\n\talert('fired ' + this )\n}","funcProperties":{"__isSmartRef__":true,"id":152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"151":{"this":{"__isSmartRef__":true,"id":94}},"152":{},"153":{"submorphs":[{"__isSmartRef__":true,"id":154}],"scripts":[],"id":188,"shape":{"__isSmartRef__":true,"id":159},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":160},"lighterFill":{"__isSmartRef__":true,"id":165},"label":{"__isSmartRef__":true,"id":154},"name":"ScriptableButton1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":170},"attributeConnections":[{"__isSmartRef__":true,"id":171}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":198},"__serializedExpressions__":["distanceToDragEvent","_Position"],"layout":{"__isSmartRef__":true,"id":199},"magnets":[{"__isSmartRef__":true,"id":200},{"__isSmartRef__":true,"id":201},{"__isSmartRef__":true,"id":202},{"__isSmartRef__":true,"id":203},{"__isSmartRef__":true,"id":204},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":206},{"__isSmartRef__":true,"id":207}],"owner":{"__isSmartRef__":true,"id":16},"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":208},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(58.5,-5.0)","_Position":"lively.pt(590.0,316.0)"},"154":{"submorphs":[],"scripts":[],"id":189,"shape":{"__isSmartRef__":true,"id":155},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"__serializedExpressions__":["_Position","padding","_Padding"],"_MaxTextWidth":101,"_MaxTextHeight":21,"textStyle":null,"owner":{"__isSmartRef__":true,"id":153},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":156}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":158},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WordBreak":"break-all","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"155":{"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"156":{"style":{"__isSmartRef__":true,"id":157},"chunkOwner":{"__isSmartRef__":true,"id":154},"storedString":"stop","_id":"_1277","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"157":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"158":{"morph":{"__isSmartRef__":true,"id":154},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"159":{"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":160},"_BorderRadius":5.2,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"160":{"stops":[{"__isSmartRef__":true,"id":161},{"__isSmartRef__":true,"id":162},{"__isSmartRef__":true,"id":163},{"__isSmartRef__":true,"id":164}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"161":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"162":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"163":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"164":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"165":{"stops":[{"__isSmartRef__":true,"id":166},{"__isSmartRef__":true,"id":167},{"__isSmartRef__":true,"id":168},{"__isSmartRef__":true,"id":169}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"166":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"167":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"168":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"169":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"170":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"171":{"sourceObj":{"__isSmartRef__":true,"id":153},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":16},"targetMethodName":"stopMovingWorlds","visualConnector":{"__isSmartRef__":true,"id":172},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"172":{"submorphs":[{"__isSmartRef__":true,"id":173}],"scripts":[],"shape":{"__isSmartRef__":true,"id":184},"id":1662,"eventHandler":{"__isSmartRef__":true,"id":187},"__layered_droppingEnabled__":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":188},{"__isSmartRef__":true,"id":189}],"con":{"__isSmartRef__":true,"id":171},"showsMorphMenu":true,"showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":190},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"173":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":174},"id":1663,"eventHandler":{"__isSmartRef__":true,"id":179},"__layered_droppingEnabled__":true,"halosEnabled":true,"__serializedExpressions__":["_Origin","_Position"],"owner":{"__isSmartRef__":true,"id":172},"_Rotation":-2.4353935611617965,"controlPoints":[{"__isSmartRef__":true,"id":180},{"__isSmartRef__":true,"id":181},{"__isSmartRef__":true,"id":182},{"__isSmartRef__":true,"id":183}],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Origin":"lively.pt(12.0,6.0)","_Position":"lively.pt(-12.0,-6.0)"},"174":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":175},{"__isSmartRef__":true,"id":176},{"__isSmartRef__":true,"id":177},{"__isSmartRef__":true,"id":178}],"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill"],"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(16.0,12.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"175":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"176":{"isAbsolute":true,"x":0,"y":12,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"177":{"isAbsolute":true,"x":16,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"178":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"179":{"morph":{"__isSmartRef__":true,"id":173},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"180":{"morph":{"__isSmartRef__":true,"id":173},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"181":{"morph":{"__isSmartRef__":true,"id":173},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"182":{"morph":{"__isSmartRef__":true,"id":173},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"183":{"morph":{"__isSmartRef__":true,"id":173},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"184":{"dontChangeShape":false,"cachedVertices":[],"_PathElements":[{"__isSmartRef__":true,"id":185},{"__isSmartRef__":true,"id":186}],"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"_BorderWidth":1,"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(340.0,290.0)","_BorderColor":"Color.rgb(0,0,0)"},"185":{"isAbsolute":true,"x":340,"y":290,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"186":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"187":{"morph":{"__isSmartRef__":true,"id":172},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"188":{"morph":{"__isSmartRef__":true,"id":172},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"189":{"morph":{"__isSmartRef__":true,"id":172},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":173},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"190":{"morphMenuItems":{"__isSmartRef__":true,"id":191}},"191":{"varMapping":{"__isSmartRef__":true,"id":192},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":197},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"192":{"this":{"__isSmartRef__":true,"id":172},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":193}},"193":{"$super":{"__isSmartRef__":true,"id":194}},"194":{"varMapping":{"__isSmartRef__":true,"id":195},"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":196},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"195":{"obj":{"__isSmartRef__":true,"id":172},"name":"morphMenuItems"},"196":{},"197":{},"198":{"morph":{"__isSmartRef__":true,"id":153},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"199":{"moveVertical":true,"moveHorizontal":true},"200":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":153},"connectedControlPoints":[],"position":"lively.pt(0.0,0.0)"},"201":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":153},"connectedControlPoints":[],"position":"lively.pt(0.5,0.0)"},"202":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":153},"connectedControlPoints":[],"position":"lively.pt(1.0,0.0)"},"203":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":153},"connectedControlPoints":[],"position":"lively.pt(1.0,0.5)"},"204":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":153},"connectedControlPoints":[],"position":"lively.pt(1.0,1.0)"},"205":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":153},"connectedControlPoints":[],"position":"lively.pt(0.5,1.0)"},"206":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":153},"connectedControlPoints":[],"position":"lively.pt(0.0,1.0)"},"207":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":153},"connectedControlPoints":[],"position":"lively.pt(0.0,0.5)"},"208":{"onFire":{"__isSmartRef__":true,"id":209}},"209":{"varMapping":{"__isSmartRef__":true,"id":210},"source":"function onFire() {\n\talert('fired ' + this )\n}","funcProperties":{"__isSmartRef__":true,"id":211},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"210":{"this":{"__isSmartRef__":true,"id":153}},"211":{},"212":{"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_StrokeOpacity":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(709.0,344.0)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"213":{"partsSpaceName":"PartsBin/Basic","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"MovePages","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"214":{"morph":{"__isSmartRef__":true,"id":16},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"215":{"sourceObj":{"__isSmartRef__":true,"id":16},"sourceAttrName":"dryRun","targetObj":{"__isSmartRef__":true,"id":72},"targetMethodName":"setChecked","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"216":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"217":{"moveWorlds":{"__isSmartRef__":true,"id":218},"log":{"__isSmartRef__":true,"id":220},"progressReset":{"__isSmartRef__":true,"id":222},"progressInc":{"__isSmartRef__":true,"id":224},"stopMovingWorlds":{"__isSmartRef__":true,"id":226},"reset":{"__isSmartRef__":true,"id":228}},"218":{"time":{"__isSmartRef__":true,"id":219},"user":"jenslincke"},"219":{"isSerializedDate":true,"string":"Tue Aug 02 2011 18:58:28 GMT+0200 (CEST)"},"220":{"time":{"__isSmartRef__":true,"id":221},"user":"jenslincke"},"221":{"isSerializedDate":true,"string":"Tue Aug 02 2011 15:13:48 GMT+0200 (CEST)"},"222":{"time":{"__isSmartRef__":true,"id":223},"user":"jenslincke"},"223":{"isSerializedDate":true,"string":"Tue Aug 02 2011 13:55:09 GMT+0200 (CEST)"},"224":{"time":{"__isSmartRef__":true,"id":225},"user":"jenslincke"},"225":{"isSerializedDate":true,"string":"Tue Aug 02 2011 13:55:36 GMT+0200 (CEST)"},"226":{"time":{"__isSmartRef__":true,"id":227},"user":"jenslincke"},"227":{"isSerializedDate":true,"string":"Tue Aug 02 2011 15:08:03 GMT+0200 (CEST)"},"228":{"time":{"__isSmartRef__":true,"id":229},"user":"jenslincke"},"229":{"isSerializedDate":true,"string":"Tue Aug 02 2011 17:20:36 GMT+0200 (CEST)"},"230":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":16},"connectedControlPoints":[],"position":"lively.pt(0.0,0.0)"},"231":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":16},"connectedControlPoints":[],"position":"lively.pt(0.5,0.0)"},"232":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":16},"connectedControlPoints":[],"position":"lively.pt(1.0,0.0)"},"233":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":16},"connectedControlPoints":[],"position":"lively.pt(1.0,0.5)"},"234":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":16},"connectedControlPoints":[],"position":"lively.pt(1.0,1.0)"},"235":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":16},"connectedControlPoints":[],"position":"lively.pt(0.5,1.0)"},"236":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":16},"connectedControlPoints":[],"position":"lively.pt(0.0,1.0)"},"237":{"isClassPlaceHolder":true,"className":"lively.morphic.RelativeMagnet","__serializedExpressions__":["position"],"morph":{"__isSmartRef__":true,"id":16},"connectedControlPoints":[],"position":"lively.pt(0.0,0.5)"},"238":{"moveWorlds":{"__isSmartRef__":true,"id":239},"log":{"__isSmartRef__":true,"id":242},"progressReset":{"__isSmartRef__":true,"id":245},"progressInc":{"__isSmartRef__":true,"id":248},"stopMovingWorlds":{"__isSmartRef__":true,"id":251},"reset":{"__isSmartRef__":true,"id":254}},"239":{"varMapping":{"__isSmartRef__":true,"id":240},"source":"function moveWorlds() {\n\tvar fromURL = new URL(this.get('fromURL').textString),\n toURL = new URL(this.get('toURL').textString),\n files;\n if (fromURL.isLeaf()) \n files = [fromURL]\n else\n files = new WebResource(fromURL).getSubElements(3)\n .subDocuments.invoke('getURL');\n\n // files = files.select(function(ea) { return ea.filename().endsWith('.xhtml')})\n\n this.stopMoving = false;\n this.progressReset(files.length);\n this.get('Log').textString = ''\n\n files.doAndContinue(function(next, ea) {\n this.progressInc();\n var relative = ea.relativePathFrom(fromURL);\n var to = toURL.withFilename(relative)\n this.log(\"moved \" + relative + ' to ' + to); \n \n if (this.stopMoving) next = null\n if (!this.dryRun) {\n LivelyMigrationSupport.moveFileFromTo(ea, to, \n function() {next.delay(0.1)})\n } else {\n if (next) next.delay(0.1)\n }\n\n \n }, null, this)\n}","funcProperties":{"__isSmartRef__":true,"id":241},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"240":{"this":{"__isSmartRef__":true,"id":16}},"241":{},"242":{"varMapping":{"__isSmartRef__":true,"id":243},"source":"function log(s) {\n\tthis.get('Log').textString = this.get('Log').textString + '\\n' + s;\n var p = this.get('Log').getMaxScrollExtent()\n this.get('Log').setScroll(p.x, p.y)\n}","funcProperties":{"__isSmartRef__":true,"id":244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"243":{"this":{"__isSmartRef__":true,"id":16}},"244":{},"245":{"varMapping":{"__isSmartRef__":true,"id":246},"source":"function progressReset(valueScale) {\n var p = this.get('progressBar');\n p.valueScale = valueScale || 1;\n p.setValue(0)\n p.setLabel('')\n}","funcProperties":{"__isSmartRef__":true,"id":247},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"246":{"this":{"__isSmartRef__":true,"id":16}},"247":{},"248":{"varMapping":{"__isSmartRef__":true,"id":249},"source":"function progressInc() {\n var p = this.get('progressBar');\n p.setValue(p.value + 1);\n p.setLabel(p.value + '/' + p.valueScale);\n}","funcProperties":{"__isSmartRef__":true,"id":250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"249":{"this":{"__isSmartRef__":true,"id":16}},"250":{},"251":{"varMapping":{"__isSmartRef__":true,"id":252},"source":"function stopMovingWorlds() {\n this.stopMoving = true;\t\n}","funcProperties":{"__isSmartRef__":true,"id":253},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"252":{"this":{"__isSmartRef__":true,"id":16}},"253":{},"254":{"varMapping":{"__isSmartRef__":true,"id":255},"source":"function reset() {\n this.get('Log').textString = '';\n this.get('fromURL').textString = 'from URL';\n this.get('toURL').textString = 'to URL';\n \n this.progressReset(0)\n}","funcProperties":{"__isSmartRef__":true,"id":256},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"255":{"this":{"__isSmartRef__":true,"id":16}},"256":{},"257":{"submorphs":[{"__isSmartRef__":true,"id":258},{"__isSmartRef__":true,"id":264},{"__isSmartRef__":true,"id":287},{"__isSmartRef__":true,"id":304}],"scripts":[],"shape":{"__isSmartRef__":true,"id":322},"id":190,"eventHandler":{"__isSmartRef__":true,"id":326},"__layered_droppingEnabled__":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":327},"__serializedExpressions__":["_Position"],"windowMorph":{"__isSmartRef__":true,"id":15},"label":{"__isSmartRef__":true,"id":258},"closeButton":{"__isSmartRef__":true,"id":264},"menuButton":{"__isSmartRef__":true,"id":287},"collapseButton":{"__isSmartRef__":true,"id":304},"owner":{"__isSmartRef__":true,"id":15},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"258":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":259},"id":191,"textChunks":[{"__isSmartRef__":true,"id":260}],"eventHandler":{"__isSmartRef__":true,"id":262},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"__serializedExpressions__":["_Padding","_Position"],"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":263},"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":257},"_MaxTextWidth":649,"_MaxTextHeight":17,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WordBreak":"break-all","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(20.0,3.0)"},"259":{"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_BorderWidth":0,"_Fill":null,"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(649.0,17.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"260":{"style":{"__isSmartRef__":true,"id":261},"chunkOwner":{"__isSmartRef__":true,"id":258},"storedString":"Move Worlds","_id":"_1278","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"261":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"262":{"morph":{"__isSmartRef__":true,"id":258},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"263":{"resizeWidth":true},"264":{"submorphs":[{"__isSmartRef__":true,"id":265}],"scripts":[],"shape":{"__isSmartRef__":true,"id":270},"id":192,"eventHandler":{"__isSmartRef__":true,"id":276},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":271},"lighterFill":{"__isSmartRef__":true,"id":277},"label":{"__isSmartRef__":true,"id":265},"owner":{"__isSmartRef__":true,"id":257},"layout":{"__isSmartRef__":true,"id":282},"attributeConnections":[{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":285}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(688.0,3.0)"},"265":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":266},"id":193,"textChunks":[{"__isSmartRef__":true,"id":267}],"eventHandler":{"__isSmartRef__":true,"id":269},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"__serializedExpressions__":["_Padding","_Position"],"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":264},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WordBreak":"break-all","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"266":{"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_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)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"267":{"style":{"__isSmartRef__":true,"id":268},"chunkOwner":{"__isSmartRef__":true,"id":265},"storedString":"X","_id":"_1279","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"268":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"269":{"morph":{"__isSmartRef__":true,"id":265},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"270":{"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":271},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)","_Padding":"lively.rect(0,0,0,0)"},"271":{"stops":[{"__isSmartRef__":true,"id":272},{"__isSmartRef__":true,"id":273},{"__isSmartRef__":true,"id":274},{"__isSmartRef__":true,"id":275}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"272":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"273":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"274":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"275":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"276":{"morph":{"__isSmartRef__":true,"id":264},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"277":{"stops":[{"__isSmartRef__":true,"id":278},{"__isSmartRef__":true,"id":279},{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":281}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"278":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"279":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"280":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"281":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"282":{"moveHorizontal":true},"283":{"sourceObj":{"__isSmartRef__":true,"id":264},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":15},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":284},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"284":{"source":{"__isSmartRef__":true,"id":264},"target":{"__isSmartRef__":true,"id":15}},"285":{"sourceObj":{"__isSmartRef__":true,"id":264},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":15},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":286},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"286":{"source":{"__isSmartRef__":true,"id":264},"target":{"__isSmartRef__":true,"id":15}},"287":{"submorphs":[{"__isSmartRef__":true,"id":288}],"scripts":[],"shape":{"__isSmartRef__":true,"id":293},"id":194,"eventHandler":{"__isSmartRef__":true,"id":294},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":271},"lighterFill":{"__isSmartRef__":true,"id":295},"label":{"__isSmartRef__":true,"id":288},"owner":{"__isSmartRef__":true,"id":257},"attributeConnections":[{"__isSmartRef__":true,"id":300},{"__isSmartRef__":true,"id":302}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"288":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":289},"id":195,"textChunks":[{"__isSmartRef__":true,"id":290}],"eventHandler":{"__isSmartRef__":true,"id":292},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"__serializedExpressions__":["_Padding","_Position"],"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":287},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WordBreak":"break-all","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"289":{"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_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)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"290":{"style":{"__isSmartRef__":true,"id":291},"chunkOwner":{"__isSmartRef__":true,"id":288},"storedString":"M","_id":"_1280","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"291":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"292":{"morph":{"__isSmartRef__":true,"id":288},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"293":{"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":271},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)","_Padding":"lively.rect(0,0,0,0)"},"294":{"morph":{"__isSmartRef__":true,"id":287},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"295":{"stops":[{"__isSmartRef__":true,"id":296},{"__isSmartRef__":true,"id":297},{"__isSmartRef__":true,"id":298},{"__isSmartRef__":true,"id":299}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"296":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"297":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"298":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"299":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"300":{"sourceObj":{"__isSmartRef__":true,"id":287},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":15},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":301},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"301":{"source":{"__isSmartRef__":true,"id":287},"target":{"__isSmartRef__":true,"id":15}},"302":{"sourceObj":{"__isSmartRef__":true,"id":287},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":15},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":303},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"303":{"source":{"__isSmartRef__":true,"id":287},"target":{"__isSmartRef__":true,"id":15}},"304":{"submorphs":[{"__isSmartRef__":true,"id":305}],"scripts":[],"shape":{"__isSmartRef__":true,"id":310},"id":196,"eventHandler":{"__isSmartRef__":true,"id":311},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":271},"lighterFill":{"__isSmartRef__":true,"id":312},"label":{"__isSmartRef__":true,"id":305},"owner":{"__isSmartRef__":true,"id":257},"layout":{"__isSmartRef__":true,"id":317},"attributeConnections":[{"__isSmartRef__":true,"id":318},{"__isSmartRef__":true,"id":320}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"_ClipMode":"visible","isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(669.0,3.0)"},"305":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":306},"id":197,"textChunks":[{"__isSmartRef__":true,"id":307}],"eventHandler":{"__isSmartRef__":true,"id":309},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"__serializedExpressions__":["_Padding","_Position"],"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":304},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WordBreak":"break-all","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"306":{"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_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)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"307":{"style":{"__isSmartRef__":true,"id":308},"chunkOwner":{"__isSmartRef__":true,"id":305},"storedString":"–","_id":"_1281","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"308":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"309":{"morph":{"__isSmartRef__":true,"id":305},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"310":{"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":271},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)","_Padding":"lively.rect(0,0,0,0)"},"311":{"morph":{"__isSmartRef__":true,"id":304},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"312":{"stops":[{"__isSmartRef__":true,"id":313},{"__isSmartRef__":true,"id":314},{"__isSmartRef__":true,"id":315},{"__isSmartRef__":true,"id":316}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"313":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"314":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"315":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"316":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"317":{"moveHorizontal":true},"318":{"sourceObj":{"__isSmartRef__":true,"id":304},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":15},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":319},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"319":{"source":{"__isSmartRef__":true,"id":304},"target":{"__isSmartRef__":true,"id":15}},"320":{"sourceObj":{"__isSmartRef__":true,"id":304},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":15},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":321},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"321":{"source":{"__isSmartRef__":true,"id":304},"target":{"__isSmartRef__":true,"id":15}},"322":{"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":323},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(708.0,22.0)","_BorderColor":"Color.rgb(102,102,102)","_Padding":"lively.rect(0,0,0,0)"},"323":{"stops":[{"__isSmartRef__":true,"id":324},{"__isSmartRef__":true,"id":325}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"324":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(255,255,255)"},"325":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"326":{"morph":{"__isSmartRef__":true,"id":257},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"327":{"resizeWidth":true,"adjustForNewBounds":true},"328":{"submorphs":[],"scripts":[],"id":198,"shape":{"__isSmartRef__":true,"id":329},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"__serializedExpressions__":["_Position","originalExtent","distanceToDragEvent"],"showsHalos":false,"name":"ResizeCorner3","partsBinMetaInfo":{"__isSmartRef__":true,"id":330},"__layered_draggingEnabled__":true,"dragStartPoint":null,"originalTargetExtent":null,"eventHandler":{"__isSmartRef__":true,"id":331},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":15},"_Rotation":0,"_Scale":1.0000000000000002,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":332},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(695.0,350.0)","originalExtent":"lively.pt(239.0,138.0)","distanceToDragEvent":"lively.pt(57.7,-17.3)"},"329":{"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(13.0,15.0)","_BorderColor":"Color.rgb(145,145,145)","_Fill":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"330":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"331":{"morph":{"__isSmartRef__":true,"id":328},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"332":{"onDrag":{"__isSmartRef__":true,"id":333},"onDragEnd":{"__isSmartRef__":true,"id":340},"onDragStart":{"__isSmartRef__":true,"id":347}},"333":{"varMapping":{"__isSmartRef__":true,"id":334},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":339},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"334":{"this":{"__isSmartRef__":true,"id":328},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":335}},"335":{"$super":{"__isSmartRef__":true,"id":336}},"336":{"varMapping":{"__isSmartRef__":true,"id":337},"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":338},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"337":{"obj":{"__isSmartRef__":true,"id":328},"name":"onDrag"},"338":{},"339":{},"340":{"varMapping":{"__isSmartRef__":true,"id":341},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":346},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"341":{"this":{"__isSmartRef__":true,"id":328},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":342}},"342":{"$super":{"__isSmartRef__":true,"id":343}},"343":{"varMapping":{"__isSmartRef__":true,"id":344},"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":345},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"344":{"obj":{"__isSmartRef__":true,"id":328},"name":"onDragEnd"},"345":{},"346":{},"347":{"varMapping":{"__isSmartRef__":true,"id":348},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":353},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"348":{"this":{"__isSmartRef__":true,"id":328},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":349}},"349":{"$super":{"__isSmartRef__":true,"id":350}},"350":{"varMapping":{"__isSmartRef__":true,"id":351},"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":352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"351":{"obj":{"__isSmartRef__":true,"id":328},"name":"onDragStart"},"352":{},"353":{},"354":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"__serializedExpressions__":["_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Extent":"lively.pt(708.0,365.0)","_Padding":"lively.rect(0,0,0,0)"},"355":{"morph":{"__isSmartRef__":true,"id":15},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"356":{"adjustForNewBounds":true},"357":{"partsSpaceName":"PartsBin/Tools/","comment":"move pages for migration","migrationLevel":4,"partName":"MovePages","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"358":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":359},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"owner":{"__isSmartRef__":true,"id":0},"carriesGrabbedMorphs":false,"eventHandler":{"__isSmartRef__":true,"id":360},"_Rotation":0,"_Scale":1,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__serializedExpressions__":["_Position"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.HandMorph","__SourceModuleName__":"Global.lively.morphic.Events","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(944.0,535.0)"},"359":{"__serializedExpressions__":["_Position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(2.0,2.0)","_Fill":"Color.rgb(204,0,0)","_Padding":"lively.rect(0,0,0,0)"},"360":{"morph":{"__isSmartRef__":true,"id":358},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"361":{"__serializedExpressions__":["_Position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(2800.0,2900.0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"362":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"363":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"364":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converterString":null,"updaterString":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","varMapping":{"__isSmartRef__":true,"id":365},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"365":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"366":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/MovePages.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"367":{"isSerializedDate":true,"string":"Thu Feb 06 2014 09:58:34 GMT+0100 (CET)"},"isSimplifiedRegistry":true}}]]>