= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":6364},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6363":{"this":{"__isSmartRef__":true,"id":6337}},"6364":{"timestamp":{"__isSmartRef__":true,"id":6365},"user":"sebastianwoinar","tags":[]},"6365":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"6366":{"varMapping":{"__isSmartRef__":true,"id":6367},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":6368},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6367":{"this":{"__isSmartRef__":true,"id":6337}},"6368":{"timestamp":{"__isSmartRef__":true,"id":6369},"user":"sebastianwoinar","tags":[]},"6369":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6370":{"varMapping":{"__isSmartRef__":true,"id":6371},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":6372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6371":{"this":{"__isSmartRef__":true,"id":6337}},"6372":{"timestamp":{"__isSmartRef__":true,"id":6373},"user":"sebastianwoinar","tags":[]},"6373":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6374":{"varMapping":{"__isSmartRef__":true,"id":6375},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6375":{"this":{"__isSmartRef__":true,"id":6337}},"6376":{"timestamp":{"__isSmartRef__":true,"id":6377},"user":"sebastianwoinar","tags":[]},"6377":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6378":{"varMapping":{"__isSmartRef__":true,"id":6379},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":6380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6379":{"this":{"__isSmartRef__":true,"id":6337}},"6380":{"timestamp":{"__isSmartRef__":true,"id":6381},"user":"sebastianwoinar","tags":[]},"6381":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6382":{"varMapping":{"__isSmartRef__":true,"id":6383},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":6384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6383":{"this":{"__isSmartRef__":true,"id":6337}},"6384":{"timestamp":{"__isSmartRef__":true,"id":6385},"user":"sebastianwoinar","tags":[]},"6385":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6386":{"varMapping":{"__isSmartRef__":true,"id":6387},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":6388},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6387":{"this":{"__isSmartRef__":true,"id":6337}},"6388":{"timestamp":{"__isSmartRef__":true,"id":6389},"user":"sebastianwoinar","tags":[]},"6389":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6390":{"varMapping":{"__isSmartRef__":true,"id":6391},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":6392},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6391":{"this":{"__isSmartRef__":true,"id":6337}},"6392":{"timestamp":{"__isSmartRef__":true,"id":6393},"user":"sebastianwoinar","tags":[]},"6393":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"6394":{"varMapping":{"__isSmartRef__":true,"id":6395},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":6396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6395":{"this":{"__isSmartRef__":true,"id":6337}},"6396":{"timestamp":{"__isSmartRef__":true,"id":6397},"user":"sebastianwoinar","tags":[]},"6397":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"6398":{"varMapping":{"__isSmartRef__":true,"id":6399},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":6400},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6399":{"this":{"__isSmartRef__":true,"id":6337}},"6400":{"timestamp":{"__isSmartRef__":true,"id":6401},"user":"sebastianwoinar","tags":[]},"6401":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"6402":{"varMapping":{"__isSmartRef__":true,"id":6403},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":6404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6403":{"this":{"__isSmartRef__":true,"id":6337}},"6404":{"timestamp":{"__isSmartRef__":true,"id":6405},"user":"sebastianwoinar","tags":[]},"6405":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"6406":{"varMapping":{"__isSmartRef__":true,"id":6407},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":6408},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6407":{"this":{"__isSmartRef__":true,"id":6337}},"6408":{"timestamp":{"__isSmartRef__":true,"id":6409},"user":"sebastianwoinar","tags":[]},"6409":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"6410":{"varMapping":{"__isSmartRef__":true,"id":6411},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":6412},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6411":{"this":{"__isSmartRef__":true,"id":6337}},"6412":{"timestamp":{"__isSmartRef__":true,"id":6413},"user":"sebastianwoinar","tags":[]},"6413":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"6414":{"varMapping":{"__isSmartRef__":true,"id":6415},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":6416},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6415":{"this":{"__isSmartRef__":true,"id":6337}},"6416":{"timestamp":{"__isSmartRef__":true,"id":6417},"user":"sebastianwoinar","tags":[]},"6417":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"6418":{"varMapping":{"__isSmartRef__":true,"id":6419},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":6420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6419":{"this":{"__isSmartRef__":true,"id":6337}},"6420":{"timestamp":{"__isSmartRef__":true,"id":6421},"user":"sebastianwoinar","tags":[]},"6421":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"6422":{"varMapping":{"__isSmartRef__":true,"id":6423},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":6424},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6423":{"this":{"__isSmartRef__":true,"id":6337}},"6424":{"timestamp":{"__isSmartRef__":true,"id":6425},"user":"sebastianwoinar","tags":[]},"6425":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"6426":{"varMapping":{"__isSmartRef__":true,"id":6427},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":6432},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6427":{"this":{"__isSmartRef__":true,"id":6337},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6428}},"6428":{"$super":{"__isSmartRef__":true,"id":6429}},"6429":{"varMapping":{"__isSmartRef__":true,"id":6430},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6431},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6430":{"obj":{"__isSmartRef__":true,"id":6337},"name":"onMouseDown"},"6431":{},"6432":{"timestamp":{"__isSmartRef__":true,"id":6433},"user":"sebastianwoinar","tags":[]},"6433":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"6434":{"varMapping":{"__isSmartRef__":true,"id":6435},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":6436},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6435":{"this":{"__isSmartRef__":true,"id":6337}},"6436":{"timestamp":{"__isSmartRef__":true,"id":6437},"user":"sebastianwoinar","tags":[]},"6437":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"6438":{"varMapping":{"__isSmartRef__":true,"id":6439},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":6440},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6439":{"this":{"__isSmartRef__":true,"id":6337}},"6440":{"timestamp":{"__isSmartRef__":true,"id":6441},"user":"sebastianwoinar","tags":[]},"6441":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"6442":{"varMapping":{"__isSmartRef__":true,"id":6443},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":6444},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6443":{"this":{"__isSmartRef__":true,"id":6337}},"6444":{"timestamp":{"__isSmartRef__":true,"id":6445},"user":"sebastianwoinar","tags":[]},"6445":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"6446":{"varMapping":{"__isSmartRef__":true,"id":6447},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":6448},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6447":{"this":{"__isSmartRef__":true,"id":6337}},"6448":{"timestamp":{"__isSmartRef__":true,"id":6449},"user":"sebastianwoinar","tags":[]},"6449":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"6450":{"varMapping":{"__isSmartRef__":true,"id":6451},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":6452},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6451":{"this":{"__isSmartRef__":true,"id":6337}},"6452":{"timestamp":{"__isSmartRef__":true,"id":6453},"user":"sebastianwoinar","tags":[]},"6453":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"6454":{"varMapping":{"__isSmartRef__":true,"id":6455},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6456},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6455":{"this":{"__isSmartRef__":true,"id":6337}},"6456":{"timestamp":{"__isSmartRef__":true,"id":6457},"user":"sebastianwoinar","tags":[]},"6457":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"6458":{"varMapping":{"__isSmartRef__":true,"id":6459},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":6460},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6459":{"this":{"__isSmartRef__":true,"id":6337}},"6460":{"timestamp":{"__isSmartRef__":true,"id":6461},"user":"sebastianwoinar","tags":[]},"6461":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"6462":{"varMapping":{"__isSmartRef__":true,"id":6463},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6464},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6463":{"this":{"__isSmartRef__":true,"id":6337}},"6464":{"timestamp":{"__isSmartRef__":true,"id":6465},"user":"sebastianwoinar","tags":[]},"6465":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"6466":{"submorphs":[],"scripts":[],"id":"5CC3357F-7B19-4567-AAFF-0F97EBF55F7C","shape":{"__isSmartRef__":true,"id":6467},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"movesCount1","partsBinMetaInfo":{"__isSmartRef__":true,"id":6468},"textChunks":[{"__isSmartRef__":true,"id":6479}],"charsReplaced":"Select algorithm","lastFindLoc":16,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":6481},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","D211FB30-6129-4381-BEB8-26856DE96463","0CC6589E-629E-4971-A12A-BB9A7D5C5F66"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"#startLetters":"get","owner":{"__isSmartRef__":true,"id":6262},"_Rotation":0,"_Scale":1,"previousSelection":[7,16],"priorSelectionRange":[7,7],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(68.1,-42.6)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(112.2,-5.6)"},"6467":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(160.5,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"6468":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":6469},{"__isSmartRef__":true,"id":6471},{"__isSmartRef__":true,"id":6473},{"__isSmartRef__":true,"id":6475},{"__isSmartRef__":true,"id":6477}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6469":{"date":{"__isSmartRef__":true,"id":6470},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"6470":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"6471":{"date":{"__isSmartRef__":true,"id":6472},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"6472":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"6473":{"date":{"__isSmartRef__":true,"id":6474},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"6474":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"6475":{"date":{"__isSmartRef__":true,"id":6476},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"6476":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"6477":{"date":{"__isSmartRef__":true,"id":6478},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"6478":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"6479":{"style":{"__isSmartRef__":true,"id":6480},"morph":{"__isSmartRef__":true,"id":6466},"chunkOwner":{"__isSmartRef__":true,"id":6466},"storedString":"use ABP","_id":"_19524","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6480":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6481":{"morph":{"__isSmartRef__":true,"id":6466},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6482":{"submorphs":[],"scripts":[],"id":"EA61ADA3-9EBE-40C2-AA78-4B012973DB00","shape":{"__isSmartRef__":true,"id":6483},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"movesCount2","partsBinMetaInfo":{"__isSmartRef__":true,"id":6484},"textChunks":[{"__isSmartRef__":true,"id":6495}],"charsReplaced":"Select algorithm","lastFindLoc":16,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":6497},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","D211FB30-6129-4381-BEB8-26856DE96463","0CC6589E-629E-4971-A12A-BB9A7D5C5F66","5CC3357F-7B19-4567-AAFF-0F97EBF55F7C"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"#startLetters":"get","owner":{"__isSmartRef__":true,"id":6262},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(70.1,-17.8)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(111.2,-13.6)"},"6483":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(160.5,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"6484":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":6485},{"__isSmartRef__":true,"id":6487},{"__isSmartRef__":true,"id":6489},{"__isSmartRef__":true,"id":6491},{"__isSmartRef__":true,"id":6493}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6485":{"date":{"__isSmartRef__":true,"id":6486},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"6486":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"6487":{"date":{"__isSmartRef__":true,"id":6488},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"6488":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"6489":{"date":{"__isSmartRef__":true,"id":6490},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"6490":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"6491":{"date":{"__isSmartRef__":true,"id":6492},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"6492":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"6493":{"date":{"__isSmartRef__":true,"id":6494},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"6494":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"6495":{"style":{"__isSmartRef__":true,"id":6496},"morph":{"__isSmartRef__":true,"id":6482},"chunkOwner":{"__isSmartRef__":true,"id":6482},"storedString":"Control","_id":"_19524","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6496":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6497":{"morph":{"__isSmartRef__":true,"id":6482},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6498":{"submorphs":[{"__isSmartRef__":true,"id":6499}],"scripts":[],"id":"B5EFC9DC-5E60-4C1B-B452-1BED6BE55E9E","shape":{"__isSmartRef__":true,"id":6504},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6510},"lighterFill":{"__isSmartRef__":true,"id":6515},"label":{"__isSmartRef__":true,"id":6499},"name":"Button2","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":6520},"attributeConnections":[{"__isSmartRef__":true,"id":6531},{"__isSmartRef__":true,"id":6532}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":12106},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","7D4A1972-76E5-4369-9964-2F6ACB87C81F","C95CA3B7-340C-4EA5-BC6C-D0F013C7C7E1"],"_ClipMode":"visible","isPressed":false,"owner":{"__isSmartRef__":true,"id":6262},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12107},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(220.0,-16.0)","distanceToDragEvent":"lively.pt(48.8,-17.4)"},"6499":{"submorphs":[],"scripts":[],"id":"053C7887-1403-4628-BE8B-266056E62D29","shape":{"__isSmartRef__":true,"id":6500},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":100,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":6498},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":6501}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":6503},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","7939AA82-2A96-4559-9090-DD58B7C8868A","7AD8E6A9-40EE-4DFD-B063-EAE2F7B01D73"],"_MinTextWidth":100,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__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)","_TextColor":"Color.rgb(0,0,0)"},"6500":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(59.0,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"6501":{"style":{"__isSmartRef__":true,"id":6502},"chunkOwner":{"__isSmartRef__":true,"id":6499},"_id":"_20063","storedString":"Step","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6502":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6503":{"morph":{"__isSmartRef__":true,"id":6499},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6504":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":6505},"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(59.0,21.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"6505":{"stops":[{"__isSmartRef__":true,"id":6506},{"__isSmartRef__":true,"id":6507},{"__isSmartRef__":true,"id":6508},{"__isSmartRef__":true,"id":6509}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"6506":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"6507":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"6508":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"6509":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"6510":{"stops":[{"__isSmartRef__":true,"id":6511},{"__isSmartRef__":true,"id":6512},{"__isSmartRef__":true,"id":6513},{"__isSmartRef__":true,"id":6514}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"6511":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"6512":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"6513":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"6514":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"6515":{"stops":[{"__isSmartRef__":true,"id":6516},{"__isSmartRef__":true,"id":6517},{"__isSmartRef__":true,"id":6518},{"__isSmartRef__":true,"id":6519}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"6516":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"6517":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"6518":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"6519":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"6520":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":6521},{"__isSmartRef__":true,"id":6523},{"__isSmartRef__":true,"id":6525},{"__isSmartRef__":true,"id":6527},{"__isSmartRef__":true,"id":6529}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6521":{"date":{"__isSmartRef__":true,"id":6522},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"6522":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (CEST)"},"6523":{"date":{"__isSmartRef__":true,"id":6524},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"6524":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (CEST)"},"6525":{"date":{"__isSmartRef__":true,"id":6526},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"6526":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (CEST)"},"6527":{"date":{"__isSmartRef__":true,"id":6528},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"6528":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (CEST)"},"6529":{"date":{"__isSmartRef__":true,"id":6530},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"6530":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (CEST)"},"6531":{"sourceObj":{"__isSmartRef__":true,"id":6498},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6498},"targetMethodName":"doAction","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"6532":{"sourceObj":{"__isSmartRef__":true,"id":6498},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6533},"targetMethodName":"makeStep","varMapping":{"__isSmartRef__":true,"id":12105},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"6533":{"submorphs":[{"__isSmartRef__":true,"id":6534},{"__isSmartRef__":true,"id":6636},{"__isSmartRef__":true,"id":6660},{"__isSmartRef__":true,"id":6684},{"__isSmartRef__":true,"id":6814},{"__isSmartRef__":true,"id":6944},{"__isSmartRef__":true,"id":7074},{"__isSmartRef__":true,"id":7310},{"__isSmartRef__":true,"id":7334},{"__isSmartRef__":true,"id":7464},{"__isSmartRef__":true,"id":7594},{"__isSmartRef__":true,"id":7724},{"__isSmartRef__":true,"id":8066},{"__isSmartRef__":true,"id":8090},{"__isSmartRef__":true,"id":8114},{"__isSmartRef__":true,"id":8244},{"__isSmartRef__":true,"id":8374},{"__isSmartRef__":true,"id":8504},{"__isSmartRef__":true,"id":8846},{"__isSmartRef__":true,"id":8870},{"__isSmartRef__":true,"id":8894},{"__isSmartRef__":true,"id":9024},{"__isSmartRef__":true,"id":9154},{"__isSmartRef__":true,"id":9390},{"__isSmartRef__":true,"id":9414},{"__isSmartRef__":true,"id":9543},{"__isSmartRef__":true,"id":9672},{"__isSmartRef__":true,"id":10012},{"__isSmartRef__":true,"id":10036},{"__isSmartRef__":true,"id":10060},{"__isSmartRef__":true,"id":10190},{"__isSmartRef__":true,"id":10320},{"__isSmartRef__":true,"id":10450},{"__isSmartRef__":true,"id":10792},{"__isSmartRef__":true,"id":10816},{"__isSmartRef__":true,"id":10840},{"__isSmartRef__":true,"id":10970},{"__isSmartRef__":true,"id":11100},{"__isSmartRef__":true,"id":11230},{"__isSmartRef__":true,"id":11678},{"__isSmartRef__":true,"id":11686},{"__isSmartRef__":true,"id":11694},{"__isSmartRef__":true,"id":11702},{"__isSmartRef__":true,"id":11710},{"__isSmartRef__":true,"id":11718},{"__isSmartRef__":true,"id":11726},{"__isSmartRef__":true,"id":11734},{"__isSmartRef__":true,"id":11742},{"__isSmartRef__":true,"id":11750},{"__isSmartRef__":true,"id":11758},{"__isSmartRef__":true,"id":11766},{"__isSmartRef__":true,"id":11774},{"__isSmartRef__":true,"id":11782},{"__isSmartRef__":true,"id":11790},{"__isSmartRef__":true,"id":11798},{"__isSmartRef__":true,"id":11806},{"__isSmartRef__":true,"id":11814},{"__isSmartRef__":true,"id":11822},{"__isSmartRef__":true,"id":11830},{"__isSmartRef__":true,"id":11838},{"__isSmartRef__":true,"id":11846},{"__isSmartRef__":true,"id":11854},{"__isSmartRef__":true,"id":11862},{"__isSmartRef__":true,"id":11870},{"__isSmartRef__":true,"id":11878},{"__isSmartRef__":true,"id":11886},{"__isSmartRef__":true,"id":11894},{"__isSmartRef__":true,"id":11902},{"__isSmartRef__":true,"id":11910},{"__isSmartRef__":true,"id":11918},{"__isSmartRef__":true,"id":11926},{"__isSmartRef__":true,"id":11934},{"__isSmartRef__":true,"id":11942},{"__isSmartRef__":true,"id":11950},{"__isSmartRef__":true,"id":11958},{"__isSmartRef__":true,"id":11966},{"__isSmartRef__":true,"id":11974}],"scripts":[],"id":"05B4103A-AF57-4D70-B212-9B6F69E70622","shape":{"__isSmartRef__":true,"id":11982},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"gameTree","partsBinMetaInfo":{"__isSmartRef__":true,"id":11983},"eventHandler":{"__isSmartRef__":true,"id":12000},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785"],"partTests":{"__isSmartRef__":true,"id":12001},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":6262},"#startLetters":"","gameTree":{"__isSmartRef__":true,"id":12006},"rootNode":{"__isSmartRef__":true,"id":6534},"prevScroll":[0,0],"levels":[[{"__isSmartRef__":true,"id":6534}],[{"__isSmartRef__":true,"id":6636},{"__isSmartRef__":true,"id":8066},{"__isSmartRef__":true,"id":8846},{"__isSmartRef__":true,"id":10012},{"__isSmartRef__":true,"id":10792}],[{"__isSmartRef__":true,"id":6660},{"__isSmartRef__":true,"id":7310},{"__isSmartRef__":true,"id":8090},{"__isSmartRef__":true,"id":8870},{"__isSmartRef__":true,"id":9390},{"__isSmartRef__":true,"id":10036},{"__isSmartRef__":true,"id":10816}],[{"__isSmartRef__":true,"id":6684},{"__isSmartRef__":true,"id":6814},{"__isSmartRef__":true,"id":6944},{"__isSmartRef__":true,"id":7074},{"__isSmartRef__":true,"id":7334},{"__isSmartRef__":true,"id":7464},{"__isSmartRef__":true,"id":7594},{"__isSmartRef__":true,"id":7724},{"__isSmartRef__":true,"id":8114},{"__isSmartRef__":true,"id":8244},{"__isSmartRef__":true,"id":8374},{"__isSmartRef__":true,"id":8504},{"__isSmartRef__":true,"id":8894},{"__isSmartRef__":true,"id":9024},{"__isSmartRef__":true,"id":9154},{"__isSmartRef__":true,"id":9414},{"__isSmartRef__":true,"id":9543},{"__isSmartRef__":true,"id":9672},{"__isSmartRef__":true,"id":10060},{"__isSmartRef__":true,"id":10190},{"__isSmartRef__":true,"id":10320},{"__isSmartRef__":true,"id":10450},{"__isSmartRef__":true,"id":10840},{"__isSmartRef__":true,"id":10970},{"__isSmartRef__":true,"id":11100},{"__isSmartRef__":true,"id":11230}]],"isBeingDragged":false,"abp":{"__isSmartRef__":true,"id":12007},"isCopyMorphRef":true,"morphRefId":1,"initNegMax":false,"autoRunInterval":15758,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12008},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-70.0,40.0)","distanceToDragEvent":"lively.pt(753.3,-12.7)"},"6534":{"submorphs":[{"__isSmartRef__":true,"id":6535}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6552},"id":"63F58DBF-2683-442D-98F4-AD662887F552","eventHandler":{"__isSmartRef__":true,"id":6553},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":6554},"name":"node1","partsBinMetaInfo":{"__isSmartRef__":true,"id":6555},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6558},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":6636},{"__isSmartRef__":true,"id":8066},{"__isSmartRef__":true,"id":8846},{"__isSmartRef__":true,"id":10012},{"__isSmartRef__":true,"id":10792}],"abp":{"__isSmartRef__":true,"id":11572},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11573},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(593.4,60.0)"},"6535":{"submorphs":[],"scripts":[],"id":"392C30E0-59C7-4D3C-B356-1A1A157EE719","shape":{"__isSmartRef__":true,"id":6536},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":6537},"textChunks":[{"__isSmartRef__":true,"id":6549}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":6551},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":6534},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"priorSelectionRange":[1,1],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"6536":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"6537":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":6538},{"__isSmartRef__":true,"id":6540},{"__isSmartRef__":true,"id":6542},{"__isSmartRef__":true,"id":6544},{"__isSmartRef__":true,"id":6546}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":6548},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6538":{"date":{"__isSmartRef__":true,"id":6539},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"6539":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"6540":{"date":{"__isSmartRef__":true,"id":6541},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"6541":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"6542":{"date":{"__isSmartRef__":true,"id":6543},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"6543":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"6544":{"date":{"__isSmartRef__":true,"id":6545},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"6545":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"6546":{"date":{"__isSmartRef__":true,"id":6547},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"6547":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"6548":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"6549":{"style":{"__isSmartRef__":true,"id":6550},"chunkOwner":{"__isSmartRef__":true,"id":6535},"_id":"_1677","storedString":"-11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6550":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6551":{"morph":{"__isSmartRef__":true,"id":6535},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6552":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"6553":{"morph":{"__isSmartRef__":true,"id":6534},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6554":{},"6555":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":6556}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6556":{"date":{"__isSmartRef__":true,"id":6557},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"6557":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"6558":{"parent":null,"state":{"__isSmartRef__":true,"id":6559},"level":0,"childs":[{"__isSmartRef__":true,"id":6560},{"__isSmartRef__":true,"id":6582},{"__isSmartRef__":true,"id":6594},{"__isSmartRef__":true,"id":6612},{"__isSmartRef__":true,"id":6624}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6559":{"gameboard":[["black","black","white",null,"black","black","black"],[null,"black","white","white","black","black","black"],["black","black","white","black","black","black","black","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"white","nextPlayer":"black","valid":false,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6560":{"parent":{"__isSmartRef__":true,"id":6558},"state":{"__isSmartRef__":true,"id":6561},"level":1,"childs":[{"__isSmartRef__":true,"id":6562},{"__isSmartRef__":true,"id":6572}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6561":{"gameboard":[["black","black","white",null,"black","black","black","white"],[null,"black","white","white","black","black","white"],["black","black","white","black","black","white","black","black"],["black","black","black","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6562":{"parent":{"__isSmartRef__":true,"id":6560},"state":{"__isSmartRef__":true,"id":6563},"level":2,"childs":[{"__isSmartRef__":true,"id":6564},{"__isSmartRef__":true,"id":6566},{"__isSmartRef__":true,"id":6568},{"__isSmartRef__":true,"id":6570}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6563":{"gameboard":[["black","black","black","black","black","black","black","white"],[null,"black","black","black","black","black","white"],["black","black","white","black","black","white","black","black"],["black","black","black","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"white","nextPlayer":"black","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6564":{"parent":{"__isSmartRef__":true,"id":6562},"state":{"__isSmartRef__":true,"id":6565},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6565":{"gameboard":[["black","black","black","black","black","black","black","white"],["white","white","white","white","white","white","white"],["black","white","white","black","black","white","black","black"],["black","black","white","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6566":{"parent":{"__isSmartRef__":true,"id":6562},"state":{"__isSmartRef__":true,"id":6567},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6567":{"gameboard":[["black","black","black","black","black","black","black","white"],[null,"black","black","black","black","black","white","white"],["black","black","white","black","black","white","white","black"],["black","black","black","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6568":{"parent":{"__isSmartRef__":true,"id":6562},"state":{"__isSmartRef__":true,"id":6569},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6569":{"gameboard":[["black","black","black","black","black","black","black","white"],[null,"black","black","black","black","black","white"],["black","black","white","black","black","white","black","black"],["black","black","black","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","white","black","black","white","white","black","black"],["white","black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6570":{"parent":{"__isSmartRef__":true,"id":6562},"state":{"__isSmartRef__":true,"id":6571},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6571":{"gameboard":[["black","black","black","black","black","black","black","white"],[null,"black","black","black","black","black","white"],["black","black","white","black","black","white","black","black"],["black","black","black","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","white","black"],[null,"black","black","black","black","black","black","white"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6572":{"parent":{"__isSmartRef__":true,"id":6560},"state":{"__isSmartRef__":true,"id":6573},"level":2,"childs":[{"__isSmartRef__":true,"id":6574},{"__isSmartRef__":true,"id":6576},{"__isSmartRef__":true,"id":6578},{"__isSmartRef__":true,"id":6580}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6573":{"gameboard":[["black","black","white",null,"black","black","black","white"],[null,"black","white","white","black","black","black","black"],["black","black","white","black","black","white","black","black"],["black","black","black","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"white","nextPlayer":"black","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6574":{"parent":{"__isSmartRef__":true,"id":6572},"state":{"__isSmartRef__":true,"id":6575},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6575":{"gameboard":[["black","black","white","white","white","white","white","white"],[null,"black","white","white","white","black","black","black"],["black","black","white","black","black","white","black","black"],["black","black","black","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6576":{"parent":{"__isSmartRef__":true,"id":6572},"state":{"__isSmartRef__":true,"id":6577},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6577":{"gameboard":[["black","black","white",null,"black","black","black","white"],["white","white","white","white","black","black","black","black"],["black","white","white","black","black","white","black","black"],["black","black","white","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6578":{"parent":{"__isSmartRef__":true,"id":6572},"state":{"__isSmartRef__":true,"id":6579},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6579":{"gameboard":[["black","black","white",null,"black","black","black","white"],[null,"black","white","white","black","black","black","black"],["black","black","white","black","black","white","black","black"],["black","black","black","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","white","black","black","white","white","black","black"],["white","black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6580":{"parent":{"__isSmartRef__":true,"id":6572},"state":{"__isSmartRef__":true,"id":6581},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6581":{"gameboard":[["black","black","white",null,"black","black","black","white"],[null,"black","white","white","black","black","black","white"],["black","black","white","black","black","white","black","white"],["black","black","black","black","white","white","black","white"],["black","black","white","white","black","white","white","white"],["black","black","white","white","white","white","white","white"],["black","black","black","black","white","white","white","white"],[null,"black","black","black","black","black","black","white"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6582":{"parent":{"__isSmartRef__":true,"id":6558},"state":{"__isSmartRef__":true,"id":6583},"level":1,"childs":[{"__isSmartRef__":true,"id":6584}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6583":{"gameboard":[["black","black","white",null,"black","black","black"],["white","white","white","white","black","black","black"],["black","white","white","black","black","black","black","black"],["black","black","white","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6584":{"parent":{"__isSmartRef__":true,"id":6582},"state":{"__isSmartRef__":true,"id":6585},"level":2,"childs":[{"__isSmartRef__":true,"id":6586},{"__isSmartRef__":true,"id":6588},{"__isSmartRef__":true,"id":6590},{"__isSmartRef__":true,"id":6592}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6585":{"gameboard":[["black","black","black","black","black","black","black"],["white","white","black","black","black","black","black"],["black","black","white","black","black","black","black","black"],["black","black","white","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"white","nextPlayer":"black","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6586":{"parent":{"__isSmartRef__":true,"id":6584},"state":{"__isSmartRef__":true,"id":6587},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6587":{"gameboard":[["black","black","black","black","black","black","black","white"],["white","white","black","black","black","black","white"],["black","black","white","black","black","white","black","black"],["black","black","white","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6588":{"parent":{"__isSmartRef__":true,"id":6584},"state":{"__isSmartRef__":true,"id":6589},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6589":{"gameboard":[["black","black","black","black","black","black","black"],["white","white","white","white","white","white","white","white"],["black","black","white","black","black","black","white","black"],["black","black","white","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6590":{"parent":{"__isSmartRef__":true,"id":6584},"state":{"__isSmartRef__":true,"id":6591},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6591":{"gameboard":[["black","black","black","black","black","black","black"],["white","white","black","black","black","black","black"],["white","black","white","black","black","black","black","black"],["white","black","white","black","black","white","black","black"],["white","black","white","white","black","white","white","black"],["white","black","white","white","white","white","white","black"],["white","white","black","black","white","white","black","black"],["white","black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6592":{"parent":{"__isSmartRef__":true,"id":6584},"state":{"__isSmartRef__":true,"id":6593},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6593":{"gameboard":[["black","black","black","black","black","black","black"],["white","white","black","black","black","black","black"],["black","black","white","black","black","black","black","black"],["black","black","white","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","white","black"],[null,"black","black","black","black","black","black","white"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6594":{"parent":{"__isSmartRef__":true,"id":6558},"state":{"__isSmartRef__":true,"id":6595},"level":1,"childs":[{"__isSmartRef__":true,"id":6596},{"__isSmartRef__":true,"id":6604}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6595":{"gameboard":[["black","black","white",null,"black","black","black"],[null,"black","white","white","white","white","white","white"],["black","black","white","black","black","black","white","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6596":{"parent":{"__isSmartRef__":true,"id":6594},"state":{"__isSmartRef__":true,"id":6597},"level":2,"childs":[{"__isSmartRef__":true,"id":6598},{"__isSmartRef__":true,"id":6600},{"__isSmartRef__":true,"id":6602}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6597":{"gameboard":[["black","black","black","black","black","black","black"],[null,"black","black","black","black","white","white","white"],["black","black","white","black","black","black","white","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"white","nextPlayer":"black","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6598":{"parent":{"__isSmartRef__":true,"id":6596},"state":{"__isSmartRef__":true,"id":6599},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6599":{"gameboard":[["black","black","black","black","black","black","black"],["white","white","white","white","white","white","white","white"],["black","white","white","black","black","black","white","black"],["black","black","white","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6600":{"parent":{"__isSmartRef__":true,"id":6596},"state":{"__isSmartRef__":true,"id":6601},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6601":{"gameboard":[["black","black","black","black","black","black","black"],[null,"black","black","black","black","white","white","white"],["black","black","white","black","black","black","white","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","white","black","black","white","white","black","black"],["white","black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6602":{"parent":{"__isSmartRef__":true,"id":6596},"state":{"__isSmartRef__":true,"id":6603},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6603":{"gameboard":[["black","black","black","black","black","black","black"],[null,"black","black","black","black","white","white","white"],["black","black","white","black","black","black","white","white"],["black","black","black","black","black","white","black","white"],["black","black","white","white","black","white","white","white"],["black","black","white","white","white","white","white","white"],["black","black","black","black","white","white","white","white"],[null,"black","black","black","black","black","black","white"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6604":{"parent":{"__isSmartRef__":true,"id":6594},"state":{"__isSmartRef__":true,"id":6605},"level":2,"childs":[{"__isSmartRef__":true,"id":6606},{"__isSmartRef__":true,"id":6608},{"__isSmartRef__":true,"id":6610}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6605":{"gameboard":[["black","black","white",null,"black","black","black","black"],[null,"black","white","white","white","white","black","black"],["black","black","white","black","black","black","white","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"white","nextPlayer":"black","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6606":{"parent":{"__isSmartRef__":true,"id":6604},"state":{"__isSmartRef__":true,"id":6607},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6607":{"gameboard":[["black","black","white",null,"black","black","black","black"],["white","white","white","white","white","white","black","black"],["black","white","white","black","black","black","white","black"],["black","black","white","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6608":{"parent":{"__isSmartRef__":true,"id":6604},"state":{"__isSmartRef__":true,"id":6609},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6609":{"gameboard":[["black","black","white",null,"black","black","black","black"],[null,"black","white","white","white","white","black","black"],["black","black","white","black","black","black","white","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","white","black","black","white","white","black","black"],["white","black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6610":{"parent":{"__isSmartRef__":true,"id":6604},"state":{"__isSmartRef__":true,"id":6611},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6611":{"gameboard":[["black","black","white",null,"black","black","black","black"],[null,"black","white","white","white","white","black","black"],["black","black","white","black","black","black","white","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","white","black"],[null,"black","black","black","black","black","black","white"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6612":{"parent":{"__isSmartRef__":true,"id":6558},"state":{"__isSmartRef__":true,"id":6613},"level":1,"childs":[{"__isSmartRef__":true,"id":6614}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6613":{"gameboard":[["black","black","white",null,"black","black","black"],[null,"black","white","white","black","black","black"],["black","black","white","black","black","black","black","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","white","black","black","white","white","black","black"],["white","black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6614":{"parent":{"__isSmartRef__":true,"id":6612},"state":{"__isSmartRef__":true,"id":6615},"level":2,"childs":[{"__isSmartRef__":true,"id":6616},{"__isSmartRef__":true,"id":6618},{"__isSmartRef__":true,"id":6620},{"__isSmartRef__":true,"id":6622}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6615":{"gameboard":[["black","black","black","black","black","black","black"],[null,"black","black","black","black","black","black"],["black","black","white","black","black","black","black","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","white","black","black","white","white","black","black"],["white","black","black","black","black","black","black"]],"player":"white","nextPlayer":"black","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6616":{"parent":{"__isSmartRef__":true,"id":6614},"state":{"__isSmartRef__":true,"id":6617},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6617":{"gameboard":[["black","black","black","black","black","black","black","white"],[null,"black","black","black","black","black","white"],["black","black","white","black","black","white","black","black"],["black","black","black","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","white","black","black","white","white","black","black"],["white","black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6618":{"parent":{"__isSmartRef__":true,"id":6614},"state":{"__isSmartRef__":true,"id":6619},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6619":{"gameboard":[["black","black","black","black","black","black","black"],["white","black","black","black","black","black","black"],["white","white","white","black","black","black","black","black"],["white","black","white","black","black","white","black","black"],["white","black","white","white","black","white","white","black"],["white","black","white","white","white","white","white","black"],["white","white","black","black","white","white","black","black"],["white","black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6620":{"parent":{"__isSmartRef__":true,"id":6614},"state":{"__isSmartRef__":true,"id":6621},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6621":{"gameboard":[["black","black","black","black","black","black","black"],[null,"black","black","black","black","black","black","white"],["black","black","white","black","black","black","white","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","white","black","black","white","white","black","black"],["white","black","black","black","black","black","black"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6622":{"parent":{"__isSmartRef__":true,"id":6614},"state":{"__isSmartRef__":true,"id":6623},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6623":{"gameboard":[["black","black","black","black","black","black","black"],[null,"black","black","black","black","black","black"],["black","black","white","black","black","black","black","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","white","black","black","white","white","white","black"],["white","white","white","white","white","white","white","white"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6624":{"parent":{"__isSmartRef__":true,"id":6558},"state":{"__isSmartRef__":true,"id":6625},"level":1,"childs":[{"__isSmartRef__":true,"id":6626}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6625":{"gameboard":[["black","black","white",null,"black","black","black"],[null,"black","white","white","black","black","black"],["black","black","white","black","black","black","black","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","white","black"],[null,"black","black","black","black","black","black","white"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6626":{"parent":{"__isSmartRef__":true,"id":6624},"state":{"__isSmartRef__":true,"id":6627},"level":2,"childs":[{"__isSmartRef__":true,"id":6628},{"__isSmartRef__":true,"id":6630},{"__isSmartRef__":true,"id":6632},{"__isSmartRef__":true,"id":6634}],"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6627":{"gameboard":[["black","black","black","black","black","black","black"],[null,"black","black","black","black","black","black"],["black","black","white","black","black","black","black","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","white","black"],[null,"black","black","black","black","black","black","white"]],"player":"white","nextPlayer":"black","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6628":{"parent":{"__isSmartRef__":true,"id":6626},"state":{"__isSmartRef__":true,"id":6629},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6629":{"gameboard":[["black","black","black","black","black","black","black","white"],[null,"black","black","black","black","black","white"],["black","black","white","black","black","white","black","black"],["black","black","black","black","white","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","white","black"],[null,"black","black","black","black","black","black","white"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6630":{"parent":{"__isSmartRef__":true,"id":6626},"state":{"__isSmartRef__":true,"id":6631},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6631":{"gameboard":[["black","black","black","black","black","black","black"],["white","black","black","black","black","black","black"],["black","white","white","black","black","black","black","black"],["black","black","white","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","white","black"],[null,"black","black","black","black","black","black","white"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6632":{"parent":{"__isSmartRef__":true,"id":6626},"state":{"__isSmartRef__":true,"id":6633},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6633":{"gameboard":[["black","black","black","black","black","black","black"],[null,"black","black","black","black","black","black","white"],["black","black","white","black","black","black","white","white"],["black","black","black","black","black","white","black","white"],["black","black","white","white","black","white","white","white"],["black","black","white","white","white","white","white","white"],["black","black","black","black","white","white","white","white"],[null,"black","black","black","black","black","black","white"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6634":{"parent":{"__isSmartRef__":true,"id":6626},"state":{"__isSmartRef__":true,"id":6635},"level":3,"__LivelyClassName__":"ABPGameTreeNode","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6635":{"gameboard":[["black","black","black","black","black","black","black"],[null,"black","black","black","black","black","black"],["black","black","white","black","black","black","black","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","white","black","black","white","white","white","black"],["white","white","white","white","white","white","white","white"]],"player":"black","nextPlayer":"white","valid":true,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"6636":{"submorphs":[{"__isSmartRef__":true,"id":6637}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6654},"id":"29805AA4-341A-426A-8309-42248144E254","eventHandler":{"__isSmartRef__":true,"id":6655},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":6656},"name":"node3","partsBinMetaInfo":{"__isSmartRef__":true,"id":6657},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6560},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":6660},{"__isSmartRef__":true,"id":7310}],"parent":{"__isSmartRef__":true,"id":6534},"level":1,"abp":{"__isSmartRef__":true,"id":7960},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7961},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(218.8,110.0)"},"6637":{"submorphs":[],"scripts":[],"id":"AC9BA7B9-AC7F-4771-BA32-7C487603EE63","shape":{"__isSmartRef__":true,"id":6638},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":6639},"textChunks":[{"__isSmartRef__":true,"id":6651}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":6653},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":6636},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"priorSelectionRange":[1,1],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"6638":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"6639":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":6640},{"__isSmartRef__":true,"id":6642},{"__isSmartRef__":true,"id":6644},{"__isSmartRef__":true,"id":6646},{"__isSmartRef__":true,"id":6648}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":6650},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6640":{"date":{"__isSmartRef__":true,"id":6641},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"6641":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"6642":{"date":{"__isSmartRef__":true,"id":6643},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"6643":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"6644":{"date":{"__isSmartRef__":true,"id":6645},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"6645":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"6646":{"date":{"__isSmartRef__":true,"id":6647},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"6647":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"6648":{"date":{"__isSmartRef__":true,"id":6649},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"6649":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"6650":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"6651":{"style":{"__isSmartRef__":true,"id":6652},"chunkOwner":{"__isSmartRef__":true,"id":6637},"_id":"_1515","storedString":"11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6652":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6653":{"morph":{"__isSmartRef__":true,"id":6637},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6654":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"6655":{"morph":{"__isSmartRef__":true,"id":6636},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6656":{},"6657":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":6658}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6658":{"date":{"__isSmartRef__":true,"id":6659},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"6659":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"6660":{"submorphs":[{"__isSmartRef__":true,"id":6661}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6678},"id":"1F588EDE-745D-4700-B04F-4D7C7F2BE6B9","eventHandler":{"__isSmartRef__":true,"id":6679},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":6680},"name":"node4","partsBinMetaInfo":{"__isSmartRef__":true,"id":6681},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6562},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":6684},{"__isSmartRef__":true,"id":6814},{"__isSmartRef__":true,"id":6944},{"__isSmartRef__":true,"id":7074}],"parent":{"__isSmartRef__":true,"id":6636},"level":2,"abp":{"__isSmartRef__":true,"id":7204},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7205},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(172.0,160.0)"},"6661":{"submorphs":[],"scripts":[],"id":"BBF8C732-DA97-4CE4-99F9-ABE79350199D","shape":{"__isSmartRef__":true,"id":6662},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":6663},"textChunks":[{"__isSmartRef__":true,"id":6675}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":6677},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":6660},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"6662":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"6663":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":6664},{"__isSmartRef__":true,"id":6666},{"__isSmartRef__":true,"id":6668},{"__isSmartRef__":true,"id":6670},{"__isSmartRef__":true,"id":6672}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":6674},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6664":{"date":{"__isSmartRef__":true,"id":6665},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"6665":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"6666":{"date":{"__isSmartRef__":true,"id":6667},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"6667":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"6668":{"date":{"__isSmartRef__":true,"id":6669},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"6669":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"6670":{"date":{"__isSmartRef__":true,"id":6671},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"6671":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"6672":{"date":{"__isSmartRef__":true,"id":6673},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"6673":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"6674":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"6675":{"style":{"__isSmartRef__":true,"id":6676},"chunkOwner":{"__isSmartRef__":true,"id":6661},"_id":"_1470","storedString":"-11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6676":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6677":{"morph":{"__isSmartRef__":true,"id":6661},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6678":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"6679":{"morph":{"__isSmartRef__":true,"id":6660},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6680":{},"6681":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":6682}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6682":{"date":{"__isSmartRef__":true,"id":6683},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"6683":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"6684":{"submorphs":[{"__isSmartRef__":true,"id":6685}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6702},"id":"5FCBB1E3-1EBE-47FA-ACAB-FC9E8ED0E09A","eventHandler":{"__isSmartRef__":true,"id":6703},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":6704},"name":"node5","partsBinMetaInfo":{"__isSmartRef__":true,"id":6705},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6564},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":6660},"level":3,"abp":{"__isSmartRef__":true,"id":6708},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6709},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(73.1,210.0)"},"6685":{"submorphs":[],"scripts":[],"id":"447A4AD8-D97F-4EB8-A02C-020E82BCA6C3","shape":{"__isSmartRef__":true,"id":6686},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":6687},"textChunks":[{"__isSmartRef__":true,"id":6699}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":6701},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":6684},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"6686":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"6687":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":6688},{"__isSmartRef__":true,"id":6690},{"__isSmartRef__":true,"id":6692},{"__isSmartRef__":true,"id":6694},{"__isSmartRef__":true,"id":6696}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":6698},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6688":{"date":{"__isSmartRef__":true,"id":6689},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"6689":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"6690":{"date":{"__isSmartRef__":true,"id":6691},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"6691":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"6692":{"date":{"__isSmartRef__":true,"id":6693},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"6693":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"6694":{"date":{"__isSmartRef__":true,"id":6695},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"6695":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"6696":{"date":{"__isSmartRef__":true,"id":6697},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"6697":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"6698":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"6699":{"style":{"__isSmartRef__":true,"id":6700},"chunkOwner":{"__isSmartRef__":true,"id":6685},"_id":"_1444","storedString":"11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6700":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6701":{"morph":{"__isSmartRef__":true,"id":6685},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6702":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,204,0)","_Fill":"Color.rgb(255,255,255)"},"6703":{"morph":{"__isSmartRef__":true,"id":6684},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6704":{},"6705":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":6706}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6706":{"date":{"__isSmartRef__":true,"id":6707},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"6707":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"6708":{"isActive":true,"alpha":11,"beta":10000000000000,"i":0,"m":11,"origAlpha":-10000000000000,"d":0},"6709":{"buildChildNodes":{"__isSmartRef__":true,"id":6710},"getGameTree":{"__isSmartRef__":true,"id":6714},"getLevel":{"__isSmartRef__":true,"id":6718},"getLevelWeight":{"__isSmartRef__":true,"id":6722},"getWeight":{"__isSmartRef__":true,"id":6726},"setNode":{"__isSmartRef__":true,"id":6730},"setParent":{"__isSmartRef__":true,"id":6734},"getParent":{"__isSmartRef__":true,"id":6738},"deactivate":{"__isSmartRef__":true,"id":6742},"blink":{"__isSmartRef__":true,"id":6746},"ABPreturn":{"__isSmartRef__":true,"id":6750},"ABPstart":{"__isSmartRef__":true,"id":6754},"ABPcontinue":{"__isSmartRef__":true,"id":6758},"ABPshowValue":{"__isSmartRef__":true,"id":6762},"ABPgetValue":{"__isSmartRef__":true,"id":6766},"ABPhasChildNodes":{"__isSmartRef__":true,"id":6770},"onMouseDown":{"__isSmartRef__":true,"id":6774},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":6782},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":6786},"ABPmarkAsDone":{"__isSmartRef__":true,"id":6790},"ABPmarkAsActive":{"__isSmartRef__":true,"id":6794},"getStateMorph":{"__isSmartRef__":true,"id":6798},"showState":{"__isSmartRef__":true,"id":6802},"ABPfailHard":{"__isSmartRef__":true,"id":6806},"markFinalDrawWith":{"__isSmartRef__":true,"id":6810}},"6710":{"varMapping":{"__isSmartRef__":true,"id":6711},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":6712},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6711":{"this":{"__isSmartRef__":true,"id":6684}},"6712":{"timestamp":{"__isSmartRef__":true,"id":6713},"user":"sebastianwoinar","tags":[]},"6713":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"6714":{"varMapping":{"__isSmartRef__":true,"id":6715},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":6716},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6715":{"this":{"__isSmartRef__":true,"id":6684}},"6716":{"timestamp":{"__isSmartRef__":true,"id":6717},"user":"sebastianwoinar","tags":[]},"6717":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6718":{"varMapping":{"__isSmartRef__":true,"id":6719},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":6720},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6719":{"this":{"__isSmartRef__":true,"id":6684}},"6720":{"timestamp":{"__isSmartRef__":true,"id":6721},"user":"sebastianwoinar","tags":[]},"6721":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6722":{"varMapping":{"__isSmartRef__":true,"id":6723},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6724},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6723":{"this":{"__isSmartRef__":true,"id":6684}},"6724":{"timestamp":{"__isSmartRef__":true,"id":6725},"user":"sebastianwoinar","tags":[]},"6725":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6726":{"varMapping":{"__isSmartRef__":true,"id":6727},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":6728},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6727":{"this":{"__isSmartRef__":true,"id":6684}},"6728":{"timestamp":{"__isSmartRef__":true,"id":6729},"user":"sebastianwoinar","tags":[]},"6729":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6730":{"varMapping":{"__isSmartRef__":true,"id":6731},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":6732},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6731":{"this":{"__isSmartRef__":true,"id":6684}},"6732":{"timestamp":{"__isSmartRef__":true,"id":6733},"user":"sebastianwoinar","tags":[]},"6733":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6734":{"varMapping":{"__isSmartRef__":true,"id":6735},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":6736},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6735":{"this":{"__isSmartRef__":true,"id":6684}},"6736":{"timestamp":{"__isSmartRef__":true,"id":6737},"user":"sebastianwoinar","tags":[]},"6737":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6738":{"varMapping":{"__isSmartRef__":true,"id":6739},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":6740},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6739":{"this":{"__isSmartRef__":true,"id":6684}},"6740":{"timestamp":{"__isSmartRef__":true,"id":6741},"user":"sebastianwoinar","tags":[]},"6741":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"6742":{"varMapping":{"__isSmartRef__":true,"id":6743},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":6744},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6743":{"this":{"__isSmartRef__":true,"id":6684}},"6744":{"timestamp":{"__isSmartRef__":true,"id":6745},"user":"sebastianwoinar","tags":[]},"6745":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"6746":{"varMapping":{"__isSmartRef__":true,"id":6747},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":6748},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6747":{"this":{"__isSmartRef__":true,"id":6684}},"6748":{"timestamp":{"__isSmartRef__":true,"id":6749},"user":"sebastianwoinar","tags":[]},"6749":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"6750":{"varMapping":{"__isSmartRef__":true,"id":6751},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":6752},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6751":{"this":{"__isSmartRef__":true,"id":6684}},"6752":{"timestamp":{"__isSmartRef__":true,"id":6753},"user":"sebastianwoinar","tags":[]},"6753":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"6754":{"varMapping":{"__isSmartRef__":true,"id":6755},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":6756},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6755":{"this":{"__isSmartRef__":true,"id":6684}},"6756":{"timestamp":{"__isSmartRef__":true,"id":6757},"user":"sebastianwoinar","tags":[]},"6757":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"6758":{"varMapping":{"__isSmartRef__":true,"id":6759},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":6760},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6759":{"this":{"__isSmartRef__":true,"id":6684}},"6760":{"timestamp":{"__isSmartRef__":true,"id":6761},"user":"sebastianwoinar","tags":[]},"6761":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"6762":{"varMapping":{"__isSmartRef__":true,"id":6763},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":6764},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6763":{"this":{"__isSmartRef__":true,"id":6684}},"6764":{"timestamp":{"__isSmartRef__":true,"id":6765},"user":"sebastianwoinar","tags":[]},"6765":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"6766":{"varMapping":{"__isSmartRef__":true,"id":6767},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":6768},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6767":{"this":{"__isSmartRef__":true,"id":6684}},"6768":{"timestamp":{"__isSmartRef__":true,"id":6769},"user":"sebastianwoinar","tags":[]},"6769":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"6770":{"varMapping":{"__isSmartRef__":true,"id":6771},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":6772},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6771":{"this":{"__isSmartRef__":true,"id":6684}},"6772":{"timestamp":{"__isSmartRef__":true,"id":6773},"user":"sebastianwoinar","tags":[]},"6773":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"6774":{"varMapping":{"__isSmartRef__":true,"id":6775},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":6780},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6775":{"this":{"__isSmartRef__":true,"id":6684},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6776}},"6776":{"$super":{"__isSmartRef__":true,"id":6777}},"6777":{"varMapping":{"__isSmartRef__":true,"id":6778},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6779},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6778":{"obj":{"__isSmartRef__":true,"id":6684},"name":"onMouseDown"},"6779":{},"6780":{"timestamp":{"__isSmartRef__":true,"id":6781},"user":"sebastianwoinar","tags":[]},"6781":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"6782":{"varMapping":{"__isSmartRef__":true,"id":6783},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":6784},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6783":{"this":{"__isSmartRef__":true,"id":6684}},"6784":{"timestamp":{"__isSmartRef__":true,"id":6785},"user":"sebastianwoinar","tags":[]},"6785":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"6786":{"varMapping":{"__isSmartRef__":true,"id":6787},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":6788},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6787":{"this":{"__isSmartRef__":true,"id":6684}},"6788":{"timestamp":{"__isSmartRef__":true,"id":6789},"user":"sebastianwoinar","tags":[]},"6789":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"6790":{"varMapping":{"__isSmartRef__":true,"id":6791},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":6792},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6791":{"this":{"__isSmartRef__":true,"id":6684}},"6792":{"timestamp":{"__isSmartRef__":true,"id":6793},"user":"sebastianwoinar","tags":[]},"6793":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"6794":{"varMapping":{"__isSmartRef__":true,"id":6795},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":6796},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6795":{"this":{"__isSmartRef__":true,"id":6684}},"6796":{"timestamp":{"__isSmartRef__":true,"id":6797},"user":"sebastianwoinar","tags":[]},"6797":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"6798":{"varMapping":{"__isSmartRef__":true,"id":6799},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":6800},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6799":{"this":{"__isSmartRef__":true,"id":6684}},"6800":{"timestamp":{"__isSmartRef__":true,"id":6801},"user":"sebastianwoinar","tags":[]},"6801":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"6802":{"varMapping":{"__isSmartRef__":true,"id":6803},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6804},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6803":{"this":{"__isSmartRef__":true,"id":6684}},"6804":{"timestamp":{"__isSmartRef__":true,"id":6805},"user":"sebastianwoinar","tags":[]},"6805":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"6806":{"varMapping":{"__isSmartRef__":true,"id":6807},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":6808},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6807":{"this":{"__isSmartRef__":true,"id":6684}},"6808":{"timestamp":{"__isSmartRef__":true,"id":6809},"user":"sebastianwoinar","tags":[]},"6809":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"6810":{"varMapping":{"__isSmartRef__":true,"id":6811},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6812},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6811":{"this":{"__isSmartRef__":true,"id":6684}},"6812":{"timestamp":{"__isSmartRef__":true,"id":6813},"user":"sebastianwoinar","tags":[]},"6813":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"6814":{"submorphs":[{"__isSmartRef__":true,"id":6815}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6832},"id":"867DBC82-659C-416C-8577-250F338B4651","eventHandler":{"__isSmartRef__":true,"id":6833},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":6834},"name":"node6","partsBinMetaInfo":{"__isSmartRef__":true,"id":6835},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6566},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":6660},"level":3,"abp":{"__isSmartRef__":true,"id":6838},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6839},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(114.7,210.0)"},"6815":{"submorphs":[],"scripts":[],"id":"961740D2-2C64-4296-BC68-4C721D8A23D0","shape":{"__isSmartRef__":true,"id":6816},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":6817},"textChunks":[{"__isSmartRef__":true,"id":6829}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":6831},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":6814},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"6816":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"6817":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":6818},{"__isSmartRef__":true,"id":6820},{"__isSmartRef__":true,"id":6822},{"__isSmartRef__":true,"id":6824},{"__isSmartRef__":true,"id":6826}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":6828},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6818":{"date":{"__isSmartRef__":true,"id":6819},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"6819":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"6820":{"date":{"__isSmartRef__":true,"id":6821},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"6821":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"6822":{"date":{"__isSmartRef__":true,"id":6823},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"6823":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"6824":{"date":{"__isSmartRef__":true,"id":6825},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"6825":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"6826":{"date":{"__isSmartRef__":true,"id":6827},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"6827":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"6828":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"6829":{"style":{"__isSmartRef__":true,"id":6830},"chunkOwner":{"__isSmartRef__":true,"id":6815},"_id":"_1451","storedString":"23","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6830":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6831":{"morph":{"__isSmartRef__":true,"id":6815},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6832":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"6833":{"morph":{"__isSmartRef__":true,"id":6814},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6834":{},"6835":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":6836}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6836":{"date":{"__isSmartRef__":true,"id":6837},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"6837":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"6838":{"isActive":true,"alpha":23,"beta":11,"i":0,"m":23,"origAlpha":-10000000000000,"d":0},"6839":{"buildChildNodes":{"__isSmartRef__":true,"id":6840},"getGameTree":{"__isSmartRef__":true,"id":6844},"getLevel":{"__isSmartRef__":true,"id":6848},"getLevelWeight":{"__isSmartRef__":true,"id":6852},"getWeight":{"__isSmartRef__":true,"id":6856},"setNode":{"__isSmartRef__":true,"id":6860},"setParent":{"__isSmartRef__":true,"id":6864},"getParent":{"__isSmartRef__":true,"id":6868},"deactivate":{"__isSmartRef__":true,"id":6872},"blink":{"__isSmartRef__":true,"id":6876},"ABPreturn":{"__isSmartRef__":true,"id":6880},"ABPstart":{"__isSmartRef__":true,"id":6884},"ABPcontinue":{"__isSmartRef__":true,"id":6888},"ABPshowValue":{"__isSmartRef__":true,"id":6892},"ABPgetValue":{"__isSmartRef__":true,"id":6896},"ABPhasChildNodes":{"__isSmartRef__":true,"id":6900},"onMouseDown":{"__isSmartRef__":true,"id":6904},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":6912},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":6916},"ABPmarkAsDone":{"__isSmartRef__":true,"id":6920},"ABPmarkAsActive":{"__isSmartRef__":true,"id":6924},"getStateMorph":{"__isSmartRef__":true,"id":6928},"showState":{"__isSmartRef__":true,"id":6932},"ABPfailHard":{"__isSmartRef__":true,"id":6936},"markFinalDrawWith":{"__isSmartRef__":true,"id":6940}},"6840":{"varMapping":{"__isSmartRef__":true,"id":6841},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":6842},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6841":{"this":{"__isSmartRef__":true,"id":6814}},"6842":{"timestamp":{"__isSmartRef__":true,"id":6843},"user":"sebastianwoinar","tags":[]},"6843":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"6844":{"varMapping":{"__isSmartRef__":true,"id":6845},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":6846},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6845":{"this":{"__isSmartRef__":true,"id":6814}},"6846":{"timestamp":{"__isSmartRef__":true,"id":6847},"user":"sebastianwoinar","tags":[]},"6847":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6848":{"varMapping":{"__isSmartRef__":true,"id":6849},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":6850},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6849":{"this":{"__isSmartRef__":true,"id":6814}},"6850":{"timestamp":{"__isSmartRef__":true,"id":6851},"user":"sebastianwoinar","tags":[]},"6851":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6852":{"varMapping":{"__isSmartRef__":true,"id":6853},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6854},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6853":{"this":{"__isSmartRef__":true,"id":6814}},"6854":{"timestamp":{"__isSmartRef__":true,"id":6855},"user":"sebastianwoinar","tags":[]},"6855":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6856":{"varMapping":{"__isSmartRef__":true,"id":6857},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":6858},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6857":{"this":{"__isSmartRef__":true,"id":6814}},"6858":{"timestamp":{"__isSmartRef__":true,"id":6859},"user":"sebastianwoinar","tags":[]},"6859":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6860":{"varMapping":{"__isSmartRef__":true,"id":6861},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":6862},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6861":{"this":{"__isSmartRef__":true,"id":6814}},"6862":{"timestamp":{"__isSmartRef__":true,"id":6863},"user":"sebastianwoinar","tags":[]},"6863":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6864":{"varMapping":{"__isSmartRef__":true,"id":6865},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":6866},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6865":{"this":{"__isSmartRef__":true,"id":6814}},"6866":{"timestamp":{"__isSmartRef__":true,"id":6867},"user":"sebastianwoinar","tags":[]},"6867":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6868":{"varMapping":{"__isSmartRef__":true,"id":6869},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":6870},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6869":{"this":{"__isSmartRef__":true,"id":6814}},"6870":{"timestamp":{"__isSmartRef__":true,"id":6871},"user":"sebastianwoinar","tags":[]},"6871":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"6872":{"varMapping":{"__isSmartRef__":true,"id":6873},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":6874},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6873":{"this":{"__isSmartRef__":true,"id":6814}},"6874":{"timestamp":{"__isSmartRef__":true,"id":6875},"user":"sebastianwoinar","tags":[]},"6875":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"6876":{"varMapping":{"__isSmartRef__":true,"id":6877},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":6878},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6877":{"this":{"__isSmartRef__":true,"id":6814}},"6878":{"timestamp":{"__isSmartRef__":true,"id":6879},"user":"sebastianwoinar","tags":[]},"6879":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"6880":{"varMapping":{"__isSmartRef__":true,"id":6881},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":6882},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6881":{"this":{"__isSmartRef__":true,"id":6814}},"6882":{"timestamp":{"__isSmartRef__":true,"id":6883},"user":"sebastianwoinar","tags":[]},"6883":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"6884":{"varMapping":{"__isSmartRef__":true,"id":6885},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":6886},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6885":{"this":{"__isSmartRef__":true,"id":6814}},"6886":{"timestamp":{"__isSmartRef__":true,"id":6887},"user":"sebastianwoinar","tags":[]},"6887":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"6888":{"varMapping":{"__isSmartRef__":true,"id":6889},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":6890},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6889":{"this":{"__isSmartRef__":true,"id":6814}},"6890":{"timestamp":{"__isSmartRef__":true,"id":6891},"user":"sebastianwoinar","tags":[]},"6891":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"6892":{"varMapping":{"__isSmartRef__":true,"id":6893},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":6894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6893":{"this":{"__isSmartRef__":true,"id":6814}},"6894":{"timestamp":{"__isSmartRef__":true,"id":6895},"user":"sebastianwoinar","tags":[]},"6895":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"6896":{"varMapping":{"__isSmartRef__":true,"id":6897},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":6898},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6897":{"this":{"__isSmartRef__":true,"id":6814}},"6898":{"timestamp":{"__isSmartRef__":true,"id":6899},"user":"sebastianwoinar","tags":[]},"6899":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"6900":{"varMapping":{"__isSmartRef__":true,"id":6901},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":6902},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6901":{"this":{"__isSmartRef__":true,"id":6814}},"6902":{"timestamp":{"__isSmartRef__":true,"id":6903},"user":"sebastianwoinar","tags":[]},"6903":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"6904":{"varMapping":{"__isSmartRef__":true,"id":6905},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":6910},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6905":{"this":{"__isSmartRef__":true,"id":6814},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6906}},"6906":{"$super":{"__isSmartRef__":true,"id":6907}},"6907":{"varMapping":{"__isSmartRef__":true,"id":6908},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6909},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6908":{"obj":{"__isSmartRef__":true,"id":6814},"name":"onMouseDown"},"6909":{},"6910":{"timestamp":{"__isSmartRef__":true,"id":6911},"user":"sebastianwoinar","tags":[]},"6911":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"6912":{"varMapping":{"__isSmartRef__":true,"id":6913},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":6914},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6913":{"this":{"__isSmartRef__":true,"id":6814}},"6914":{"timestamp":{"__isSmartRef__":true,"id":6915},"user":"sebastianwoinar","tags":[]},"6915":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"6916":{"varMapping":{"__isSmartRef__":true,"id":6917},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":6918},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6917":{"this":{"__isSmartRef__":true,"id":6814}},"6918":{"timestamp":{"__isSmartRef__":true,"id":6919},"user":"sebastianwoinar","tags":[]},"6919":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"6920":{"varMapping":{"__isSmartRef__":true,"id":6921},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":6922},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6921":{"this":{"__isSmartRef__":true,"id":6814}},"6922":{"timestamp":{"__isSmartRef__":true,"id":6923},"user":"sebastianwoinar","tags":[]},"6923":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"6924":{"varMapping":{"__isSmartRef__":true,"id":6925},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":6926},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6925":{"this":{"__isSmartRef__":true,"id":6814}},"6926":{"timestamp":{"__isSmartRef__":true,"id":6927},"user":"sebastianwoinar","tags":[]},"6927":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"6928":{"varMapping":{"__isSmartRef__":true,"id":6929},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":6930},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6929":{"this":{"__isSmartRef__":true,"id":6814}},"6930":{"timestamp":{"__isSmartRef__":true,"id":6931},"user":"sebastianwoinar","tags":[]},"6931":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"6932":{"varMapping":{"__isSmartRef__":true,"id":6933},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6934},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6933":{"this":{"__isSmartRef__":true,"id":6814}},"6934":{"timestamp":{"__isSmartRef__":true,"id":6935},"user":"sebastianwoinar","tags":[]},"6935":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"6936":{"varMapping":{"__isSmartRef__":true,"id":6937},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":6938},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6937":{"this":{"__isSmartRef__":true,"id":6814}},"6938":{"timestamp":{"__isSmartRef__":true,"id":6939},"user":"sebastianwoinar","tags":[]},"6939":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"6940":{"varMapping":{"__isSmartRef__":true,"id":6941},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6941":{"this":{"__isSmartRef__":true,"id":6814}},"6942":{"timestamp":{"__isSmartRef__":true,"id":6943},"user":"sebastianwoinar","tags":[]},"6943":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"6944":{"submorphs":[{"__isSmartRef__":true,"id":6945}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6962},"id":"82159E55-E686-46C0-B573-D3F827322B36","eventHandler":{"__isSmartRef__":true,"id":6963},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":6964},"name":"node7","partsBinMetaInfo":{"__isSmartRef__":true,"id":6965},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6568},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":6660},"level":3,"abp":{"__isSmartRef__":true,"id":6968},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6969},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(156.4,210.0)"},"6945":{"submorphs":[],"scripts":[],"id":"426D00FA-FC92-41E0-A965-0611DAD7596C","shape":{"__isSmartRef__":true,"id":6946},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":6947},"textChunks":[{"__isSmartRef__":true,"id":6959}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":6961},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":6944},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"6946":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"6947":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":6948},{"__isSmartRef__":true,"id":6950},{"__isSmartRef__":true,"id":6952},{"__isSmartRef__":true,"id":6954},{"__isSmartRef__":true,"id":6956}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":6958},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6948":{"date":{"__isSmartRef__":true,"id":6949},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"6949":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"6950":{"date":{"__isSmartRef__":true,"id":6951},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"6951":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"6952":{"date":{"__isSmartRef__":true,"id":6953},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"6953":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"6954":{"date":{"__isSmartRef__":true,"id":6955},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"6955":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"6956":{"date":{"__isSmartRef__":true,"id":6957},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"6957":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"6958":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"6959":{"style":{"__isSmartRef__":true,"id":6960},"chunkOwner":{"__isSmartRef__":true,"id":6945},"_id":"_1458","storedString":"23","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6960":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6961":{"morph":{"__isSmartRef__":true,"id":6945},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6962":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"6963":{"morph":{"__isSmartRef__":true,"id":6944},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6964":{},"6965":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":6966}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6966":{"date":{"__isSmartRef__":true,"id":6967},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"6967":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"6968":{"isActive":true,"alpha":23,"beta":11,"i":0,"m":23,"origAlpha":-10000000000000,"d":0},"6969":{"buildChildNodes":{"__isSmartRef__":true,"id":6970},"getGameTree":{"__isSmartRef__":true,"id":6974},"getLevel":{"__isSmartRef__":true,"id":6978},"getLevelWeight":{"__isSmartRef__":true,"id":6982},"getWeight":{"__isSmartRef__":true,"id":6986},"setNode":{"__isSmartRef__":true,"id":6990},"setParent":{"__isSmartRef__":true,"id":6994},"getParent":{"__isSmartRef__":true,"id":6998},"deactivate":{"__isSmartRef__":true,"id":7002},"blink":{"__isSmartRef__":true,"id":7006},"ABPreturn":{"__isSmartRef__":true,"id":7010},"ABPstart":{"__isSmartRef__":true,"id":7014},"ABPcontinue":{"__isSmartRef__":true,"id":7018},"ABPshowValue":{"__isSmartRef__":true,"id":7022},"ABPgetValue":{"__isSmartRef__":true,"id":7026},"ABPhasChildNodes":{"__isSmartRef__":true,"id":7030},"onMouseDown":{"__isSmartRef__":true,"id":7034},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":7042},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":7046},"ABPmarkAsDone":{"__isSmartRef__":true,"id":7050},"ABPmarkAsActive":{"__isSmartRef__":true,"id":7054},"getStateMorph":{"__isSmartRef__":true,"id":7058},"showState":{"__isSmartRef__":true,"id":7062},"ABPfailHard":{"__isSmartRef__":true,"id":7066},"markFinalDrawWith":{"__isSmartRef__":true,"id":7070}},"6970":{"varMapping":{"__isSmartRef__":true,"id":6971},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":6972},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6971":{"this":{"__isSmartRef__":true,"id":6944}},"6972":{"timestamp":{"__isSmartRef__":true,"id":6973},"user":"sebastianwoinar","tags":[]},"6973":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"6974":{"varMapping":{"__isSmartRef__":true,"id":6975},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":6976},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6975":{"this":{"__isSmartRef__":true,"id":6944}},"6976":{"timestamp":{"__isSmartRef__":true,"id":6977},"user":"sebastianwoinar","tags":[]},"6977":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6978":{"varMapping":{"__isSmartRef__":true,"id":6979},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":6980},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6979":{"this":{"__isSmartRef__":true,"id":6944}},"6980":{"timestamp":{"__isSmartRef__":true,"id":6981},"user":"sebastianwoinar","tags":[]},"6981":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6982":{"varMapping":{"__isSmartRef__":true,"id":6983},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6984},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6983":{"this":{"__isSmartRef__":true,"id":6944}},"6984":{"timestamp":{"__isSmartRef__":true,"id":6985},"user":"sebastianwoinar","tags":[]},"6985":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6986":{"varMapping":{"__isSmartRef__":true,"id":6987},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":6988},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6987":{"this":{"__isSmartRef__":true,"id":6944}},"6988":{"timestamp":{"__isSmartRef__":true,"id":6989},"user":"sebastianwoinar","tags":[]},"6989":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6990":{"varMapping":{"__isSmartRef__":true,"id":6991},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":6992},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6991":{"this":{"__isSmartRef__":true,"id":6944}},"6992":{"timestamp":{"__isSmartRef__":true,"id":6993},"user":"sebastianwoinar","tags":[]},"6993":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6994":{"varMapping":{"__isSmartRef__":true,"id":6995},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":6996},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6995":{"this":{"__isSmartRef__":true,"id":6944}},"6996":{"timestamp":{"__isSmartRef__":true,"id":6997},"user":"sebastianwoinar","tags":[]},"6997":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"6998":{"varMapping":{"__isSmartRef__":true,"id":6999},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":7000},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6999":{"this":{"__isSmartRef__":true,"id":6944}},"7000":{"timestamp":{"__isSmartRef__":true,"id":7001},"user":"sebastianwoinar","tags":[]},"7001":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"7002":{"varMapping":{"__isSmartRef__":true,"id":7003},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7004},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7003":{"this":{"__isSmartRef__":true,"id":6944}},"7004":{"timestamp":{"__isSmartRef__":true,"id":7005},"user":"sebastianwoinar","tags":[]},"7005":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"7006":{"varMapping":{"__isSmartRef__":true,"id":7007},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":7008},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7007":{"this":{"__isSmartRef__":true,"id":6944}},"7008":{"timestamp":{"__isSmartRef__":true,"id":7009},"user":"sebastianwoinar","tags":[]},"7009":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"7010":{"varMapping":{"__isSmartRef__":true,"id":7011},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":7012},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7011":{"this":{"__isSmartRef__":true,"id":6944}},"7012":{"timestamp":{"__isSmartRef__":true,"id":7013},"user":"sebastianwoinar","tags":[]},"7013":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"7014":{"varMapping":{"__isSmartRef__":true,"id":7015},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":7016},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7015":{"this":{"__isSmartRef__":true,"id":6944}},"7016":{"timestamp":{"__isSmartRef__":true,"id":7017},"user":"sebastianwoinar","tags":[]},"7017":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"7018":{"varMapping":{"__isSmartRef__":true,"id":7019},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":7020},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7019":{"this":{"__isSmartRef__":true,"id":6944}},"7020":{"timestamp":{"__isSmartRef__":true,"id":7021},"user":"sebastianwoinar","tags":[]},"7021":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"7022":{"varMapping":{"__isSmartRef__":true,"id":7023},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":7024},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7023":{"this":{"__isSmartRef__":true,"id":6944}},"7024":{"timestamp":{"__isSmartRef__":true,"id":7025},"user":"sebastianwoinar","tags":[]},"7025":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"7026":{"varMapping":{"__isSmartRef__":true,"id":7027},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":7028},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7027":{"this":{"__isSmartRef__":true,"id":6944}},"7028":{"timestamp":{"__isSmartRef__":true,"id":7029},"user":"sebastianwoinar","tags":[]},"7029":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"7030":{"varMapping":{"__isSmartRef__":true,"id":7031},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":7032},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7031":{"this":{"__isSmartRef__":true,"id":6944}},"7032":{"timestamp":{"__isSmartRef__":true,"id":7033},"user":"sebastianwoinar","tags":[]},"7033":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"7034":{"varMapping":{"__isSmartRef__":true,"id":7035},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":7040},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7035":{"this":{"__isSmartRef__":true,"id":6944},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7036}},"7036":{"$super":{"__isSmartRef__":true,"id":7037}},"7037":{"varMapping":{"__isSmartRef__":true,"id":7038},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7039},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7038":{"obj":{"__isSmartRef__":true,"id":6944},"name":"onMouseDown"},"7039":{},"7040":{"timestamp":{"__isSmartRef__":true,"id":7041},"user":"sebastianwoinar","tags":[]},"7041":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"7042":{"varMapping":{"__isSmartRef__":true,"id":7043},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":7044},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7043":{"this":{"__isSmartRef__":true,"id":6944}},"7044":{"timestamp":{"__isSmartRef__":true,"id":7045},"user":"sebastianwoinar","tags":[]},"7045":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"7046":{"varMapping":{"__isSmartRef__":true,"id":7047},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":7048},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7047":{"this":{"__isSmartRef__":true,"id":6944}},"7048":{"timestamp":{"__isSmartRef__":true,"id":7049},"user":"sebastianwoinar","tags":[]},"7049":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"7050":{"varMapping":{"__isSmartRef__":true,"id":7051},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7052},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7051":{"this":{"__isSmartRef__":true,"id":6944}},"7052":{"timestamp":{"__isSmartRef__":true,"id":7053},"user":"sebastianwoinar","tags":[]},"7053":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"7054":{"varMapping":{"__isSmartRef__":true,"id":7055},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":7056},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7055":{"this":{"__isSmartRef__":true,"id":6944}},"7056":{"timestamp":{"__isSmartRef__":true,"id":7057},"user":"sebastianwoinar","tags":[]},"7057":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"7058":{"varMapping":{"__isSmartRef__":true,"id":7059},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":7060},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7059":{"this":{"__isSmartRef__":true,"id":6944}},"7060":{"timestamp":{"__isSmartRef__":true,"id":7061},"user":"sebastianwoinar","tags":[]},"7061":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"7062":{"varMapping":{"__isSmartRef__":true,"id":7063},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7064},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7063":{"this":{"__isSmartRef__":true,"id":6944}},"7064":{"timestamp":{"__isSmartRef__":true,"id":7065},"user":"sebastianwoinar","tags":[]},"7065":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"7066":{"varMapping":{"__isSmartRef__":true,"id":7067},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":7068},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7067":{"this":{"__isSmartRef__":true,"id":6944}},"7068":{"timestamp":{"__isSmartRef__":true,"id":7069},"user":"sebastianwoinar","tags":[]},"7069":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"7070":{"varMapping":{"__isSmartRef__":true,"id":7071},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7072},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7071":{"this":{"__isSmartRef__":true,"id":6944}},"7072":{"timestamp":{"__isSmartRef__":true,"id":7073},"user":"sebastianwoinar","tags":[]},"7073":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"7074":{"submorphs":[{"__isSmartRef__":true,"id":7075}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7092},"id":"99262FEE-6851-4F25-8121-080E9F87921A","eventHandler":{"__isSmartRef__":true,"id":7093},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":7094},"name":"node8","partsBinMetaInfo":{"__isSmartRef__":true,"id":7095},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6570},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":6660},"level":3,"abp":{"__isSmartRef__":true,"id":7098},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7099},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(198.0,210.0)"},"7075":{"submorphs":[],"scripts":[],"id":"22BE0DA3-13AB-4D15-9FE6-BD3659AED2B8","shape":{"__isSmartRef__":true,"id":7076},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":7077},"textChunks":[{"__isSmartRef__":true,"id":7089}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":7091},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":7074},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"7076":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"7077":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":7078},{"__isSmartRef__":true,"id":7080},{"__isSmartRef__":true,"id":7082},{"__isSmartRef__":true,"id":7084},{"__isSmartRef__":true,"id":7086}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":7088},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7078":{"date":{"__isSmartRef__":true,"id":7079},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"7079":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"7080":{"date":{"__isSmartRef__":true,"id":7081},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"7081":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"7082":{"date":{"__isSmartRef__":true,"id":7083},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"7083":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"7084":{"date":{"__isSmartRef__":true,"id":7085},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"7085":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"7086":{"date":{"__isSmartRef__":true,"id":7087},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"7087":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"7088":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"7089":{"style":{"__isSmartRef__":true,"id":7090},"chunkOwner":{"__isSmartRef__":true,"id":7075},"_id":"_1465","storedString":"23","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7090":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7091":{"morph":{"__isSmartRef__":true,"id":7075},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7092":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"7093":{"morph":{"__isSmartRef__":true,"id":7074},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7094":{},"7095":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":7096}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7096":{"date":{"__isSmartRef__":true,"id":7097},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"7097":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"7098":{"isActive":true,"alpha":23,"beta":11,"i":0,"m":23,"origAlpha":-10000000000000,"d":0},"7099":{"buildChildNodes":{"__isSmartRef__":true,"id":7100},"getGameTree":{"__isSmartRef__":true,"id":7104},"getLevel":{"__isSmartRef__":true,"id":7108},"getLevelWeight":{"__isSmartRef__":true,"id":7112},"getWeight":{"__isSmartRef__":true,"id":7116},"setNode":{"__isSmartRef__":true,"id":7120},"setParent":{"__isSmartRef__":true,"id":7124},"getParent":{"__isSmartRef__":true,"id":7128},"deactivate":{"__isSmartRef__":true,"id":7132},"blink":{"__isSmartRef__":true,"id":7136},"ABPreturn":{"__isSmartRef__":true,"id":7140},"ABPstart":{"__isSmartRef__":true,"id":7144},"ABPcontinue":{"__isSmartRef__":true,"id":7148},"ABPshowValue":{"__isSmartRef__":true,"id":7152},"ABPgetValue":{"__isSmartRef__":true,"id":7156},"ABPhasChildNodes":{"__isSmartRef__":true,"id":7160},"onMouseDown":{"__isSmartRef__":true,"id":7164},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":7172},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":7176},"ABPmarkAsDone":{"__isSmartRef__":true,"id":7180},"ABPmarkAsActive":{"__isSmartRef__":true,"id":7184},"getStateMorph":{"__isSmartRef__":true,"id":7188},"showState":{"__isSmartRef__":true,"id":7192},"ABPfailHard":{"__isSmartRef__":true,"id":7196},"markFinalDrawWith":{"__isSmartRef__":true,"id":7200}},"7100":{"varMapping":{"__isSmartRef__":true,"id":7101},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":7102},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7101":{"this":{"__isSmartRef__":true,"id":7074}},"7102":{"timestamp":{"__isSmartRef__":true,"id":7103},"user":"sebastianwoinar","tags":[]},"7103":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"7104":{"varMapping":{"__isSmartRef__":true,"id":7105},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":7106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7105":{"this":{"__isSmartRef__":true,"id":7074}},"7106":{"timestamp":{"__isSmartRef__":true,"id":7107},"user":"sebastianwoinar","tags":[]},"7107":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7108":{"varMapping":{"__isSmartRef__":true,"id":7109},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":7110},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7109":{"this":{"__isSmartRef__":true,"id":7074}},"7110":{"timestamp":{"__isSmartRef__":true,"id":7111},"user":"sebastianwoinar","tags":[]},"7111":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7112":{"varMapping":{"__isSmartRef__":true,"id":7113},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7114},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7113":{"this":{"__isSmartRef__":true,"id":7074}},"7114":{"timestamp":{"__isSmartRef__":true,"id":7115},"user":"sebastianwoinar","tags":[]},"7115":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7116":{"varMapping":{"__isSmartRef__":true,"id":7117},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":7118},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7117":{"this":{"__isSmartRef__":true,"id":7074}},"7118":{"timestamp":{"__isSmartRef__":true,"id":7119},"user":"sebastianwoinar","tags":[]},"7119":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7120":{"varMapping":{"__isSmartRef__":true,"id":7121},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":7122},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7121":{"this":{"__isSmartRef__":true,"id":7074}},"7122":{"timestamp":{"__isSmartRef__":true,"id":7123},"user":"sebastianwoinar","tags":[]},"7123":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7124":{"varMapping":{"__isSmartRef__":true,"id":7125},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":7126},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7125":{"this":{"__isSmartRef__":true,"id":7074}},"7126":{"timestamp":{"__isSmartRef__":true,"id":7127},"user":"sebastianwoinar","tags":[]},"7127":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7128":{"varMapping":{"__isSmartRef__":true,"id":7129},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":7130},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7129":{"this":{"__isSmartRef__":true,"id":7074}},"7130":{"timestamp":{"__isSmartRef__":true,"id":7131},"user":"sebastianwoinar","tags":[]},"7131":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"7132":{"varMapping":{"__isSmartRef__":true,"id":7133},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7134},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7133":{"this":{"__isSmartRef__":true,"id":7074}},"7134":{"timestamp":{"__isSmartRef__":true,"id":7135},"user":"sebastianwoinar","tags":[]},"7135":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"7136":{"varMapping":{"__isSmartRef__":true,"id":7137},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":7138},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7137":{"this":{"__isSmartRef__":true,"id":7074}},"7138":{"timestamp":{"__isSmartRef__":true,"id":7139},"user":"sebastianwoinar","tags":[]},"7139":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"7140":{"varMapping":{"__isSmartRef__":true,"id":7141},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":7142},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7141":{"this":{"__isSmartRef__":true,"id":7074}},"7142":{"timestamp":{"__isSmartRef__":true,"id":7143},"user":"sebastianwoinar","tags":[]},"7143":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"7144":{"varMapping":{"__isSmartRef__":true,"id":7145},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":7146},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7145":{"this":{"__isSmartRef__":true,"id":7074}},"7146":{"timestamp":{"__isSmartRef__":true,"id":7147},"user":"sebastianwoinar","tags":[]},"7147":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"7148":{"varMapping":{"__isSmartRef__":true,"id":7149},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":7150},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7149":{"this":{"__isSmartRef__":true,"id":7074}},"7150":{"timestamp":{"__isSmartRef__":true,"id":7151},"user":"sebastianwoinar","tags":[]},"7151":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"7152":{"varMapping":{"__isSmartRef__":true,"id":7153},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":7154},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7153":{"this":{"__isSmartRef__":true,"id":7074}},"7154":{"timestamp":{"__isSmartRef__":true,"id":7155},"user":"sebastianwoinar","tags":[]},"7155":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"7156":{"varMapping":{"__isSmartRef__":true,"id":7157},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":7158},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7157":{"this":{"__isSmartRef__":true,"id":7074}},"7158":{"timestamp":{"__isSmartRef__":true,"id":7159},"user":"sebastianwoinar","tags":[]},"7159":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"7160":{"varMapping":{"__isSmartRef__":true,"id":7161},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":7162},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7161":{"this":{"__isSmartRef__":true,"id":7074}},"7162":{"timestamp":{"__isSmartRef__":true,"id":7163},"user":"sebastianwoinar","tags":[]},"7163":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"7164":{"varMapping":{"__isSmartRef__":true,"id":7165},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":7170},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7165":{"this":{"__isSmartRef__":true,"id":7074},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7166}},"7166":{"$super":{"__isSmartRef__":true,"id":7167}},"7167":{"varMapping":{"__isSmartRef__":true,"id":7168},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7169},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7168":{"obj":{"__isSmartRef__":true,"id":7074},"name":"onMouseDown"},"7169":{},"7170":{"timestamp":{"__isSmartRef__":true,"id":7171},"user":"sebastianwoinar","tags":[]},"7171":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"7172":{"varMapping":{"__isSmartRef__":true,"id":7173},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":7174},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7173":{"this":{"__isSmartRef__":true,"id":7074}},"7174":{"timestamp":{"__isSmartRef__":true,"id":7175},"user":"sebastianwoinar","tags":[]},"7175":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"7176":{"varMapping":{"__isSmartRef__":true,"id":7177},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":7178},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7177":{"this":{"__isSmartRef__":true,"id":7074}},"7178":{"timestamp":{"__isSmartRef__":true,"id":7179},"user":"sebastianwoinar","tags":[]},"7179":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"7180":{"varMapping":{"__isSmartRef__":true,"id":7181},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7181":{"this":{"__isSmartRef__":true,"id":7074}},"7182":{"timestamp":{"__isSmartRef__":true,"id":7183},"user":"sebastianwoinar","tags":[]},"7183":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"7184":{"varMapping":{"__isSmartRef__":true,"id":7185},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":7186},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7185":{"this":{"__isSmartRef__":true,"id":7074}},"7186":{"timestamp":{"__isSmartRef__":true,"id":7187},"user":"sebastianwoinar","tags":[]},"7187":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"7188":{"varMapping":{"__isSmartRef__":true,"id":7189},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":7190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7189":{"this":{"__isSmartRef__":true,"id":7074}},"7190":{"timestamp":{"__isSmartRef__":true,"id":7191},"user":"sebastianwoinar","tags":[]},"7191":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"7192":{"varMapping":{"__isSmartRef__":true,"id":7193},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7194},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7193":{"this":{"__isSmartRef__":true,"id":7074}},"7194":{"timestamp":{"__isSmartRef__":true,"id":7195},"user":"sebastianwoinar","tags":[]},"7195":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"7196":{"varMapping":{"__isSmartRef__":true,"id":7197},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":7198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7197":{"this":{"__isSmartRef__":true,"id":7074}},"7198":{"timestamp":{"__isSmartRef__":true,"id":7199},"user":"sebastianwoinar","tags":[]},"7199":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"7200":{"varMapping":{"__isSmartRef__":true,"id":7201},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7202},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7201":{"this":{"__isSmartRef__":true,"id":7074}},"7202":{"timestamp":{"__isSmartRef__":true,"id":7203},"user":"sebastianwoinar","tags":[]},"7203":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"7204":{"isActive":true,"alpha":-11,"beta":10000000000000,"i":4,"m":-11,"origAlpha":-10000000000000,"d":0},"7205":{"buildChildNodes":{"__isSmartRef__":true,"id":7206},"getGameTree":{"__isSmartRef__":true,"id":7210},"getLevel":{"__isSmartRef__":true,"id":7214},"getLevelWeight":{"__isSmartRef__":true,"id":7218},"getWeight":{"__isSmartRef__":true,"id":7222},"setNode":{"__isSmartRef__":true,"id":7226},"setParent":{"__isSmartRef__":true,"id":7230},"getParent":{"__isSmartRef__":true,"id":7234},"deactivate":{"__isSmartRef__":true,"id":7238},"blink":{"__isSmartRef__":true,"id":7242},"ABPreturn":{"__isSmartRef__":true,"id":7246},"ABPstart":{"__isSmartRef__":true,"id":7250},"ABPcontinue":{"__isSmartRef__":true,"id":7254},"ABPshowValue":{"__isSmartRef__":true,"id":7258},"ABPgetValue":{"__isSmartRef__":true,"id":7262},"ABPhasChildNodes":{"__isSmartRef__":true,"id":7266},"onMouseDown":{"__isSmartRef__":true,"id":7270},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":7278},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":7282},"ABPmarkAsDone":{"__isSmartRef__":true,"id":7286},"ABPmarkAsActive":{"__isSmartRef__":true,"id":7290},"getStateMorph":{"__isSmartRef__":true,"id":7294},"showState":{"__isSmartRef__":true,"id":7298},"ABPfailHard":{"__isSmartRef__":true,"id":7302},"markFinalDrawWith":{"__isSmartRef__":true,"id":7306}},"7206":{"varMapping":{"__isSmartRef__":true,"id":7207},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":7208},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7207":{"this":{"__isSmartRef__":true,"id":6660}},"7208":{"timestamp":{"__isSmartRef__":true,"id":7209},"user":"sebastianwoinar","tags":[]},"7209":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"7210":{"varMapping":{"__isSmartRef__":true,"id":7211},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":7212},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7211":{"this":{"__isSmartRef__":true,"id":6660}},"7212":{"timestamp":{"__isSmartRef__":true,"id":7213},"user":"sebastianwoinar","tags":[]},"7213":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7214":{"varMapping":{"__isSmartRef__":true,"id":7215},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":7216},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7215":{"this":{"__isSmartRef__":true,"id":6660}},"7216":{"timestamp":{"__isSmartRef__":true,"id":7217},"user":"sebastianwoinar","tags":[]},"7217":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7218":{"varMapping":{"__isSmartRef__":true,"id":7219},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7220},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7219":{"this":{"__isSmartRef__":true,"id":6660}},"7220":{"timestamp":{"__isSmartRef__":true,"id":7221},"user":"sebastianwoinar","tags":[]},"7221":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7222":{"varMapping":{"__isSmartRef__":true,"id":7223},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":7224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7223":{"this":{"__isSmartRef__":true,"id":6660}},"7224":{"timestamp":{"__isSmartRef__":true,"id":7225},"user":"sebastianwoinar","tags":[]},"7225":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7226":{"varMapping":{"__isSmartRef__":true,"id":7227},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":7228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7227":{"this":{"__isSmartRef__":true,"id":6660}},"7228":{"timestamp":{"__isSmartRef__":true,"id":7229},"user":"sebastianwoinar","tags":[]},"7229":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7230":{"varMapping":{"__isSmartRef__":true,"id":7231},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":7232},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7231":{"this":{"__isSmartRef__":true,"id":6660}},"7232":{"timestamp":{"__isSmartRef__":true,"id":7233},"user":"sebastianwoinar","tags":[]},"7233":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7234":{"varMapping":{"__isSmartRef__":true,"id":7235},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":7236},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7235":{"this":{"__isSmartRef__":true,"id":6660}},"7236":{"timestamp":{"__isSmartRef__":true,"id":7237},"user":"sebastianwoinar","tags":[]},"7237":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"7238":{"varMapping":{"__isSmartRef__":true,"id":7239},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7240},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7239":{"this":{"__isSmartRef__":true,"id":6660}},"7240":{"timestamp":{"__isSmartRef__":true,"id":7241},"user":"sebastianwoinar","tags":[]},"7241":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"7242":{"varMapping":{"__isSmartRef__":true,"id":7243},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":7244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7243":{"this":{"__isSmartRef__":true,"id":6660}},"7244":{"timestamp":{"__isSmartRef__":true,"id":7245},"user":"sebastianwoinar","tags":[]},"7245":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"7246":{"varMapping":{"__isSmartRef__":true,"id":7247},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":7248},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7247":{"this":{"__isSmartRef__":true,"id":6660}},"7248":{"timestamp":{"__isSmartRef__":true,"id":7249},"user":"sebastianwoinar","tags":[]},"7249":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"7250":{"varMapping":{"__isSmartRef__":true,"id":7251},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":7252},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7251":{"this":{"__isSmartRef__":true,"id":6660}},"7252":{"timestamp":{"__isSmartRef__":true,"id":7253},"user":"sebastianwoinar","tags":[]},"7253":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"7254":{"varMapping":{"__isSmartRef__":true,"id":7255},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":7256},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7255":{"this":{"__isSmartRef__":true,"id":6660}},"7256":{"timestamp":{"__isSmartRef__":true,"id":7257},"user":"sebastianwoinar","tags":[]},"7257":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"7258":{"varMapping":{"__isSmartRef__":true,"id":7259},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":7260},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7259":{"this":{"__isSmartRef__":true,"id":6660}},"7260":{"timestamp":{"__isSmartRef__":true,"id":7261},"user":"sebastianwoinar","tags":[]},"7261":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"7262":{"varMapping":{"__isSmartRef__":true,"id":7263},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":7264},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7263":{"this":{"__isSmartRef__":true,"id":6660}},"7264":{"timestamp":{"__isSmartRef__":true,"id":7265},"user":"sebastianwoinar","tags":[]},"7265":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"7266":{"varMapping":{"__isSmartRef__":true,"id":7267},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":7268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7267":{"this":{"__isSmartRef__":true,"id":6660}},"7268":{"timestamp":{"__isSmartRef__":true,"id":7269},"user":"sebastianwoinar","tags":[]},"7269":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"7270":{"varMapping":{"__isSmartRef__":true,"id":7271},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":7276},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7271":{"this":{"__isSmartRef__":true,"id":6660},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7272}},"7272":{"$super":{"__isSmartRef__":true,"id":7273}},"7273":{"varMapping":{"__isSmartRef__":true,"id":7274},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7275},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7274":{"obj":{"__isSmartRef__":true,"id":6660},"name":"onMouseDown"},"7275":{},"7276":{"timestamp":{"__isSmartRef__":true,"id":7277},"user":"sebastianwoinar","tags":[]},"7277":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"7278":{"varMapping":{"__isSmartRef__":true,"id":7279},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":7280},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7279":{"this":{"__isSmartRef__":true,"id":6660}},"7280":{"timestamp":{"__isSmartRef__":true,"id":7281},"user":"sebastianwoinar","tags":[]},"7281":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"7282":{"varMapping":{"__isSmartRef__":true,"id":7283},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":7284},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7283":{"this":{"__isSmartRef__":true,"id":6660}},"7284":{"timestamp":{"__isSmartRef__":true,"id":7285},"user":"sebastianwoinar","tags":[]},"7285":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"7286":{"varMapping":{"__isSmartRef__":true,"id":7287},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7288},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7287":{"this":{"__isSmartRef__":true,"id":6660}},"7288":{"timestamp":{"__isSmartRef__":true,"id":7289},"user":"sebastianwoinar","tags":[]},"7289":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"7290":{"varMapping":{"__isSmartRef__":true,"id":7291},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":7292},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7291":{"this":{"__isSmartRef__":true,"id":6660}},"7292":{"timestamp":{"__isSmartRef__":true,"id":7293},"user":"sebastianwoinar","tags":[]},"7293":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"7294":{"varMapping":{"__isSmartRef__":true,"id":7295},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":7296},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7295":{"this":{"__isSmartRef__":true,"id":6660}},"7296":{"timestamp":{"__isSmartRef__":true,"id":7297},"user":"sebastianwoinar","tags":[]},"7297":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"7298":{"varMapping":{"__isSmartRef__":true,"id":7299},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7300},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7299":{"this":{"__isSmartRef__":true,"id":6660}},"7300":{"timestamp":{"__isSmartRef__":true,"id":7301},"user":"sebastianwoinar","tags":[]},"7301":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"7302":{"varMapping":{"__isSmartRef__":true,"id":7303},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":7304},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7303":{"this":{"__isSmartRef__":true,"id":6660}},"7304":{"timestamp":{"__isSmartRef__":true,"id":7305},"user":"sebastianwoinar","tags":[]},"7305":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"7306":{"varMapping":{"__isSmartRef__":true,"id":7307},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7308},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7307":{"this":{"__isSmartRef__":true,"id":6660}},"7308":{"timestamp":{"__isSmartRef__":true,"id":7309},"user":"sebastianwoinar","tags":[]},"7309":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"7310":{"submorphs":[{"__isSmartRef__":true,"id":7311}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7328},"id":"ECA5D2C5-AE05-459D-A122-0CE3245929BD","eventHandler":{"__isSmartRef__":true,"id":7329},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":7330},"name":"node9","partsBinMetaInfo":{"__isSmartRef__":true,"id":7331},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6572},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":7334},{"__isSmartRef__":true,"id":7464},{"__isSmartRef__":true,"id":7594},{"__isSmartRef__":true,"id":7724}],"parent":{"__isSmartRef__":true,"id":6636},"level":2,"abp":{"__isSmartRef__":true,"id":7854},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7855},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(312.4,160.0)"},"7311":{"submorphs":[],"scripts":[],"id":"5F93EDE2-83FE-4ECD-A966-F0569FA4FF50","shape":{"__isSmartRef__":true,"id":7312},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":7313},"textChunks":[{"__isSmartRef__":true,"id":7325}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":7327},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":7310},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)","_TextColor":"Color.rgb(204,0,0)"},"7312":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"7313":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":7314},{"__isSmartRef__":true,"id":7316},{"__isSmartRef__":true,"id":7318},{"__isSmartRef__":true,"id":7320},{"__isSmartRef__":true,"id":7322}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":7324},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7314":{"date":{"__isSmartRef__":true,"id":7315},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"7315":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"7316":{"date":{"__isSmartRef__":true,"id":7317},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"7317":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"7318":{"date":{"__isSmartRef__":true,"id":7319},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"7319":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"7320":{"date":{"__isSmartRef__":true,"id":7321},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"7321":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"7322":{"date":{"__isSmartRef__":true,"id":7323},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"7323":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"7324":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"7325":{"style":{"__isSmartRef__":true,"id":7326},"chunkOwner":{"__isSmartRef__":true,"id":7311},"_id":"_1512","storedString":"-11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7326":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7327":{"morph":{"__isSmartRef__":true,"id":7311},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7328":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"7329":{"morph":{"__isSmartRef__":true,"id":7310},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7330":{},"7331":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":7332}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7332":{"date":{"__isSmartRef__":true,"id":7333},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"7333":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"7334":{"submorphs":[{"__isSmartRef__":true,"id":7335}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7352},"id":"1325F0AC-2D0B-4D9E-A578-4808A188A1B5","eventHandler":{"__isSmartRef__":true,"id":7353},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":7354},"name":"node10","partsBinMetaInfo":{"__isSmartRef__":true,"id":7355},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6574},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":7310},"level":3,"abp":{"__isSmartRef__":true,"id":7358},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7359},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(239.6,210.0)"},"7335":{"submorphs":[],"scripts":[],"id":"00650383-E052-4729-BF02-EA8ED11049ED","shape":{"__isSmartRef__":true,"id":7336},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":7337},"textChunks":[{"__isSmartRef__":true,"id":7349}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":7351},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":7334},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"7336":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"7337":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":7338},{"__isSmartRef__":true,"id":7340},{"__isSmartRef__":true,"id":7342},{"__isSmartRef__":true,"id":7344},{"__isSmartRef__":true,"id":7346}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":7348},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7338":{"date":{"__isSmartRef__":true,"id":7339},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"7339":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"7340":{"date":{"__isSmartRef__":true,"id":7341},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"7341":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"7342":{"date":{"__isSmartRef__":true,"id":7343},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"7343":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"7344":{"date":{"__isSmartRef__":true,"id":7345},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"7345":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"7346":{"date":{"__isSmartRef__":true,"id":7347},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"7347":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"7348":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"7349":{"style":{"__isSmartRef__":true,"id":7350},"chunkOwner":{"__isSmartRef__":true,"id":7335},"_id":"_1479","storedString":"13","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7350":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7351":{"morph":{"__isSmartRef__":true,"id":7335},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7352":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"7353":{"morph":{"__isSmartRef__":true,"id":7334},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7354":{},"7355":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":7356}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7356":{"date":{"__isSmartRef__":true,"id":7357},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"7357":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"7358":{"isActive":true,"alpha":13,"beta":10000000000000,"i":0,"m":13,"origAlpha":11,"d":0},"7359":{"buildChildNodes":{"__isSmartRef__":true,"id":7360},"getGameTree":{"__isSmartRef__":true,"id":7364},"getLevel":{"__isSmartRef__":true,"id":7368},"getLevelWeight":{"__isSmartRef__":true,"id":7372},"getWeight":{"__isSmartRef__":true,"id":7376},"setNode":{"__isSmartRef__":true,"id":7380},"setParent":{"__isSmartRef__":true,"id":7384},"getParent":{"__isSmartRef__":true,"id":7388},"deactivate":{"__isSmartRef__":true,"id":7392},"blink":{"__isSmartRef__":true,"id":7396},"ABPreturn":{"__isSmartRef__":true,"id":7400},"ABPstart":{"__isSmartRef__":true,"id":7404},"ABPcontinue":{"__isSmartRef__":true,"id":7408},"ABPshowValue":{"__isSmartRef__":true,"id":7412},"ABPgetValue":{"__isSmartRef__":true,"id":7416},"ABPhasChildNodes":{"__isSmartRef__":true,"id":7420},"onMouseDown":{"__isSmartRef__":true,"id":7424},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":7432},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":7436},"ABPmarkAsDone":{"__isSmartRef__":true,"id":7440},"ABPmarkAsActive":{"__isSmartRef__":true,"id":7444},"getStateMorph":{"__isSmartRef__":true,"id":7448},"showState":{"__isSmartRef__":true,"id":7452},"ABPfailHard":{"__isSmartRef__":true,"id":7456},"markFinalDrawWith":{"__isSmartRef__":true,"id":7460}},"7360":{"varMapping":{"__isSmartRef__":true,"id":7361},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":7362},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7361":{"this":{"__isSmartRef__":true,"id":7334}},"7362":{"timestamp":{"__isSmartRef__":true,"id":7363},"user":"sebastianwoinar","tags":[]},"7363":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"7364":{"varMapping":{"__isSmartRef__":true,"id":7365},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":7366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7365":{"this":{"__isSmartRef__":true,"id":7334}},"7366":{"timestamp":{"__isSmartRef__":true,"id":7367},"user":"sebastianwoinar","tags":[]},"7367":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7368":{"varMapping":{"__isSmartRef__":true,"id":7369},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":7370},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7369":{"this":{"__isSmartRef__":true,"id":7334}},"7370":{"timestamp":{"__isSmartRef__":true,"id":7371},"user":"sebastianwoinar","tags":[]},"7371":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7372":{"varMapping":{"__isSmartRef__":true,"id":7373},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7374},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7373":{"this":{"__isSmartRef__":true,"id":7334}},"7374":{"timestamp":{"__isSmartRef__":true,"id":7375},"user":"sebastianwoinar","tags":[]},"7375":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7376":{"varMapping":{"__isSmartRef__":true,"id":7377},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":7378},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7377":{"this":{"__isSmartRef__":true,"id":7334}},"7378":{"timestamp":{"__isSmartRef__":true,"id":7379},"user":"sebastianwoinar","tags":[]},"7379":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7380":{"varMapping":{"__isSmartRef__":true,"id":7381},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":7382},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7381":{"this":{"__isSmartRef__":true,"id":7334}},"7382":{"timestamp":{"__isSmartRef__":true,"id":7383},"user":"sebastianwoinar","tags":[]},"7383":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7384":{"varMapping":{"__isSmartRef__":true,"id":7385},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":7386},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7385":{"this":{"__isSmartRef__":true,"id":7334}},"7386":{"timestamp":{"__isSmartRef__":true,"id":7387},"user":"sebastianwoinar","tags":[]},"7387":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7388":{"varMapping":{"__isSmartRef__":true,"id":7389},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":7390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7389":{"this":{"__isSmartRef__":true,"id":7334}},"7390":{"timestamp":{"__isSmartRef__":true,"id":7391},"user":"sebastianwoinar","tags":[]},"7391":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"7392":{"varMapping":{"__isSmartRef__":true,"id":7393},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7394},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7393":{"this":{"__isSmartRef__":true,"id":7334}},"7394":{"timestamp":{"__isSmartRef__":true,"id":7395},"user":"sebastianwoinar","tags":[]},"7395":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"7396":{"varMapping":{"__isSmartRef__":true,"id":7397},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":7398},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7397":{"this":{"__isSmartRef__":true,"id":7334}},"7398":{"timestamp":{"__isSmartRef__":true,"id":7399},"user":"sebastianwoinar","tags":[]},"7399":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"7400":{"varMapping":{"__isSmartRef__":true,"id":7401},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":7402},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7401":{"this":{"__isSmartRef__":true,"id":7334}},"7402":{"timestamp":{"__isSmartRef__":true,"id":7403},"user":"sebastianwoinar","tags":[]},"7403":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"7404":{"varMapping":{"__isSmartRef__":true,"id":7405},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":7406},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7405":{"this":{"__isSmartRef__":true,"id":7334}},"7406":{"timestamp":{"__isSmartRef__":true,"id":7407},"user":"sebastianwoinar","tags":[]},"7407":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"7408":{"varMapping":{"__isSmartRef__":true,"id":7409},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":7410},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7409":{"this":{"__isSmartRef__":true,"id":7334}},"7410":{"timestamp":{"__isSmartRef__":true,"id":7411},"user":"sebastianwoinar","tags":[]},"7411":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"7412":{"varMapping":{"__isSmartRef__":true,"id":7413},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":7414},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7413":{"this":{"__isSmartRef__":true,"id":7334}},"7414":{"timestamp":{"__isSmartRef__":true,"id":7415},"user":"sebastianwoinar","tags":[]},"7415":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"7416":{"varMapping":{"__isSmartRef__":true,"id":7417},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":7418},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7417":{"this":{"__isSmartRef__":true,"id":7334}},"7418":{"timestamp":{"__isSmartRef__":true,"id":7419},"user":"sebastianwoinar","tags":[]},"7419":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"7420":{"varMapping":{"__isSmartRef__":true,"id":7421},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":7422},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7421":{"this":{"__isSmartRef__":true,"id":7334}},"7422":{"timestamp":{"__isSmartRef__":true,"id":7423},"user":"sebastianwoinar","tags":[]},"7423":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"7424":{"varMapping":{"__isSmartRef__":true,"id":7425},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":7430},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7425":{"this":{"__isSmartRef__":true,"id":7334},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7426}},"7426":{"$super":{"__isSmartRef__":true,"id":7427}},"7427":{"varMapping":{"__isSmartRef__":true,"id":7428},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7429},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7428":{"obj":{"__isSmartRef__":true,"id":7334},"name":"onMouseDown"},"7429":{},"7430":{"timestamp":{"__isSmartRef__":true,"id":7431},"user":"sebastianwoinar","tags":[]},"7431":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"7432":{"varMapping":{"__isSmartRef__":true,"id":7433},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":7434},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7433":{"this":{"__isSmartRef__":true,"id":7334}},"7434":{"timestamp":{"__isSmartRef__":true,"id":7435},"user":"sebastianwoinar","tags":[]},"7435":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"7436":{"varMapping":{"__isSmartRef__":true,"id":7437},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":7438},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7437":{"this":{"__isSmartRef__":true,"id":7334}},"7438":{"timestamp":{"__isSmartRef__":true,"id":7439},"user":"sebastianwoinar","tags":[]},"7439":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"7440":{"varMapping":{"__isSmartRef__":true,"id":7441},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7441":{"this":{"__isSmartRef__":true,"id":7334}},"7442":{"timestamp":{"__isSmartRef__":true,"id":7443},"user":"sebastianwoinar","tags":[]},"7443":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"7444":{"varMapping":{"__isSmartRef__":true,"id":7445},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":7446},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7445":{"this":{"__isSmartRef__":true,"id":7334}},"7446":{"timestamp":{"__isSmartRef__":true,"id":7447},"user":"sebastianwoinar","tags":[]},"7447":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"7448":{"varMapping":{"__isSmartRef__":true,"id":7449},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":7450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7449":{"this":{"__isSmartRef__":true,"id":7334}},"7450":{"timestamp":{"__isSmartRef__":true,"id":7451},"user":"sebastianwoinar","tags":[]},"7451":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"7452":{"varMapping":{"__isSmartRef__":true,"id":7453},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7454},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7453":{"this":{"__isSmartRef__":true,"id":7334}},"7454":{"timestamp":{"__isSmartRef__":true,"id":7455},"user":"sebastianwoinar","tags":[]},"7455":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"7456":{"varMapping":{"__isSmartRef__":true,"id":7457},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":7458},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7457":{"this":{"__isSmartRef__":true,"id":7334}},"7458":{"timestamp":{"__isSmartRef__":true,"id":7459},"user":"sebastianwoinar","tags":[]},"7459":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"7460":{"varMapping":{"__isSmartRef__":true,"id":7461},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7462},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7461":{"this":{"__isSmartRef__":true,"id":7334}},"7462":{"timestamp":{"__isSmartRef__":true,"id":7463},"user":"sebastianwoinar","tags":[]},"7463":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"7464":{"submorphs":[{"__isSmartRef__":true,"id":7465}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7482},"id":"89DE9378-427E-42D0-8A48-761091B4B422","eventHandler":{"__isSmartRef__":true,"id":7483},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":7484},"name":"node11","partsBinMetaInfo":{"__isSmartRef__":true,"id":7485},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6576},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":7310},"level":3,"abp":{"__isSmartRef__":true,"id":7488},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7489},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(281.2,210.0)"},"7465":{"submorphs":[],"scripts":[],"id":"9D952B48-42FA-4D87-9141-0D9A811130A6","shape":{"__isSmartRef__":true,"id":7466},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":7467},"textChunks":[{"__isSmartRef__":true,"id":7479}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":7481},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":7464},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"7466":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"7467":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":7468},{"__isSmartRef__":true,"id":7470},{"__isSmartRef__":true,"id":7472},{"__isSmartRef__":true,"id":7474},{"__isSmartRef__":true,"id":7476}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":7478},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7468":{"date":{"__isSmartRef__":true,"id":7469},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"7469":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"7470":{"date":{"__isSmartRef__":true,"id":7471},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"7471":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"7472":{"date":{"__isSmartRef__":true,"id":7473},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"7473":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"7474":{"date":{"__isSmartRef__":true,"id":7475},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"7475":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"7476":{"date":{"__isSmartRef__":true,"id":7477},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"7477":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"7478":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"7479":{"style":{"__isSmartRef__":true,"id":7480},"chunkOwner":{"__isSmartRef__":true,"id":7465},"_id":"_1488","storedString":"15","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7480":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7481":{"morph":{"__isSmartRef__":true,"id":7465},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7482":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"7483":{"morph":{"__isSmartRef__":true,"id":7464},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7484":{},"7485":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":7486}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7486":{"date":{"__isSmartRef__":true,"id":7487},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"7487":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"7488":{"isActive":true,"alpha":15,"beta":13,"i":0,"m":15,"origAlpha":11,"d":0},"7489":{"buildChildNodes":{"__isSmartRef__":true,"id":7490},"getGameTree":{"__isSmartRef__":true,"id":7494},"getLevel":{"__isSmartRef__":true,"id":7498},"getLevelWeight":{"__isSmartRef__":true,"id":7502},"getWeight":{"__isSmartRef__":true,"id":7506},"setNode":{"__isSmartRef__":true,"id":7510},"setParent":{"__isSmartRef__":true,"id":7514},"getParent":{"__isSmartRef__":true,"id":7518},"deactivate":{"__isSmartRef__":true,"id":7522},"blink":{"__isSmartRef__":true,"id":7526},"ABPreturn":{"__isSmartRef__":true,"id":7530},"ABPstart":{"__isSmartRef__":true,"id":7534},"ABPcontinue":{"__isSmartRef__":true,"id":7538},"ABPshowValue":{"__isSmartRef__":true,"id":7542},"ABPgetValue":{"__isSmartRef__":true,"id":7546},"ABPhasChildNodes":{"__isSmartRef__":true,"id":7550},"onMouseDown":{"__isSmartRef__":true,"id":7554},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":7562},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":7566},"ABPmarkAsDone":{"__isSmartRef__":true,"id":7570},"ABPmarkAsActive":{"__isSmartRef__":true,"id":7574},"getStateMorph":{"__isSmartRef__":true,"id":7578},"showState":{"__isSmartRef__":true,"id":7582},"ABPfailHard":{"__isSmartRef__":true,"id":7586},"markFinalDrawWith":{"__isSmartRef__":true,"id":7590}},"7490":{"varMapping":{"__isSmartRef__":true,"id":7491},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":7492},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7491":{"this":{"__isSmartRef__":true,"id":7464}},"7492":{"timestamp":{"__isSmartRef__":true,"id":7493},"user":"sebastianwoinar","tags":[]},"7493":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"7494":{"varMapping":{"__isSmartRef__":true,"id":7495},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":7496},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7495":{"this":{"__isSmartRef__":true,"id":7464}},"7496":{"timestamp":{"__isSmartRef__":true,"id":7497},"user":"sebastianwoinar","tags":[]},"7497":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7498":{"varMapping":{"__isSmartRef__":true,"id":7499},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":7500},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7499":{"this":{"__isSmartRef__":true,"id":7464}},"7500":{"timestamp":{"__isSmartRef__":true,"id":7501},"user":"sebastianwoinar","tags":[]},"7501":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7502":{"varMapping":{"__isSmartRef__":true,"id":7503},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7504},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7503":{"this":{"__isSmartRef__":true,"id":7464}},"7504":{"timestamp":{"__isSmartRef__":true,"id":7505},"user":"sebastianwoinar","tags":[]},"7505":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7506":{"varMapping":{"__isSmartRef__":true,"id":7507},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":7508},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7507":{"this":{"__isSmartRef__":true,"id":7464}},"7508":{"timestamp":{"__isSmartRef__":true,"id":7509},"user":"sebastianwoinar","tags":[]},"7509":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7510":{"varMapping":{"__isSmartRef__":true,"id":7511},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":7512},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7511":{"this":{"__isSmartRef__":true,"id":7464}},"7512":{"timestamp":{"__isSmartRef__":true,"id":7513},"user":"sebastianwoinar","tags":[]},"7513":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7514":{"varMapping":{"__isSmartRef__":true,"id":7515},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":7516},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7515":{"this":{"__isSmartRef__":true,"id":7464}},"7516":{"timestamp":{"__isSmartRef__":true,"id":7517},"user":"sebastianwoinar","tags":[]},"7517":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7518":{"varMapping":{"__isSmartRef__":true,"id":7519},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":7520},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7519":{"this":{"__isSmartRef__":true,"id":7464}},"7520":{"timestamp":{"__isSmartRef__":true,"id":7521},"user":"sebastianwoinar","tags":[]},"7521":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"7522":{"varMapping":{"__isSmartRef__":true,"id":7523},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7524},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7523":{"this":{"__isSmartRef__":true,"id":7464}},"7524":{"timestamp":{"__isSmartRef__":true,"id":7525},"user":"sebastianwoinar","tags":[]},"7525":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"7526":{"varMapping":{"__isSmartRef__":true,"id":7527},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":7528},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7527":{"this":{"__isSmartRef__":true,"id":7464}},"7528":{"timestamp":{"__isSmartRef__":true,"id":7529},"user":"sebastianwoinar","tags":[]},"7529":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"7530":{"varMapping":{"__isSmartRef__":true,"id":7531},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":7532},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7531":{"this":{"__isSmartRef__":true,"id":7464}},"7532":{"timestamp":{"__isSmartRef__":true,"id":7533},"user":"sebastianwoinar","tags":[]},"7533":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"7534":{"varMapping":{"__isSmartRef__":true,"id":7535},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":7536},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7535":{"this":{"__isSmartRef__":true,"id":7464}},"7536":{"timestamp":{"__isSmartRef__":true,"id":7537},"user":"sebastianwoinar","tags":[]},"7537":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"7538":{"varMapping":{"__isSmartRef__":true,"id":7539},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":7540},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7539":{"this":{"__isSmartRef__":true,"id":7464}},"7540":{"timestamp":{"__isSmartRef__":true,"id":7541},"user":"sebastianwoinar","tags":[]},"7541":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"7542":{"varMapping":{"__isSmartRef__":true,"id":7543},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":7544},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7543":{"this":{"__isSmartRef__":true,"id":7464}},"7544":{"timestamp":{"__isSmartRef__":true,"id":7545},"user":"sebastianwoinar","tags":[]},"7545":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"7546":{"varMapping":{"__isSmartRef__":true,"id":7547},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":7548},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7547":{"this":{"__isSmartRef__":true,"id":7464}},"7548":{"timestamp":{"__isSmartRef__":true,"id":7549},"user":"sebastianwoinar","tags":[]},"7549":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"7550":{"varMapping":{"__isSmartRef__":true,"id":7551},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":7552},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7551":{"this":{"__isSmartRef__":true,"id":7464}},"7552":{"timestamp":{"__isSmartRef__":true,"id":7553},"user":"sebastianwoinar","tags":[]},"7553":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"7554":{"varMapping":{"__isSmartRef__":true,"id":7555},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":7560},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7555":{"this":{"__isSmartRef__":true,"id":7464},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7556}},"7556":{"$super":{"__isSmartRef__":true,"id":7557}},"7557":{"varMapping":{"__isSmartRef__":true,"id":7558},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7559},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7558":{"obj":{"__isSmartRef__":true,"id":7464},"name":"onMouseDown"},"7559":{},"7560":{"timestamp":{"__isSmartRef__":true,"id":7561},"user":"sebastianwoinar","tags":[]},"7561":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"7562":{"varMapping":{"__isSmartRef__":true,"id":7563},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":7564},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7563":{"this":{"__isSmartRef__":true,"id":7464}},"7564":{"timestamp":{"__isSmartRef__":true,"id":7565},"user":"sebastianwoinar","tags":[]},"7565":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"7566":{"varMapping":{"__isSmartRef__":true,"id":7567},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":7568},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7567":{"this":{"__isSmartRef__":true,"id":7464}},"7568":{"timestamp":{"__isSmartRef__":true,"id":7569},"user":"sebastianwoinar","tags":[]},"7569":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"7570":{"varMapping":{"__isSmartRef__":true,"id":7571},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7572},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7571":{"this":{"__isSmartRef__":true,"id":7464}},"7572":{"timestamp":{"__isSmartRef__":true,"id":7573},"user":"sebastianwoinar","tags":[]},"7573":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"7574":{"varMapping":{"__isSmartRef__":true,"id":7575},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":7576},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7575":{"this":{"__isSmartRef__":true,"id":7464}},"7576":{"timestamp":{"__isSmartRef__":true,"id":7577},"user":"sebastianwoinar","tags":[]},"7577":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"7578":{"varMapping":{"__isSmartRef__":true,"id":7579},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":7580},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7579":{"this":{"__isSmartRef__":true,"id":7464}},"7580":{"timestamp":{"__isSmartRef__":true,"id":7581},"user":"sebastianwoinar","tags":[]},"7581":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"7582":{"varMapping":{"__isSmartRef__":true,"id":7583},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7584},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7583":{"this":{"__isSmartRef__":true,"id":7464}},"7584":{"timestamp":{"__isSmartRef__":true,"id":7585},"user":"sebastianwoinar","tags":[]},"7585":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"7586":{"varMapping":{"__isSmartRef__":true,"id":7587},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":7588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7587":{"this":{"__isSmartRef__":true,"id":7464}},"7588":{"timestamp":{"__isSmartRef__":true,"id":7589},"user":"sebastianwoinar","tags":[]},"7589":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"7590":{"varMapping":{"__isSmartRef__":true,"id":7591},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7592},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7591":{"this":{"__isSmartRef__":true,"id":7464}},"7592":{"timestamp":{"__isSmartRef__":true,"id":7593},"user":"sebastianwoinar","tags":[]},"7593":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"7594":{"submorphs":[{"__isSmartRef__":true,"id":7595}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7612},"id":"9BDC24A0-2FE9-4D84-BAC5-6629C7747DC6","eventHandler":{"__isSmartRef__":true,"id":7613},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":7614},"name":"node12","partsBinMetaInfo":{"__isSmartRef__":true,"id":7615},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6578},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":7310},"level":3,"abp":{"__isSmartRef__":true,"id":7618},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7619},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(322.8,210.0)"},"7595":{"submorphs":[],"scripts":[],"id":"E905C8BE-665E-4A87-B867-F50AE8C5958B","shape":{"__isSmartRef__":true,"id":7596},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":7597},"textChunks":[{"__isSmartRef__":true,"id":7609}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":7611},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":7594},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"7596":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"7597":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":7598},{"__isSmartRef__":true,"id":7600},{"__isSmartRef__":true,"id":7602},{"__isSmartRef__":true,"id":7604},{"__isSmartRef__":true,"id":7606}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":7608},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7598":{"date":{"__isSmartRef__":true,"id":7599},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"7599":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"7600":{"date":{"__isSmartRef__":true,"id":7601},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"7601":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"7602":{"date":{"__isSmartRef__":true,"id":7603},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"7603":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"7604":{"date":{"__isSmartRef__":true,"id":7605},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"7605":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"7606":{"date":{"__isSmartRef__":true,"id":7607},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"7607":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"7608":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"7609":{"style":{"__isSmartRef__":true,"id":7610},"chunkOwner":{"__isSmartRef__":true,"id":7595},"_id":"_1499","storedString":"19","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7610":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7611":{"morph":{"__isSmartRef__":true,"id":7595},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7612":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"7613":{"morph":{"__isSmartRef__":true,"id":7594},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7614":{},"7615":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":7616}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7616":{"date":{"__isSmartRef__":true,"id":7617},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"7617":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"7618":{"isActive":true,"alpha":19,"beta":13,"i":0,"m":19,"origAlpha":11,"d":0},"7619":{"buildChildNodes":{"__isSmartRef__":true,"id":7620},"getGameTree":{"__isSmartRef__":true,"id":7624},"getLevel":{"__isSmartRef__":true,"id":7628},"getLevelWeight":{"__isSmartRef__":true,"id":7632},"getWeight":{"__isSmartRef__":true,"id":7636},"setNode":{"__isSmartRef__":true,"id":7640},"setParent":{"__isSmartRef__":true,"id":7644},"getParent":{"__isSmartRef__":true,"id":7648},"deactivate":{"__isSmartRef__":true,"id":7652},"blink":{"__isSmartRef__":true,"id":7656},"ABPreturn":{"__isSmartRef__":true,"id":7660},"ABPstart":{"__isSmartRef__":true,"id":7664},"ABPcontinue":{"__isSmartRef__":true,"id":7668},"ABPshowValue":{"__isSmartRef__":true,"id":7672},"ABPgetValue":{"__isSmartRef__":true,"id":7676},"ABPhasChildNodes":{"__isSmartRef__":true,"id":7680},"onMouseDown":{"__isSmartRef__":true,"id":7684},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":7692},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":7696},"ABPmarkAsDone":{"__isSmartRef__":true,"id":7700},"ABPmarkAsActive":{"__isSmartRef__":true,"id":7704},"getStateMorph":{"__isSmartRef__":true,"id":7708},"showState":{"__isSmartRef__":true,"id":7712},"ABPfailHard":{"__isSmartRef__":true,"id":7716},"markFinalDrawWith":{"__isSmartRef__":true,"id":7720}},"7620":{"varMapping":{"__isSmartRef__":true,"id":7621},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":7622},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7621":{"this":{"__isSmartRef__":true,"id":7594}},"7622":{"timestamp":{"__isSmartRef__":true,"id":7623},"user":"sebastianwoinar","tags":[]},"7623":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"7624":{"varMapping":{"__isSmartRef__":true,"id":7625},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":7626},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7625":{"this":{"__isSmartRef__":true,"id":7594}},"7626":{"timestamp":{"__isSmartRef__":true,"id":7627},"user":"sebastianwoinar","tags":[]},"7627":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7628":{"varMapping":{"__isSmartRef__":true,"id":7629},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":7630},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7629":{"this":{"__isSmartRef__":true,"id":7594}},"7630":{"timestamp":{"__isSmartRef__":true,"id":7631},"user":"sebastianwoinar","tags":[]},"7631":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7632":{"varMapping":{"__isSmartRef__":true,"id":7633},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7634},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7633":{"this":{"__isSmartRef__":true,"id":7594}},"7634":{"timestamp":{"__isSmartRef__":true,"id":7635},"user":"sebastianwoinar","tags":[]},"7635":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7636":{"varMapping":{"__isSmartRef__":true,"id":7637},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":7638},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7637":{"this":{"__isSmartRef__":true,"id":7594}},"7638":{"timestamp":{"__isSmartRef__":true,"id":7639},"user":"sebastianwoinar","tags":[]},"7639":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7640":{"varMapping":{"__isSmartRef__":true,"id":7641},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":7642},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7641":{"this":{"__isSmartRef__":true,"id":7594}},"7642":{"timestamp":{"__isSmartRef__":true,"id":7643},"user":"sebastianwoinar","tags":[]},"7643":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7644":{"varMapping":{"__isSmartRef__":true,"id":7645},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":7646},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7645":{"this":{"__isSmartRef__":true,"id":7594}},"7646":{"timestamp":{"__isSmartRef__":true,"id":7647},"user":"sebastianwoinar","tags":[]},"7647":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7648":{"varMapping":{"__isSmartRef__":true,"id":7649},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":7650},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7649":{"this":{"__isSmartRef__":true,"id":7594}},"7650":{"timestamp":{"__isSmartRef__":true,"id":7651},"user":"sebastianwoinar","tags":[]},"7651":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"7652":{"varMapping":{"__isSmartRef__":true,"id":7653},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7654},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7653":{"this":{"__isSmartRef__":true,"id":7594}},"7654":{"timestamp":{"__isSmartRef__":true,"id":7655},"user":"sebastianwoinar","tags":[]},"7655":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"7656":{"varMapping":{"__isSmartRef__":true,"id":7657},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":7658},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7657":{"this":{"__isSmartRef__":true,"id":7594}},"7658":{"timestamp":{"__isSmartRef__":true,"id":7659},"user":"sebastianwoinar","tags":[]},"7659":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"7660":{"varMapping":{"__isSmartRef__":true,"id":7661},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":7662},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7661":{"this":{"__isSmartRef__":true,"id":7594}},"7662":{"timestamp":{"__isSmartRef__":true,"id":7663},"user":"sebastianwoinar","tags":[]},"7663":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"7664":{"varMapping":{"__isSmartRef__":true,"id":7665},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":7666},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7665":{"this":{"__isSmartRef__":true,"id":7594}},"7666":{"timestamp":{"__isSmartRef__":true,"id":7667},"user":"sebastianwoinar","tags":[]},"7667":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"7668":{"varMapping":{"__isSmartRef__":true,"id":7669},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":7670},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7669":{"this":{"__isSmartRef__":true,"id":7594}},"7670":{"timestamp":{"__isSmartRef__":true,"id":7671},"user":"sebastianwoinar","tags":[]},"7671":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"7672":{"varMapping":{"__isSmartRef__":true,"id":7673},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":7674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7673":{"this":{"__isSmartRef__":true,"id":7594}},"7674":{"timestamp":{"__isSmartRef__":true,"id":7675},"user":"sebastianwoinar","tags":[]},"7675":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"7676":{"varMapping":{"__isSmartRef__":true,"id":7677},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":7678},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7677":{"this":{"__isSmartRef__":true,"id":7594}},"7678":{"timestamp":{"__isSmartRef__":true,"id":7679},"user":"sebastianwoinar","tags":[]},"7679":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"7680":{"varMapping":{"__isSmartRef__":true,"id":7681},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":7682},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7681":{"this":{"__isSmartRef__":true,"id":7594}},"7682":{"timestamp":{"__isSmartRef__":true,"id":7683},"user":"sebastianwoinar","tags":[]},"7683":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"7684":{"varMapping":{"__isSmartRef__":true,"id":7685},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":7690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7685":{"this":{"__isSmartRef__":true,"id":7594},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7686}},"7686":{"$super":{"__isSmartRef__":true,"id":7687}},"7687":{"varMapping":{"__isSmartRef__":true,"id":7688},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7689},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7688":{"obj":{"__isSmartRef__":true,"id":7594},"name":"onMouseDown"},"7689":{},"7690":{"timestamp":{"__isSmartRef__":true,"id":7691},"user":"sebastianwoinar","tags":[]},"7691":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"7692":{"varMapping":{"__isSmartRef__":true,"id":7693},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":7694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7693":{"this":{"__isSmartRef__":true,"id":7594}},"7694":{"timestamp":{"__isSmartRef__":true,"id":7695},"user":"sebastianwoinar","tags":[]},"7695":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"7696":{"varMapping":{"__isSmartRef__":true,"id":7697},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":7698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7697":{"this":{"__isSmartRef__":true,"id":7594}},"7698":{"timestamp":{"__isSmartRef__":true,"id":7699},"user":"sebastianwoinar","tags":[]},"7699":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"7700":{"varMapping":{"__isSmartRef__":true,"id":7701},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7702},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7701":{"this":{"__isSmartRef__":true,"id":7594}},"7702":{"timestamp":{"__isSmartRef__":true,"id":7703},"user":"sebastianwoinar","tags":[]},"7703":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"7704":{"varMapping":{"__isSmartRef__":true,"id":7705},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":7706},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7705":{"this":{"__isSmartRef__":true,"id":7594}},"7706":{"timestamp":{"__isSmartRef__":true,"id":7707},"user":"sebastianwoinar","tags":[]},"7707":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"7708":{"varMapping":{"__isSmartRef__":true,"id":7709},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":7710},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7709":{"this":{"__isSmartRef__":true,"id":7594}},"7710":{"timestamp":{"__isSmartRef__":true,"id":7711},"user":"sebastianwoinar","tags":[]},"7711":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"7712":{"varMapping":{"__isSmartRef__":true,"id":7713},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7714},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7713":{"this":{"__isSmartRef__":true,"id":7594}},"7714":{"timestamp":{"__isSmartRef__":true,"id":7715},"user":"sebastianwoinar","tags":[]},"7715":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"7716":{"varMapping":{"__isSmartRef__":true,"id":7717},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":7718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7717":{"this":{"__isSmartRef__":true,"id":7594}},"7718":{"timestamp":{"__isSmartRef__":true,"id":7719},"user":"sebastianwoinar","tags":[]},"7719":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"7720":{"varMapping":{"__isSmartRef__":true,"id":7721},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7722},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7721":{"this":{"__isSmartRef__":true,"id":7594}},"7722":{"timestamp":{"__isSmartRef__":true,"id":7723},"user":"sebastianwoinar","tags":[]},"7723":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"7724":{"submorphs":[{"__isSmartRef__":true,"id":7725}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7742},"id":"30565AFD-1903-474D-AB85-5485F7CA5D21","eventHandler":{"__isSmartRef__":true,"id":7743},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":7744},"name":"node13","partsBinMetaInfo":{"__isSmartRef__":true,"id":7745},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6580},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":7310},"level":3,"abp":{"__isSmartRef__":true,"id":7748},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7749},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(364.4,210.0)"},"7725":{"submorphs":[],"scripts":[],"id":"9FA4940D-CC31-42EE-AAB0-94C90345D3FB","shape":{"__isSmartRef__":true,"id":7726},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":7727},"textChunks":[{"__isSmartRef__":true,"id":7739}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":7741},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":7724},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"7726":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"7727":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":7728},{"__isSmartRef__":true,"id":7730},{"__isSmartRef__":true,"id":7732},{"__isSmartRef__":true,"id":7734},{"__isSmartRef__":true,"id":7736}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":7738},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7728":{"date":{"__isSmartRef__":true,"id":7729},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"7729":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"7730":{"date":{"__isSmartRef__":true,"id":7731},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"7731":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"7732":{"date":{"__isSmartRef__":true,"id":7733},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"7733":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"7734":{"date":{"__isSmartRef__":true,"id":7735},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"7735":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"7736":{"date":{"__isSmartRef__":true,"id":7737},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"7737":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"7738":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"7739":{"style":{"__isSmartRef__":true,"id":7740},"chunkOwner":{"__isSmartRef__":true,"id":7725},"_id":"_1506","storedString":"7","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7740":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7741":{"morph":{"__isSmartRef__":true,"id":7725},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7742":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"7743":{"morph":{"__isSmartRef__":true,"id":7724},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7744":{},"7745":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":7746}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"7746":{"date":{"__isSmartRef__":true,"id":7747},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"7747":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"7748":{"isActive":true,"alpha":7,"beta":13,"i":0,"m":7,"origAlpha":11,"d":0},"7749":{"buildChildNodes":{"__isSmartRef__":true,"id":7750},"getGameTree":{"__isSmartRef__":true,"id":7754},"getLevel":{"__isSmartRef__":true,"id":7758},"getLevelWeight":{"__isSmartRef__":true,"id":7762},"getWeight":{"__isSmartRef__":true,"id":7766},"setNode":{"__isSmartRef__":true,"id":7770},"setParent":{"__isSmartRef__":true,"id":7774},"getParent":{"__isSmartRef__":true,"id":7778},"deactivate":{"__isSmartRef__":true,"id":7782},"blink":{"__isSmartRef__":true,"id":7786},"ABPreturn":{"__isSmartRef__":true,"id":7790},"ABPstart":{"__isSmartRef__":true,"id":7794},"ABPcontinue":{"__isSmartRef__":true,"id":7798},"ABPshowValue":{"__isSmartRef__":true,"id":7802},"ABPgetValue":{"__isSmartRef__":true,"id":7806},"ABPhasChildNodes":{"__isSmartRef__":true,"id":7810},"onMouseDown":{"__isSmartRef__":true,"id":7814},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":7822},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":7826},"ABPmarkAsDone":{"__isSmartRef__":true,"id":7830},"ABPmarkAsActive":{"__isSmartRef__":true,"id":7834},"getStateMorph":{"__isSmartRef__":true,"id":7838},"showState":{"__isSmartRef__":true,"id":7842},"ABPfailHard":{"__isSmartRef__":true,"id":7846},"markFinalDrawWith":{"__isSmartRef__":true,"id":7850}},"7750":{"varMapping":{"__isSmartRef__":true,"id":7751},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":7752},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7751":{"this":{"__isSmartRef__":true,"id":7724}},"7752":{"timestamp":{"__isSmartRef__":true,"id":7753},"user":"sebastianwoinar","tags":[]},"7753":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"7754":{"varMapping":{"__isSmartRef__":true,"id":7755},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":7756},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7755":{"this":{"__isSmartRef__":true,"id":7724}},"7756":{"timestamp":{"__isSmartRef__":true,"id":7757},"user":"sebastianwoinar","tags":[]},"7757":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7758":{"varMapping":{"__isSmartRef__":true,"id":7759},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":7760},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7759":{"this":{"__isSmartRef__":true,"id":7724}},"7760":{"timestamp":{"__isSmartRef__":true,"id":7761},"user":"sebastianwoinar","tags":[]},"7761":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7762":{"varMapping":{"__isSmartRef__":true,"id":7763},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7764},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7763":{"this":{"__isSmartRef__":true,"id":7724}},"7764":{"timestamp":{"__isSmartRef__":true,"id":7765},"user":"sebastianwoinar","tags":[]},"7765":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7766":{"varMapping":{"__isSmartRef__":true,"id":7767},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":7768},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7767":{"this":{"__isSmartRef__":true,"id":7724}},"7768":{"timestamp":{"__isSmartRef__":true,"id":7769},"user":"sebastianwoinar","tags":[]},"7769":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7770":{"varMapping":{"__isSmartRef__":true,"id":7771},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":7772},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7771":{"this":{"__isSmartRef__":true,"id":7724}},"7772":{"timestamp":{"__isSmartRef__":true,"id":7773},"user":"sebastianwoinar","tags":[]},"7773":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7774":{"varMapping":{"__isSmartRef__":true,"id":7775},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":7776},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7775":{"this":{"__isSmartRef__":true,"id":7724}},"7776":{"timestamp":{"__isSmartRef__":true,"id":7777},"user":"sebastianwoinar","tags":[]},"7777":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7778":{"varMapping":{"__isSmartRef__":true,"id":7779},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":7780},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7779":{"this":{"__isSmartRef__":true,"id":7724}},"7780":{"timestamp":{"__isSmartRef__":true,"id":7781},"user":"sebastianwoinar","tags":[]},"7781":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"7782":{"varMapping":{"__isSmartRef__":true,"id":7783},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7784},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7783":{"this":{"__isSmartRef__":true,"id":7724}},"7784":{"timestamp":{"__isSmartRef__":true,"id":7785},"user":"sebastianwoinar","tags":[]},"7785":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"7786":{"varMapping":{"__isSmartRef__":true,"id":7787},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":7788},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7787":{"this":{"__isSmartRef__":true,"id":7724}},"7788":{"timestamp":{"__isSmartRef__":true,"id":7789},"user":"sebastianwoinar","tags":[]},"7789":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"7790":{"varMapping":{"__isSmartRef__":true,"id":7791},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":7792},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7791":{"this":{"__isSmartRef__":true,"id":7724}},"7792":{"timestamp":{"__isSmartRef__":true,"id":7793},"user":"sebastianwoinar","tags":[]},"7793":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"7794":{"varMapping":{"__isSmartRef__":true,"id":7795},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":7796},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7795":{"this":{"__isSmartRef__":true,"id":7724}},"7796":{"timestamp":{"__isSmartRef__":true,"id":7797},"user":"sebastianwoinar","tags":[]},"7797":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"7798":{"varMapping":{"__isSmartRef__":true,"id":7799},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":7800},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7799":{"this":{"__isSmartRef__":true,"id":7724}},"7800":{"timestamp":{"__isSmartRef__":true,"id":7801},"user":"sebastianwoinar","tags":[]},"7801":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"7802":{"varMapping":{"__isSmartRef__":true,"id":7803},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":7804},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7803":{"this":{"__isSmartRef__":true,"id":7724}},"7804":{"timestamp":{"__isSmartRef__":true,"id":7805},"user":"sebastianwoinar","tags":[]},"7805":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"7806":{"varMapping":{"__isSmartRef__":true,"id":7807},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":7808},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7807":{"this":{"__isSmartRef__":true,"id":7724}},"7808":{"timestamp":{"__isSmartRef__":true,"id":7809},"user":"sebastianwoinar","tags":[]},"7809":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"7810":{"varMapping":{"__isSmartRef__":true,"id":7811},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":7812},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7811":{"this":{"__isSmartRef__":true,"id":7724}},"7812":{"timestamp":{"__isSmartRef__":true,"id":7813},"user":"sebastianwoinar","tags":[]},"7813":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"7814":{"varMapping":{"__isSmartRef__":true,"id":7815},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":7820},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7815":{"this":{"__isSmartRef__":true,"id":7724},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7816}},"7816":{"$super":{"__isSmartRef__":true,"id":7817}},"7817":{"varMapping":{"__isSmartRef__":true,"id":7818},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7819},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7818":{"obj":{"__isSmartRef__":true,"id":7724},"name":"onMouseDown"},"7819":{},"7820":{"timestamp":{"__isSmartRef__":true,"id":7821},"user":"sebastianwoinar","tags":[]},"7821":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"7822":{"varMapping":{"__isSmartRef__":true,"id":7823},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":7824},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7823":{"this":{"__isSmartRef__":true,"id":7724}},"7824":{"timestamp":{"__isSmartRef__":true,"id":7825},"user":"sebastianwoinar","tags":[]},"7825":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"7826":{"varMapping":{"__isSmartRef__":true,"id":7827},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":7828},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7827":{"this":{"__isSmartRef__":true,"id":7724}},"7828":{"timestamp":{"__isSmartRef__":true,"id":7829},"user":"sebastianwoinar","tags":[]},"7829":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"7830":{"varMapping":{"__isSmartRef__":true,"id":7831},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7832},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7831":{"this":{"__isSmartRef__":true,"id":7724}},"7832":{"timestamp":{"__isSmartRef__":true,"id":7833},"user":"sebastianwoinar","tags":[]},"7833":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"7834":{"varMapping":{"__isSmartRef__":true,"id":7835},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":7836},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7835":{"this":{"__isSmartRef__":true,"id":7724}},"7836":{"timestamp":{"__isSmartRef__":true,"id":7837},"user":"sebastianwoinar","tags":[]},"7837":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"7838":{"varMapping":{"__isSmartRef__":true,"id":7839},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":7840},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7839":{"this":{"__isSmartRef__":true,"id":7724}},"7840":{"timestamp":{"__isSmartRef__":true,"id":7841},"user":"sebastianwoinar","tags":[]},"7841":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"7842":{"varMapping":{"__isSmartRef__":true,"id":7843},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7844},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7843":{"this":{"__isSmartRef__":true,"id":7724}},"7844":{"timestamp":{"__isSmartRef__":true,"id":7845},"user":"sebastianwoinar","tags":[]},"7845":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"7846":{"varMapping":{"__isSmartRef__":true,"id":7847},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":7848},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7847":{"this":{"__isSmartRef__":true,"id":7724}},"7848":{"timestamp":{"__isSmartRef__":true,"id":7849},"user":"sebastianwoinar","tags":[]},"7849":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"7850":{"varMapping":{"__isSmartRef__":true,"id":7851},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7852},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7851":{"this":{"__isSmartRef__":true,"id":7724}},"7852":{"timestamp":{"__isSmartRef__":true,"id":7853},"user":"sebastianwoinar","tags":[]},"7853":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"7854":{"isActive":true,"alpha":-7,"beta":-11,"i":4,"m":-7,"origAlpha":-10000000000000,"d":0},"7855":{"buildChildNodes":{"__isSmartRef__":true,"id":7856},"getGameTree":{"__isSmartRef__":true,"id":7860},"getLevel":{"__isSmartRef__":true,"id":7864},"getLevelWeight":{"__isSmartRef__":true,"id":7868},"getWeight":{"__isSmartRef__":true,"id":7872},"setNode":{"__isSmartRef__":true,"id":7876},"setParent":{"__isSmartRef__":true,"id":7880},"getParent":{"__isSmartRef__":true,"id":7884},"deactivate":{"__isSmartRef__":true,"id":7888},"blink":{"__isSmartRef__":true,"id":7892},"ABPreturn":{"__isSmartRef__":true,"id":7896},"ABPstart":{"__isSmartRef__":true,"id":7900},"ABPcontinue":{"__isSmartRef__":true,"id":7904},"ABPshowValue":{"__isSmartRef__":true,"id":7908},"ABPgetValue":{"__isSmartRef__":true,"id":7912},"ABPhasChildNodes":{"__isSmartRef__":true,"id":7916},"onMouseDown":{"__isSmartRef__":true,"id":7920},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":7928},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":7932},"ABPmarkAsDone":{"__isSmartRef__":true,"id":7936},"ABPmarkAsActive":{"__isSmartRef__":true,"id":7940},"getStateMorph":{"__isSmartRef__":true,"id":7944},"showState":{"__isSmartRef__":true,"id":7948},"ABPfailHard":{"__isSmartRef__":true,"id":7952},"markFinalDrawWith":{"__isSmartRef__":true,"id":7956}},"7856":{"varMapping":{"__isSmartRef__":true,"id":7857},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":7858},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7857":{"this":{"__isSmartRef__":true,"id":7310}},"7858":{"timestamp":{"__isSmartRef__":true,"id":7859},"user":"sebastianwoinar","tags":[]},"7859":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"7860":{"varMapping":{"__isSmartRef__":true,"id":7861},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":7862},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7861":{"this":{"__isSmartRef__":true,"id":7310}},"7862":{"timestamp":{"__isSmartRef__":true,"id":7863},"user":"sebastianwoinar","tags":[]},"7863":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7864":{"varMapping":{"__isSmartRef__":true,"id":7865},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":7866},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7865":{"this":{"__isSmartRef__":true,"id":7310}},"7866":{"timestamp":{"__isSmartRef__":true,"id":7867},"user":"sebastianwoinar","tags":[]},"7867":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7868":{"varMapping":{"__isSmartRef__":true,"id":7869},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7870},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7869":{"this":{"__isSmartRef__":true,"id":7310}},"7870":{"timestamp":{"__isSmartRef__":true,"id":7871},"user":"sebastianwoinar","tags":[]},"7871":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7872":{"varMapping":{"__isSmartRef__":true,"id":7873},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":7874},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7873":{"this":{"__isSmartRef__":true,"id":7310}},"7874":{"timestamp":{"__isSmartRef__":true,"id":7875},"user":"sebastianwoinar","tags":[]},"7875":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7876":{"varMapping":{"__isSmartRef__":true,"id":7877},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":7878},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7877":{"this":{"__isSmartRef__":true,"id":7310}},"7878":{"timestamp":{"__isSmartRef__":true,"id":7879},"user":"sebastianwoinar","tags":[]},"7879":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7880":{"varMapping":{"__isSmartRef__":true,"id":7881},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":7882},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7881":{"this":{"__isSmartRef__":true,"id":7310}},"7882":{"timestamp":{"__isSmartRef__":true,"id":7883},"user":"sebastianwoinar","tags":[]},"7883":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7884":{"varMapping":{"__isSmartRef__":true,"id":7885},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":7886},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7885":{"this":{"__isSmartRef__":true,"id":7310}},"7886":{"timestamp":{"__isSmartRef__":true,"id":7887},"user":"sebastianwoinar","tags":[]},"7887":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"7888":{"varMapping":{"__isSmartRef__":true,"id":7889},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7890},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7889":{"this":{"__isSmartRef__":true,"id":7310}},"7890":{"timestamp":{"__isSmartRef__":true,"id":7891},"user":"sebastianwoinar","tags":[]},"7891":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"7892":{"varMapping":{"__isSmartRef__":true,"id":7893},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":7894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7893":{"this":{"__isSmartRef__":true,"id":7310}},"7894":{"timestamp":{"__isSmartRef__":true,"id":7895},"user":"sebastianwoinar","tags":[]},"7895":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"7896":{"varMapping":{"__isSmartRef__":true,"id":7897},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":7898},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7897":{"this":{"__isSmartRef__":true,"id":7310}},"7898":{"timestamp":{"__isSmartRef__":true,"id":7899},"user":"sebastianwoinar","tags":[]},"7899":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"7900":{"varMapping":{"__isSmartRef__":true,"id":7901},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":7902},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7901":{"this":{"__isSmartRef__":true,"id":7310}},"7902":{"timestamp":{"__isSmartRef__":true,"id":7903},"user":"sebastianwoinar","tags":[]},"7903":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"7904":{"varMapping":{"__isSmartRef__":true,"id":7905},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":7906},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7905":{"this":{"__isSmartRef__":true,"id":7310}},"7906":{"timestamp":{"__isSmartRef__":true,"id":7907},"user":"sebastianwoinar","tags":[]},"7907":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"7908":{"varMapping":{"__isSmartRef__":true,"id":7909},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":7910},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7909":{"this":{"__isSmartRef__":true,"id":7310}},"7910":{"timestamp":{"__isSmartRef__":true,"id":7911},"user":"sebastianwoinar","tags":[]},"7911":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"7912":{"varMapping":{"__isSmartRef__":true,"id":7913},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":7914},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7913":{"this":{"__isSmartRef__":true,"id":7310}},"7914":{"timestamp":{"__isSmartRef__":true,"id":7915},"user":"sebastianwoinar","tags":[]},"7915":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"7916":{"varMapping":{"__isSmartRef__":true,"id":7917},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":7918},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7917":{"this":{"__isSmartRef__":true,"id":7310}},"7918":{"timestamp":{"__isSmartRef__":true,"id":7919},"user":"sebastianwoinar","tags":[]},"7919":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"7920":{"varMapping":{"__isSmartRef__":true,"id":7921},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":7926},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7921":{"this":{"__isSmartRef__":true,"id":7310},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7922}},"7922":{"$super":{"__isSmartRef__":true,"id":7923}},"7923":{"varMapping":{"__isSmartRef__":true,"id":7924},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7925},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7924":{"obj":{"__isSmartRef__":true,"id":7310},"name":"onMouseDown"},"7925":{},"7926":{"timestamp":{"__isSmartRef__":true,"id":7927},"user":"sebastianwoinar","tags":[]},"7927":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"7928":{"varMapping":{"__isSmartRef__":true,"id":7929},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":7930},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7929":{"this":{"__isSmartRef__":true,"id":7310}},"7930":{"timestamp":{"__isSmartRef__":true,"id":7931},"user":"sebastianwoinar","tags":[]},"7931":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"7932":{"varMapping":{"__isSmartRef__":true,"id":7933},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":7934},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7933":{"this":{"__isSmartRef__":true,"id":7310}},"7934":{"timestamp":{"__isSmartRef__":true,"id":7935},"user":"sebastianwoinar","tags":[]},"7935":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"7936":{"varMapping":{"__isSmartRef__":true,"id":7937},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7938},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7937":{"this":{"__isSmartRef__":true,"id":7310}},"7938":{"timestamp":{"__isSmartRef__":true,"id":7939},"user":"sebastianwoinar","tags":[]},"7939":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"7940":{"varMapping":{"__isSmartRef__":true,"id":7941},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":7942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7941":{"this":{"__isSmartRef__":true,"id":7310}},"7942":{"timestamp":{"__isSmartRef__":true,"id":7943},"user":"sebastianwoinar","tags":[]},"7943":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"7944":{"varMapping":{"__isSmartRef__":true,"id":7945},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":7946},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7945":{"this":{"__isSmartRef__":true,"id":7310}},"7946":{"timestamp":{"__isSmartRef__":true,"id":7947},"user":"sebastianwoinar","tags":[]},"7947":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"7948":{"varMapping":{"__isSmartRef__":true,"id":7949},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7950},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7949":{"this":{"__isSmartRef__":true,"id":7310}},"7950":{"timestamp":{"__isSmartRef__":true,"id":7951},"user":"sebastianwoinar","tags":[]},"7951":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"7952":{"varMapping":{"__isSmartRef__":true,"id":7953},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":7954},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7953":{"this":{"__isSmartRef__":true,"id":7310}},"7954":{"timestamp":{"__isSmartRef__":true,"id":7955},"user":"sebastianwoinar","tags":[]},"7955":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"7956":{"varMapping":{"__isSmartRef__":true,"id":7957},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7958},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7957":{"this":{"__isSmartRef__":true,"id":7310}},"7958":{"timestamp":{"__isSmartRef__":true,"id":7959},"user":"sebastianwoinar","tags":[]},"7959":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"7960":{"isActive":true,"alpha":11,"beta":10000000000000,"i":2,"m":11,"origAlpha":-10000000000000,"d":0},"7961":{"buildChildNodes":{"__isSmartRef__":true,"id":7962},"getGameTree":{"__isSmartRef__":true,"id":7966},"getLevel":{"__isSmartRef__":true,"id":7970},"getLevelWeight":{"__isSmartRef__":true,"id":7974},"getWeight":{"__isSmartRef__":true,"id":7978},"setNode":{"__isSmartRef__":true,"id":7982},"setParent":{"__isSmartRef__":true,"id":7986},"getParent":{"__isSmartRef__":true,"id":7990},"deactivate":{"__isSmartRef__":true,"id":7994},"blink":{"__isSmartRef__":true,"id":7998},"ABPreturn":{"__isSmartRef__":true,"id":8002},"ABPstart":{"__isSmartRef__":true,"id":8006},"ABPcontinue":{"__isSmartRef__":true,"id":8010},"ABPshowValue":{"__isSmartRef__":true,"id":8014},"ABPgetValue":{"__isSmartRef__":true,"id":8018},"ABPhasChildNodes":{"__isSmartRef__":true,"id":8022},"onMouseDown":{"__isSmartRef__":true,"id":8026},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":8034},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":8038},"ABPmarkAsDone":{"__isSmartRef__":true,"id":8042},"ABPmarkAsActive":{"__isSmartRef__":true,"id":8046},"getStateMorph":{"__isSmartRef__":true,"id":8050},"showState":{"__isSmartRef__":true,"id":8054},"ABPfailHard":{"__isSmartRef__":true,"id":8058},"markFinalDrawWith":{"__isSmartRef__":true,"id":8062}},"7962":{"varMapping":{"__isSmartRef__":true,"id":7963},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":7964},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7963":{"this":{"__isSmartRef__":true,"id":6636}},"7964":{"timestamp":{"__isSmartRef__":true,"id":7965},"user":"sebastianwoinar","tags":[]},"7965":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"7966":{"varMapping":{"__isSmartRef__":true,"id":7967},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":7968},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7967":{"this":{"__isSmartRef__":true,"id":6636}},"7968":{"timestamp":{"__isSmartRef__":true,"id":7969},"user":"sebastianwoinar","tags":[]},"7969":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7970":{"varMapping":{"__isSmartRef__":true,"id":7971},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":7972},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7971":{"this":{"__isSmartRef__":true,"id":6636}},"7972":{"timestamp":{"__isSmartRef__":true,"id":7973},"user":"sebastianwoinar","tags":[]},"7973":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7974":{"varMapping":{"__isSmartRef__":true,"id":7975},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7976},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7975":{"this":{"__isSmartRef__":true,"id":6636}},"7976":{"timestamp":{"__isSmartRef__":true,"id":7977},"user":"sebastianwoinar","tags":[]},"7977":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7978":{"varMapping":{"__isSmartRef__":true,"id":7979},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":7980},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7979":{"this":{"__isSmartRef__":true,"id":6636}},"7980":{"timestamp":{"__isSmartRef__":true,"id":7981},"user":"sebastianwoinar","tags":[]},"7981":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7982":{"varMapping":{"__isSmartRef__":true,"id":7983},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":7984},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7983":{"this":{"__isSmartRef__":true,"id":6636}},"7984":{"timestamp":{"__isSmartRef__":true,"id":7985},"user":"sebastianwoinar","tags":[]},"7985":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7986":{"varMapping":{"__isSmartRef__":true,"id":7987},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":7988},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7987":{"this":{"__isSmartRef__":true,"id":6636}},"7988":{"timestamp":{"__isSmartRef__":true,"id":7989},"user":"sebastianwoinar","tags":[]},"7989":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"7990":{"varMapping":{"__isSmartRef__":true,"id":7991},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":7992},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7991":{"this":{"__isSmartRef__":true,"id":6636}},"7992":{"timestamp":{"__isSmartRef__":true,"id":7993},"user":"sebastianwoinar","tags":[]},"7993":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"7994":{"varMapping":{"__isSmartRef__":true,"id":7995},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":7996},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7995":{"this":{"__isSmartRef__":true,"id":6636}},"7996":{"timestamp":{"__isSmartRef__":true,"id":7997},"user":"sebastianwoinar","tags":[]},"7997":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"7998":{"varMapping":{"__isSmartRef__":true,"id":7999},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":8000},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7999":{"this":{"__isSmartRef__":true,"id":6636}},"8000":{"timestamp":{"__isSmartRef__":true,"id":8001},"user":"sebastianwoinar","tags":[]},"8001":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"8002":{"varMapping":{"__isSmartRef__":true,"id":8003},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":8004},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8003":{"this":{"__isSmartRef__":true,"id":6636}},"8004":{"timestamp":{"__isSmartRef__":true,"id":8005},"user":"sebastianwoinar","tags":[]},"8005":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"8006":{"varMapping":{"__isSmartRef__":true,"id":8007},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":8008},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8007":{"this":{"__isSmartRef__":true,"id":6636}},"8008":{"timestamp":{"__isSmartRef__":true,"id":8009},"user":"sebastianwoinar","tags":[]},"8009":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"8010":{"varMapping":{"__isSmartRef__":true,"id":8011},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":8012},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8011":{"this":{"__isSmartRef__":true,"id":6636}},"8012":{"timestamp":{"__isSmartRef__":true,"id":8013},"user":"sebastianwoinar","tags":[]},"8013":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"8014":{"varMapping":{"__isSmartRef__":true,"id":8015},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":8016},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8015":{"this":{"__isSmartRef__":true,"id":6636}},"8016":{"timestamp":{"__isSmartRef__":true,"id":8017},"user":"sebastianwoinar","tags":[]},"8017":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"8018":{"varMapping":{"__isSmartRef__":true,"id":8019},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":8020},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8019":{"this":{"__isSmartRef__":true,"id":6636}},"8020":{"timestamp":{"__isSmartRef__":true,"id":8021},"user":"sebastianwoinar","tags":[]},"8021":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"8022":{"varMapping":{"__isSmartRef__":true,"id":8023},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":8024},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8023":{"this":{"__isSmartRef__":true,"id":6636}},"8024":{"timestamp":{"__isSmartRef__":true,"id":8025},"user":"sebastianwoinar","tags":[]},"8025":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"8026":{"varMapping":{"__isSmartRef__":true,"id":8027},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":8032},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8027":{"this":{"__isSmartRef__":true,"id":6636},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8028}},"8028":{"$super":{"__isSmartRef__":true,"id":8029}},"8029":{"varMapping":{"__isSmartRef__":true,"id":8030},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8031},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8030":{"obj":{"__isSmartRef__":true,"id":6636},"name":"onMouseDown"},"8031":{},"8032":{"timestamp":{"__isSmartRef__":true,"id":8033},"user":"sebastianwoinar","tags":[]},"8033":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"8034":{"varMapping":{"__isSmartRef__":true,"id":8035},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":8036},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8035":{"this":{"__isSmartRef__":true,"id":6636}},"8036":{"timestamp":{"__isSmartRef__":true,"id":8037},"user":"sebastianwoinar","tags":[]},"8037":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"8038":{"varMapping":{"__isSmartRef__":true,"id":8039},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":8040},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8039":{"this":{"__isSmartRef__":true,"id":6636}},"8040":{"timestamp":{"__isSmartRef__":true,"id":8041},"user":"sebastianwoinar","tags":[]},"8041":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"8042":{"varMapping":{"__isSmartRef__":true,"id":8043},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8044},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8043":{"this":{"__isSmartRef__":true,"id":6636}},"8044":{"timestamp":{"__isSmartRef__":true,"id":8045},"user":"sebastianwoinar","tags":[]},"8045":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"8046":{"varMapping":{"__isSmartRef__":true,"id":8047},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":8048},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8047":{"this":{"__isSmartRef__":true,"id":6636}},"8048":{"timestamp":{"__isSmartRef__":true,"id":8049},"user":"sebastianwoinar","tags":[]},"8049":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"8050":{"varMapping":{"__isSmartRef__":true,"id":8051},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":8052},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8051":{"this":{"__isSmartRef__":true,"id":6636}},"8052":{"timestamp":{"__isSmartRef__":true,"id":8053},"user":"sebastianwoinar","tags":[]},"8053":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"8054":{"varMapping":{"__isSmartRef__":true,"id":8055},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8056},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8055":{"this":{"__isSmartRef__":true,"id":6636}},"8056":{"timestamp":{"__isSmartRef__":true,"id":8057},"user":"sebastianwoinar","tags":[]},"8057":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"8058":{"varMapping":{"__isSmartRef__":true,"id":8059},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":8060},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8059":{"this":{"__isSmartRef__":true,"id":6636}},"8060":{"timestamp":{"__isSmartRef__":true,"id":8061},"user":"sebastianwoinar","tags":[]},"8061":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"8062":{"varMapping":{"__isSmartRef__":true,"id":8063},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8064},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8063":{"this":{"__isSmartRef__":true,"id":6636}},"8064":{"timestamp":{"__isSmartRef__":true,"id":8065},"user":"sebastianwoinar","tags":[]},"8065":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"8066":{"submorphs":[{"__isSmartRef__":true,"id":8067}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8084},"id":"EF13552E-3D13-41D7-9265-696E2FC632EF","eventHandler":{"__isSmartRef__":true,"id":8085},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":8086},"name":"node14","partsBinMetaInfo":{"__isSmartRef__":true,"id":8087},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6582},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":8090}],"parent":{"__isSmartRef__":true,"id":6534},"level":1,"abp":{"__isSmartRef__":true,"id":8740},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8741},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(406.1,110.0)"},"8067":{"submorphs":[],"scripts":[],"id":"07A072CC-D046-46D9-9392-8E7D63131D4A","shape":{"__isSmartRef__":true,"id":8068},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":8069},"textChunks":[{"__isSmartRef__":true,"id":8081}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":8083},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":8066},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)","_TextColor":"Color.rgb(204,0,0)"},"8068":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"8069":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":8070},{"__isSmartRef__":true,"id":8072},{"__isSmartRef__":true,"id":8074},{"__isSmartRef__":true,"id":8076},{"__isSmartRef__":true,"id":8078}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":8080},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8070":{"date":{"__isSmartRef__":true,"id":8071},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"8071":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"8072":{"date":{"__isSmartRef__":true,"id":8073},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"8073":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"8074":{"date":{"__isSmartRef__":true,"id":8075},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"8075":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"8076":{"date":{"__isSmartRef__":true,"id":8077},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"8077":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"8078":{"date":{"__isSmartRef__":true,"id":8079},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"8079":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"8080":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"8081":{"style":{"__isSmartRef__":true,"id":8082},"chunkOwner":{"__isSmartRef__":true,"id":8067},"_id":"_1558","storedString":"11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8082":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8083":{"morph":{"__isSmartRef__":true,"id":8067},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8084":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"8085":{"morph":{"__isSmartRef__":true,"id":8066},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8086":{},"8087":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":8088}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8088":{"date":{"__isSmartRef__":true,"id":8089},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"8089":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"8090":{"submorphs":[{"__isSmartRef__":true,"id":8091}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8108},"id":"BE0BD2FA-2EF8-4AA1-A432-A99737766C56","eventHandler":{"__isSmartRef__":true,"id":8109},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":8110},"name":"node15","partsBinMetaInfo":{"__isSmartRef__":true,"id":8111},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6584},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":8114},{"__isSmartRef__":true,"id":8244},{"__isSmartRef__":true,"id":8374},{"__isSmartRef__":true,"id":8504}],"parent":{"__isSmartRef__":true,"id":8066},"level":2,"abp":{"__isSmartRef__":true,"id":8634},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8635},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(452.9,160.0)"},"8091":{"submorphs":[],"scripts":[],"id":"6EF786ED-0572-40C4-8DCA-D46D4CA2229A","shape":{"__isSmartRef__":true,"id":8092},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":8093},"textChunks":[{"__isSmartRef__":true,"id":8105}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":8107},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":8090},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)","_TextColor":"Color.rgb(0,0,204)"},"8092":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"8093":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":8094},{"__isSmartRef__":true,"id":8096},{"__isSmartRef__":true,"id":8098},{"__isSmartRef__":true,"id":8100},{"__isSmartRef__":true,"id":8102}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":8104},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8094":{"date":{"__isSmartRef__":true,"id":8095},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"8095":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"8096":{"date":{"__isSmartRef__":true,"id":8097},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"8097":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"8098":{"date":{"__isSmartRef__":true,"id":8099},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"8099":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"8100":{"date":{"__isSmartRef__":true,"id":8101},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"8101":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"8102":{"date":{"__isSmartRef__":true,"id":8103},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"8103":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"8104":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"8105":{"style":{"__isSmartRef__":true,"id":8106},"chunkOwner":{"__isSmartRef__":true,"id":8091},"_id":"_1552","storedString":"-11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8106":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8107":{"morph":{"__isSmartRef__":true,"id":8091},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8108":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"8109":{"morph":{"__isSmartRef__":true,"id":8090},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8110":{},"8111":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":8112}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8112":{"date":{"__isSmartRef__":true,"id":8113},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"8113":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"8114":{"submorphs":[{"__isSmartRef__":true,"id":8115}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8132},"id":"FF2683F8-9D7C-4189-87F6-8311B6FA7EEE","eventHandler":{"__isSmartRef__":true,"id":8133},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":8134},"name":"node16","partsBinMetaInfo":{"__isSmartRef__":true,"id":8135},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6586},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":8090},"level":3,"abp":{"__isSmartRef__":true,"id":8138},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8139},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(406.1,210.0)"},"8115":{"submorphs":[],"scripts":[],"id":"C614C47B-7C76-4783-8283-39F62D4C11AB","shape":{"__isSmartRef__":true,"id":8116},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":8117},"textChunks":[{"__isSmartRef__":true,"id":8129}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":8131},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":8114},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"8116":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"8117":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":8118},{"__isSmartRef__":true,"id":8120},{"__isSmartRef__":true,"id":8122},{"__isSmartRef__":true,"id":8124},{"__isSmartRef__":true,"id":8126}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":8128},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8118":{"date":{"__isSmartRef__":true,"id":8119},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"8119":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"8120":{"date":{"__isSmartRef__":true,"id":8121},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"8121":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"8122":{"date":{"__isSmartRef__":true,"id":8123},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"8123":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"8124":{"date":{"__isSmartRef__":true,"id":8125},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"8125":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"8126":{"date":{"__isSmartRef__":true,"id":8127},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"8127":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"8128":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"8129":{"style":{"__isSmartRef__":true,"id":8130},"chunkOwner":{"__isSmartRef__":true,"id":8115},"_id":"_1526","storedString":"21","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8130":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8131":{"morph":{"__isSmartRef__":true,"id":8115},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8132":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"8133":{"morph":{"__isSmartRef__":true,"id":8114},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8134":{},"8135":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":8136}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8136":{"date":{"__isSmartRef__":true,"id":8137},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"8137":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"8138":{"isActive":true,"alpha":21,"beta":11,"i":0,"m":21,"origAlpha":-10000000000000,"d":0},"8139":{"buildChildNodes":{"__isSmartRef__":true,"id":8140},"getGameTree":{"__isSmartRef__":true,"id":8144},"getLevel":{"__isSmartRef__":true,"id":8148},"getLevelWeight":{"__isSmartRef__":true,"id":8152},"getWeight":{"__isSmartRef__":true,"id":8156},"setNode":{"__isSmartRef__":true,"id":8160},"setParent":{"__isSmartRef__":true,"id":8164},"getParent":{"__isSmartRef__":true,"id":8168},"deactivate":{"__isSmartRef__":true,"id":8172},"blink":{"__isSmartRef__":true,"id":8176},"ABPreturn":{"__isSmartRef__":true,"id":8180},"ABPstart":{"__isSmartRef__":true,"id":8184},"ABPcontinue":{"__isSmartRef__":true,"id":8188},"ABPshowValue":{"__isSmartRef__":true,"id":8192},"ABPgetValue":{"__isSmartRef__":true,"id":8196},"ABPhasChildNodes":{"__isSmartRef__":true,"id":8200},"onMouseDown":{"__isSmartRef__":true,"id":8204},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":8212},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":8216},"ABPmarkAsDone":{"__isSmartRef__":true,"id":8220},"ABPmarkAsActive":{"__isSmartRef__":true,"id":8224},"getStateMorph":{"__isSmartRef__":true,"id":8228},"showState":{"__isSmartRef__":true,"id":8232},"ABPfailHard":{"__isSmartRef__":true,"id":8236},"markFinalDrawWith":{"__isSmartRef__":true,"id":8240}},"8140":{"varMapping":{"__isSmartRef__":true,"id":8141},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":8142},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8141":{"this":{"__isSmartRef__":true,"id":8114}},"8142":{"timestamp":{"__isSmartRef__":true,"id":8143},"user":"sebastianwoinar","tags":[]},"8143":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"8144":{"varMapping":{"__isSmartRef__":true,"id":8145},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":8146},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8145":{"this":{"__isSmartRef__":true,"id":8114}},"8146":{"timestamp":{"__isSmartRef__":true,"id":8147},"user":"sebastianwoinar","tags":[]},"8147":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8148":{"varMapping":{"__isSmartRef__":true,"id":8149},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":8150},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8149":{"this":{"__isSmartRef__":true,"id":8114}},"8150":{"timestamp":{"__isSmartRef__":true,"id":8151},"user":"sebastianwoinar","tags":[]},"8151":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8152":{"varMapping":{"__isSmartRef__":true,"id":8153},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8154},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8153":{"this":{"__isSmartRef__":true,"id":8114}},"8154":{"timestamp":{"__isSmartRef__":true,"id":8155},"user":"sebastianwoinar","tags":[]},"8155":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8156":{"varMapping":{"__isSmartRef__":true,"id":8157},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":8158},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8157":{"this":{"__isSmartRef__":true,"id":8114}},"8158":{"timestamp":{"__isSmartRef__":true,"id":8159},"user":"sebastianwoinar","tags":[]},"8159":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8160":{"varMapping":{"__isSmartRef__":true,"id":8161},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":8162},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8161":{"this":{"__isSmartRef__":true,"id":8114}},"8162":{"timestamp":{"__isSmartRef__":true,"id":8163},"user":"sebastianwoinar","tags":[]},"8163":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8164":{"varMapping":{"__isSmartRef__":true,"id":8165},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":8166},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8165":{"this":{"__isSmartRef__":true,"id":8114}},"8166":{"timestamp":{"__isSmartRef__":true,"id":8167},"user":"sebastianwoinar","tags":[]},"8167":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8168":{"varMapping":{"__isSmartRef__":true,"id":8169},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":8170},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8169":{"this":{"__isSmartRef__":true,"id":8114}},"8170":{"timestamp":{"__isSmartRef__":true,"id":8171},"user":"sebastianwoinar","tags":[]},"8171":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"8172":{"varMapping":{"__isSmartRef__":true,"id":8173},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8174},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8173":{"this":{"__isSmartRef__":true,"id":8114}},"8174":{"timestamp":{"__isSmartRef__":true,"id":8175},"user":"sebastianwoinar","tags":[]},"8175":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"8176":{"varMapping":{"__isSmartRef__":true,"id":8177},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":8178},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8177":{"this":{"__isSmartRef__":true,"id":8114}},"8178":{"timestamp":{"__isSmartRef__":true,"id":8179},"user":"sebastianwoinar","tags":[]},"8179":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"8180":{"varMapping":{"__isSmartRef__":true,"id":8181},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":8182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8181":{"this":{"__isSmartRef__":true,"id":8114}},"8182":{"timestamp":{"__isSmartRef__":true,"id":8183},"user":"sebastianwoinar","tags":[]},"8183":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"8184":{"varMapping":{"__isSmartRef__":true,"id":8185},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":8186},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8185":{"this":{"__isSmartRef__":true,"id":8114}},"8186":{"timestamp":{"__isSmartRef__":true,"id":8187},"user":"sebastianwoinar","tags":[]},"8187":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"8188":{"varMapping":{"__isSmartRef__":true,"id":8189},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":8190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8189":{"this":{"__isSmartRef__":true,"id":8114}},"8190":{"timestamp":{"__isSmartRef__":true,"id":8191},"user":"sebastianwoinar","tags":[]},"8191":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"8192":{"varMapping":{"__isSmartRef__":true,"id":8193},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":8194},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8193":{"this":{"__isSmartRef__":true,"id":8114}},"8194":{"timestamp":{"__isSmartRef__":true,"id":8195},"user":"sebastianwoinar","tags":[]},"8195":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"8196":{"varMapping":{"__isSmartRef__":true,"id":8197},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":8198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8197":{"this":{"__isSmartRef__":true,"id":8114}},"8198":{"timestamp":{"__isSmartRef__":true,"id":8199},"user":"sebastianwoinar","tags":[]},"8199":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"8200":{"varMapping":{"__isSmartRef__":true,"id":8201},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":8202},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8201":{"this":{"__isSmartRef__":true,"id":8114}},"8202":{"timestamp":{"__isSmartRef__":true,"id":8203},"user":"sebastianwoinar","tags":[]},"8203":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"8204":{"varMapping":{"__isSmartRef__":true,"id":8205},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":8210},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8205":{"this":{"__isSmartRef__":true,"id":8114},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8206}},"8206":{"$super":{"__isSmartRef__":true,"id":8207}},"8207":{"varMapping":{"__isSmartRef__":true,"id":8208},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8209},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8208":{"obj":{"__isSmartRef__":true,"id":8114},"name":"onMouseDown"},"8209":{},"8210":{"timestamp":{"__isSmartRef__":true,"id":8211},"user":"sebastianwoinar","tags":[]},"8211":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"8212":{"varMapping":{"__isSmartRef__":true,"id":8213},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":8214},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8213":{"this":{"__isSmartRef__":true,"id":8114}},"8214":{"timestamp":{"__isSmartRef__":true,"id":8215},"user":"sebastianwoinar","tags":[]},"8215":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"8216":{"varMapping":{"__isSmartRef__":true,"id":8217},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":8218},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8217":{"this":{"__isSmartRef__":true,"id":8114}},"8218":{"timestamp":{"__isSmartRef__":true,"id":8219},"user":"sebastianwoinar","tags":[]},"8219":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"8220":{"varMapping":{"__isSmartRef__":true,"id":8221},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8221":{"this":{"__isSmartRef__":true,"id":8114}},"8222":{"timestamp":{"__isSmartRef__":true,"id":8223},"user":"sebastianwoinar","tags":[]},"8223":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"8224":{"varMapping":{"__isSmartRef__":true,"id":8225},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":8226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8225":{"this":{"__isSmartRef__":true,"id":8114}},"8226":{"timestamp":{"__isSmartRef__":true,"id":8227},"user":"sebastianwoinar","tags":[]},"8227":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"8228":{"varMapping":{"__isSmartRef__":true,"id":8229},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":8230},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8229":{"this":{"__isSmartRef__":true,"id":8114}},"8230":{"timestamp":{"__isSmartRef__":true,"id":8231},"user":"sebastianwoinar","tags":[]},"8231":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"8232":{"varMapping":{"__isSmartRef__":true,"id":8233},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8234},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8233":{"this":{"__isSmartRef__":true,"id":8114}},"8234":{"timestamp":{"__isSmartRef__":true,"id":8235},"user":"sebastianwoinar","tags":[]},"8235":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"8236":{"varMapping":{"__isSmartRef__":true,"id":8237},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":8238},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8237":{"this":{"__isSmartRef__":true,"id":8114}},"8238":{"timestamp":{"__isSmartRef__":true,"id":8239},"user":"sebastianwoinar","tags":[]},"8239":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"8240":{"varMapping":{"__isSmartRef__":true,"id":8241},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8242},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8241":{"this":{"__isSmartRef__":true,"id":8114}},"8242":{"timestamp":{"__isSmartRef__":true,"id":8243},"user":"sebastianwoinar","tags":[]},"8243":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"8244":{"submorphs":[{"__isSmartRef__":true,"id":8245}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8262},"id":"12688913-8A02-4722-9D37-657770039032","eventHandler":{"__isSmartRef__":true,"id":8263},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":8264},"name":"node17","partsBinMetaInfo":{"__isSmartRef__":true,"id":8265},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6588},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":8090},"level":3,"abp":{"__isSmartRef__":true,"id":8268},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8269},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(447.7,210.0)"},"8245":{"submorphs":[],"scripts":[],"id":"867A2E86-C8BE-47D0-8095-3558F597C962","shape":{"__isSmartRef__":true,"id":8246},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":8247},"textChunks":[{"__isSmartRef__":true,"id":8259}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":8261},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":8244},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"8246":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"8247":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":8248},{"__isSmartRef__":true,"id":8250},{"__isSmartRef__":true,"id":8252},{"__isSmartRef__":true,"id":8254},{"__isSmartRef__":true,"id":8256}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":8258},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8248":{"date":{"__isSmartRef__":true,"id":8249},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"8249":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"8250":{"date":{"__isSmartRef__":true,"id":8251},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"8251":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"8252":{"date":{"__isSmartRef__":true,"id":8253},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"8253":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"8254":{"date":{"__isSmartRef__":true,"id":8255},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"8255":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"8256":{"date":{"__isSmartRef__":true,"id":8257},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"8257":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"8258":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"8259":{"style":{"__isSmartRef__":true,"id":8260},"chunkOwner":{"__isSmartRef__":true,"id":8245},"_id":"_1533","storedString":"15","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8260":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8261":{"morph":{"__isSmartRef__":true,"id":8245},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8262":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"8263":{"morph":{"__isSmartRef__":true,"id":8244},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8264":{},"8265":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":8266}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8266":{"date":{"__isSmartRef__":true,"id":8267},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"8267":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"8268":{"isActive":true,"alpha":15,"beta":11,"i":0,"m":15,"origAlpha":-10000000000000,"d":0},"8269":{"buildChildNodes":{"__isSmartRef__":true,"id":8270},"getGameTree":{"__isSmartRef__":true,"id":8274},"getLevel":{"__isSmartRef__":true,"id":8278},"getLevelWeight":{"__isSmartRef__":true,"id":8282},"getWeight":{"__isSmartRef__":true,"id":8286},"setNode":{"__isSmartRef__":true,"id":8290},"setParent":{"__isSmartRef__":true,"id":8294},"getParent":{"__isSmartRef__":true,"id":8298},"deactivate":{"__isSmartRef__":true,"id":8302},"blink":{"__isSmartRef__":true,"id":8306},"ABPreturn":{"__isSmartRef__":true,"id":8310},"ABPstart":{"__isSmartRef__":true,"id":8314},"ABPcontinue":{"__isSmartRef__":true,"id":8318},"ABPshowValue":{"__isSmartRef__":true,"id":8322},"ABPgetValue":{"__isSmartRef__":true,"id":8326},"ABPhasChildNodes":{"__isSmartRef__":true,"id":8330},"onMouseDown":{"__isSmartRef__":true,"id":8334},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":8342},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":8346},"ABPmarkAsDone":{"__isSmartRef__":true,"id":8350},"ABPmarkAsActive":{"__isSmartRef__":true,"id":8354},"getStateMorph":{"__isSmartRef__":true,"id":8358},"showState":{"__isSmartRef__":true,"id":8362},"ABPfailHard":{"__isSmartRef__":true,"id":8366},"markFinalDrawWith":{"__isSmartRef__":true,"id":8370}},"8270":{"varMapping":{"__isSmartRef__":true,"id":8271},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":8272},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8271":{"this":{"__isSmartRef__":true,"id":8244}},"8272":{"timestamp":{"__isSmartRef__":true,"id":8273},"user":"sebastianwoinar","tags":[]},"8273":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"8274":{"varMapping":{"__isSmartRef__":true,"id":8275},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":8276},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8275":{"this":{"__isSmartRef__":true,"id":8244}},"8276":{"timestamp":{"__isSmartRef__":true,"id":8277},"user":"sebastianwoinar","tags":[]},"8277":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8278":{"varMapping":{"__isSmartRef__":true,"id":8279},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":8280},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8279":{"this":{"__isSmartRef__":true,"id":8244}},"8280":{"timestamp":{"__isSmartRef__":true,"id":8281},"user":"sebastianwoinar","tags":[]},"8281":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8282":{"varMapping":{"__isSmartRef__":true,"id":8283},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8284},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8283":{"this":{"__isSmartRef__":true,"id":8244}},"8284":{"timestamp":{"__isSmartRef__":true,"id":8285},"user":"sebastianwoinar","tags":[]},"8285":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8286":{"varMapping":{"__isSmartRef__":true,"id":8287},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":8288},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8287":{"this":{"__isSmartRef__":true,"id":8244}},"8288":{"timestamp":{"__isSmartRef__":true,"id":8289},"user":"sebastianwoinar","tags":[]},"8289":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8290":{"varMapping":{"__isSmartRef__":true,"id":8291},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":8292},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8291":{"this":{"__isSmartRef__":true,"id":8244}},"8292":{"timestamp":{"__isSmartRef__":true,"id":8293},"user":"sebastianwoinar","tags":[]},"8293":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8294":{"varMapping":{"__isSmartRef__":true,"id":8295},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":8296},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8295":{"this":{"__isSmartRef__":true,"id":8244}},"8296":{"timestamp":{"__isSmartRef__":true,"id":8297},"user":"sebastianwoinar","tags":[]},"8297":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8298":{"varMapping":{"__isSmartRef__":true,"id":8299},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":8300},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8299":{"this":{"__isSmartRef__":true,"id":8244}},"8300":{"timestamp":{"__isSmartRef__":true,"id":8301},"user":"sebastianwoinar","tags":[]},"8301":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"8302":{"varMapping":{"__isSmartRef__":true,"id":8303},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8304},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8303":{"this":{"__isSmartRef__":true,"id":8244}},"8304":{"timestamp":{"__isSmartRef__":true,"id":8305},"user":"sebastianwoinar","tags":[]},"8305":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"8306":{"varMapping":{"__isSmartRef__":true,"id":8307},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":8308},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8307":{"this":{"__isSmartRef__":true,"id":8244}},"8308":{"timestamp":{"__isSmartRef__":true,"id":8309},"user":"sebastianwoinar","tags":[]},"8309":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"8310":{"varMapping":{"__isSmartRef__":true,"id":8311},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":8312},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8311":{"this":{"__isSmartRef__":true,"id":8244}},"8312":{"timestamp":{"__isSmartRef__":true,"id":8313},"user":"sebastianwoinar","tags":[]},"8313":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"8314":{"varMapping":{"__isSmartRef__":true,"id":8315},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":8316},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8315":{"this":{"__isSmartRef__":true,"id":8244}},"8316":{"timestamp":{"__isSmartRef__":true,"id":8317},"user":"sebastianwoinar","tags":[]},"8317":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"8318":{"varMapping":{"__isSmartRef__":true,"id":8319},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":8320},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8319":{"this":{"__isSmartRef__":true,"id":8244}},"8320":{"timestamp":{"__isSmartRef__":true,"id":8321},"user":"sebastianwoinar","tags":[]},"8321":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"8322":{"varMapping":{"__isSmartRef__":true,"id":8323},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":8324},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8323":{"this":{"__isSmartRef__":true,"id":8244}},"8324":{"timestamp":{"__isSmartRef__":true,"id":8325},"user":"sebastianwoinar","tags":[]},"8325":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"8326":{"varMapping":{"__isSmartRef__":true,"id":8327},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":8328},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8327":{"this":{"__isSmartRef__":true,"id":8244}},"8328":{"timestamp":{"__isSmartRef__":true,"id":8329},"user":"sebastianwoinar","tags":[]},"8329":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"8330":{"varMapping":{"__isSmartRef__":true,"id":8331},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":8332},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8331":{"this":{"__isSmartRef__":true,"id":8244}},"8332":{"timestamp":{"__isSmartRef__":true,"id":8333},"user":"sebastianwoinar","tags":[]},"8333":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"8334":{"varMapping":{"__isSmartRef__":true,"id":8335},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":8340},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8335":{"this":{"__isSmartRef__":true,"id":8244},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8336}},"8336":{"$super":{"__isSmartRef__":true,"id":8337}},"8337":{"varMapping":{"__isSmartRef__":true,"id":8338},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8339},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8338":{"obj":{"__isSmartRef__":true,"id":8244},"name":"onMouseDown"},"8339":{},"8340":{"timestamp":{"__isSmartRef__":true,"id":8341},"user":"sebastianwoinar","tags":[]},"8341":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"8342":{"varMapping":{"__isSmartRef__":true,"id":8343},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":8344},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8343":{"this":{"__isSmartRef__":true,"id":8244}},"8344":{"timestamp":{"__isSmartRef__":true,"id":8345},"user":"sebastianwoinar","tags":[]},"8345":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"8346":{"varMapping":{"__isSmartRef__":true,"id":8347},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":8348},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8347":{"this":{"__isSmartRef__":true,"id":8244}},"8348":{"timestamp":{"__isSmartRef__":true,"id":8349},"user":"sebastianwoinar","tags":[]},"8349":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"8350":{"varMapping":{"__isSmartRef__":true,"id":8351},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8351":{"this":{"__isSmartRef__":true,"id":8244}},"8352":{"timestamp":{"__isSmartRef__":true,"id":8353},"user":"sebastianwoinar","tags":[]},"8353":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"8354":{"varMapping":{"__isSmartRef__":true,"id":8355},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":8356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8355":{"this":{"__isSmartRef__":true,"id":8244}},"8356":{"timestamp":{"__isSmartRef__":true,"id":8357},"user":"sebastianwoinar","tags":[]},"8357":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"8358":{"varMapping":{"__isSmartRef__":true,"id":8359},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":8360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8359":{"this":{"__isSmartRef__":true,"id":8244}},"8360":{"timestamp":{"__isSmartRef__":true,"id":8361},"user":"sebastianwoinar","tags":[]},"8361":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"8362":{"varMapping":{"__isSmartRef__":true,"id":8363},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8364},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8363":{"this":{"__isSmartRef__":true,"id":8244}},"8364":{"timestamp":{"__isSmartRef__":true,"id":8365},"user":"sebastianwoinar","tags":[]},"8365":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"8366":{"varMapping":{"__isSmartRef__":true,"id":8367},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":8368},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8367":{"this":{"__isSmartRef__":true,"id":8244}},"8368":{"timestamp":{"__isSmartRef__":true,"id":8369},"user":"sebastianwoinar","tags":[]},"8369":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"8370":{"varMapping":{"__isSmartRef__":true,"id":8371},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8371":{"this":{"__isSmartRef__":true,"id":8244}},"8372":{"timestamp":{"__isSmartRef__":true,"id":8373},"user":"sebastianwoinar","tags":[]},"8373":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"8374":{"submorphs":[{"__isSmartRef__":true,"id":8375}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8392},"id":"F6CD5307-5163-45FA-9BBF-E61EA6FAA198","eventHandler":{"__isSmartRef__":true,"id":8393},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":8394},"name":"node18","partsBinMetaInfo":{"__isSmartRef__":true,"id":8395},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6590},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":8090},"level":3,"abp":{"__isSmartRef__":true,"id":8398},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8399},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(489.3,210.0)"},"8375":{"submorphs":[],"scripts":[],"id":"29DBD3A7-17AF-4590-ADF9-7E33794D431B","shape":{"__isSmartRef__":true,"id":8376},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":8377},"textChunks":[{"__isSmartRef__":true,"id":8389}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":8391},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":8374},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"8376":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"8377":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":8378},{"__isSmartRef__":true,"id":8380},{"__isSmartRef__":true,"id":8382},{"__isSmartRef__":true,"id":8384},{"__isSmartRef__":true,"id":8386}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":8388},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8378":{"date":{"__isSmartRef__":true,"id":8379},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"8379":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"8380":{"date":{"__isSmartRef__":true,"id":8381},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"8381":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"8382":{"date":{"__isSmartRef__":true,"id":8383},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"8383":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"8384":{"date":{"__isSmartRef__":true,"id":8385},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"8385":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"8386":{"date":{"__isSmartRef__":true,"id":8387},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"8387":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"8388":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"8389":{"style":{"__isSmartRef__":true,"id":8390},"chunkOwner":{"__isSmartRef__":true,"id":8375},"_id":"_1540","storedString":"15","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8390":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8391":{"morph":{"__isSmartRef__":true,"id":8375},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8392":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"8393":{"morph":{"__isSmartRef__":true,"id":8374},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8394":{},"8395":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":8396}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8396":{"date":{"__isSmartRef__":true,"id":8397},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"8397":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"8398":{"isActive":true,"alpha":15,"beta":11,"i":0,"m":15,"origAlpha":-10000000000000,"d":0},"8399":{"buildChildNodes":{"__isSmartRef__":true,"id":8400},"getGameTree":{"__isSmartRef__":true,"id":8404},"getLevel":{"__isSmartRef__":true,"id":8408},"getLevelWeight":{"__isSmartRef__":true,"id":8412},"getWeight":{"__isSmartRef__":true,"id":8416},"setNode":{"__isSmartRef__":true,"id":8420},"setParent":{"__isSmartRef__":true,"id":8424},"getParent":{"__isSmartRef__":true,"id":8428},"deactivate":{"__isSmartRef__":true,"id":8432},"blink":{"__isSmartRef__":true,"id":8436},"ABPreturn":{"__isSmartRef__":true,"id":8440},"ABPstart":{"__isSmartRef__":true,"id":8444},"ABPcontinue":{"__isSmartRef__":true,"id":8448},"ABPshowValue":{"__isSmartRef__":true,"id":8452},"ABPgetValue":{"__isSmartRef__":true,"id":8456},"ABPhasChildNodes":{"__isSmartRef__":true,"id":8460},"onMouseDown":{"__isSmartRef__":true,"id":8464},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":8472},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":8476},"ABPmarkAsDone":{"__isSmartRef__":true,"id":8480},"ABPmarkAsActive":{"__isSmartRef__":true,"id":8484},"getStateMorph":{"__isSmartRef__":true,"id":8488},"showState":{"__isSmartRef__":true,"id":8492},"ABPfailHard":{"__isSmartRef__":true,"id":8496},"markFinalDrawWith":{"__isSmartRef__":true,"id":8500}},"8400":{"varMapping":{"__isSmartRef__":true,"id":8401},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":8402},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8401":{"this":{"__isSmartRef__":true,"id":8374}},"8402":{"timestamp":{"__isSmartRef__":true,"id":8403},"user":"sebastianwoinar","tags":[]},"8403":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"8404":{"varMapping":{"__isSmartRef__":true,"id":8405},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":8406},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8405":{"this":{"__isSmartRef__":true,"id":8374}},"8406":{"timestamp":{"__isSmartRef__":true,"id":8407},"user":"sebastianwoinar","tags":[]},"8407":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8408":{"varMapping":{"__isSmartRef__":true,"id":8409},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":8410},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8409":{"this":{"__isSmartRef__":true,"id":8374}},"8410":{"timestamp":{"__isSmartRef__":true,"id":8411},"user":"sebastianwoinar","tags":[]},"8411":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8412":{"varMapping":{"__isSmartRef__":true,"id":8413},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8414},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8413":{"this":{"__isSmartRef__":true,"id":8374}},"8414":{"timestamp":{"__isSmartRef__":true,"id":8415},"user":"sebastianwoinar","tags":[]},"8415":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8416":{"varMapping":{"__isSmartRef__":true,"id":8417},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":8418},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8417":{"this":{"__isSmartRef__":true,"id":8374}},"8418":{"timestamp":{"__isSmartRef__":true,"id":8419},"user":"sebastianwoinar","tags":[]},"8419":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8420":{"varMapping":{"__isSmartRef__":true,"id":8421},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":8422},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8421":{"this":{"__isSmartRef__":true,"id":8374}},"8422":{"timestamp":{"__isSmartRef__":true,"id":8423},"user":"sebastianwoinar","tags":[]},"8423":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8424":{"varMapping":{"__isSmartRef__":true,"id":8425},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":8426},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8425":{"this":{"__isSmartRef__":true,"id":8374}},"8426":{"timestamp":{"__isSmartRef__":true,"id":8427},"user":"sebastianwoinar","tags":[]},"8427":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8428":{"varMapping":{"__isSmartRef__":true,"id":8429},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":8430},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8429":{"this":{"__isSmartRef__":true,"id":8374}},"8430":{"timestamp":{"__isSmartRef__":true,"id":8431},"user":"sebastianwoinar","tags":[]},"8431":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"8432":{"varMapping":{"__isSmartRef__":true,"id":8433},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8434},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8433":{"this":{"__isSmartRef__":true,"id":8374}},"8434":{"timestamp":{"__isSmartRef__":true,"id":8435},"user":"sebastianwoinar","tags":[]},"8435":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"8436":{"varMapping":{"__isSmartRef__":true,"id":8437},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":8438},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8437":{"this":{"__isSmartRef__":true,"id":8374}},"8438":{"timestamp":{"__isSmartRef__":true,"id":8439},"user":"sebastianwoinar","tags":[]},"8439":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"8440":{"varMapping":{"__isSmartRef__":true,"id":8441},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":8442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8441":{"this":{"__isSmartRef__":true,"id":8374}},"8442":{"timestamp":{"__isSmartRef__":true,"id":8443},"user":"sebastianwoinar","tags":[]},"8443":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"8444":{"varMapping":{"__isSmartRef__":true,"id":8445},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":8446},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8445":{"this":{"__isSmartRef__":true,"id":8374}},"8446":{"timestamp":{"__isSmartRef__":true,"id":8447},"user":"sebastianwoinar","tags":[]},"8447":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"8448":{"varMapping":{"__isSmartRef__":true,"id":8449},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":8450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8449":{"this":{"__isSmartRef__":true,"id":8374}},"8450":{"timestamp":{"__isSmartRef__":true,"id":8451},"user":"sebastianwoinar","tags":[]},"8451":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"8452":{"varMapping":{"__isSmartRef__":true,"id":8453},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":8454},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8453":{"this":{"__isSmartRef__":true,"id":8374}},"8454":{"timestamp":{"__isSmartRef__":true,"id":8455},"user":"sebastianwoinar","tags":[]},"8455":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"8456":{"varMapping":{"__isSmartRef__":true,"id":8457},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":8458},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8457":{"this":{"__isSmartRef__":true,"id":8374}},"8458":{"timestamp":{"__isSmartRef__":true,"id":8459},"user":"sebastianwoinar","tags":[]},"8459":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"8460":{"varMapping":{"__isSmartRef__":true,"id":8461},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":8462},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8461":{"this":{"__isSmartRef__":true,"id":8374}},"8462":{"timestamp":{"__isSmartRef__":true,"id":8463},"user":"sebastianwoinar","tags":[]},"8463":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"8464":{"varMapping":{"__isSmartRef__":true,"id":8465},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":8470},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8465":{"this":{"__isSmartRef__":true,"id":8374},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8466}},"8466":{"$super":{"__isSmartRef__":true,"id":8467}},"8467":{"varMapping":{"__isSmartRef__":true,"id":8468},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8469},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8468":{"obj":{"__isSmartRef__":true,"id":8374},"name":"onMouseDown"},"8469":{},"8470":{"timestamp":{"__isSmartRef__":true,"id":8471},"user":"sebastianwoinar","tags":[]},"8471":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"8472":{"varMapping":{"__isSmartRef__":true,"id":8473},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":8474},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8473":{"this":{"__isSmartRef__":true,"id":8374}},"8474":{"timestamp":{"__isSmartRef__":true,"id":8475},"user":"sebastianwoinar","tags":[]},"8475":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"8476":{"varMapping":{"__isSmartRef__":true,"id":8477},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":8478},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8477":{"this":{"__isSmartRef__":true,"id":8374}},"8478":{"timestamp":{"__isSmartRef__":true,"id":8479},"user":"sebastianwoinar","tags":[]},"8479":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"8480":{"varMapping":{"__isSmartRef__":true,"id":8481},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8482},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8481":{"this":{"__isSmartRef__":true,"id":8374}},"8482":{"timestamp":{"__isSmartRef__":true,"id":8483},"user":"sebastianwoinar","tags":[]},"8483":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"8484":{"varMapping":{"__isSmartRef__":true,"id":8485},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":8486},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8485":{"this":{"__isSmartRef__":true,"id":8374}},"8486":{"timestamp":{"__isSmartRef__":true,"id":8487},"user":"sebastianwoinar","tags":[]},"8487":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"8488":{"varMapping":{"__isSmartRef__":true,"id":8489},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":8490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8489":{"this":{"__isSmartRef__":true,"id":8374}},"8490":{"timestamp":{"__isSmartRef__":true,"id":8491},"user":"sebastianwoinar","tags":[]},"8491":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"8492":{"varMapping":{"__isSmartRef__":true,"id":8493},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8494},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8493":{"this":{"__isSmartRef__":true,"id":8374}},"8494":{"timestamp":{"__isSmartRef__":true,"id":8495},"user":"sebastianwoinar","tags":[]},"8495":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"8496":{"varMapping":{"__isSmartRef__":true,"id":8497},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":8498},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8497":{"this":{"__isSmartRef__":true,"id":8374}},"8498":{"timestamp":{"__isSmartRef__":true,"id":8499},"user":"sebastianwoinar","tags":[]},"8499":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"8500":{"varMapping":{"__isSmartRef__":true,"id":8501},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8502},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8501":{"this":{"__isSmartRef__":true,"id":8374}},"8502":{"timestamp":{"__isSmartRef__":true,"id":8503},"user":"sebastianwoinar","tags":[]},"8503":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"8504":{"submorphs":[{"__isSmartRef__":true,"id":8505}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8522},"id":"C096ADBB-C6D0-429D-8C50-31DFDA0F6FCC","eventHandler":{"__isSmartRef__":true,"id":8523},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":8524},"name":"node19","partsBinMetaInfo":{"__isSmartRef__":true,"id":8525},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6592},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":8090},"level":3,"abp":{"__isSmartRef__":true,"id":8528},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8529},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(530.9,210.0)"},"8505":{"submorphs":[],"scripts":[],"id":"54AAF501-CACF-4BF2-A2B5-D679529B7F29","shape":{"__isSmartRef__":true,"id":8506},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":8507},"textChunks":[{"__isSmartRef__":true,"id":8519}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":8521},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":8504},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"8506":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"8507":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":8508},{"__isSmartRef__":true,"id":8510},{"__isSmartRef__":true,"id":8512},{"__isSmartRef__":true,"id":8514},{"__isSmartRef__":true,"id":8516}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":8518},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8508":{"date":{"__isSmartRef__":true,"id":8509},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"8509":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"8510":{"date":{"__isSmartRef__":true,"id":8511},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"8511":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"8512":{"date":{"__isSmartRef__":true,"id":8513},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"8513":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"8514":{"date":{"__isSmartRef__":true,"id":8515},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"8515":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"8516":{"date":{"__isSmartRef__":true,"id":8517},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"8517":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"8518":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"8519":{"style":{"__isSmartRef__":true,"id":8520},"chunkOwner":{"__isSmartRef__":true,"id":8505},"_id":"_1547","storedString":"25","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8520":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8521":{"morph":{"__isSmartRef__":true,"id":8505},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8522":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"8523":{"morph":{"__isSmartRef__":true,"id":8504},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8524":{},"8525":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":8526}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8526":{"date":{"__isSmartRef__":true,"id":8527},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"8527":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"8528":{"isActive":true,"alpha":25,"beta":11,"i":0,"m":25,"origAlpha":-10000000000000,"d":0},"8529":{"buildChildNodes":{"__isSmartRef__":true,"id":8530},"getGameTree":{"__isSmartRef__":true,"id":8534},"getLevel":{"__isSmartRef__":true,"id":8538},"getLevelWeight":{"__isSmartRef__":true,"id":8542},"getWeight":{"__isSmartRef__":true,"id":8546},"setNode":{"__isSmartRef__":true,"id":8550},"setParent":{"__isSmartRef__":true,"id":8554},"getParent":{"__isSmartRef__":true,"id":8558},"deactivate":{"__isSmartRef__":true,"id":8562},"blink":{"__isSmartRef__":true,"id":8566},"ABPreturn":{"__isSmartRef__":true,"id":8570},"ABPstart":{"__isSmartRef__":true,"id":8574},"ABPcontinue":{"__isSmartRef__":true,"id":8578},"ABPshowValue":{"__isSmartRef__":true,"id":8582},"ABPgetValue":{"__isSmartRef__":true,"id":8586},"ABPhasChildNodes":{"__isSmartRef__":true,"id":8590},"onMouseDown":{"__isSmartRef__":true,"id":8594},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":8602},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":8606},"ABPmarkAsDone":{"__isSmartRef__":true,"id":8610},"ABPmarkAsActive":{"__isSmartRef__":true,"id":8614},"getStateMorph":{"__isSmartRef__":true,"id":8618},"showState":{"__isSmartRef__":true,"id":8622},"ABPfailHard":{"__isSmartRef__":true,"id":8626},"markFinalDrawWith":{"__isSmartRef__":true,"id":8630}},"8530":{"varMapping":{"__isSmartRef__":true,"id":8531},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":8532},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8531":{"this":{"__isSmartRef__":true,"id":8504}},"8532":{"timestamp":{"__isSmartRef__":true,"id":8533},"user":"sebastianwoinar","tags":[]},"8533":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"8534":{"varMapping":{"__isSmartRef__":true,"id":8535},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":8536},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8535":{"this":{"__isSmartRef__":true,"id":8504}},"8536":{"timestamp":{"__isSmartRef__":true,"id":8537},"user":"sebastianwoinar","tags":[]},"8537":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8538":{"varMapping":{"__isSmartRef__":true,"id":8539},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":8540},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8539":{"this":{"__isSmartRef__":true,"id":8504}},"8540":{"timestamp":{"__isSmartRef__":true,"id":8541},"user":"sebastianwoinar","tags":[]},"8541":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8542":{"varMapping":{"__isSmartRef__":true,"id":8543},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8544},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8543":{"this":{"__isSmartRef__":true,"id":8504}},"8544":{"timestamp":{"__isSmartRef__":true,"id":8545},"user":"sebastianwoinar","tags":[]},"8545":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8546":{"varMapping":{"__isSmartRef__":true,"id":8547},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":8548},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8547":{"this":{"__isSmartRef__":true,"id":8504}},"8548":{"timestamp":{"__isSmartRef__":true,"id":8549},"user":"sebastianwoinar","tags":[]},"8549":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8550":{"varMapping":{"__isSmartRef__":true,"id":8551},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":8552},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8551":{"this":{"__isSmartRef__":true,"id":8504}},"8552":{"timestamp":{"__isSmartRef__":true,"id":8553},"user":"sebastianwoinar","tags":[]},"8553":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8554":{"varMapping":{"__isSmartRef__":true,"id":8555},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":8556},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8555":{"this":{"__isSmartRef__":true,"id":8504}},"8556":{"timestamp":{"__isSmartRef__":true,"id":8557},"user":"sebastianwoinar","tags":[]},"8557":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8558":{"varMapping":{"__isSmartRef__":true,"id":8559},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":8560},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8559":{"this":{"__isSmartRef__":true,"id":8504}},"8560":{"timestamp":{"__isSmartRef__":true,"id":8561},"user":"sebastianwoinar","tags":[]},"8561":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"8562":{"varMapping":{"__isSmartRef__":true,"id":8563},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8564},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8563":{"this":{"__isSmartRef__":true,"id":8504}},"8564":{"timestamp":{"__isSmartRef__":true,"id":8565},"user":"sebastianwoinar","tags":[]},"8565":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"8566":{"varMapping":{"__isSmartRef__":true,"id":8567},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":8568},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8567":{"this":{"__isSmartRef__":true,"id":8504}},"8568":{"timestamp":{"__isSmartRef__":true,"id":8569},"user":"sebastianwoinar","tags":[]},"8569":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"8570":{"varMapping":{"__isSmartRef__":true,"id":8571},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":8572},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8571":{"this":{"__isSmartRef__":true,"id":8504}},"8572":{"timestamp":{"__isSmartRef__":true,"id":8573},"user":"sebastianwoinar","tags":[]},"8573":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"8574":{"varMapping":{"__isSmartRef__":true,"id":8575},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":8576},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8575":{"this":{"__isSmartRef__":true,"id":8504}},"8576":{"timestamp":{"__isSmartRef__":true,"id":8577},"user":"sebastianwoinar","tags":[]},"8577":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"8578":{"varMapping":{"__isSmartRef__":true,"id":8579},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":8580},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8579":{"this":{"__isSmartRef__":true,"id":8504}},"8580":{"timestamp":{"__isSmartRef__":true,"id":8581},"user":"sebastianwoinar","tags":[]},"8581":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"8582":{"varMapping":{"__isSmartRef__":true,"id":8583},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":8584},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8583":{"this":{"__isSmartRef__":true,"id":8504}},"8584":{"timestamp":{"__isSmartRef__":true,"id":8585},"user":"sebastianwoinar","tags":[]},"8585":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"8586":{"varMapping":{"__isSmartRef__":true,"id":8587},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":8588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8587":{"this":{"__isSmartRef__":true,"id":8504}},"8588":{"timestamp":{"__isSmartRef__":true,"id":8589},"user":"sebastianwoinar","tags":[]},"8589":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"8590":{"varMapping":{"__isSmartRef__":true,"id":8591},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":8592},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8591":{"this":{"__isSmartRef__":true,"id":8504}},"8592":{"timestamp":{"__isSmartRef__":true,"id":8593},"user":"sebastianwoinar","tags":[]},"8593":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"8594":{"varMapping":{"__isSmartRef__":true,"id":8595},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":8600},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8595":{"this":{"__isSmartRef__":true,"id":8504},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8596}},"8596":{"$super":{"__isSmartRef__":true,"id":8597}},"8597":{"varMapping":{"__isSmartRef__":true,"id":8598},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8599},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8598":{"obj":{"__isSmartRef__":true,"id":8504},"name":"onMouseDown"},"8599":{},"8600":{"timestamp":{"__isSmartRef__":true,"id":8601},"user":"sebastianwoinar","tags":[]},"8601":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"8602":{"varMapping":{"__isSmartRef__":true,"id":8603},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":8604},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8603":{"this":{"__isSmartRef__":true,"id":8504}},"8604":{"timestamp":{"__isSmartRef__":true,"id":8605},"user":"sebastianwoinar","tags":[]},"8605":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"8606":{"varMapping":{"__isSmartRef__":true,"id":8607},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":8608},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8607":{"this":{"__isSmartRef__":true,"id":8504}},"8608":{"timestamp":{"__isSmartRef__":true,"id":8609},"user":"sebastianwoinar","tags":[]},"8609":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"8610":{"varMapping":{"__isSmartRef__":true,"id":8611},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8612},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8611":{"this":{"__isSmartRef__":true,"id":8504}},"8612":{"timestamp":{"__isSmartRef__":true,"id":8613},"user":"sebastianwoinar","tags":[]},"8613":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"8614":{"varMapping":{"__isSmartRef__":true,"id":8615},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":8616},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8615":{"this":{"__isSmartRef__":true,"id":8504}},"8616":{"timestamp":{"__isSmartRef__":true,"id":8617},"user":"sebastianwoinar","tags":[]},"8617":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"8618":{"varMapping":{"__isSmartRef__":true,"id":8619},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":8620},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8619":{"this":{"__isSmartRef__":true,"id":8504}},"8620":{"timestamp":{"__isSmartRef__":true,"id":8621},"user":"sebastianwoinar","tags":[]},"8621":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"8622":{"varMapping":{"__isSmartRef__":true,"id":8623},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8624},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8623":{"this":{"__isSmartRef__":true,"id":8504}},"8624":{"timestamp":{"__isSmartRef__":true,"id":8625},"user":"sebastianwoinar","tags":[]},"8625":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"8626":{"varMapping":{"__isSmartRef__":true,"id":8627},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":8628},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8627":{"this":{"__isSmartRef__":true,"id":8504}},"8628":{"timestamp":{"__isSmartRef__":true,"id":8629},"user":"sebastianwoinar","tags":[]},"8629":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"8630":{"varMapping":{"__isSmartRef__":true,"id":8631},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8632},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8631":{"this":{"__isSmartRef__":true,"id":8504}},"8632":{"timestamp":{"__isSmartRef__":true,"id":8633},"user":"sebastianwoinar","tags":[]},"8633":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"8634":{"isActive":true,"alpha":-11,"beta":10000000000000,"i":4,"m":-11,"origAlpha":-11,"d":0},"8635":{"buildChildNodes":{"__isSmartRef__":true,"id":8636},"getGameTree":{"__isSmartRef__":true,"id":8640},"getLevel":{"__isSmartRef__":true,"id":8644},"getLevelWeight":{"__isSmartRef__":true,"id":8648},"getWeight":{"__isSmartRef__":true,"id":8652},"setNode":{"__isSmartRef__":true,"id":8656},"setParent":{"__isSmartRef__":true,"id":8660},"getParent":{"__isSmartRef__":true,"id":8664},"deactivate":{"__isSmartRef__":true,"id":8668},"blink":{"__isSmartRef__":true,"id":8672},"ABPreturn":{"__isSmartRef__":true,"id":8676},"ABPstart":{"__isSmartRef__":true,"id":8680},"ABPcontinue":{"__isSmartRef__":true,"id":8684},"ABPshowValue":{"__isSmartRef__":true,"id":8688},"ABPgetValue":{"__isSmartRef__":true,"id":8692},"ABPhasChildNodes":{"__isSmartRef__":true,"id":8696},"onMouseDown":{"__isSmartRef__":true,"id":8700},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":8708},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":8712},"ABPmarkAsDone":{"__isSmartRef__":true,"id":8716},"ABPmarkAsActive":{"__isSmartRef__":true,"id":8720},"getStateMorph":{"__isSmartRef__":true,"id":8724},"showState":{"__isSmartRef__":true,"id":8728},"ABPfailHard":{"__isSmartRef__":true,"id":8732},"markFinalDrawWith":{"__isSmartRef__":true,"id":8736}},"8636":{"varMapping":{"__isSmartRef__":true,"id":8637},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":8638},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8637":{"this":{"__isSmartRef__":true,"id":8090}},"8638":{"timestamp":{"__isSmartRef__":true,"id":8639},"user":"sebastianwoinar","tags":[]},"8639":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"8640":{"varMapping":{"__isSmartRef__":true,"id":8641},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":8642},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8641":{"this":{"__isSmartRef__":true,"id":8090}},"8642":{"timestamp":{"__isSmartRef__":true,"id":8643},"user":"sebastianwoinar","tags":[]},"8643":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8644":{"varMapping":{"__isSmartRef__":true,"id":8645},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":8646},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8645":{"this":{"__isSmartRef__":true,"id":8090}},"8646":{"timestamp":{"__isSmartRef__":true,"id":8647},"user":"sebastianwoinar","tags":[]},"8647":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8648":{"varMapping":{"__isSmartRef__":true,"id":8649},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8650},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8649":{"this":{"__isSmartRef__":true,"id":8090}},"8650":{"timestamp":{"__isSmartRef__":true,"id":8651},"user":"sebastianwoinar","tags":[]},"8651":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8652":{"varMapping":{"__isSmartRef__":true,"id":8653},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":8654},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8653":{"this":{"__isSmartRef__":true,"id":8090}},"8654":{"timestamp":{"__isSmartRef__":true,"id":8655},"user":"sebastianwoinar","tags":[]},"8655":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8656":{"varMapping":{"__isSmartRef__":true,"id":8657},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":8658},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8657":{"this":{"__isSmartRef__":true,"id":8090}},"8658":{"timestamp":{"__isSmartRef__":true,"id":8659},"user":"sebastianwoinar","tags":[]},"8659":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8660":{"varMapping":{"__isSmartRef__":true,"id":8661},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":8662},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8661":{"this":{"__isSmartRef__":true,"id":8090}},"8662":{"timestamp":{"__isSmartRef__":true,"id":8663},"user":"sebastianwoinar","tags":[]},"8663":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8664":{"varMapping":{"__isSmartRef__":true,"id":8665},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":8666},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8665":{"this":{"__isSmartRef__":true,"id":8090}},"8666":{"timestamp":{"__isSmartRef__":true,"id":8667},"user":"sebastianwoinar","tags":[]},"8667":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"8668":{"varMapping":{"__isSmartRef__":true,"id":8669},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8670},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8669":{"this":{"__isSmartRef__":true,"id":8090}},"8670":{"timestamp":{"__isSmartRef__":true,"id":8671},"user":"sebastianwoinar","tags":[]},"8671":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"8672":{"varMapping":{"__isSmartRef__":true,"id":8673},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":8674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8673":{"this":{"__isSmartRef__":true,"id":8090}},"8674":{"timestamp":{"__isSmartRef__":true,"id":8675},"user":"sebastianwoinar","tags":[]},"8675":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"8676":{"varMapping":{"__isSmartRef__":true,"id":8677},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":8678},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8677":{"this":{"__isSmartRef__":true,"id":8090}},"8678":{"timestamp":{"__isSmartRef__":true,"id":8679},"user":"sebastianwoinar","tags":[]},"8679":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"8680":{"varMapping":{"__isSmartRef__":true,"id":8681},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":8682},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8681":{"this":{"__isSmartRef__":true,"id":8090}},"8682":{"timestamp":{"__isSmartRef__":true,"id":8683},"user":"sebastianwoinar","tags":[]},"8683":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"8684":{"varMapping":{"__isSmartRef__":true,"id":8685},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":8686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8685":{"this":{"__isSmartRef__":true,"id":8090}},"8686":{"timestamp":{"__isSmartRef__":true,"id":8687},"user":"sebastianwoinar","tags":[]},"8687":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"8688":{"varMapping":{"__isSmartRef__":true,"id":8689},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":8690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8689":{"this":{"__isSmartRef__":true,"id":8090}},"8690":{"timestamp":{"__isSmartRef__":true,"id":8691},"user":"sebastianwoinar","tags":[]},"8691":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"8692":{"varMapping":{"__isSmartRef__":true,"id":8693},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":8694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8693":{"this":{"__isSmartRef__":true,"id":8090}},"8694":{"timestamp":{"__isSmartRef__":true,"id":8695},"user":"sebastianwoinar","tags":[]},"8695":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"8696":{"varMapping":{"__isSmartRef__":true,"id":8697},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":8698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8697":{"this":{"__isSmartRef__":true,"id":8090}},"8698":{"timestamp":{"__isSmartRef__":true,"id":8699},"user":"sebastianwoinar","tags":[]},"8699":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"8700":{"varMapping":{"__isSmartRef__":true,"id":8701},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":8706},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8701":{"this":{"__isSmartRef__":true,"id":8090},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8702}},"8702":{"$super":{"__isSmartRef__":true,"id":8703}},"8703":{"varMapping":{"__isSmartRef__":true,"id":8704},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8705},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8704":{"obj":{"__isSmartRef__":true,"id":8090},"name":"onMouseDown"},"8705":{},"8706":{"timestamp":{"__isSmartRef__":true,"id":8707},"user":"sebastianwoinar","tags":[]},"8707":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"8708":{"varMapping":{"__isSmartRef__":true,"id":8709},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":8710},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8709":{"this":{"__isSmartRef__":true,"id":8090}},"8710":{"timestamp":{"__isSmartRef__":true,"id":8711},"user":"sebastianwoinar","tags":[]},"8711":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"8712":{"varMapping":{"__isSmartRef__":true,"id":8713},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":8714},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8713":{"this":{"__isSmartRef__":true,"id":8090}},"8714":{"timestamp":{"__isSmartRef__":true,"id":8715},"user":"sebastianwoinar","tags":[]},"8715":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"8716":{"varMapping":{"__isSmartRef__":true,"id":8717},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8717":{"this":{"__isSmartRef__":true,"id":8090}},"8718":{"timestamp":{"__isSmartRef__":true,"id":8719},"user":"sebastianwoinar","tags":[]},"8719":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"8720":{"varMapping":{"__isSmartRef__":true,"id":8721},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":8722},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8721":{"this":{"__isSmartRef__":true,"id":8090}},"8722":{"timestamp":{"__isSmartRef__":true,"id":8723},"user":"sebastianwoinar","tags":[]},"8723":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"8724":{"varMapping":{"__isSmartRef__":true,"id":8725},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":8726},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8725":{"this":{"__isSmartRef__":true,"id":8090}},"8726":{"timestamp":{"__isSmartRef__":true,"id":8727},"user":"sebastianwoinar","tags":[]},"8727":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"8728":{"varMapping":{"__isSmartRef__":true,"id":8729},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8730},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8729":{"this":{"__isSmartRef__":true,"id":8090}},"8730":{"timestamp":{"__isSmartRef__":true,"id":8731},"user":"sebastianwoinar","tags":[]},"8731":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"8732":{"varMapping":{"__isSmartRef__":true,"id":8733},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":8734},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8733":{"this":{"__isSmartRef__":true,"id":8090}},"8734":{"timestamp":{"__isSmartRef__":true,"id":8735},"user":"sebastianwoinar","tags":[]},"8735":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"8736":{"varMapping":{"__isSmartRef__":true,"id":8737},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8738},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8737":{"this":{"__isSmartRef__":true,"id":8090}},"8738":{"timestamp":{"__isSmartRef__":true,"id":8739},"user":"sebastianwoinar","tags":[]},"8739":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"8740":{"isActive":true,"alpha":11,"beta":11,"i":1,"m":11,"origAlpha":-10000000000000,"d":0},"8741":{"buildChildNodes":{"__isSmartRef__":true,"id":8742},"getGameTree":{"__isSmartRef__":true,"id":8746},"getLevel":{"__isSmartRef__":true,"id":8750},"getLevelWeight":{"__isSmartRef__":true,"id":8754},"getWeight":{"__isSmartRef__":true,"id":8758},"setNode":{"__isSmartRef__":true,"id":8762},"setParent":{"__isSmartRef__":true,"id":8766},"getParent":{"__isSmartRef__":true,"id":8770},"deactivate":{"__isSmartRef__":true,"id":8774},"blink":{"__isSmartRef__":true,"id":8778},"ABPreturn":{"__isSmartRef__":true,"id":8782},"ABPstart":{"__isSmartRef__":true,"id":8786},"ABPcontinue":{"__isSmartRef__":true,"id":8790},"ABPshowValue":{"__isSmartRef__":true,"id":8794},"ABPgetValue":{"__isSmartRef__":true,"id":8798},"ABPhasChildNodes":{"__isSmartRef__":true,"id":8802},"onMouseDown":{"__isSmartRef__":true,"id":8806},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":8814},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":8818},"ABPmarkAsDone":{"__isSmartRef__":true,"id":8822},"ABPmarkAsActive":{"__isSmartRef__":true,"id":8826},"getStateMorph":{"__isSmartRef__":true,"id":8830},"showState":{"__isSmartRef__":true,"id":8834},"ABPfailHard":{"__isSmartRef__":true,"id":8838},"markFinalDrawWith":{"__isSmartRef__":true,"id":8842}},"8742":{"varMapping":{"__isSmartRef__":true,"id":8743},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":8744},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8743":{"this":{"__isSmartRef__":true,"id":8066}},"8744":{"timestamp":{"__isSmartRef__":true,"id":8745},"user":"sebastianwoinar","tags":[]},"8745":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"8746":{"varMapping":{"__isSmartRef__":true,"id":8747},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":8748},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8747":{"this":{"__isSmartRef__":true,"id":8066}},"8748":{"timestamp":{"__isSmartRef__":true,"id":8749},"user":"sebastianwoinar","tags":[]},"8749":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8750":{"varMapping":{"__isSmartRef__":true,"id":8751},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":8752},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8751":{"this":{"__isSmartRef__":true,"id":8066}},"8752":{"timestamp":{"__isSmartRef__":true,"id":8753},"user":"sebastianwoinar","tags":[]},"8753":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8754":{"varMapping":{"__isSmartRef__":true,"id":8755},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8756},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8755":{"this":{"__isSmartRef__":true,"id":8066}},"8756":{"timestamp":{"__isSmartRef__":true,"id":8757},"user":"sebastianwoinar","tags":[]},"8757":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8758":{"varMapping":{"__isSmartRef__":true,"id":8759},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":8760},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8759":{"this":{"__isSmartRef__":true,"id":8066}},"8760":{"timestamp":{"__isSmartRef__":true,"id":8761},"user":"sebastianwoinar","tags":[]},"8761":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8762":{"varMapping":{"__isSmartRef__":true,"id":8763},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":8764},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8763":{"this":{"__isSmartRef__":true,"id":8066}},"8764":{"timestamp":{"__isSmartRef__":true,"id":8765},"user":"sebastianwoinar","tags":[]},"8765":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8766":{"varMapping":{"__isSmartRef__":true,"id":8767},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":8768},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8767":{"this":{"__isSmartRef__":true,"id":8066}},"8768":{"timestamp":{"__isSmartRef__":true,"id":8769},"user":"sebastianwoinar","tags":[]},"8769":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8770":{"varMapping":{"__isSmartRef__":true,"id":8771},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":8772},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8771":{"this":{"__isSmartRef__":true,"id":8066}},"8772":{"timestamp":{"__isSmartRef__":true,"id":8773},"user":"sebastianwoinar","tags":[]},"8773":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"8774":{"varMapping":{"__isSmartRef__":true,"id":8775},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8776},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8775":{"this":{"__isSmartRef__":true,"id":8066}},"8776":{"timestamp":{"__isSmartRef__":true,"id":8777},"user":"sebastianwoinar","tags":[]},"8777":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"8778":{"varMapping":{"__isSmartRef__":true,"id":8779},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":8780},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8779":{"this":{"__isSmartRef__":true,"id":8066}},"8780":{"timestamp":{"__isSmartRef__":true,"id":8781},"user":"sebastianwoinar","tags":[]},"8781":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"8782":{"varMapping":{"__isSmartRef__":true,"id":8783},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":8784},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8783":{"this":{"__isSmartRef__":true,"id":8066}},"8784":{"timestamp":{"__isSmartRef__":true,"id":8785},"user":"sebastianwoinar","tags":[]},"8785":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"8786":{"varMapping":{"__isSmartRef__":true,"id":8787},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":8788},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8787":{"this":{"__isSmartRef__":true,"id":8066}},"8788":{"timestamp":{"__isSmartRef__":true,"id":8789},"user":"sebastianwoinar","tags":[]},"8789":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"8790":{"varMapping":{"__isSmartRef__":true,"id":8791},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":8792},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8791":{"this":{"__isSmartRef__":true,"id":8066}},"8792":{"timestamp":{"__isSmartRef__":true,"id":8793},"user":"sebastianwoinar","tags":[]},"8793":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"8794":{"varMapping":{"__isSmartRef__":true,"id":8795},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":8796},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8795":{"this":{"__isSmartRef__":true,"id":8066}},"8796":{"timestamp":{"__isSmartRef__":true,"id":8797},"user":"sebastianwoinar","tags":[]},"8797":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"8798":{"varMapping":{"__isSmartRef__":true,"id":8799},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":8800},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8799":{"this":{"__isSmartRef__":true,"id":8066}},"8800":{"timestamp":{"__isSmartRef__":true,"id":8801},"user":"sebastianwoinar","tags":[]},"8801":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"8802":{"varMapping":{"__isSmartRef__":true,"id":8803},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":8804},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8803":{"this":{"__isSmartRef__":true,"id":8066}},"8804":{"timestamp":{"__isSmartRef__":true,"id":8805},"user":"sebastianwoinar","tags":[]},"8805":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"8806":{"varMapping":{"__isSmartRef__":true,"id":8807},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":8812},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8807":{"this":{"__isSmartRef__":true,"id":8066},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8808}},"8808":{"$super":{"__isSmartRef__":true,"id":8809}},"8809":{"varMapping":{"__isSmartRef__":true,"id":8810},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8811},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8810":{"obj":{"__isSmartRef__":true,"id":8066},"name":"onMouseDown"},"8811":{},"8812":{"timestamp":{"__isSmartRef__":true,"id":8813},"user":"sebastianwoinar","tags":[]},"8813":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"8814":{"varMapping":{"__isSmartRef__":true,"id":8815},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":8816},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8815":{"this":{"__isSmartRef__":true,"id":8066}},"8816":{"timestamp":{"__isSmartRef__":true,"id":8817},"user":"sebastianwoinar","tags":[]},"8817":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"8818":{"varMapping":{"__isSmartRef__":true,"id":8819},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":8820},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8819":{"this":{"__isSmartRef__":true,"id":8066}},"8820":{"timestamp":{"__isSmartRef__":true,"id":8821},"user":"sebastianwoinar","tags":[]},"8821":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"8822":{"varMapping":{"__isSmartRef__":true,"id":8823},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8824},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8823":{"this":{"__isSmartRef__":true,"id":8066}},"8824":{"timestamp":{"__isSmartRef__":true,"id":8825},"user":"sebastianwoinar","tags":[]},"8825":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"8826":{"varMapping":{"__isSmartRef__":true,"id":8827},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":8828},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8827":{"this":{"__isSmartRef__":true,"id":8066}},"8828":{"timestamp":{"__isSmartRef__":true,"id":8829},"user":"sebastianwoinar","tags":[]},"8829":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"8830":{"varMapping":{"__isSmartRef__":true,"id":8831},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":8832},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8831":{"this":{"__isSmartRef__":true,"id":8066}},"8832":{"timestamp":{"__isSmartRef__":true,"id":8833},"user":"sebastianwoinar","tags":[]},"8833":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"8834":{"varMapping":{"__isSmartRef__":true,"id":8835},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8836},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8835":{"this":{"__isSmartRef__":true,"id":8066}},"8836":{"timestamp":{"__isSmartRef__":true,"id":8837},"user":"sebastianwoinar","tags":[]},"8837":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"8838":{"varMapping":{"__isSmartRef__":true,"id":8839},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":8840},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8839":{"this":{"__isSmartRef__":true,"id":8066}},"8840":{"timestamp":{"__isSmartRef__":true,"id":8841},"user":"sebastianwoinar","tags":[]},"8841":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"8842":{"varMapping":{"__isSmartRef__":true,"id":8843},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8844},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8843":{"this":{"__isSmartRef__":true,"id":8066}},"8844":{"timestamp":{"__isSmartRef__":true,"id":8845},"user":"sebastianwoinar","tags":[]},"8845":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"8846":{"submorphs":[{"__isSmartRef__":true,"id":8847}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8864},"id":"00812F3D-79C0-4FC7-B6F3-D47691A023C0","eventHandler":{"__isSmartRef__":true,"id":8865},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":8866},"name":"node20","partsBinMetaInfo":{"__isSmartRef__":true,"id":8867},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6594},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":8870},{"__isSmartRef__":true,"id":9390}],"parent":{"__isSmartRef__":true,"id":6534},"level":1,"abp":{"__isSmartRef__":true,"id":9906},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9907},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(593.4,110.0)"},"8847":{"submorphs":[],"scripts":[],"id":"61406888-4AA7-4160-8635-7015595B6963","shape":{"__isSmartRef__":true,"id":8848},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":8849},"textChunks":[{"__isSmartRef__":true,"id":8861}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":8863},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":8846},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)","_TextColor":"Color.rgb(204,0,0)"},"8848":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"8849":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":8850},{"__isSmartRef__":true,"id":8852},{"__isSmartRef__":true,"id":8854},{"__isSmartRef__":true,"id":8856},{"__isSmartRef__":true,"id":8858}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":8860},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8850":{"date":{"__isSmartRef__":true,"id":8851},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"8851":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"8852":{"date":{"__isSmartRef__":true,"id":8853},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"8853":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"8854":{"date":{"__isSmartRef__":true,"id":8855},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"8855":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"8856":{"date":{"__isSmartRef__":true,"id":8857},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"8857":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"8858":{"date":{"__isSmartRef__":true,"id":8859},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"8859":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"8860":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"8861":{"style":{"__isSmartRef__":true,"id":8862},"chunkOwner":{"__isSmartRef__":true,"id":8847},"_id":"_1592","storedString":"11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8862":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8863":{"morph":{"__isSmartRef__":true,"id":8847},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8864":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"8865":{"morph":{"__isSmartRef__":true,"id":8846},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8866":{},"8867":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":8868}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8868":{"date":{"__isSmartRef__":true,"id":8869},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"8869":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"8870":{"submorphs":[{"__isSmartRef__":true,"id":8871}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8888},"id":"14D26523-9E32-4C06-89F6-B2A1E601729D","eventHandler":{"__isSmartRef__":true,"id":8889},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":8890},"name":"node21","partsBinMetaInfo":{"__isSmartRef__":true,"id":8891},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6596},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":8894},{"__isSmartRef__":true,"id":9024},{"__isSmartRef__":true,"id":9154}],"parent":{"__isSmartRef__":true,"id":8846},"level":2,"abp":{"__isSmartRef__":true,"id":9284},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9285},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(593.4,160.0)"},"8871":{"submorphs":[],"scripts":[],"id":"0543B02D-7B2A-448C-8917-C6F089E924E6","shape":{"__isSmartRef__":true,"id":8872},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":8873},"textChunks":[{"__isSmartRef__":true,"id":8885}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":8887},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":8870},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)","_TextColor":"Color.rgb(0,0,204)"},"8872":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"8873":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":8874},{"__isSmartRef__":true,"id":8876},{"__isSmartRef__":true,"id":8878},{"__isSmartRef__":true,"id":8880},{"__isSmartRef__":true,"id":8882}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":8884},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8874":{"date":{"__isSmartRef__":true,"id":8875},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"8875":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"8876":{"date":{"__isSmartRef__":true,"id":8877},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"8877":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"8878":{"date":{"__isSmartRef__":true,"id":8879},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"8879":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"8880":{"date":{"__isSmartRef__":true,"id":8881},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"8881":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"8882":{"date":{"__isSmartRef__":true,"id":8883},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"8883":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"8884":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"8885":{"style":{"__isSmartRef__":true,"id":8886},"chunkOwner":{"__isSmartRef__":true,"id":8871},"_id":"_1586","storedString":"-11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8886":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8887":{"morph":{"__isSmartRef__":true,"id":8871},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8888":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"8889":{"morph":{"__isSmartRef__":true,"id":8870},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8890":{},"8891":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":8892}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8892":{"date":{"__isSmartRef__":true,"id":8893},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"8893":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"8894":{"submorphs":[{"__isSmartRef__":true,"id":8895}],"scripts":[],"shape":{"__isSmartRef__":true,"id":8912},"id":"D0303521-3EEF-4319-81E5-66EA55D898CB","eventHandler":{"__isSmartRef__":true,"id":8913},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":8914},"name":"node22","partsBinMetaInfo":{"__isSmartRef__":true,"id":8915},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6598},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":8870},"level":3,"abp":{"__isSmartRef__":true,"id":8918},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8919},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(572.5,210.0)"},"8895":{"submorphs":[],"scripts":[],"id":"73A66251-E788-4D87-8E43-3096C0DE2416","shape":{"__isSmartRef__":true,"id":8896},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":8897},"textChunks":[{"__isSmartRef__":true,"id":8909}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":8911},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":8894},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"8896":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"8897":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":8898},{"__isSmartRef__":true,"id":8900},{"__isSmartRef__":true,"id":8902},{"__isSmartRef__":true,"id":8904},{"__isSmartRef__":true,"id":8906}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":8908},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8898":{"date":{"__isSmartRef__":true,"id":8899},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"8899":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"8900":{"date":{"__isSmartRef__":true,"id":8901},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"8901":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"8902":{"date":{"__isSmartRef__":true,"id":8903},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"8903":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"8904":{"date":{"__isSmartRef__":true,"id":8905},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"8905":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"8906":{"date":{"__isSmartRef__":true,"id":8907},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"8907":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"8908":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"8909":{"style":{"__isSmartRef__":true,"id":8910},"chunkOwner":{"__isSmartRef__":true,"id":8895},"_id":"_1567","storedString":"13","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8910":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8911":{"morph":{"__isSmartRef__":true,"id":8895},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8912":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"8913":{"morph":{"__isSmartRef__":true,"id":8894},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8914":{},"8915":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":8916}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"8916":{"date":{"__isSmartRef__":true,"id":8917},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"8917":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"8918":{"isActive":true,"alpha":13,"beta":11,"i":0,"m":13,"origAlpha":-10000000000000,"d":0},"8919":{"buildChildNodes":{"__isSmartRef__":true,"id":8920},"getGameTree":{"__isSmartRef__":true,"id":8924},"getLevel":{"__isSmartRef__":true,"id":8928},"getLevelWeight":{"__isSmartRef__":true,"id":8932},"getWeight":{"__isSmartRef__":true,"id":8936},"setNode":{"__isSmartRef__":true,"id":8940},"setParent":{"__isSmartRef__":true,"id":8944},"getParent":{"__isSmartRef__":true,"id":8948},"deactivate":{"__isSmartRef__":true,"id":8952},"blink":{"__isSmartRef__":true,"id":8956},"ABPreturn":{"__isSmartRef__":true,"id":8960},"ABPstart":{"__isSmartRef__":true,"id":8964},"ABPcontinue":{"__isSmartRef__":true,"id":8968},"ABPshowValue":{"__isSmartRef__":true,"id":8972},"ABPgetValue":{"__isSmartRef__":true,"id":8976},"ABPhasChildNodes":{"__isSmartRef__":true,"id":8980},"onMouseDown":{"__isSmartRef__":true,"id":8984},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":8992},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":8996},"ABPmarkAsDone":{"__isSmartRef__":true,"id":9000},"ABPmarkAsActive":{"__isSmartRef__":true,"id":9004},"getStateMorph":{"__isSmartRef__":true,"id":9008},"showState":{"__isSmartRef__":true,"id":9012},"ABPfailHard":{"__isSmartRef__":true,"id":9016},"markFinalDrawWith":{"__isSmartRef__":true,"id":9020}},"8920":{"varMapping":{"__isSmartRef__":true,"id":8921},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":8922},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8921":{"this":{"__isSmartRef__":true,"id":8894}},"8922":{"timestamp":{"__isSmartRef__":true,"id":8923},"user":"sebastianwoinar","tags":[]},"8923":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"8924":{"varMapping":{"__isSmartRef__":true,"id":8925},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":8926},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8925":{"this":{"__isSmartRef__":true,"id":8894}},"8926":{"timestamp":{"__isSmartRef__":true,"id":8927},"user":"sebastianwoinar","tags":[]},"8927":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8928":{"varMapping":{"__isSmartRef__":true,"id":8929},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":8930},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8929":{"this":{"__isSmartRef__":true,"id":8894}},"8930":{"timestamp":{"__isSmartRef__":true,"id":8931},"user":"sebastianwoinar","tags":[]},"8931":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8932":{"varMapping":{"__isSmartRef__":true,"id":8933},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":8934},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8933":{"this":{"__isSmartRef__":true,"id":8894}},"8934":{"timestamp":{"__isSmartRef__":true,"id":8935},"user":"sebastianwoinar","tags":[]},"8935":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8936":{"varMapping":{"__isSmartRef__":true,"id":8937},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":8938},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8937":{"this":{"__isSmartRef__":true,"id":8894}},"8938":{"timestamp":{"__isSmartRef__":true,"id":8939},"user":"sebastianwoinar","tags":[]},"8939":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8940":{"varMapping":{"__isSmartRef__":true,"id":8941},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":8942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8941":{"this":{"__isSmartRef__":true,"id":8894}},"8942":{"timestamp":{"__isSmartRef__":true,"id":8943},"user":"sebastianwoinar","tags":[]},"8943":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8944":{"varMapping":{"__isSmartRef__":true,"id":8945},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":8946},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8945":{"this":{"__isSmartRef__":true,"id":8894}},"8946":{"timestamp":{"__isSmartRef__":true,"id":8947},"user":"sebastianwoinar","tags":[]},"8947":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"8948":{"varMapping":{"__isSmartRef__":true,"id":8949},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":8950},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8949":{"this":{"__isSmartRef__":true,"id":8894}},"8950":{"timestamp":{"__isSmartRef__":true,"id":8951},"user":"sebastianwoinar","tags":[]},"8951":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"8952":{"varMapping":{"__isSmartRef__":true,"id":8953},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":8954},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8953":{"this":{"__isSmartRef__":true,"id":8894}},"8954":{"timestamp":{"__isSmartRef__":true,"id":8955},"user":"sebastianwoinar","tags":[]},"8955":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"8956":{"varMapping":{"__isSmartRef__":true,"id":8957},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":8958},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8957":{"this":{"__isSmartRef__":true,"id":8894}},"8958":{"timestamp":{"__isSmartRef__":true,"id":8959},"user":"sebastianwoinar","tags":[]},"8959":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"8960":{"varMapping":{"__isSmartRef__":true,"id":8961},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":8962},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8961":{"this":{"__isSmartRef__":true,"id":8894}},"8962":{"timestamp":{"__isSmartRef__":true,"id":8963},"user":"sebastianwoinar","tags":[]},"8963":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"8964":{"varMapping":{"__isSmartRef__":true,"id":8965},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":8966},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8965":{"this":{"__isSmartRef__":true,"id":8894}},"8966":{"timestamp":{"__isSmartRef__":true,"id":8967},"user":"sebastianwoinar","tags":[]},"8967":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"8968":{"varMapping":{"__isSmartRef__":true,"id":8969},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":8970},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8969":{"this":{"__isSmartRef__":true,"id":8894}},"8970":{"timestamp":{"__isSmartRef__":true,"id":8971},"user":"sebastianwoinar","tags":[]},"8971":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"8972":{"varMapping":{"__isSmartRef__":true,"id":8973},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":8974},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8973":{"this":{"__isSmartRef__":true,"id":8894}},"8974":{"timestamp":{"__isSmartRef__":true,"id":8975},"user":"sebastianwoinar","tags":[]},"8975":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"8976":{"varMapping":{"__isSmartRef__":true,"id":8977},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":8978},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8977":{"this":{"__isSmartRef__":true,"id":8894}},"8978":{"timestamp":{"__isSmartRef__":true,"id":8979},"user":"sebastianwoinar","tags":[]},"8979":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"8980":{"varMapping":{"__isSmartRef__":true,"id":8981},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":8982},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8981":{"this":{"__isSmartRef__":true,"id":8894}},"8982":{"timestamp":{"__isSmartRef__":true,"id":8983},"user":"sebastianwoinar","tags":[]},"8983":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"8984":{"varMapping":{"__isSmartRef__":true,"id":8985},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":8990},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8985":{"this":{"__isSmartRef__":true,"id":8894},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":8986}},"8986":{"$super":{"__isSmartRef__":true,"id":8987}},"8987":{"varMapping":{"__isSmartRef__":true,"id":8988},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":8989},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8988":{"obj":{"__isSmartRef__":true,"id":8894},"name":"onMouseDown"},"8989":{},"8990":{"timestamp":{"__isSmartRef__":true,"id":8991},"user":"sebastianwoinar","tags":[]},"8991":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"8992":{"varMapping":{"__isSmartRef__":true,"id":8993},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":8994},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8993":{"this":{"__isSmartRef__":true,"id":8894}},"8994":{"timestamp":{"__isSmartRef__":true,"id":8995},"user":"sebastianwoinar","tags":[]},"8995":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"8996":{"varMapping":{"__isSmartRef__":true,"id":8997},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":8998},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"8997":{"this":{"__isSmartRef__":true,"id":8894}},"8998":{"timestamp":{"__isSmartRef__":true,"id":8999},"user":"sebastianwoinar","tags":[]},"8999":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"9000":{"varMapping":{"__isSmartRef__":true,"id":9001},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9002},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9001":{"this":{"__isSmartRef__":true,"id":8894}},"9002":{"timestamp":{"__isSmartRef__":true,"id":9003},"user":"sebastianwoinar","tags":[]},"9003":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"9004":{"varMapping":{"__isSmartRef__":true,"id":9005},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":9006},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9005":{"this":{"__isSmartRef__":true,"id":8894}},"9006":{"timestamp":{"__isSmartRef__":true,"id":9007},"user":"sebastianwoinar","tags":[]},"9007":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"9008":{"varMapping":{"__isSmartRef__":true,"id":9009},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":9010},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9009":{"this":{"__isSmartRef__":true,"id":8894}},"9010":{"timestamp":{"__isSmartRef__":true,"id":9011},"user":"sebastianwoinar","tags":[]},"9011":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"9012":{"varMapping":{"__isSmartRef__":true,"id":9013},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9014},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9013":{"this":{"__isSmartRef__":true,"id":8894}},"9014":{"timestamp":{"__isSmartRef__":true,"id":9015},"user":"sebastianwoinar","tags":[]},"9015":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"9016":{"varMapping":{"__isSmartRef__":true,"id":9017},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":9018},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9017":{"this":{"__isSmartRef__":true,"id":8894}},"9018":{"timestamp":{"__isSmartRef__":true,"id":9019},"user":"sebastianwoinar","tags":[]},"9019":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"9020":{"varMapping":{"__isSmartRef__":true,"id":9021},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9022},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9021":{"this":{"__isSmartRef__":true,"id":8894}},"9022":{"timestamp":{"__isSmartRef__":true,"id":9023},"user":"sebastianwoinar","tags":[]},"9023":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"9024":{"submorphs":[{"__isSmartRef__":true,"id":9025}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9042},"id":"29709577-579A-4F37-958B-6DB4BB016BAF","eventHandler":{"__isSmartRef__":true,"id":9043},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":9044},"name":"node23","partsBinMetaInfo":{"__isSmartRef__":true,"id":9045},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6600},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":8870},"level":3,"abp":{"__isSmartRef__":true,"id":9048},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9049},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(614.2,210.0)"},"9025":{"submorphs":[],"scripts":[],"id":"0DF716FA-9120-4B78-B62A-D3B8B506654D","shape":{"__isSmartRef__":true,"id":9026},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":9027},"textChunks":[{"__isSmartRef__":true,"id":9039}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":9041},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":9024},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"9026":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"9027":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":9028},{"__isSmartRef__":true,"id":9030},{"__isSmartRef__":true,"id":9032},{"__isSmartRef__":true,"id":9034},{"__isSmartRef__":true,"id":9036}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":9038},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9028":{"date":{"__isSmartRef__":true,"id":9029},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"9029":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"9030":{"date":{"__isSmartRef__":true,"id":9031},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"9031":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"9032":{"date":{"__isSmartRef__":true,"id":9033},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"9033":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"9034":{"date":{"__isSmartRef__":true,"id":9035},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"9035":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"9036":{"date":{"__isSmartRef__":true,"id":9037},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"9037":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"9038":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"9039":{"style":{"__isSmartRef__":true,"id":9040},"chunkOwner":{"__isSmartRef__":true,"id":9025},"_id":"_1574","storedString":"23","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9040":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9041":{"morph":{"__isSmartRef__":true,"id":9025},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9042":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"9043":{"morph":{"__isSmartRef__":true,"id":9024},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9044":{},"9045":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":9046}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9046":{"date":{"__isSmartRef__":true,"id":9047},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"9047":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"9048":{"isActive":true,"alpha":23,"beta":11,"i":0,"m":23,"origAlpha":-10000000000000,"d":0},"9049":{"buildChildNodes":{"__isSmartRef__":true,"id":9050},"getGameTree":{"__isSmartRef__":true,"id":9054},"getLevel":{"__isSmartRef__":true,"id":9058},"getLevelWeight":{"__isSmartRef__":true,"id":9062},"getWeight":{"__isSmartRef__":true,"id":9066},"setNode":{"__isSmartRef__":true,"id":9070},"setParent":{"__isSmartRef__":true,"id":9074},"getParent":{"__isSmartRef__":true,"id":9078},"deactivate":{"__isSmartRef__":true,"id":9082},"blink":{"__isSmartRef__":true,"id":9086},"ABPreturn":{"__isSmartRef__":true,"id":9090},"ABPstart":{"__isSmartRef__":true,"id":9094},"ABPcontinue":{"__isSmartRef__":true,"id":9098},"ABPshowValue":{"__isSmartRef__":true,"id":9102},"ABPgetValue":{"__isSmartRef__":true,"id":9106},"ABPhasChildNodes":{"__isSmartRef__":true,"id":9110},"onMouseDown":{"__isSmartRef__":true,"id":9114},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":9122},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":9126},"ABPmarkAsDone":{"__isSmartRef__":true,"id":9130},"ABPmarkAsActive":{"__isSmartRef__":true,"id":9134},"getStateMorph":{"__isSmartRef__":true,"id":9138},"showState":{"__isSmartRef__":true,"id":9142},"ABPfailHard":{"__isSmartRef__":true,"id":9146},"markFinalDrawWith":{"__isSmartRef__":true,"id":9150}},"9050":{"varMapping":{"__isSmartRef__":true,"id":9051},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":9052},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9051":{"this":{"__isSmartRef__":true,"id":9024}},"9052":{"timestamp":{"__isSmartRef__":true,"id":9053},"user":"sebastianwoinar","tags":[]},"9053":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"9054":{"varMapping":{"__isSmartRef__":true,"id":9055},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":9056},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9055":{"this":{"__isSmartRef__":true,"id":9024}},"9056":{"timestamp":{"__isSmartRef__":true,"id":9057},"user":"sebastianwoinar","tags":[]},"9057":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9058":{"varMapping":{"__isSmartRef__":true,"id":9059},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":9060},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9059":{"this":{"__isSmartRef__":true,"id":9024}},"9060":{"timestamp":{"__isSmartRef__":true,"id":9061},"user":"sebastianwoinar","tags":[]},"9061":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9062":{"varMapping":{"__isSmartRef__":true,"id":9063},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9064},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9063":{"this":{"__isSmartRef__":true,"id":9024}},"9064":{"timestamp":{"__isSmartRef__":true,"id":9065},"user":"sebastianwoinar","tags":[]},"9065":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9066":{"varMapping":{"__isSmartRef__":true,"id":9067},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":9068},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9067":{"this":{"__isSmartRef__":true,"id":9024}},"9068":{"timestamp":{"__isSmartRef__":true,"id":9069},"user":"sebastianwoinar","tags":[]},"9069":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9070":{"varMapping":{"__isSmartRef__":true,"id":9071},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":9072},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9071":{"this":{"__isSmartRef__":true,"id":9024}},"9072":{"timestamp":{"__isSmartRef__":true,"id":9073},"user":"sebastianwoinar","tags":[]},"9073":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9074":{"varMapping":{"__isSmartRef__":true,"id":9075},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":9076},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9075":{"this":{"__isSmartRef__":true,"id":9024}},"9076":{"timestamp":{"__isSmartRef__":true,"id":9077},"user":"sebastianwoinar","tags":[]},"9077":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9078":{"varMapping":{"__isSmartRef__":true,"id":9079},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":9080},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9079":{"this":{"__isSmartRef__":true,"id":9024}},"9080":{"timestamp":{"__isSmartRef__":true,"id":9081},"user":"sebastianwoinar","tags":[]},"9081":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"9082":{"varMapping":{"__isSmartRef__":true,"id":9083},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9084},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9083":{"this":{"__isSmartRef__":true,"id":9024}},"9084":{"timestamp":{"__isSmartRef__":true,"id":9085},"user":"sebastianwoinar","tags":[]},"9085":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"9086":{"varMapping":{"__isSmartRef__":true,"id":9087},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":9088},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9087":{"this":{"__isSmartRef__":true,"id":9024}},"9088":{"timestamp":{"__isSmartRef__":true,"id":9089},"user":"sebastianwoinar","tags":[]},"9089":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"9090":{"varMapping":{"__isSmartRef__":true,"id":9091},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":9092},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9091":{"this":{"__isSmartRef__":true,"id":9024}},"9092":{"timestamp":{"__isSmartRef__":true,"id":9093},"user":"sebastianwoinar","tags":[]},"9093":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"9094":{"varMapping":{"__isSmartRef__":true,"id":9095},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":9096},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9095":{"this":{"__isSmartRef__":true,"id":9024}},"9096":{"timestamp":{"__isSmartRef__":true,"id":9097},"user":"sebastianwoinar","tags":[]},"9097":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"9098":{"varMapping":{"__isSmartRef__":true,"id":9099},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":9100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9099":{"this":{"__isSmartRef__":true,"id":9024}},"9100":{"timestamp":{"__isSmartRef__":true,"id":9101},"user":"sebastianwoinar","tags":[]},"9101":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"9102":{"varMapping":{"__isSmartRef__":true,"id":9103},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":9104},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9103":{"this":{"__isSmartRef__":true,"id":9024}},"9104":{"timestamp":{"__isSmartRef__":true,"id":9105},"user":"sebastianwoinar","tags":[]},"9105":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"9106":{"varMapping":{"__isSmartRef__":true,"id":9107},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":9108},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9107":{"this":{"__isSmartRef__":true,"id":9024}},"9108":{"timestamp":{"__isSmartRef__":true,"id":9109},"user":"sebastianwoinar","tags":[]},"9109":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"9110":{"varMapping":{"__isSmartRef__":true,"id":9111},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":9112},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9111":{"this":{"__isSmartRef__":true,"id":9024}},"9112":{"timestamp":{"__isSmartRef__":true,"id":9113},"user":"sebastianwoinar","tags":[]},"9113":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"9114":{"varMapping":{"__isSmartRef__":true,"id":9115},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":9120},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9115":{"this":{"__isSmartRef__":true,"id":9024},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9116}},"9116":{"$super":{"__isSmartRef__":true,"id":9117}},"9117":{"varMapping":{"__isSmartRef__":true,"id":9118},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9119},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9118":{"obj":{"__isSmartRef__":true,"id":9024},"name":"onMouseDown"},"9119":{},"9120":{"timestamp":{"__isSmartRef__":true,"id":9121},"user":"sebastianwoinar","tags":[]},"9121":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"9122":{"varMapping":{"__isSmartRef__":true,"id":9123},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":9124},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9123":{"this":{"__isSmartRef__":true,"id":9024}},"9124":{"timestamp":{"__isSmartRef__":true,"id":9125},"user":"sebastianwoinar","tags":[]},"9125":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"9126":{"varMapping":{"__isSmartRef__":true,"id":9127},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":9128},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9127":{"this":{"__isSmartRef__":true,"id":9024}},"9128":{"timestamp":{"__isSmartRef__":true,"id":9129},"user":"sebastianwoinar","tags":[]},"9129":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"9130":{"varMapping":{"__isSmartRef__":true,"id":9131},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9132},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9131":{"this":{"__isSmartRef__":true,"id":9024}},"9132":{"timestamp":{"__isSmartRef__":true,"id":9133},"user":"sebastianwoinar","tags":[]},"9133":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"9134":{"varMapping":{"__isSmartRef__":true,"id":9135},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":9136},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9135":{"this":{"__isSmartRef__":true,"id":9024}},"9136":{"timestamp":{"__isSmartRef__":true,"id":9137},"user":"sebastianwoinar","tags":[]},"9137":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"9138":{"varMapping":{"__isSmartRef__":true,"id":9139},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":9140},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9139":{"this":{"__isSmartRef__":true,"id":9024}},"9140":{"timestamp":{"__isSmartRef__":true,"id":9141},"user":"sebastianwoinar","tags":[]},"9141":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"9142":{"varMapping":{"__isSmartRef__":true,"id":9143},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9144},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9143":{"this":{"__isSmartRef__":true,"id":9024}},"9144":{"timestamp":{"__isSmartRef__":true,"id":9145},"user":"sebastianwoinar","tags":[]},"9145":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"9146":{"varMapping":{"__isSmartRef__":true,"id":9147},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":9148},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9147":{"this":{"__isSmartRef__":true,"id":9024}},"9148":{"timestamp":{"__isSmartRef__":true,"id":9149},"user":"sebastianwoinar","tags":[]},"9149":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"9150":{"varMapping":{"__isSmartRef__":true,"id":9151},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9151":{"this":{"__isSmartRef__":true,"id":9024}},"9152":{"timestamp":{"__isSmartRef__":true,"id":9153},"user":"sebastianwoinar","tags":[]},"9153":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"9154":{"submorphs":[{"__isSmartRef__":true,"id":9155}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9172},"id":"4CAD07A7-F236-4B8F-976B-95DA9FB7B23D","eventHandler":{"__isSmartRef__":true,"id":9173},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":9174},"name":"node24","partsBinMetaInfo":{"__isSmartRef__":true,"id":9175},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6602},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":8870},"level":3,"abp":{"__isSmartRef__":true,"id":9178},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9179},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(655.8,210.0)"},"9155":{"submorphs":[],"scripts":[],"id":"2C80BE46-0094-4B57-AFE9-1FB65836B3A2","shape":{"__isSmartRef__":true,"id":9156},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":9157},"textChunks":[{"__isSmartRef__":true,"id":9169}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":9171},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":9154},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"9156":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"9157":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":9158},{"__isSmartRef__":true,"id":9160},{"__isSmartRef__":true,"id":9162},{"__isSmartRef__":true,"id":9164},{"__isSmartRef__":true,"id":9166}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":9168},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9158":{"date":{"__isSmartRef__":true,"id":9159},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"9159":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"9160":{"date":{"__isSmartRef__":true,"id":9161},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"9161":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"9162":{"date":{"__isSmartRef__":true,"id":9163},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"9163":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"9164":{"date":{"__isSmartRef__":true,"id":9165},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"9165":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"9166":{"date":{"__isSmartRef__":true,"id":9167},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"9167":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"9168":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"9169":{"style":{"__isSmartRef__":true,"id":9170},"chunkOwner":{"__isSmartRef__":true,"id":9155},"_id":"_1581","storedString":"13","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9170":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9171":{"morph":{"__isSmartRef__":true,"id":9155},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9172":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"9173":{"morph":{"__isSmartRef__":true,"id":9154},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9174":{},"9175":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":9176}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9176":{"date":{"__isSmartRef__":true,"id":9177},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"9177":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"9178":{"isActive":true,"alpha":13,"beta":11,"i":0,"m":13,"origAlpha":-10000000000000,"d":0},"9179":{"buildChildNodes":{"__isSmartRef__":true,"id":9180},"getGameTree":{"__isSmartRef__":true,"id":9184},"getLevel":{"__isSmartRef__":true,"id":9188},"getLevelWeight":{"__isSmartRef__":true,"id":9192},"getWeight":{"__isSmartRef__":true,"id":9196},"setNode":{"__isSmartRef__":true,"id":9200},"setParent":{"__isSmartRef__":true,"id":9204},"getParent":{"__isSmartRef__":true,"id":9208},"deactivate":{"__isSmartRef__":true,"id":9212},"blink":{"__isSmartRef__":true,"id":9216},"ABPreturn":{"__isSmartRef__":true,"id":9220},"ABPstart":{"__isSmartRef__":true,"id":9224},"ABPcontinue":{"__isSmartRef__":true,"id":9228},"ABPshowValue":{"__isSmartRef__":true,"id":9232},"ABPgetValue":{"__isSmartRef__":true,"id":9236},"ABPhasChildNodes":{"__isSmartRef__":true,"id":9240},"onMouseDown":{"__isSmartRef__":true,"id":9244},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":9252},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":9256},"ABPmarkAsDone":{"__isSmartRef__":true,"id":9260},"ABPmarkAsActive":{"__isSmartRef__":true,"id":9264},"getStateMorph":{"__isSmartRef__":true,"id":9268},"showState":{"__isSmartRef__":true,"id":9272},"ABPfailHard":{"__isSmartRef__":true,"id":9276},"markFinalDrawWith":{"__isSmartRef__":true,"id":9280}},"9180":{"varMapping":{"__isSmartRef__":true,"id":9181},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":9182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9181":{"this":{"__isSmartRef__":true,"id":9154}},"9182":{"timestamp":{"__isSmartRef__":true,"id":9183},"user":"sebastianwoinar","tags":[]},"9183":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"9184":{"varMapping":{"__isSmartRef__":true,"id":9185},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":9186},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9185":{"this":{"__isSmartRef__":true,"id":9154}},"9186":{"timestamp":{"__isSmartRef__":true,"id":9187},"user":"sebastianwoinar","tags":[]},"9187":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9188":{"varMapping":{"__isSmartRef__":true,"id":9189},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":9190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9189":{"this":{"__isSmartRef__":true,"id":9154}},"9190":{"timestamp":{"__isSmartRef__":true,"id":9191},"user":"sebastianwoinar","tags":[]},"9191":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9192":{"varMapping":{"__isSmartRef__":true,"id":9193},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9194},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9193":{"this":{"__isSmartRef__":true,"id":9154}},"9194":{"timestamp":{"__isSmartRef__":true,"id":9195},"user":"sebastianwoinar","tags":[]},"9195":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9196":{"varMapping":{"__isSmartRef__":true,"id":9197},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":9198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9197":{"this":{"__isSmartRef__":true,"id":9154}},"9198":{"timestamp":{"__isSmartRef__":true,"id":9199},"user":"sebastianwoinar","tags":[]},"9199":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9200":{"varMapping":{"__isSmartRef__":true,"id":9201},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":9202},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9201":{"this":{"__isSmartRef__":true,"id":9154}},"9202":{"timestamp":{"__isSmartRef__":true,"id":9203},"user":"sebastianwoinar","tags":[]},"9203":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9204":{"varMapping":{"__isSmartRef__":true,"id":9205},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":9206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9205":{"this":{"__isSmartRef__":true,"id":9154}},"9206":{"timestamp":{"__isSmartRef__":true,"id":9207},"user":"sebastianwoinar","tags":[]},"9207":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9208":{"varMapping":{"__isSmartRef__":true,"id":9209},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":9210},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9209":{"this":{"__isSmartRef__":true,"id":9154}},"9210":{"timestamp":{"__isSmartRef__":true,"id":9211},"user":"sebastianwoinar","tags":[]},"9211":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"9212":{"varMapping":{"__isSmartRef__":true,"id":9213},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9214},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9213":{"this":{"__isSmartRef__":true,"id":9154}},"9214":{"timestamp":{"__isSmartRef__":true,"id":9215},"user":"sebastianwoinar","tags":[]},"9215":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"9216":{"varMapping":{"__isSmartRef__":true,"id":9217},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":9218},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9217":{"this":{"__isSmartRef__":true,"id":9154}},"9218":{"timestamp":{"__isSmartRef__":true,"id":9219},"user":"sebastianwoinar","tags":[]},"9219":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"9220":{"varMapping":{"__isSmartRef__":true,"id":9221},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":9222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9221":{"this":{"__isSmartRef__":true,"id":9154}},"9222":{"timestamp":{"__isSmartRef__":true,"id":9223},"user":"sebastianwoinar","tags":[]},"9223":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"9224":{"varMapping":{"__isSmartRef__":true,"id":9225},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":9226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9225":{"this":{"__isSmartRef__":true,"id":9154}},"9226":{"timestamp":{"__isSmartRef__":true,"id":9227},"user":"sebastianwoinar","tags":[]},"9227":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"9228":{"varMapping":{"__isSmartRef__":true,"id":9229},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":9230},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9229":{"this":{"__isSmartRef__":true,"id":9154}},"9230":{"timestamp":{"__isSmartRef__":true,"id":9231},"user":"sebastianwoinar","tags":[]},"9231":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"9232":{"varMapping":{"__isSmartRef__":true,"id":9233},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":9234},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9233":{"this":{"__isSmartRef__":true,"id":9154}},"9234":{"timestamp":{"__isSmartRef__":true,"id":9235},"user":"sebastianwoinar","tags":[]},"9235":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"9236":{"varMapping":{"__isSmartRef__":true,"id":9237},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":9238},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9237":{"this":{"__isSmartRef__":true,"id":9154}},"9238":{"timestamp":{"__isSmartRef__":true,"id":9239},"user":"sebastianwoinar","tags":[]},"9239":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"9240":{"varMapping":{"__isSmartRef__":true,"id":9241},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":9242},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9241":{"this":{"__isSmartRef__":true,"id":9154}},"9242":{"timestamp":{"__isSmartRef__":true,"id":9243},"user":"sebastianwoinar","tags":[]},"9243":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"9244":{"varMapping":{"__isSmartRef__":true,"id":9245},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":9250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9245":{"this":{"__isSmartRef__":true,"id":9154},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9246}},"9246":{"$super":{"__isSmartRef__":true,"id":9247}},"9247":{"varMapping":{"__isSmartRef__":true,"id":9248},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9249},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9248":{"obj":{"__isSmartRef__":true,"id":9154},"name":"onMouseDown"},"9249":{},"9250":{"timestamp":{"__isSmartRef__":true,"id":9251},"user":"sebastianwoinar","tags":[]},"9251":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"9252":{"varMapping":{"__isSmartRef__":true,"id":9253},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":9254},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9253":{"this":{"__isSmartRef__":true,"id":9154}},"9254":{"timestamp":{"__isSmartRef__":true,"id":9255},"user":"sebastianwoinar","tags":[]},"9255":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"9256":{"varMapping":{"__isSmartRef__":true,"id":9257},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":9258},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9257":{"this":{"__isSmartRef__":true,"id":9154}},"9258":{"timestamp":{"__isSmartRef__":true,"id":9259},"user":"sebastianwoinar","tags":[]},"9259":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"9260":{"varMapping":{"__isSmartRef__":true,"id":9261},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9262},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9261":{"this":{"__isSmartRef__":true,"id":9154}},"9262":{"timestamp":{"__isSmartRef__":true,"id":9263},"user":"sebastianwoinar","tags":[]},"9263":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"9264":{"varMapping":{"__isSmartRef__":true,"id":9265},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":9266},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9265":{"this":{"__isSmartRef__":true,"id":9154}},"9266":{"timestamp":{"__isSmartRef__":true,"id":9267},"user":"sebastianwoinar","tags":[]},"9267":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"9268":{"varMapping":{"__isSmartRef__":true,"id":9269},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":9270},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9269":{"this":{"__isSmartRef__":true,"id":9154}},"9270":{"timestamp":{"__isSmartRef__":true,"id":9271},"user":"sebastianwoinar","tags":[]},"9271":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"9272":{"varMapping":{"__isSmartRef__":true,"id":9273},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9273":{"this":{"__isSmartRef__":true,"id":9154}},"9274":{"timestamp":{"__isSmartRef__":true,"id":9275},"user":"sebastianwoinar","tags":[]},"9275":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"9276":{"varMapping":{"__isSmartRef__":true,"id":9277},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":9278},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9277":{"this":{"__isSmartRef__":true,"id":9154}},"9278":{"timestamp":{"__isSmartRef__":true,"id":9279},"user":"sebastianwoinar","tags":[]},"9279":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"9280":{"varMapping":{"__isSmartRef__":true,"id":9281},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9282},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9281":{"this":{"__isSmartRef__":true,"id":9154}},"9282":{"timestamp":{"__isSmartRef__":true,"id":9283},"user":"sebastianwoinar","tags":[]},"9283":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"9284":{"isActive":true,"alpha":-11,"beta":10000000000000,"i":3,"m":-11,"origAlpha":-11,"d":0},"9285":{"buildChildNodes":{"__isSmartRef__":true,"id":9286},"getGameTree":{"__isSmartRef__":true,"id":9290},"getLevel":{"__isSmartRef__":true,"id":9294},"getLevelWeight":{"__isSmartRef__":true,"id":9298},"getWeight":{"__isSmartRef__":true,"id":9302},"setNode":{"__isSmartRef__":true,"id":9306},"setParent":{"__isSmartRef__":true,"id":9310},"getParent":{"__isSmartRef__":true,"id":9314},"deactivate":{"__isSmartRef__":true,"id":9318},"blink":{"__isSmartRef__":true,"id":9322},"ABPreturn":{"__isSmartRef__":true,"id":9326},"ABPstart":{"__isSmartRef__":true,"id":9330},"ABPcontinue":{"__isSmartRef__":true,"id":9334},"ABPshowValue":{"__isSmartRef__":true,"id":9338},"ABPgetValue":{"__isSmartRef__":true,"id":9342},"ABPhasChildNodes":{"__isSmartRef__":true,"id":9346},"onMouseDown":{"__isSmartRef__":true,"id":9350},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":9358},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":9362},"ABPmarkAsDone":{"__isSmartRef__":true,"id":9366},"ABPmarkAsActive":{"__isSmartRef__":true,"id":9370},"getStateMorph":{"__isSmartRef__":true,"id":9374},"showState":{"__isSmartRef__":true,"id":9378},"ABPfailHard":{"__isSmartRef__":true,"id":9382},"markFinalDrawWith":{"__isSmartRef__":true,"id":9386}},"9286":{"varMapping":{"__isSmartRef__":true,"id":9287},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":9288},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9287":{"this":{"__isSmartRef__":true,"id":8870}},"9288":{"timestamp":{"__isSmartRef__":true,"id":9289},"user":"sebastianwoinar","tags":[]},"9289":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"9290":{"varMapping":{"__isSmartRef__":true,"id":9291},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":9292},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9291":{"this":{"__isSmartRef__":true,"id":8870}},"9292":{"timestamp":{"__isSmartRef__":true,"id":9293},"user":"sebastianwoinar","tags":[]},"9293":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9294":{"varMapping":{"__isSmartRef__":true,"id":9295},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":9296},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9295":{"this":{"__isSmartRef__":true,"id":8870}},"9296":{"timestamp":{"__isSmartRef__":true,"id":9297},"user":"sebastianwoinar","tags":[]},"9297":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9298":{"varMapping":{"__isSmartRef__":true,"id":9299},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9300},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9299":{"this":{"__isSmartRef__":true,"id":8870}},"9300":{"timestamp":{"__isSmartRef__":true,"id":9301},"user":"sebastianwoinar","tags":[]},"9301":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9302":{"varMapping":{"__isSmartRef__":true,"id":9303},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":9304},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9303":{"this":{"__isSmartRef__":true,"id":8870}},"9304":{"timestamp":{"__isSmartRef__":true,"id":9305},"user":"sebastianwoinar","tags":[]},"9305":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9306":{"varMapping":{"__isSmartRef__":true,"id":9307},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":9308},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9307":{"this":{"__isSmartRef__":true,"id":8870}},"9308":{"timestamp":{"__isSmartRef__":true,"id":9309},"user":"sebastianwoinar","tags":[]},"9309":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9310":{"varMapping":{"__isSmartRef__":true,"id":9311},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":9312},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9311":{"this":{"__isSmartRef__":true,"id":8870}},"9312":{"timestamp":{"__isSmartRef__":true,"id":9313},"user":"sebastianwoinar","tags":[]},"9313":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9314":{"varMapping":{"__isSmartRef__":true,"id":9315},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":9316},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9315":{"this":{"__isSmartRef__":true,"id":8870}},"9316":{"timestamp":{"__isSmartRef__":true,"id":9317},"user":"sebastianwoinar","tags":[]},"9317":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"9318":{"varMapping":{"__isSmartRef__":true,"id":9319},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9320},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9319":{"this":{"__isSmartRef__":true,"id":8870}},"9320":{"timestamp":{"__isSmartRef__":true,"id":9321},"user":"sebastianwoinar","tags":[]},"9321":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"9322":{"varMapping":{"__isSmartRef__":true,"id":9323},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":9324},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9323":{"this":{"__isSmartRef__":true,"id":8870}},"9324":{"timestamp":{"__isSmartRef__":true,"id":9325},"user":"sebastianwoinar","tags":[]},"9325":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"9326":{"varMapping":{"__isSmartRef__":true,"id":9327},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":9328},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9327":{"this":{"__isSmartRef__":true,"id":8870}},"9328":{"timestamp":{"__isSmartRef__":true,"id":9329},"user":"sebastianwoinar","tags":[]},"9329":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"9330":{"varMapping":{"__isSmartRef__":true,"id":9331},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":9332},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9331":{"this":{"__isSmartRef__":true,"id":8870}},"9332":{"timestamp":{"__isSmartRef__":true,"id":9333},"user":"sebastianwoinar","tags":[]},"9333":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"9334":{"varMapping":{"__isSmartRef__":true,"id":9335},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":9336},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9335":{"this":{"__isSmartRef__":true,"id":8870}},"9336":{"timestamp":{"__isSmartRef__":true,"id":9337},"user":"sebastianwoinar","tags":[]},"9337":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"9338":{"varMapping":{"__isSmartRef__":true,"id":9339},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":9340},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9339":{"this":{"__isSmartRef__":true,"id":8870}},"9340":{"timestamp":{"__isSmartRef__":true,"id":9341},"user":"sebastianwoinar","tags":[]},"9341":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"9342":{"varMapping":{"__isSmartRef__":true,"id":9343},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":9344},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9343":{"this":{"__isSmartRef__":true,"id":8870}},"9344":{"timestamp":{"__isSmartRef__":true,"id":9345},"user":"sebastianwoinar","tags":[]},"9345":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"9346":{"varMapping":{"__isSmartRef__":true,"id":9347},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":9348},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9347":{"this":{"__isSmartRef__":true,"id":8870}},"9348":{"timestamp":{"__isSmartRef__":true,"id":9349},"user":"sebastianwoinar","tags":[]},"9349":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"9350":{"varMapping":{"__isSmartRef__":true,"id":9351},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":9356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9351":{"this":{"__isSmartRef__":true,"id":8870},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9352}},"9352":{"$super":{"__isSmartRef__":true,"id":9353}},"9353":{"varMapping":{"__isSmartRef__":true,"id":9354},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9355},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9354":{"obj":{"__isSmartRef__":true,"id":8870},"name":"onMouseDown"},"9355":{},"9356":{"timestamp":{"__isSmartRef__":true,"id":9357},"user":"sebastianwoinar","tags":[]},"9357":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"9358":{"varMapping":{"__isSmartRef__":true,"id":9359},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":9360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9359":{"this":{"__isSmartRef__":true,"id":8870}},"9360":{"timestamp":{"__isSmartRef__":true,"id":9361},"user":"sebastianwoinar","tags":[]},"9361":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"9362":{"varMapping":{"__isSmartRef__":true,"id":9363},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":9364},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9363":{"this":{"__isSmartRef__":true,"id":8870}},"9364":{"timestamp":{"__isSmartRef__":true,"id":9365},"user":"sebastianwoinar","tags":[]},"9365":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"9366":{"varMapping":{"__isSmartRef__":true,"id":9367},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9368},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9367":{"this":{"__isSmartRef__":true,"id":8870}},"9368":{"timestamp":{"__isSmartRef__":true,"id":9369},"user":"sebastianwoinar","tags":[]},"9369":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"9370":{"varMapping":{"__isSmartRef__":true,"id":9371},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":9372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9371":{"this":{"__isSmartRef__":true,"id":8870}},"9372":{"timestamp":{"__isSmartRef__":true,"id":9373},"user":"sebastianwoinar","tags":[]},"9373":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"9374":{"varMapping":{"__isSmartRef__":true,"id":9375},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":9376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9375":{"this":{"__isSmartRef__":true,"id":8870}},"9376":{"timestamp":{"__isSmartRef__":true,"id":9377},"user":"sebastianwoinar","tags":[]},"9377":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"9378":{"varMapping":{"__isSmartRef__":true,"id":9379},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9379":{"this":{"__isSmartRef__":true,"id":8870}},"9380":{"timestamp":{"__isSmartRef__":true,"id":9381},"user":"sebastianwoinar","tags":[]},"9381":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"9382":{"varMapping":{"__isSmartRef__":true,"id":9383},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":9384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9383":{"this":{"__isSmartRef__":true,"id":8870}},"9384":{"timestamp":{"__isSmartRef__":true,"id":9385},"user":"sebastianwoinar","tags":[]},"9385":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"9386":{"varMapping":{"__isSmartRef__":true,"id":9387},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9388},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9387":{"this":{"__isSmartRef__":true,"id":8870}},"9388":{"timestamp":{"__isSmartRef__":true,"id":9389},"user":"sebastianwoinar","tags":[]},"9389":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"9390":{"submorphs":[{"__isSmartRef__":true,"id":9391}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9408},"id":"65F4B44A-2E57-4018-8B76-569608B0ABA8","eventHandler":{"__isSmartRef__":true,"id":9409},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":9410},"name":"node25","partsBinMetaInfo":{"__isSmartRef__":true,"id":9411},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6604},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":9414},{"__isSmartRef__":true,"id":9543},{"__isSmartRef__":true,"id":9672}],"parent":{"__isSmartRef__":true,"id":8846},"level":2,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9801},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(733.8,160.0)"},"9391":{"submorphs":[],"scripts":[],"id":"C2433AE2-CED0-4FB0-B47B-B974E1BF29CD","shape":{"__isSmartRef__":true,"id":9392},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":9393},"textChunks":[{"__isSmartRef__":true,"id":9405}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":9407},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":9390},"_Rotation":0,"_Scale":1,"priorSelectionRange":[0,0],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"9392":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"9393":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":9394},{"__isSmartRef__":true,"id":9396},{"__isSmartRef__":true,"id":9398},{"__isSmartRef__":true,"id":9400},{"__isSmartRef__":true,"id":9402}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":9404},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9394":{"date":{"__isSmartRef__":true,"id":9395},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"9395":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"9396":{"date":{"__isSmartRef__":true,"id":9397},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"9397":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"9398":{"date":{"__isSmartRef__":true,"id":9399},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"9399":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"9400":{"date":{"__isSmartRef__":true,"id":9401},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"9401":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"9402":{"date":{"__isSmartRef__":true,"id":9403},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"9403":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"9404":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"9405":{"style":{"__isSmartRef__":true,"id":9406},"morph":{"__isSmartRef__":true,"id":9391},"chunkOwner":{"__isSmartRef__":true,"id":9391},"storedString":"","_id":"_105312","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9406":{"fontSize":7,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9407":{"morph":{"__isSmartRef__":true,"id":9391},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9408":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(255,255,255)","_Fill":"Color.rgb(255,255,255)"},"9409":{"morph":{"__isSmartRef__":true,"id":9390},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9410":{},"9411":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":9412}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9412":{"date":{"__isSmartRef__":true,"id":9413},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"9413":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"9414":{"submorphs":[{"__isSmartRef__":true,"id":9415}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9432},"id":"454983D7-787F-42EF-BC9F-5FA9A165ACC5","eventHandler":{"__isSmartRef__":true,"id":9433},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":9434},"name":"node26","partsBinMetaInfo":{"__isSmartRef__":true,"id":9435},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6606},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":9390},"level":3,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9438},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(697.4,210.0)"},"9415":{"submorphs":[],"scripts":[],"id":"14F99BD0-365D-45DC-8564-E97E612751CB","shape":{"__isSmartRef__":true,"id":9416},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":9417},"textChunks":[{"__isSmartRef__":true,"id":9429}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":9431},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":9414},"_Rotation":0,"_Scale":1,"priorSelectionRange":[0,0],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"9416":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"9417":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":9418},{"__isSmartRef__":true,"id":9420},{"__isSmartRef__":true,"id":9422},{"__isSmartRef__":true,"id":9424},{"__isSmartRef__":true,"id":9426}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":9428},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9418":{"date":{"__isSmartRef__":true,"id":9419},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"9419":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"9420":{"date":{"__isSmartRef__":true,"id":9421},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"9421":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"9422":{"date":{"__isSmartRef__":true,"id":9423},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"9423":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"9424":{"date":{"__isSmartRef__":true,"id":9425},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"9425":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"9426":{"date":{"__isSmartRef__":true,"id":9427},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"9427":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"9428":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"9429":{"style":{"__isSmartRef__":true,"id":9430},"morph":{"__isSmartRef__":true,"id":9415},"chunkOwner":{"__isSmartRef__":true,"id":9415},"storedString":"","_id":"_105312","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9430":{"fontSize":7,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9431":{"morph":{"__isSmartRef__":true,"id":9415},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9432":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(255,255,255)","_Fill":"Color.rgb(255,255,255)"},"9433":{"morph":{"__isSmartRef__":true,"id":9414},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9434":{},"9435":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":9436}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9436":{"date":{"__isSmartRef__":true,"id":9437},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"9437":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"9438":{"buildChildNodes":{"__isSmartRef__":true,"id":9439},"getGameTree":{"__isSmartRef__":true,"id":9443},"getLevel":{"__isSmartRef__":true,"id":9447},"getLevelWeight":{"__isSmartRef__":true,"id":9451},"getWeight":{"__isSmartRef__":true,"id":9455},"setNode":{"__isSmartRef__":true,"id":9459},"setParent":{"__isSmartRef__":true,"id":9463},"getParent":{"__isSmartRef__":true,"id":9467},"deactivate":{"__isSmartRef__":true,"id":9471},"blink":{"__isSmartRef__":true,"id":9475},"ABPreturn":{"__isSmartRef__":true,"id":9479},"ABPstart":{"__isSmartRef__":true,"id":9483},"ABPcontinue":{"__isSmartRef__":true,"id":9487},"ABPshowValue":{"__isSmartRef__":true,"id":9491},"ABPgetValue":{"__isSmartRef__":true,"id":9495},"ABPhasChildNodes":{"__isSmartRef__":true,"id":9499},"onMouseDown":{"__isSmartRef__":true,"id":9503},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":9511},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":9515},"ABPmarkAsDone":{"__isSmartRef__":true,"id":9519},"ABPmarkAsActive":{"__isSmartRef__":true,"id":9523},"getStateMorph":{"__isSmartRef__":true,"id":9527},"showState":{"__isSmartRef__":true,"id":9531},"ABPfailHard":{"__isSmartRef__":true,"id":9535},"markFinalDrawWith":{"__isSmartRef__":true,"id":9539}},"9439":{"varMapping":{"__isSmartRef__":true,"id":9440},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":9441},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9440":{"this":{"__isSmartRef__":true,"id":9414}},"9441":{"timestamp":{"__isSmartRef__":true,"id":9442},"user":"sebastianwoinar","tags":[]},"9442":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"9443":{"varMapping":{"__isSmartRef__":true,"id":9444},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":9445},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9444":{"this":{"__isSmartRef__":true,"id":9414}},"9445":{"timestamp":{"__isSmartRef__":true,"id":9446},"user":"sebastianwoinar","tags":[]},"9446":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9447":{"varMapping":{"__isSmartRef__":true,"id":9448},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":9449},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9448":{"this":{"__isSmartRef__":true,"id":9414}},"9449":{"timestamp":{"__isSmartRef__":true,"id":9450},"user":"sebastianwoinar","tags":[]},"9450":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9451":{"varMapping":{"__isSmartRef__":true,"id":9452},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9453},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9452":{"this":{"__isSmartRef__":true,"id":9414}},"9453":{"timestamp":{"__isSmartRef__":true,"id":9454},"user":"sebastianwoinar","tags":[]},"9454":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9455":{"varMapping":{"__isSmartRef__":true,"id":9456},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":9457},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9456":{"this":{"__isSmartRef__":true,"id":9414}},"9457":{"timestamp":{"__isSmartRef__":true,"id":9458},"user":"sebastianwoinar","tags":[]},"9458":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9459":{"varMapping":{"__isSmartRef__":true,"id":9460},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":9461},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9460":{"this":{"__isSmartRef__":true,"id":9414}},"9461":{"timestamp":{"__isSmartRef__":true,"id":9462},"user":"sebastianwoinar","tags":[]},"9462":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9463":{"varMapping":{"__isSmartRef__":true,"id":9464},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":9465},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9464":{"this":{"__isSmartRef__":true,"id":9414}},"9465":{"timestamp":{"__isSmartRef__":true,"id":9466},"user":"sebastianwoinar","tags":[]},"9466":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9467":{"varMapping":{"__isSmartRef__":true,"id":9468},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":9469},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9468":{"this":{"__isSmartRef__":true,"id":9414}},"9469":{"timestamp":{"__isSmartRef__":true,"id":9470},"user":"sebastianwoinar","tags":[]},"9470":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"9471":{"varMapping":{"__isSmartRef__":true,"id":9472},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9473},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9472":{"this":{"__isSmartRef__":true,"id":9414}},"9473":{"timestamp":{"__isSmartRef__":true,"id":9474},"user":"sebastianwoinar","tags":[]},"9474":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"9475":{"varMapping":{"__isSmartRef__":true,"id":9476},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":9477},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9476":{"this":{"__isSmartRef__":true,"id":9414}},"9477":{"timestamp":{"__isSmartRef__":true,"id":9478},"user":"sebastianwoinar","tags":[]},"9478":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"9479":{"varMapping":{"__isSmartRef__":true,"id":9480},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":9481},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9480":{"this":{"__isSmartRef__":true,"id":9414}},"9481":{"timestamp":{"__isSmartRef__":true,"id":9482},"user":"sebastianwoinar","tags":[]},"9482":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"9483":{"varMapping":{"__isSmartRef__":true,"id":9484},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":9485},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9484":{"this":{"__isSmartRef__":true,"id":9414}},"9485":{"timestamp":{"__isSmartRef__":true,"id":9486},"user":"sebastianwoinar","tags":[]},"9486":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"9487":{"varMapping":{"__isSmartRef__":true,"id":9488},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":9489},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9488":{"this":{"__isSmartRef__":true,"id":9414}},"9489":{"timestamp":{"__isSmartRef__":true,"id":9490},"user":"sebastianwoinar","tags":[]},"9490":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"9491":{"varMapping":{"__isSmartRef__":true,"id":9492},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":9493},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9492":{"this":{"__isSmartRef__":true,"id":9414}},"9493":{"timestamp":{"__isSmartRef__":true,"id":9494},"user":"sebastianwoinar","tags":[]},"9494":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"9495":{"varMapping":{"__isSmartRef__":true,"id":9496},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":9497},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9496":{"this":{"__isSmartRef__":true,"id":9414}},"9497":{"timestamp":{"__isSmartRef__":true,"id":9498},"user":"sebastianwoinar","tags":[]},"9498":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"9499":{"varMapping":{"__isSmartRef__":true,"id":9500},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":9501},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9500":{"this":{"__isSmartRef__":true,"id":9414}},"9501":{"timestamp":{"__isSmartRef__":true,"id":9502},"user":"sebastianwoinar","tags":[]},"9502":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"9503":{"varMapping":{"__isSmartRef__":true,"id":9504},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":9509},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9504":{"this":{"__isSmartRef__":true,"id":9414},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9505}},"9505":{"$super":{"__isSmartRef__":true,"id":9506}},"9506":{"varMapping":{"__isSmartRef__":true,"id":9507},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9508},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9507":{"obj":{"__isSmartRef__":true,"id":9414},"name":"onMouseDown"},"9508":{},"9509":{"timestamp":{"__isSmartRef__":true,"id":9510},"user":"sebastianwoinar","tags":[]},"9510":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"9511":{"varMapping":{"__isSmartRef__":true,"id":9512},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":9513},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9512":{"this":{"__isSmartRef__":true,"id":9414}},"9513":{"timestamp":{"__isSmartRef__":true,"id":9514},"user":"sebastianwoinar","tags":[]},"9514":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"9515":{"varMapping":{"__isSmartRef__":true,"id":9516},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":9517},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9516":{"this":{"__isSmartRef__":true,"id":9414}},"9517":{"timestamp":{"__isSmartRef__":true,"id":9518},"user":"sebastianwoinar","tags":[]},"9518":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"9519":{"varMapping":{"__isSmartRef__":true,"id":9520},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9521},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9520":{"this":{"__isSmartRef__":true,"id":9414}},"9521":{"timestamp":{"__isSmartRef__":true,"id":9522},"user":"sebastianwoinar","tags":[]},"9522":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"9523":{"varMapping":{"__isSmartRef__":true,"id":9524},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":9525},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9524":{"this":{"__isSmartRef__":true,"id":9414}},"9525":{"timestamp":{"__isSmartRef__":true,"id":9526},"user":"sebastianwoinar","tags":[]},"9526":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"9527":{"varMapping":{"__isSmartRef__":true,"id":9528},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":9529},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9528":{"this":{"__isSmartRef__":true,"id":9414}},"9529":{"timestamp":{"__isSmartRef__":true,"id":9530},"user":"sebastianwoinar","tags":[]},"9530":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"9531":{"varMapping":{"__isSmartRef__":true,"id":9532},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9533},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9532":{"this":{"__isSmartRef__":true,"id":9414}},"9533":{"timestamp":{"__isSmartRef__":true,"id":9534},"user":"sebastianwoinar","tags":[]},"9534":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"9535":{"varMapping":{"__isSmartRef__":true,"id":9536},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":9537},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9536":{"this":{"__isSmartRef__":true,"id":9414}},"9537":{"timestamp":{"__isSmartRef__":true,"id":9538},"user":"sebastianwoinar","tags":[]},"9538":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"9539":{"varMapping":{"__isSmartRef__":true,"id":9540},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9541},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9540":{"this":{"__isSmartRef__":true,"id":9414}},"9541":{"timestamp":{"__isSmartRef__":true,"id":9542},"user":"sebastianwoinar","tags":[]},"9542":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"9543":{"submorphs":[{"__isSmartRef__":true,"id":9544}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9561},"id":"2E59EEC2-48E7-4AA0-B74D-E44FA6E1FB57","eventHandler":{"__isSmartRef__":true,"id":9562},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":9563},"name":"node27","partsBinMetaInfo":{"__isSmartRef__":true,"id":9564},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6608},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":9390},"level":3,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9567},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(739.0,210.0)"},"9544":{"submorphs":[],"scripts":[],"id":"D2C0B776-4D47-4454-9188-94333934108B","shape":{"__isSmartRef__":true,"id":9545},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":9546},"textChunks":[{"__isSmartRef__":true,"id":9558}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":9560},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":9543},"_Rotation":0,"_Scale":1,"priorSelectionRange":[0,0],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"9545":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"9546":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":9547},{"__isSmartRef__":true,"id":9549},{"__isSmartRef__":true,"id":9551},{"__isSmartRef__":true,"id":9553},{"__isSmartRef__":true,"id":9555}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":9557},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9547":{"date":{"__isSmartRef__":true,"id":9548},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"9548":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"9549":{"date":{"__isSmartRef__":true,"id":9550},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"9550":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"9551":{"date":{"__isSmartRef__":true,"id":9552},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"9552":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"9553":{"date":{"__isSmartRef__":true,"id":9554},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"9554":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"9555":{"date":{"__isSmartRef__":true,"id":9556},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"9556":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"9557":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"9558":{"style":{"__isSmartRef__":true,"id":9559},"morph":{"__isSmartRef__":true,"id":9544},"chunkOwner":{"__isSmartRef__":true,"id":9544},"storedString":"","_id":"_105312","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9559":{"fontSize":7,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9560":{"morph":{"__isSmartRef__":true,"id":9544},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9561":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(255,255,255)","_Fill":"Color.rgb(255,255,255)"},"9562":{"morph":{"__isSmartRef__":true,"id":9543},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9563":{},"9564":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":9565}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9565":{"date":{"__isSmartRef__":true,"id":9566},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"9566":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"9567":{"buildChildNodes":{"__isSmartRef__":true,"id":9568},"getGameTree":{"__isSmartRef__":true,"id":9572},"getLevel":{"__isSmartRef__":true,"id":9576},"getLevelWeight":{"__isSmartRef__":true,"id":9580},"getWeight":{"__isSmartRef__":true,"id":9584},"setNode":{"__isSmartRef__":true,"id":9588},"setParent":{"__isSmartRef__":true,"id":9592},"getParent":{"__isSmartRef__":true,"id":9596},"deactivate":{"__isSmartRef__":true,"id":9600},"blink":{"__isSmartRef__":true,"id":9604},"ABPreturn":{"__isSmartRef__":true,"id":9608},"ABPstart":{"__isSmartRef__":true,"id":9612},"ABPcontinue":{"__isSmartRef__":true,"id":9616},"ABPshowValue":{"__isSmartRef__":true,"id":9620},"ABPgetValue":{"__isSmartRef__":true,"id":9624},"ABPhasChildNodes":{"__isSmartRef__":true,"id":9628},"onMouseDown":{"__isSmartRef__":true,"id":9632},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":9640},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":9644},"ABPmarkAsDone":{"__isSmartRef__":true,"id":9648},"ABPmarkAsActive":{"__isSmartRef__":true,"id":9652},"getStateMorph":{"__isSmartRef__":true,"id":9656},"showState":{"__isSmartRef__":true,"id":9660},"ABPfailHard":{"__isSmartRef__":true,"id":9664},"markFinalDrawWith":{"__isSmartRef__":true,"id":9668}},"9568":{"varMapping":{"__isSmartRef__":true,"id":9569},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":9570},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9569":{"this":{"__isSmartRef__":true,"id":9543}},"9570":{"timestamp":{"__isSmartRef__":true,"id":9571},"user":"sebastianwoinar","tags":[]},"9571":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"9572":{"varMapping":{"__isSmartRef__":true,"id":9573},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":9574},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9573":{"this":{"__isSmartRef__":true,"id":9543}},"9574":{"timestamp":{"__isSmartRef__":true,"id":9575},"user":"sebastianwoinar","tags":[]},"9575":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9576":{"varMapping":{"__isSmartRef__":true,"id":9577},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":9578},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9577":{"this":{"__isSmartRef__":true,"id":9543}},"9578":{"timestamp":{"__isSmartRef__":true,"id":9579},"user":"sebastianwoinar","tags":[]},"9579":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9580":{"varMapping":{"__isSmartRef__":true,"id":9581},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9582},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9581":{"this":{"__isSmartRef__":true,"id":9543}},"9582":{"timestamp":{"__isSmartRef__":true,"id":9583},"user":"sebastianwoinar","tags":[]},"9583":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9584":{"varMapping":{"__isSmartRef__":true,"id":9585},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":9586},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9585":{"this":{"__isSmartRef__":true,"id":9543}},"9586":{"timestamp":{"__isSmartRef__":true,"id":9587},"user":"sebastianwoinar","tags":[]},"9587":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9588":{"varMapping":{"__isSmartRef__":true,"id":9589},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":9590},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9589":{"this":{"__isSmartRef__":true,"id":9543}},"9590":{"timestamp":{"__isSmartRef__":true,"id":9591},"user":"sebastianwoinar","tags":[]},"9591":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9592":{"varMapping":{"__isSmartRef__":true,"id":9593},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":9594},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9593":{"this":{"__isSmartRef__":true,"id":9543}},"9594":{"timestamp":{"__isSmartRef__":true,"id":9595},"user":"sebastianwoinar","tags":[]},"9595":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9596":{"varMapping":{"__isSmartRef__":true,"id":9597},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":9598},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9597":{"this":{"__isSmartRef__":true,"id":9543}},"9598":{"timestamp":{"__isSmartRef__":true,"id":9599},"user":"sebastianwoinar","tags":[]},"9599":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"9600":{"varMapping":{"__isSmartRef__":true,"id":9601},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9602},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9601":{"this":{"__isSmartRef__":true,"id":9543}},"9602":{"timestamp":{"__isSmartRef__":true,"id":9603},"user":"sebastianwoinar","tags":[]},"9603":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"9604":{"varMapping":{"__isSmartRef__":true,"id":9605},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":9606},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9605":{"this":{"__isSmartRef__":true,"id":9543}},"9606":{"timestamp":{"__isSmartRef__":true,"id":9607},"user":"sebastianwoinar","tags":[]},"9607":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"9608":{"varMapping":{"__isSmartRef__":true,"id":9609},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":9610},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9609":{"this":{"__isSmartRef__":true,"id":9543}},"9610":{"timestamp":{"__isSmartRef__":true,"id":9611},"user":"sebastianwoinar","tags":[]},"9611":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"9612":{"varMapping":{"__isSmartRef__":true,"id":9613},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":9614},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9613":{"this":{"__isSmartRef__":true,"id":9543}},"9614":{"timestamp":{"__isSmartRef__":true,"id":9615},"user":"sebastianwoinar","tags":[]},"9615":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"9616":{"varMapping":{"__isSmartRef__":true,"id":9617},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":9618},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9617":{"this":{"__isSmartRef__":true,"id":9543}},"9618":{"timestamp":{"__isSmartRef__":true,"id":9619},"user":"sebastianwoinar","tags":[]},"9619":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"9620":{"varMapping":{"__isSmartRef__":true,"id":9621},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":9622},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9621":{"this":{"__isSmartRef__":true,"id":9543}},"9622":{"timestamp":{"__isSmartRef__":true,"id":9623},"user":"sebastianwoinar","tags":[]},"9623":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"9624":{"varMapping":{"__isSmartRef__":true,"id":9625},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":9626},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9625":{"this":{"__isSmartRef__":true,"id":9543}},"9626":{"timestamp":{"__isSmartRef__":true,"id":9627},"user":"sebastianwoinar","tags":[]},"9627":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"9628":{"varMapping":{"__isSmartRef__":true,"id":9629},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":9630},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9629":{"this":{"__isSmartRef__":true,"id":9543}},"9630":{"timestamp":{"__isSmartRef__":true,"id":9631},"user":"sebastianwoinar","tags":[]},"9631":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"9632":{"varMapping":{"__isSmartRef__":true,"id":9633},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":9638},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9633":{"this":{"__isSmartRef__":true,"id":9543},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9634}},"9634":{"$super":{"__isSmartRef__":true,"id":9635}},"9635":{"varMapping":{"__isSmartRef__":true,"id":9636},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9637},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9636":{"obj":{"__isSmartRef__":true,"id":9543},"name":"onMouseDown"},"9637":{},"9638":{"timestamp":{"__isSmartRef__":true,"id":9639},"user":"sebastianwoinar","tags":[]},"9639":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"9640":{"varMapping":{"__isSmartRef__":true,"id":9641},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":9642},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9641":{"this":{"__isSmartRef__":true,"id":9543}},"9642":{"timestamp":{"__isSmartRef__":true,"id":9643},"user":"sebastianwoinar","tags":[]},"9643":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"9644":{"varMapping":{"__isSmartRef__":true,"id":9645},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":9646},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9645":{"this":{"__isSmartRef__":true,"id":9543}},"9646":{"timestamp":{"__isSmartRef__":true,"id":9647},"user":"sebastianwoinar","tags":[]},"9647":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"9648":{"varMapping":{"__isSmartRef__":true,"id":9649},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9650},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9649":{"this":{"__isSmartRef__":true,"id":9543}},"9650":{"timestamp":{"__isSmartRef__":true,"id":9651},"user":"sebastianwoinar","tags":[]},"9651":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"9652":{"varMapping":{"__isSmartRef__":true,"id":9653},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":9654},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9653":{"this":{"__isSmartRef__":true,"id":9543}},"9654":{"timestamp":{"__isSmartRef__":true,"id":9655},"user":"sebastianwoinar","tags":[]},"9655":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"9656":{"varMapping":{"__isSmartRef__":true,"id":9657},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":9658},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9657":{"this":{"__isSmartRef__":true,"id":9543}},"9658":{"timestamp":{"__isSmartRef__":true,"id":9659},"user":"sebastianwoinar","tags":[]},"9659":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"9660":{"varMapping":{"__isSmartRef__":true,"id":9661},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9662},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9661":{"this":{"__isSmartRef__":true,"id":9543}},"9662":{"timestamp":{"__isSmartRef__":true,"id":9663},"user":"sebastianwoinar","tags":[]},"9663":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"9664":{"varMapping":{"__isSmartRef__":true,"id":9665},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":9666},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9665":{"this":{"__isSmartRef__":true,"id":9543}},"9666":{"timestamp":{"__isSmartRef__":true,"id":9667},"user":"sebastianwoinar","tags":[]},"9667":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"9668":{"varMapping":{"__isSmartRef__":true,"id":9669},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9670},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9669":{"this":{"__isSmartRef__":true,"id":9543}},"9670":{"timestamp":{"__isSmartRef__":true,"id":9671},"user":"sebastianwoinar","tags":[]},"9671":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"9672":{"submorphs":[{"__isSmartRef__":true,"id":9673}],"scripts":[],"shape":{"__isSmartRef__":true,"id":9690},"id":"5E4F89F7-6EB1-4329-9507-808858023A2A","eventHandler":{"__isSmartRef__":true,"id":9691},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":9692},"name":"node28","partsBinMetaInfo":{"__isSmartRef__":true,"id":9693},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6610},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":9390},"level":3,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9696},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(780.6,210.0)"},"9673":{"submorphs":[],"scripts":[],"id":"A49CB44B-D2C9-48C5-A0F0-1A61BCD35F10","shape":{"__isSmartRef__":true,"id":9674},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":9675},"textChunks":[{"__isSmartRef__":true,"id":9687}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":9689},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":9672},"_Rotation":0,"_Scale":1,"priorSelectionRange":[0,0],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"9674":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"9675":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":9676},{"__isSmartRef__":true,"id":9678},{"__isSmartRef__":true,"id":9680},{"__isSmartRef__":true,"id":9682},{"__isSmartRef__":true,"id":9684}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":9686},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9676":{"date":{"__isSmartRef__":true,"id":9677},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"9677":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"9678":{"date":{"__isSmartRef__":true,"id":9679},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"9679":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"9680":{"date":{"__isSmartRef__":true,"id":9681},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"9681":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"9682":{"date":{"__isSmartRef__":true,"id":9683},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"9683":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"9684":{"date":{"__isSmartRef__":true,"id":9685},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"9685":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"9686":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"9687":{"style":{"__isSmartRef__":true,"id":9688},"morph":{"__isSmartRef__":true,"id":9673},"chunkOwner":{"__isSmartRef__":true,"id":9673},"storedString":"","_id":"_105312","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9688":{"fontSize":7,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9689":{"morph":{"__isSmartRef__":true,"id":9673},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9690":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(255,255,255)","_Fill":"Color.rgb(255,255,255)"},"9691":{"morph":{"__isSmartRef__":true,"id":9672},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"9692":{},"9693":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":9694}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"9694":{"date":{"__isSmartRef__":true,"id":9695},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"9695":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"9696":{"buildChildNodes":{"__isSmartRef__":true,"id":9697},"getGameTree":{"__isSmartRef__":true,"id":9701},"getLevel":{"__isSmartRef__":true,"id":9705},"getLevelWeight":{"__isSmartRef__":true,"id":9709},"getWeight":{"__isSmartRef__":true,"id":9713},"setNode":{"__isSmartRef__":true,"id":9717},"setParent":{"__isSmartRef__":true,"id":9721},"getParent":{"__isSmartRef__":true,"id":9725},"deactivate":{"__isSmartRef__":true,"id":9729},"blink":{"__isSmartRef__":true,"id":9733},"ABPreturn":{"__isSmartRef__":true,"id":9737},"ABPstart":{"__isSmartRef__":true,"id":9741},"ABPcontinue":{"__isSmartRef__":true,"id":9745},"ABPshowValue":{"__isSmartRef__":true,"id":9749},"ABPgetValue":{"__isSmartRef__":true,"id":9753},"ABPhasChildNodes":{"__isSmartRef__":true,"id":9757},"onMouseDown":{"__isSmartRef__":true,"id":9761},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":9769},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":9773},"ABPmarkAsDone":{"__isSmartRef__":true,"id":9777},"ABPmarkAsActive":{"__isSmartRef__":true,"id":9781},"getStateMorph":{"__isSmartRef__":true,"id":9785},"showState":{"__isSmartRef__":true,"id":9789},"ABPfailHard":{"__isSmartRef__":true,"id":9793},"markFinalDrawWith":{"__isSmartRef__":true,"id":9797}},"9697":{"varMapping":{"__isSmartRef__":true,"id":9698},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":9699},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9698":{"this":{"__isSmartRef__":true,"id":9672}},"9699":{"timestamp":{"__isSmartRef__":true,"id":9700},"user":"sebastianwoinar","tags":[]},"9700":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"9701":{"varMapping":{"__isSmartRef__":true,"id":9702},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":9703},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9702":{"this":{"__isSmartRef__":true,"id":9672}},"9703":{"timestamp":{"__isSmartRef__":true,"id":9704},"user":"sebastianwoinar","tags":[]},"9704":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9705":{"varMapping":{"__isSmartRef__":true,"id":9706},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":9707},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9706":{"this":{"__isSmartRef__":true,"id":9672}},"9707":{"timestamp":{"__isSmartRef__":true,"id":9708},"user":"sebastianwoinar","tags":[]},"9708":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9709":{"varMapping":{"__isSmartRef__":true,"id":9710},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9711},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9710":{"this":{"__isSmartRef__":true,"id":9672}},"9711":{"timestamp":{"__isSmartRef__":true,"id":9712},"user":"sebastianwoinar","tags":[]},"9712":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9713":{"varMapping":{"__isSmartRef__":true,"id":9714},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":9715},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9714":{"this":{"__isSmartRef__":true,"id":9672}},"9715":{"timestamp":{"__isSmartRef__":true,"id":9716},"user":"sebastianwoinar","tags":[]},"9716":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9717":{"varMapping":{"__isSmartRef__":true,"id":9718},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":9719},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9718":{"this":{"__isSmartRef__":true,"id":9672}},"9719":{"timestamp":{"__isSmartRef__":true,"id":9720},"user":"sebastianwoinar","tags":[]},"9720":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9721":{"varMapping":{"__isSmartRef__":true,"id":9722},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":9723},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9722":{"this":{"__isSmartRef__":true,"id":9672}},"9723":{"timestamp":{"__isSmartRef__":true,"id":9724},"user":"sebastianwoinar","tags":[]},"9724":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9725":{"varMapping":{"__isSmartRef__":true,"id":9726},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":9727},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9726":{"this":{"__isSmartRef__":true,"id":9672}},"9727":{"timestamp":{"__isSmartRef__":true,"id":9728},"user":"sebastianwoinar","tags":[]},"9728":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"9729":{"varMapping":{"__isSmartRef__":true,"id":9730},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9731},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9730":{"this":{"__isSmartRef__":true,"id":9672}},"9731":{"timestamp":{"__isSmartRef__":true,"id":9732},"user":"sebastianwoinar","tags":[]},"9732":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"9733":{"varMapping":{"__isSmartRef__":true,"id":9734},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":9735},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9734":{"this":{"__isSmartRef__":true,"id":9672}},"9735":{"timestamp":{"__isSmartRef__":true,"id":9736},"user":"sebastianwoinar","tags":[]},"9736":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"9737":{"varMapping":{"__isSmartRef__":true,"id":9738},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":9739},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9738":{"this":{"__isSmartRef__":true,"id":9672}},"9739":{"timestamp":{"__isSmartRef__":true,"id":9740},"user":"sebastianwoinar","tags":[]},"9740":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"9741":{"varMapping":{"__isSmartRef__":true,"id":9742},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":9743},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9742":{"this":{"__isSmartRef__":true,"id":9672}},"9743":{"timestamp":{"__isSmartRef__":true,"id":9744},"user":"sebastianwoinar","tags":[]},"9744":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"9745":{"varMapping":{"__isSmartRef__":true,"id":9746},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":9747},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9746":{"this":{"__isSmartRef__":true,"id":9672}},"9747":{"timestamp":{"__isSmartRef__":true,"id":9748},"user":"sebastianwoinar","tags":[]},"9748":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"9749":{"varMapping":{"__isSmartRef__":true,"id":9750},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":9751},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9750":{"this":{"__isSmartRef__":true,"id":9672}},"9751":{"timestamp":{"__isSmartRef__":true,"id":9752},"user":"sebastianwoinar","tags":[]},"9752":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"9753":{"varMapping":{"__isSmartRef__":true,"id":9754},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":9755},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9754":{"this":{"__isSmartRef__":true,"id":9672}},"9755":{"timestamp":{"__isSmartRef__":true,"id":9756},"user":"sebastianwoinar","tags":[]},"9756":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"9757":{"varMapping":{"__isSmartRef__":true,"id":9758},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":9759},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9758":{"this":{"__isSmartRef__":true,"id":9672}},"9759":{"timestamp":{"__isSmartRef__":true,"id":9760},"user":"sebastianwoinar","tags":[]},"9760":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"9761":{"varMapping":{"__isSmartRef__":true,"id":9762},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":9767},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9762":{"this":{"__isSmartRef__":true,"id":9672},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9763}},"9763":{"$super":{"__isSmartRef__":true,"id":9764}},"9764":{"varMapping":{"__isSmartRef__":true,"id":9765},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9766},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9765":{"obj":{"__isSmartRef__":true,"id":9672},"name":"onMouseDown"},"9766":{},"9767":{"timestamp":{"__isSmartRef__":true,"id":9768},"user":"sebastianwoinar","tags":[]},"9768":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"9769":{"varMapping":{"__isSmartRef__":true,"id":9770},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":9771},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9770":{"this":{"__isSmartRef__":true,"id":9672}},"9771":{"timestamp":{"__isSmartRef__":true,"id":9772},"user":"sebastianwoinar","tags":[]},"9772":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"9773":{"varMapping":{"__isSmartRef__":true,"id":9774},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":9775},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9774":{"this":{"__isSmartRef__":true,"id":9672}},"9775":{"timestamp":{"__isSmartRef__":true,"id":9776},"user":"sebastianwoinar","tags":[]},"9776":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"9777":{"varMapping":{"__isSmartRef__":true,"id":9778},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9779},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9778":{"this":{"__isSmartRef__":true,"id":9672}},"9779":{"timestamp":{"__isSmartRef__":true,"id":9780},"user":"sebastianwoinar","tags":[]},"9780":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"9781":{"varMapping":{"__isSmartRef__":true,"id":9782},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":9783},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9782":{"this":{"__isSmartRef__":true,"id":9672}},"9783":{"timestamp":{"__isSmartRef__":true,"id":9784},"user":"sebastianwoinar","tags":[]},"9784":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"9785":{"varMapping":{"__isSmartRef__":true,"id":9786},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":9787},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9786":{"this":{"__isSmartRef__":true,"id":9672}},"9787":{"timestamp":{"__isSmartRef__":true,"id":9788},"user":"sebastianwoinar","tags":[]},"9788":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"9789":{"varMapping":{"__isSmartRef__":true,"id":9790},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9791},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9790":{"this":{"__isSmartRef__":true,"id":9672}},"9791":{"timestamp":{"__isSmartRef__":true,"id":9792},"user":"sebastianwoinar","tags":[]},"9792":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"9793":{"varMapping":{"__isSmartRef__":true,"id":9794},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":9795},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9794":{"this":{"__isSmartRef__":true,"id":9672}},"9795":{"timestamp":{"__isSmartRef__":true,"id":9796},"user":"sebastianwoinar","tags":[]},"9796":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"9797":{"varMapping":{"__isSmartRef__":true,"id":9798},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9799},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9798":{"this":{"__isSmartRef__":true,"id":9672}},"9799":{"timestamp":{"__isSmartRef__":true,"id":9800},"user":"sebastianwoinar","tags":[]},"9800":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"9801":{"buildChildNodes":{"__isSmartRef__":true,"id":9802},"getGameTree":{"__isSmartRef__":true,"id":9806},"getLevel":{"__isSmartRef__":true,"id":9810},"getLevelWeight":{"__isSmartRef__":true,"id":9814},"getWeight":{"__isSmartRef__":true,"id":9818},"setNode":{"__isSmartRef__":true,"id":9822},"setParent":{"__isSmartRef__":true,"id":9826},"getParent":{"__isSmartRef__":true,"id":9830},"deactivate":{"__isSmartRef__":true,"id":9834},"blink":{"__isSmartRef__":true,"id":9838},"ABPreturn":{"__isSmartRef__":true,"id":9842},"ABPstart":{"__isSmartRef__":true,"id":9846},"ABPcontinue":{"__isSmartRef__":true,"id":9850},"ABPshowValue":{"__isSmartRef__":true,"id":9854},"ABPgetValue":{"__isSmartRef__":true,"id":9858},"ABPhasChildNodes":{"__isSmartRef__":true,"id":9862},"onMouseDown":{"__isSmartRef__":true,"id":9866},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":9874},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":9878},"ABPmarkAsDone":{"__isSmartRef__":true,"id":9882},"ABPmarkAsActive":{"__isSmartRef__":true,"id":9886},"getStateMorph":{"__isSmartRef__":true,"id":9890},"showState":{"__isSmartRef__":true,"id":9894},"ABPfailHard":{"__isSmartRef__":true,"id":9898},"markFinalDrawWith":{"__isSmartRef__":true,"id":9902}},"9802":{"varMapping":{"__isSmartRef__":true,"id":9803},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":9804},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9803":{"this":{"__isSmartRef__":true,"id":9390}},"9804":{"timestamp":{"__isSmartRef__":true,"id":9805},"user":"sebastianwoinar","tags":[]},"9805":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"9806":{"varMapping":{"__isSmartRef__":true,"id":9807},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":9808},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9807":{"this":{"__isSmartRef__":true,"id":9390}},"9808":{"timestamp":{"__isSmartRef__":true,"id":9809},"user":"sebastianwoinar","tags":[]},"9809":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9810":{"varMapping":{"__isSmartRef__":true,"id":9811},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":9812},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9811":{"this":{"__isSmartRef__":true,"id":9390}},"9812":{"timestamp":{"__isSmartRef__":true,"id":9813},"user":"sebastianwoinar","tags":[]},"9813":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9814":{"varMapping":{"__isSmartRef__":true,"id":9815},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9816},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9815":{"this":{"__isSmartRef__":true,"id":9390}},"9816":{"timestamp":{"__isSmartRef__":true,"id":9817},"user":"sebastianwoinar","tags":[]},"9817":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9818":{"varMapping":{"__isSmartRef__":true,"id":9819},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":9820},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9819":{"this":{"__isSmartRef__":true,"id":9390}},"9820":{"timestamp":{"__isSmartRef__":true,"id":9821},"user":"sebastianwoinar","tags":[]},"9821":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9822":{"varMapping":{"__isSmartRef__":true,"id":9823},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":9824},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9823":{"this":{"__isSmartRef__":true,"id":9390}},"9824":{"timestamp":{"__isSmartRef__":true,"id":9825},"user":"sebastianwoinar","tags":[]},"9825":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9826":{"varMapping":{"__isSmartRef__":true,"id":9827},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":9828},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9827":{"this":{"__isSmartRef__":true,"id":9390}},"9828":{"timestamp":{"__isSmartRef__":true,"id":9829},"user":"sebastianwoinar","tags":[]},"9829":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9830":{"varMapping":{"__isSmartRef__":true,"id":9831},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":9832},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9831":{"this":{"__isSmartRef__":true,"id":9390}},"9832":{"timestamp":{"__isSmartRef__":true,"id":9833},"user":"sebastianwoinar","tags":[]},"9833":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"9834":{"varMapping":{"__isSmartRef__":true,"id":9835},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9836},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9835":{"this":{"__isSmartRef__":true,"id":9390}},"9836":{"timestamp":{"__isSmartRef__":true,"id":9837},"user":"sebastianwoinar","tags":[]},"9837":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"9838":{"varMapping":{"__isSmartRef__":true,"id":9839},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":9840},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9839":{"this":{"__isSmartRef__":true,"id":9390}},"9840":{"timestamp":{"__isSmartRef__":true,"id":9841},"user":"sebastianwoinar","tags":[]},"9841":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"9842":{"varMapping":{"__isSmartRef__":true,"id":9843},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":9844},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9843":{"this":{"__isSmartRef__":true,"id":9390}},"9844":{"timestamp":{"__isSmartRef__":true,"id":9845},"user":"sebastianwoinar","tags":[]},"9845":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"9846":{"varMapping":{"__isSmartRef__":true,"id":9847},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":9848},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9847":{"this":{"__isSmartRef__":true,"id":9390}},"9848":{"timestamp":{"__isSmartRef__":true,"id":9849},"user":"sebastianwoinar","tags":[]},"9849":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"9850":{"varMapping":{"__isSmartRef__":true,"id":9851},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":9852},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9851":{"this":{"__isSmartRef__":true,"id":9390}},"9852":{"timestamp":{"__isSmartRef__":true,"id":9853},"user":"sebastianwoinar","tags":[]},"9853":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"9854":{"varMapping":{"__isSmartRef__":true,"id":9855},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":9856},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9855":{"this":{"__isSmartRef__":true,"id":9390}},"9856":{"timestamp":{"__isSmartRef__":true,"id":9857},"user":"sebastianwoinar","tags":[]},"9857":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"9858":{"varMapping":{"__isSmartRef__":true,"id":9859},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":9860},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9859":{"this":{"__isSmartRef__":true,"id":9390}},"9860":{"timestamp":{"__isSmartRef__":true,"id":9861},"user":"sebastianwoinar","tags":[]},"9861":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"9862":{"varMapping":{"__isSmartRef__":true,"id":9863},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":9864},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9863":{"this":{"__isSmartRef__":true,"id":9390}},"9864":{"timestamp":{"__isSmartRef__":true,"id":9865},"user":"sebastianwoinar","tags":[]},"9865":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"9866":{"varMapping":{"__isSmartRef__":true,"id":9867},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":9872},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9867":{"this":{"__isSmartRef__":true,"id":9390},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9868}},"9868":{"$super":{"__isSmartRef__":true,"id":9869}},"9869":{"varMapping":{"__isSmartRef__":true,"id":9870},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9871},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9870":{"obj":{"__isSmartRef__":true,"id":9390},"name":"onMouseDown"},"9871":{},"9872":{"timestamp":{"__isSmartRef__":true,"id":9873},"user":"sebastianwoinar","tags":[]},"9873":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"9874":{"varMapping":{"__isSmartRef__":true,"id":9875},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":9876},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9875":{"this":{"__isSmartRef__":true,"id":9390}},"9876":{"timestamp":{"__isSmartRef__":true,"id":9877},"user":"sebastianwoinar","tags":[]},"9877":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"9878":{"varMapping":{"__isSmartRef__":true,"id":9879},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":9880},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9879":{"this":{"__isSmartRef__":true,"id":9390}},"9880":{"timestamp":{"__isSmartRef__":true,"id":9881},"user":"sebastianwoinar","tags":[]},"9881":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"9882":{"varMapping":{"__isSmartRef__":true,"id":9883},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9884},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9883":{"this":{"__isSmartRef__":true,"id":9390}},"9884":{"timestamp":{"__isSmartRef__":true,"id":9885},"user":"sebastianwoinar","tags":[]},"9885":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"9886":{"varMapping":{"__isSmartRef__":true,"id":9887},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":9888},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9887":{"this":{"__isSmartRef__":true,"id":9390}},"9888":{"timestamp":{"__isSmartRef__":true,"id":9889},"user":"sebastianwoinar","tags":[]},"9889":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"9890":{"varMapping":{"__isSmartRef__":true,"id":9891},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":9892},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9891":{"this":{"__isSmartRef__":true,"id":9390}},"9892":{"timestamp":{"__isSmartRef__":true,"id":9893},"user":"sebastianwoinar","tags":[]},"9893":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"9894":{"varMapping":{"__isSmartRef__":true,"id":9895},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9896},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9895":{"this":{"__isSmartRef__":true,"id":9390}},"9896":{"timestamp":{"__isSmartRef__":true,"id":9897},"user":"sebastianwoinar","tags":[]},"9897":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"9898":{"varMapping":{"__isSmartRef__":true,"id":9899},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":9900},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9899":{"this":{"__isSmartRef__":true,"id":9390}},"9900":{"timestamp":{"__isSmartRef__":true,"id":9901},"user":"sebastianwoinar","tags":[]},"9901":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"9902":{"varMapping":{"__isSmartRef__":true,"id":9903},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9904},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9903":{"this":{"__isSmartRef__":true,"id":9390}},"9904":{"timestamp":{"__isSmartRef__":true,"id":9905},"user":"sebastianwoinar","tags":[]},"9905":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"9906":{"isActive":true,"alpha":11,"beta":11,"i":1,"m":11,"origAlpha":-10000000000000,"d":0},"9907":{"buildChildNodes":{"__isSmartRef__":true,"id":9908},"getGameTree":{"__isSmartRef__":true,"id":9912},"getLevel":{"__isSmartRef__":true,"id":9916},"getLevelWeight":{"__isSmartRef__":true,"id":9920},"getWeight":{"__isSmartRef__":true,"id":9924},"setNode":{"__isSmartRef__":true,"id":9928},"setParent":{"__isSmartRef__":true,"id":9932},"getParent":{"__isSmartRef__":true,"id":9936},"deactivate":{"__isSmartRef__":true,"id":9940},"blink":{"__isSmartRef__":true,"id":9944},"ABPreturn":{"__isSmartRef__":true,"id":9948},"ABPstart":{"__isSmartRef__":true,"id":9952},"ABPcontinue":{"__isSmartRef__":true,"id":9956},"ABPshowValue":{"__isSmartRef__":true,"id":9960},"ABPgetValue":{"__isSmartRef__":true,"id":9964},"ABPhasChildNodes":{"__isSmartRef__":true,"id":9968},"onMouseDown":{"__isSmartRef__":true,"id":9972},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":9980},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":9984},"ABPmarkAsDone":{"__isSmartRef__":true,"id":9988},"ABPmarkAsActive":{"__isSmartRef__":true,"id":9992},"getStateMorph":{"__isSmartRef__":true,"id":9996},"showState":{"__isSmartRef__":true,"id":10000},"ABPfailHard":{"__isSmartRef__":true,"id":10004},"markFinalDrawWith":{"__isSmartRef__":true,"id":10008}},"9908":{"varMapping":{"__isSmartRef__":true,"id":9909},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":9910},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9909":{"this":{"__isSmartRef__":true,"id":8846}},"9910":{"timestamp":{"__isSmartRef__":true,"id":9911},"user":"sebastianwoinar","tags":[]},"9911":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"9912":{"varMapping":{"__isSmartRef__":true,"id":9913},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":9914},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9913":{"this":{"__isSmartRef__":true,"id":8846}},"9914":{"timestamp":{"__isSmartRef__":true,"id":9915},"user":"sebastianwoinar","tags":[]},"9915":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9916":{"varMapping":{"__isSmartRef__":true,"id":9917},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":9918},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9917":{"this":{"__isSmartRef__":true,"id":8846}},"9918":{"timestamp":{"__isSmartRef__":true,"id":9919},"user":"sebastianwoinar","tags":[]},"9919":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9920":{"varMapping":{"__isSmartRef__":true,"id":9921},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":9922},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9921":{"this":{"__isSmartRef__":true,"id":8846}},"9922":{"timestamp":{"__isSmartRef__":true,"id":9923},"user":"sebastianwoinar","tags":[]},"9923":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9924":{"varMapping":{"__isSmartRef__":true,"id":9925},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":9926},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9925":{"this":{"__isSmartRef__":true,"id":8846}},"9926":{"timestamp":{"__isSmartRef__":true,"id":9927},"user":"sebastianwoinar","tags":[]},"9927":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9928":{"varMapping":{"__isSmartRef__":true,"id":9929},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":9930},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9929":{"this":{"__isSmartRef__":true,"id":8846}},"9930":{"timestamp":{"__isSmartRef__":true,"id":9931},"user":"sebastianwoinar","tags":[]},"9931":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9932":{"varMapping":{"__isSmartRef__":true,"id":9933},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":9934},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9933":{"this":{"__isSmartRef__":true,"id":8846}},"9934":{"timestamp":{"__isSmartRef__":true,"id":9935},"user":"sebastianwoinar","tags":[]},"9935":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"9936":{"varMapping":{"__isSmartRef__":true,"id":9937},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":9938},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9937":{"this":{"__isSmartRef__":true,"id":8846}},"9938":{"timestamp":{"__isSmartRef__":true,"id":9939},"user":"sebastianwoinar","tags":[]},"9939":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"9940":{"varMapping":{"__isSmartRef__":true,"id":9941},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9941":{"this":{"__isSmartRef__":true,"id":8846}},"9942":{"timestamp":{"__isSmartRef__":true,"id":9943},"user":"sebastianwoinar","tags":[]},"9943":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"9944":{"varMapping":{"__isSmartRef__":true,"id":9945},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":9946},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9945":{"this":{"__isSmartRef__":true,"id":8846}},"9946":{"timestamp":{"__isSmartRef__":true,"id":9947},"user":"sebastianwoinar","tags":[]},"9947":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"9948":{"varMapping":{"__isSmartRef__":true,"id":9949},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":9950},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9949":{"this":{"__isSmartRef__":true,"id":8846}},"9950":{"timestamp":{"__isSmartRef__":true,"id":9951},"user":"sebastianwoinar","tags":[]},"9951":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"9952":{"varMapping":{"__isSmartRef__":true,"id":9953},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":9954},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9953":{"this":{"__isSmartRef__":true,"id":8846}},"9954":{"timestamp":{"__isSmartRef__":true,"id":9955},"user":"sebastianwoinar","tags":[]},"9955":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"9956":{"varMapping":{"__isSmartRef__":true,"id":9957},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":9958},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9957":{"this":{"__isSmartRef__":true,"id":8846}},"9958":{"timestamp":{"__isSmartRef__":true,"id":9959},"user":"sebastianwoinar","tags":[]},"9959":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"9960":{"varMapping":{"__isSmartRef__":true,"id":9961},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":9962},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9961":{"this":{"__isSmartRef__":true,"id":8846}},"9962":{"timestamp":{"__isSmartRef__":true,"id":9963},"user":"sebastianwoinar","tags":[]},"9963":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"9964":{"varMapping":{"__isSmartRef__":true,"id":9965},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":9966},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9965":{"this":{"__isSmartRef__":true,"id":8846}},"9966":{"timestamp":{"__isSmartRef__":true,"id":9967},"user":"sebastianwoinar","tags":[]},"9967":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"9968":{"varMapping":{"__isSmartRef__":true,"id":9969},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":9970},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9969":{"this":{"__isSmartRef__":true,"id":8846}},"9970":{"timestamp":{"__isSmartRef__":true,"id":9971},"user":"sebastianwoinar","tags":[]},"9971":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"9972":{"varMapping":{"__isSmartRef__":true,"id":9973},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":9978},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9973":{"this":{"__isSmartRef__":true,"id":8846},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":9974}},"9974":{"$super":{"__isSmartRef__":true,"id":9975}},"9975":{"varMapping":{"__isSmartRef__":true,"id":9976},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":9977},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9976":{"obj":{"__isSmartRef__":true,"id":8846},"name":"onMouseDown"},"9977":{},"9978":{"timestamp":{"__isSmartRef__":true,"id":9979},"user":"sebastianwoinar","tags":[]},"9979":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"9980":{"varMapping":{"__isSmartRef__":true,"id":9981},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":9982},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9981":{"this":{"__isSmartRef__":true,"id":8846}},"9982":{"timestamp":{"__isSmartRef__":true,"id":9983},"user":"sebastianwoinar","tags":[]},"9983":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"9984":{"varMapping":{"__isSmartRef__":true,"id":9985},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":9986},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9985":{"this":{"__isSmartRef__":true,"id":8846}},"9986":{"timestamp":{"__isSmartRef__":true,"id":9987},"user":"sebastianwoinar","tags":[]},"9987":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"9988":{"varMapping":{"__isSmartRef__":true,"id":9989},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":9990},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9989":{"this":{"__isSmartRef__":true,"id":8846}},"9990":{"timestamp":{"__isSmartRef__":true,"id":9991},"user":"sebastianwoinar","tags":[]},"9991":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"9992":{"varMapping":{"__isSmartRef__":true,"id":9993},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":9994},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9993":{"this":{"__isSmartRef__":true,"id":8846}},"9994":{"timestamp":{"__isSmartRef__":true,"id":9995},"user":"sebastianwoinar","tags":[]},"9995":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"9996":{"varMapping":{"__isSmartRef__":true,"id":9997},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":9998},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"9997":{"this":{"__isSmartRef__":true,"id":8846}},"9998":{"timestamp":{"__isSmartRef__":true,"id":9999},"user":"sebastianwoinar","tags":[]},"9999":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"10000":{"varMapping":{"__isSmartRef__":true,"id":10001},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10002},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10001":{"this":{"__isSmartRef__":true,"id":8846}},"10002":{"timestamp":{"__isSmartRef__":true,"id":10003},"user":"sebastianwoinar","tags":[]},"10003":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"10004":{"varMapping":{"__isSmartRef__":true,"id":10005},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":10006},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10005":{"this":{"__isSmartRef__":true,"id":8846}},"10006":{"timestamp":{"__isSmartRef__":true,"id":10007},"user":"sebastianwoinar","tags":[]},"10007":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"10008":{"varMapping":{"__isSmartRef__":true,"id":10009},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10010},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10009":{"this":{"__isSmartRef__":true,"id":8846}},"10010":{"timestamp":{"__isSmartRef__":true,"id":10011},"user":"sebastianwoinar","tags":[]},"10011":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"10012":{"submorphs":[{"__isSmartRef__":true,"id":10013}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10030},"id":"53C39193-6682-4940-B382-565C9B3938BB","eventHandler":{"__isSmartRef__":true,"id":10031},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":10032},"name":"node29","partsBinMetaInfo":{"__isSmartRef__":true,"id":10033},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6612},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":10036}],"parent":{"__isSmartRef__":true,"id":6534},"level":1,"abp":{"__isSmartRef__":true,"id":10686},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10687},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(780.6,110.0)"},"10013":{"submorphs":[],"scripts":[],"id":"704961A2-A82F-4821-AC75-722F53CAF085","shape":{"__isSmartRef__":true,"id":10014},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":10015},"textChunks":[{"__isSmartRef__":true,"id":10027}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":10029},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":10012},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)","_TextColor":"Color.rgb(204,0,0)"},"10014":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"10015":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":10016},{"__isSmartRef__":true,"id":10018},{"__isSmartRef__":true,"id":10020},{"__isSmartRef__":true,"id":10022},{"__isSmartRef__":true,"id":10024}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":10026},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10016":{"date":{"__isSmartRef__":true,"id":10017},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"10017":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"10018":{"date":{"__isSmartRef__":true,"id":10019},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"10019":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"10020":{"date":{"__isSmartRef__":true,"id":10021},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"10021":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"10022":{"date":{"__isSmartRef__":true,"id":10023},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"10023":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"10024":{"date":{"__isSmartRef__":true,"id":10025},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"10025":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"10026":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"10027":{"style":{"__isSmartRef__":true,"id":10028},"chunkOwner":{"__isSmartRef__":true,"id":10013},"_id":"_1633","storedString":"11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10028":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10029":{"morph":{"__isSmartRef__":true,"id":10013},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10030":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"10031":{"morph":{"__isSmartRef__":true,"id":10012},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10032":{},"10033":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":10034}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10034":{"date":{"__isSmartRef__":true,"id":10035},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"10035":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"10036":{"submorphs":[{"__isSmartRef__":true,"id":10037}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10054},"id":"0C241838-44CE-4FF7-84AB-CA07F875D14B","eventHandler":{"__isSmartRef__":true,"id":10055},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":10056},"name":"node30","partsBinMetaInfo":{"__isSmartRef__":true,"id":10057},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6614},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":10060},{"__isSmartRef__":true,"id":10190},{"__isSmartRef__":true,"id":10320},{"__isSmartRef__":true,"id":10450}],"parent":{"__isSmartRef__":true,"id":10012},"level":2,"abp":{"__isSmartRef__":true,"id":10580},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10581},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(874.3,160.0)"},"10037":{"submorphs":[],"scripts":[],"id":"86EA60F5-ADE5-4C9A-B320-15F7850487C8","shape":{"__isSmartRef__":true,"id":10038},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":10039},"textChunks":[{"__isSmartRef__":true,"id":10051}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":10053},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":10036},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)","_TextColor":"Color.rgb(0,0,204)"},"10038":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"10039":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":10040},{"__isSmartRef__":true,"id":10042},{"__isSmartRef__":true,"id":10044},{"__isSmartRef__":true,"id":10046},{"__isSmartRef__":true,"id":10048}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":10050},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10040":{"date":{"__isSmartRef__":true,"id":10041},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"10041":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"10042":{"date":{"__isSmartRef__":true,"id":10043},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"10043":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"10044":{"date":{"__isSmartRef__":true,"id":10045},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"10045":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"10046":{"date":{"__isSmartRef__":true,"id":10047},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"10047":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"10048":{"date":{"__isSmartRef__":true,"id":10049},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"10049":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"10050":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"10051":{"style":{"__isSmartRef__":true,"id":10052},"chunkOwner":{"__isSmartRef__":true,"id":10037},"_id":"_1627","storedString":"-11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10052":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10053":{"morph":{"__isSmartRef__":true,"id":10037},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10054":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"10055":{"morph":{"__isSmartRef__":true,"id":10036},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10056":{},"10057":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":10058}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10058":{"date":{"__isSmartRef__":true,"id":10059},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"10059":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"10060":{"submorphs":[{"__isSmartRef__":true,"id":10061}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10078},"id":"39630681-0B7C-4843-A259-C0D2CD051E2D","eventHandler":{"__isSmartRef__":true,"id":10079},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":10080},"name":"node31","partsBinMetaInfo":{"__isSmartRef__":true,"id":10081},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6616},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":10036},"level":3,"abp":{"__isSmartRef__":true,"id":10084},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10085},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(822.3,210.0)"},"10061":{"submorphs":[],"scripts":[],"id":"52516559-A553-4E06-92C0-7EC2CDA31515","shape":{"__isSmartRef__":true,"id":10062},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":10063},"textChunks":[{"__isSmartRef__":true,"id":10075}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":10077},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":10060},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"10062":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"10063":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":10064},{"__isSmartRef__":true,"id":10066},{"__isSmartRef__":true,"id":10068},{"__isSmartRef__":true,"id":10070},{"__isSmartRef__":true,"id":10072}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":10074},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10064":{"date":{"__isSmartRef__":true,"id":10065},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"10065":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"10066":{"date":{"__isSmartRef__":true,"id":10067},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"10067":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"10068":{"date":{"__isSmartRef__":true,"id":10069},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"10069":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"10070":{"date":{"__isSmartRef__":true,"id":10071},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"10071":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"10072":{"date":{"__isSmartRef__":true,"id":10073},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"10073":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"10074":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"10075":{"style":{"__isSmartRef__":true,"id":10076},"chunkOwner":{"__isSmartRef__":true,"id":10061},"_id":"_1601","storedString":"23","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10076":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10077":{"morph":{"__isSmartRef__":true,"id":10061},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10078":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"10079":{"morph":{"__isSmartRef__":true,"id":10060},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10080":{},"10081":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":10082}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10082":{"date":{"__isSmartRef__":true,"id":10083},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"10083":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"10084":{"isActive":true,"alpha":23,"beta":11,"i":0,"m":23,"origAlpha":-10000000000000,"d":0},"10085":{"buildChildNodes":{"__isSmartRef__":true,"id":10086},"getGameTree":{"__isSmartRef__":true,"id":10090},"getLevel":{"__isSmartRef__":true,"id":10094},"getLevelWeight":{"__isSmartRef__":true,"id":10098},"getWeight":{"__isSmartRef__":true,"id":10102},"setNode":{"__isSmartRef__":true,"id":10106},"setParent":{"__isSmartRef__":true,"id":10110},"getParent":{"__isSmartRef__":true,"id":10114},"deactivate":{"__isSmartRef__":true,"id":10118},"blink":{"__isSmartRef__":true,"id":10122},"ABPreturn":{"__isSmartRef__":true,"id":10126},"ABPstart":{"__isSmartRef__":true,"id":10130},"ABPcontinue":{"__isSmartRef__":true,"id":10134},"ABPshowValue":{"__isSmartRef__":true,"id":10138},"ABPgetValue":{"__isSmartRef__":true,"id":10142},"ABPhasChildNodes":{"__isSmartRef__":true,"id":10146},"onMouseDown":{"__isSmartRef__":true,"id":10150},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":10158},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":10162},"ABPmarkAsDone":{"__isSmartRef__":true,"id":10166},"ABPmarkAsActive":{"__isSmartRef__":true,"id":10170},"getStateMorph":{"__isSmartRef__":true,"id":10174},"showState":{"__isSmartRef__":true,"id":10178},"ABPfailHard":{"__isSmartRef__":true,"id":10182},"markFinalDrawWith":{"__isSmartRef__":true,"id":10186}},"10086":{"varMapping":{"__isSmartRef__":true,"id":10087},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":10088},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10087":{"this":{"__isSmartRef__":true,"id":10060}},"10088":{"timestamp":{"__isSmartRef__":true,"id":10089},"user":"sebastianwoinar","tags":[]},"10089":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"10090":{"varMapping":{"__isSmartRef__":true,"id":10091},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":10092},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10091":{"this":{"__isSmartRef__":true,"id":10060}},"10092":{"timestamp":{"__isSmartRef__":true,"id":10093},"user":"sebastianwoinar","tags":[]},"10093":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10094":{"varMapping":{"__isSmartRef__":true,"id":10095},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":10096},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10095":{"this":{"__isSmartRef__":true,"id":10060}},"10096":{"timestamp":{"__isSmartRef__":true,"id":10097},"user":"sebastianwoinar","tags":[]},"10097":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10098":{"varMapping":{"__isSmartRef__":true,"id":10099},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10099":{"this":{"__isSmartRef__":true,"id":10060}},"10100":{"timestamp":{"__isSmartRef__":true,"id":10101},"user":"sebastianwoinar","tags":[]},"10101":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10102":{"varMapping":{"__isSmartRef__":true,"id":10103},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":10104},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10103":{"this":{"__isSmartRef__":true,"id":10060}},"10104":{"timestamp":{"__isSmartRef__":true,"id":10105},"user":"sebastianwoinar","tags":[]},"10105":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10106":{"varMapping":{"__isSmartRef__":true,"id":10107},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":10108},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10107":{"this":{"__isSmartRef__":true,"id":10060}},"10108":{"timestamp":{"__isSmartRef__":true,"id":10109},"user":"sebastianwoinar","tags":[]},"10109":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10110":{"varMapping":{"__isSmartRef__":true,"id":10111},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":10112},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10111":{"this":{"__isSmartRef__":true,"id":10060}},"10112":{"timestamp":{"__isSmartRef__":true,"id":10113},"user":"sebastianwoinar","tags":[]},"10113":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10114":{"varMapping":{"__isSmartRef__":true,"id":10115},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":10116},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10115":{"this":{"__isSmartRef__":true,"id":10060}},"10116":{"timestamp":{"__isSmartRef__":true,"id":10117},"user":"sebastianwoinar","tags":[]},"10117":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"10118":{"varMapping":{"__isSmartRef__":true,"id":10119},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10120},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10119":{"this":{"__isSmartRef__":true,"id":10060}},"10120":{"timestamp":{"__isSmartRef__":true,"id":10121},"user":"sebastianwoinar","tags":[]},"10121":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"10122":{"varMapping":{"__isSmartRef__":true,"id":10123},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":10124},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10123":{"this":{"__isSmartRef__":true,"id":10060}},"10124":{"timestamp":{"__isSmartRef__":true,"id":10125},"user":"sebastianwoinar","tags":[]},"10125":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"10126":{"varMapping":{"__isSmartRef__":true,"id":10127},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":10128},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10127":{"this":{"__isSmartRef__":true,"id":10060}},"10128":{"timestamp":{"__isSmartRef__":true,"id":10129},"user":"sebastianwoinar","tags":[]},"10129":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"10130":{"varMapping":{"__isSmartRef__":true,"id":10131},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":10132},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10131":{"this":{"__isSmartRef__":true,"id":10060}},"10132":{"timestamp":{"__isSmartRef__":true,"id":10133},"user":"sebastianwoinar","tags":[]},"10133":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"10134":{"varMapping":{"__isSmartRef__":true,"id":10135},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":10136},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10135":{"this":{"__isSmartRef__":true,"id":10060}},"10136":{"timestamp":{"__isSmartRef__":true,"id":10137},"user":"sebastianwoinar","tags":[]},"10137":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"10138":{"varMapping":{"__isSmartRef__":true,"id":10139},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":10140},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10139":{"this":{"__isSmartRef__":true,"id":10060}},"10140":{"timestamp":{"__isSmartRef__":true,"id":10141},"user":"sebastianwoinar","tags":[]},"10141":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"10142":{"varMapping":{"__isSmartRef__":true,"id":10143},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":10144},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10143":{"this":{"__isSmartRef__":true,"id":10060}},"10144":{"timestamp":{"__isSmartRef__":true,"id":10145},"user":"sebastianwoinar","tags":[]},"10145":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"10146":{"varMapping":{"__isSmartRef__":true,"id":10147},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":10148},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10147":{"this":{"__isSmartRef__":true,"id":10060}},"10148":{"timestamp":{"__isSmartRef__":true,"id":10149},"user":"sebastianwoinar","tags":[]},"10149":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"10150":{"varMapping":{"__isSmartRef__":true,"id":10151},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":10156},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10151":{"this":{"__isSmartRef__":true,"id":10060},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10152}},"10152":{"$super":{"__isSmartRef__":true,"id":10153}},"10153":{"varMapping":{"__isSmartRef__":true,"id":10154},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10154":{"obj":{"__isSmartRef__":true,"id":10060},"name":"onMouseDown"},"10155":{},"10156":{"timestamp":{"__isSmartRef__":true,"id":10157},"user":"sebastianwoinar","tags":[]},"10157":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"10158":{"varMapping":{"__isSmartRef__":true,"id":10159},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":10160},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10159":{"this":{"__isSmartRef__":true,"id":10060}},"10160":{"timestamp":{"__isSmartRef__":true,"id":10161},"user":"sebastianwoinar","tags":[]},"10161":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"10162":{"varMapping":{"__isSmartRef__":true,"id":10163},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":10164},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10163":{"this":{"__isSmartRef__":true,"id":10060}},"10164":{"timestamp":{"__isSmartRef__":true,"id":10165},"user":"sebastianwoinar","tags":[]},"10165":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"10166":{"varMapping":{"__isSmartRef__":true,"id":10167},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10168},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10167":{"this":{"__isSmartRef__":true,"id":10060}},"10168":{"timestamp":{"__isSmartRef__":true,"id":10169},"user":"sebastianwoinar","tags":[]},"10169":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"10170":{"varMapping":{"__isSmartRef__":true,"id":10171},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":10172},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10171":{"this":{"__isSmartRef__":true,"id":10060}},"10172":{"timestamp":{"__isSmartRef__":true,"id":10173},"user":"sebastianwoinar","tags":[]},"10173":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"10174":{"varMapping":{"__isSmartRef__":true,"id":10175},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":10176},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10175":{"this":{"__isSmartRef__":true,"id":10060}},"10176":{"timestamp":{"__isSmartRef__":true,"id":10177},"user":"sebastianwoinar","tags":[]},"10177":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"10178":{"varMapping":{"__isSmartRef__":true,"id":10179},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10180},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10179":{"this":{"__isSmartRef__":true,"id":10060}},"10180":{"timestamp":{"__isSmartRef__":true,"id":10181},"user":"sebastianwoinar","tags":[]},"10181":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"10182":{"varMapping":{"__isSmartRef__":true,"id":10183},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":10184},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10183":{"this":{"__isSmartRef__":true,"id":10060}},"10184":{"timestamp":{"__isSmartRef__":true,"id":10185},"user":"sebastianwoinar","tags":[]},"10185":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"10186":{"varMapping":{"__isSmartRef__":true,"id":10187},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10188},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10187":{"this":{"__isSmartRef__":true,"id":10060}},"10188":{"timestamp":{"__isSmartRef__":true,"id":10189},"user":"sebastianwoinar","tags":[]},"10189":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"10190":{"submorphs":[{"__isSmartRef__":true,"id":10191}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10208},"id":"694CFC2A-5123-45A6-A309-A16EEAA11AD4","eventHandler":{"__isSmartRef__":true,"id":10209},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":10210},"name":"node32","partsBinMetaInfo":{"__isSmartRef__":true,"id":10211},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6618},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":10036},"level":3,"abp":{"__isSmartRef__":true,"id":10214},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10215},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(863.9,210.0)"},"10191":{"submorphs":[],"scripts":[],"id":"37F160E9-8758-49AD-BEC9-11EF2022C0D2","shape":{"__isSmartRef__":true,"id":10192},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":10193},"textChunks":[{"__isSmartRef__":true,"id":10205}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":10207},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":10190},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"10192":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"10193":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":10194},{"__isSmartRef__":true,"id":10196},{"__isSmartRef__":true,"id":10198},{"__isSmartRef__":true,"id":10200},{"__isSmartRef__":true,"id":10202}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":10204},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10194":{"date":{"__isSmartRef__":true,"id":10195},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"10195":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"10196":{"date":{"__isSmartRef__":true,"id":10197},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"10197":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"10198":{"date":{"__isSmartRef__":true,"id":10199},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"10199":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"10200":{"date":{"__isSmartRef__":true,"id":10201},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"10201":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"10202":{"date":{"__isSmartRef__":true,"id":10203},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"10203":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"10204":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"10205":{"style":{"__isSmartRef__":true,"id":10206},"chunkOwner":{"__isSmartRef__":true,"id":10191},"_id":"_1608","storedString":"15","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10206":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10207":{"morph":{"__isSmartRef__":true,"id":10191},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10208":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"10209":{"morph":{"__isSmartRef__":true,"id":10190},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10210":{},"10211":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":10212}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10212":{"date":{"__isSmartRef__":true,"id":10213},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"10213":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"10214":{"isActive":true,"alpha":15,"beta":11,"i":0,"m":15,"origAlpha":-10000000000000,"d":0},"10215":{"buildChildNodes":{"__isSmartRef__":true,"id":10216},"getGameTree":{"__isSmartRef__":true,"id":10220},"getLevel":{"__isSmartRef__":true,"id":10224},"getLevelWeight":{"__isSmartRef__":true,"id":10228},"getWeight":{"__isSmartRef__":true,"id":10232},"setNode":{"__isSmartRef__":true,"id":10236},"setParent":{"__isSmartRef__":true,"id":10240},"getParent":{"__isSmartRef__":true,"id":10244},"deactivate":{"__isSmartRef__":true,"id":10248},"blink":{"__isSmartRef__":true,"id":10252},"ABPreturn":{"__isSmartRef__":true,"id":10256},"ABPstart":{"__isSmartRef__":true,"id":10260},"ABPcontinue":{"__isSmartRef__":true,"id":10264},"ABPshowValue":{"__isSmartRef__":true,"id":10268},"ABPgetValue":{"__isSmartRef__":true,"id":10272},"ABPhasChildNodes":{"__isSmartRef__":true,"id":10276},"onMouseDown":{"__isSmartRef__":true,"id":10280},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":10288},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":10292},"ABPmarkAsDone":{"__isSmartRef__":true,"id":10296},"ABPmarkAsActive":{"__isSmartRef__":true,"id":10300},"getStateMorph":{"__isSmartRef__":true,"id":10304},"showState":{"__isSmartRef__":true,"id":10308},"ABPfailHard":{"__isSmartRef__":true,"id":10312},"markFinalDrawWith":{"__isSmartRef__":true,"id":10316}},"10216":{"varMapping":{"__isSmartRef__":true,"id":10217},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":10218},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10217":{"this":{"__isSmartRef__":true,"id":10190}},"10218":{"timestamp":{"__isSmartRef__":true,"id":10219},"user":"sebastianwoinar","tags":[]},"10219":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"10220":{"varMapping":{"__isSmartRef__":true,"id":10221},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":10222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10221":{"this":{"__isSmartRef__":true,"id":10190}},"10222":{"timestamp":{"__isSmartRef__":true,"id":10223},"user":"sebastianwoinar","tags":[]},"10223":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10224":{"varMapping":{"__isSmartRef__":true,"id":10225},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":10226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10225":{"this":{"__isSmartRef__":true,"id":10190}},"10226":{"timestamp":{"__isSmartRef__":true,"id":10227},"user":"sebastianwoinar","tags":[]},"10227":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10228":{"varMapping":{"__isSmartRef__":true,"id":10229},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10230},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10229":{"this":{"__isSmartRef__":true,"id":10190}},"10230":{"timestamp":{"__isSmartRef__":true,"id":10231},"user":"sebastianwoinar","tags":[]},"10231":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10232":{"varMapping":{"__isSmartRef__":true,"id":10233},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":10234},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10233":{"this":{"__isSmartRef__":true,"id":10190}},"10234":{"timestamp":{"__isSmartRef__":true,"id":10235},"user":"sebastianwoinar","tags":[]},"10235":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10236":{"varMapping":{"__isSmartRef__":true,"id":10237},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":10238},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10237":{"this":{"__isSmartRef__":true,"id":10190}},"10238":{"timestamp":{"__isSmartRef__":true,"id":10239},"user":"sebastianwoinar","tags":[]},"10239":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10240":{"varMapping":{"__isSmartRef__":true,"id":10241},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":10242},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10241":{"this":{"__isSmartRef__":true,"id":10190}},"10242":{"timestamp":{"__isSmartRef__":true,"id":10243},"user":"sebastianwoinar","tags":[]},"10243":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10244":{"varMapping":{"__isSmartRef__":true,"id":10245},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":10246},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10245":{"this":{"__isSmartRef__":true,"id":10190}},"10246":{"timestamp":{"__isSmartRef__":true,"id":10247},"user":"sebastianwoinar","tags":[]},"10247":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"10248":{"varMapping":{"__isSmartRef__":true,"id":10249},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10249":{"this":{"__isSmartRef__":true,"id":10190}},"10250":{"timestamp":{"__isSmartRef__":true,"id":10251},"user":"sebastianwoinar","tags":[]},"10251":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"10252":{"varMapping":{"__isSmartRef__":true,"id":10253},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":10254},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10253":{"this":{"__isSmartRef__":true,"id":10190}},"10254":{"timestamp":{"__isSmartRef__":true,"id":10255},"user":"sebastianwoinar","tags":[]},"10255":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"10256":{"varMapping":{"__isSmartRef__":true,"id":10257},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":10258},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10257":{"this":{"__isSmartRef__":true,"id":10190}},"10258":{"timestamp":{"__isSmartRef__":true,"id":10259},"user":"sebastianwoinar","tags":[]},"10259":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"10260":{"varMapping":{"__isSmartRef__":true,"id":10261},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":10262},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10261":{"this":{"__isSmartRef__":true,"id":10190}},"10262":{"timestamp":{"__isSmartRef__":true,"id":10263},"user":"sebastianwoinar","tags":[]},"10263":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"10264":{"varMapping":{"__isSmartRef__":true,"id":10265},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":10266},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10265":{"this":{"__isSmartRef__":true,"id":10190}},"10266":{"timestamp":{"__isSmartRef__":true,"id":10267},"user":"sebastianwoinar","tags":[]},"10267":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"10268":{"varMapping":{"__isSmartRef__":true,"id":10269},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":10270},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10269":{"this":{"__isSmartRef__":true,"id":10190}},"10270":{"timestamp":{"__isSmartRef__":true,"id":10271},"user":"sebastianwoinar","tags":[]},"10271":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"10272":{"varMapping":{"__isSmartRef__":true,"id":10273},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":10274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10273":{"this":{"__isSmartRef__":true,"id":10190}},"10274":{"timestamp":{"__isSmartRef__":true,"id":10275},"user":"sebastianwoinar","tags":[]},"10275":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"10276":{"varMapping":{"__isSmartRef__":true,"id":10277},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":10278},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10277":{"this":{"__isSmartRef__":true,"id":10190}},"10278":{"timestamp":{"__isSmartRef__":true,"id":10279},"user":"sebastianwoinar","tags":[]},"10279":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"10280":{"varMapping":{"__isSmartRef__":true,"id":10281},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":10286},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10281":{"this":{"__isSmartRef__":true,"id":10190},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10282}},"10282":{"$super":{"__isSmartRef__":true,"id":10283}},"10283":{"varMapping":{"__isSmartRef__":true,"id":10284},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10285},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10284":{"obj":{"__isSmartRef__":true,"id":10190},"name":"onMouseDown"},"10285":{},"10286":{"timestamp":{"__isSmartRef__":true,"id":10287},"user":"sebastianwoinar","tags":[]},"10287":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"10288":{"varMapping":{"__isSmartRef__":true,"id":10289},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":10290},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10289":{"this":{"__isSmartRef__":true,"id":10190}},"10290":{"timestamp":{"__isSmartRef__":true,"id":10291},"user":"sebastianwoinar","tags":[]},"10291":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"10292":{"varMapping":{"__isSmartRef__":true,"id":10293},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":10294},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10293":{"this":{"__isSmartRef__":true,"id":10190}},"10294":{"timestamp":{"__isSmartRef__":true,"id":10295},"user":"sebastianwoinar","tags":[]},"10295":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"10296":{"varMapping":{"__isSmartRef__":true,"id":10297},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10298},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10297":{"this":{"__isSmartRef__":true,"id":10190}},"10298":{"timestamp":{"__isSmartRef__":true,"id":10299},"user":"sebastianwoinar","tags":[]},"10299":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"10300":{"varMapping":{"__isSmartRef__":true,"id":10301},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":10302},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10301":{"this":{"__isSmartRef__":true,"id":10190}},"10302":{"timestamp":{"__isSmartRef__":true,"id":10303},"user":"sebastianwoinar","tags":[]},"10303":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"10304":{"varMapping":{"__isSmartRef__":true,"id":10305},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":10306},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10305":{"this":{"__isSmartRef__":true,"id":10190}},"10306":{"timestamp":{"__isSmartRef__":true,"id":10307},"user":"sebastianwoinar","tags":[]},"10307":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"10308":{"varMapping":{"__isSmartRef__":true,"id":10309},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10310},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10309":{"this":{"__isSmartRef__":true,"id":10190}},"10310":{"timestamp":{"__isSmartRef__":true,"id":10311},"user":"sebastianwoinar","tags":[]},"10311":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"10312":{"varMapping":{"__isSmartRef__":true,"id":10313},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":10314},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10313":{"this":{"__isSmartRef__":true,"id":10190}},"10314":{"timestamp":{"__isSmartRef__":true,"id":10315},"user":"sebastianwoinar","tags":[]},"10315":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"10316":{"varMapping":{"__isSmartRef__":true,"id":10317},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10318},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10317":{"this":{"__isSmartRef__":true,"id":10190}},"10318":{"timestamp":{"__isSmartRef__":true,"id":10319},"user":"sebastianwoinar","tags":[]},"10319":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"10320":{"submorphs":[{"__isSmartRef__":true,"id":10321}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10338},"id":"4182BA51-95B1-4E1F-A404-D736C4A0606C","eventHandler":{"__isSmartRef__":true,"id":10339},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":10340},"name":"node33","partsBinMetaInfo":{"__isSmartRef__":true,"id":10341},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6620},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":10036},"level":3,"abp":{"__isSmartRef__":true,"id":10344},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10345},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(905.5,210.0)"},"10321":{"submorphs":[],"scripts":[],"id":"38D71FBA-FD0A-417B-B8AE-7330A14EB933","shape":{"__isSmartRef__":true,"id":10322},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":10323},"textChunks":[{"__isSmartRef__":true,"id":10335}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":10337},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":10320},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"10322":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"10323":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":10324},{"__isSmartRef__":true,"id":10326},{"__isSmartRef__":true,"id":10328},{"__isSmartRef__":true,"id":10330},{"__isSmartRef__":true,"id":10332}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":10334},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10324":{"date":{"__isSmartRef__":true,"id":10325},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"10325":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"10326":{"date":{"__isSmartRef__":true,"id":10327},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"10327":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"10328":{"date":{"__isSmartRef__":true,"id":10329},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"10329":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"10330":{"date":{"__isSmartRef__":true,"id":10331},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"10331":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"10332":{"date":{"__isSmartRef__":true,"id":10333},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"10333":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"10334":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"10335":{"style":{"__isSmartRef__":true,"id":10336},"chunkOwner":{"__isSmartRef__":true,"id":10321},"_id":"_1615","storedString":"27","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10336":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10337":{"morph":{"__isSmartRef__":true,"id":10321},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10338":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"10339":{"morph":{"__isSmartRef__":true,"id":10320},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10340":{},"10341":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":10342}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10342":{"date":{"__isSmartRef__":true,"id":10343},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"10343":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"10344":{"isActive":true,"alpha":27,"beta":11,"i":0,"m":27,"origAlpha":-10000000000000,"d":0},"10345":{"buildChildNodes":{"__isSmartRef__":true,"id":10346},"getGameTree":{"__isSmartRef__":true,"id":10350},"getLevel":{"__isSmartRef__":true,"id":10354},"getLevelWeight":{"__isSmartRef__":true,"id":10358},"getWeight":{"__isSmartRef__":true,"id":10362},"setNode":{"__isSmartRef__":true,"id":10366},"setParent":{"__isSmartRef__":true,"id":10370},"getParent":{"__isSmartRef__":true,"id":10374},"deactivate":{"__isSmartRef__":true,"id":10378},"blink":{"__isSmartRef__":true,"id":10382},"ABPreturn":{"__isSmartRef__":true,"id":10386},"ABPstart":{"__isSmartRef__":true,"id":10390},"ABPcontinue":{"__isSmartRef__":true,"id":10394},"ABPshowValue":{"__isSmartRef__":true,"id":10398},"ABPgetValue":{"__isSmartRef__":true,"id":10402},"ABPhasChildNodes":{"__isSmartRef__":true,"id":10406},"onMouseDown":{"__isSmartRef__":true,"id":10410},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":10418},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":10422},"ABPmarkAsDone":{"__isSmartRef__":true,"id":10426},"ABPmarkAsActive":{"__isSmartRef__":true,"id":10430},"getStateMorph":{"__isSmartRef__":true,"id":10434},"showState":{"__isSmartRef__":true,"id":10438},"ABPfailHard":{"__isSmartRef__":true,"id":10442},"markFinalDrawWith":{"__isSmartRef__":true,"id":10446}},"10346":{"varMapping":{"__isSmartRef__":true,"id":10347},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":10348},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10347":{"this":{"__isSmartRef__":true,"id":10320}},"10348":{"timestamp":{"__isSmartRef__":true,"id":10349},"user":"sebastianwoinar","tags":[]},"10349":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"10350":{"varMapping":{"__isSmartRef__":true,"id":10351},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":10352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10351":{"this":{"__isSmartRef__":true,"id":10320}},"10352":{"timestamp":{"__isSmartRef__":true,"id":10353},"user":"sebastianwoinar","tags":[]},"10353":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10354":{"varMapping":{"__isSmartRef__":true,"id":10355},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":10356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10355":{"this":{"__isSmartRef__":true,"id":10320}},"10356":{"timestamp":{"__isSmartRef__":true,"id":10357},"user":"sebastianwoinar","tags":[]},"10357":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10358":{"varMapping":{"__isSmartRef__":true,"id":10359},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10359":{"this":{"__isSmartRef__":true,"id":10320}},"10360":{"timestamp":{"__isSmartRef__":true,"id":10361},"user":"sebastianwoinar","tags":[]},"10361":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10362":{"varMapping":{"__isSmartRef__":true,"id":10363},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":10364},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10363":{"this":{"__isSmartRef__":true,"id":10320}},"10364":{"timestamp":{"__isSmartRef__":true,"id":10365},"user":"sebastianwoinar","tags":[]},"10365":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10366":{"varMapping":{"__isSmartRef__":true,"id":10367},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":10368},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10367":{"this":{"__isSmartRef__":true,"id":10320}},"10368":{"timestamp":{"__isSmartRef__":true,"id":10369},"user":"sebastianwoinar","tags":[]},"10369":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10370":{"varMapping":{"__isSmartRef__":true,"id":10371},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":10372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10371":{"this":{"__isSmartRef__":true,"id":10320}},"10372":{"timestamp":{"__isSmartRef__":true,"id":10373},"user":"sebastianwoinar","tags":[]},"10373":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10374":{"varMapping":{"__isSmartRef__":true,"id":10375},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":10376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10375":{"this":{"__isSmartRef__":true,"id":10320}},"10376":{"timestamp":{"__isSmartRef__":true,"id":10377},"user":"sebastianwoinar","tags":[]},"10377":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"10378":{"varMapping":{"__isSmartRef__":true,"id":10379},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10379":{"this":{"__isSmartRef__":true,"id":10320}},"10380":{"timestamp":{"__isSmartRef__":true,"id":10381},"user":"sebastianwoinar","tags":[]},"10381":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"10382":{"varMapping":{"__isSmartRef__":true,"id":10383},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":10384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10383":{"this":{"__isSmartRef__":true,"id":10320}},"10384":{"timestamp":{"__isSmartRef__":true,"id":10385},"user":"sebastianwoinar","tags":[]},"10385":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"10386":{"varMapping":{"__isSmartRef__":true,"id":10387},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":10388},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10387":{"this":{"__isSmartRef__":true,"id":10320}},"10388":{"timestamp":{"__isSmartRef__":true,"id":10389},"user":"sebastianwoinar","tags":[]},"10389":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"10390":{"varMapping":{"__isSmartRef__":true,"id":10391},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":10392},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10391":{"this":{"__isSmartRef__":true,"id":10320}},"10392":{"timestamp":{"__isSmartRef__":true,"id":10393},"user":"sebastianwoinar","tags":[]},"10393":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"10394":{"varMapping":{"__isSmartRef__":true,"id":10395},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":10396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10395":{"this":{"__isSmartRef__":true,"id":10320}},"10396":{"timestamp":{"__isSmartRef__":true,"id":10397},"user":"sebastianwoinar","tags":[]},"10397":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"10398":{"varMapping":{"__isSmartRef__":true,"id":10399},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":10400},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10399":{"this":{"__isSmartRef__":true,"id":10320}},"10400":{"timestamp":{"__isSmartRef__":true,"id":10401},"user":"sebastianwoinar","tags":[]},"10401":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"10402":{"varMapping":{"__isSmartRef__":true,"id":10403},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":10404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10403":{"this":{"__isSmartRef__":true,"id":10320}},"10404":{"timestamp":{"__isSmartRef__":true,"id":10405},"user":"sebastianwoinar","tags":[]},"10405":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"10406":{"varMapping":{"__isSmartRef__":true,"id":10407},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":10408},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10407":{"this":{"__isSmartRef__":true,"id":10320}},"10408":{"timestamp":{"__isSmartRef__":true,"id":10409},"user":"sebastianwoinar","tags":[]},"10409":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"10410":{"varMapping":{"__isSmartRef__":true,"id":10411},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":10416},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10411":{"this":{"__isSmartRef__":true,"id":10320},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10412}},"10412":{"$super":{"__isSmartRef__":true,"id":10413}},"10413":{"varMapping":{"__isSmartRef__":true,"id":10414},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10415},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10414":{"obj":{"__isSmartRef__":true,"id":10320},"name":"onMouseDown"},"10415":{},"10416":{"timestamp":{"__isSmartRef__":true,"id":10417},"user":"sebastianwoinar","tags":[]},"10417":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"10418":{"varMapping":{"__isSmartRef__":true,"id":10419},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":10420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10419":{"this":{"__isSmartRef__":true,"id":10320}},"10420":{"timestamp":{"__isSmartRef__":true,"id":10421},"user":"sebastianwoinar","tags":[]},"10421":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"10422":{"varMapping":{"__isSmartRef__":true,"id":10423},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":10424},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10423":{"this":{"__isSmartRef__":true,"id":10320}},"10424":{"timestamp":{"__isSmartRef__":true,"id":10425},"user":"sebastianwoinar","tags":[]},"10425":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"10426":{"varMapping":{"__isSmartRef__":true,"id":10427},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10428},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10427":{"this":{"__isSmartRef__":true,"id":10320}},"10428":{"timestamp":{"__isSmartRef__":true,"id":10429},"user":"sebastianwoinar","tags":[]},"10429":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"10430":{"varMapping":{"__isSmartRef__":true,"id":10431},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":10432},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10431":{"this":{"__isSmartRef__":true,"id":10320}},"10432":{"timestamp":{"__isSmartRef__":true,"id":10433},"user":"sebastianwoinar","tags":[]},"10433":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"10434":{"varMapping":{"__isSmartRef__":true,"id":10435},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":10436},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10435":{"this":{"__isSmartRef__":true,"id":10320}},"10436":{"timestamp":{"__isSmartRef__":true,"id":10437},"user":"sebastianwoinar","tags":[]},"10437":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"10438":{"varMapping":{"__isSmartRef__":true,"id":10439},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10440},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10439":{"this":{"__isSmartRef__":true,"id":10320}},"10440":{"timestamp":{"__isSmartRef__":true,"id":10441},"user":"sebastianwoinar","tags":[]},"10441":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"10442":{"varMapping":{"__isSmartRef__":true,"id":10443},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":10444},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10443":{"this":{"__isSmartRef__":true,"id":10320}},"10444":{"timestamp":{"__isSmartRef__":true,"id":10445},"user":"sebastianwoinar","tags":[]},"10445":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"10446":{"varMapping":{"__isSmartRef__":true,"id":10447},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10448},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10447":{"this":{"__isSmartRef__":true,"id":10320}},"10448":{"timestamp":{"__isSmartRef__":true,"id":10449},"user":"sebastianwoinar","tags":[]},"10449":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"10450":{"submorphs":[{"__isSmartRef__":true,"id":10451}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10468},"id":"7A8F9093-2EF5-4587-B343-C0DDF8CFB2FD","eventHandler":{"__isSmartRef__":true,"id":10469},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":10470},"name":"node34","partsBinMetaInfo":{"__isSmartRef__":true,"id":10471},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6622},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":10036},"level":3,"abp":{"__isSmartRef__":true,"id":10474},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10475},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(947.1,210.0)"},"10451":{"submorphs":[],"scripts":[],"id":"A6B841DC-0709-4BBE-A824-D78340393A0B","shape":{"__isSmartRef__":true,"id":10452},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":10453},"textChunks":[{"__isSmartRef__":true,"id":10465}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":10467},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":10450},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"10452":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"10453":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":10454},{"__isSmartRef__":true,"id":10456},{"__isSmartRef__":true,"id":10458},{"__isSmartRef__":true,"id":10460},{"__isSmartRef__":true,"id":10462}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":10464},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10454":{"date":{"__isSmartRef__":true,"id":10455},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"10455":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"10456":{"date":{"__isSmartRef__":true,"id":10457},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"10457":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"10458":{"date":{"__isSmartRef__":true,"id":10459},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"10459":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"10460":{"date":{"__isSmartRef__":true,"id":10461},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"10461":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"10462":{"date":{"__isSmartRef__":true,"id":10463},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"10463":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"10464":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"10465":{"style":{"__isSmartRef__":true,"id":10466},"chunkOwner":{"__isSmartRef__":true,"id":10451},"_id":"_1622","storedString":"15","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10466":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10467":{"morph":{"__isSmartRef__":true,"id":10451},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10468":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"10469":{"morph":{"__isSmartRef__":true,"id":10450},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10470":{},"10471":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":10472}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10472":{"date":{"__isSmartRef__":true,"id":10473},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"10473":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"10474":{"isActive":true,"alpha":15,"beta":11,"i":0,"m":15,"origAlpha":-10000000000000,"d":0},"10475":{"buildChildNodes":{"__isSmartRef__":true,"id":10476},"getGameTree":{"__isSmartRef__":true,"id":10480},"getLevel":{"__isSmartRef__":true,"id":10484},"getLevelWeight":{"__isSmartRef__":true,"id":10488},"getWeight":{"__isSmartRef__":true,"id":10492},"setNode":{"__isSmartRef__":true,"id":10496},"setParent":{"__isSmartRef__":true,"id":10500},"getParent":{"__isSmartRef__":true,"id":10504},"deactivate":{"__isSmartRef__":true,"id":10508},"blink":{"__isSmartRef__":true,"id":10512},"ABPreturn":{"__isSmartRef__":true,"id":10516},"ABPstart":{"__isSmartRef__":true,"id":10520},"ABPcontinue":{"__isSmartRef__":true,"id":10524},"ABPshowValue":{"__isSmartRef__":true,"id":10528},"ABPgetValue":{"__isSmartRef__":true,"id":10532},"ABPhasChildNodes":{"__isSmartRef__":true,"id":10536},"onMouseDown":{"__isSmartRef__":true,"id":10540},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":10548},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":10552},"ABPmarkAsDone":{"__isSmartRef__":true,"id":10556},"ABPmarkAsActive":{"__isSmartRef__":true,"id":10560},"getStateMorph":{"__isSmartRef__":true,"id":10564},"showState":{"__isSmartRef__":true,"id":10568},"ABPfailHard":{"__isSmartRef__":true,"id":10572},"markFinalDrawWith":{"__isSmartRef__":true,"id":10576}},"10476":{"varMapping":{"__isSmartRef__":true,"id":10477},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":10478},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10477":{"this":{"__isSmartRef__":true,"id":10450}},"10478":{"timestamp":{"__isSmartRef__":true,"id":10479},"user":"sebastianwoinar","tags":[]},"10479":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"10480":{"varMapping":{"__isSmartRef__":true,"id":10481},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":10482},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10481":{"this":{"__isSmartRef__":true,"id":10450}},"10482":{"timestamp":{"__isSmartRef__":true,"id":10483},"user":"sebastianwoinar","tags":[]},"10483":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10484":{"varMapping":{"__isSmartRef__":true,"id":10485},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":10486},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10485":{"this":{"__isSmartRef__":true,"id":10450}},"10486":{"timestamp":{"__isSmartRef__":true,"id":10487},"user":"sebastianwoinar","tags":[]},"10487":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10488":{"varMapping":{"__isSmartRef__":true,"id":10489},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10489":{"this":{"__isSmartRef__":true,"id":10450}},"10490":{"timestamp":{"__isSmartRef__":true,"id":10491},"user":"sebastianwoinar","tags":[]},"10491":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10492":{"varMapping":{"__isSmartRef__":true,"id":10493},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":10494},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10493":{"this":{"__isSmartRef__":true,"id":10450}},"10494":{"timestamp":{"__isSmartRef__":true,"id":10495},"user":"sebastianwoinar","tags":[]},"10495":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10496":{"varMapping":{"__isSmartRef__":true,"id":10497},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":10498},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10497":{"this":{"__isSmartRef__":true,"id":10450}},"10498":{"timestamp":{"__isSmartRef__":true,"id":10499},"user":"sebastianwoinar","tags":[]},"10499":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10500":{"varMapping":{"__isSmartRef__":true,"id":10501},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":10502},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10501":{"this":{"__isSmartRef__":true,"id":10450}},"10502":{"timestamp":{"__isSmartRef__":true,"id":10503},"user":"sebastianwoinar","tags":[]},"10503":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10504":{"varMapping":{"__isSmartRef__":true,"id":10505},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":10506},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10505":{"this":{"__isSmartRef__":true,"id":10450}},"10506":{"timestamp":{"__isSmartRef__":true,"id":10507},"user":"sebastianwoinar","tags":[]},"10507":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"10508":{"varMapping":{"__isSmartRef__":true,"id":10509},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10510},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10509":{"this":{"__isSmartRef__":true,"id":10450}},"10510":{"timestamp":{"__isSmartRef__":true,"id":10511},"user":"sebastianwoinar","tags":[]},"10511":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"10512":{"varMapping":{"__isSmartRef__":true,"id":10513},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":10514},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10513":{"this":{"__isSmartRef__":true,"id":10450}},"10514":{"timestamp":{"__isSmartRef__":true,"id":10515},"user":"sebastianwoinar","tags":[]},"10515":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"10516":{"varMapping":{"__isSmartRef__":true,"id":10517},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":10518},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10517":{"this":{"__isSmartRef__":true,"id":10450}},"10518":{"timestamp":{"__isSmartRef__":true,"id":10519},"user":"sebastianwoinar","tags":[]},"10519":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"10520":{"varMapping":{"__isSmartRef__":true,"id":10521},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":10522},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10521":{"this":{"__isSmartRef__":true,"id":10450}},"10522":{"timestamp":{"__isSmartRef__":true,"id":10523},"user":"sebastianwoinar","tags":[]},"10523":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"10524":{"varMapping":{"__isSmartRef__":true,"id":10525},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":10526},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10525":{"this":{"__isSmartRef__":true,"id":10450}},"10526":{"timestamp":{"__isSmartRef__":true,"id":10527},"user":"sebastianwoinar","tags":[]},"10527":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"10528":{"varMapping":{"__isSmartRef__":true,"id":10529},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":10530},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10529":{"this":{"__isSmartRef__":true,"id":10450}},"10530":{"timestamp":{"__isSmartRef__":true,"id":10531},"user":"sebastianwoinar","tags":[]},"10531":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"10532":{"varMapping":{"__isSmartRef__":true,"id":10533},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":10534},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10533":{"this":{"__isSmartRef__":true,"id":10450}},"10534":{"timestamp":{"__isSmartRef__":true,"id":10535},"user":"sebastianwoinar","tags":[]},"10535":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"10536":{"varMapping":{"__isSmartRef__":true,"id":10537},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":10538},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10537":{"this":{"__isSmartRef__":true,"id":10450}},"10538":{"timestamp":{"__isSmartRef__":true,"id":10539},"user":"sebastianwoinar","tags":[]},"10539":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"10540":{"varMapping":{"__isSmartRef__":true,"id":10541},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":10546},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10541":{"this":{"__isSmartRef__":true,"id":10450},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10542}},"10542":{"$super":{"__isSmartRef__":true,"id":10543}},"10543":{"varMapping":{"__isSmartRef__":true,"id":10544},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10545},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10544":{"obj":{"__isSmartRef__":true,"id":10450},"name":"onMouseDown"},"10545":{},"10546":{"timestamp":{"__isSmartRef__":true,"id":10547},"user":"sebastianwoinar","tags":[]},"10547":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"10548":{"varMapping":{"__isSmartRef__":true,"id":10549},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":10550},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10549":{"this":{"__isSmartRef__":true,"id":10450}},"10550":{"timestamp":{"__isSmartRef__":true,"id":10551},"user":"sebastianwoinar","tags":[]},"10551":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"10552":{"varMapping":{"__isSmartRef__":true,"id":10553},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":10554},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10553":{"this":{"__isSmartRef__":true,"id":10450}},"10554":{"timestamp":{"__isSmartRef__":true,"id":10555},"user":"sebastianwoinar","tags":[]},"10555":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"10556":{"varMapping":{"__isSmartRef__":true,"id":10557},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10558},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10557":{"this":{"__isSmartRef__":true,"id":10450}},"10558":{"timestamp":{"__isSmartRef__":true,"id":10559},"user":"sebastianwoinar","tags":[]},"10559":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"10560":{"varMapping":{"__isSmartRef__":true,"id":10561},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":10562},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10561":{"this":{"__isSmartRef__":true,"id":10450}},"10562":{"timestamp":{"__isSmartRef__":true,"id":10563},"user":"sebastianwoinar","tags":[]},"10563":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"10564":{"varMapping":{"__isSmartRef__":true,"id":10565},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":10566},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10565":{"this":{"__isSmartRef__":true,"id":10450}},"10566":{"timestamp":{"__isSmartRef__":true,"id":10567},"user":"sebastianwoinar","tags":[]},"10567":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"10568":{"varMapping":{"__isSmartRef__":true,"id":10569},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10570},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10569":{"this":{"__isSmartRef__":true,"id":10450}},"10570":{"timestamp":{"__isSmartRef__":true,"id":10571},"user":"sebastianwoinar","tags":[]},"10571":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"10572":{"varMapping":{"__isSmartRef__":true,"id":10573},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":10574},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10573":{"this":{"__isSmartRef__":true,"id":10450}},"10574":{"timestamp":{"__isSmartRef__":true,"id":10575},"user":"sebastianwoinar","tags":[]},"10575":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"10576":{"varMapping":{"__isSmartRef__":true,"id":10577},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10578},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10577":{"this":{"__isSmartRef__":true,"id":10450}},"10578":{"timestamp":{"__isSmartRef__":true,"id":10579},"user":"sebastianwoinar","tags":[]},"10579":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"10580":{"isActive":true,"alpha":-11,"beta":10000000000000,"i":4,"m":-11,"origAlpha":-11,"d":0},"10581":{"buildChildNodes":{"__isSmartRef__":true,"id":10582},"getGameTree":{"__isSmartRef__":true,"id":10586},"getLevel":{"__isSmartRef__":true,"id":10590},"getLevelWeight":{"__isSmartRef__":true,"id":10594},"getWeight":{"__isSmartRef__":true,"id":10598},"setNode":{"__isSmartRef__":true,"id":10602},"setParent":{"__isSmartRef__":true,"id":10606},"getParent":{"__isSmartRef__":true,"id":10610},"deactivate":{"__isSmartRef__":true,"id":10614},"blink":{"__isSmartRef__":true,"id":10618},"ABPreturn":{"__isSmartRef__":true,"id":10622},"ABPstart":{"__isSmartRef__":true,"id":10626},"ABPcontinue":{"__isSmartRef__":true,"id":10630},"ABPshowValue":{"__isSmartRef__":true,"id":10634},"ABPgetValue":{"__isSmartRef__":true,"id":10638},"ABPhasChildNodes":{"__isSmartRef__":true,"id":10642},"onMouseDown":{"__isSmartRef__":true,"id":10646},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":10654},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":10658},"ABPmarkAsDone":{"__isSmartRef__":true,"id":10662},"ABPmarkAsActive":{"__isSmartRef__":true,"id":10666},"getStateMorph":{"__isSmartRef__":true,"id":10670},"showState":{"__isSmartRef__":true,"id":10674},"ABPfailHard":{"__isSmartRef__":true,"id":10678},"markFinalDrawWith":{"__isSmartRef__":true,"id":10682}},"10582":{"varMapping":{"__isSmartRef__":true,"id":10583},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":10584},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10583":{"this":{"__isSmartRef__":true,"id":10036}},"10584":{"timestamp":{"__isSmartRef__":true,"id":10585},"user":"sebastianwoinar","tags":[]},"10585":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"10586":{"varMapping":{"__isSmartRef__":true,"id":10587},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":10588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10587":{"this":{"__isSmartRef__":true,"id":10036}},"10588":{"timestamp":{"__isSmartRef__":true,"id":10589},"user":"sebastianwoinar","tags":[]},"10589":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10590":{"varMapping":{"__isSmartRef__":true,"id":10591},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":10592},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10591":{"this":{"__isSmartRef__":true,"id":10036}},"10592":{"timestamp":{"__isSmartRef__":true,"id":10593},"user":"sebastianwoinar","tags":[]},"10593":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10594":{"varMapping":{"__isSmartRef__":true,"id":10595},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10596},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10595":{"this":{"__isSmartRef__":true,"id":10036}},"10596":{"timestamp":{"__isSmartRef__":true,"id":10597},"user":"sebastianwoinar","tags":[]},"10597":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10598":{"varMapping":{"__isSmartRef__":true,"id":10599},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":10600},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10599":{"this":{"__isSmartRef__":true,"id":10036}},"10600":{"timestamp":{"__isSmartRef__":true,"id":10601},"user":"sebastianwoinar","tags":[]},"10601":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10602":{"varMapping":{"__isSmartRef__":true,"id":10603},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":10604},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10603":{"this":{"__isSmartRef__":true,"id":10036}},"10604":{"timestamp":{"__isSmartRef__":true,"id":10605},"user":"sebastianwoinar","tags":[]},"10605":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10606":{"varMapping":{"__isSmartRef__":true,"id":10607},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":10608},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10607":{"this":{"__isSmartRef__":true,"id":10036}},"10608":{"timestamp":{"__isSmartRef__":true,"id":10609},"user":"sebastianwoinar","tags":[]},"10609":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10610":{"varMapping":{"__isSmartRef__":true,"id":10611},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":10612},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10611":{"this":{"__isSmartRef__":true,"id":10036}},"10612":{"timestamp":{"__isSmartRef__":true,"id":10613},"user":"sebastianwoinar","tags":[]},"10613":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"10614":{"varMapping":{"__isSmartRef__":true,"id":10615},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10616},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10615":{"this":{"__isSmartRef__":true,"id":10036}},"10616":{"timestamp":{"__isSmartRef__":true,"id":10617},"user":"sebastianwoinar","tags":[]},"10617":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"10618":{"varMapping":{"__isSmartRef__":true,"id":10619},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":10620},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10619":{"this":{"__isSmartRef__":true,"id":10036}},"10620":{"timestamp":{"__isSmartRef__":true,"id":10621},"user":"sebastianwoinar","tags":[]},"10621":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"10622":{"varMapping":{"__isSmartRef__":true,"id":10623},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":10624},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10623":{"this":{"__isSmartRef__":true,"id":10036}},"10624":{"timestamp":{"__isSmartRef__":true,"id":10625},"user":"sebastianwoinar","tags":[]},"10625":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"10626":{"varMapping":{"__isSmartRef__":true,"id":10627},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":10628},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10627":{"this":{"__isSmartRef__":true,"id":10036}},"10628":{"timestamp":{"__isSmartRef__":true,"id":10629},"user":"sebastianwoinar","tags":[]},"10629":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"10630":{"varMapping":{"__isSmartRef__":true,"id":10631},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":10632},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10631":{"this":{"__isSmartRef__":true,"id":10036}},"10632":{"timestamp":{"__isSmartRef__":true,"id":10633},"user":"sebastianwoinar","tags":[]},"10633":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"10634":{"varMapping":{"__isSmartRef__":true,"id":10635},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":10636},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10635":{"this":{"__isSmartRef__":true,"id":10036}},"10636":{"timestamp":{"__isSmartRef__":true,"id":10637},"user":"sebastianwoinar","tags":[]},"10637":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"10638":{"varMapping":{"__isSmartRef__":true,"id":10639},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":10640},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10639":{"this":{"__isSmartRef__":true,"id":10036}},"10640":{"timestamp":{"__isSmartRef__":true,"id":10641},"user":"sebastianwoinar","tags":[]},"10641":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"10642":{"varMapping":{"__isSmartRef__":true,"id":10643},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":10644},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10643":{"this":{"__isSmartRef__":true,"id":10036}},"10644":{"timestamp":{"__isSmartRef__":true,"id":10645},"user":"sebastianwoinar","tags":[]},"10645":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"10646":{"varMapping":{"__isSmartRef__":true,"id":10647},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":10652},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10647":{"this":{"__isSmartRef__":true,"id":10036},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10648}},"10648":{"$super":{"__isSmartRef__":true,"id":10649}},"10649":{"varMapping":{"__isSmartRef__":true,"id":10650},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10650":{"obj":{"__isSmartRef__":true,"id":10036},"name":"onMouseDown"},"10651":{},"10652":{"timestamp":{"__isSmartRef__":true,"id":10653},"user":"sebastianwoinar","tags":[]},"10653":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"10654":{"varMapping":{"__isSmartRef__":true,"id":10655},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":10656},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10655":{"this":{"__isSmartRef__":true,"id":10036}},"10656":{"timestamp":{"__isSmartRef__":true,"id":10657},"user":"sebastianwoinar","tags":[]},"10657":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"10658":{"varMapping":{"__isSmartRef__":true,"id":10659},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":10660},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10659":{"this":{"__isSmartRef__":true,"id":10036}},"10660":{"timestamp":{"__isSmartRef__":true,"id":10661},"user":"sebastianwoinar","tags":[]},"10661":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"10662":{"varMapping":{"__isSmartRef__":true,"id":10663},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10664},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10663":{"this":{"__isSmartRef__":true,"id":10036}},"10664":{"timestamp":{"__isSmartRef__":true,"id":10665},"user":"sebastianwoinar","tags":[]},"10665":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"10666":{"varMapping":{"__isSmartRef__":true,"id":10667},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":10668},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10667":{"this":{"__isSmartRef__":true,"id":10036}},"10668":{"timestamp":{"__isSmartRef__":true,"id":10669},"user":"sebastianwoinar","tags":[]},"10669":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"10670":{"varMapping":{"__isSmartRef__":true,"id":10671},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":10672},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10671":{"this":{"__isSmartRef__":true,"id":10036}},"10672":{"timestamp":{"__isSmartRef__":true,"id":10673},"user":"sebastianwoinar","tags":[]},"10673":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"10674":{"varMapping":{"__isSmartRef__":true,"id":10675},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10676},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10675":{"this":{"__isSmartRef__":true,"id":10036}},"10676":{"timestamp":{"__isSmartRef__":true,"id":10677},"user":"sebastianwoinar","tags":[]},"10677":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"10678":{"varMapping":{"__isSmartRef__":true,"id":10679},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":10680},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10679":{"this":{"__isSmartRef__":true,"id":10036}},"10680":{"timestamp":{"__isSmartRef__":true,"id":10681},"user":"sebastianwoinar","tags":[]},"10681":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"10682":{"varMapping":{"__isSmartRef__":true,"id":10683},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10684},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10683":{"this":{"__isSmartRef__":true,"id":10036}},"10684":{"timestamp":{"__isSmartRef__":true,"id":10685},"user":"sebastianwoinar","tags":[]},"10685":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"10686":{"isActive":true,"alpha":11,"beta":11,"i":1,"m":11,"origAlpha":-10000000000000,"d":0},"10687":{"buildChildNodes":{"__isSmartRef__":true,"id":10688},"getGameTree":{"__isSmartRef__":true,"id":10692},"getLevel":{"__isSmartRef__":true,"id":10696},"getLevelWeight":{"__isSmartRef__":true,"id":10700},"getWeight":{"__isSmartRef__":true,"id":10704},"setNode":{"__isSmartRef__":true,"id":10708},"setParent":{"__isSmartRef__":true,"id":10712},"getParent":{"__isSmartRef__":true,"id":10716},"deactivate":{"__isSmartRef__":true,"id":10720},"blink":{"__isSmartRef__":true,"id":10724},"ABPreturn":{"__isSmartRef__":true,"id":10728},"ABPstart":{"__isSmartRef__":true,"id":10732},"ABPcontinue":{"__isSmartRef__":true,"id":10736},"ABPshowValue":{"__isSmartRef__":true,"id":10740},"ABPgetValue":{"__isSmartRef__":true,"id":10744},"ABPhasChildNodes":{"__isSmartRef__":true,"id":10748},"onMouseDown":{"__isSmartRef__":true,"id":10752},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":10760},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":10764},"ABPmarkAsDone":{"__isSmartRef__":true,"id":10768},"ABPmarkAsActive":{"__isSmartRef__":true,"id":10772},"getStateMorph":{"__isSmartRef__":true,"id":10776},"showState":{"__isSmartRef__":true,"id":10780},"ABPfailHard":{"__isSmartRef__":true,"id":10784},"markFinalDrawWith":{"__isSmartRef__":true,"id":10788}},"10688":{"varMapping":{"__isSmartRef__":true,"id":10689},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":10690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10689":{"this":{"__isSmartRef__":true,"id":10012}},"10690":{"timestamp":{"__isSmartRef__":true,"id":10691},"user":"sebastianwoinar","tags":[]},"10691":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"10692":{"varMapping":{"__isSmartRef__":true,"id":10693},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":10694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10693":{"this":{"__isSmartRef__":true,"id":10012}},"10694":{"timestamp":{"__isSmartRef__":true,"id":10695},"user":"sebastianwoinar","tags":[]},"10695":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10696":{"varMapping":{"__isSmartRef__":true,"id":10697},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":10698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10697":{"this":{"__isSmartRef__":true,"id":10012}},"10698":{"timestamp":{"__isSmartRef__":true,"id":10699},"user":"sebastianwoinar","tags":[]},"10699":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10700":{"varMapping":{"__isSmartRef__":true,"id":10701},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10702},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10701":{"this":{"__isSmartRef__":true,"id":10012}},"10702":{"timestamp":{"__isSmartRef__":true,"id":10703},"user":"sebastianwoinar","tags":[]},"10703":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10704":{"varMapping":{"__isSmartRef__":true,"id":10705},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":10706},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10705":{"this":{"__isSmartRef__":true,"id":10012}},"10706":{"timestamp":{"__isSmartRef__":true,"id":10707},"user":"sebastianwoinar","tags":[]},"10707":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10708":{"varMapping":{"__isSmartRef__":true,"id":10709},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":10710},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10709":{"this":{"__isSmartRef__":true,"id":10012}},"10710":{"timestamp":{"__isSmartRef__":true,"id":10711},"user":"sebastianwoinar","tags":[]},"10711":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10712":{"varMapping":{"__isSmartRef__":true,"id":10713},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":10714},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10713":{"this":{"__isSmartRef__":true,"id":10012}},"10714":{"timestamp":{"__isSmartRef__":true,"id":10715},"user":"sebastianwoinar","tags":[]},"10715":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10716":{"varMapping":{"__isSmartRef__":true,"id":10717},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":10718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10717":{"this":{"__isSmartRef__":true,"id":10012}},"10718":{"timestamp":{"__isSmartRef__":true,"id":10719},"user":"sebastianwoinar","tags":[]},"10719":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"10720":{"varMapping":{"__isSmartRef__":true,"id":10721},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10722},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10721":{"this":{"__isSmartRef__":true,"id":10012}},"10722":{"timestamp":{"__isSmartRef__":true,"id":10723},"user":"sebastianwoinar","tags":[]},"10723":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"10724":{"varMapping":{"__isSmartRef__":true,"id":10725},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":10726},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10725":{"this":{"__isSmartRef__":true,"id":10012}},"10726":{"timestamp":{"__isSmartRef__":true,"id":10727},"user":"sebastianwoinar","tags":[]},"10727":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"10728":{"varMapping":{"__isSmartRef__":true,"id":10729},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":10730},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10729":{"this":{"__isSmartRef__":true,"id":10012}},"10730":{"timestamp":{"__isSmartRef__":true,"id":10731},"user":"sebastianwoinar","tags":[]},"10731":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"10732":{"varMapping":{"__isSmartRef__":true,"id":10733},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":10734},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10733":{"this":{"__isSmartRef__":true,"id":10012}},"10734":{"timestamp":{"__isSmartRef__":true,"id":10735},"user":"sebastianwoinar","tags":[]},"10735":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"10736":{"varMapping":{"__isSmartRef__":true,"id":10737},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":10738},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10737":{"this":{"__isSmartRef__":true,"id":10012}},"10738":{"timestamp":{"__isSmartRef__":true,"id":10739},"user":"sebastianwoinar","tags":[]},"10739":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"10740":{"varMapping":{"__isSmartRef__":true,"id":10741},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":10742},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10741":{"this":{"__isSmartRef__":true,"id":10012}},"10742":{"timestamp":{"__isSmartRef__":true,"id":10743},"user":"sebastianwoinar","tags":[]},"10743":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"10744":{"varMapping":{"__isSmartRef__":true,"id":10745},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":10746},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10745":{"this":{"__isSmartRef__":true,"id":10012}},"10746":{"timestamp":{"__isSmartRef__":true,"id":10747},"user":"sebastianwoinar","tags":[]},"10747":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"10748":{"varMapping":{"__isSmartRef__":true,"id":10749},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":10750},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10749":{"this":{"__isSmartRef__":true,"id":10012}},"10750":{"timestamp":{"__isSmartRef__":true,"id":10751},"user":"sebastianwoinar","tags":[]},"10751":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"10752":{"varMapping":{"__isSmartRef__":true,"id":10753},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":10758},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10753":{"this":{"__isSmartRef__":true,"id":10012},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10754}},"10754":{"$super":{"__isSmartRef__":true,"id":10755}},"10755":{"varMapping":{"__isSmartRef__":true,"id":10756},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10757},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10756":{"obj":{"__isSmartRef__":true,"id":10012},"name":"onMouseDown"},"10757":{},"10758":{"timestamp":{"__isSmartRef__":true,"id":10759},"user":"sebastianwoinar","tags":[]},"10759":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"10760":{"varMapping":{"__isSmartRef__":true,"id":10761},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":10762},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10761":{"this":{"__isSmartRef__":true,"id":10012}},"10762":{"timestamp":{"__isSmartRef__":true,"id":10763},"user":"sebastianwoinar","tags":[]},"10763":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"10764":{"varMapping":{"__isSmartRef__":true,"id":10765},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":10766},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10765":{"this":{"__isSmartRef__":true,"id":10012}},"10766":{"timestamp":{"__isSmartRef__":true,"id":10767},"user":"sebastianwoinar","tags":[]},"10767":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"10768":{"varMapping":{"__isSmartRef__":true,"id":10769},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10770},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10769":{"this":{"__isSmartRef__":true,"id":10012}},"10770":{"timestamp":{"__isSmartRef__":true,"id":10771},"user":"sebastianwoinar","tags":[]},"10771":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"10772":{"varMapping":{"__isSmartRef__":true,"id":10773},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":10774},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10773":{"this":{"__isSmartRef__":true,"id":10012}},"10774":{"timestamp":{"__isSmartRef__":true,"id":10775},"user":"sebastianwoinar","tags":[]},"10775":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"10776":{"varMapping":{"__isSmartRef__":true,"id":10777},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":10778},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10777":{"this":{"__isSmartRef__":true,"id":10012}},"10778":{"timestamp":{"__isSmartRef__":true,"id":10779},"user":"sebastianwoinar","tags":[]},"10779":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"10780":{"varMapping":{"__isSmartRef__":true,"id":10781},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10782},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10781":{"this":{"__isSmartRef__":true,"id":10012}},"10782":{"timestamp":{"__isSmartRef__":true,"id":10783},"user":"sebastianwoinar","tags":[]},"10783":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"10784":{"varMapping":{"__isSmartRef__":true,"id":10785},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":10786},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10785":{"this":{"__isSmartRef__":true,"id":10012}},"10786":{"timestamp":{"__isSmartRef__":true,"id":10787},"user":"sebastianwoinar","tags":[]},"10787":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"10788":{"varMapping":{"__isSmartRef__":true,"id":10789},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10790},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10789":{"this":{"__isSmartRef__":true,"id":10012}},"10790":{"timestamp":{"__isSmartRef__":true,"id":10791},"user":"sebastianwoinar","tags":[]},"10791":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"10792":{"submorphs":[{"__isSmartRef__":true,"id":10793}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10810},"id":"39B415E6-5790-461C-AFCD-FCEB6F4428CC","eventHandler":{"__isSmartRef__":true,"id":10811},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":10812},"name":"node35","partsBinMetaInfo":{"__isSmartRef__":true,"id":10813},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6624},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":10816}],"parent":{"__isSmartRef__":true,"id":6534},"level":1,"abp":{"__isSmartRef__":true,"id":11466},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11467},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(967.9,110.0)"},"10793":{"submorphs":[],"scripts":[],"id":"B0DC256C-62A4-4941-90F5-17FFD2400D23","shape":{"__isSmartRef__":true,"id":10794},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":10795},"textChunks":[{"__isSmartRef__":true,"id":10807}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":10809},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":10792},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)","_TextColor":"Color.rgb(204,0,0)"},"10794":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"10795":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":10796},{"__isSmartRef__":true,"id":10798},{"__isSmartRef__":true,"id":10800},{"__isSmartRef__":true,"id":10802},{"__isSmartRef__":true,"id":10804}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":10806},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10796":{"date":{"__isSmartRef__":true,"id":10797},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"10797":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"10798":{"date":{"__isSmartRef__":true,"id":10799},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"10799":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"10800":{"date":{"__isSmartRef__":true,"id":10801},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"10801":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"10802":{"date":{"__isSmartRef__":true,"id":10803},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"10803":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"10804":{"date":{"__isSmartRef__":true,"id":10805},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"10805":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"10806":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"10807":{"style":{"__isSmartRef__":true,"id":10808},"chunkOwner":{"__isSmartRef__":true,"id":10793},"_id":"_1674","storedString":"11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10808":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10809":{"morph":{"__isSmartRef__":true,"id":10793},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10810":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"10811":{"morph":{"__isSmartRef__":true,"id":10792},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10812":{},"10813":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":10814}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10814":{"date":{"__isSmartRef__":true,"id":10815},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"10815":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"10816":{"submorphs":[{"__isSmartRef__":true,"id":10817}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10834},"id":"B5A3DBFE-7CCF-43F9-A943-68D3FFC6B6C7","eventHandler":{"__isSmartRef__":true,"id":10835},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":10836},"name":"node36","partsBinMetaInfo":{"__isSmartRef__":true,"id":10837},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6626},"owner":{"__isSmartRef__":true,"id":6533},"childNodes":[{"__isSmartRef__":true,"id":10840},{"__isSmartRef__":true,"id":10970},{"__isSmartRef__":true,"id":11100},{"__isSmartRef__":true,"id":11230}],"parent":{"__isSmartRef__":true,"id":10792},"level":2,"abp":{"__isSmartRef__":true,"id":11360},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11361},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(1014.7,160.0)"},"10817":{"submorphs":[],"scripts":[],"id":"87183F70-AAA4-405B-AAEE-4316AD5320BB","shape":{"__isSmartRef__":true,"id":10818},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":10819},"textChunks":[{"__isSmartRef__":true,"id":10831}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":10833},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":10816},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)","_TextColor":"Color.rgb(0,0,204)"},"10818":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"10819":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":10820},{"__isSmartRef__":true,"id":10822},{"__isSmartRef__":true,"id":10824},{"__isSmartRef__":true,"id":10826},{"__isSmartRef__":true,"id":10828}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":10830},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10820":{"date":{"__isSmartRef__":true,"id":10821},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"10821":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"10822":{"date":{"__isSmartRef__":true,"id":10823},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"10823":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"10824":{"date":{"__isSmartRef__":true,"id":10825},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"10825":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"10826":{"date":{"__isSmartRef__":true,"id":10827},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"10827":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"10828":{"date":{"__isSmartRef__":true,"id":10829},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"10829":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"10830":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"10831":{"style":{"__isSmartRef__":true,"id":10832},"chunkOwner":{"__isSmartRef__":true,"id":10817},"_id":"_1668","storedString":"-11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10832":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10833":{"morph":{"__isSmartRef__":true,"id":10817},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10834":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"10835":{"morph":{"__isSmartRef__":true,"id":10816},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10836":{},"10837":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":10838}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10838":{"date":{"__isSmartRef__":true,"id":10839},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"10839":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"10840":{"submorphs":[{"__isSmartRef__":true,"id":10841}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10858},"id":"4423C941-3E46-48B2-9A99-D1D88054C64F","eventHandler":{"__isSmartRef__":true,"id":10859},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":10860},"name":"node37","partsBinMetaInfo":{"__isSmartRef__":true,"id":10861},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6628},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":10816},"level":3,"abp":{"__isSmartRef__":true,"id":10864},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10865},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(988.7,210.0)"},"10841":{"submorphs":[],"scripts":[],"id":"CD8BCC3E-7777-4EB6-B202-C6E44C8B5F0C","shape":{"__isSmartRef__":true,"id":10842},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":10843},"textChunks":[{"__isSmartRef__":true,"id":10855}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":10857},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":10840},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"10842":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"10843":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":10844},{"__isSmartRef__":true,"id":10846},{"__isSmartRef__":true,"id":10848},{"__isSmartRef__":true,"id":10850},{"__isSmartRef__":true,"id":10852}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":10854},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10844":{"date":{"__isSmartRef__":true,"id":10845},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"10845":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"10846":{"date":{"__isSmartRef__":true,"id":10847},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"10847":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"10848":{"date":{"__isSmartRef__":true,"id":10849},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"10849":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"10850":{"date":{"__isSmartRef__":true,"id":10851},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"10851":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"10852":{"date":{"__isSmartRef__":true,"id":10853},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"10853":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"10854":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"10855":{"style":{"__isSmartRef__":true,"id":10856},"chunkOwner":{"__isSmartRef__":true,"id":10841},"_id":"_1642","storedString":"23","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10856":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10857":{"morph":{"__isSmartRef__":true,"id":10841},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10858":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"10859":{"morph":{"__isSmartRef__":true,"id":10840},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10860":{},"10861":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":10862}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10862":{"date":{"__isSmartRef__":true,"id":10863},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"10863":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"10864":{"isActive":true,"alpha":23,"beta":11,"i":0,"m":23,"origAlpha":-10000000000000,"d":0},"10865":{"buildChildNodes":{"__isSmartRef__":true,"id":10866},"getGameTree":{"__isSmartRef__":true,"id":10870},"getLevel":{"__isSmartRef__":true,"id":10874},"getLevelWeight":{"__isSmartRef__":true,"id":10878},"getWeight":{"__isSmartRef__":true,"id":10882},"setNode":{"__isSmartRef__":true,"id":10886},"setParent":{"__isSmartRef__":true,"id":10890},"getParent":{"__isSmartRef__":true,"id":10894},"deactivate":{"__isSmartRef__":true,"id":10898},"blink":{"__isSmartRef__":true,"id":10902},"ABPreturn":{"__isSmartRef__":true,"id":10906},"ABPstart":{"__isSmartRef__":true,"id":10910},"ABPcontinue":{"__isSmartRef__":true,"id":10914},"ABPshowValue":{"__isSmartRef__":true,"id":10918},"ABPgetValue":{"__isSmartRef__":true,"id":10922},"ABPhasChildNodes":{"__isSmartRef__":true,"id":10926},"onMouseDown":{"__isSmartRef__":true,"id":10930},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":10938},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":10942},"ABPmarkAsDone":{"__isSmartRef__":true,"id":10946},"ABPmarkAsActive":{"__isSmartRef__":true,"id":10950},"getStateMorph":{"__isSmartRef__":true,"id":10954},"showState":{"__isSmartRef__":true,"id":10958},"ABPfailHard":{"__isSmartRef__":true,"id":10962},"markFinalDrawWith":{"__isSmartRef__":true,"id":10966}},"10866":{"varMapping":{"__isSmartRef__":true,"id":10867},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":10868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10867":{"this":{"__isSmartRef__":true,"id":10840}},"10868":{"timestamp":{"__isSmartRef__":true,"id":10869},"user":"sebastianwoinar","tags":[]},"10869":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"10870":{"varMapping":{"__isSmartRef__":true,"id":10871},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":10872},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10871":{"this":{"__isSmartRef__":true,"id":10840}},"10872":{"timestamp":{"__isSmartRef__":true,"id":10873},"user":"sebastianwoinar","tags":[]},"10873":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10874":{"varMapping":{"__isSmartRef__":true,"id":10875},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":10876},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10875":{"this":{"__isSmartRef__":true,"id":10840}},"10876":{"timestamp":{"__isSmartRef__":true,"id":10877},"user":"sebastianwoinar","tags":[]},"10877":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10878":{"varMapping":{"__isSmartRef__":true,"id":10879},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10880},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10879":{"this":{"__isSmartRef__":true,"id":10840}},"10880":{"timestamp":{"__isSmartRef__":true,"id":10881},"user":"sebastianwoinar","tags":[]},"10881":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10882":{"varMapping":{"__isSmartRef__":true,"id":10883},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":10884},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10883":{"this":{"__isSmartRef__":true,"id":10840}},"10884":{"timestamp":{"__isSmartRef__":true,"id":10885},"user":"sebastianwoinar","tags":[]},"10885":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10886":{"varMapping":{"__isSmartRef__":true,"id":10887},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":10888},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10887":{"this":{"__isSmartRef__":true,"id":10840}},"10888":{"timestamp":{"__isSmartRef__":true,"id":10889},"user":"sebastianwoinar","tags":[]},"10889":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10890":{"varMapping":{"__isSmartRef__":true,"id":10891},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":10892},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10891":{"this":{"__isSmartRef__":true,"id":10840}},"10892":{"timestamp":{"__isSmartRef__":true,"id":10893},"user":"sebastianwoinar","tags":[]},"10893":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"10894":{"varMapping":{"__isSmartRef__":true,"id":10895},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":10896},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10895":{"this":{"__isSmartRef__":true,"id":10840}},"10896":{"timestamp":{"__isSmartRef__":true,"id":10897},"user":"sebastianwoinar","tags":[]},"10897":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"10898":{"varMapping":{"__isSmartRef__":true,"id":10899},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10900},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10899":{"this":{"__isSmartRef__":true,"id":10840}},"10900":{"timestamp":{"__isSmartRef__":true,"id":10901},"user":"sebastianwoinar","tags":[]},"10901":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"10902":{"varMapping":{"__isSmartRef__":true,"id":10903},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":10904},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10903":{"this":{"__isSmartRef__":true,"id":10840}},"10904":{"timestamp":{"__isSmartRef__":true,"id":10905},"user":"sebastianwoinar","tags":[]},"10905":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"10906":{"varMapping":{"__isSmartRef__":true,"id":10907},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":10908},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10907":{"this":{"__isSmartRef__":true,"id":10840}},"10908":{"timestamp":{"__isSmartRef__":true,"id":10909},"user":"sebastianwoinar","tags":[]},"10909":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"10910":{"varMapping":{"__isSmartRef__":true,"id":10911},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":10912},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10911":{"this":{"__isSmartRef__":true,"id":10840}},"10912":{"timestamp":{"__isSmartRef__":true,"id":10913},"user":"sebastianwoinar","tags":[]},"10913":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"10914":{"varMapping":{"__isSmartRef__":true,"id":10915},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":10916},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10915":{"this":{"__isSmartRef__":true,"id":10840}},"10916":{"timestamp":{"__isSmartRef__":true,"id":10917},"user":"sebastianwoinar","tags":[]},"10917":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"10918":{"varMapping":{"__isSmartRef__":true,"id":10919},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":10920},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10919":{"this":{"__isSmartRef__":true,"id":10840}},"10920":{"timestamp":{"__isSmartRef__":true,"id":10921},"user":"sebastianwoinar","tags":[]},"10921":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"10922":{"varMapping":{"__isSmartRef__":true,"id":10923},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":10924},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10923":{"this":{"__isSmartRef__":true,"id":10840}},"10924":{"timestamp":{"__isSmartRef__":true,"id":10925},"user":"sebastianwoinar","tags":[]},"10925":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"10926":{"varMapping":{"__isSmartRef__":true,"id":10927},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":10928},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10927":{"this":{"__isSmartRef__":true,"id":10840}},"10928":{"timestamp":{"__isSmartRef__":true,"id":10929},"user":"sebastianwoinar","tags":[]},"10929":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"10930":{"varMapping":{"__isSmartRef__":true,"id":10931},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":10936},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10931":{"this":{"__isSmartRef__":true,"id":10840},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10932}},"10932":{"$super":{"__isSmartRef__":true,"id":10933}},"10933":{"varMapping":{"__isSmartRef__":true,"id":10934},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":10935},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10934":{"obj":{"__isSmartRef__":true,"id":10840},"name":"onMouseDown"},"10935":{},"10936":{"timestamp":{"__isSmartRef__":true,"id":10937},"user":"sebastianwoinar","tags":[]},"10937":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"10938":{"varMapping":{"__isSmartRef__":true,"id":10939},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":10940},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10939":{"this":{"__isSmartRef__":true,"id":10840}},"10940":{"timestamp":{"__isSmartRef__":true,"id":10941},"user":"sebastianwoinar","tags":[]},"10941":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"10942":{"varMapping":{"__isSmartRef__":true,"id":10943},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":10944},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10943":{"this":{"__isSmartRef__":true,"id":10840}},"10944":{"timestamp":{"__isSmartRef__":true,"id":10945},"user":"sebastianwoinar","tags":[]},"10945":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"10946":{"varMapping":{"__isSmartRef__":true,"id":10947},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":10948},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10947":{"this":{"__isSmartRef__":true,"id":10840}},"10948":{"timestamp":{"__isSmartRef__":true,"id":10949},"user":"sebastianwoinar","tags":[]},"10949":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"10950":{"varMapping":{"__isSmartRef__":true,"id":10951},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":10952},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10951":{"this":{"__isSmartRef__":true,"id":10840}},"10952":{"timestamp":{"__isSmartRef__":true,"id":10953},"user":"sebastianwoinar","tags":[]},"10953":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"10954":{"varMapping":{"__isSmartRef__":true,"id":10955},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":10956},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10955":{"this":{"__isSmartRef__":true,"id":10840}},"10956":{"timestamp":{"__isSmartRef__":true,"id":10957},"user":"sebastianwoinar","tags":[]},"10957":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"10958":{"varMapping":{"__isSmartRef__":true,"id":10959},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10960},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10959":{"this":{"__isSmartRef__":true,"id":10840}},"10960":{"timestamp":{"__isSmartRef__":true,"id":10961},"user":"sebastianwoinar","tags":[]},"10961":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"10962":{"varMapping":{"__isSmartRef__":true,"id":10963},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":10964},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10963":{"this":{"__isSmartRef__":true,"id":10840}},"10964":{"timestamp":{"__isSmartRef__":true,"id":10965},"user":"sebastianwoinar","tags":[]},"10965":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"10966":{"varMapping":{"__isSmartRef__":true,"id":10967},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":10968},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10967":{"this":{"__isSmartRef__":true,"id":10840}},"10968":{"timestamp":{"__isSmartRef__":true,"id":10969},"user":"sebastianwoinar","tags":[]},"10969":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"10970":{"submorphs":[{"__isSmartRef__":true,"id":10971}],"scripts":[],"shape":{"__isSmartRef__":true,"id":10988},"id":"68C29BE2-6260-40CD-B7C0-E175277B02C1","eventHandler":{"__isSmartRef__":true,"id":10989},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":10990},"name":"node38","partsBinMetaInfo":{"__isSmartRef__":true,"id":10991},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6630},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":10816},"level":3,"abp":{"__isSmartRef__":true,"id":10994},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":10995},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(1030.3,210.0)"},"10971":{"submorphs":[],"scripts":[],"id":"6BA1AE94-C6B5-4CDC-B529-C7F89757E3ED","shape":{"__isSmartRef__":true,"id":10972},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":10973},"textChunks":[{"__isSmartRef__":true,"id":10985}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":10987},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":10970},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"10972":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"10973":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":10974},{"__isSmartRef__":true,"id":10976},{"__isSmartRef__":true,"id":10978},{"__isSmartRef__":true,"id":10980},{"__isSmartRef__":true,"id":10982}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":10984},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10974":{"date":{"__isSmartRef__":true,"id":10975},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"10975":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"10976":{"date":{"__isSmartRef__":true,"id":10977},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"10977":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"10978":{"date":{"__isSmartRef__":true,"id":10979},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"10979":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"10980":{"date":{"__isSmartRef__":true,"id":10981},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"10981":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"10982":{"date":{"__isSmartRef__":true,"id":10983},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"10983":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"10984":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"10985":{"style":{"__isSmartRef__":true,"id":10986},"chunkOwner":{"__isSmartRef__":true,"id":10971},"_id":"_1649","storedString":"25","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10986":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"10987":{"morph":{"__isSmartRef__":true,"id":10971},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10988":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"10989":{"morph":{"__isSmartRef__":true,"id":10970},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"10990":{},"10991":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":10992}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10992":{"date":{"__isSmartRef__":true,"id":10993},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"10993":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"10994":{"isActive":true,"alpha":25,"beta":11,"i":0,"m":25,"origAlpha":-10000000000000,"d":0},"10995":{"buildChildNodes":{"__isSmartRef__":true,"id":10996},"getGameTree":{"__isSmartRef__":true,"id":11000},"getLevel":{"__isSmartRef__":true,"id":11004},"getLevelWeight":{"__isSmartRef__":true,"id":11008},"getWeight":{"__isSmartRef__":true,"id":11012},"setNode":{"__isSmartRef__":true,"id":11016},"setParent":{"__isSmartRef__":true,"id":11020},"getParent":{"__isSmartRef__":true,"id":11024},"deactivate":{"__isSmartRef__":true,"id":11028},"blink":{"__isSmartRef__":true,"id":11032},"ABPreturn":{"__isSmartRef__":true,"id":11036},"ABPstart":{"__isSmartRef__":true,"id":11040},"ABPcontinue":{"__isSmartRef__":true,"id":11044},"ABPshowValue":{"__isSmartRef__":true,"id":11048},"ABPgetValue":{"__isSmartRef__":true,"id":11052},"ABPhasChildNodes":{"__isSmartRef__":true,"id":11056},"onMouseDown":{"__isSmartRef__":true,"id":11060},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":11068},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":11072},"ABPmarkAsDone":{"__isSmartRef__":true,"id":11076},"ABPmarkAsActive":{"__isSmartRef__":true,"id":11080},"getStateMorph":{"__isSmartRef__":true,"id":11084},"showState":{"__isSmartRef__":true,"id":11088},"ABPfailHard":{"__isSmartRef__":true,"id":11092},"markFinalDrawWith":{"__isSmartRef__":true,"id":11096}},"10996":{"varMapping":{"__isSmartRef__":true,"id":10997},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":10998},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"10997":{"this":{"__isSmartRef__":true,"id":10970}},"10998":{"timestamp":{"__isSmartRef__":true,"id":10999},"user":"sebastianwoinar","tags":[]},"10999":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"11000":{"varMapping":{"__isSmartRef__":true,"id":11001},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":11002},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11001":{"this":{"__isSmartRef__":true,"id":10970}},"11002":{"timestamp":{"__isSmartRef__":true,"id":11003},"user":"sebastianwoinar","tags":[]},"11003":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11004":{"varMapping":{"__isSmartRef__":true,"id":11005},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":11006},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11005":{"this":{"__isSmartRef__":true,"id":10970}},"11006":{"timestamp":{"__isSmartRef__":true,"id":11007},"user":"sebastianwoinar","tags":[]},"11007":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11008":{"varMapping":{"__isSmartRef__":true,"id":11009},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11010},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11009":{"this":{"__isSmartRef__":true,"id":10970}},"11010":{"timestamp":{"__isSmartRef__":true,"id":11011},"user":"sebastianwoinar","tags":[]},"11011":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11012":{"varMapping":{"__isSmartRef__":true,"id":11013},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":11014},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11013":{"this":{"__isSmartRef__":true,"id":10970}},"11014":{"timestamp":{"__isSmartRef__":true,"id":11015},"user":"sebastianwoinar","tags":[]},"11015":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11016":{"varMapping":{"__isSmartRef__":true,"id":11017},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":11018},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11017":{"this":{"__isSmartRef__":true,"id":10970}},"11018":{"timestamp":{"__isSmartRef__":true,"id":11019},"user":"sebastianwoinar","tags":[]},"11019":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11020":{"varMapping":{"__isSmartRef__":true,"id":11021},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":11022},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11021":{"this":{"__isSmartRef__":true,"id":10970}},"11022":{"timestamp":{"__isSmartRef__":true,"id":11023},"user":"sebastianwoinar","tags":[]},"11023":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11024":{"varMapping":{"__isSmartRef__":true,"id":11025},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":11026},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11025":{"this":{"__isSmartRef__":true,"id":10970}},"11026":{"timestamp":{"__isSmartRef__":true,"id":11027},"user":"sebastianwoinar","tags":[]},"11027":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"11028":{"varMapping":{"__isSmartRef__":true,"id":11029},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11030},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11029":{"this":{"__isSmartRef__":true,"id":10970}},"11030":{"timestamp":{"__isSmartRef__":true,"id":11031},"user":"sebastianwoinar","tags":[]},"11031":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"11032":{"varMapping":{"__isSmartRef__":true,"id":11033},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":11034},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11033":{"this":{"__isSmartRef__":true,"id":10970}},"11034":{"timestamp":{"__isSmartRef__":true,"id":11035},"user":"sebastianwoinar","tags":[]},"11035":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"11036":{"varMapping":{"__isSmartRef__":true,"id":11037},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":11038},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11037":{"this":{"__isSmartRef__":true,"id":10970}},"11038":{"timestamp":{"__isSmartRef__":true,"id":11039},"user":"sebastianwoinar","tags":[]},"11039":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"11040":{"varMapping":{"__isSmartRef__":true,"id":11041},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":11042},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11041":{"this":{"__isSmartRef__":true,"id":10970}},"11042":{"timestamp":{"__isSmartRef__":true,"id":11043},"user":"sebastianwoinar","tags":[]},"11043":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"11044":{"varMapping":{"__isSmartRef__":true,"id":11045},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":11046},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11045":{"this":{"__isSmartRef__":true,"id":10970}},"11046":{"timestamp":{"__isSmartRef__":true,"id":11047},"user":"sebastianwoinar","tags":[]},"11047":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"11048":{"varMapping":{"__isSmartRef__":true,"id":11049},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":11050},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11049":{"this":{"__isSmartRef__":true,"id":10970}},"11050":{"timestamp":{"__isSmartRef__":true,"id":11051},"user":"sebastianwoinar","tags":[]},"11051":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"11052":{"varMapping":{"__isSmartRef__":true,"id":11053},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":11054},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11053":{"this":{"__isSmartRef__":true,"id":10970}},"11054":{"timestamp":{"__isSmartRef__":true,"id":11055},"user":"sebastianwoinar","tags":[]},"11055":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"11056":{"varMapping":{"__isSmartRef__":true,"id":11057},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":11058},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11057":{"this":{"__isSmartRef__":true,"id":10970}},"11058":{"timestamp":{"__isSmartRef__":true,"id":11059},"user":"sebastianwoinar","tags":[]},"11059":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"11060":{"varMapping":{"__isSmartRef__":true,"id":11061},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":11066},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11061":{"this":{"__isSmartRef__":true,"id":10970},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11062}},"11062":{"$super":{"__isSmartRef__":true,"id":11063}},"11063":{"varMapping":{"__isSmartRef__":true,"id":11064},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11065},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11064":{"obj":{"__isSmartRef__":true,"id":10970},"name":"onMouseDown"},"11065":{},"11066":{"timestamp":{"__isSmartRef__":true,"id":11067},"user":"sebastianwoinar","tags":[]},"11067":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"11068":{"varMapping":{"__isSmartRef__":true,"id":11069},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":11070},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11069":{"this":{"__isSmartRef__":true,"id":10970}},"11070":{"timestamp":{"__isSmartRef__":true,"id":11071},"user":"sebastianwoinar","tags":[]},"11071":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"11072":{"varMapping":{"__isSmartRef__":true,"id":11073},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":11074},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11073":{"this":{"__isSmartRef__":true,"id":10970}},"11074":{"timestamp":{"__isSmartRef__":true,"id":11075},"user":"sebastianwoinar","tags":[]},"11075":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"11076":{"varMapping":{"__isSmartRef__":true,"id":11077},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11078},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11077":{"this":{"__isSmartRef__":true,"id":10970}},"11078":{"timestamp":{"__isSmartRef__":true,"id":11079},"user":"sebastianwoinar","tags":[]},"11079":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"11080":{"varMapping":{"__isSmartRef__":true,"id":11081},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":11082},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11081":{"this":{"__isSmartRef__":true,"id":10970}},"11082":{"timestamp":{"__isSmartRef__":true,"id":11083},"user":"sebastianwoinar","tags":[]},"11083":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"11084":{"varMapping":{"__isSmartRef__":true,"id":11085},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":11086},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11085":{"this":{"__isSmartRef__":true,"id":10970}},"11086":{"timestamp":{"__isSmartRef__":true,"id":11087},"user":"sebastianwoinar","tags":[]},"11087":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"11088":{"varMapping":{"__isSmartRef__":true,"id":11089},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11090},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11089":{"this":{"__isSmartRef__":true,"id":10970}},"11090":{"timestamp":{"__isSmartRef__":true,"id":11091},"user":"sebastianwoinar","tags":[]},"11091":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"11092":{"varMapping":{"__isSmartRef__":true,"id":11093},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":11094},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11093":{"this":{"__isSmartRef__":true,"id":10970}},"11094":{"timestamp":{"__isSmartRef__":true,"id":11095},"user":"sebastianwoinar","tags":[]},"11095":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"11096":{"varMapping":{"__isSmartRef__":true,"id":11097},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11098},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11097":{"this":{"__isSmartRef__":true,"id":10970}},"11098":{"timestamp":{"__isSmartRef__":true,"id":11099},"user":"sebastianwoinar","tags":[]},"11099":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"11100":{"submorphs":[{"__isSmartRef__":true,"id":11101}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11118},"id":"1CF85664-0D39-4CE9-88F7-8DD9903F5AB7","eventHandler":{"__isSmartRef__":true,"id":11119},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":11120},"name":"node39","partsBinMetaInfo":{"__isSmartRef__":true,"id":11121},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6632},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":10816},"level":3,"abp":{"__isSmartRef__":true,"id":11124},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11125},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(1072.0,210.0)"},"11101":{"submorphs":[],"scripts":[],"id":"E35A036E-1CFB-4C28-9639-EC8066D8C239","shape":{"__isSmartRef__":true,"id":11102},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":11103},"textChunks":[{"__isSmartRef__":true,"id":11115}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":11117},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":11100},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"11102":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"11103":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":11104},{"__isSmartRef__":true,"id":11106},{"__isSmartRef__":true,"id":11108},{"__isSmartRef__":true,"id":11110},{"__isSmartRef__":true,"id":11112}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":11114},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11104":{"date":{"__isSmartRef__":true,"id":11105},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"11105":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"11106":{"date":{"__isSmartRef__":true,"id":11107},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"11107":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"11108":{"date":{"__isSmartRef__":true,"id":11109},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"11109":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"11110":{"date":{"__isSmartRef__":true,"id":11111},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"11111":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"11112":{"date":{"__isSmartRef__":true,"id":11113},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"11113":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"11114":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"11115":{"style":{"__isSmartRef__":true,"id":11116},"chunkOwner":{"__isSmartRef__":true,"id":11101},"_id":"_1656","storedString":"17","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11116":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11117":{"morph":{"__isSmartRef__":true,"id":11101},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11118":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"11119":{"morph":{"__isSmartRef__":true,"id":11100},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11120":{},"11121":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":11122}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11122":{"date":{"__isSmartRef__":true,"id":11123},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"11123":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"11124":{"isActive":true,"alpha":17,"beta":11,"i":0,"m":17,"origAlpha":-10000000000000,"d":0},"11125":{"buildChildNodes":{"__isSmartRef__":true,"id":11126},"getGameTree":{"__isSmartRef__":true,"id":11130},"getLevel":{"__isSmartRef__":true,"id":11134},"getLevelWeight":{"__isSmartRef__":true,"id":11138},"getWeight":{"__isSmartRef__":true,"id":11142},"setNode":{"__isSmartRef__":true,"id":11146},"setParent":{"__isSmartRef__":true,"id":11150},"getParent":{"__isSmartRef__":true,"id":11154},"deactivate":{"__isSmartRef__":true,"id":11158},"blink":{"__isSmartRef__":true,"id":11162},"ABPreturn":{"__isSmartRef__":true,"id":11166},"ABPstart":{"__isSmartRef__":true,"id":11170},"ABPcontinue":{"__isSmartRef__":true,"id":11174},"ABPshowValue":{"__isSmartRef__":true,"id":11178},"ABPgetValue":{"__isSmartRef__":true,"id":11182},"ABPhasChildNodes":{"__isSmartRef__":true,"id":11186},"onMouseDown":{"__isSmartRef__":true,"id":11190},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":11198},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":11202},"ABPmarkAsDone":{"__isSmartRef__":true,"id":11206},"ABPmarkAsActive":{"__isSmartRef__":true,"id":11210},"getStateMorph":{"__isSmartRef__":true,"id":11214},"showState":{"__isSmartRef__":true,"id":11218},"ABPfailHard":{"__isSmartRef__":true,"id":11222},"markFinalDrawWith":{"__isSmartRef__":true,"id":11226}},"11126":{"varMapping":{"__isSmartRef__":true,"id":11127},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":11128},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11127":{"this":{"__isSmartRef__":true,"id":11100}},"11128":{"timestamp":{"__isSmartRef__":true,"id":11129},"user":"sebastianwoinar","tags":[]},"11129":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"11130":{"varMapping":{"__isSmartRef__":true,"id":11131},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":11132},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11131":{"this":{"__isSmartRef__":true,"id":11100}},"11132":{"timestamp":{"__isSmartRef__":true,"id":11133},"user":"sebastianwoinar","tags":[]},"11133":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11134":{"varMapping":{"__isSmartRef__":true,"id":11135},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":11136},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11135":{"this":{"__isSmartRef__":true,"id":11100}},"11136":{"timestamp":{"__isSmartRef__":true,"id":11137},"user":"sebastianwoinar","tags":[]},"11137":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11138":{"varMapping":{"__isSmartRef__":true,"id":11139},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11140},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11139":{"this":{"__isSmartRef__":true,"id":11100}},"11140":{"timestamp":{"__isSmartRef__":true,"id":11141},"user":"sebastianwoinar","tags":[]},"11141":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11142":{"varMapping":{"__isSmartRef__":true,"id":11143},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":11144},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11143":{"this":{"__isSmartRef__":true,"id":11100}},"11144":{"timestamp":{"__isSmartRef__":true,"id":11145},"user":"sebastianwoinar","tags":[]},"11145":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11146":{"varMapping":{"__isSmartRef__":true,"id":11147},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":11148},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11147":{"this":{"__isSmartRef__":true,"id":11100}},"11148":{"timestamp":{"__isSmartRef__":true,"id":11149},"user":"sebastianwoinar","tags":[]},"11149":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11150":{"varMapping":{"__isSmartRef__":true,"id":11151},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":11152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11151":{"this":{"__isSmartRef__":true,"id":11100}},"11152":{"timestamp":{"__isSmartRef__":true,"id":11153},"user":"sebastianwoinar","tags":[]},"11153":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11154":{"varMapping":{"__isSmartRef__":true,"id":11155},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":11156},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11155":{"this":{"__isSmartRef__":true,"id":11100}},"11156":{"timestamp":{"__isSmartRef__":true,"id":11157},"user":"sebastianwoinar","tags":[]},"11157":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"11158":{"varMapping":{"__isSmartRef__":true,"id":11159},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11160},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11159":{"this":{"__isSmartRef__":true,"id":11100}},"11160":{"timestamp":{"__isSmartRef__":true,"id":11161},"user":"sebastianwoinar","tags":[]},"11161":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"11162":{"varMapping":{"__isSmartRef__":true,"id":11163},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":11164},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11163":{"this":{"__isSmartRef__":true,"id":11100}},"11164":{"timestamp":{"__isSmartRef__":true,"id":11165},"user":"sebastianwoinar","tags":[]},"11165":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"11166":{"varMapping":{"__isSmartRef__":true,"id":11167},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":11168},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11167":{"this":{"__isSmartRef__":true,"id":11100}},"11168":{"timestamp":{"__isSmartRef__":true,"id":11169},"user":"sebastianwoinar","tags":[]},"11169":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"11170":{"varMapping":{"__isSmartRef__":true,"id":11171},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":11172},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11171":{"this":{"__isSmartRef__":true,"id":11100}},"11172":{"timestamp":{"__isSmartRef__":true,"id":11173},"user":"sebastianwoinar","tags":[]},"11173":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"11174":{"varMapping":{"__isSmartRef__":true,"id":11175},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":11176},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11175":{"this":{"__isSmartRef__":true,"id":11100}},"11176":{"timestamp":{"__isSmartRef__":true,"id":11177},"user":"sebastianwoinar","tags":[]},"11177":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"11178":{"varMapping":{"__isSmartRef__":true,"id":11179},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":11180},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11179":{"this":{"__isSmartRef__":true,"id":11100}},"11180":{"timestamp":{"__isSmartRef__":true,"id":11181},"user":"sebastianwoinar","tags":[]},"11181":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"11182":{"varMapping":{"__isSmartRef__":true,"id":11183},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":11184},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11183":{"this":{"__isSmartRef__":true,"id":11100}},"11184":{"timestamp":{"__isSmartRef__":true,"id":11185},"user":"sebastianwoinar","tags":[]},"11185":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"11186":{"varMapping":{"__isSmartRef__":true,"id":11187},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":11188},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11187":{"this":{"__isSmartRef__":true,"id":11100}},"11188":{"timestamp":{"__isSmartRef__":true,"id":11189},"user":"sebastianwoinar","tags":[]},"11189":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"11190":{"varMapping":{"__isSmartRef__":true,"id":11191},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":11196},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11191":{"this":{"__isSmartRef__":true,"id":11100},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11192}},"11192":{"$super":{"__isSmartRef__":true,"id":11193}},"11193":{"varMapping":{"__isSmartRef__":true,"id":11194},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11195},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11194":{"obj":{"__isSmartRef__":true,"id":11100},"name":"onMouseDown"},"11195":{},"11196":{"timestamp":{"__isSmartRef__":true,"id":11197},"user":"sebastianwoinar","tags":[]},"11197":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"11198":{"varMapping":{"__isSmartRef__":true,"id":11199},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":11200},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11199":{"this":{"__isSmartRef__":true,"id":11100}},"11200":{"timestamp":{"__isSmartRef__":true,"id":11201},"user":"sebastianwoinar","tags":[]},"11201":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"11202":{"varMapping":{"__isSmartRef__":true,"id":11203},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":11204},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11203":{"this":{"__isSmartRef__":true,"id":11100}},"11204":{"timestamp":{"__isSmartRef__":true,"id":11205},"user":"sebastianwoinar","tags":[]},"11205":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"11206":{"varMapping":{"__isSmartRef__":true,"id":11207},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11208},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11207":{"this":{"__isSmartRef__":true,"id":11100}},"11208":{"timestamp":{"__isSmartRef__":true,"id":11209},"user":"sebastianwoinar","tags":[]},"11209":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"11210":{"varMapping":{"__isSmartRef__":true,"id":11211},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":11212},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11211":{"this":{"__isSmartRef__":true,"id":11100}},"11212":{"timestamp":{"__isSmartRef__":true,"id":11213},"user":"sebastianwoinar","tags":[]},"11213":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"11214":{"varMapping":{"__isSmartRef__":true,"id":11215},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":11216},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11215":{"this":{"__isSmartRef__":true,"id":11100}},"11216":{"timestamp":{"__isSmartRef__":true,"id":11217},"user":"sebastianwoinar","tags":[]},"11217":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"11218":{"varMapping":{"__isSmartRef__":true,"id":11219},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11220},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11219":{"this":{"__isSmartRef__":true,"id":11100}},"11220":{"timestamp":{"__isSmartRef__":true,"id":11221},"user":"sebastianwoinar","tags":[]},"11221":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"11222":{"varMapping":{"__isSmartRef__":true,"id":11223},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":11224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11223":{"this":{"__isSmartRef__":true,"id":11100}},"11224":{"timestamp":{"__isSmartRef__":true,"id":11225},"user":"sebastianwoinar","tags":[]},"11225":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"11226":{"varMapping":{"__isSmartRef__":true,"id":11227},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11227":{"this":{"__isSmartRef__":true,"id":11100}},"11228":{"timestamp":{"__isSmartRef__":true,"id":11229},"user":"sebastianwoinar","tags":[]},"11229":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"11230":{"submorphs":[{"__isSmartRef__":true,"id":11231}],"scripts":[],"shape":{"__isSmartRef__":true,"id":11248},"id":"9A17E805-AA55-426B-8720-6DE680A182A5","eventHandler":{"__isSmartRef__":true,"id":11249},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"layout":{"__isSmartRef__":true,"id":11250},"name":"node40","partsBinMetaInfo":{"__isSmartRef__":true,"id":11251},"derivationIds":[113,"07BC3F00-A1CC-4E18-8B69-527B6067A724","B7D04369-41DD-48AC-BC75-866BFB6D5CA5"],"_ClipMode":"visible","#startLetters":"no","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"node":{"__isSmartRef__":true,"id":6634},"owner":{"__isSmartRef__":true,"id":6533},"parent":{"__isSmartRef__":true,"id":10816},"level":3,"abp":{"__isSmartRef__":true,"id":11254},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11255},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(1113.6,210.0)"},"11231":{"submorphs":[],"scripts":[],"id":"818E91C4-8CDE-458F-8D43-BD539475A892","shape":{"__isSmartRef__":true,"id":11232},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"textMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":11233},"textChunks":[{"__isSmartRef__":true,"id":11245}],"charsReplaced":"Some","lastFindLoc":4,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":11247},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","49C188EA-7F40-4BB7-BCD9-47A2DBD456F4","23D4F552-5160-46E1-A76D-8354DAB108DA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":11230},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-49.0,-47.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(32.5,-7.9)"},"11232":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(19.7,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"11233":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":11234},{"__isSmartRef__":true,"id":11236},{"__isSmartRef__":true,"id":11238},{"__isSmartRef__":true,"id":11240},{"__isSmartRef__":true,"id":11242}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":11244},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11234":{"date":{"__isSmartRef__":true,"id":11235},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"11235":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"11236":{"date":{"__isSmartRef__":true,"id":11237},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"11237":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"11238":{"date":{"__isSmartRef__":true,"id":11239},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"11239":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"11240":{"date":{"__isSmartRef__":true,"id":11241},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"11241":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"11242":{"date":{"__isSmartRef__":true,"id":11243},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"11243":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"11244":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"11245":{"style":{"__isSmartRef__":true,"id":11246},"chunkOwner":{"__isSmartRef__":true,"id":11231},"_id":"_1663","storedString":"15","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11246":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"11247":{"morph":{"__isSmartRef__":true,"id":11231},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11248":{"_ClipMode":"visible","_BorderWidth":3.184,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.0,-50.0)","_Extent":"lively.pt(27.0,28.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"11249":{"morph":{"__isSmartRef__":true,"id":11230},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11250":{},"11251":{"partName":"Ellipse","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"undefined","changes":[{"__isSmartRef__":true,"id":11252}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11252":{"date":{"__isSmartRef__":true,"id":11253},"author":"undefined","message":"reverted changes - was there any description of this morph?","id":"C3C03411-9523-4F35-89EC-B20E24B3C287"},"11253":{"isSerializedDate":true,"string":"Tue Apr 03 2012 09:08:08 GMT+0200 (CEST)"},"11254":{"isActive":true,"alpha":15,"beta":11,"i":0,"m":15,"origAlpha":-10000000000000,"d":0},"11255":{"buildChildNodes":{"__isSmartRef__":true,"id":11256},"getGameTree":{"__isSmartRef__":true,"id":11260},"getLevel":{"__isSmartRef__":true,"id":11264},"getLevelWeight":{"__isSmartRef__":true,"id":11268},"getWeight":{"__isSmartRef__":true,"id":11272},"setNode":{"__isSmartRef__":true,"id":11276},"setParent":{"__isSmartRef__":true,"id":11280},"getParent":{"__isSmartRef__":true,"id":11284},"deactivate":{"__isSmartRef__":true,"id":11288},"blink":{"__isSmartRef__":true,"id":11292},"ABPreturn":{"__isSmartRef__":true,"id":11296},"ABPstart":{"__isSmartRef__":true,"id":11300},"ABPcontinue":{"__isSmartRef__":true,"id":11304},"ABPshowValue":{"__isSmartRef__":true,"id":11308},"ABPgetValue":{"__isSmartRef__":true,"id":11312},"ABPhasChildNodes":{"__isSmartRef__":true,"id":11316},"onMouseDown":{"__isSmartRef__":true,"id":11320},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":11328},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":11332},"ABPmarkAsDone":{"__isSmartRef__":true,"id":11336},"ABPmarkAsActive":{"__isSmartRef__":true,"id":11340},"getStateMorph":{"__isSmartRef__":true,"id":11344},"showState":{"__isSmartRef__":true,"id":11348},"ABPfailHard":{"__isSmartRef__":true,"id":11352},"markFinalDrawWith":{"__isSmartRef__":true,"id":11356}},"11256":{"varMapping":{"__isSmartRef__":true,"id":11257},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":11258},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11257":{"this":{"__isSmartRef__":true,"id":11230}},"11258":{"timestamp":{"__isSmartRef__":true,"id":11259},"user":"sebastianwoinar","tags":[]},"11259":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"11260":{"varMapping":{"__isSmartRef__":true,"id":11261},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":11262},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11261":{"this":{"__isSmartRef__":true,"id":11230}},"11262":{"timestamp":{"__isSmartRef__":true,"id":11263},"user":"sebastianwoinar","tags":[]},"11263":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11264":{"varMapping":{"__isSmartRef__":true,"id":11265},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":11266},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11265":{"this":{"__isSmartRef__":true,"id":11230}},"11266":{"timestamp":{"__isSmartRef__":true,"id":11267},"user":"sebastianwoinar","tags":[]},"11267":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11268":{"varMapping":{"__isSmartRef__":true,"id":11269},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11270},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11269":{"this":{"__isSmartRef__":true,"id":11230}},"11270":{"timestamp":{"__isSmartRef__":true,"id":11271},"user":"sebastianwoinar","tags":[]},"11271":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11272":{"varMapping":{"__isSmartRef__":true,"id":11273},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":11274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11273":{"this":{"__isSmartRef__":true,"id":11230}},"11274":{"timestamp":{"__isSmartRef__":true,"id":11275},"user":"sebastianwoinar","tags":[]},"11275":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11276":{"varMapping":{"__isSmartRef__":true,"id":11277},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":11278},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11277":{"this":{"__isSmartRef__":true,"id":11230}},"11278":{"timestamp":{"__isSmartRef__":true,"id":11279},"user":"sebastianwoinar","tags":[]},"11279":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11280":{"varMapping":{"__isSmartRef__":true,"id":11281},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":11282},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11281":{"this":{"__isSmartRef__":true,"id":11230}},"11282":{"timestamp":{"__isSmartRef__":true,"id":11283},"user":"sebastianwoinar","tags":[]},"11283":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11284":{"varMapping":{"__isSmartRef__":true,"id":11285},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":11286},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11285":{"this":{"__isSmartRef__":true,"id":11230}},"11286":{"timestamp":{"__isSmartRef__":true,"id":11287},"user":"sebastianwoinar","tags":[]},"11287":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"11288":{"varMapping":{"__isSmartRef__":true,"id":11289},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11290},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11289":{"this":{"__isSmartRef__":true,"id":11230}},"11290":{"timestamp":{"__isSmartRef__":true,"id":11291},"user":"sebastianwoinar","tags":[]},"11291":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"11292":{"varMapping":{"__isSmartRef__":true,"id":11293},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":11294},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11293":{"this":{"__isSmartRef__":true,"id":11230}},"11294":{"timestamp":{"__isSmartRef__":true,"id":11295},"user":"sebastianwoinar","tags":[]},"11295":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"11296":{"varMapping":{"__isSmartRef__":true,"id":11297},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":11298},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11297":{"this":{"__isSmartRef__":true,"id":11230}},"11298":{"timestamp":{"__isSmartRef__":true,"id":11299},"user":"sebastianwoinar","tags":[]},"11299":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"11300":{"varMapping":{"__isSmartRef__":true,"id":11301},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":11302},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11301":{"this":{"__isSmartRef__":true,"id":11230}},"11302":{"timestamp":{"__isSmartRef__":true,"id":11303},"user":"sebastianwoinar","tags":[]},"11303":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"11304":{"varMapping":{"__isSmartRef__":true,"id":11305},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":11306},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11305":{"this":{"__isSmartRef__":true,"id":11230}},"11306":{"timestamp":{"__isSmartRef__":true,"id":11307},"user":"sebastianwoinar","tags":[]},"11307":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"11308":{"varMapping":{"__isSmartRef__":true,"id":11309},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":11310},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11309":{"this":{"__isSmartRef__":true,"id":11230}},"11310":{"timestamp":{"__isSmartRef__":true,"id":11311},"user":"sebastianwoinar","tags":[]},"11311":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"11312":{"varMapping":{"__isSmartRef__":true,"id":11313},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":11314},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11313":{"this":{"__isSmartRef__":true,"id":11230}},"11314":{"timestamp":{"__isSmartRef__":true,"id":11315},"user":"sebastianwoinar","tags":[]},"11315":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"11316":{"varMapping":{"__isSmartRef__":true,"id":11317},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":11318},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11317":{"this":{"__isSmartRef__":true,"id":11230}},"11318":{"timestamp":{"__isSmartRef__":true,"id":11319},"user":"sebastianwoinar","tags":[]},"11319":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"11320":{"varMapping":{"__isSmartRef__":true,"id":11321},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":11326},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11321":{"this":{"__isSmartRef__":true,"id":11230},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11322}},"11322":{"$super":{"__isSmartRef__":true,"id":11323}},"11323":{"varMapping":{"__isSmartRef__":true,"id":11324},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11325},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11324":{"obj":{"__isSmartRef__":true,"id":11230},"name":"onMouseDown"},"11325":{},"11326":{"timestamp":{"__isSmartRef__":true,"id":11327},"user":"sebastianwoinar","tags":[]},"11327":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"11328":{"varMapping":{"__isSmartRef__":true,"id":11329},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":11330},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11329":{"this":{"__isSmartRef__":true,"id":11230}},"11330":{"timestamp":{"__isSmartRef__":true,"id":11331},"user":"sebastianwoinar","tags":[]},"11331":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"11332":{"varMapping":{"__isSmartRef__":true,"id":11333},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":11334},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11333":{"this":{"__isSmartRef__":true,"id":11230}},"11334":{"timestamp":{"__isSmartRef__":true,"id":11335},"user":"sebastianwoinar","tags":[]},"11335":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"11336":{"varMapping":{"__isSmartRef__":true,"id":11337},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11338},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11337":{"this":{"__isSmartRef__":true,"id":11230}},"11338":{"timestamp":{"__isSmartRef__":true,"id":11339},"user":"sebastianwoinar","tags":[]},"11339":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"11340":{"varMapping":{"__isSmartRef__":true,"id":11341},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":11342},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11341":{"this":{"__isSmartRef__":true,"id":11230}},"11342":{"timestamp":{"__isSmartRef__":true,"id":11343},"user":"sebastianwoinar","tags":[]},"11343":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"11344":{"varMapping":{"__isSmartRef__":true,"id":11345},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":11346},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11345":{"this":{"__isSmartRef__":true,"id":11230}},"11346":{"timestamp":{"__isSmartRef__":true,"id":11347},"user":"sebastianwoinar","tags":[]},"11347":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"11348":{"varMapping":{"__isSmartRef__":true,"id":11349},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11350},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11349":{"this":{"__isSmartRef__":true,"id":11230}},"11350":{"timestamp":{"__isSmartRef__":true,"id":11351},"user":"sebastianwoinar","tags":[]},"11351":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"11352":{"varMapping":{"__isSmartRef__":true,"id":11353},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":11354},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11353":{"this":{"__isSmartRef__":true,"id":11230}},"11354":{"timestamp":{"__isSmartRef__":true,"id":11355},"user":"sebastianwoinar","tags":[]},"11355":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"11356":{"varMapping":{"__isSmartRef__":true,"id":11357},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11358},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11357":{"this":{"__isSmartRef__":true,"id":11230}},"11358":{"timestamp":{"__isSmartRef__":true,"id":11359},"user":"sebastianwoinar","tags":[]},"11359":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"11360":{"isActive":true,"alpha":-11,"beta":10000000000000,"i":4,"m":-11,"origAlpha":-11,"d":0},"11361":{"buildChildNodes":{"__isSmartRef__":true,"id":11362},"getGameTree":{"__isSmartRef__":true,"id":11366},"getLevel":{"__isSmartRef__":true,"id":11370},"getLevelWeight":{"__isSmartRef__":true,"id":11374},"getWeight":{"__isSmartRef__":true,"id":11378},"setNode":{"__isSmartRef__":true,"id":11382},"setParent":{"__isSmartRef__":true,"id":11386},"getParent":{"__isSmartRef__":true,"id":11390},"deactivate":{"__isSmartRef__":true,"id":11394},"blink":{"__isSmartRef__":true,"id":11398},"ABPreturn":{"__isSmartRef__":true,"id":11402},"ABPstart":{"__isSmartRef__":true,"id":11406},"ABPcontinue":{"__isSmartRef__":true,"id":11410},"ABPshowValue":{"__isSmartRef__":true,"id":11414},"ABPgetValue":{"__isSmartRef__":true,"id":11418},"ABPhasChildNodes":{"__isSmartRef__":true,"id":11422},"onMouseDown":{"__isSmartRef__":true,"id":11426},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":11434},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":11438},"ABPmarkAsDone":{"__isSmartRef__":true,"id":11442},"ABPmarkAsActive":{"__isSmartRef__":true,"id":11446},"getStateMorph":{"__isSmartRef__":true,"id":11450},"showState":{"__isSmartRef__":true,"id":11454},"ABPfailHard":{"__isSmartRef__":true,"id":11458},"markFinalDrawWith":{"__isSmartRef__":true,"id":11462}},"11362":{"varMapping":{"__isSmartRef__":true,"id":11363},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":11364},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11363":{"this":{"__isSmartRef__":true,"id":10816}},"11364":{"timestamp":{"__isSmartRef__":true,"id":11365},"user":"sebastianwoinar","tags":[]},"11365":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"11366":{"varMapping":{"__isSmartRef__":true,"id":11367},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":11368},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11367":{"this":{"__isSmartRef__":true,"id":10816}},"11368":{"timestamp":{"__isSmartRef__":true,"id":11369},"user":"sebastianwoinar","tags":[]},"11369":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11370":{"varMapping":{"__isSmartRef__":true,"id":11371},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":11372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11371":{"this":{"__isSmartRef__":true,"id":10816}},"11372":{"timestamp":{"__isSmartRef__":true,"id":11373},"user":"sebastianwoinar","tags":[]},"11373":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11374":{"varMapping":{"__isSmartRef__":true,"id":11375},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11375":{"this":{"__isSmartRef__":true,"id":10816}},"11376":{"timestamp":{"__isSmartRef__":true,"id":11377},"user":"sebastianwoinar","tags":[]},"11377":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11378":{"varMapping":{"__isSmartRef__":true,"id":11379},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":11380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11379":{"this":{"__isSmartRef__":true,"id":10816}},"11380":{"timestamp":{"__isSmartRef__":true,"id":11381},"user":"sebastianwoinar","tags":[]},"11381":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11382":{"varMapping":{"__isSmartRef__":true,"id":11383},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":11384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11383":{"this":{"__isSmartRef__":true,"id":10816}},"11384":{"timestamp":{"__isSmartRef__":true,"id":11385},"user":"sebastianwoinar","tags":[]},"11385":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11386":{"varMapping":{"__isSmartRef__":true,"id":11387},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":11388},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11387":{"this":{"__isSmartRef__":true,"id":10816}},"11388":{"timestamp":{"__isSmartRef__":true,"id":11389},"user":"sebastianwoinar","tags":[]},"11389":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11390":{"varMapping":{"__isSmartRef__":true,"id":11391},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":11392},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11391":{"this":{"__isSmartRef__":true,"id":10816}},"11392":{"timestamp":{"__isSmartRef__":true,"id":11393},"user":"sebastianwoinar","tags":[]},"11393":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"11394":{"varMapping":{"__isSmartRef__":true,"id":11395},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11395":{"this":{"__isSmartRef__":true,"id":10816}},"11396":{"timestamp":{"__isSmartRef__":true,"id":11397},"user":"sebastianwoinar","tags":[]},"11397":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"11398":{"varMapping":{"__isSmartRef__":true,"id":11399},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":11400},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11399":{"this":{"__isSmartRef__":true,"id":10816}},"11400":{"timestamp":{"__isSmartRef__":true,"id":11401},"user":"sebastianwoinar","tags":[]},"11401":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"11402":{"varMapping":{"__isSmartRef__":true,"id":11403},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":11404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11403":{"this":{"__isSmartRef__":true,"id":10816}},"11404":{"timestamp":{"__isSmartRef__":true,"id":11405},"user":"sebastianwoinar","tags":[]},"11405":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"11406":{"varMapping":{"__isSmartRef__":true,"id":11407},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":11408},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11407":{"this":{"__isSmartRef__":true,"id":10816}},"11408":{"timestamp":{"__isSmartRef__":true,"id":11409},"user":"sebastianwoinar","tags":[]},"11409":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"11410":{"varMapping":{"__isSmartRef__":true,"id":11411},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":11412},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11411":{"this":{"__isSmartRef__":true,"id":10816}},"11412":{"timestamp":{"__isSmartRef__":true,"id":11413},"user":"sebastianwoinar","tags":[]},"11413":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"11414":{"varMapping":{"__isSmartRef__":true,"id":11415},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":11416},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11415":{"this":{"__isSmartRef__":true,"id":10816}},"11416":{"timestamp":{"__isSmartRef__":true,"id":11417},"user":"sebastianwoinar","tags":[]},"11417":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"11418":{"varMapping":{"__isSmartRef__":true,"id":11419},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":11420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11419":{"this":{"__isSmartRef__":true,"id":10816}},"11420":{"timestamp":{"__isSmartRef__":true,"id":11421},"user":"sebastianwoinar","tags":[]},"11421":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"11422":{"varMapping":{"__isSmartRef__":true,"id":11423},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":11424},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11423":{"this":{"__isSmartRef__":true,"id":10816}},"11424":{"timestamp":{"__isSmartRef__":true,"id":11425},"user":"sebastianwoinar","tags":[]},"11425":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"11426":{"varMapping":{"__isSmartRef__":true,"id":11427},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":11432},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11427":{"this":{"__isSmartRef__":true,"id":10816},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11428}},"11428":{"$super":{"__isSmartRef__":true,"id":11429}},"11429":{"varMapping":{"__isSmartRef__":true,"id":11430},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11431},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11430":{"obj":{"__isSmartRef__":true,"id":10816},"name":"onMouseDown"},"11431":{},"11432":{"timestamp":{"__isSmartRef__":true,"id":11433},"user":"sebastianwoinar","tags":[]},"11433":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"11434":{"varMapping":{"__isSmartRef__":true,"id":11435},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":11436},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11435":{"this":{"__isSmartRef__":true,"id":10816}},"11436":{"timestamp":{"__isSmartRef__":true,"id":11437},"user":"sebastianwoinar","tags":[]},"11437":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"11438":{"varMapping":{"__isSmartRef__":true,"id":11439},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":11440},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11439":{"this":{"__isSmartRef__":true,"id":10816}},"11440":{"timestamp":{"__isSmartRef__":true,"id":11441},"user":"sebastianwoinar","tags":[]},"11441":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"11442":{"varMapping":{"__isSmartRef__":true,"id":11443},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11444},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11443":{"this":{"__isSmartRef__":true,"id":10816}},"11444":{"timestamp":{"__isSmartRef__":true,"id":11445},"user":"sebastianwoinar","tags":[]},"11445":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"11446":{"varMapping":{"__isSmartRef__":true,"id":11447},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":11448},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11447":{"this":{"__isSmartRef__":true,"id":10816}},"11448":{"timestamp":{"__isSmartRef__":true,"id":11449},"user":"sebastianwoinar","tags":[]},"11449":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"11450":{"varMapping":{"__isSmartRef__":true,"id":11451},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":11452},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11451":{"this":{"__isSmartRef__":true,"id":10816}},"11452":{"timestamp":{"__isSmartRef__":true,"id":11453},"user":"sebastianwoinar","tags":[]},"11453":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"11454":{"varMapping":{"__isSmartRef__":true,"id":11455},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11456},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11455":{"this":{"__isSmartRef__":true,"id":10816}},"11456":{"timestamp":{"__isSmartRef__":true,"id":11457},"user":"sebastianwoinar","tags":[]},"11457":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"11458":{"varMapping":{"__isSmartRef__":true,"id":11459},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":11460},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11459":{"this":{"__isSmartRef__":true,"id":10816}},"11460":{"timestamp":{"__isSmartRef__":true,"id":11461},"user":"sebastianwoinar","tags":[]},"11461":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"11462":{"varMapping":{"__isSmartRef__":true,"id":11463},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11464},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11463":{"this":{"__isSmartRef__":true,"id":10816}},"11464":{"timestamp":{"__isSmartRef__":true,"id":11465},"user":"sebastianwoinar","tags":[]},"11465":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"11466":{"isActive":true,"alpha":11,"beta":11,"i":1,"m":11,"origAlpha":-10000000000000,"d":0},"11467":{"buildChildNodes":{"__isSmartRef__":true,"id":11468},"getGameTree":{"__isSmartRef__":true,"id":11472},"getLevel":{"__isSmartRef__":true,"id":11476},"getLevelWeight":{"__isSmartRef__":true,"id":11480},"getWeight":{"__isSmartRef__":true,"id":11484},"setNode":{"__isSmartRef__":true,"id":11488},"setParent":{"__isSmartRef__":true,"id":11492},"getParent":{"__isSmartRef__":true,"id":11496},"deactivate":{"__isSmartRef__":true,"id":11500},"blink":{"__isSmartRef__":true,"id":11504},"ABPreturn":{"__isSmartRef__":true,"id":11508},"ABPstart":{"__isSmartRef__":true,"id":11512},"ABPcontinue":{"__isSmartRef__":true,"id":11516},"ABPshowValue":{"__isSmartRef__":true,"id":11520},"ABPgetValue":{"__isSmartRef__":true,"id":11524},"ABPhasChildNodes":{"__isSmartRef__":true,"id":11528},"onMouseDown":{"__isSmartRef__":true,"id":11532},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":11540},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":11544},"ABPmarkAsDone":{"__isSmartRef__":true,"id":11548},"ABPmarkAsActive":{"__isSmartRef__":true,"id":11552},"getStateMorph":{"__isSmartRef__":true,"id":11556},"showState":{"__isSmartRef__":true,"id":11560},"ABPfailHard":{"__isSmartRef__":true,"id":11564},"markFinalDrawWith":{"__isSmartRef__":true,"id":11568}},"11468":{"varMapping":{"__isSmartRef__":true,"id":11469},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":11470},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11469":{"this":{"__isSmartRef__":true,"id":10792}},"11470":{"timestamp":{"__isSmartRef__":true,"id":11471},"user":"sebastianwoinar","tags":[]},"11471":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"11472":{"varMapping":{"__isSmartRef__":true,"id":11473},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":11474},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11473":{"this":{"__isSmartRef__":true,"id":10792}},"11474":{"timestamp":{"__isSmartRef__":true,"id":11475},"user":"sebastianwoinar","tags":[]},"11475":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11476":{"varMapping":{"__isSmartRef__":true,"id":11477},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":11478},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11477":{"this":{"__isSmartRef__":true,"id":10792}},"11478":{"timestamp":{"__isSmartRef__":true,"id":11479},"user":"sebastianwoinar","tags":[]},"11479":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11480":{"varMapping":{"__isSmartRef__":true,"id":11481},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11482},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11481":{"this":{"__isSmartRef__":true,"id":10792}},"11482":{"timestamp":{"__isSmartRef__":true,"id":11483},"user":"sebastianwoinar","tags":[]},"11483":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11484":{"varMapping":{"__isSmartRef__":true,"id":11485},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":11486},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11485":{"this":{"__isSmartRef__":true,"id":10792}},"11486":{"timestamp":{"__isSmartRef__":true,"id":11487},"user":"sebastianwoinar","tags":[]},"11487":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11488":{"varMapping":{"__isSmartRef__":true,"id":11489},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":11490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11489":{"this":{"__isSmartRef__":true,"id":10792}},"11490":{"timestamp":{"__isSmartRef__":true,"id":11491},"user":"sebastianwoinar","tags":[]},"11491":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11492":{"varMapping":{"__isSmartRef__":true,"id":11493},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":11494},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11493":{"this":{"__isSmartRef__":true,"id":10792}},"11494":{"timestamp":{"__isSmartRef__":true,"id":11495},"user":"sebastianwoinar","tags":[]},"11495":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11496":{"varMapping":{"__isSmartRef__":true,"id":11497},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":11498},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11497":{"this":{"__isSmartRef__":true,"id":10792}},"11498":{"timestamp":{"__isSmartRef__":true,"id":11499},"user":"sebastianwoinar","tags":[]},"11499":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"11500":{"varMapping":{"__isSmartRef__":true,"id":11501},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11502},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11501":{"this":{"__isSmartRef__":true,"id":10792}},"11502":{"timestamp":{"__isSmartRef__":true,"id":11503},"user":"sebastianwoinar","tags":[]},"11503":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"11504":{"varMapping":{"__isSmartRef__":true,"id":11505},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":11506},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11505":{"this":{"__isSmartRef__":true,"id":10792}},"11506":{"timestamp":{"__isSmartRef__":true,"id":11507},"user":"sebastianwoinar","tags":[]},"11507":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"11508":{"varMapping":{"__isSmartRef__":true,"id":11509},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":11510},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11509":{"this":{"__isSmartRef__":true,"id":10792}},"11510":{"timestamp":{"__isSmartRef__":true,"id":11511},"user":"sebastianwoinar","tags":[]},"11511":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"11512":{"varMapping":{"__isSmartRef__":true,"id":11513},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":11514},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11513":{"this":{"__isSmartRef__":true,"id":10792}},"11514":{"timestamp":{"__isSmartRef__":true,"id":11515},"user":"sebastianwoinar","tags":[]},"11515":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"11516":{"varMapping":{"__isSmartRef__":true,"id":11517},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":11518},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11517":{"this":{"__isSmartRef__":true,"id":10792}},"11518":{"timestamp":{"__isSmartRef__":true,"id":11519},"user":"sebastianwoinar","tags":[]},"11519":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"11520":{"varMapping":{"__isSmartRef__":true,"id":11521},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":11522},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11521":{"this":{"__isSmartRef__":true,"id":10792}},"11522":{"timestamp":{"__isSmartRef__":true,"id":11523},"user":"sebastianwoinar","tags":[]},"11523":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"11524":{"varMapping":{"__isSmartRef__":true,"id":11525},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":11526},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11525":{"this":{"__isSmartRef__":true,"id":10792}},"11526":{"timestamp":{"__isSmartRef__":true,"id":11527},"user":"sebastianwoinar","tags":[]},"11527":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"11528":{"varMapping":{"__isSmartRef__":true,"id":11529},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":11530},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11529":{"this":{"__isSmartRef__":true,"id":10792}},"11530":{"timestamp":{"__isSmartRef__":true,"id":11531},"user":"sebastianwoinar","tags":[]},"11531":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"11532":{"varMapping":{"__isSmartRef__":true,"id":11533},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":11538},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11533":{"this":{"__isSmartRef__":true,"id":10792},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11534}},"11534":{"$super":{"__isSmartRef__":true,"id":11535}},"11535":{"varMapping":{"__isSmartRef__":true,"id":11536},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11537},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11536":{"obj":{"__isSmartRef__":true,"id":10792},"name":"onMouseDown"},"11537":{},"11538":{"timestamp":{"__isSmartRef__":true,"id":11539},"user":"sebastianwoinar","tags":[]},"11539":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"11540":{"varMapping":{"__isSmartRef__":true,"id":11541},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":11542},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11541":{"this":{"__isSmartRef__":true,"id":10792}},"11542":{"timestamp":{"__isSmartRef__":true,"id":11543},"user":"sebastianwoinar","tags":[]},"11543":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"11544":{"varMapping":{"__isSmartRef__":true,"id":11545},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":11546},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11545":{"this":{"__isSmartRef__":true,"id":10792}},"11546":{"timestamp":{"__isSmartRef__":true,"id":11547},"user":"sebastianwoinar","tags":[]},"11547":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"11548":{"varMapping":{"__isSmartRef__":true,"id":11549},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11550},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11549":{"this":{"__isSmartRef__":true,"id":10792}},"11550":{"timestamp":{"__isSmartRef__":true,"id":11551},"user":"sebastianwoinar","tags":[]},"11551":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"11552":{"varMapping":{"__isSmartRef__":true,"id":11553},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":11554},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11553":{"this":{"__isSmartRef__":true,"id":10792}},"11554":{"timestamp":{"__isSmartRef__":true,"id":11555},"user":"sebastianwoinar","tags":[]},"11555":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"11556":{"varMapping":{"__isSmartRef__":true,"id":11557},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":11558},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11557":{"this":{"__isSmartRef__":true,"id":10792}},"11558":{"timestamp":{"__isSmartRef__":true,"id":11559},"user":"sebastianwoinar","tags":[]},"11559":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"11560":{"varMapping":{"__isSmartRef__":true,"id":11561},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11562},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11561":{"this":{"__isSmartRef__":true,"id":10792}},"11562":{"timestamp":{"__isSmartRef__":true,"id":11563},"user":"sebastianwoinar","tags":[]},"11563":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"11564":{"varMapping":{"__isSmartRef__":true,"id":11565},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":11566},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11565":{"this":{"__isSmartRef__":true,"id":10792}},"11566":{"timestamp":{"__isSmartRef__":true,"id":11567},"user":"sebastianwoinar","tags":[]},"11567":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"11568":{"varMapping":{"__isSmartRef__":true,"id":11569},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11570},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11569":{"this":{"__isSmartRef__":true,"id":10792}},"11570":{"timestamp":{"__isSmartRef__":true,"id":11571},"user":"sebastianwoinar","tags":[]},"11571":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"11572":{"isActive":true,"alpha":-11,"beta":10000000000000,"i":5,"m":-11,"origAlpha":-10000000000000,"d":0},"11573":{"buildChildNodes":{"__isSmartRef__":true,"id":11574},"getGameTree":{"__isSmartRef__":true,"id":11578},"getLevel":{"__isSmartRef__":true,"id":11582},"getLevelWeight":{"__isSmartRef__":true,"id":11586},"getWeight":{"__isSmartRef__":true,"id":11590},"setNode":{"__isSmartRef__":true,"id":11594},"setParent":{"__isSmartRef__":true,"id":11598},"getParent":{"__isSmartRef__":true,"id":11602},"deactivate":{"__isSmartRef__":true,"id":11606},"blink":{"__isSmartRef__":true,"id":11610},"ABPreturn":{"__isSmartRef__":true,"id":11614},"ABPstart":{"__isSmartRef__":true,"id":11618},"ABPcontinue":{"__isSmartRef__":true,"id":11622},"ABPshowValue":{"__isSmartRef__":true,"id":11626},"ABPgetValue":{"__isSmartRef__":true,"id":11630},"ABPhasChildNodes":{"__isSmartRef__":true,"id":11634},"onMouseDown":{"__isSmartRef__":true,"id":11638},"ABPmarkChildNodesAsSkippedAfter":{"__isSmartRef__":true,"id":11646},"ABPmarkAsSkipped":{"__isSmartRef__":true,"id":11650},"ABPmarkAsDone":{"__isSmartRef__":true,"id":11654},"ABPmarkAsActive":{"__isSmartRef__":true,"id":11658},"getStateMorph":{"__isSmartRef__":true,"id":11662},"showState":{"__isSmartRef__":true,"id":11666},"ABPfailHard":{"__isSmartRef__":true,"id":11670},"markFinalDrawWith":{"__isSmartRef__":true,"id":11674}},"11574":{"varMapping":{"__isSmartRef__":true,"id":11575},"source":"function buildChildNodes() {\n if(this.getLevel() >= this.getGameTree().getMovesCount()){\n return;\n }\n var that = this;\n this.childNodes = new Array();\n this.node.buildChildNodes();\n this.node.getChilds().forEach(function(node){\n var child = that.getGameTree().getNewNode();\n child.setNode(node);\n that.getGameTree().addNode(child);\n that.getGameTree().addMorph(child);\n child.buildChildNodes();\n child.setParent(that);\n that.childNodes.push(child);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":11576},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11575":{"this":{"__isSmartRef__":true,"id":6534}},"11576":{"timestamp":{"__isSmartRef__":true,"id":11577},"user":"sebastianwoinar","tags":[]},"11577":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:40:39 GMT+0100 (CET)"},"11578":{"varMapping":{"__isSmartRef__":true,"id":11579},"source":"function getGameTree() {\n return this.owner;\n}","funcProperties":{"__isSmartRef__":true,"id":11580},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11579":{"this":{"__isSmartRef__":true,"id":6534}},"11580":{"timestamp":{"__isSmartRef__":true,"id":11581},"user":"sebastianwoinar","tags":[]},"11581":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11582":{"varMapping":{"__isSmartRef__":true,"id":11583},"source":"function getLevel() {\n return this.node.level;\n}","funcProperties":{"__isSmartRef__":true,"id":11584},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11583":{"this":{"__isSmartRef__":true,"id":6534}},"11584":{"timestamp":{"__isSmartRef__":true,"id":11585},"user":"sebastianwoinar","tags":[]},"11585":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11586":{"varMapping":{"__isSmartRef__":true,"id":11587},"source":"function getLevelWeight(level) {\n if (level == 0) {\n return 1;\n } else if (this.level == level - 1) {\n return this.childNodes.length;\n } else {\n var weight = 0;\n this.childNodes.forEach(function(ele) {\n weight = weight + ele.getLevelWeight(level);\n });\n return weight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11587":{"this":{"__isSmartRef__":true,"id":6534}},"11588":{"timestamp":{"__isSmartRef__":true,"id":11589},"user":"sebastianwoinar","tags":[]},"11589":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11590":{"varMapping":{"__isSmartRef__":true,"id":11591},"source":"function getWeight() {\n return this.childNodes.length;\n}","funcProperties":{"__isSmartRef__":true,"id":11592},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11591":{"this":{"__isSmartRef__":true,"id":6534}},"11592":{"timestamp":{"__isSmartRef__":true,"id":11593},"user":"sebastianwoinar","tags":[]},"11593":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11594":{"varMapping":{"__isSmartRef__":true,"id":11595},"source":"function setNode(node) {\n this.node = node;\n}","funcProperties":{"__isSmartRef__":true,"id":11596},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11595":{"this":{"__isSmartRef__":true,"id":6534}},"11596":{"timestamp":{"__isSmartRef__":true,"id":11597},"user":"sebastianwoinar","tags":[]},"11597":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11598":{"varMapping":{"__isSmartRef__":true,"id":11599},"source":"function setParent(parent) {\n this.parent = parent;\n this.level = parent.getLevel() + 1;\n}","funcProperties":{"__isSmartRef__":true,"id":11600},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11599":{"this":{"__isSmartRef__":true,"id":6534}},"11600":{"timestamp":{"__isSmartRef__":true,"id":11601},"user":"sebastianwoinar","tags":[]},"11601":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:58:16 GMT+0100 (CET)"},"11602":{"varMapping":{"__isSmartRef__":true,"id":11603},"source":"function getParent() {\n return this.parent;\n}","funcProperties":{"__isSmartRef__":true,"id":11604},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11603":{"this":{"__isSmartRef__":true,"id":6534}},"11604":{"timestamp":{"__isSmartRef__":true,"id":11605},"user":"sebastianwoinar","tags":[]},"11605":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:39 GMT+0100 (CET)"},"11606":{"varMapping":{"__isSmartRef__":true,"id":11607},"source":"function deactivate() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11608},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11607":{"this":{"__isSmartRef__":true,"id":6534}},"11608":{"timestamp":{"__isSmartRef__":true,"id":11609},"user":"sebastianwoinar","tags":[]},"11609":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:48:19 GMT+0100 (CET)"},"11610":{"varMapping":{"__isSmartRef__":true,"id":11611},"source":"function blink() {\n this.jQuery().fadeOut().fadeIn();\n}","funcProperties":{"__isSmartRef__":true,"id":11612},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11611":{"this":{"__isSmartRef__":true,"id":6534}},"11612":{"timestamp":{"__isSmartRef__":true,"id":11613},"user":"sebastianwoinar","tags":[]},"11613":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:49:46 GMT+0100 (CET)"},"11614":{"varMapping":{"__isSmartRef__":true,"id":11615},"source":"function ABPreturn() {\n this.blink();\n this.ABPshowValue();\n if(this.abp.origAlpha == this.abp.alpha){\n // \"alpha return\" therefore the I have better draws than this\n this.submorphs[0].setTextColor(Color.blue);\n } \n setTimeout(function(){\n this.ABPmarkAsDone();\n this.getGameTree().ABPreturn(this.abp.parentCallback);\n }.bind(this), 300); \n}","funcProperties":{"__isSmartRef__":true,"id":11616},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11615":{"this":{"__isSmartRef__":true,"id":6534}},"11616":{"timestamp":{"__isSmartRef__":true,"id":11617},"user":"sebastianwoinar","tags":[]},"11617":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:01:02 GMT+0100 (CET)"},"11618":{"varMapping":{"__isSmartRef__":true,"id":11619},"source":"function ABPstart(useABP, alpha, beta, callbackFn) {\n // initiliaze instance variabels for \n this.ABPmarkAsActive();\n this.abp = {\n \"isActive\" : useABP,\n \"alpha\" : alpha,\n \"beta\" : beta,\n \"i\" : 0,\n \"m\" : alpha,\n \"origAlpha\" : alpha,\n \"d\" : 0,\n \"parentCallback\" : callbackFn\n };\n this.ABPcontinue();\n}","funcProperties":{"__isSmartRef__":true,"id":11620},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11619":{"this":{"__isSmartRef__":true,"id":6534}},"11620":{"timestamp":{"__isSmartRef__":true,"id":11621},"user":"sebastianwoinar","tags":[]},"11621":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:06:35 GMT+0100 (CET)"},"11622":{"varMapping":{"__isSmartRef__":true,"id":11623},"source":"function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}","funcProperties":{"__isSmartRef__":true,"id":11624},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11623":{"this":{"__isSmartRef__":true,"id":6534}},"11624":{"timestamp":{"__isSmartRef__":true,"id":11625},"user":"sebastianwoinar","tags":[]},"11625":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:42 GMT+0100 (CET)"},"11626":{"varMapping":{"__isSmartRef__":true,"id":11627},"source":"function ABPshowValue() {\n this.submorphs[0].setTextString(this.abp.m);\n this.showState();\n}","funcProperties":{"__isSmartRef__":true,"id":11628},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11627":{"this":{"__isSmartRef__":true,"id":6534}},"11628":{"timestamp":{"__isSmartRef__":true,"id":11629},"user":"sebastianwoinar","tags":[]},"11629":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:51:07 GMT+0100 (CET)"},"11630":{"varMapping":{"__isSmartRef__":true,"id":11631},"source":"function ABPgetValue() {\n return this.abp.m;\n}","funcProperties":{"__isSmartRef__":true,"id":11632},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11631":{"this":{"__isSmartRef__":true,"id":6534}},"11632":{"timestamp":{"__isSmartRef__":true,"id":11633},"user":"sebastianwoinar","tags":[]},"11633":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:02:26 GMT+0100 (CET)"},"11634":{"varMapping":{"__isSmartRef__":true,"id":11635},"source":"function ABPhasChildNodes() {\n return typeof this.childNodes != \"undefined\" && this.childNodes.length > 0;\n}","funcProperties":{"__isSmartRef__":true,"id":11636},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11635":{"this":{"__isSmartRef__":true,"id":6534}},"11636":{"timestamp":{"__isSmartRef__":true,"id":11637},"user":"sebastianwoinar","tags":[]},"11637":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:07:07 GMT+0100 (CET)"},"11638":{"varMapping":{"__isSmartRef__":true,"id":11639},"source":"function onMouseDown(evt) {\n this.showState();\n this.getGameTree().showStateOf(this);\n \n $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":11644},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11639":{"this":{"__isSmartRef__":true,"id":6534},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":11640}},"11640":{"$super":{"__isSmartRef__":true,"id":11641}},"11641":{"varMapping":{"__isSmartRef__":true,"id":11642},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":11643},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11642":{"obj":{"__isSmartRef__":true,"id":6534},"name":"onMouseDown"},"11643":{},"11644":{"timestamp":{"__isSmartRef__":true,"id":11645},"user":"sebastianwoinar","tags":[]},"11645":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:39:29 GMT+0100 (CET)"},"11646":{"varMapping":{"__isSmartRef__":true,"id":11647},"source":"function ABPmarkChildNodesAsSkippedAfter(index) {\n if(typeof this.childNodes != \"undefined\"){\n for(var i = index ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.ABPmarkAsSkipped();\n child.ABPmarkChildNodesAsSkippedAfter(0);\n }\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":11648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11647":{"this":{"__isSmartRef__":true,"id":6534}},"11648":{"timestamp":{"__isSmartRef__":true,"id":11649},"user":"sebastianwoinar","tags":[]},"11649":{"isSerializedDate":true,"string":"Mon Dec 10 2012 16:36:35 GMT+0100 (CET)"},"11650":{"varMapping":{"__isSmartRef__":true,"id":11651},"source":"function ABPmarkAsSkipped() {\n this.setBorderColor(Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":11652},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11651":{"this":{"__isSmartRef__":true,"id":6534}},"11652":{"timestamp":{"__isSmartRef__":true,"id":11653},"user":"sebastianwoinar","tags":[]},"11653":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:27 GMT+0100 (CET)"},"11654":{"varMapping":{"__isSmartRef__":true,"id":11655},"source":"function ABPmarkAsDone() {\n this.setBorderColor(Color.black);\n}","funcProperties":{"__isSmartRef__":true,"id":11656},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11655":{"this":{"__isSmartRef__":true,"id":6534}},"11656":{"timestamp":{"__isSmartRef__":true,"id":11657},"user":"sebastianwoinar","tags":[]},"11657":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:08:22 GMT+0100 (CET)"},"11658":{"varMapping":{"__isSmartRef__":true,"id":11659},"source":"function ABPmarkAsActive() {\n this.setBorderColor(Color.red);\n}","funcProperties":{"__isSmartRef__":true,"id":11660},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11659":{"this":{"__isSmartRef__":true,"id":6534}},"11660":{"timestamp":{"__isSmartRef__":true,"id":11661},"user":"sebastianwoinar","tags":[]},"11661":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:06:59 GMT+0100 (CET)"},"11662":{"varMapping":{"__isSmartRef__":true,"id":11663},"source":"function getStateMorph() {\n return $morph(\"ABPstateMorph\");\n}","funcProperties":{"__isSmartRef__":true,"id":11664},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11663":{"this":{"__isSmartRef__":true,"id":6534}},"11664":{"timestamp":{"__isSmartRef__":true,"id":11665},"user":"sebastianwoinar","tags":[]},"11665":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:34:19 GMT+0100 (CET)"},"11666":{"varMapping":{"__isSmartRef__":true,"id":11667},"source":"function showState() {\n if(typeof this.abp != \"undefined\") {\n var m = this.getStateMorph();\n m.setAlpha(this.abp.alpha);\n m.setBeta(this.abp.beta);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11668},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11667":{"this":{"__isSmartRef__":true,"id":6534}},"11668":{"timestamp":{"__isSmartRef__":true,"id":11669},"user":"sebastianwoinar","tags":[]},"11669":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:23:13 GMT+0100 (CET)"},"11670":{"varMapping":{"__isSmartRef__":true,"id":11671},"source":"function ABPfailHard() {\n this.ABPreturn();\n this.ABPmarkChildNodesAsSkippedAfter(this.abp.i);\n this.submorphs[0].setTextString(this.abp.beta);\n this.submorphs[0].setTextColor(Color.red);\n // beta cut off\n}","funcProperties":{"__isSmartRef__":true,"id":11672},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11671":{"this":{"__isSmartRef__":true,"id":6534}},"11672":{"timestamp":{"__isSmartRef__":true,"id":11673},"user":"sebastianwoinar","tags":[]},"11673":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:00:03 GMT+0100 (CET)"},"11674":{"varMapping":{"__isSmartRef__":true,"id":11675},"source":"function markFinalDrawWith(points) {\n if(this.ABPhasChildNodes()) {\n for(var i = 0 ; i < this.childNodes.length; i++) {\n var child = this.childNodes[i];\n child.markFinalDrawWith(-points);\n }\n } else{\n if(this.abp.m == points) {\n this.setBorderColor(Color.green);\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":11676},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"11675":{"this":{"__isSmartRef__":true,"id":6534}},"11676":{"timestamp":{"__isSmartRef__":true,"id":11677},"user":"sebastianwoinar","tags":[]},"11677":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:51 GMT+0100 (CET)"},"11678":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11679},"id":"75D583CE-702B-47FB-89A7-3BE68847BC6D","eventHandler":{"__isSmartRef__":true,"id":11682},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11683},{"__isSmartRef__":true,"id":11684}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11685},"name":"edge1","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(556.9,24.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11679":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11680},{"__isSmartRef__":true,"id":11681}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-376.6,12.0)","_Extent":"lively.pt(377.6,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11680":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11681":{"isAbsolute":true,"x":-374.5666666666667,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11682":{"morph":{"__isSmartRef__":true,"id":11678},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11683":{"morph":{"__isSmartRef__":true,"id":11678},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11684":{"morph":{"__isSmartRef__":true,"id":11678},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11685":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11686":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11687},"id":"E23DAD76-FA24-4F32-8519-C52112138633","eventHandler":{"__isSmartRef__":true,"id":11690},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11691},{"__isSmartRef__":true,"id":11692}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11693},"name":"edge2","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(556.9,24.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11687":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11688},{"__isSmartRef__":true,"id":11689}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-189.3,12.0)","_Extent":"lively.pt(190.3,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11688":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11689":{"isAbsolute":true,"x":-187.28333333333336,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11690":{"morph":{"__isSmartRef__":true,"id":11686},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11691":{"morph":{"__isSmartRef__":true,"id":11686},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11692":{"morph":{"__isSmartRef__":true,"id":11686},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11693":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11694":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11695},"id":"16DC507A-ADFF-49CF-8B0C-C902A8F7EC3D","eventHandler":{"__isSmartRef__":true,"id":11698},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11699},{"__isSmartRef__":true,"id":11700}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11701},"name":"edge3","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(556.9,24.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11695":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11696},{"__isSmartRef__":true,"id":11697}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(3.0,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11696":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11697":{"isAbsolute":true,"x":0,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11698":{"morph":{"__isSmartRef__":true,"id":11694},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11699":{"morph":{"__isSmartRef__":true,"id":11694},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11700":{"morph":{"__isSmartRef__":true,"id":11694},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11701":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11702":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11703},"id":"5168324B-77BE-4701-845E-7EE73E1751D7","eventHandler":{"__isSmartRef__":true,"id":11706},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11707},{"__isSmartRef__":true,"id":11708}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11709},"name":"edge4","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(556.9,24.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11703":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11704},{"__isSmartRef__":true,"id":11705}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(190.3,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11704":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11705":{"isAbsolute":true,"x":187.2833333333333,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11706":{"morph":{"__isSmartRef__":true,"id":11702},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11707":{"morph":{"__isSmartRef__":true,"id":11702},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11708":{"morph":{"__isSmartRef__":true,"id":11702},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11709":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11710":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11711},"id":"2C9D3617-5A20-408A-9041-1B99D6D09C9B","eventHandler":{"__isSmartRef__":true,"id":11714},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11715},{"__isSmartRef__":true,"id":11716}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11717},"name":"edge5","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(556.9,24.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11711":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11712},{"__isSmartRef__":true,"id":11713}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(377.6,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11712":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11713":{"isAbsolute":true,"x":374.5666666666666,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11714":{"morph":{"__isSmartRef__":true,"id":11710},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11715":{"morph":{"__isSmartRef__":true,"id":11710},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11716":{"morph":{"__isSmartRef__":true,"id":11710},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11717":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11718":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11719},"id":"83C3C24A-CEA6-49D1-A706-EA52FB614056","eventHandler":{"__isSmartRef__":true,"id":11722},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11723},{"__isSmartRef__":true,"id":11724}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11725},"name":"edge6","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(182.3,74.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11719":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11720},{"__isSmartRef__":true,"id":11721}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-48.8,12.0)","_Extent":"lively.pt(49.8,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11720":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11721":{"isAbsolute":true,"x":-46.820833333333326,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11722":{"morph":{"__isSmartRef__":true,"id":11718},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11723":{"morph":{"__isSmartRef__":true,"id":11718},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11724":{"morph":{"__isSmartRef__":true,"id":11718},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11725":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11726":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11727},"id":"8A0F27BA-BE56-4326-806A-F29A996C3110","eventHandler":{"__isSmartRef__":true,"id":11730},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11731},{"__isSmartRef__":true,"id":11732}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11733},"name":"edge7","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(182.3,74.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11727":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11728},{"__isSmartRef__":true,"id":11729}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(96.6,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11728":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11729":{"isAbsolute":true,"x":93.64166666666668,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11730":{"morph":{"__isSmartRef__":true,"id":11726},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11731":{"morph":{"__isSmartRef__":true,"id":11726},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11732":{"morph":{"__isSmartRef__":true,"id":11726},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11733":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11734":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11735},"id":"F51D3C21-B5C0-4D0B-8D59-C915EC2F510A","eventHandler":{"__isSmartRef__":true,"id":11738},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11739},{"__isSmartRef__":true,"id":11740}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11741},"name":"edge8","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(369.6,74.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11735":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11736},{"__isSmartRef__":true,"id":11737}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(49.8,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11736":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11737":{"isAbsolute":true,"x":46.82083333333338,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11738":{"morph":{"__isSmartRef__":true,"id":11734},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11739":{"morph":{"__isSmartRef__":true,"id":11734},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11740":{"morph":{"__isSmartRef__":true,"id":11734},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11741":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11742":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11743},"id":"75EB05DC-41C2-40F3-82F2-E4DF4544D7E1","eventHandler":{"__isSmartRef__":true,"id":11746},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11747},{"__isSmartRef__":true,"id":11748}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11749},"name":"edge9","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(556.9,74.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11743":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11744},{"__isSmartRef__":true,"id":11745}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(3.0,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11744":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11745":{"isAbsolute":true,"x":0,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11746":{"morph":{"__isSmartRef__":true,"id":11742},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11747":{"morph":{"__isSmartRef__":true,"id":11742},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11748":{"morph":{"__isSmartRef__":true,"id":11742},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11749":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11750":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11751},"id":"34937EB5-5FD5-414A-8E2C-FA1ADB3E3570","eventHandler":{"__isSmartRef__":true,"id":11754},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11755},{"__isSmartRef__":true,"id":11756}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11757},"name":"edge10","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(556.9,74.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11751":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11752},{"__isSmartRef__":true,"id":11753}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(143.5,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11752":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11753":{"isAbsolute":true,"x":140.46249999999998,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11754":{"morph":{"__isSmartRef__":true,"id":11750},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11755":{"morph":{"__isSmartRef__":true,"id":11750},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11756":{"morph":{"__isSmartRef__":true,"id":11750},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11757":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11758":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11759},"id":"5E1BBAB8-A7EC-4279-943D-C748325C6223","eventHandler":{"__isSmartRef__":true,"id":11762},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11763},{"__isSmartRef__":true,"id":11764}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11765},"name":"edge11","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(744.1,74.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11759":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11760},{"__isSmartRef__":true,"id":11761}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(96.6,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11760":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11761":{"isAbsolute":true,"x":93.64166666666677,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11762":{"morph":{"__isSmartRef__":true,"id":11758},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11763":{"morph":{"__isSmartRef__":true,"id":11758},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11764":{"morph":{"__isSmartRef__":true,"id":11758},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11765":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11766":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11767},"id":"0442C0F6-F5F8-461B-903A-B6B6E2295352","eventHandler":{"__isSmartRef__":true,"id":11770},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11771},{"__isSmartRef__":true,"id":11772}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11773},"name":"edge12","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(931.4,74.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11767":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11768},{"__isSmartRef__":true,"id":11769}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(49.8,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11768":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11769":{"isAbsolute":true,"x":46.82083333333355,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11770":{"morph":{"__isSmartRef__":true,"id":11766},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11771":{"morph":{"__isSmartRef__":true,"id":11766},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11772":{"morph":{"__isSmartRef__":true,"id":11766},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11773":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11774":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11775},"id":"18B9523D-BCC1-4031-A106-B1417EEBC35F","eventHandler":{"__isSmartRef__":true,"id":11778},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11779},{"__isSmartRef__":true,"id":11780}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11781},"name":"edge13","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(135.5,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11775":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11776},{"__isSmartRef__":true,"id":11777}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-100.8,12.0)","_Extent":"lively.pt(101.8,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11776":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11777":{"isAbsolute":true,"x":-98.84398148148148,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11778":{"morph":{"__isSmartRef__":true,"id":11774},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11779":{"morph":{"__isSmartRef__":true,"id":11774},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11780":{"morph":{"__isSmartRef__":true,"id":11774},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11781":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11782":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11783},"id":"F6F8C305-2D80-4ABE-9E18-A5AC66663C04","eventHandler":{"__isSmartRef__":true,"id":11786},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11787},{"__isSmartRef__":true,"id":11788}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11789},"name":"edge14","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(135.5,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11783":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11784},{"__isSmartRef__":true,"id":11785}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-59.2,12.0)","_Extent":"lively.pt(60.2,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11784":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11785":{"isAbsolute":true,"x":-57.22546296296295,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11786":{"morph":{"__isSmartRef__":true,"id":11782},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11787":{"morph":{"__isSmartRef__":true,"id":11782},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11788":{"morph":{"__isSmartRef__":true,"id":11782},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11789":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11790":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11791},"id":"3D6487E3-B2D6-4A4E-9357-D4E72A586C74","eventHandler":{"__isSmartRef__":true,"id":11794},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11795},{"__isSmartRef__":true,"id":11796}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11797},"name":"edge15","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(135.5,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11791":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11792},{"__isSmartRef__":true,"id":11793}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-17.6,12.0)","_Extent":"lively.pt(18.6,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11792":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11793":{"isAbsolute":true,"x":-15.606944444444451,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11794":{"morph":{"__isSmartRef__":true,"id":11790},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11795":{"morph":{"__isSmartRef__":true,"id":11790},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11796":{"morph":{"__isSmartRef__":true,"id":11790},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11797":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11798":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11799},"id":"74B1044B-C575-478D-B5D3-863926D5F008","eventHandler":{"__isSmartRef__":true,"id":11802},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11803},{"__isSmartRef__":true,"id":11804}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11805},"name":"edge16","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(135.5,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11799":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11800},{"__isSmartRef__":true,"id":11801}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(29.0,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11800":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11801":{"isAbsolute":true,"x":26.011574074074076,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11802":{"morph":{"__isSmartRef__":true,"id":11798},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11803":{"morph":{"__isSmartRef__":true,"id":11798},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11804":{"morph":{"__isSmartRef__":true,"id":11798},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11805":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11806":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11807},"id":"5106F8D6-169A-449B-BAF1-F81CFB9505D6","eventHandler":{"__isSmartRef__":true,"id":11810},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11811},{"__isSmartRef__":true,"id":11812}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11813},"name":"edge17","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(275.9,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11807":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11808},{"__isSmartRef__":true,"id":11809}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-74.8,12.0)","_Extent":"lively.pt(75.8,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11808":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11809":{"isAbsolute":true,"x":-72.8324074074074,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11810":{"morph":{"__isSmartRef__":true,"id":11806},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11811":{"morph":{"__isSmartRef__":true,"id":11806},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11812":{"morph":{"__isSmartRef__":true,"id":11806},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11813":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11814":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11815},"id":"9DB15763-C2C6-4D5E-9BCB-D4F605198E88","eventHandler":{"__isSmartRef__":true,"id":11818},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11819},{"__isSmartRef__":true,"id":11820}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11821},"name":"edge18","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(275.9,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11815":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11816},{"__isSmartRef__":true,"id":11817}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-33.2,12.0)","_Extent":"lively.pt(34.2,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11816":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11817":{"isAbsolute":true,"x":-31.213888888888903,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11818":{"morph":{"__isSmartRef__":true,"id":11814},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11819":{"morph":{"__isSmartRef__":true,"id":11814},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11820":{"morph":{"__isSmartRef__":true,"id":11814},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11821":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11822":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11823},"id":"F2D4CC20-AA91-4E31-824F-C06CC323E7F0","eventHandler":{"__isSmartRef__":true,"id":11826},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11827},{"__isSmartRef__":true,"id":11828}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11829},"name":"edge19","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(275.9,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11823":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11824},{"__isSmartRef__":true,"id":11825}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(13.4,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11824":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11825":{"isAbsolute":true,"x":10.404629629629653,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11826":{"morph":{"__isSmartRef__":true,"id":11822},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11827":{"morph":{"__isSmartRef__":true,"id":11822},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11828":{"morph":{"__isSmartRef__":true,"id":11822},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11829":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11830":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11831},"id":"19DB8D17-A3F0-4838-B74D-81CE6B5E8268","eventHandler":{"__isSmartRef__":true,"id":11834},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11835},{"__isSmartRef__":true,"id":11836}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11837},"name":"edge20","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(275.9,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11831":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11832},{"__isSmartRef__":true,"id":11833}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(55.0,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11832":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11833":{"isAbsolute":true,"x":52.02314814814815,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11834":{"morph":{"__isSmartRef__":true,"id":11830},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11835":{"morph":{"__isSmartRef__":true,"id":11830},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11836":{"morph":{"__isSmartRef__":true,"id":11830},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11837":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11838":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11839},"id":"858A0409-41FA-49B3-A81B-990B8360E8EA","eventHandler":{"__isSmartRef__":true,"id":11842},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11843},{"__isSmartRef__":true,"id":11844}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11845},"name":"edge21","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(416.4,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11839":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11840},{"__isSmartRef__":true,"id":11841}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-48.8,12.0)","_Extent":"lively.pt(49.8,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11840":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11841":{"isAbsolute":true,"x":-46.82083333333338,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11842":{"morph":{"__isSmartRef__":true,"id":11838},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11843":{"morph":{"__isSmartRef__":true,"id":11838},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11844":{"morph":{"__isSmartRef__":true,"id":11838},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11845":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11846":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11847},"id":"A2DF9FCC-B877-40AA-BCE4-6FDFC631B68F","eventHandler":{"__isSmartRef__":true,"id":11850},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11851},{"__isSmartRef__":true,"id":11852}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11853},"name":"edge22","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(416.4,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11847":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11848},{"__isSmartRef__":true,"id":11849}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-7.2,12.0)","_Extent":"lively.pt(8.2,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11848":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11849":{"isAbsolute":true,"x":-5.202314814814827,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11850":{"morph":{"__isSmartRef__":true,"id":11846},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11851":{"morph":{"__isSmartRef__":true,"id":11846},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11852":{"morph":{"__isSmartRef__":true,"id":11846},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11853":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11854":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11855},"id":"3B3F1270-89F5-4332-B10B-A74FAC14C58B","eventHandler":{"__isSmartRef__":true,"id":11858},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11859},{"__isSmartRef__":true,"id":11860}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11861},"name":"edge23","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(416.4,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11855":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11856},{"__isSmartRef__":true,"id":11857}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(39.4,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11856":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11857":{"isAbsolute":true,"x":36.41620370370367,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11858":{"morph":{"__isSmartRef__":true,"id":11854},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11859":{"morph":{"__isSmartRef__":true,"id":11854},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11860":{"morph":{"__isSmartRef__":true,"id":11854},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11861":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11862":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11863},"id":"9A7DF01C-6696-40D5-9FE4-F37D17B73995","eventHandler":{"__isSmartRef__":true,"id":11866},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11867},{"__isSmartRef__":true,"id":11868}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11869},"name":"edge24","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(416.4,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11863":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11864},{"__isSmartRef__":true,"id":11865}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(81.0,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11864":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11865":{"isAbsolute":true,"x":78.03472222222217,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11866":{"morph":{"__isSmartRef__":true,"id":11862},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11867":{"morph":{"__isSmartRef__":true,"id":11862},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11868":{"morph":{"__isSmartRef__":true,"id":11862},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11869":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11870":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11871},"id":"A2AD0197-6817-410F-9C26-1EAA619A3E62","eventHandler":{"__isSmartRef__":true,"id":11874},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11875},{"__isSmartRef__":true,"id":11876}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11877},"name":"edge25","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(556.9,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11871":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11872},{"__isSmartRef__":true,"id":11873}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-22.8,12.0)","_Extent":"lively.pt(23.8,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11872":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11873":{"isAbsolute":true,"x":-20.809259259259306,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11874":{"morph":{"__isSmartRef__":true,"id":11870},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11875":{"morph":{"__isSmartRef__":true,"id":11870},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11876":{"morph":{"__isSmartRef__":true,"id":11870},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11877":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11878":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11879},"id":"EBCA83E5-BC90-4363-B8FC-8817B31EE2EC","eventHandler":{"__isSmartRef__":true,"id":11882},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11883},{"__isSmartRef__":true,"id":11884}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11885},"name":"edge26","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(556.9,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11879":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11880},{"__isSmartRef__":true,"id":11881}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(23.8,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11880":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11881":{"isAbsolute":true,"x":20.809259259259306,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11882":{"morph":{"__isSmartRef__":true,"id":11878},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11883":{"morph":{"__isSmartRef__":true,"id":11878},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11884":{"morph":{"__isSmartRef__":true,"id":11878},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11885":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11886":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11887},"id":"3CDCB515-4173-4281-9B48-016D467DE9D0","eventHandler":{"__isSmartRef__":true,"id":11890},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11891},{"__isSmartRef__":true,"id":11892}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11893},"name":"edge27","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(556.9,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11887":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11888},{"__isSmartRef__":true,"id":11889}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(65.4,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11888":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11889":{"isAbsolute":true,"x":62.427777777777806,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11890":{"morph":{"__isSmartRef__":true,"id":11886},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11891":{"morph":{"__isSmartRef__":true,"id":11886},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11892":{"morph":{"__isSmartRef__":true,"id":11886},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11893":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11894":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11895},"id":"D131DB80-0619-4EE7-B16E-6E75C55CFE2E","eventHandler":{"__isSmartRef__":true,"id":11898},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11899},{"__isSmartRef__":true,"id":11900}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11901},"name":"edge28","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(697.3,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11895":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11896},{"__isSmartRef__":true,"id":11897}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-38.4,12.0)","_Extent":"lively.pt(39.4,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11896":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11897":{"isAbsolute":true,"x":-36.41620370370367,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11898":{"morph":{"__isSmartRef__":true,"id":11894},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11899":{"morph":{"__isSmartRef__":true,"id":11894},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11900":{"morph":{"__isSmartRef__":true,"id":11894},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11901":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11902":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11903},"id":"9C3DFD87-945E-45D1-8722-67FE331F6418","eventHandler":{"__isSmartRef__":true,"id":11906},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11907},{"__isSmartRef__":true,"id":11908}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11909},"name":"edge29","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(697.3,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11903":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11904},{"__isSmartRef__":true,"id":11905}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(8.2,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11904":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11905":{"isAbsolute":true,"x":5.202314814814827,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11906":{"morph":{"__isSmartRef__":true,"id":11902},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11907":{"morph":{"__isSmartRef__":true,"id":11902},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11908":{"morph":{"__isSmartRef__":true,"id":11902},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11909":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11910":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11911},"id":"2D78A5D6-BCD4-4ED9-AB2C-21464334178E","eventHandler":{"__isSmartRef__":true,"id":11914},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11915},{"__isSmartRef__":true,"id":11916}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11917},"name":"edge30","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(697.3,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11911":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11912},{"__isSmartRef__":true,"id":11913}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(49.8,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11912":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11913":{"isAbsolute":true,"x":46.820833333333326,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11914":{"morph":{"__isSmartRef__":true,"id":11910},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11915":{"morph":{"__isSmartRef__":true,"id":11910},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11916":{"morph":{"__isSmartRef__":true,"id":11910},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11917":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11918":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11919},"id":"B567C537-F8F3-4D64-B06C-3A2E4DE713E5","eventHandler":{"__isSmartRef__":true,"id":11922},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11923},{"__isSmartRef__":true,"id":11924}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11925},"name":"edge31","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(837.8,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11919":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11920},{"__isSmartRef__":true,"id":11921}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-54.0,12.0)","_Extent":"lively.pt(55.0,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11920":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11921":{"isAbsolute":true,"x":-52.02314814814815,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11922":{"morph":{"__isSmartRef__":true,"id":11918},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11923":{"morph":{"__isSmartRef__":true,"id":11918},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11924":{"morph":{"__isSmartRef__":true,"id":11918},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11925":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11926":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11927},"id":"33A26DC0-E95B-4ACF-A986-B8D36A2BCE9A","eventHandler":{"__isSmartRef__":true,"id":11930},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11931},{"__isSmartRef__":true,"id":11932}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11933},"name":"edge32","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(837.8,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11927":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11928},{"__isSmartRef__":true,"id":11929}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-12.4,12.0)","_Extent":"lively.pt(13.4,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11928":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11929":{"isAbsolute":true,"x":-10.404629629629653,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11930":{"morph":{"__isSmartRef__":true,"id":11926},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11931":{"morph":{"__isSmartRef__":true,"id":11926},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11932":{"morph":{"__isSmartRef__":true,"id":11926},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11933":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11934":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11935},"id":"A74FB00D-CA9E-4296-B428-9DE4263C6B65","eventHandler":{"__isSmartRef__":true,"id":11938},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11939},{"__isSmartRef__":true,"id":11940}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11941},"name":"edge33","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(837.8,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11935":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11936},{"__isSmartRef__":true,"id":11937}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(34.2,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11936":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11937":{"isAbsolute":true,"x":31.213888888888846,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11938":{"morph":{"__isSmartRef__":true,"id":11934},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11939":{"morph":{"__isSmartRef__":true,"id":11934},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11940":{"morph":{"__isSmartRef__":true,"id":11934},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11941":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11942":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11943},"id":"1FC0B8DD-92F5-48A8-8A4A-402FD459D0BF","eventHandler":{"__isSmartRef__":true,"id":11946},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11947},{"__isSmartRef__":true,"id":11948}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11949},"name":"edge34","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(837.8,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11943":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11944},{"__isSmartRef__":true,"id":11945}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(75.8,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11944":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11945":{"isAbsolute":true,"x":72.83240740740735,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11946":{"morph":{"__isSmartRef__":true,"id":11942},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11947":{"morph":{"__isSmartRef__":true,"id":11942},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11948":{"morph":{"__isSmartRef__":true,"id":11942},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11949":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11950":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11951},"id":"280EE6A1-0631-427C-BA2F-C75F32A8D572","eventHandler":{"__isSmartRef__":true,"id":11954},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11955},{"__isSmartRef__":true,"id":11956}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11957},"name":"edge35","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(978.2,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11951":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11952},{"__isSmartRef__":true,"id":11953}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-28.0,12.0)","_Extent":"lively.pt(29.0,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11952":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11953":{"isAbsolute":true,"x":-26.011574074074247,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11954":{"morph":{"__isSmartRef__":true,"id":11950},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11955":{"morph":{"__isSmartRef__":true,"id":11950},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11956":{"morph":{"__isSmartRef__":true,"id":11950},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11957":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11958":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11959},"id":"020659CE-A40D-4A95-ACA8-4FA796E9AB1A","eventHandler":{"__isSmartRef__":true,"id":11962},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11963},{"__isSmartRef__":true,"id":11964}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11965},"name":"edge36","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(978.2,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11959":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11960},{"__isSmartRef__":true,"id":11961}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(18.6,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11960":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11961":{"isAbsolute":true,"x":15.606944444444252,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11962":{"morph":{"__isSmartRef__":true,"id":11958},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11963":{"morph":{"__isSmartRef__":true,"id":11958},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11964":{"morph":{"__isSmartRef__":true,"id":11958},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11965":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11966":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11967},"id":"5A7EADA6-BBE6-4596-876C-D004A3B95FBD","eventHandler":{"__isSmartRef__":true,"id":11970},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11971},{"__isSmartRef__":true,"id":11972}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11973},"name":"edge37","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(978.2,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11967":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11968},{"__isSmartRef__":true,"id":11969}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(60.2,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11968":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11969":{"isAbsolute":true,"x":57.225462962962865,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11970":{"morph":{"__isSmartRef__":true,"id":11966},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11971":{"morph":{"__isSmartRef__":true,"id":11966},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11972":{"morph":{"__isSmartRef__":true,"id":11966},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11973":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11974":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":11975},"id":"D7C7B744-7F61-4CBA-B4B8-12BEE265BEA5","eventHandler":{"__isSmartRef__":true,"id":11978},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":11979},{"__isSmartRef__":true,"id":11980}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11981},"name":"edge38","derivationIds":[731,"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(978.2,124.0)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"11975":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":11976},{"__isSmartRef__":true,"id":11977}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-2.0,12.0)","_Extent":"lively.pt(101.8,25.0)","_BorderColor":"Color.rgb(0,0,0)"},"11976":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11977":{"isAbsolute":true,"x":98.84398148148125,"y":36,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"11978":{"morph":{"__isSmartRef__":true,"id":11974},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"11979":{"morph":{"__isSmartRef__":true,"id":11974},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11980":{"morph":{"__isSmartRef__":true,"id":11974},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"11981":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11982":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(1123.7,434.6)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"11983":{"partsSpaceName":"PartsBin/Basic","comment":"A simple box morph. A really orange one. Its amazing what you can build out of simple boxes.... Who needs stars when you got orange rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":11984},{"__isSmartRef__":true,"id":11986},{"__isSmartRef__":true,"id":11988},{"__isSmartRef__":true,"id":11990},{"__isSmartRef__":true,"id":11992},{"__isSmartRef__":true,"id":11994},{"__isSmartRef__":true,"id":11996},{"__isSmartRef__":true,"id":11998}],"revisionOnLoad":184624,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"11984":{"date":{"__isSmartRef__":true,"id":11985},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"11985":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"11986":{"date":{"__isSmartRef__":true,"id":11987},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"11987":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"11988":{"date":{"__isSmartRef__":true,"id":11989},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"11989":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"11990":{"date":{"__isSmartRef__":true,"id":11991},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"11991":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"11992":{"date":{"__isSmartRef__":true,"id":11993},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"11993":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"11994":{"date":{"__isSmartRef__":true,"id":11995},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"11995":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"11996":{"date":{"__isSmartRef__":true,"id":11997},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"11997":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"11998":{"date":{"__isSmartRef__":true,"id":11999},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"11999":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"12000":{"morph":{"__isSmartRef__":true,"id":6533},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12001":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12002}},"12002":{"test01IsMorph":{"__isSmartRef__":true,"id":12003}},"12003":{"varMapping":{"__isSmartRef__":true,"id":12004},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":12005},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12004":{"this":{"__isSmartRef__":true,"id":12001}},"12005":{},"12006":{"rootNode":{"__isSmartRef__":true,"id":6558},"__LivelyClassName__":"ABPGameTree","__SourceModuleName__":"Global.projects.SWD12.reversi"},"12007":{"isActive":true,"alpha":-10000000000000,"beta":10000000000000,"done":true},"12008":{"init":{"__isSmartRef__":true,"id":12009},"setState":{"__isSmartRef__":true,"id":12013},"drawSkeleton":{"__isSmartRef__":true,"id":12017},"clean":{"__isSmartRef__":true,"id":12021},"getNewNode":{"__isSmartRef__":true,"id":12025},"buildSkeleton":{"__isSmartRef__":true,"id":12029},"getMovesCount":{"__isSmartRef__":true,"id":12033},"addNode":{"__isSmartRef__":true,"id":12037},"arrangeNode":{"__isSmartRef__":true,"id":12041},"connect":{"__isSmartRef__":true,"id":12045},"getNewEdge":{"__isSmartRef__":true,"id":12049},"finishStep":{"__isSmartRef__":true,"id":12053},"ABPreturn":{"__isSmartRef__":true,"id":12057},"ABPdone":{"__isSmartRef__":true,"id":12061},"ABPinit":{"__isSmartRef__":true,"id":12065},"showOriginalState":{"__isSmartRef__":true,"id":12069},"showStateOf":{"__isSmartRef__":true,"id":12073},"getGame":{"__isSmartRef__":true,"id":12077},"resize":{"__isSmartRef__":true,"id":12081},"NegaMaxInit":{"__isSmartRef__":true,"id":12085},"ABPstop":{"__isSmartRef__":true,"id":12089},"autorun":{"__isSmartRef__":true,"id":12093},"makeStep":{"__isSmartRef__":true,"id":12097},"initAlgorithm":{"__isSmartRef__":true,"id":12101}},"12009":{"varMapping":{"__isSmartRef__":true,"id":12010},"source":"function init() {\n this.levels = new Array();\n this.gameTree = new ABPGameTree();\n this.clean();\n this.abp.done = false;\n this.nextStep = undefined;\n\n }","funcProperties":{"__isSmartRef__":true,"id":12011},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12010":{"this":{"__isSmartRef__":true,"id":6533}},"12011":{"timestamp":{"__isSmartRef__":true,"id":12012},"user":"sebastianwoinar","tags":[]},"12012":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:02:27 GMT+0100 (CET)"},"12013":{"varMapping":{"__isSmartRef__":true,"id":12014},"source":"function setState(state) {\n this.resize();\n this.init();\n this.gameTree.buildWithState(state);\n this.buildSkeleton();\n this.drawSkeleton();\n}","funcProperties":{"__isSmartRef__":true,"id":12015},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12014":{"this":{"__isSmartRef__":true,"id":6533}},"12015":{"timestamp":{"__isSmartRef__":true,"id":12016},"user":"sebastianwoinar","tags":[]},"12016":{"isSerializedDate":true,"string":"Tue Dec 04 2012 15:39:56 GMT+0100 (CET)"},"12017":{"varMapping":{"__isSmartRef__":true,"id":12018},"source":"function drawSkeleton() {\n debugger;\n var extent = this.getExtent();\n for (var i = 0; i < this.levels.length; i++) {\n var distance = extent.x/(this.levels[i].length + 1);\n for (var j = 0; j < this.levels[i].length; j++){\n var node = this.levels[i][j];\n this.arrangeNode(node, distance, i, j);\n this.connect(node, node.getParent());\n }\n };\n}","funcProperties":{"__isSmartRef__":true,"id":12019},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12018":{"this":{"__isSmartRef__":true,"id":6533}},"12019":{"timestamp":{"__isSmartRef__":true,"id":12020},"user":"sebastianwoinar","tags":[]},"12020":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:55:54 GMT+0100 (CET)"},"12021":{"varMapping":{"__isSmartRef__":true,"id":12022},"source":"function clean() {\n this.submorphs.each(function(morph){\n morph.remove();\n });\n}","funcProperties":{"__isSmartRef__":true,"id":12023},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12022":{"this":{"__isSmartRef__":true,"id":6533}},"12023":{"timestamp":{"__isSmartRef__":true,"id":12024},"user":"sebastianwoinar","tags":[]},"12024":{"isSerializedDate":true,"string":"Tue Nov 27 2012 16:17:34 GMT+0100 (CET)"},"12025":{"varMapping":{"__isSmartRef__":true,"id":12026},"source":"function getNewNode() {\n return $morph(\"node\").copy();\n}","funcProperties":{"__isSmartRef__":true,"id":12027},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12026":{"this":{"__isSmartRef__":true,"id":6533}},"12027":{"timestamp":{"__isSmartRef__":true,"id":12028},"user":"sebastianwoinar","tags":[]},"12028":{"isSerializedDate":true,"string":"Tue Nov 27 2012 16:19:32 GMT+0100 (CET)"},"12029":{"varMapping":{"__isSmartRef__":true,"id":12030},"source":"function buildSkeleton() {\n this.rootNode = this.getNewNode();\n this.rootNode.setNode(this.gameTree.rootNode);\n this.addMorph(this.rootNode);\n this.addNode(this.rootNode);\n this.rootNode.buildChildNodes();\n}","funcProperties":{"__isSmartRef__":true,"id":12031},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12030":{"this":{"__isSmartRef__":true,"id":6533}},"12031":{"timestamp":{"__isSmartRef__":true,"id":12032},"user":"sebastianwoinar","tags":[]},"12032":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:45:04 GMT+0100 (CET)"},"12033":{"varMapping":{"__isSmartRef__":true,"id":12034},"source":"function getMovesCount() {\n return parseInt($morph(\"movesCount\").getTextString());\n}","funcProperties":{"__isSmartRef__":true,"id":12035},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12034":{"this":{"__isSmartRef__":true,"id":6533}},"12035":{"timestamp":{"__isSmartRef__":true,"id":12036},"user":"sebastianwoinar","tags":[]},"12036":{"isSerializedDate":true,"string":"Sat Dec 01 2012 15:35:18 GMT+0100 (CET)"},"12037":{"varMapping":{"__isSmartRef__":true,"id":12038},"source":"function addNode(node) {\n var nodeLevel = node.getLevel();\n if (typeof this.levels[nodeLevel] == \"undefined\") {\n this.levels[nodeLevel] = new Array();\n }\n this.levels[nodeLevel].push(node);\n}","funcProperties":{"__isSmartRef__":true,"id":12039},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12038":{"this":{"__isSmartRef__":true,"id":6533}},"12039":{"timestamp":{"__isSmartRef__":true,"id":12040},"user":"sebastianwoinar","tags":[]},"12040":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:35:56 GMT+0100 (CET)"},"12041":{"varMapping":{"__isSmartRef__":true,"id":12042},"source":"function arrangeNode(node, distance, level, nr) {\n var magicPaddingTop = 60, magicPaddingLeft = 45;\n node.setPosition(pt(magicPaddingLeft + distance*(nr+1)-node.getExtent().x/2,magicPaddingTop + level*50));\n}","funcProperties":{"__isSmartRef__":true,"id":12043},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12042":{"this":{"__isSmartRef__":true,"id":6533}},"12043":{"timestamp":{"__isSmartRef__":true,"id":12044},"user":"sebastianwoinar","tags":[]},"12044":{"isSerializedDate":true,"string":"Sat Dec 01 2012 18:16:05 GMT+0100 (CET)"},"12045":{"varMapping":{"__isSmartRef__":true,"id":12046},"source":"function connect(child, father) {\n if (typeof father == \"undefined\") {\n return;\n }\n var nodeFatherCenter = father.getCenter();\n var nodeChildCenter = child.getCenter();\n var delta = nodeChildCenter.subPt(nodeFatherCenter).addPt(pt(0,-14));\n var edge = this.getNewEdge();\n this.addMorph(edge);\n edge.setPosition(nodeFatherCenter);\n edge.shape.setVertices([pt(0,14),delta]);\n}","funcProperties":{"__isSmartRef__":true,"id":12047},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12046":{"this":{"__isSmartRef__":true,"id":6533}},"12047":{"timestamp":{"__isSmartRef__":true,"id":12048},"user":"sebastianwoinar","tags":[]},"12048":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:11:05 GMT+0100 (CET)"},"12049":{"varMapping":{"__isSmartRef__":true,"id":12050},"source":"function getNewEdge() {\n return $morph(\"edge\").copy();\n}","funcProperties":{"__isSmartRef__":true,"id":12051},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12050":{"this":{"__isSmartRef__":true,"id":6533}},"12051":{"timestamp":{"__isSmartRef__":true,"id":12052},"user":"sebastianwoinar","tags":[]},"12052":{"isSerializedDate":true,"string":"Sat Dec 01 2012 17:59:40 GMT+0100 (CET)"},"12053":{"varMapping":{"__isSmartRef__":true,"id":12054},"source":"function finishStep(callback) {\n this.abp.nextStep = callback;\n}","funcProperties":{"__isSmartRef__":true,"id":12055},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12054":{"this":{"__isSmartRef__":true,"id":6533}},"12055":{"timestamp":{"__isSmartRef__":true,"id":12056},"user":"sebastianwoinar","tags":[]},"12056":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:02:11 GMT+0100 (CET)"},"12057":{"varMapping":{"__isSmartRef__":true,"id":12058},"source":"function ABPreturn(callback) {\n this.nextStep = callback;\n}","funcProperties":{"__isSmartRef__":true,"id":12059},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12058":{"this":{"__isSmartRef__":true,"id":6533}},"12059":{"timestamp":{"__isSmartRef__":true,"id":12060},"user":"sebastianwoinar","tags":[]},"12060":{"isSerializedDate":true,"string":"Sun Dec 09 2012 11:04:45 GMT+0100 (CET)"},"12061":{"varMapping":{"__isSmartRef__":true,"id":12062},"source":"function ABPdone() {\n this.abp.done = true;\n alert(\"Done\");\n this.rootNode.markFinalDrawWith(this.rootNode.abp.m);\n}","funcProperties":{"__isSmartRef__":true,"id":12063},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12062":{"this":{"__isSmartRef__":true,"id":6533}},"12063":{"timestamp":{"__isSmartRef__":true,"id":12064},"user":"sebastianwoinar","tags":[]},"12064":{"isSerializedDate":true,"string":"Mon Dec 10 2012 17:21:31 GMT+0100 (CET)"},"12065":{"varMapping":{"__isSmartRef__":true,"id":12066},"source":"function ABPinit() {\n var that = this;\n this.abp = {\n \"isActive\" : true,\n \"alpha\" : -10000000000000,\n \"beta\" : 10000000000000,\n \"done\" : false\n };\n this.nextStep = function(){\n this.rootNode.ABPstart( this.abp.isActive, this.abp.alpha, this.abp.beta, function(){\n that.ABPdone();\n });\n }.bind(this);\n \n}","funcProperties":{"__isSmartRef__":true,"id":12067},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12066":{"this":{"__isSmartRef__":true,"id":6533}},"12067":{"timestamp":{"__isSmartRef__":true,"id":12068},"user":"sebastianwoinar","tags":[]},"12068":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:05:01 GMT+0100 (CET)"},"12069":{"varMapping":{"__isSmartRef__":true,"id":12070},"source":"function showOriginalState() {\n this.showStateOf(this.rootNode);\n}","funcProperties":{"__isSmartRef__":true,"id":12071},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12070":{"this":{"__isSmartRef__":true,"id":6533}},"12071":{"timestamp":{"__isSmartRef__":true,"id":12072},"user":"sebastianwoinar","tags":[]},"12072":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:51:44 GMT+0100 (CET)"},"12073":{"varMapping":{"__isSmartRef__":true,"id":12074},"source":"function showStateOf(node) {\n this.getGame().drawState(node.node.state);\n}","funcProperties":{"__isSmartRef__":true,"id":12075},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12074":{"this":{"__isSmartRef__":true,"id":6533}},"12075":{"timestamp":{"__isSmartRef__":true,"id":12076},"user":"sebastianwoinar","tags":[]},"12076":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:50:59 GMT+0100 (CET)"},"12077":{"varMapping":{"__isSmartRef__":true,"id":12078},"source":"function getGame() {\n return $morph(\"Reversi\");\n}","funcProperties":{"__isSmartRef__":true,"id":12079},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12078":{"this":{"__isSmartRef__":true,"id":6533}},"12079":{"timestamp":{"__isSmartRef__":true,"id":12080},"user":"sebastianwoinar","tags":[]},"12080":{"isSerializedDate":true,"string":"Sun Dec 02 2012 15:49:49 GMT+0100 (CET)"},"12081":{"varMapping":{"__isSmartRef__":true,"id":12082},"source":"function resize() {\n this.setPosition(pt(-70,40)); // sophisticated numbers\n var sizeOfOwner = this.owner.getExtent();\n var mySize = sizeOfOwner.addPt(pt(-20,-96));\n this.setExtent(mySize);\n\n}","funcProperties":{"__isSmartRef__":true,"id":12083},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12082":{"this":{"__isSmartRef__":true,"id":6533}},"12083":{"timestamp":{"__isSmartRef__":true,"id":12084},"user":"sebastianwoinar","tags":[]},"12084":{"isSerializedDate":true,"string":"Tue Dec 04 2012 15:44:49 GMT+0100 (CET)"},"12085":{"varMapping":{"__isSmartRef__":true,"id":12086},"source":"function NegaMaxInit() {\n var that = this;\n this.abp = {\n \"isActive\" : false,\n \"alpha\" : -10000000000000,\n \"beta\" : 10000000000000,\n \"nextStep\" : null,\n \"done\" : false\n };\n this.nextStep = function(){\n this.rootNode.ABPstart( this.abp.isActive, this.abp.alpha, this.abp.beta, function(){\n that.ABPdone();\n });\n }.bind(this);\n \n}","funcProperties":{"__isSmartRef__":true,"id":12087},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12086":{"this":{"__isSmartRef__":true,"id":6533}},"12087":{"timestamp":{"__isSmartRef__":true,"id":12088},"user":"sebastianwoinar","tags":[]},"12088":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:04:29 GMT+0100 (CET)"},"12089":{"varMapping":{"__isSmartRef__":true,"id":12090},"source":"function ABPstop() {\n if( typeof this.autoRunInterval != \"undefined\") {\n clearInterval(this.autoRunInterval);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":12091},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12090":{"this":{"__isSmartRef__":true,"id":6533}},"12091":{"timestamp":{"__isSmartRef__":true,"id":12092},"user":"sebastianwoinar","tags":[]},"12092":{"isSerializedDate":true,"string":"Sun Dec 09 2012 10:16:47 GMT+0100 (CET)"},"12093":{"varMapping":{"__isSmartRef__":true,"id":12094},"source":"function autorun() {\n var that = this;\n \n if( typeof this.nextStep == \"undefined\") {\n this.initAlgorithm();\n }\n \n this.autoRunInterval = setInterval(function(){ if(that.abp.done){ clearInterval(this.autoRunInterval);} else { that.makeStep(); } }.bind(this), 1000);\n}","funcProperties":{"__isSmartRef__":true,"id":12095},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12094":{"this":{"__isSmartRef__":true,"id":6533}},"12095":{"timestamp":{"__isSmartRef__":true,"id":12096},"user":"sebastianwoinar","tags":[]},"12096":{"isSerializedDate":true,"string":"Mon Dec 10 2012 14:07:49 GMT+0100 (CET)"},"12097":{"varMapping":{"__isSmartRef__":true,"id":12098},"source":"function makeStep() {\n if( typeof this.nextStep == \"undefined\") {\n this.initAlgorithm();\n }\n if(this.abp.done == false) {\n this.nextStep();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":12099},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12098":{"this":{"__isSmartRef__":true,"id":6533}},"12099":{"timestamp":{"__isSmartRef__":true,"id":12100},"user":"sebastianwoinar","tags":[]},"12100":{"isSerializedDate":true,"string":"Sun Dec 09 2012 11:03:55 GMT+0100 (CET)"},"12101":{"varMapping":{"__isSmartRef__":true,"id":12102},"source":"function initAlgorithm() {\n if( $morph(\"chkbUseABP\").isChecked() ) {\n this.ABPinit();\n } else {\n this.NegaMaxInit();\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":12103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12102":{"this":{"__isSmartRef__":true,"id":6533}},"12103":{"timestamp":{"__isSmartRef__":true,"id":12104},"user":"sebastianwoinar","tags":[]},"12104":{"isSerializedDate":true,"string":"Sun Dec 09 2012 11:08:34 GMT+0100 (CET)"},"12105":{"source":{"__isSmartRef__":true,"id":6498},"target":{"__isSmartRef__":true,"id":6533}},"12106":{"morph":{"__isSmartRef__":true,"id":6498},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12107":{"doAction":{"__isSmartRef__":true,"id":12108}},"12108":{"varMapping":{"__isSmartRef__":true,"id":12109},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":12110},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12109":{"this":{"__isSmartRef__":true,"id":6498}},"12110":{"timestamp":{"__isSmartRef__":true,"id":12111},"user":"robertkrahn","tags":[]},"12111":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:02:40 GMT+0200 (CEST)"},"12112":{"submorphs":[{"__isSmartRef__":true,"id":12113}],"scripts":[],"id":"8D4FD94C-D603-411D-B19D-B20A70D4FD1F","shape":{"__isSmartRef__":true,"id":12118},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":12124},"lighterFill":{"__isSmartRef__":true,"id":12129},"label":{"__isSmartRef__":true,"id":12113},"name":"Button3","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":12134},"attributeConnections":[{"__isSmartRef__":true,"id":12145},{"__isSmartRef__":true,"id":12146}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":12148},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","7D4A1972-76E5-4369-9964-2F6ACB87C81F","C95CA3B7-340C-4EA5-BC6C-D0F013C7C7E1","B5EFC9DC-5E60-4C1B-B452-1BED6BE55E9E"],"_ClipMode":"visible","isPressed":false,"owner":{"__isSmartRef__":true,"id":6262},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12149},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(286.0,-16.0)","distanceToDragEvent":"lively.pt(45.4,-18.4)"},"12113":{"submorphs":[],"scripts":[],"id":"042ED58F-A124-4A81-B9B2-7DAEE5C3A0B7","shape":{"__isSmartRef__":true,"id":12114},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":100,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":12112},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":12115}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":12117},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","7939AA82-2A96-4559-9090-DD58B7C8868A","7AD8E6A9-40EE-4DFD-B063-EAE2F7B01D73","053C7887-1403-4628-BE8B-266056E62D29"],"_MinTextWidth":100,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__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)","_TextColor":"Color.rgb(0,0,0)"},"12114":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(59.0,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"12115":{"style":{"__isSmartRef__":true,"id":12116},"chunkOwner":{"__isSmartRef__":true,"id":12113},"_id":"_67859","storedString":"Play","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12116":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12117":{"morph":{"__isSmartRef__":true,"id":12113},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12118":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":12119},"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(59.0,21.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"12119":{"stops":[{"__isSmartRef__":true,"id":12120},{"__isSmartRef__":true,"id":12121},{"__isSmartRef__":true,"id":12122},{"__isSmartRef__":true,"id":12123}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12120":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"12121":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"12122":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"12123":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"12124":{"stops":[{"__isSmartRef__":true,"id":12125},{"__isSmartRef__":true,"id":12126},{"__isSmartRef__":true,"id":12127},{"__isSmartRef__":true,"id":12128}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12125":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"12126":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"12127":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"12128":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"12129":{"stops":[{"__isSmartRef__":true,"id":12130},{"__isSmartRef__":true,"id":12131},{"__isSmartRef__":true,"id":12132},{"__isSmartRef__":true,"id":12133}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12130":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"12131":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12132":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12133":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"12134":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":12135},{"__isSmartRef__":true,"id":12137},{"__isSmartRef__":true,"id":12139},{"__isSmartRef__":true,"id":12141},{"__isSmartRef__":true,"id":12143}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"12135":{"date":{"__isSmartRef__":true,"id":12136},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"12136":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (CEST)"},"12137":{"date":{"__isSmartRef__":true,"id":12138},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"12138":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (CEST)"},"12139":{"date":{"__isSmartRef__":true,"id":12140},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"12140":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (CEST)"},"12141":{"date":{"__isSmartRef__":true,"id":12142},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"12142":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (CEST)"},"12143":{"date":{"__isSmartRef__":true,"id":12144},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"12144":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (CEST)"},"12145":{"sourceObj":{"__isSmartRef__":true,"id":12112},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12112},"targetMethodName":"doAction","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12146":{"sourceObj":{"__isSmartRef__":true,"id":12112},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6533},"targetMethodName":"autorun","varMapping":{"__isSmartRef__":true,"id":12147},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12147":{"source":{"__isSmartRef__":true,"id":12112},"target":{"__isSmartRef__":true,"id":6533}},"12148":{"morph":{"__isSmartRef__":true,"id":12112},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12149":{"doAction":{"__isSmartRef__":true,"id":12150}},"12150":{"varMapping":{"__isSmartRef__":true,"id":12151},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":12152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12151":{"this":{"__isSmartRef__":true,"id":12112}},"12152":{"timestamp":{"__isSmartRef__":true,"id":12153},"user":"robertkrahn","tags":[]},"12153":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:02:40 GMT+0200 (CEST)"},"12154":{"submorphs":[],"scripts":[],"id":"C8B16ACA-69BC-4C7F-B954-0DB44FA6F272","shape":{"__isSmartRef__":true,"id":12155},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"movesCount3","partsBinMetaInfo":{"__isSmartRef__":true,"id":12156},"textChunks":[{"__isSmartRef__":true,"id":12167}],"charsReplaced":"Select algorithm","lastFindLoc":16,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":12169},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","D211FB30-6129-4381-BEB8-26856DE96463","0CC6589E-629E-4971-A12A-BB9A7D5C5F66","5CC3357F-7B19-4567-AAFF-0F97EBF55F7C"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"#startLetters":"getTextSt","owner":{"__isSmartRef__":true,"id":6262},"_Rotation":0,"_Scale":1,"priorSelectionRange":[0,15],"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-74.0,-12.8)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"12155":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(160.5,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"12156":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":12157},{"__isSmartRef__":true,"id":12159},{"__isSmartRef__":true,"id":12161},{"__isSmartRef__":true,"id":12163},{"__isSmartRef__":true,"id":12165}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"12157":{"date":{"__isSmartRef__":true,"id":12158},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"12158":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"12159":{"date":{"__isSmartRef__":true,"id":12160},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"12160":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"12161":{"date":{"__isSmartRef__":true,"id":12162},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"12162":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"12163":{"date":{"__isSmartRef__":true,"id":12164},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"12164":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"12165":{"date":{"__isSmartRef__":true,"id":12166},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"12166":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"12167":{"style":{"__isSmartRef__":true,"id":12168},"morph":{"__isSmartRef__":true,"id":12154},"chunkOwner":{"__isSmartRef__":true,"id":12154},"storedString":"Number of moves","_id":"_19524","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12168":{"fontSize":11,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12169":{"morph":{"__isSmartRef__":true,"id":12154},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12170":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12171},"id":"F8DE67DB-819B-4CFD-8F8B-7FC57BDC633F","eventHandler":{"__isSmartRef__":true,"id":12174},"droppingEnabled":true,"halosEnabled":true,"isBeingDragged":false,"controlPoints":[{"__isSmartRef__":true,"id":12175},{"__isSmartRef__":true,"id":12176}],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":12177},"name":"edge","derivationIds":[731],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":6262},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(259.4,245.4)","distanceToDragEvent":"lively.pt(95.1,-9.5)"},"12171":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":12172},{"__isSmartRef__":true,"id":12173}],"_ClipMode":"visible","_BorderWidth":2,"__serializedExpressions__":["_Padding","_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-108.6,8.0)","_Extent":"lively.pt(109.6,33.0)","_BorderColor":"Color.rgb(0,0,0)"},"12172":{"isAbsolute":true,"x":0,"y":10,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"12173":{"isAbsolute":true,"x":-106.6110004440556,"y":40,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"12174":{"morph":{"__isSmartRef__":true,"id":12170},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12175":{"morph":{"__isSmartRef__":true,"id":12170},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"12176":{"morph":{"__isSmartRef__":true,"id":12170},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"12177":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Basic","comment":"a line","partName":"line","revisionOnLoad":148769,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"12178":{"submorphs":[{"__isSmartRef__":true,"id":12179},{"__isSmartRef__":true,"id":12196},{"__isSmartRef__":true,"id":12213},{"__isSmartRef__":true,"id":12218}],"scripts":[],"id":"F6A654A2-EFE1-474E-B4E3-ED309363AE32","shape":{"__isSmartRef__":true,"id":12235},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ABPstateMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":12236},"eventHandler":{"__isSmartRef__":true,"id":12254},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785"],"partTests":{"__isSmartRef__":true,"id":12255},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":6262},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12260},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(679.4,-41.3)","distanceToDragEvent":"lively.pt(171.0,-10.9)"},"12179":{"submorphs":[],"scripts":[],"id":"C569D035-5C3C-45BB-846D-9CA533E46167","shape":{"__isSmartRef__":true,"id":12180},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":12181},"textChunks":[{"__isSmartRef__":true,"id":12193}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":12195},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":12178},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(7.0,7.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(91.5,-11.9)"},"12180":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(128.7,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"12181":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":12182},{"__isSmartRef__":true,"id":12184},{"__isSmartRef__":true,"id":12186},{"__isSmartRef__":true,"id":12188},{"__isSmartRef__":true,"id":12190}],"lastModifiedDate":{"__isSmartRef__":true,"id":12192},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"12182":{"date":{"__isSmartRef__":true,"id":12183},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"12183":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"12184":{"date":{"__isSmartRef__":true,"id":12185},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"12185":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"12186":{"date":{"__isSmartRef__":true,"id":12187},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"12187":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"12188":{"date":{"__isSmartRef__":true,"id":12189},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"12189":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"12190":{"date":{"__isSmartRef__":true,"id":12191},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"12191":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"12192":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"12193":{"style":{"__isSmartRef__":true,"id":12194},"morph":{"__isSmartRef__":true,"id":12179},"chunkOwner":{"__isSmartRef__":true,"id":12179},"storedString":"Alpha","_id":"_41336","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12194":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12195":{"morph":{"__isSmartRef__":true,"id":12179},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12196":{"submorphs":[],"scripts":[],"id":"E6886695-9840-450D-9D73-588E4CE1E492","shape":{"__isSmartRef__":true,"id":12197},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":12198},"textChunks":[{"__isSmartRef__":true,"id":12210}],"charsReplaced":"Alpha","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":12212},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","C569D035-5C3C-45BB-846D-9CA533E46167"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"previousSelection":[5,5],"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":12178},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(6.0,29.8)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"12197":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(128.7,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"12198":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":12199},{"__isSmartRef__":true,"id":12201},{"__isSmartRef__":true,"id":12203},{"__isSmartRef__":true,"id":12205},{"__isSmartRef__":true,"id":12207}],"revisionOnLoad":160159,"lastModifiedDate":{"__isSmartRef__":true,"id":12209},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"12199":{"date":{"__isSmartRef__":true,"id":12200},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"12200":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"12201":{"date":{"__isSmartRef__":true,"id":12202},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"12202":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"12203":{"date":{"__isSmartRef__":true,"id":12204},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"12204":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"12205":{"date":{"__isSmartRef__":true,"id":12206},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"12206":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"12207":{"date":{"__isSmartRef__":true,"id":12208},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"12208":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"12209":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"12210":{"style":{"__isSmartRef__":true,"id":12211},"morph":{"__isSmartRef__":true,"id":12196},"chunkOwner":{"__isSmartRef__":true,"id":12196},"storedString":"Beta","_id":"_41336","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12211":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12212":{"morph":{"__isSmartRef__":true,"id":12196},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12213":{"submorphs":[],"scripts":[],"id":"CFC3780D-7C56-4A35-B91E-2353A66C97E7","shape":{"__isSmartRef__":true,"id":12214},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"alpha","partsBinMetaInfo":{"__isSmartRef__":true,"id":12181},"textChunks":[{"__isSmartRef__":true,"id":12215}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":12217},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":12178},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(111.3,3.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"12214":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(128.7,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"12215":{"style":{"__isSmartRef__":true,"id":12216},"chunkOwner":{"__isSmartRef__":true,"id":12213},"_id":"_1694","storedString":" -11","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12216":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12217":{"morph":{"__isSmartRef__":true,"id":12213},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12218":{"submorphs":[],"scripts":[],"id":"5FAA99FF-D360-466B-976A-5F3B7834F4D0","shape":{"__isSmartRef__":true,"id":12219},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"beta","partsBinMetaInfo":{"__isSmartRef__":true,"id":12220},"textChunks":[{"__isSmartRef__":true,"id":12232}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":12234},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","CFC3780D-7C56-4A35-B91E-2353A66C97E7"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":12178},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(112.3,28.8)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"12219":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(128.7,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"12220":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":12221},{"__isSmartRef__":true,"id":12223},{"__isSmartRef__":true,"id":12225},{"__isSmartRef__":true,"id":12227},{"__isSmartRef__":true,"id":12229}],"lastModifiedDate":{"__isSmartRef__":true,"id":12231},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"12221":{"date":{"__isSmartRef__":true,"id":12222},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"12222":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"12223":{"date":{"__isSmartRef__":true,"id":12224},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"12224":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"12225":{"date":{"__isSmartRef__":true,"id":12226},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"12226":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"12227":{"date":{"__isSmartRef__":true,"id":12228},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"12228":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"12229":{"date":{"__isSmartRef__":true,"id":12230},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"12230":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"12231":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"12232":{"style":{"__isSmartRef__":true,"id":12233},"chunkOwner":{"__isSmartRef__":true,"id":12218},"_id":"_1695","storedString":" oo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12233":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12234":{"morph":{"__isSmartRef__":true,"id":12218},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12235":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(245.5,67.2)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"12236":{"partsSpaceName":"PartsBin/Basic","comment":"A simple box morph. A really orange one. Its amazing what you can build out of simple boxes.... Who needs stars when you got orange rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":12237},{"__isSmartRef__":true,"id":12239},{"__isSmartRef__":true,"id":12241},{"__isSmartRef__":true,"id":12243},{"__isSmartRef__":true,"id":12245},{"__isSmartRef__":true,"id":12247},{"__isSmartRef__":true,"id":12249},{"__isSmartRef__":true,"id":12251}],"lastModifiedDate":{"__isSmartRef__":true,"id":12253},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"12237":{"date":{"__isSmartRef__":true,"id":12238},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"12238":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"12239":{"date":{"__isSmartRef__":true,"id":12240},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"12240":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"12241":{"date":{"__isSmartRef__":true,"id":12242},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"12242":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"12243":{"date":{"__isSmartRef__":true,"id":12244},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"12244":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"12245":{"date":{"__isSmartRef__":true,"id":12246},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"12246":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"12247":{"date":{"__isSmartRef__":true,"id":12248},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"12248":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"12249":{"date":{"__isSmartRef__":true,"id":12250},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"12250":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"12251":{"date":{"__isSmartRef__":true,"id":12252},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"12252":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"12253":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:33:25 GMT+0100 (CET)"},"12254":{"morph":{"__isSmartRef__":true,"id":12178},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12255":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12256}},"12256":{"test01IsMorph":{"__isSmartRef__":true,"id":12257}},"12257":{"varMapping":{"__isSmartRef__":true,"id":12258},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":12259},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12258":{"this":{"__isSmartRef__":true,"id":12255}},"12259":{},"12260":{"setAlpha":{"__isSmartRef__":true,"id":12261},"setBeta":{"__isSmartRef__":true,"id":12265}},"12261":{"varMapping":{"__isSmartRef__":true,"id":12262},"source":"function setAlpha(value) {\n if(value > 100000){\n $morph(\"alpha\").setTextString(\" oo\");\n }else if(value < -100000){\n $morph(\"alpha\").setTextString(\"- oo\");\n }else {\n $morph(\"alpha\").setTextString(\" \" + value);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":12263},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12262":{"this":{"__isSmartRef__":true,"id":12178}},"12263":{"timestamp":{"__isSmartRef__":true,"id":12264},"user":"sebastianwoinar","tags":[]},"12264":{"isSerializedDate":true,"string":"Fri Dec 07 2012 22:49:08 GMT+0100 (CET)"},"12265":{"varMapping":{"__isSmartRef__":true,"id":12266},"source":"function setBeta(value) {\n if(value > 100000){\n $morph(\"beta\").setTextString(\" oo\");\n }else if(value < -100000){\n $morph(\"beta\").setTextString(\"- oo\");\n }else {\n $morph(\"beta\").setTextString(\" \" + value);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":12267},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12266":{"this":{"__isSmartRef__":true,"id":12178}},"12267":{"timestamp":{"__isSmartRef__":true,"id":12268},"user":"sebastianwoinar","tags":[]},"12268":{"isSerializedDate":true,"string":"Fri Dec 07 2012 22:49:08 GMT+0100 (CET)"},"12269":{"submorphs":[],"scripts":[],"id":"031DF93A-8386-425C-A29A-1FDCF864792D","shape":{"__isSmartRef__":true,"id":12270},"droppingEnabled":true,"halosEnabled":true,"checked":true,"showsHalos":false,"name":"chkbUseABP","partsBinMetaInfo":{"__isSmartRef__":true,"id":12271},"eventHandler":{"__isSmartRef__":true,"id":12273},"derivationIds":[6345],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":6262},"moved":true,"_Rotation":0,"_Scale":1,"#startLetters":"","__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.CheckBox","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(224.1,-41.3)"},"12270":{"stringifiedShapeNode":"","__serializedExpressions__":["extent","_Extent"],"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes","extent":"lively.pt(12.0,12.0)","_Extent":"lively.pt(12.0,12.0)"},"12271":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Inputs/","partName":"CheckBox","lastModifiedDate":{"__isSmartRef__":true,"id":12272},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"12272":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"12273":{"morph":{"__isSmartRef__":true,"id":12269},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12274":{"submorphs":[{"__isSmartRef__":true,"id":12275}],"scripts":[],"id":"8A45E8F7-872B-42FD-A5F5-BC62C73C13BE","shape":{"__isSmartRef__":true,"id":12280},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":12286},"lighterFill":{"__isSmartRef__":true,"id":12291},"label":{"__isSmartRef__":true,"id":12275},"name":"Button4","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":12296},"attributeConnections":[{"__isSmartRef__":true,"id":12307},{"__isSmartRef__":true,"id":12308}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":12310},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","7D4A1972-76E5-4369-9964-2F6ACB87C81F","C95CA3B7-340C-4EA5-BC6C-D0F013C7C7E1","B5EFC9DC-5E60-4C1B-B452-1BED6BE55E9E","8D4FD94C-D603-411D-B19D-B20A70D4FD1F"],"_ClipMode":"visible","isPressed":false,"owner":{"__isSmartRef__":true,"id":6262},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12311},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(350.6,-15.0)","distanceToDragEvent":"lively.pt(46.4,-15.4)"},"12275":{"submorphs":[],"scripts":[],"id":"EC467DE3-63D7-4F55-BA5B-601778B06390","shape":{"__isSmartRef__":true,"id":12276},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":100,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":12274},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":12277}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":12279},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","7939AA82-2A96-4559-9090-DD58B7C8868A","7AD8E6A9-40EE-4DFD-B063-EAE2F7B01D73","053C7887-1403-4628-BE8B-266056E62D29","042ED58F-A124-4A81-B9B2-7DAEE5C3A0B7"],"_MinTextWidth":100,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__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)","_TextColor":"Color.rgb(0,0,0)"},"12276":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(59.0,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"12277":{"style":{"__isSmartRef__":true,"id":12278},"chunkOwner":{"__isSmartRef__":true,"id":12275},"_id":"_14400","storedString":"Stop","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12278":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12279":{"morph":{"__isSmartRef__":true,"id":12275},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12280":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":12281},"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(59.0,21.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"12281":{"stops":[{"__isSmartRef__":true,"id":12282},{"__isSmartRef__":true,"id":12283},{"__isSmartRef__":true,"id":12284},{"__isSmartRef__":true,"id":12285}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12282":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"12283":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"12284":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"12285":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"12286":{"stops":[{"__isSmartRef__":true,"id":12287},{"__isSmartRef__":true,"id":12288},{"__isSmartRef__":true,"id":12289},{"__isSmartRef__":true,"id":12290}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12287":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"12288":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"12289":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"12290":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"12291":{"stops":[{"__isSmartRef__":true,"id":12292},{"__isSmartRef__":true,"id":12293},{"__isSmartRef__":true,"id":12294},{"__isSmartRef__":true,"id":12295}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12292":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"12293":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12294":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12295":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"12296":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":12297},{"__isSmartRef__":true,"id":12299},{"__isSmartRef__":true,"id":12301},{"__isSmartRef__":true,"id":12303},{"__isSmartRef__":true,"id":12305}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"12297":{"date":{"__isSmartRef__":true,"id":12298},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"12298":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (CEST)"},"12299":{"date":{"__isSmartRef__":true,"id":12300},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"12300":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (CEST)"},"12301":{"date":{"__isSmartRef__":true,"id":12302},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"12302":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (CEST)"},"12303":{"date":{"__isSmartRef__":true,"id":12304},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"12304":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (CEST)"},"12305":{"date":{"__isSmartRef__":true,"id":12306},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"12306":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (CEST)"},"12307":{"sourceObj":{"__isSmartRef__":true,"id":12274},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12274},"targetMethodName":"doAction","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12308":{"sourceObj":{"__isSmartRef__":true,"id":12274},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6533},"targetMethodName":"ABPstop","varMapping":{"__isSmartRef__":true,"id":12309},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12309":{"source":{"__isSmartRef__":true,"id":12274},"target":{"__isSmartRef__":true,"id":6533}},"12310":{"morph":{"__isSmartRef__":true,"id":12274},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12311":{"doAction":{"__isSmartRef__":true,"id":12312}},"12312":{"varMapping":{"__isSmartRef__":true,"id":12313},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":12314},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12313":{"this":{"__isSmartRef__":true,"id":12274}},"12314":{"timestamp":{"__isSmartRef__":true,"id":12315},"user":"robertkrahn","tags":[]},"12315":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:02:40 GMT+0200 (CEST)"},"12316":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(1143.7,530.6)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(-81.0,-47.0)"},"12317":{"partsSpaceName":"PartsBin/sd1213/","comment":"Vsualization of the Alpha-Beta-Pruning algorithm","migrationLevel":4,"partName":"AlphaBetaPruning","changes":[{"__isSmartRef__":true,"id":12318},{"__isSmartRef__":true,"id":12320},{"__isSmartRef__":true,"id":12322},{"__isSmartRef__":true,"id":12324},{"__isSmartRef__":true,"id":12326},{"__isSmartRef__":true,"id":12328},{"__isSmartRef__":true,"id":12330},{"__isSmartRef__":true,"id":12332}],"revisionOnLoad":185895,"lastModifiedDate":{"__isSmartRef__":true,"id":12334},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"12318":{"date":{"__isSmartRef__":true,"id":12319},"author":"bgnauk","message":"no comment","id":"30E760F5-3ADF-4006-BBB0-64082A2BA1FD"},"12319":{"isSerializedDate":true,"string":"Thu Jun 07 2012 01:25:20 GMT+0200 (CEST)"},"12320":{"date":{"__isSmartRef__":true,"id":12321},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"12321":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"12322":{"date":{"__isSmartRef__":true,"id":12323},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"12323":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"12324":{"date":{"__isSmartRef__":true,"id":12325},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"12325":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"12326":{"date":{"__isSmartRef__":true,"id":12327},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"12327":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"12328":{"date":{"__isSmartRef__":true,"id":12329},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"12329":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"12330":{"date":{"__isSmartRef__":true,"id":12331},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"12331":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"12332":{"date":{"__isSmartRef__":true,"id":12333},"author":"sebastianwoinar","message":"first version","id":"2F234C09-A067-4F86-9918-A4D062196B9B"},"12333":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:54:05 GMT+0100 (CET)"},"12334":{"isSerializedDate":true,"string":"Tue Dec 04 2012 16:54:06 GMT+0100 (CET)"},"12335":{"morph":{"__isSmartRef__":true,"id":6262},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12336":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12337}},"12337":{"test01IsMorph":{"__isSmartRef__":true,"id":12338}},"12338":{"varMapping":{"__isSmartRef__":true,"id":12339},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":12340},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12339":{"this":{"__isSmartRef__":true,"id":12336}},"12340":{},"12341":{"gameboard":[["black","black",null,null,"black","black","black"],[null,"black","black","black","black","black","black"],["black","black","white","black","black","white","white"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"white","nextPlayer":"black","valid":false,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"12342":{"gameboard":[["black","black","white",null,"black","black","black"],[null,"black","white","white","black","black","black"],["black","black","white","black","black","black","black","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"white","nextPlayer":"black","valid":false,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"12343":{"gameboard":[["black","black","black","black","black","black","black"],[null,"black","black","black","black","white","white","white"],["black","black","white","black","black","black","white","black"],["black","black","black","black","black","white","black","black"],["black","black","white","white","black","white","white","black"],["black","black","white","white","white","white","white","black"],["black","black","black","black","white","white","black","black"],[null,"black","black","black","black","black","black"]],"player":"white","nextPlayer":"black","valid":false,"__LivelyClassName__":"ABPReversiState","__SourceModuleName__":"Global.projects.SWD12.reversi"},"12344":{"getGame":{"__isSmartRef__":true,"id":12345},"setLastState":{"__isSmartRef__":true,"id":12349},"getLastState":{"__isSmartRef__":true,"id":12353},"updateGameTree":{"__isSmartRef__":true,"id":12357},"drawGameTree":{"__isSmartRef__":true,"id":12361}},"12345":{"varMapping":{"__isSmartRef__":true,"id":12346},"source":"function getGame() {\n return $morph(\"Reversi\");\n}","funcProperties":{"__isSmartRef__":true,"id":12347},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12346":{"this":{"__isSmartRef__":true,"id":6262}},"12347":{"timestamp":{"__isSmartRef__":true,"id":12348},"user":"sebastianwoinar","tags":[]},"12348":{"isSerializedDate":true,"string":"Tue Nov 27 2012 15:47:29 GMT+0100 (CET)"},"12349":{"varMapping":{"__isSmartRef__":true,"id":12350},"source":"function setLastState(state) {\n this.state = state;\n}","funcProperties":{"__isSmartRef__":true,"id":12351},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12350":{"this":{"__isSmartRef__":true,"id":6262}},"12351":{"timestamp":{"__isSmartRef__":true,"id":12352},"user":"sebastianwoinar","tags":[]},"12352":{"isSerializedDate":true,"string":"Tue Nov 27 2012 15:54:22 GMT+0100 (CET)"},"12353":{"varMapping":{"__isSmartRef__":true,"id":12354},"source":"function getLastState() {\n return this.state;\n}","funcProperties":{"__isSmartRef__":true,"id":12355},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12354":{"this":{"__isSmartRef__":true,"id":6262}},"12355":{"timestamp":{"__isSmartRef__":true,"id":12356},"user":"sebastianwoinar","tags":[]},"12356":{"isSerializedDate":true,"string":"Tue Nov 27 2012 15:54:33 GMT+0100 (CET)"},"12357":{"varMapping":{"__isSmartRef__":true,"id":12358},"source":"function updateGameTree() {\n if( this.getGame().getState().equalsTo(this.getLastState()) == false ) {\n this.drawGameTree(this.getGame().getState());\n }\n}","funcProperties":{"__isSmartRef__":true,"id":12359},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12358":{"this":{"__isSmartRef__":true,"id":6262}},"12359":{"timestamp":{"__isSmartRef__":true,"id":12360},"user":"sebastianwoinar","tags":[]},"12360":{"isSerializedDate":true,"string":"Tue Nov 27 2012 15:59:04 GMT+0100 (CET)"},"12361":{"varMapping":{"__isSmartRef__":true,"id":12362},"source":"function drawGameTree(state) {\n $morph(\"gameTree\").setState(state);\n}","funcProperties":{"__isSmartRef__":true,"id":12363},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12362":{"this":{"__isSmartRef__":true,"id":6262}},"12363":{"timestamp":{"__isSmartRef__":true,"id":12364},"user":"sebastianwoinar","tags":[]},"12364":{"isSerializedDate":true,"string":"Tue Nov 27 2012 16:30:48 GMT+0100 (CET)"},"12365":{"submorphs":[{"__isSmartRef__":true,"id":12366},{"__isSmartRef__":true,"id":12391},{"__isSmartRef__":true,"id":12416},{"__isSmartRef__":true,"id":12441},{"__isSmartRef__":true,"id":12489}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12805},"eventHandler":{"__isSmartRef__":true,"id":12806},"_ClipMode":"visible","derivationIds":[],"id":"D5E8525D-71C7-47BD-B5A3-12B344B4686E","droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":12807},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":12489},"reframeHandle":{"__isSmartRef__":true,"id":12366},"bottomReframeHandle":{"__isSmartRef__":true,"id":12391},"rightReframeHandle":{"__isSmartRef__":true,"id":12416},"titleBar":{"__isSmartRef__":true,"id":12441},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":0},"highlighted":false,"isBeingDragged":false,"prevScroll":[0,0],"__serializedExpressions__":["_Position","contentOffset","prevDragPos"],"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(1759.0,443.7)","contentOffset":"lively.pt(4.0,22.0)","prevDragPos":"lively.pt(2134.2,450.3)"},"12366":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12367},"eventHandler":{"__isSmartRef__":true,"id":12368},"_ClipMode":"visible","derivationIds":[],"id":"25CF342A-C3E2-47EC-8DE0-F2D8BABAFF0E","droppingEnabled":true,"halosEnabled":true,"_StyleClassNames":["reframe-handle corner"],"owner":{"__isSmartRef__":true,"id":12365},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12369},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(814.0,562.0)"},"12367":{"__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)"},"12368":{"morph":{"__isSmartRef__":true,"id":12366},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12369":{"onDragStart":{"__isSmartRef__":true,"id":12370},"onDrag":{"__isSmartRef__":true,"id":12377},"onDragEnd":{"__isSmartRef__":true,"id":12384}},"12370":{"varMapping":{"__isSmartRef__":true,"id":12371},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":12376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12371":{"this":{"__isSmartRef__":true,"id":12366},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12372}},"12372":{"$super":{"__isSmartRef__":true,"id":12373}},"12373":{"varMapping":{"__isSmartRef__":true,"id":12374},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12375},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12374":{"obj":{"__isSmartRef__":true,"id":12366},"name":"onDragStart"},"12375":{},"12376":{},"12377":{"varMapping":{"__isSmartRef__":true,"id":12378},"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":12383},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12378":{"this":{"__isSmartRef__":true,"id":12366},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12379}},"12379":{"$super":{"__isSmartRef__":true,"id":12380}},"12380":{"varMapping":{"__isSmartRef__":true,"id":12381},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12382},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12381":{"obj":{"__isSmartRef__":true,"id":12366},"name":"onDrag"},"12382":{},"12383":{},"12384":{"varMapping":{"__isSmartRef__":true,"id":12385},"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":12390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12385":{"this":{"__isSmartRef__":true,"id":12366},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12386}},"12386":{"$super":{"__isSmartRef__":true,"id":12387}},"12387":{"varMapping":{"__isSmartRef__":true,"id":12388},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12389},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12388":{"obj":{"__isSmartRef__":true,"id":12366},"name":"onDragEnd"},"12389":{},"12390":{},"12391":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12392},"eventHandler":{"__isSmartRef__":true,"id":12393},"_ClipMode":"visible","derivationIds":[],"id":"19CBDA63-259B-41EC-91B2-23AC403B3817","droppingEnabled":true,"halosEnabled":true,"_StyleClassNames":["reframe-handle bottom"],"owner":{"__isSmartRef__":true,"id":12365},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12394},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,572.0)"},"12392":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(814.0,4.0)","_Padding":"lively.rect(0,0,0,0)"},"12393":{"morph":{"__isSmartRef__":true,"id":12391},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12394":{"onDragStart":{"__isSmartRef__":true,"id":12395},"onDrag":{"__isSmartRef__":true,"id":12402},"onDragEnd":{"__isSmartRef__":true,"id":12409}},"12395":{"varMapping":{"__isSmartRef__":true,"id":12396},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":12401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12396":{"this":{"__isSmartRef__":true,"id":12391},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12397}},"12397":{"$super":{"__isSmartRef__":true,"id":12398}},"12398":{"varMapping":{"__isSmartRef__":true,"id":12399},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12400},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12399":{"obj":{"__isSmartRef__":true,"id":12391},"name":"onDragStart"},"12400":{},"12401":{},"12402":{"varMapping":{"__isSmartRef__":true,"id":12403},"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":12408},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12403":{"this":{"__isSmartRef__":true,"id":12391},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12404}},"12404":{"$super":{"__isSmartRef__":true,"id":12405}},"12405":{"varMapping":{"__isSmartRef__":true,"id":12406},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12407},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12406":{"obj":{"__isSmartRef__":true,"id":12391},"name":"onDrag"},"12407":{},"12408":{},"12409":{"varMapping":{"__isSmartRef__":true,"id":12410},"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":12415},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12410":{"this":{"__isSmartRef__":true,"id":12391},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12411}},"12411":{"$super":{"__isSmartRef__":true,"id":12412}},"12412":{"varMapping":{"__isSmartRef__":true,"id":12413},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12414},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12413":{"obj":{"__isSmartRef__":true,"id":12391},"name":"onDragEnd"},"12414":{},"12415":{},"12416":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12417},"eventHandler":{"__isSmartRef__":true,"id":12418},"_ClipMode":"visible","derivationIds":[],"id":"B6868D03-44AB-4375-B591-3AEB2B3F3048","droppingEnabled":true,"halosEnabled":true,"_StyleClassNames":["reframe-handle right"],"owner":{"__isSmartRef__":true,"id":12365},"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12419},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(824.0,0.0)"},"12417":{"__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,562.0)","_Padding":"lively.rect(0,0,0,0)"},"12418":{"morph":{"__isSmartRef__":true,"id":12416},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12419":{"onDragStart":{"__isSmartRef__":true,"id":12420},"onDrag":{"__isSmartRef__":true,"id":12427},"onDragEnd":{"__isSmartRef__":true,"id":12434}},"12420":{"varMapping":{"__isSmartRef__":true,"id":12421},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":12426},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12421":{"this":{"__isSmartRef__":true,"id":12416},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12422}},"12422":{"$super":{"__isSmartRef__":true,"id":12423}},"12423":{"varMapping":{"__isSmartRef__":true,"id":12424},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12425},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12424":{"obj":{"__isSmartRef__":true,"id":12416},"name":"onDragStart"},"12425":{},"12426":{},"12427":{"varMapping":{"__isSmartRef__":true,"id":12428},"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":12433},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12428":{"this":{"__isSmartRef__":true,"id":12416},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12429}},"12429":{"$super":{"__isSmartRef__":true,"id":12430}},"12430":{"varMapping":{"__isSmartRef__":true,"id":12431},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12432},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12431":{"obj":{"__isSmartRef__":true,"id":12416},"name":"onDrag"},"12432":{},"12433":{},"12434":{"varMapping":{"__isSmartRef__":true,"id":12435},"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":12440},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12435":{"this":{"__isSmartRef__":true,"id":12416},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12436}},"12436":{"$super":{"__isSmartRef__":true,"id":12437}},"12437":{"varMapping":{"__isSmartRef__":true,"id":12438},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12439},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12438":{"obj":{"__isSmartRef__":true,"id":12416},"name":"onDragEnd"},"12439":{},"12440":{},"12441":{"submorphs":[{"__isSmartRef__":true,"id":12442},{"__isSmartRef__":true,"id":12448},{"__isSmartRef__":true,"id":12461},{"__isSmartRef__":true,"id":12473}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12486},"eventHandler":{"__isSmartRef__":true,"id":12487},"_ClipMode":"visible","derivationIds":[],"id":"F83CE1A9-7AE6-41AC-805F-C00C4E47733A","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12488},"windowMorph":{"__isSmartRef__":true,"id":12365},"label":{"__isSmartRef__":true,"id":12442},"closeButton":{"__isSmartRef__":true,"id":12448},"menuButton":{"__isSmartRef__":true,"id":12461},"collapseButton":{"__isSmartRef__":true,"id":12473},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":12365},"prevScroll":[0,0],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"12442":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12443},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12444}],"eventHandler":{"__isSmartRef__":true,"id":12446},"_ClipMode":"hidden","derivationIds":[],"id":"A2B6D2BB-5F01-495F-964F-2FF5A15DBA99","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"layout":{"__isSmartRef__":true,"id":12447},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":12441},"_StyleClassNames":["window-title"],"_TextStylingMode":true,"prevScroll":[0,0],"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(21.0,3.0)"},"12443":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(768.0,18.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"12444":{"style":{"__isSmartRef__":true,"id":12445},"chunkOwner":{"__isSmartRef__":true,"id":12442},"_id":"_7483","storedString":"reversi.js:ABPGameboardPosition:-- all --","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12445":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12446":{"morph":{"__isSmartRef__":true,"id":12442},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12447":{"resizeWidth":true},"12448":{"submorphs":[{"__isSmartRef__":true,"id":12449}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12454},"eventHandler":{"__isSmartRef__":true,"id":12455},"_ClipMode":"visible","derivationIds":[],"id":"625CD45C-52B3-4119-8A5D-19F65F96A1B3","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12449},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":12441},"layout":{"__isSmartRef__":true,"id":12456},"_StyleClassNames":["close"],"attributeConnections":[{"__isSmartRef__":true,"id":12457},{"__isSmartRef__":true,"id":12459}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(808.0,3.0)"},"12449":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12450},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12451}],"eventHandler":{"__isSmartRef__":true,"id":12453},"_ClipMode":"hidden","derivationIds":[],"id":"0C959F33-C2D0-4969-8B96-3ED318D68096","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12448},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,-1.0)"},"12450":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__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)"},"12451":{"style":{"__isSmartRef__":true,"id":12452},"chunkOwner":{"__isSmartRef__":true,"id":12449},"_id":"_5837","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12452":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12453":{"morph":{"__isSmartRef__":true,"id":12449},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12454":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__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)"},"12455":{"morph":{"__isSmartRef__":true,"id":12448},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12456":{"moveHorizontal":true},"12457":{"sourceObj":{"__isSmartRef__":true,"id":12448},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12365},"targetMethodName":"getCloseHelp","varMapping":{"__isSmartRef__":true,"id":12458},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12458":{"source":{"__isSmartRef__":true,"id":12448},"target":{"__isSmartRef__":true,"id":12365}},"12459":{"sourceObj":{"__isSmartRef__":true,"id":12448},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12365},"targetMethodName":"initiateShutdown","varMapping":{"__isSmartRef__":true,"id":12460},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12460":{"source":{"__isSmartRef__":true,"id":12448},"target":{"__isSmartRef__":true,"id":12365}},"12461":{"submorphs":[{"__isSmartRef__":true,"id":12462}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12467},"eventHandler":{"__isSmartRef__":true,"id":12468},"_ClipMode":"visible","derivationIds":[],"id":"C6ABE570-36E8-408F-BB42-E5EA9C6C2577","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12462},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":12441},"attributeConnections":[{"__isSmartRef__":true,"id":12469},{"__isSmartRef__":true,"id":12471}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"12462":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12463},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12464}],"eventHandler":{"__isSmartRef__":true,"id":12466},"_ClipMode":"hidden","derivationIds":[],"id":"CC285D94-3B33-4DED-8C54-E9C4F1F9C588","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12461},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,0.0)"},"12463":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__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)"},"12464":{"style":{"__isSmartRef__":true,"id":12465},"chunkOwner":{"__isSmartRef__":true,"id":12462},"_id":"_5839","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12465":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12466":{"morph":{"__isSmartRef__":true,"id":12462},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12467":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__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)"},"12468":{"morph":{"__isSmartRef__":true,"id":12461},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12469":{"sourceObj":{"__isSmartRef__":true,"id":12461},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12365},"targetMethodName":"getMenuHelp","varMapping":{"__isSmartRef__":true,"id":12470},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12470":{"source":{"__isSmartRef__":true,"id":12461},"target":{"__isSmartRef__":true,"id":12365}},"12471":{"sourceObj":{"__isSmartRef__":true,"id":12461},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12365},"targetMethodName":"showTargetMorphMenu","varMapping":{"__isSmartRef__":true,"id":12472},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12472":{"source":{"__isSmartRef__":true,"id":12461},"target":{"__isSmartRef__":true,"id":12365}},"12473":{"submorphs":[{"__isSmartRef__":true,"id":12474}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12479},"eventHandler":{"__isSmartRef__":true,"id":12480},"_ClipMode":"visible","derivationIds":[],"id":"69ECC8F7-1168-45BB-BC0C-6760BEC62C5A","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12474},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":12441},"layout":{"__isSmartRef__":true,"id":12481},"attributeConnections":[{"__isSmartRef__":true,"id":12482},{"__isSmartRef__":true,"id":12484}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(789.0,3.0)"},"12474":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12475},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12476}],"eventHandler":{"__isSmartRef__":true,"id":12478},"_ClipMode":"hidden","derivationIds":[],"id":"ACB9C150-2EE4-441E-931A-E7DCB104EB3A","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12473},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,1.0)"},"12475":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__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)"},"12476":{"style":{"__isSmartRef__":true,"id":12477},"chunkOwner":{"__isSmartRef__":true,"id":12474},"_id":"_5841","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12477":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12478":{"morph":{"__isSmartRef__":true,"id":12474},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12479":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__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)"},"12480":{"morph":{"__isSmartRef__":true,"id":12473},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12481":{"moveHorizontal":true},"12482":{"sourceObj":{"__isSmartRef__":true,"id":12473},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12365},"targetMethodName":"getCollapseHelp","varMapping":{"__isSmartRef__":true,"id":12483},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12483":{"source":{"__isSmartRef__":true,"id":12473},"target":{"__isSmartRef__":true,"id":12365}},"12484":{"sourceObj":{"__isSmartRef__":true,"id":12473},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12365},"targetMethodName":"toggleCollapse","varMapping":{"__isSmartRef__":true,"id":12485},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12485":{"source":{"__isSmartRef__":true,"id":12473},"target":{"__isSmartRef__":true,"id":12365}},"12486":{"_AppearanceStylingMode":true,"_BorderStylingMode":true,"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(828.0,22.0)","_Padding":"lively.rect(0,0,0,0)"},"12487":{"morph":{"__isSmartRef__":true,"id":12441},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12488":{"resizeWidth":true,"adjustForNewBounds":true},"12489":{"submorphs":[{"__isSmartRef__":true,"id":12490},{"__isSmartRef__":true,"id":12772},{"__isSmartRef__":true,"id":12783},{"__isSmartRef__":true,"id":12604},{"__isSmartRef__":true,"id":12671},{"__isSmartRef__":true,"id":12700},{"__isSmartRef__":true,"id":12729},{"__isSmartRef__":true,"id":12794},{"__isSmartRef__":true,"id":12758},{"__isSmartRef__":true,"id":12499},{"__isSmartRef__":true,"id":12513},{"__isSmartRef__":true,"id":12527},{"__isSmartRef__":true,"id":12541},{"__isSmartRef__":true,"id":12555},{"__isSmartRef__":true,"id":12569},{"__isSmartRef__":true,"id":12583}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12802},"eventHandler":{"__isSmartRef__":true,"id":12803},"_ClipMode":"visible","derivationIds":[],"id":"C5F4A45A-D655-441F-87CB-2AE687C2F459","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12804},"__serializedExpressions__":["_Position"],"locationPane":{"__isSmartRef__":true,"id":12490},"codeBaseDirBtn":{"__isSmartRef__":true,"id":12772},"localDirBtn":{"__isSmartRef__":true,"id":12783},"Pane1":{"__isSmartRef__":true,"id":12604},"Pane2":{"__isSmartRef__":true,"id":12671},"Pane3":{"__isSmartRef__":true,"id":12700},"Pane4":{"__isSmartRef__":true,"id":12729},"midResizer":{"__isSmartRef__":true,"id":12794},"sourcePane":{"__isSmartRef__":true,"id":12758},"ownerWidget":{"__isSmartRef__":true,"id":12497},"owner":{"__isSmartRef__":true,"id":12365},"__LivelyClassName__":"lively.ide.BrowserPanel","__SourceModuleName__":"Global.lively.ide.BrowserFramework","_Position":"lively.pt(4.0,22.0)"},"12490":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12491},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12492}],"eventHandler":{"__isSmartRef__":true,"id":12494},"_ClipMode":"hidden","derivationIds":[],"id":"4629E641-D110-4338-8B8E-D4AE92EBE7BD","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":true,"_HandStyle":null,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12489},"isInputLine":true,"layout":{"__isSmartRef__":true,"id":12495},"noEval":true,"styleClass":["Browser_locationInput"],"attributeConnections":[{"__isSmartRef__":true,"id":12496}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(102,102,102)","_Position":"lively.pt(0.0,0.0)"},"12491":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(656.0,16.5)","_Padding":"lively.rect(1,1,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)"},"12492":{"style":{"__isSmartRef__":true,"id":12493},"chunkOwner":{"__isSmartRef__":true,"id":12490},"_id":"_47","storedString":"http://lively-kernel.org/repository/webwerkstatt/core/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12493":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12494":{"morph":{"__isSmartRef__":true,"id":12490},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12495":{"scaleVertical":true,"scaleHorizontal":true},"12496":{"sourceObj":{"__isSmartRef__":true,"id":12490},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"setTargetURL","varMapping":{"__isSmartRef__":true,"id":12771},"converterString":"function (value) { return new URL(value) }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12497":{"buttonCommands":[{"__isSmartRef__":true,"id":12498},{"__isSmartRef__":true,"id":12512},{"__isSmartRef__":true,"id":12526},{"__isSmartRef__":true,"id":12540},{"__isSmartRef__":true,"id":12554},{"__isSmartRef__":true,"id":12568},{"__isSmartRef__":true,"id":12582}],"RootFilters":[{"__isSmartRef__":true,"id":12596}],"Pane1Filters":[{"__isSmartRef__":true,"id":12597},{"__isSmartRef__":true,"id":12598}],"Pane2Filters":[{"__isSmartRef__":true,"id":12599}],"Pane3Filters":[{"__isSmartRef__":true,"id":12600}],"Pane4Filters":[{"__isSmartRef__":true,"id":12601}],"evaluate":true,"targetURL":{"__isSmartRef__":true,"id":12602},"panel":{"__isSmartRef__":true,"id":12489},"attributeConnections":[{"__isSmartRef__":true,"id":12603},{"__isSmartRef__":true,"id":12670},{"__isSmartRef__":true,"id":12699},{"__isSmartRef__":true,"id":12728},{"__isSmartRef__":true,"id":12757},{"__isSmartRef__":true,"id":12769}],"SourceString":"-----","sourceString":"-----","doNotSerialize":["$$targetURL"],"doNotCopyProperties":["$$targetURL"],"_rootNode":{"__isSmartRef__":true,"id":12609},"Pane1Selection":null,"pane1Selection":null,"Pane2Selection":null,"pane2Selection":null,"Pane3Selection":null,"pane3Selection":null,"Pane4Selection":null,"pane4Selection":null,"Pane4Content":["-----"],"Pane3Content":["-----"],"Pane2Content":["-----"],"Pane1Content":[{"__isSmartRef__":true,"id":12606},{"__isSmartRef__":true,"id":12632},{"__isSmartRef__":true,"id":12633},{"__isSmartRef__":true,"id":12634},{"__isSmartRef__":true,"id":12635},{"__isSmartRef__":true,"id":12636},{"__isSmartRef__":true,"id":12637},{"__isSmartRef__":true,"id":12638},{"__isSmartRef__":true,"id":12639},{"__isSmartRef__":true,"id":12640},{"__isSmartRef__":true,"id":12641},{"__isSmartRef__":true,"id":12642},{"__isSmartRef__":true,"id":12643}],"__LivelyClassName__":"lively.ide.SystemBrowser","__SourceModuleName__":"Global.lively.ide.SystemCodeBrowser"},"12498":{"browser":{"__isSmartRef__":true,"id":12497},"button":{"__isSmartRef__":true,"id":12499},"__LivelyClassName__":"lively.ide.AddNewFileCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"12499":{"submorphs":[{"__isSmartRef__":true,"id":12500}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12505},"eventHandler":{"__isSmartRef__":true,"id":12506},"_ClipMode":"visible","derivationIds":[],"id":"A1CFA0AB-44E0-4D89-9395-F0F6E61150E5","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12500},"_PreviousBorderWidth":1,"command":{"__isSmartRef__":true,"id":12498},"attributeConnections":[{"__isSmartRef__":true,"id":12507},{"__isSmartRef__":true,"id":12509}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":12489},"layout":{"__isSmartRef__":true,"id":12511},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,220.0)"},"12500":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12501},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12502}],"eventHandler":{"__isSmartRef__":true,"id":12504},"_ClipMode":"hidden","derivationIds":[],"id":"F88A6C00-728D-4A89-A69E-149388EDEB5E","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12499},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"12501":{"__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(117.1,22.0)","_Padding":"lively.rect(0,4,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"12502":{"style":{"__isSmartRef__":true,"id":12503},"chunkOwner":{"__isSmartRef__":true,"id":12500},"_id":"_28","storedString":"Add module","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12503":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12504":{"morph":{"__isSmartRef__":true,"id":12500},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12505":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_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(117.1,22.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"12506":{"morph":{"__isSmartRef__":true,"id":12499},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12507":{"sourceObj":{"__isSmartRef__":true,"id":12499},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12498},"targetMethodName":"trigger","varMapping":{"__isSmartRef__":true,"id":12508},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12508":{"source":{"__isSmartRef__":true,"id":12499},"target":{"__isSmartRef__":true,"id":12498}},"12509":{"sourceObj":{"__isSmartRef__":true,"id":12499},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12499},"targetMethodName":"setLabel","varMapping":{"__isSmartRef__":true,"id":12510},"converterString":"function () { return this.getSourceObj().command.asString() }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12510":{"source":{"__isSmartRef__":true,"id":12499},"target":{"__isSmartRef__":true,"id":12499}},"12511":{"scaleVertical":true,"scaleHorizontal":true},"12512":{"browser":{"__isSmartRef__":true,"id":12497},"button":{"__isSmartRef__":true,"id":12513},"__LivelyClassName__":"lively.ide.AllModulesLoadCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"12513":{"submorphs":[{"__isSmartRef__":true,"id":12514}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12519},"eventHandler":{"__isSmartRef__":true,"id":12520},"_ClipMode":"visible","derivationIds":[],"id":"FC73027E-E795-44D1-B636-91A8C0C8D842","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12514},"_PreviousBorderWidth":1,"command":{"__isSmartRef__":true,"id":12512},"attributeConnections":[{"__isSmartRef__":true,"id":12521},{"__isSmartRef__":true,"id":12523}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":12489},"layout":{"__isSmartRef__":true,"id":12525},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(117.1,220.0)"},"12514":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12515},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12516}],"eventHandler":{"__isSmartRef__":true,"id":12518},"_ClipMode":"hidden","derivationIds":[],"id":"E71D665A-0BF3-4CE5-9045-6038270B95DC","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12513},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"12515":{"__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(117.1,22.0)","_Padding":"lively.rect(0,4,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"12516":{"style":{"__isSmartRef__":true,"id":12517},"chunkOwner":{"__isSmartRef__":true,"id":12514},"_id":"_31","storedString":"Load all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12517":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12518":{"morph":{"__isSmartRef__":true,"id":12514},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12519":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_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(117.1,22.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"12520":{"morph":{"__isSmartRef__":true,"id":12513},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12521":{"sourceObj":{"__isSmartRef__":true,"id":12513},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12512},"targetMethodName":"trigger","varMapping":{"__isSmartRef__":true,"id":12522},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12522":{"source":{"__isSmartRef__":true,"id":12513},"target":{"__isSmartRef__":true,"id":12512}},"12523":{"sourceObj":{"__isSmartRef__":true,"id":12513},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12513},"targetMethodName":"setLabel","varMapping":{"__isSmartRef__":true,"id":12524},"converterString":"function () { return this.getSourceObj().command.asString() }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12524":{"source":{"__isSmartRef__":true,"id":12513},"target":{"__isSmartRef__":true,"id":12513}},"12525":{"scaleVertical":true,"scaleHorizontal":true},"12526":{"browser":{"__isSmartRef__":true,"id":12497},"button":{"__isSmartRef__":true,"id":12527},"__LivelyClassName__":"lively.ide.ShowLineNumbersCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"12527":{"submorphs":[{"__isSmartRef__":true,"id":12528}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12533},"eventHandler":{"__isSmartRef__":true,"id":12534},"_ClipMode":"visible","derivationIds":[],"id":"672BDB6A-FE43-4892-9927-B4935B636DB6","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12528},"_PreviousBorderWidth":1,"command":{"__isSmartRef__":true,"id":12526},"attributeConnections":[{"__isSmartRef__":true,"id":12535},{"__isSmartRef__":true,"id":12537}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":12489},"layout":{"__isSmartRef__":true,"id":12539},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(234.3,220.0)"},"12528":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12529},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12530}],"eventHandler":{"__isSmartRef__":true,"id":12532},"_ClipMode":"hidden","derivationIds":[],"id":"F7D5730B-6812-435D-B4CE-29C78081EA09","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12527},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"12529":{"__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(117.1,22.0)","_Padding":"lively.rect(0,4,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"12530":{"style":{"__isSmartRef__":true,"id":12531},"chunkOwner":{"__isSmartRef__":true,"id":12528},"_id":"_34","storedString":"LineNo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12531":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12532":{"morph":{"__isSmartRef__":true,"id":12528},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12533":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_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(117.1,22.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"12534":{"morph":{"__isSmartRef__":true,"id":12527},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12535":{"sourceObj":{"__isSmartRef__":true,"id":12527},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12526},"targetMethodName":"trigger","varMapping":{"__isSmartRef__":true,"id":12536},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12536":{"source":{"__isSmartRef__":true,"id":12527},"target":{"__isSmartRef__":true,"id":12526}},"12537":{"sourceObj":{"__isSmartRef__":true,"id":12527},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12527},"targetMethodName":"setLabel","varMapping":{"__isSmartRef__":true,"id":12538},"converterString":"function () { return this.getSourceObj().command.asString() }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12538":{"source":{"__isSmartRef__":true,"id":12527},"target":{"__isSmartRef__":true,"id":12527}},"12539":{"scaleVertical":true,"scaleHorizontal":true},"12540":{"browser":{"__isSmartRef__":true,"id":12497},"button":{"__isSmartRef__":true,"id":12541},"__LivelyClassName__":"lively.ide.ParserDebugCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"12541":{"submorphs":[{"__isSmartRef__":true,"id":12542}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12547},"eventHandler":{"__isSmartRef__":true,"id":12548},"_ClipMode":"visible","derivationIds":[],"id":"383927CB-8A11-44CD-BD1F-8680D74D5F60","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12542},"_PreviousBorderWidth":1,"command":{"__isSmartRef__":true,"id":12540},"attributeConnections":[{"__isSmartRef__":true,"id":12549},{"__isSmartRef__":true,"id":12551}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":12489},"layout":{"__isSmartRef__":true,"id":12553},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(351.4,220.0)"},"12542":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12543},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12544}],"eventHandler":{"__isSmartRef__":true,"id":12546},"_ClipMode":"hidden","derivationIds":[],"id":"18837D56-9E3C-43AD-853C-D65E2DA67A20","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12541},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"12543":{"__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(117.1,22.0)","_Padding":"lively.rect(0,4,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"12544":{"style":{"__isSmartRef__":true,"id":12545},"chunkOwner":{"__isSmartRef__":true,"id":12542},"_id":"_37","storedString":"Dbg errors is off","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12545":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12546":{"morph":{"__isSmartRef__":true,"id":12542},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12547":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_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(117.1,22.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"12548":{"morph":{"__isSmartRef__":true,"id":12541},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12549":{"sourceObj":{"__isSmartRef__":true,"id":12541},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12540},"targetMethodName":"trigger","varMapping":{"__isSmartRef__":true,"id":12550},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12550":{"source":{"__isSmartRef__":true,"id":12541},"target":{"__isSmartRef__":true,"id":12540}},"12551":{"sourceObj":{"__isSmartRef__":true,"id":12541},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12541},"targetMethodName":"setLabel","varMapping":{"__isSmartRef__":true,"id":12552},"converterString":"function () { return this.getSourceObj().command.asString() }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12552":{"source":{"__isSmartRef__":true,"id":12541},"target":{"__isSmartRef__":true,"id":12541}},"12553":{"scaleVertical":true,"scaleHorizontal":true},"12554":{"browser":{"__isSmartRef__":true,"id":12497},"button":{"__isSmartRef__":true,"id":12555},"__LivelyClassName__":"lively.ide.EvaluateCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"12555":{"submorphs":[{"__isSmartRef__":true,"id":12556}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12561},"eventHandler":{"__isSmartRef__":true,"id":12562},"_ClipMode":"visible","derivationIds":[],"id":"5A0FE848-C05C-4AF8-A899-8778F67C4AA5","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12556},"_PreviousBorderWidth":1,"command":{"__isSmartRef__":true,"id":12554},"attributeConnections":[{"__isSmartRef__":true,"id":12563},{"__isSmartRef__":true,"id":12565}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":12489},"layout":{"__isSmartRef__":true,"id":12567},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(468.6,220.0)"},"12556":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12557},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12558}],"eventHandler":{"__isSmartRef__":true,"id":12560},"_ClipMode":"hidden","derivationIds":[],"id":"8C7FD6E9-7F24-4B60-82AC-646FA65B5E01","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12555},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"12557":{"__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(117.1,22.0)","_Padding":"lively.rect(0,4,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"12558":{"style":{"__isSmartRef__":true,"id":12559},"chunkOwner":{"__isSmartRef__":true,"id":12556},"_id":"_40","storedString":"Eval on","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12559":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12560":{"morph":{"__isSmartRef__":true,"id":12556},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12561":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_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(117.1,22.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"12562":{"morph":{"__isSmartRef__":true,"id":12555},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12563":{"sourceObj":{"__isSmartRef__":true,"id":12555},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12554},"targetMethodName":"trigger","varMapping":{"__isSmartRef__":true,"id":12564},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12564":{"source":{"__isSmartRef__":true,"id":12555},"target":{"__isSmartRef__":true,"id":12554}},"12565":{"sourceObj":{"__isSmartRef__":true,"id":12555},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12555},"targetMethodName":"setLabel","varMapping":{"__isSmartRef__":true,"id":12566},"converterString":"function () { return this.getSourceObj().command.asString() }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12566":{"source":{"__isSmartRef__":true,"id":12555},"target":{"__isSmartRef__":true,"id":12555}},"12567":{"scaleVertical":true,"scaleHorizontal":true},"12568":{"browser":{"__isSmartRef__":true,"id":12497},"button":{"__isSmartRef__":true,"id":12569},"__LivelyClassName__":"lively.ide.SortCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"12569":{"submorphs":[{"__isSmartRef__":true,"id":12570}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12575},"eventHandler":{"__isSmartRef__":true,"id":12576},"_ClipMode":"visible","derivationIds":[],"id":"5C280A88-0AA3-458A-A672-8A2B1217C48A","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12570},"_PreviousBorderWidth":1,"command":{"__isSmartRef__":true,"id":12568},"attributeConnections":[{"__isSmartRef__":true,"id":12577},{"__isSmartRef__":true,"id":12579}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":12489},"layout":{"__isSmartRef__":true,"id":12581},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(585.7,220.0)"},"12570":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12571},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12572}],"eventHandler":{"__isSmartRef__":true,"id":12574},"_ClipMode":"hidden","derivationIds":[],"id":"412B6578-3108-486F-A4DC-44ECFF505FC8","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12569},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"12571":{"__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(117.1,22.0)","_Padding":"lively.rect(0,4,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"12572":{"style":{"__isSmartRef__":true,"id":12573},"chunkOwner":{"__isSmartRef__":true,"id":12570},"_id":"_43","storedString":"Sort","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12573":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12574":{"morph":{"__isSmartRef__":true,"id":12570},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12575":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_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(117.1,22.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"12576":{"morph":{"__isSmartRef__":true,"id":12569},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12577":{"sourceObj":{"__isSmartRef__":true,"id":12569},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12568},"targetMethodName":"trigger","varMapping":{"__isSmartRef__":true,"id":12578},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12578":{"source":{"__isSmartRef__":true,"id":12569},"target":{"__isSmartRef__":true,"id":12568}},"12579":{"sourceObj":{"__isSmartRef__":true,"id":12569},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12569},"targetMethodName":"setLabel","varMapping":{"__isSmartRef__":true,"id":12580},"converterString":"function () { return this.getSourceObj().command.asString() }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12580":{"source":{"__isSmartRef__":true,"id":12569},"target":{"__isSmartRef__":true,"id":12569}},"12581":{"scaleVertical":true,"scaleHorizontal":true},"12582":{"browser":{"__isSmartRef__":true,"id":12497},"button":{"__isSmartRef__":true,"id":12583},"__LivelyClassName__":"lively.ide.ViewSourceCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"12583":{"submorphs":[{"__isSmartRef__":true,"id":12584}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12589},"eventHandler":{"__isSmartRef__":true,"id":12590},"_ClipMode":"visible","derivationIds":[],"id":"9EE0DACD-0305-4C8D-8A4D-EA50C1418E9F","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12584},"_PreviousBorderWidth":1,"command":{"__isSmartRef__":true,"id":12582},"attributeConnections":[{"__isSmartRef__":true,"id":12591},{"__isSmartRef__":true,"id":12593}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":12489},"layout":{"__isSmartRef__":true,"id":12595},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(702.9,220.0)"},"12584":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12585},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12586}],"eventHandler":{"__isSmartRef__":true,"id":12588},"_ClipMode":"hidden","derivationIds":[],"id":"8C713909-2B6B-4484-8E97-E5916FBF46AB","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12583},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"12585":{"__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(117.1,22.0)","_Padding":"lively.rect(0,4,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"12586":{"style":{"__isSmartRef__":true,"id":12587},"chunkOwner":{"__isSmartRef__":true,"id":12584},"_id":"_46","storedString":"View as...","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12587":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12588":{"morph":{"__isSmartRef__":true,"id":12584},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12589":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_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(117.1,22.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"12590":{"morph":{"__isSmartRef__":true,"id":12583},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12591":{"sourceObj":{"__isSmartRef__":true,"id":12583},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12582},"targetMethodName":"trigger","varMapping":{"__isSmartRef__":true,"id":12592},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12592":{"source":{"__isSmartRef__":true,"id":12583},"target":{"__isSmartRef__":true,"id":12582}},"12593":{"sourceObj":{"__isSmartRef__":true,"id":12583},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12583},"targetMethodName":"setLabel","varMapping":{"__isSmartRef__":true,"id":12594},"converterString":"function () { return this.getSourceObj().command.asString() }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12594":{"source":{"__isSmartRef__":true,"id":12583},"target":{"__isSmartRef__":true,"id":12583}},"12595":{"scaleVertical":true,"scaleHorizontal":true},"12596":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"12597":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"12598":{"attributes":["isClassNode","isGrammarNode","isChangeNode","isFunctionNode","isObjectNode"],"__LivelyClassName__":"lively.ide.NodeTypeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"12599":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"12600":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"12601":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"12602":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"12603":{"sourceObj":{"__isSmartRef__":true,"id":12497},"sourceAttrName":"setPane1Content","targetObj":{"__isSmartRef__":true,"id":12604},"targetMethodName":"updateList","varMapping":{"__isSmartRef__":true,"id":12669},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12604":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12605},"itemList":[{"__isSmartRef__":true,"id":12606},{"__isSmartRef__":true,"id":12632},{"__isSmartRef__":true,"id":12633},{"__isSmartRef__":true,"id":12634},{"__isSmartRef__":true,"id":12635},{"__isSmartRef__":true,"id":12636},{"__isSmartRef__":true,"id":12637},{"__isSmartRef__":true,"id":12638},{"__isSmartRef__":true,"id":12639},{"__isSmartRef__":true,"id":12640},{"__isSmartRef__":true,"id":12641},{"__isSmartRef__":true,"id":12642},{"__isSmartRef__":true,"id":12643}],"eventHandler":{"__isSmartRef__":true,"id":12644},"derivationIds":[],"id":"7FDB4711-45BE-4F0C-BAAB-E8628BA53FD6","_FontFamily":"Helvetica","_FontSize":10,"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","__serializedExpressions__":["_Position"],"selection":null,"selectedLineNo":-1,"owner":{"__isSmartRef__":true,"id":12489},"layout":{"__isSmartRef__":true,"id":12645},"attributeConnections":[{"__isSmartRef__":true,"id":12646},{"__isSmartRef__":true,"id":12648},{"__isSmartRef__":true,"id":12650},{"__isSmartRef__":true,"id":12652}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12654},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,16.5)"},"12605":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(205.0,203.5)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)"},"12606":{"isListItem":true,"string":"PartsBin/","value":{"__isSmartRef__":true,"id":12607}},"12607":{"target":{"__isSmartRef__":true,"id":12608},"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"localName":"PartsBin/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12608":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"12609":{"target":{"__isSmartRef__":true,"id":12610},"browser":{"__isSmartRef__":true,"id":12497},"parent":null,"allFiles":["flot.js","experimental.Set.js","mylib.js"],"subNamespacePaths":[{"__isSmartRef__":true,"id":12611},{"__isSmartRef__":true,"id":12612},{"__isSmartRef__":true,"id":12608},{"__isSmartRef__":true,"id":12613},{"__isSmartRef__":true,"id":12614},{"__isSmartRef__":true,"id":12615},{"__isSmartRef__":true,"id":12616},{"__isSmartRef__":true,"id":12617}],"parentNamespacePath":{"__isSmartRef__":true,"id":12618},"_childNodes":[{"__isSmartRef__":true,"id":12607},{"__isSmartRef__":true,"id":12619},{"__isSmartRef__":true,"id":12620},{"__isSmartRef__":true,"id":12621},{"__isSmartRef__":true,"id":12622},{"__isSmartRef__":true,"id":12623},{"__isSmartRef__":true,"id":12624},{"__isSmartRef__":true,"id":12625},{"__isSmartRef__":true,"id":12626},{"__isSmartRef__":true,"id":12627},{"__isSmartRef__":true,"id":12628},{"__isSmartRef__":true,"id":12629},{"__isSmartRef__":true,"id":12630}],"__LivelyClassName__":"lively.ide.SourceControlNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12610":{"__LivelyClassName__":"AnotherSourceDatabase","__SourceModuleName__":"Global.lively.ide.SourceDatabase"},"12611":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/media/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"12612":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/cop/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"12613":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/apps/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"12614":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/styles/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"12615":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"12616":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/ometa/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"12617":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/lib/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"12618":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/../","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"12619":{"target":{"__isSmartRef__":true,"id":12613},"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"localName":"apps/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12620":{"target":{"__isSmartRef__":true,"id":12612},"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"localName":"cop/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12621":{"target":{"__isSmartRef__":true,"id":12617},"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"localName":"lib/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12622":{"target":{"__isSmartRef__":true,"id":12615},"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"localName":"lively/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12623":{"target":{"__isSmartRef__":true,"id":12611},"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"localName":"media/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12624":{"target":{"__isSmartRef__":true,"id":12616},"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"localName":"ometa/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12625":{"target":{"__isSmartRef__":true,"id":12614},"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"localName":"styles/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12626":{"target":{"__isSmartRef__":true,"id":12618},"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"localName":"../","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12627":{"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"moduleName":"experimental.Set.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12628":{"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"moduleName":"flot.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12629":{"browser":{"__isSmartRef__":true,"id":12497},"parent":{"__isSmartRef__":true,"id":12609},"moduleName":"mylib.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"12630":{"target":{"__isSmartRef__":true,"id":12631},"browser":{"__isSmartRef__":true,"id":12497},"__LivelyClassName__":"lively.ide.ChangeSetNode","__SourceModuleName__":"Global.lively.ide.LocalBrowser"},"12631":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"12632":{"isListItem":true,"string":"apps/","value":{"__isSmartRef__":true,"id":12619}},"12633":{"isListItem":true,"string":"cop/","value":{"__isSmartRef__":true,"id":12620}},"12634":{"isListItem":true,"string":"lib/","value":{"__isSmartRef__":true,"id":12621}},"12635":{"isListItem":true,"string":"lively/","value":{"__isSmartRef__":true,"id":12622}},"12636":{"isListItem":true,"string":"media/","value":{"__isSmartRef__":true,"id":12623}},"12637":{"isListItem":true,"string":"ometa/","value":{"__isSmartRef__":true,"id":12624}},"12638":{"isListItem":true,"string":"styles/","value":{"__isSmartRef__":true,"id":12625}},"12639":{"isListItem":true,"string":"../","value":{"__isSmartRef__":true,"id":12626}},"12640":{"isListItem":true,"string":"experimental.Set.js (not parsed)","value":{"__isSmartRef__":true,"id":12627}},"12641":{"isListItem":true,"string":"flot.js (not parsed)","value":{"__isSmartRef__":true,"id":12628}},"12642":{"isListItem":true,"string":"mylib.js (not parsed)","value":{"__isSmartRef__":true,"id":12629}},"12643":{"isListItem":true,"string":"Local code","value":{"__isSmartRef__":true,"id":12630}},"12644":{"morph":{"__isSmartRef__":true,"id":12604},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12645":{"scaleVertical":true,"scaleHorizontal":true},"12646":{"sourceObj":{"__isSmartRef__":true,"id":12604},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"setPane1Selection","varMapping":{"__isSmartRef__":true,"id":12647},"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12647":{"source":{"__isSmartRef__":true,"id":12604},"target":{"__isSmartRef__":true,"id":12497}},"12648":{"sourceObj":{"__isSmartRef__":true,"id":12604},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane1Selection","varMapping":{"__isSmartRef__":true,"id":12649},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12649":{"source":{"__isSmartRef__":true,"id":12604},"target":{"__isSmartRef__":true,"id":12497}},"12650":{"sourceObj":{"__isSmartRef__":true,"id":12604},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane1Content","varMapping":{"__isSmartRef__":true,"id":12651},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12651":{"source":{"__isSmartRef__":true,"id":12604},"target":{"__isSmartRef__":true,"id":12497}},"12652":{"sourceObj":{"__isSmartRef__":true,"id":12604},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane1Menu","varMapping":{"__isSmartRef__":true,"id":12653},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12653":{"source":{"__isSmartRef__":true,"id":12604},"target":{"__isSmartRef__":true,"id":12497}},"12654":{"onDownPressed":{"__isSmartRef__":true,"id":12655},"onUpPressed":{"__isSmartRef__":true,"id":12662}},"12655":{"varMapping":{"__isSmartRef__":true,"id":12656},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":12661},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12656":{"this":{"__isSmartRef__":true,"id":12604},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12657}},"12657":{"$super":{"__isSmartRef__":true,"id":12658}},"12658":{"varMapping":{"__isSmartRef__":true,"id":12659},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12660},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12659":{"obj":{"__isSmartRef__":true,"id":12604},"name":"onDownPressed"},"12660":{},"12661":{},"12662":{"varMapping":{"__isSmartRef__":true,"id":12663},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":12668},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12663":{"this":{"__isSmartRef__":true,"id":12604},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12664}},"12664":{"$super":{"__isSmartRef__":true,"id":12665}},"12665":{"varMapping":{"__isSmartRef__":true,"id":12666},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12667},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12666":{"obj":{"__isSmartRef__":true,"id":12604},"name":"onUpPressed"},"12667":{},"12668":{},"12669":{"source":{"__isSmartRef__":true,"id":12497},"target":{"__isSmartRef__":true,"id":12604}},"12670":{"sourceObj":{"__isSmartRef__":true,"id":12497},"sourceAttrName":"setPane2Content","targetObj":{"__isSmartRef__":true,"id":12671},"targetMethodName":"updateList","varMapping":{"__isSmartRef__":true,"id":12698},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12671":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12672},"itemList":["-----"],"eventHandler":{"__isSmartRef__":true,"id":12673},"derivationIds":[],"id":"CB4152DC-8B26-4B6D-A7C8-F7911E9B03D4","_FontFamily":"Helvetica","_FontSize":10,"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","__serializedExpressions__":["_Position"],"selection":null,"selectedLineNo":-1,"owner":{"__isSmartRef__":true,"id":12489},"layout":{"__isSmartRef__":true,"id":12674},"attributeConnections":[{"__isSmartRef__":true,"id":12675},{"__isSmartRef__":true,"id":12677},{"__isSmartRef__":true,"id":12679},{"__isSmartRef__":true,"id":12681}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12683},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(205.0,16.5)"},"12672":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(205.0,203.5)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)"},"12673":{"morph":{"__isSmartRef__":true,"id":12671},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12674":{"scaleVertical":true,"scaleHorizontal":true},"12675":{"sourceObj":{"__isSmartRef__":true,"id":12671},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"setPane2Selection","varMapping":{"__isSmartRef__":true,"id":12676},"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12676":{"source":{"__isSmartRef__":true,"id":12671},"target":{"__isSmartRef__":true,"id":12497}},"12677":{"sourceObj":{"__isSmartRef__":true,"id":12671},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane2Selection","varMapping":{"__isSmartRef__":true,"id":12678},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12678":{"source":{"__isSmartRef__":true,"id":12671},"target":{"__isSmartRef__":true,"id":12497}},"12679":{"sourceObj":{"__isSmartRef__":true,"id":12671},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane2Content","varMapping":{"__isSmartRef__":true,"id":12680},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12680":{"source":{"__isSmartRef__":true,"id":12671},"target":{"__isSmartRef__":true,"id":12497}},"12681":{"sourceObj":{"__isSmartRef__":true,"id":12671},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane2Menu","varMapping":{"__isSmartRef__":true,"id":12682},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12682":{"source":{"__isSmartRef__":true,"id":12671},"target":{"__isSmartRef__":true,"id":12497}},"12683":{"onDownPressed":{"__isSmartRef__":true,"id":12684},"onUpPressed":{"__isSmartRef__":true,"id":12691}},"12684":{"varMapping":{"__isSmartRef__":true,"id":12685},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":12690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12685":{"this":{"__isSmartRef__":true,"id":12671},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12686}},"12686":{"$super":{"__isSmartRef__":true,"id":12687}},"12687":{"varMapping":{"__isSmartRef__":true,"id":12688},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12689},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12688":{"obj":{"__isSmartRef__":true,"id":12671},"name":"onDownPressed"},"12689":{},"12690":{},"12691":{"varMapping":{"__isSmartRef__":true,"id":12692},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":12697},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12692":{"this":{"__isSmartRef__":true,"id":12671},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12693}},"12693":{"$super":{"__isSmartRef__":true,"id":12694}},"12694":{"varMapping":{"__isSmartRef__":true,"id":12695},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12696},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12695":{"obj":{"__isSmartRef__":true,"id":12671},"name":"onUpPressed"},"12696":{},"12697":{},"12698":{"source":{"__isSmartRef__":true,"id":12497},"target":{"__isSmartRef__":true,"id":12671}},"12699":{"sourceObj":{"__isSmartRef__":true,"id":12497},"sourceAttrName":"setPane3Content","targetObj":{"__isSmartRef__":true,"id":12700},"targetMethodName":"updateList","varMapping":{"__isSmartRef__":true,"id":12727},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12700":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12701},"itemList":["-----"],"eventHandler":{"__isSmartRef__":true,"id":12702},"derivationIds":[],"id":"C58D659F-C661-4CDB-A47F-FD2BF839FB64","_FontFamily":"Helvetica","_FontSize":10,"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","__serializedExpressions__":["_Position"],"selection":null,"selectedLineNo":-1,"owner":{"__isSmartRef__":true,"id":12489},"layout":{"__isSmartRef__":true,"id":12703},"attributeConnections":[{"__isSmartRef__":true,"id":12704},{"__isSmartRef__":true,"id":12706},{"__isSmartRef__":true,"id":12708},{"__isSmartRef__":true,"id":12710}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12712},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(410.0,16.5)"},"12701":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(205.0,203.5)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)"},"12702":{"morph":{"__isSmartRef__":true,"id":12700},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12703":{"scaleVertical":true,"scaleHorizontal":true},"12704":{"sourceObj":{"__isSmartRef__":true,"id":12700},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"setPane3Selection","varMapping":{"__isSmartRef__":true,"id":12705},"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12705":{"source":{"__isSmartRef__":true,"id":12700},"target":{"__isSmartRef__":true,"id":12497}},"12706":{"sourceObj":{"__isSmartRef__":true,"id":12700},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane3Selection","varMapping":{"__isSmartRef__":true,"id":12707},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12707":{"source":{"__isSmartRef__":true,"id":12700},"target":{"__isSmartRef__":true,"id":12497}},"12708":{"sourceObj":{"__isSmartRef__":true,"id":12700},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane3Content","varMapping":{"__isSmartRef__":true,"id":12709},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12709":{"source":{"__isSmartRef__":true,"id":12700},"target":{"__isSmartRef__":true,"id":12497}},"12710":{"sourceObj":{"__isSmartRef__":true,"id":12700},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane3Menu","varMapping":{"__isSmartRef__":true,"id":12711},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12711":{"source":{"__isSmartRef__":true,"id":12700},"target":{"__isSmartRef__":true,"id":12497}},"12712":{"onDownPressed":{"__isSmartRef__":true,"id":12713},"onUpPressed":{"__isSmartRef__":true,"id":12720}},"12713":{"varMapping":{"__isSmartRef__":true,"id":12714},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":12719},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12714":{"this":{"__isSmartRef__":true,"id":12700},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12715}},"12715":{"$super":{"__isSmartRef__":true,"id":12716}},"12716":{"varMapping":{"__isSmartRef__":true,"id":12717},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12717":{"obj":{"__isSmartRef__":true,"id":12700},"name":"onDownPressed"},"12718":{},"12719":{},"12720":{"varMapping":{"__isSmartRef__":true,"id":12721},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":12726},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12721":{"this":{"__isSmartRef__":true,"id":12700},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12722}},"12722":{"$super":{"__isSmartRef__":true,"id":12723}},"12723":{"varMapping":{"__isSmartRef__":true,"id":12724},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12725},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12724":{"obj":{"__isSmartRef__":true,"id":12700},"name":"onUpPressed"},"12725":{},"12726":{},"12727":{"source":{"__isSmartRef__":true,"id":12497},"target":{"__isSmartRef__":true,"id":12700}},"12728":{"sourceObj":{"__isSmartRef__":true,"id":12497},"sourceAttrName":"setPane4Content","targetObj":{"__isSmartRef__":true,"id":12729},"targetMethodName":"updateList","varMapping":{"__isSmartRef__":true,"id":12756},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12729":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12730},"itemList":["-----"],"eventHandler":{"__isSmartRef__":true,"id":12731},"derivationIds":[],"id":"FBAED5B4-5416-4360-93F0-DB1314188617","_FontFamily":"Helvetica","_FontSize":10,"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","__serializedExpressions__":["_Position"],"selection":null,"selectedLineNo":-1,"owner":{"__isSmartRef__":true,"id":12489},"layout":{"__isSmartRef__":true,"id":12732},"attributeConnections":[{"__isSmartRef__":true,"id":12733},{"__isSmartRef__":true,"id":12735},{"__isSmartRef__":true,"id":12737},{"__isSmartRef__":true,"id":12739}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12741},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(615.0,16.5)"},"12730":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(205.0,203.5)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)"},"12731":{"morph":{"__isSmartRef__":true,"id":12729},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12732":{"scaleVertical":true,"scaleHorizontal":true},"12733":{"sourceObj":{"__isSmartRef__":true,"id":12729},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"setPane4Selection","varMapping":{"__isSmartRef__":true,"id":12734},"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12734":{"source":{"__isSmartRef__":true,"id":12729},"target":{"__isSmartRef__":true,"id":12497}},"12735":{"sourceObj":{"__isSmartRef__":true,"id":12729},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane4Selection","varMapping":{"__isSmartRef__":true,"id":12736},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12736":{"source":{"__isSmartRef__":true,"id":12729},"target":{"__isSmartRef__":true,"id":12497}},"12737":{"sourceObj":{"__isSmartRef__":true,"id":12729},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane4Content","varMapping":{"__isSmartRef__":true,"id":12738},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12738":{"source":{"__isSmartRef__":true,"id":12729},"target":{"__isSmartRef__":true,"id":12497}},"12739":{"sourceObj":{"__isSmartRef__":true,"id":12729},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"getPane4Menu","varMapping":{"__isSmartRef__":true,"id":12740},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12740":{"source":{"__isSmartRef__":true,"id":12729},"target":{"__isSmartRef__":true,"id":12497}},"12741":{"onDownPressed":{"__isSmartRef__":true,"id":12742},"onUpPressed":{"__isSmartRef__":true,"id":12749}},"12742":{"varMapping":{"__isSmartRef__":true,"id":12743},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":12748},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12743":{"this":{"__isSmartRef__":true,"id":12729},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12744}},"12744":{"$super":{"__isSmartRef__":true,"id":12745}},"12745":{"varMapping":{"__isSmartRef__":true,"id":12746},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12747},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12746":{"obj":{"__isSmartRef__":true,"id":12729},"name":"onDownPressed"},"12747":{},"12748":{},"12749":{"varMapping":{"__isSmartRef__":true,"id":12750},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":12755},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12750":{"this":{"__isSmartRef__":true,"id":12729},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12751}},"12751":{"$super":{"__isSmartRef__":true,"id":12752}},"12752":{"varMapping":{"__isSmartRef__":true,"id":12753},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":12754},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"12753":{"obj":{"__isSmartRef__":true,"id":12729},"name":"onUpPressed"},"12754":{},"12755":{},"12756":{"source":{"__isSmartRef__":true,"id":12497},"target":{"__isSmartRef__":true,"id":12729}},"12757":{"sourceObj":{"__isSmartRef__":true,"id":12497},"sourceAttrName":"setSourceString","targetObj":{"__isSmartRef__":true,"id":12758},"targetMethodName":"setTextString","varMapping":{"__isSmartRef__":true,"id":12768},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12758":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12759},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12760}],"eventHandler":{"__isSmartRef__":true,"id":12762},"_ClipMode":"auto","derivationIds":[],"id":"874ADC03-AE6D-4257-976F-D07B2A64982F","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":true,"_HandStyle":null,"allowInput":true,"_FontFamily":"Courier","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12489},"accessibleInInactiveWindow":true,"layout":{"__isSmartRef__":true,"id":12763},"noEval":true,"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":12764},{"__isSmartRef__":true,"id":12766}],"doNotSerialize":["$$textString","$$savedTextString"],"doNotCopyProperties":["$$textString","$$savedTextString"],"textString":"-----","specialHighlighting":"none","styleClass":["Browser_codePaneText"],"focusHaloBorderWidth":0.5,"_lastSyntaxHighlightTime":2,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,247.5)"},"12759":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"_BorderWidth":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(820.0,302.5)","_Padding":"lively.rect(5,5,0,0)","_BorderColor":"Color.rgb(102,102,102)","_Fill":"Color.rgb(255,255,255)"},"12760":{"style":{"__isSmartRef__":true,"id":12761},"chunkOwner":{"__isSmartRef__":true,"id":12758},"_id":"_23","storedString":"-----","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12761":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"12762":{"morph":{"__isSmartRef__":true,"id":12758},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12763":{"scaleVertical":true,"scaleHorizontal":true},"12764":{"sourceObj":{"__isSmartRef__":true,"id":12758},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":12758},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":12765},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12765":{"source":{"__isSmartRef__":true,"id":12758},"target":{"__isSmartRef__":true,"id":12758}},"12766":{"sourceObj":{"__isSmartRef__":true,"id":12758},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"setSourceString","varMapping":{"__isSmartRef__":true,"id":12767},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12767":{"source":{"__isSmartRef__":true,"id":12758},"target":{"__isSmartRef__":true,"id":12497}},"12768":{"source":{"__isSmartRef__":true,"id":12497},"target":{"__isSmartRef__":true,"id":12758}},"12769":{"sourceObj":{"__isSmartRef__":true,"id":12497},"sourceAttrName":"targetURL","targetObj":{"__isSmartRef__":true,"id":12490},"targetMethodName":"setTextString","varMapping":{"__isSmartRef__":true,"id":12770},"updaterString":"function ($upd, value) { value && $upd(String(value)) }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12770":{"source":{"__isSmartRef__":true,"id":12497},"target":{"__isSmartRef__":true,"id":12490}},"12771":{"source":{"__isSmartRef__":true,"id":12490},"target":{"__isSmartRef__":true,"id":12497}},"12772":{"submorphs":[{"__isSmartRef__":true,"id":12773}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12778},"eventHandler":{"__isSmartRef__":true,"id":12779},"_ClipMode":"visible","derivationIds":[],"id":"BDAC336A-0BDC-42AC-8BFB-9105BC236406","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12773},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":12489},"attributeConnections":[{"__isSmartRef__":true,"id":12780}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":12782},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(656.0,0.0)"},"12773":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12774},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12775}],"eventHandler":{"__isSmartRef__":true,"id":12777},"_ClipMode":"hidden","derivationIds":[],"id":"405A8FA5-2113-4EAD-86A8-683D1FC3D14F","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12772},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"12774":{"__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(98.4,16.5)","_Padding":"lively.rect(2,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"12775":{"style":{"__isSmartRef__":true,"id":12776},"chunkOwner":{"__isSmartRef__":true,"id":12773},"_id":"_24","storedString":"Codebase","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12776":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12777":{"morph":{"__isSmartRef__":true,"id":12773},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12778":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_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(98.4,16.5)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"12779":{"morph":{"__isSmartRef__":true,"id":12772},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12780":{"sourceObj":{"__isSmartRef__":true,"id":12772},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"setTargetURL","varMapping":{"__isSmartRef__":true,"id":12781},"converterString":"function () { return URL.codeBase.withFilename('lively/')}","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12781":{"source":{"__isSmartRef__":true,"id":12772},"target":{"__isSmartRef__":true,"id":12497}},"12782":{"scaleVertical":true,"scaleHorizontal":true},"12783":{"submorphs":[{"__isSmartRef__":true,"id":12784}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12789},"eventHandler":{"__isSmartRef__":true,"id":12790},"_ClipMode":"visible","derivationIds":[],"id":"558AEAD3-714A-49B6-881D-B2ED0BBFAAA6","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":12784},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":12489},"attributeConnections":[{"__isSmartRef__":true,"id":12791}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":12793},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(754.4,0.0)"},"12784":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12785},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":12786}],"eventHandler":{"__isSmartRef__":true,"id":12788},"_ClipMode":"hidden","derivationIds":[],"id":"EDA18DE6-CA9C-4EE6-BE08-B7E3427C490E","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12783},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"12785":{"__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(65.6,16.5)","_Padding":"lively.rect(2,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"12786":{"style":{"__isSmartRef__":true,"id":12787},"chunkOwner":{"__isSmartRef__":true,"id":12784},"_id":"_25","storedString":"Local","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12787":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12788":{"morph":{"__isSmartRef__":true,"id":12784},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12789":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_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(65.6,16.5)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"12790":{"morph":{"__isSmartRef__":true,"id":12783},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12791":{"sourceObj":{"__isSmartRef__":true,"id":12783},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12497},"targetMethodName":"setTargetURL","varMapping":{"__isSmartRef__":true,"id":12792},"converterString":"function () {\n return $world.getUserName() ? $world.getUserDir() : URL.source.getDirectory() }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12792":{"source":{"__isSmartRef__":true,"id":12783},"target":{"__isSmartRef__":true,"id":12497}},"12793":{"scaleVertical":true,"scaleHorizontal":true},"12794":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12795},"eventHandler":{"__isSmartRef__":true,"id":12800},"_ClipMode":"visible","derivationIds":[],"id":"A9C814A3-5640-4797-A5F8-60E55CF41BE7","droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"__serializedExpressions__":["_Position"],"fixed":[{"__isSmartRef__":true,"id":12499},{"__isSmartRef__":true,"id":12513},{"__isSmartRef__":true,"id":12527},{"__isSmartRef__":true,"id":12541},{"__isSmartRef__":true,"id":12555},{"__isSmartRef__":true,"id":12569},{"__isSmartRef__":true,"id":12583}],"scalingBelow":[{"__isSmartRef__":true,"id":12758}],"scalingAbove":[{"__isSmartRef__":true,"id":12604},{"__isSmartRef__":true,"id":12671},{"__isSmartRef__":true,"id":12700},{"__isSmartRef__":true,"id":12729}],"minHeight":20,"pointerConnection":null,"owner":{"__isSmartRef__":true,"id":12489},"styleClass":["Browser_resizer"],"layout":{"__isSmartRef__":true,"id":12801},"__LivelyClassName__":"lively.morphic.HorizontalDivider","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,242.0)"},"12795":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"_Fill":{"__isSmartRef__":true,"id":12796},"_BorderRadius":3,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(820.0,5.5)","_Padding":"lively.rect(0,0,0,0)"},"12796":{"stops":[{"__isSmartRef__":true,"id":12797},{"__isSmartRef__":true,"id":12798},{"__isSmartRef__":true,"id":12799}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12797":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(235,235,235)"},"12798":{"offset":0.5,"__serializedExpressions__":["color"],"color":"Color.rgb(215,215,215)"},"12799":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(184,184,184)"},"12800":{"morph":{"__isSmartRef__":true,"id":12794},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12801":{"scaleVertical":true,"scaleHorizontal":true},"12802":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(820.0,550.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(230,230,230)"},"12803":{"morph":{"__isSmartRef__":true,"id":12489},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12804":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"12805":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Padding","_Extent"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":"lively.rect(0,0,0,0)","_Extent":"lively.pt(828.0,576.0)"},"12806":{"morph":{"__isSmartRef__":true,"id":12365},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12807":{"adjustForNewBounds":true},"12808":{"submorphs":[{"__isSmartRef__":true,"id":12809},{"__isSmartRef__":true,"id":13977},{"__isSmartRef__":true,"id":14053}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14084},"id":"EFBA2D8C-8036-4B65-8C90-06B3675EC1D2","eventHandler":{"__isSmartRef__":true,"id":14085},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":14086},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":12809},"titleBar":{"__isSmartRef__":true,"id":13977},"collapsedTransform":{"__isSmartRef__":true,"id":14087},"expandedTransform":{"__isSmartRef__":true,"id":14088},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":14089},"name":"ObjectEditor1","highlighted":false,"cameForward":false,"showsHalos":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"prevScroll":[0,0],"isCopyMorphRef":true,"morphRefId":16,"derivationIds":[205,"2951753B-EB95-4093-A0DD-249E83AC2204","A32DE788-E06D-492C-B2E6-19C3710B5AE0","96D56291-98FB-42C4-A247-0A20B4183B14","1E6BCC46-3FE3-4950-AE50-9751458F7E18","22248328-5B04-4E39-ADDE-460C107C790F","2F4F6161-9F4C-469E-AF56-24765FF03B72","88EF08D5-C1E7-4B5B-B393-FFF5921009D7","FF731ED6-5217-4053-9B85-77F1BF344BF3","496332F8-A328-4625-A7D5-0DCE90C3D2AE","E57F1D4E-AE08-4CAA-A62D-4E69FC0BFF47","94783CDE-55B0-4198-8477-C0756F2C812F","F03206B8-2964-470C-A335-FF321C7743E5","C60ABA94-4D2A-4524-9239-9B7EA074A0B5","D3FBB0FA-2BFF-4D8C-9632-41EEEDB053AE","FDF9A68D-1149-4666-9946-600CCA238B76","118B9F76-0089-47CC-9C18-9F9FF646339B","B0FFB231-7805-4F89-B4B3-4ACD87687613","76631A8F-F752-4DB8-93ED-1496BC458DF0","04D3062E-744B-4E3D-8B25-5602772A307B","89687ECD-A53A-4C95-B6E8-235EBB9198E9","612A25B8-60DC-488D-AD81-1BFA6E48A0D4","08ED6CF8-0A8B-4DC5-AA4D-6499033DFCEC","9771786C-46ED-4C4F-A876-F8CF0B84E769","5DCB36B2-C2B7-49A2-AB12-014B2944C328","D05AAF5D-5660-4158-8BBA-3F564F04AF6F","885F1822-564C-4189-9B13-6D3D8D7CEFCF","8BEEB84F-C547-44B8-9A1E-4586D5236462","5F90A8DF-CB92-4CD6-803F-F082D3A5C1E1","75E80C8F-4DC1-4C89-8CA2-23A70FDEB44F"],"moved":true,"_ClipMode":"visible","_Rotation":0,"_Scale":1.0100552207170073,"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["contentOffset","collapsedExtent","expandedExtent","prevDragPos","expandedPosition","collapsedPosition","minSize","minExtent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14234},"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"contentOffset":"lively.pt(0.0,22.0)","collapsedExtent":"lively.pt(723.0,268.0)","expandedExtent":"lively.pt(729.0,365.0)","prevDragPos":"lively.pt(1066.6,945.3)","expandedPosition":"lively.pt(26.0,125.0)","collapsedPosition":"lively.pt(21.0,92.9)","minSize":"lively.pt(500.0,300.0)","minExtent":"lively.pt(455.0,268.0)","_Position":"lively.pt(890.4,925.7)"},"12809":{"submorphs":[{"__isSmartRef__":true,"id":12810},{"__isSmartRef__":true,"id":13332},{"__isSmartRef__":true,"id":13167},{"__isSmartRef__":true,"id":13338},{"__isSmartRef__":true,"id":13345},{"__isSmartRef__":true,"id":13367},{"__isSmartRef__":true,"id":13393},{"__isSmartRef__":true,"id":13420},{"__isSmartRef__":true,"id":13044},{"__isSmartRef__":true,"id":13088},{"__isSmartRef__":true,"id":13451},{"__isSmartRef__":true,"id":13542},{"__isSmartRef__":true,"id":13548},{"__isSmartRef__":true,"id":13610},{"__isSmartRef__":true,"id":13653},{"__isSmartRef__":true,"id":13696},{"__isSmartRef__":true,"id":13717}],"scripts":[{"__isSmartRef__":true,"id":13864}],"id":"6FAEA374-BAEF-4268-BC3F-71592FB3DA8F","shape":{"__isSmartRef__":true,"id":13865},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ObjectEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":13866},"eventHandler":{"__isSmartRef__":true,"id":13869},"layout":{"__isSmartRef__":true,"id":13870},"target":{"__isSmartRef__":true,"id":6533},"scriptPane":{"__isSmartRef__":true,"id":13044},"scriptList":{"__isSmartRef__":true,"id":12810},"connectionList":{"__isSmartRef__":true,"id":13167},"morphSelector":{"__isSmartRef__":true,"id":13451},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"changeIndicator":{"__isSmartRef__":true,"id":13088},"isBeingDragged":false,"prevScroll":[0,0],"grabbingEnabled":false,"draggingEnabled":false,"currentCategory":null,"tagChooser":{"__isSmartRef__":true,"id":13548},"currentTag":null,"derivationIds":[206,"3BDE080D-3D60-4BB9-A690-E6001350F596","00E28CBF-E803-4BC0-93CC-651AC21008A5","1B7E7936-0145-47E4-8433-DFE58134E74B","422B98E3-E52B-4057-9C28-865873682DE1","BCDE8D30-ECC2-4883-9587-2518B6822233","BA6D5198-5AC2-4A63-9597-D4CF98A99CA9","17E22972-5EBC-4511-9779-05E9E665D899","C6F34039-F423-4223-8D6A-85611A138372","7EC3BECE-1BDA-471D-B14C-C4FB822AA55C","88F702A6-6067-4160-8561-54FAD27ADB17","738F5E09-C109-4CD0-B5F5-418A6227ABA0","0DC59884-6397-4391-A9A7-FB6F9F97E5AD","14C76016-3134-4E27-8E8F-AF9EE6ACCF4E","FEB1641E-DEA0-449B-B5E5-D3946457A986","5A09E61D-0939-46DD-B099-6337F45EAD81","42A37CDC-8F21-49BA-A701-B98418EF4AEC","FCE84B47-1667-482B-B035-D2C3C7F53837","F49E6D79-2AEB-41FC-8057-A25A4C7D4F92","7B115C74-E409-42A1-9FCB-2DEB53C88CD6","1D3B45A6-5E60-4FD3-900A-288DB80F5262","5BC7B59B-3F80-49C6-BF71-F3777B7D4867","22651992-9C38-474F-B720-F2FC4B1D9A0E","80BF85C2-6727-4766-861C-09C225341FEA","ADC6838F-0BD6-456E-8BD7-A62A9A80285C","9BBAD88A-5DC6-4051-A7CA-4C3F918DD733","0C73D724-E7A5-4AAE-9449-D414B1F3E04E","B341D9BF-D6FF-4ED9-A0AE-A8BDA4C1C35F","19CCEF38-2A49-48DF-BEFD-D5096BA3A758","CB78359F-A158-4EA7-8E3D-8F2C1B6580E5"],"owner":{"__isSmartRef__":true,"id":12808},"partTests":{"__isSmartRef__":true,"id":13871},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13872},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(350.2,-3.2)","_Position":"lively.pt(1.0,21.5)"},"12810":{"submorphs":[],"scripts":[],"id":"AF9F4F1D-0B25-404C-A3AC-41FA5AD838D9","shape":{"__isSmartRef__":true,"id":12811},"droppingEnabled":true,"halosEnabled":true,"itemList":["-- ALL --","ABPdone","ABPinit","ABPreturn","ABPstop","addNode","arrangeNode","autorun","buildSkeleton","clean","connect","drawSkeleton","finishStep","getGame","getMovesCount","getNewEdge","getNewNode","init","initAlgorithm","makeStep","NegaMaxInit","resize","setState","showOriginalState","showStateOf"],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorScriptList","partsBinMetaInfo":{"__isSmartRef__":true,"id":12812},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":12809},"prevScroll":[0,16],"attributeConnections":[{"__isSmartRef__":true,"id":12813}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"layout":{"__isSmartRef__":true,"id":12815},"doitContext":{"__isSmartRef__":true,"id":12816},"eventHandler":{"__isSmartRef__":true,"id":13323},"_FontSize":10,"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":17,"currentCategory":null,"derivationIds":[207,"D87334B5-DFB8-438D-8038-D2C55A798E3B","4242A24B-D284-4130-BB19-C1AB8C7E96CB","1F2230C1-4745-4EED-8827-5D3FC0EA8D8A","1260A8AA-AD41-451A-A761-BE75A33282E8","11AABB24-1595-4EDC-95DF-8BC66785F47A","CA99FFE7-13DD-4721-8DE2-6A587B0C65D9","E01A3DAA-0001-4C7C-A6A7-449C3945A3E6","8C3C70BF-E1CE-4FB9-8407-24EA990D4E49","D70897C1-82FA-42AD-9D81-A0698E9072CC","69BB0838-2830-4831-A681-185E03308396","434D4493-4DD6-466F-A202-7364A5829C52","93D99F39-CC07-45EB-9459-5230A80A20D2","4756DE7D-3422-46FC-B24B-5565F597D490","7AF59BEC-20A9-4451-AD6E-39E86979D18D","07109F49-B19B-4C20-8632-697478AA1FFB","DD6C1E85-89E4-4619-A9B8-6CF6A5E7AD71","C9C566DA-2167-4866-B606-6D9467CC5763","43A75FC1-E0E6-4B7B-84B5-382D18881361","1EE4A800-07BC-4687-B972-0360A139A335","52766A7B-F1AC-4B5D-AFA9-3CBEC45A4175","500ABFF2-CC61-403C-B40B-C38B13EB829E","CCC6F1D7-B08E-4106-A54C-3CB27FAE885A","DD77BBCF-FA2D-4EEF-80E5-DFD0CFAC257E","FBF51FE1-3F15-48F1-9968-35CE0F17558A","0435127D-922E-4618-BBE2-72674C58772C","7A26603F-1566-41BE-B32D-6B17A7FAF107","236EA689-19AE-4C3D-BA95-EA5786184C70","331932E3-0E70-4FF1-8CD0-11921E2FF30E","B826CD75-9134-4A06-BC7D-791974BC6735"],"selection":"ABPdone","_Rotation":0,"_Scale":1,"changeTriggered":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13324},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,63.0)","distanceToDragEvent":"lively.pt(126.0,-14.4)"},"12811":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(180.0,242.8)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"12812":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"12813":{"sourceObj":{"__isSmartRef__":true,"id":12810},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":12809},"targetMethodName":"displaySourceForScript","converterString":"function (value) {\n return (value === '-- ALL --') ? null : value;\n}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":12814},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12814":{"source":{"__isSmartRef__":true,"id":12810},"target":{"__isSmartRef__":true,"id":12809}},"12815":{"resizeHeight":true},"12816":{"submorphs":[],"scripts":[],"id":836,"shape":{"__isSmartRef__":true,"id":12817},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":12818},"titleBar":{"__isSmartRef__":true,"id":12819},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":{"__isSmartRef__":true,"id":12884},"highlighted":true,"_Rotation":0,"_Scale":1,"showsHalos":false,"name":"ObjectEditor","target":{"__isSmartRef__":true,"id":12885},"partsBinMetaInfo":{"__isSmartRef__":true,"id":13043},"scriptList":{"__isSmartRef__":true,"id":12810},"scriptPane":{"__isSmartRef__":true,"id":13044},"classButton":{"__isSmartRef__":true,"id":13147},"connectionList":{"__isSmartRef__":true,"id":13167},"targetButton":{"__isSmartRef__":true,"id":13179},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"morphSelector":{"__isSmartRef__":true,"id":13197},"eventHandler":{"__isSmartRef__":true,"id":13270},"cameForward":false,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["contentOffset","expandedExtent","prevDragPos","expandedPosition","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13271},"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"contentOffset":"lively.pt(0.0,22.0)","expandedExtent":"lively.pt(861.5,575.2)","prevDragPos":"lively.pt(613.0,129.0)","expandedPosition":"lively.pt(377.7,419.5)","_Position":"lively.pt(715.5,73.9)"},"12817":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":9.25,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Fill","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(255,255,255)","_Extent":"lively.pt(981.0,585.2)","_BorderColor":"Color.rgb(0,0,0)"},"12818":{"adjustForNewBounds":true},"12819":{"submorphs":[{"__isSmartRef__":true,"id":12820},{"__isSmartRef__":true,"id":12825},{"__isSmartRef__":true,"id":12846},{"__isSmartRef__":true,"id":12861}],"scripts":[],"id":837,"shape":{"__isSmartRef__":true,"id":12877},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12882},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":12816},"label":{"__isSmartRef__":true,"id":12820},"closeButton":{"__isSmartRef__":true,"id":12825},"menuButton":{"__isSmartRef__":true,"id":12846},"collapseButton":{"__isSmartRef__":true,"id":12861},"owner":null,"name":"ObjectEditorTitleBar","_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":12883},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"12820":{"submorphs":[],"scripts":[],"id":838,"shape":{"__isSmartRef__":true,"id":12821},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":12822}],"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"_Align":"center","owner":{"__isSmartRef__":true,"id":12819},"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":12824},"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(20.0,3.0)"},"12821":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":0,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(922.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"12822":{"style":{"__isSmartRef__":true,"id":12823},"chunkOwner":{"__isSmartRef__":true,"id":12820},"storedString":"","_id":"_1341","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12823":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12824":{"morph":{"__isSmartRef__":true,"id":12820},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12825":{"submorphs":[{"__isSmartRef__":true,"id":12826}],"scripts":[],"id":839,"shape":{"__isSmartRef__":true,"id":12831},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":12832},"lighterFill":{"__isSmartRef__":true,"id":12837},"label":{"__isSmartRef__":true,"id":12826},"owner":{"__isSmartRef__":true,"id":12819},"layout":{"__isSmartRef__":true,"id":12842},"attributeConnections":[{"__isSmartRef__":true,"id":12843},{"__isSmartRef__":true,"id":12844}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":12845},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(961.0,3.0)"},"12826":{"submorphs":[],"scripts":[],"id":840,"shape":{"__isSmartRef__":true,"id":12827},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":12828}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12825},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":12830},"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(5,0,0,0)","_Position":"lively.pt(0.0,0.0)"},"12827":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12828":{"style":{"__isSmartRef__":true,"id":12829},"chunkOwner":{"__isSmartRef__":true,"id":12826},"storedString":"","_id":"_1342","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12829":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12830":{"morph":{"__isSmartRef__":true,"id":12826},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12831":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":12832},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12832":{"stops":[{"__isSmartRef__":true,"id":12833},{"__isSmartRef__":true,"id":12834},{"__isSmartRef__":true,"id":12835},{"__isSmartRef__":true,"id":12836}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12833":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"12834":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"12835":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"12836":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"12837":{"stops":[{"__isSmartRef__":true,"id":12838},{"__isSmartRef__":true,"id":12839},{"__isSmartRef__":true,"id":12840},{"__isSmartRef__":true,"id":12841}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12838":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"12839":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12840":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12841":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"12842":{"moveHorizontal":true},"12843":{"sourceObj":{"__isSmartRef__":true,"id":12825},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12816},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12844":{"sourceObj":{"__isSmartRef__":true,"id":12825},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12816},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12845":{"morph":{"__isSmartRef__":true,"id":12825},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12846":{"submorphs":[{"__isSmartRef__":true,"id":12847}],"scripts":[],"id":841,"shape":{"__isSmartRef__":true,"id":12852},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":12832},"lighterFill":{"__isSmartRef__":true,"id":12853},"label":{"__isSmartRef__":true,"id":12847},"owner":{"__isSmartRef__":true,"id":12819},"attributeConnections":[{"__isSmartRef__":true,"id":12858},{"__isSmartRef__":true,"id":12859}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":12860},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"12847":{"submorphs":[],"scripts":[],"id":842,"shape":{"__isSmartRef__":true,"id":12848},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":12849}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12846},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":12851},"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(5,0,0,0)","_Position":"lively.pt(0.0,0.0)"},"12848":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12849":{"style":{"__isSmartRef__":true,"id":12850},"chunkOwner":{"__isSmartRef__":true,"id":12847},"storedString":"","_id":"_1343","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12850":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12851":{"morph":{"__isSmartRef__":true,"id":12847},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12852":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":12832},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12853":{"stops":[{"__isSmartRef__":true,"id":12854},{"__isSmartRef__":true,"id":12855},{"__isSmartRef__":true,"id":12856},{"__isSmartRef__":true,"id":12857}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12854":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"12855":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12856":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12857":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"12858":{"sourceObj":{"__isSmartRef__":true,"id":12846},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12816},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12859":{"sourceObj":{"__isSmartRef__":true,"id":12846},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12816},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12860":{"morph":{"__isSmartRef__":true,"id":12846},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12861":{"submorphs":[{"__isSmartRef__":true,"id":12862}],"scripts":[],"id":843,"shape":{"__isSmartRef__":true,"id":12867},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":12832},"lighterFill":{"__isSmartRef__":true,"id":12868},"label":{"__isSmartRef__":true,"id":12862},"owner":{"__isSmartRef__":true,"id":12819},"layout":{"__isSmartRef__":true,"id":12873},"attributeConnections":[{"__isSmartRef__":true,"id":12874},{"__isSmartRef__":true,"id":12875}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":12876},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(942.0,3.0)"},"12862":{"submorphs":[],"scripts":[],"id":844,"shape":{"__isSmartRef__":true,"id":12863},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":12864}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12861},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":12866},"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(5,0,0,0)","_Position":"lively.pt(0.0,0.0)"},"12863":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12864":{"style":{"__isSmartRef__":true,"id":12865},"chunkOwner":{"__isSmartRef__":true,"id":12862},"storedString":"","_id":"_1344","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12865":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12866":{"morph":{"__isSmartRef__":true,"id":12862},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12867":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":12832},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12868":{"stops":[{"__isSmartRef__":true,"id":12869},{"__isSmartRef__":true,"id":12870},{"__isSmartRef__":true,"id":12871},{"__isSmartRef__":true,"id":12872}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12869":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"12870":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12871":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12872":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"12873":{"moveHorizontal":true},"12874":{"sourceObj":{"__isSmartRef__":true,"id":12861},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12816},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12875":{"sourceObj":{"__isSmartRef__":true,"id":12861},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12816},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12876":{"morph":{"__isSmartRef__":true,"id":12861},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12877":{"_BorderWidth":2,"_Fill":{"__isSmartRef__":true,"id":12878},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(981.0,22.0)","_BorderColor":"Color.rgb(102,102,102)"},"12878":{"stops":[{"__isSmartRef__":true,"id":12879},{"__isSmartRef__":true,"id":12880},{"__isSmartRef__":true,"id":12881}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,1,0,-1)"},"12879":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(184,184,184)"},"12880":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(230,230,230)"},"12881":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(184,184,184)"},"12882":{"resizeWidth":true,"adjustForNewBounds":true},"12883":{"morph":{"__isSmartRef__":true,"id":12819},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12884":{"a":1,"b":0,"c":0,"d":1,"e":377.6609726943286,"f":419.5142810783999,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12885":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12886},"id":394,"textChunks":[{"__isSmartRef__":true,"id":12887}],"eventHandler":{"__isSmartRef__":true,"id":12889},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_MaxTextWidth":500,"_MaxTextHeight":200,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12890},"layout":{"__isSmartRef__":true,"id":12962},"doitContext":{"__isSmartRef__":true,"id":12963},"priorSelectionRange":[0,36],"charsReplaced":"","lastFindLoc":20,"showsHalos":false,"__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(2,1,0,0)","_Position":"lively.pt(0.0,22.0)"},"12886":{"_BorderWidth":2,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(500.0,200.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)"},"12887":{"style":{"__isSmartRef__":true,"id":12888},"chunkOwner":{"__isSmartRef__":true,"id":12885},"storedString":"","_id":"_1353","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12888":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12889":{"morph":{"__isSmartRef__":true,"id":12885},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12890":{"submorphs":[{"__isSmartRef__":true,"id":12885},{"__isSmartRef__":true,"id":12891}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12959},"id":395,"eventHandler":{"__isSmartRef__":true,"id":12960},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":12961},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":12885},"titleBar":{"__isSmartRef__":true,"id":12891},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"cameForward":false,"showsHalos":false,"__serializedExpressions__":["_Position","contentOffset","prevDragPos"],"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(1234.0,448.0)","contentOffset":"lively.pt(0.0,22.0)","prevDragPos":"lively.pt(1478.0,453.0)"},"12891":{"submorphs":[{"__isSmartRef__":true,"id":12892},{"__isSmartRef__":true,"id":12898},{"__isSmartRef__":true,"id":12921},{"__isSmartRef__":true,"id":12938}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12956},"id":396,"eventHandler":{"__isSmartRef__":true,"id":12957},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":12958},"windowMorph":{"__isSmartRef__":true,"id":12890},"label":{"__isSmartRef__":true,"id":12892},"closeButton":{"__isSmartRef__":true,"id":12898},"menuButton":{"__isSmartRef__":true,"id":12921},"collapseButton":{"__isSmartRef__":true,"id":12938},"owner":{"__isSmartRef__":true,"id":12890},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"12892":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12893},"id":397,"textChunks":[{"__isSmartRef__":true,"id":12894}],"eventHandler":{"__isSmartRef__":true,"id":12896},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":12897},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":12891},"_MaxTextWidth":441,"_MaxTextHeight":17,"__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(20.0,3.0)"},"12893":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":0,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(441.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"12894":{"style":{"__isSmartRef__":true,"id":12895},"chunkOwner":{"__isSmartRef__":true,"id":12892},"storedString":"","_id":"_1345","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12895":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12896":{"morph":{"__isSmartRef__":true,"id":12892},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12897":{"resizeWidth":true},"12898":{"submorphs":[{"__isSmartRef__":true,"id":12899}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12904},"id":398,"eventHandler":{"__isSmartRef__":true,"id":12910},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":12905},"lighterFill":{"__isSmartRef__":true,"id":12911},"label":{"__isSmartRef__":true,"id":12899},"owner":{"__isSmartRef__":true,"id":12891},"layout":{"__isSmartRef__":true,"id":12916},"attributeConnections":[{"__isSmartRef__":true,"id":12917},{"__isSmartRef__":true,"id":12919}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(480.0,3.0)"},"12899":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12900},"id":399,"textChunks":[{"__isSmartRef__":true,"id":12901}],"eventHandler":{"__isSmartRef__":true,"id":12903},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12898},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"12900":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12901":{"style":{"__isSmartRef__":true,"id":12902},"chunkOwner":{"__isSmartRef__":true,"id":12899},"storedString":"","_id":"_1346","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12902":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12903":{"morph":{"__isSmartRef__":true,"id":12899},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12904":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":12905},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12905":{"stops":[{"__isSmartRef__":true,"id":12906},{"__isSmartRef__":true,"id":12907},{"__isSmartRef__":true,"id":12908},{"__isSmartRef__":true,"id":12909}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12906":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"12907":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"12908":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"12909":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"12910":{"morph":{"__isSmartRef__":true,"id":12898},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12911":{"stops":[{"__isSmartRef__":true,"id":12912},{"__isSmartRef__":true,"id":12913},{"__isSmartRef__":true,"id":12914},{"__isSmartRef__":true,"id":12915}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12912":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"12913":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12914":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12915":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"12916":{"moveHorizontal":true},"12917":{"sourceObj":{"__isSmartRef__":true,"id":12898},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12890},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":12918},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12918":{"source":{"__isSmartRef__":true,"id":12898},"target":{"__isSmartRef__":true,"id":12890}},"12919":{"sourceObj":{"__isSmartRef__":true,"id":12898},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12890},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":12920},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12920":{"source":{"__isSmartRef__":true,"id":12898},"target":{"__isSmartRef__":true,"id":12890}},"12921":{"submorphs":[{"__isSmartRef__":true,"id":12922}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12927},"id":400,"eventHandler":{"__isSmartRef__":true,"id":12928},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":12905},"lighterFill":{"__isSmartRef__":true,"id":12929},"label":{"__isSmartRef__":true,"id":12922},"owner":{"__isSmartRef__":true,"id":12891},"attributeConnections":[{"__isSmartRef__":true,"id":12934},{"__isSmartRef__":true,"id":12936}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"12922":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12923},"id":401,"textChunks":[{"__isSmartRef__":true,"id":12924}],"eventHandler":{"__isSmartRef__":true,"id":12926},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12921},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"12923":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12924":{"style":{"__isSmartRef__":true,"id":12925},"chunkOwner":{"__isSmartRef__":true,"id":12922},"storedString":"","_id":"_1347","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12925":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12926":{"morph":{"__isSmartRef__":true,"id":12922},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12927":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":12905},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12928":{"morph":{"__isSmartRef__":true,"id":12921},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12929":{"stops":[{"__isSmartRef__":true,"id":12930},{"__isSmartRef__":true,"id":12931},{"__isSmartRef__":true,"id":12932},{"__isSmartRef__":true,"id":12933}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12930":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"12931":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12932":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12933":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"12934":{"sourceObj":{"__isSmartRef__":true,"id":12921},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12890},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":12935},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12935":{"source":{"__isSmartRef__":true,"id":12921},"target":{"__isSmartRef__":true,"id":12890}},"12936":{"sourceObj":{"__isSmartRef__":true,"id":12921},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12890},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":12937},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12937":{"source":{"__isSmartRef__":true,"id":12921},"target":{"__isSmartRef__":true,"id":12890}},"12938":{"submorphs":[{"__isSmartRef__":true,"id":12939}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12944},"id":402,"eventHandler":{"__isSmartRef__":true,"id":12945},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":12905},"lighterFill":{"__isSmartRef__":true,"id":12946},"label":{"__isSmartRef__":true,"id":12939},"owner":{"__isSmartRef__":true,"id":12891},"layout":{"__isSmartRef__":true,"id":12951},"attributeConnections":[{"__isSmartRef__":true,"id":12952},{"__isSmartRef__":true,"id":12954}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(461.0,3.0)"},"12939":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12940},"id":403,"textChunks":[{"__isSmartRef__":true,"id":12941}],"eventHandler":{"__isSmartRef__":true,"id":12943},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12938},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"12940":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12941":{"style":{"__isSmartRef__":true,"id":12942},"chunkOwner":{"__isSmartRef__":true,"id":12939},"storedString":"","_id":"_1348","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12942":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12943":{"morph":{"__isSmartRef__":true,"id":12939},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12944":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":12905},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12945":{"morph":{"__isSmartRef__":true,"id":12938},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12946":{"stops":[{"__isSmartRef__":true,"id":12947},{"__isSmartRef__":true,"id":12948},{"__isSmartRef__":true,"id":12949},{"__isSmartRef__":true,"id":12950}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12947":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"12948":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12949":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12950":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"12951":{"moveHorizontal":true},"12952":{"sourceObj":{"__isSmartRef__":true,"id":12938},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12890},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":12953},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12953":{"source":{"__isSmartRef__":true,"id":12938},"target":{"__isSmartRef__":true,"id":12890}},"12954":{"sourceObj":{"__isSmartRef__":true,"id":12938},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12890},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":12955},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12955":{"source":{"__isSmartRef__":true,"id":12938},"target":{"__isSmartRef__":true,"id":12890}},"12956":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":12878},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(500.0,22.0)","_BorderColor":"Color.rgb(102,102,102)"},"12957":{"morph":{"__isSmartRef__":true,"id":12891},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12958":{"resizeWidth":true,"adjustForNewBounds":true},"12959":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"__serializedExpressions__":["_Extent"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Extent":"lively.pt(500.0,222.0)"},"12960":{"morph":{"__isSmartRef__":true,"id":12890},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12961":{"adjustForNewBounds":true},"12962":{"resizeWidth":true,"resizeHeight":true},"12963":{"submorphs":[{"__isSmartRef__":true,"id":12964},{"__isSmartRef__":true,"id":12971}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13038},"id":361,"eventHandler":{"__isSmartRef__":true,"id":13039},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":13040},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":12964},"titleBar":{"__isSmartRef__":true,"id":12971},"collapsedTransform":{"__isSmartRef__":true,"id":13041},"expandedTransform":{"__isSmartRef__":true,"id":13042},"ignoreEventsOnExpand":false,"owner":null,"showsHalos":false,"highlighted":true,"_Rotation":0,"_Scale":1,"state":"shutdown","__serializedExpressions__":["_Position","contentOffset","collapsedExtent","expandedExtent","prevDragPos","expandedPosition","collapsedPosition"],"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(1131.0,79.0)","contentOffset":"lively.pt(0.0,22.0)","collapsedExtent":"lively.pt(500.0,22.0)","expandedExtent":"lively.pt(500.0,222.0)","prevDragPos":"lively.pt(1507.0,76.0)","expandedPosition":"lively.pt(1131.0,79.0)","collapsedPosition":"lively.pt(1131.0,79.0)"},"12964":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12965},"id":360,"textChunks":[{"__isSmartRef__":true,"id":12966}],"eventHandler":{"__isSmartRef__":true,"id":12968},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,monospace","_MaxTextWidth":500,"_MaxTextHeight":0,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12963},"layout":{"__isSmartRef__":true,"id":12969},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":12970}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1307282796737,"accessibleInInactiveWindow":true,"eventsAreIgnored":false,"_HandStyle":"default","_PointerEvents":"auto","_Visible":true,"charsReplaced":"","lastFindLoc":15,"__serializedExpressions__":["_Padding","_Position"],"textString":"undefined","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(2,1,0,0)","_Position":"lively.pt(0.0,22.0)"},"12965":{"_BorderWidth":2,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(500.0,0.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)"},"12966":{"style":{"__isSmartRef__":true,"id":12967},"chunkOwner":{"__isSmartRef__":true,"id":12964},"_id":"_3","storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12967":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12968":{"morph":{"__isSmartRef__":true,"id":12964},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12969":{"resizeWidth":true,"resizeHeight":true},"12970":{"sourceObj":{"__isSmartRef__":true,"id":12964},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":12964},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12971":{"submorphs":[{"__isSmartRef__":true,"id":12972},{"__isSmartRef__":true,"id":12978},{"__isSmartRef__":true,"id":12996},{"__isSmartRef__":true,"id":13013}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13031},"id":362,"eventHandler":{"__isSmartRef__":true,"id":13036},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":13037},"windowMorph":{"__isSmartRef__":true,"id":12963},"label":{"__isSmartRef__":true,"id":12972},"closeButton":{"__isSmartRef__":true,"id":12978},"menuButton":{"__isSmartRef__":true,"id":12996},"collapseButton":{"__isSmartRef__":true,"id":13013},"owner":{"__isSmartRef__":true,"id":12963},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"12972":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12973},"id":363,"textChunks":[{"__isSmartRef__":true,"id":12974}],"eventHandler":{"__isSmartRef__":true,"id":12976},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":12977},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":12971},"_MaxTextWidth":441,"_MaxTextHeight":17,"__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(20.0,3.0)"},"12973":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":0,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(441.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"12974":{"style":{"__isSmartRef__":true,"id":12975},"chunkOwner":{"__isSmartRef__":true,"id":12972},"storedString":"","_id":"_1349","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12975":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12976":{"morph":{"__isSmartRef__":true,"id":12972},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12977":{"resizeWidth":true},"12978":{"submorphs":[{"__isSmartRef__":true,"id":12979}],"scripts":[],"shape":{"__isSmartRef__":true,"id":12984},"id":364,"eventHandler":{"__isSmartRef__":true,"id":12985},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":12905},"lighterFill":{"__isSmartRef__":true,"id":12986},"label":{"__isSmartRef__":true,"id":12979},"owner":{"__isSmartRef__":true,"id":12971},"layout":{"__isSmartRef__":true,"id":12991},"attributeConnections":[{"__isSmartRef__":true,"id":12992},{"__isSmartRef__":true,"id":12994}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(480.0,3.0)"},"12979":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12980},"id":365,"textChunks":[{"__isSmartRef__":true,"id":12981}],"eventHandler":{"__isSmartRef__":true,"id":12983},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12978},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"12980":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12981":{"style":{"__isSmartRef__":true,"id":12982},"chunkOwner":{"__isSmartRef__":true,"id":12979},"storedString":"","_id":"_1350","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12982":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12983":{"morph":{"__isSmartRef__":true,"id":12979},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12984":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":12905},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12985":{"morph":{"__isSmartRef__":true,"id":12978},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12986":{"stops":[{"__isSmartRef__":true,"id":12987},{"__isSmartRef__":true,"id":12988},{"__isSmartRef__":true,"id":12989},{"__isSmartRef__":true,"id":12990}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"12987":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"12988":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12989":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"12990":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"12991":{"moveHorizontal":true},"12992":{"sourceObj":{"__isSmartRef__":true,"id":12978},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12963},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":12993},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12993":{"source":{"__isSmartRef__":true,"id":12978},"target":{"__isSmartRef__":true,"id":12963}},"12994":{"sourceObj":{"__isSmartRef__":true,"id":12978},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12963},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":12995},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"12995":{"source":{"__isSmartRef__":true,"id":12978},"target":{"__isSmartRef__":true,"id":12963}},"12996":{"submorphs":[{"__isSmartRef__":true,"id":12997}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13002},"id":366,"eventHandler":{"__isSmartRef__":true,"id":13003},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":12905},"lighterFill":{"__isSmartRef__":true,"id":13004},"label":{"__isSmartRef__":true,"id":12997},"owner":{"__isSmartRef__":true,"id":12971},"attributeConnections":[{"__isSmartRef__":true,"id":13009},{"__isSmartRef__":true,"id":13011}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"12997":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12998},"id":367,"textChunks":[{"__isSmartRef__":true,"id":12999}],"eventHandler":{"__isSmartRef__":true,"id":13001},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":12996},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"12998":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"12999":{"style":{"__isSmartRef__":true,"id":13000},"chunkOwner":{"__isSmartRef__":true,"id":12997},"storedString":"","_id":"_1351","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13000":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13001":{"morph":{"__isSmartRef__":true,"id":12997},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13002":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":12905},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"13003":{"morph":{"__isSmartRef__":true,"id":12996},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13004":{"stops":[{"__isSmartRef__":true,"id":13005},{"__isSmartRef__":true,"id":13006},{"__isSmartRef__":true,"id":13007},{"__isSmartRef__":true,"id":13008}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13005":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"13006":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13007":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13008":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"13009":{"sourceObj":{"__isSmartRef__":true,"id":12996},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12963},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":13010},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13010":{"source":{"__isSmartRef__":true,"id":12996},"target":{"__isSmartRef__":true,"id":12963}},"13011":{"sourceObj":{"__isSmartRef__":true,"id":12996},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12963},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":13012},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13012":{"source":{"__isSmartRef__":true,"id":12996},"target":{"__isSmartRef__":true,"id":12963}},"13013":{"submorphs":[{"__isSmartRef__":true,"id":13014}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13019},"id":368,"eventHandler":{"__isSmartRef__":true,"id":13020},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":12905},"lighterFill":{"__isSmartRef__":true,"id":13021},"label":{"__isSmartRef__":true,"id":13014},"owner":{"__isSmartRef__":true,"id":12971},"layout":{"__isSmartRef__":true,"id":13026},"attributeConnections":[{"__isSmartRef__":true,"id":13027},{"__isSmartRef__":true,"id":13029}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(461.0,3.0)"},"13014":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13015},"id":369,"textChunks":[{"__isSmartRef__":true,"id":13016}],"eventHandler":{"__isSmartRef__":true,"id":13018},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":13013},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"13015":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"13016":{"style":{"__isSmartRef__":true,"id":13017},"chunkOwner":{"__isSmartRef__":true,"id":13014},"storedString":"","_id":"_1352","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13017":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13018":{"morph":{"__isSmartRef__":true,"id":13014},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13019":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":12905},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__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)"},"13020":{"morph":{"__isSmartRef__":true,"id":13013},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13021":{"stops":[{"__isSmartRef__":true,"id":13022},{"__isSmartRef__":true,"id":13023},{"__isSmartRef__":true,"id":13024},{"__isSmartRef__":true,"id":13025}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13022":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"13023":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13024":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13025":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"13026":{"moveHorizontal":true},"13027":{"sourceObj":{"__isSmartRef__":true,"id":13013},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":12963},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":13028},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13028":{"source":{"__isSmartRef__":true,"id":13013},"target":{"__isSmartRef__":true,"id":12963}},"13029":{"sourceObj":{"__isSmartRef__":true,"id":13013},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12963},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":13030},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13030":{"source":{"__isSmartRef__":true,"id":13013},"target":{"__isSmartRef__":true,"id":12963}},"13031":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":13032},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(500.0,22.0)","_BorderColor":"Color.rgb(102,102,102)"},"13032":{"stops":[{"__isSmartRef__":true,"id":13033},{"__isSmartRef__":true,"id":13034},{"__isSmartRef__":true,"id":13035}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13033":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(220,220,220)"},"13034":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(243,243,243)"},"13035":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(220,220,220)"},"13036":{"morph":{"__isSmartRef__":true,"id":12971},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13037":{"resizeWidth":true,"adjustForNewBounds":true},"13038":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"__serializedExpressions__":["_Extent","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Extent":"lively.pt(500.0,222.0)","_Position":"lively.pt(0.0,0.0)"},"13039":{"morph":{"__isSmartRef__":true,"id":12963},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13040":{"adjustForNewBounds":true},"13041":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13042":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13043":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Tools","comment":"Edit scripts and connections of a specific morph. Early version.","partName":"ObjectEditor","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13044":{"submorphs":[],"scripts":[],"id":"C12670CD-7D5C-41C6-A85B-FB47DF0E6235","shape":{"__isSmartRef__":true,"id":13045},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,courier","_MaxTextWidth":588.0166612695056,"_MaxTextHeight":null,"textChunks":[{"__isSmartRef__":true,"id":13046},{"__isSmartRef__":true,"id":13048},{"__isSmartRef__":true,"id":13050},{"__isSmartRef__":true,"id":13052},{"__isSmartRef__":true,"id":13054},{"__isSmartRef__":true,"id":13056},{"__isSmartRef__":true,"id":13058},{"__isSmartRef__":true,"id":13060},{"__isSmartRef__":true,"id":13062},{"__isSmartRef__":true,"id":13064},{"__isSmartRef__":true,"id":13066},{"__isSmartRef__":true,"id":13068},{"__isSmartRef__":true,"id":13070},{"__isSmartRef__":true,"id":13072},{"__isSmartRef__":true,"id":13074},{"__isSmartRef__":true,"id":13076},{"__isSmartRef__":true,"id":13078},{"__isSmartRef__":true,"id":13080},{"__isSmartRef__":true,"id":13082}],"layout":{"__isSmartRef__":true,"id":13084},"showsHalos":false,"prevScroll":[0,0],"name":"ObjectEditorScriptPane","charsReplaced":"","lastFindLoc":154,"partsBinMetaInfo":{"__isSmartRef__":true,"id":13085},"_ClipMode":"auto","_FontSize":9,"lastSyntaxHighlightTime":1,"doitContext":{"__isSmartRef__":true,"id":6533},"savedTextString":"// changed at Mon Dec 10 2012 17:21:31 GMT+0100 (CET) by sebastianwoinar \nthis.addScript(function ABPdone() {\n this.abp.done = true;\n alert(\"Done\");\n this.rootNode.markFinalDrawWith(this.rootNode.abp.m);\n}).tag([]);","_Align":"left","lastSearchString":"migrate","eventHandler":{"__isSmartRef__":true,"id":13086},"attributeConnections":[{"__isSmartRef__":true,"id":13087},{"__isSmartRef__":true,"id":13102},{"__isSmartRef__":true,"id":13103}],"doNotSerialize":["$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$textString"],"_MinTextWidth":588.0166612695056,"_MinTextHeight":null,"lastSaveSource":"// changed at Mon Dec 10 2012 17:21:31 GMT+0100 (CET) by sebastianwoinar \nthis.addScript(function ABPdone() {\n this.abp.done = true;\n alert(\"Done\");\n this.rootNode.markFinalDrawWith(this.rootNode.abp.m);\n}).tag([]);","isBeingDragged":false,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":12809},"isCopyMorphRef":true,"morphRefId":1,"statusMorph":{"__isSmartRef__":true,"id":13105},"derivationIds":[219,"DD5046D0-C1D6-412A-83C9-CD7EE63D40E0","4D92BDFD-A599-4154-A197-A4B1292C1619","98551F68-B128-4262-9BC2-6B8AC7C8D7C0","47731662-FF8E-4C0F-A170-FD5C56A06021","3FC7FDE6-156F-4056-BB04-B76D8B6C5472","C1E8D5BB-56F9-47B3-A520-BEEFEF791823","115FC149-EEF9-415A-A5B7-AB0B9D0170A4","0D66FA39-01E7-4F16-840C-4FA0FA14DD10","B0A74693-DE3F-4867-8DC0-61B098A8F0D1","3547765B-E224-48EC-B58F-278C1DC7422E","8561ACCF-315A-46EC-9412-BC5D4C55D437","533D6602-9E1A-414A-9646-0FEF9ECCEBF7","5141CF81-6EA1-419B-97AC-62C22FEFC658","B9E83FD9-9781-4F00-8A07-0C96E0D29D3D","034F48B5-B4B1-4DF5-9FA5-9A9CFB99F43A","70FBC800-1914-4F9C-A8E4-2190F72E2902","64465644-E389-4AA2-BE05-93FB591B45D0","E80928FE-6AC8-4FE0-B0A2-7C7A0C7D5E85","E24E50AD-DCA6-4D01-A523-CC1E4FB09222","27E050B0-3192-426E-B01D-907ECF280A68","A241F064-0186-4F84-A037-84CBD9E0D24D","829776FC-15F2-466D-B5F4-88CC9444B1B8","22E56E25-3268-413C-B033-1DB2D96AFA9B","FD5B6693-EB83-4E16-BEA6-D5E23C7E3D48","0A2AD01B-8B4E-4779-9FDF-A504DBC86B5D","EBDFA302-80A1-48E9-B1B3-6143F685CCFF","AB62E3F9-D889-47F9-922A-C440E6382005","6675A7FB-925B-4D65-9CBE-77F2760A6040","122CA78C-89E9-45CE-ADE1-33219233E35A"],"owner":{"__isSmartRef__":true,"id":12809},"syntaxHighlightingWhileTyping":true,"#startLetters":"enable","_Rotation":0,"_Scale":1,"_syntaxHighlightTimeout":null,"lastSyntaxHighlightTimes":[1,5,7,3,4,5,5,11,10,10],"_lastSyntaxHighlightTime":20,"_WordBreak":"break-all","__serializedExpressions__":["_Padding","distanceToDragEvent","_Position"],"textString":"// changed at Mon Dec 10 2012 17:21:31 GMT+0100 (CET) by sebastianwoinar \nthis.addScript(function ABPdone() {\n this.abp.done = true;\n alert(\"Done\");\n this.rootNode.markFinalDrawWith(this.rootNode.abp.m);\n}).tag([]);","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13110},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(2,1,0,0)","distanceToDragEvent":"lively.pt(341.2,-18.3)","_Position":"lively.pt(200.0,40.0)"},"13045":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"auto","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(580.0,380.8)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"13046":{"style":{"__isSmartRef__":true,"id":13047},"chunkOwner":{"__isSmartRef__":true,"id":13044},"_id":"_10","storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13047":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"13048":{"_id":"_73","style":{"__isSmartRef__":true,"id":13049},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":" changed at Mon Dec 10 2012 17:21:31 GMT+0100 (CET) by sebastianwoinar ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13049":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"13050":{"_id":"_74","style":{"__isSmartRef__":true,"id":13051},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13051":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"13052":{"_id":"_75","style":{"__isSmartRef__":true,"id":13053},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13053":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"13054":{"_id":"_76","style":{"__isSmartRef__":true,"id":13055},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":".addScript(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13055":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"13056":{"_id":"_77","style":{"__isSmartRef__":true,"id":13057},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13057":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"13058":{"_id":"_78","style":{"__isSmartRef__":true,"id":13059},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":" ABPdone() ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13059":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"13060":{"_id":"_79","style":{"__isSmartRef__":true,"id":13061},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13061":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"13062":{"_id":"_80","style":{"__isSmartRef__":true,"id":13063},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13063":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"13064":{"_id":"_81","style":{"__isSmartRef__":true,"id":13065},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13065":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"13066":{"_id":"_82","style":{"__isSmartRef__":true,"id":13067},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":".abp.done = true;\n alert(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13067":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"13068":{"_id":"_83","style":{"__isSmartRef__":true,"id":13069},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":"\"Done\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13069":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,128)"},"13070":{"_id":"_84","style":{"__isSmartRef__":true,"id":13071},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":");\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13071":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"13072":{"_id":"_85","style":{"__isSmartRef__":true,"id":13073},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13073":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"13074":{"_id":"_86","style":{"__isSmartRef__":true,"id":13075},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":".rootNode.markFinalDrawWith(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13075":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"13076":{"_id":"_87","style":{"__isSmartRef__":true,"id":13077},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13077":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"13078":{"_id":"_88","style":{"__isSmartRef__":true,"id":13079},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":".rootNode.abp.m);\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13079":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"13080":{"_id":"_89","style":{"__isSmartRef__":true,"id":13081},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13081":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"13082":{"_id":"_90","style":{"__isSmartRef__":true,"id":13083},"chunkOwner":{"__isSmartRef__":true,"id":13044},"storedString":").tag([]);","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13083":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"13084":{"resizeWidth":true,"resizeHeight":true},"13085":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13086":{"morph":{"__isSmartRef__":true,"id":13044},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13087":{"sourceObj":{"__isSmartRef__":true,"id":13044},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":13088},"targetMethodName":"indicateUnsavedChanges","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13088":{"submorphs":[],"scripts":[],"id":"B1E46375-1D7A-4BED-BD47-F378B5D332ED","shape":{"__isSmartRef__":true,"id":13089},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ChangeIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":13090},"eventHandler":{"__isSmartRef__":true,"id":13091},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":12809},"layout":{"__isSmartRef__":true,"id":13092},"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":26,"derivationIds":[220,"EE491D24-F056-4AFE-A669-7B7048C6C3D1","3FA4A8C3-0FC0-43A0-8C00-00A96F9022E2","62DAD3C6-A81D-450F-B32F-601EA7E619D8","EEDB0C58-5990-481A-A7FF-ACB1A2DF08DD","16F708CB-1259-4A75-BAEF-1A5216C6CB19","97CA61D3-E09B-43CD-9880-D8B36FA303F3","0AF6BEEC-8A57-44FF-9D8D-40BA6CC6A0CD","AF2BEE76-C34F-457E-8699-9896327A4C07","5EC39FF0-602F-44A2-BE3A-04FCA127E5D1","44CEBF61-9A92-4E36-9576-425D5054B471","E9ACF86B-B775-4125-83BC-7E4500597D40","FE62294A-F891-45E4-AAE7-6F386B5A8CB5","8771140D-0D57-4CAF-A57B-857F858CCC73","BE774795-5889-4DB8-A366-1C774555761B","89DA16ED-5636-4C0D-B52F-A327A5526DD6","94DAC0EC-79E9-48E5-90D5-2BB59495BD0B","048AE915-30CF-4DE4-819B-F7D41CE99585","0417EEDD-6B12-4AF1-B7BC-875E32521980","5DFAFB2A-C915-429E-A58C-030C229C9AB8","BD996DFA-D248-4D9C-AF33-C5BA2511A09E","9F92F095-A6B5-46E8-ADA1-051904ABE386","214CA9C7-6225-49ED-A484-C2D8D92B35ED","7258922C-C991-4EF3-A09B-318D8B6A1306","1F8069E8-E7D5-4153-AE2C-96F1782F041F","74FBBDBC-44BA-4111-B3DB-58142522023F","91D6D585-64D8-491A-AAAB-AF0A99533DEC","1761630D-17E9-4E04-A73C-9D15C26E19E3","B8E628C4-20D6-4B26-B820-A8D07194CE6F","6511B508-3FE2-4BDC-906A-D4E827163B0D"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","savedColor","alarmColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13093},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(782.0,40.0)","savedColor":"Color.rgb(0,0,0)","alarmColor":"Color.rgb(240,0,0)","distanceToDragEvent":"lively.pt(37.3,-17.5)"},"13089":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(8.6,9.7)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"13090":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13091":{"morph":{"__isSmartRef__":true,"id":13088},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13092":{"moveHorizontal":true,"adjustForNewBounds":true},"13093":{"indicateUnsavedChanges":{"__isSmartRef__":true,"id":13094},"setColors":{"__isSmartRef__":true,"id":13098}},"13094":{"varMapping":{"__isSmartRef__":true,"id":13095},"source":"function indicateUnsavedChanges() {\n if (this.owner.scriptPane.hasChanged()) {\n this.setColors(this.alarmColor);\n } else {\n this.setColors(this.savedColor);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13096},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13095":{"this":{"__isSmartRef__":true,"id":13088}},"13096":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":13097}},"13097":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:09:19 GMT+0200 (CEST)"},"13098":{"varMapping":{"__isSmartRef__":true,"id":13099},"source":"function setColors(color) {\n this.setFill(color);\n this.setBorderColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":13100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13099":{"this":{"__isSmartRef__":true,"id":13088}},"13100":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":13101}},"13101":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:06:09 GMT+0200 (CEST)"},"13102":{"sourceObj":{"__isSmartRef__":true,"id":13044},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":13044},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13103":{"sourceObj":{"__isSmartRef__":true,"id":13044},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":13044},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":13104},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13104":{"source":{"__isSmartRef__":true,"id":13044},"target":{"__isSmartRef__":true,"id":13044}},"13105":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13106},"id":553,"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":13107}],"eventHandler":{"__isSmartRef__":true,"id":13109},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"visible","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":11,"_MaxTextWidth":90,"_MinTextWidth":90,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_Align":"center","_VerticalAlign":"center","owner":null,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(240.0,177.9)","_TextColor":"Color.rgb(0,204,0)"},"13106":{"_ClipMode":"visible","_BorderWidth":1,"_StrokeOpacity":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,25.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(204,204,204)","_Fill":"Color.rgb(255,255,255)"},"13107":{"style":{"__isSmartRef__":true,"id":13108},"chunkOwner":{"__isSmartRef__":true,"id":13105},"_id":"_26954","storedString":"saved source","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13108":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13109":{"morph":{"__isSmartRef__":true,"id":13105},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13110":{"doSave":{"__isSmartRef__":true,"id":13111},"boundEval":{"__isSmartRef__":true,"id":13119},"reset":{"__isSmartRef__":true,"id":13127},"display":{"__isSmartRef__":true,"id":13131},"hasChanged":{"__isSmartRef__":true,"id":13135},"displayStatus":{"__isSmartRef__":true,"id":13139},"updateTarget":{"__isSmartRef__":true,"id":13143}},"13111":{"varMapping":{"__isSmartRef__":true,"id":13112},"source":"function doSave() {\n $super();\n var saved = this.boundEval(this.getTextString());\n if (saved) {\n this.lastSaveSource = this.textString;\n this.owner.changeIndicator.indicateUnsavedChanges();\n this.owner.updateLists();\n this.owner.selectChangedContent(this.getTextString());\n this.displayStatus(\"saved source\", Color.green);\n } else {\n this.displayStatus(\"not saved\", Color.red);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13117},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13112":{"this":{"__isSmartRef__":true,"id":13044},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13113}},"13113":{"$super":{"__isSmartRef__":true,"id":13114}},"13114":{"varMapping":{"__isSmartRef__":true,"id":13115},"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":13116},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13115":{"obj":{"__isSmartRef__":true,"id":13044},"name":"doSave"},"13116":{},"13117":{"timestamp":{"__isSmartRef__":true,"id":13118},"user":"lauritz"},"13118":{"isSerializedDate":true,"string":"Thu Nov 17 2011 23:15:19 GMT+0100 (CET)"},"13119":{"varMapping":{"__isSmartRef__":true,"id":13120},"source":"function boundEval(str) {\n var result;\n\n this.objectEditorPane.ensureAnnotationLayer();\n withLayers([ScriptAnnotationLayer], function() {\n result = $super(str);\n })\n \n return result\n}","funcProperties":{"__isSmartRef__":true,"id":13125},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13120":{"this":{"__isSmartRef__":true,"id":13044},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13121}},"13121":{"$super":{"__isSmartRef__":true,"id":13122}},"13122":{"varMapping":{"__isSmartRef__":true,"id":13123},"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":13124},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13123":{"obj":{"__isSmartRef__":true,"id":13044},"name":"boundEval"},"13124":{},"13125":{"timestamp":{"__isSmartRef__":true,"id":13126},"user":"lauritz","categories":[]},"13126":{"isSerializedDate":true,"string":"Wed Nov 16 2011 05:41:53 GMT+0100 (CET)"},"13127":{"varMapping":{"__isSmartRef__":true,"id":13128},"source":"function reset() {\n this.doitContext = null;\n this.lastSaveSource = \"\";\n this.textString = \"\";\n this.lastSaveSource = this.textString;\n this.enableSyntaxHighlighting();\n}","funcProperties":{"__isSmartRef__":true,"id":13129},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13128":{"this":{"__isSmartRef__":true,"id":13044}},"13129":{"timestamp":{"__isSmartRef__":true,"id":13130},"user":"cschuster","tags":[]},"13130":{"isSerializedDate":true,"string":"Wed May 16 2012 20:52:57 GMT+0200 (CEST)"},"13131":{"varMapping":{"__isSmartRef__":true,"id":13132},"source":"function display(jsCode) {\n this.lastSaveSource = jsCode;\n this.setTextString(jsCode);\n this.enableSyntaxHighlighting();\n this.highlightJavaScriptSyntax();\n this.applyStyle({align: 'left'});\n}","funcProperties":{"__isSmartRef__":true,"id":13133},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13132":{"this":{"__isSmartRef__":true,"id":13044}},"13133":{"timestamp":{"__isSmartRef__":true,"id":13134},"user":"lauritz","tags":[]},"13134":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:02:26 GMT+0200 (CEST)"},"13135":{"varMapping":{"__isSmartRef__":true,"id":13136},"source":"function hasChanged() {\n var cleanText = function (string) {\n var source = string.trim();\n if (source.substring(0,2) === \"//\") {\n // removes annotation line\n source = source.substring(source.indexOf(\"\\n\"), source.length);\n source = source.trim();\n }\n if (source === 'undefined' || source === 'null') source = '';\n return source;\n }\n var cleanedTextString = cleanText(this.textString);\n var cleanedLastSource = cleanText(this.lastSaveSource);\n return cleanedTextString !== cleanedLastSource;\n}","funcProperties":{"__isSmartRef__":true,"id":13137},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13136":{"this":{"__isSmartRef__":true,"id":13044}},"13137":{"timestamp":{"__isSmartRef__":true,"id":13138},"user":"lauritz","categories":[]},"13138":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:29:45 GMT+0200 (CEST)"},"13139":{"varMapping":{"__isSmartRef__":true,"id":13140},"source":"function displayStatus(msg, color, delay) {\n if (!this.statusMorph) {\n this.statusMorph = new TextMorph(pt(100,25).extentAsRectangle());\n this.statusMorph.applyStyle({borderWidth: 1, strokeOpacity: 0, borderColor: Color.gray});\n this.statusMorph.setFill(this.owner.getFill());\n this.statusMorph.setFontSize(11);\n this.statusMorph.setAlign('center');\n this.statusMorph.setVerticalAlign('center');\n }\n this.statusMorph.setTextString(msg);\n this.statusMorph.centerAt(this.innerBounds().center());\n this.statusMorph.setTextColor(color || Color.black);\n this.addMorph(this.statusMorph);\n (function() { this.statusMorph.remove() }).bind(this).delay(delay || 2); \n}","funcProperties":{"__isSmartRef__":true,"id":13141},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13140":{"this":{"__isSmartRef__":true,"id":13044}},"13141":{"timestamp":{"__isSmartRef__":true,"id":13142},"user":"lauritz","categories":[]},"13142":{"isSerializedDate":true,"string":"Wed Nov 23 2011 18:23:05 GMT+0100 (CET)"},"13143":{"varMapping":{"__isSmartRef__":true,"id":13144},"source":"function updateTarget(target) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.doitContext = this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":13145},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13144":{"this":{"__isSmartRef__":true,"id":13044}},"13145":{"timestamp":{"__isSmartRef__":true,"id":13146},"user":"lauritz","tags":[]},"13146":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:07:42 GMT+0200 (CEST)"},"13147":{"submorphs":[{"__isSmartRef__":true,"id":13148}],"scripts":[],"id":847,"shape":{"__isSmartRef__":true,"id":13153},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":13154},"lighterFill":{"__isSmartRef__":true,"id":13159},"label":{"__isSmartRef__":true,"id":13148},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"_Rotation":0,"name":"ObjectEditorClassButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":13164},"_Scale":1,"owner":null,"layout":{"__isSmartRef__":true,"id":13165},"eventHandler":{"__isSmartRef__":true,"id":13166},"__serializedExpressions__":["_Position","padding"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(820.0,9.0)","padding":"lively.rect(5,0,0,0)"},"13148":{"submorphs":[],"scripts":[],"id":848,"shape":{"__isSmartRef__":true,"id":13149},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":13147},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":13150}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":13152},"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Position","textColor","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"13149":{"borderWidth":0,"fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,18.0)","_BorderColor":"Color.rgb(0,0,0)"},"13150":{"style":{"__isSmartRef__":true,"id":13151},"chunkOwner":{"__isSmartRef__":true,"id":13148},"storedString":"","_id":"_1355","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13151":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13152":{"morph":{"__isSmartRef__":true,"id":13148},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13153":{"_Fill":{"__isSmartRef__":true,"id":13154},"_BorderWidth":1,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,20.0)","_BorderColor":"Color.rgb(214,214,214)"},"13154":{"stops":[{"__isSmartRef__":true,"id":13155},{"__isSmartRef__":true,"id":13156},{"__isSmartRef__":true,"id":13157},{"__isSmartRef__":true,"id":13158}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13155":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"13156":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13157":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13158":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"13159":{"stops":[{"__isSmartRef__":true,"id":13160},{"__isSmartRef__":true,"id":13161},{"__isSmartRef__":true,"id":13162},{"__isSmartRef__":true,"id":13163}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13160":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"13161":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13162":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13163":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"13164":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13165":{"moveHorizontal":true},"13166":{"morph":{"__isSmartRef__":true,"id":13147},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13167":{"submorphs":[],"scripts":[],"id":"553E4CB9-8862-49D1-9817-AF0E6B847C94","shape":{"__isSmartRef__":true,"id":13168},"droppingEnabled":true,"halosEnabled":true,"itemList":["-- ALL --"],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":13169},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":12809},"attributeConnections":[{"__isSmartRef__":true,"id":13170}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":13172},"eventHandler":{"__isSmartRef__":true,"id":13173},"_FontSize":10,"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":19,"derivationIds":[209,"3900F5DF-0FF7-4C94-8BDB-44AAE12B4A3E","35301083-B60D-4A43-8566-23860EEB4C04","9CC401CC-5A35-4643-935B-FD049C284E16","C9879D40-5E79-4C56-AA79-562ED82BF052","9F6F9261-EB76-4B58-B77D-7D70813A1ED7","8B59E237-F372-4F70-9768-7E9C1A7A021D","FC85F1B9-1978-42D2-850C-BD249981E8B4","D2B607C6-A89B-4B3F-91BB-720451EAB98D","CC361093-FF73-479B-9431-C645CB48F518","307D3B7C-C0E1-484F-8D7E-39FBA9D8EDA5","038AF132-861E-4A77-8756-E6B476413639","65B6CA87-98DE-4473-B4DD-F8763BC3B06A","0AA0E45B-6DCC-4AE0-938C-E53794A511DF","806ACC1C-1353-436B-B1FE-568846777C17","C74AE022-1184-4FDF-A53D-A17627FF61EA","686AF565-EEB0-4AB7-A12E-26727DAD9291","1102A5B3-9973-4471-9EDD-FD7AB802DEA6","BEB06225-53D0-4ACC-9154-DC2DEB5728B7","E32FE34B-7520-4612-B927-C8F9EDFC69BB","D21F598A-4E44-4752-B205-9595DF0E9AE3","FD6670F8-44F6-436A-960F-8BE8890F8B75","C5522110-E6CA-4F96-B33E-BEBF6978088A","BC9AC080-8315-49F1-B6CB-42F3B802F7D9","242A0967-D906-4396-9326-3CC0C9C3EA60","39C09174-63A5-421F-AB88-7A98755661E5","40C2C766-248F-451F-9D85-D1E4DCCB559D","C89F1632-FADA-4B3E-B2D9-1C1020ACB29A","F78E083D-993E-4963-8A7F-CB7182DE3931","CA8FBD0F-D14E-42E6-A6D4-803B9EE12264"],"selection":["textString",{"__isSmartRef__":true,"id":74}],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13174},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,346.7)","distanceToDragEvent":"lively.pt(125.0,-17.1)"},"13168":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(180.0,74.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"13169":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13170":{"sourceObj":{"__isSmartRef__":true,"id":13167},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":12809},"targetMethodName":"displaySourceForConnection","converterString":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":13171},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13171":{"source":{"__isSmartRef__":true,"id":13167},"target":{"__isSmartRef__":true,"id":12809}},"13172":{"resizeHeight":false,"moveVertical":true},"13173":{"morph":{"__isSmartRef__":true,"id":13167},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13174":{"preselectItem":{"__isSmartRef__":true,"id":13175}},"13175":{"varMapping":{"__isSmartRef__":true,"id":13176},"source":"function preselectItem() {\n if (this.getList().size() === 2) {\n this.selectAt(1);\n } else {\n this.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13177},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13176":{"this":{"__isSmartRef__":true,"id":13167}},"13177":{"timestamp":{"__isSmartRef__":true,"id":13178},"user":"lauritz"},"13178":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:12:58 GMT+0100 (CET)"},"13179":{"submorphs":[{"__isSmartRef__":true,"id":13180}],"scripts":[],"id":47,"shape":{"__isSmartRef__":true,"id":13184},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":13185},"lighterFill":{"__isSmartRef__":true,"id":13190},"label":{"__isSmartRef__":true,"id":13180},"attributeConnections":[{"__isSmartRef__":true,"id":13195}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"_Rotation":0,"name":"ObjectEditorTargetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":13196},"_Scale":1,"owner":null,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["_Position","padding"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(215.0,35.0)","padding":"lively.rect(5,0,0,0)"},"13180":{"submorphs":[],"scripts":[],"id":48,"shape":{"__isSmartRef__":true,"id":13181},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":20,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":13179},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":13182}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"__serializedExpressions__":["_Position","textColor","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"13181":{"borderWidth":0,"fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,20.0)","_BorderColor":"Color.rgb(0,0,0)"},"13182":{"style":{"__isSmartRef__":true,"id":13183},"chunkOwner":{"__isSmartRef__":true,"id":13180},"storedString":"","_id":"_1356","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13183":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13184":{"_Fill":{"__isSmartRef__":true,"id":13185},"_BorderWidth":1,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,20.0)","_BorderColor":"Color.rgb(214,214,214)"},"13185":{"stops":[{"__isSmartRef__":true,"id":13186},{"__isSmartRef__":true,"id":13187},{"__isSmartRef__":true,"id":13188},{"__isSmartRef__":true,"id":13189}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13186":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"13187":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13188":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13189":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"13190":{"stops":[{"__isSmartRef__":true,"id":13191},{"__isSmartRef__":true,"id":13192},{"__isSmartRef__":true,"id":13193},{"__isSmartRef__":true,"id":13194}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13191":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"13192":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13193":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13194":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"13195":{"sourceObj":{"__isSmartRef__":true,"id":13179},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12816},"targetMethodName":"chooseTargetMorphMenu","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13196":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13197":{"submorphs":[],"scripts":[],"id":435,"shape":{"__isSmartRef__":true,"id":13198},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":218,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":13199},"textChunks":[{"__isSmartRef__":true,"id":13200}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[15,15],"prevScroll":[0,0],"_ClipMode":"visible","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":13202}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":null,"_Align":"left","eventHandler":{"__isSmartRef__":true,"id":13204},"_MinTextWidth":218,"_MinTextHeight":null,"scriptAnnotations":{"__isSmartRef__":true,"id":13205},"selection":{"__isSmartRef__":true,"id":12808},"previousSelection":[0,13],"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":13224},"_Rotation":0,"_Scale":1,"savedTextString":"100","__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13225},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(200.0,10.0)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(153.9,-23.7)"},"13198":{"fill":null,"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":3.7000000000000006,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(220.0,20.0)","_BorderColor":"Color.rgb(192,192,192)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(244,244,244)"},"13199":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13200":{"style":{"__isSmartRef__":true,"id":13201},"chunkOwner":{"__isSmartRef__":true,"id":13197},"storedString":"","_id":"_1357","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13201":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13202":{"sourceObj":{"__isSmartRef__":true,"id":13197},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":12809},"targetMethodName":"setTarget","converterString":"function (name) { return $world.get(name)}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":13203},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13203":{"source":{"__isSmartRef__":true,"id":13197},"target":{"__isSmartRef__":true,"id":12809}},"13204":{"morph":{"__isSmartRef__":true,"id":13197},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13205":{"createListMorph":{"__isSmartRef__":true,"id":13206},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":13208},"onMouseUp":{"__isSmartRef__":true,"id":13210},"resetConnections":{"__isSmartRef__":true,"id":13212},"setTargetToListSelection":{"__isSmartRef__":true,"id":13214},"setTargetOfPane":{"__isSmartRef__":true,"id":13216},"onBlur":{"__isSmartRef__":true,"id":13218},"reset":{"__isSmartRef__":true,"id":13220},"onMouseDown":{"__isSmartRef__":true,"id":13222}},"13206":{"time":{"__isSmartRef__":true,"id":13207},"user":"lauritz"},"13207":{"isSerializedDate":true,"string":"Fri Oct 28 2011 05:27:29 GMT+0200 (CEST)"},"13208":{"time":{"__isSmartRef__":true,"id":13209},"user":"lauritz"},"13209":{"isSerializedDate":true,"string":"Fri Oct 14 2011 23:48:37 GMT+0200 (CEST)"},"13210":{"time":{"__isSmartRef__":true,"id":13211},"user":"lauritz"},"13211":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:51:14 GMT+0200 (CEST)"},"13212":{"time":{"__isSmartRef__":true,"id":13213},"user":"lauritz"},"13213":{"isSerializedDate":true,"string":"Wed Sep 28 2011 01:03:17 GMT+0200 (CEST)"},"13214":{"time":{"__isSmartRef__":true,"id":13215},"user":"lauritz"},"13215":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:00:58 GMT+0200 (CEST)"},"13216":{"time":{"__isSmartRef__":true,"id":13217},"user":"lauritz"},"13217":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:34:37 GMT+0200 (CEST)"},"13218":{"time":{"__isSmartRef__":true,"id":13219},"user":"lauritz"},"13219":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:24:18 GMT+0200 (CEST)"},"13220":{"time":{"__isSmartRef__":true,"id":13221},"user":"lauritz"},"13221":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:26:15 GMT+0200 (CEST)"},"13222":{"time":{"__isSmartRef__":true,"id":13223},"user":"lauritz"},"13223":{"isSerializedDate":true,"string":"Mon Oct 17 2011 19:49:00 GMT+0200 (CEST)"},"13224":{},"13225":{"getList":{"__isSmartRef__":true,"id":13226},"setList":{"__isSmartRef__":true,"id":13229},"reset":{"__isSmartRef__":true,"id":13232},"example":{"__isSmartRef__":true,"id":13235},"removeList":{"__isSmartRef__":true,"id":13238},"onBlur":{"__isSmartRef__":true,"id":13241},"createListMorph":{"__isSmartRef__":true,"id":13248},"resetConnections":{"__isSmartRef__":true,"id":13251},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":13254},"setTargetToListSelection":{"__isSmartRef__":true,"id":13257},"setTargetOfPane":{"__isSmartRef__":true,"id":13260},"onMouseDown":{"__isSmartRef__":true,"id":13263}},"13226":{"varMapping":{"__isSmartRef__":true,"id":13227},"source":"function getList() {\n return this.world().indentedListItemsOfMorphNames();\n}","funcProperties":{"__isSmartRef__":true,"id":13228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13227":{"this":{"__isSmartRef__":true,"id":13197}},"13228":{},"13229":{"varMapping":{"__isSmartRef__":true,"id":13230},"source":"function setList(list) {\n return this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":13231},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13230":{"this":{"__isSmartRef__":true,"id":13197}},"13231":{},"13232":{"varMapping":{"__isSmartRef__":true,"id":13233},"source":"function reset() {\n this.list = [];\n this.textString = 'empty';\n this.removeList();\n this.resetConnections();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":13234},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13233":{"this":{"__isSmartRef__":true,"id":13197}},"13234":{},"13235":{"varMapping":{"__isSmartRef__":true,"id":13236},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n this.setList(Array.range(0,100));\n this.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":13237},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13236":{"this":{"__isSmartRef__":true,"id":13197}},"13237":{},"13238":{"varMapping":{"__isSmartRef__":true,"id":13239},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":13240},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13239":{"this":{"__isSmartRef__":true,"id":13197}},"13240":{},"13241":{"varMapping":{"__isSmartRef__":true,"id":13242},"source":"function onBlur() {\n $super();\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":13247},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13242":{"this":{"__isSmartRef__":true,"id":13197},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13243}},"13243":{"$super":{"__isSmartRef__":true,"id":13244}},"13244":{"varMapping":{"__isSmartRef__":true,"id":13245},"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":13246},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13245":{"obj":{"__isSmartRef__":true,"id":13197},"name":"onBlur"},"13246":{},"13247":{},"13248":{"varMapping":{"__isSmartRef__":true,"id":13249},"source":"function createListMorph() {\n var list = new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 520));\n list.setList(this.getList());\n list.setFontSize(12);\n\n list.disableGrabbing();\n list.disableDragging();\n \n this.addMorph(list);\n list.setPosition(pt(0,0));\n\n connect(list, 'selection', this, 'setTargetToListSelection');\n \n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":13250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13249":{"this":{"__isSmartRef__":true,"id":13197}},"13250":{},"13251":{"varMapping":{"__isSmartRef__":true,"id":13252},"source":"function resetConnections() {\n disconnectAll(this);\n connect(this, 'savedTextString', this.owner, 'setTarget', {converter: \n\tfunction (name) { return $world.get(name)}});\n}","funcProperties":{"__isSmartRef__":true,"id":13253},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13252":{"this":{"__isSmartRef__":true,"id":13197}},"13253":{},"13254":{"varMapping":{"__isSmartRef__":true,"id":13255},"source":"function displayTopLevelMorphs() {\n if (this.listMorph) { this.removeList(); return true }\n var list = this.createListMorph(); \n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":13256},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13255":{"this":{"__isSmartRef__":true,"id":13197}},"13256":{},"13257":{"varMapping":{"__isSmartRef__":true,"id":13258},"source":"function setTargetToListSelection(selection) { \n this.removeList();\n if (!selection) return;\n if (this.owner.scriptPane.hasChanged()) {\n var that = this;\n var callback = function (confirmed) {\n if (confirmed) that.setTargetOfPane(selection);\n }\n this.owner.confirmUnsavedChanges(callback);\n } else {\n this.setTargetOfPane(selection);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13259},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13258":{"this":{"__isSmartRef__":true,"id":13197}},"13259":{},"13260":{"varMapping":{"__isSmartRef__":true,"id":13261},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.setTextString(selection.getName());\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":13262},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13261":{"this":{"__isSmartRef__":true,"id":13197}},"13262":{},"13263":{"varMapping":{"__isSmartRef__":true,"id":13264},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n return false;\n } else {\n this.displayTopLevelMorphs();\n return true;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13269},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13264":{"this":{"__isSmartRef__":true,"id":13197},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13265}},"13265":{"$super":{"__isSmartRef__":true,"id":13266}},"13266":{"varMapping":{"__isSmartRef__":true,"id":13267},"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":13268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13267":{"obj":{"__isSmartRef__":true,"id":13197},"name":"onMouseDown"},"13268":{},"13269":{},"13270":{"morph":{"__isSmartRef__":true,"id":12816},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13271":{"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":13272},"setTarget":{"__isSmartRef__":true,"id":13275},"generateSourceForScript":{"__isSmartRef__":true,"id":13278},"generateSourceForConnection":{"__isSmartRef__":true,"id":13281},"generateTargetCode":{"__isSmartRef__":true,"id":13284},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":13287},"displayJavaScriptSource":{"__isSmartRef__":true,"id":13290},"displaySourceForScript":{"__isSmartRef__":true,"id":13293},"displaySourceForConnection":{"__isSmartRef__":true,"id":13296},"newScript":{"__isSmartRef__":true,"id":13299},"newConnection":{"__isSmartRef__":true,"id":13302},"deleteSelectedScript":{"__isSmartRef__":true,"id":13305},"disconnectConnection":{"__isSmartRef__":true,"id":13308},"updateLists":{"__isSmartRef__":true,"id":13311},"displayInitialScript":{"__isSmartRef__":true,"id":13314},"reset":{"__isSmartRef__":true,"id":13317},"selectChangedContent":{"__isSmartRef__":true,"id":13320}},"13272":{"varMapping":{"__isSmartRef__":true,"id":13273},"source":"function sortedScriptNamesOfObj(obj) {\n if (!Functions.own(obj) || Functions.own(obj).size() == 0) return [];\n return Functions.own(obj)\n\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":13274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13273":{"this":{"__isSmartRef__":true,"id":12816}},"13274":{},"13275":{"varMapping":{"__isSmartRef__":true,"id":13276},"source":"function setTarget(morph) {\n this.reset();\n module('lively.ide.SyntaxHighlighting').load(true);\n this.target = morph;\n this.morphSelector.textString = (this.target.getName() || this.target.toString());\n this.scriptPane.doitContext = this.target;\n this.updateLists();\n this.displayInitialScript();\n}","funcProperties":{"__isSmartRef__":true,"id":13277},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13276":{"this":{"__isSmartRef__":true,"id":12816}},"13277":{},"13278":{"varMapping":{"__isSmartRef__":true,"id":13279},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":13280},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13279":{"this":{"__isSmartRef__":true,"id":12816}},"13280":{},"13281":{"varMapping":{"__isSmartRef__":true,"id":13282},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":13283},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13282":{"this":{"__isSmartRef__":true,"id":12816}},"13283":{},"13284":{"varMapping":{"__isSmartRef__":true,"id":13285},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\";\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name;\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\";\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")';\n\telse if (targetObject instanceof Morph) \n\t\treturn '$morph(\"' + name + '\")';\n\telse \n\t\treturn \"????\";\n}","funcProperties":{"__isSmartRef__":true,"id":13286},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13285":{"this":{"__isSmartRef__":true,"id":12816}},"13286":{},"13287":{"varMapping":{"__isSmartRef__":true,"id":13288},"source":"function sortedConnectionNamesOfObj(obj) {\n if (\"attributeConnections\" in obj) {\n return obj.attributeConnections\n .sortBy(function(each) {return name.toLowerCase() })\n .collect(function(each) {return [each.getSourceAttrName(), each]});\n } else {\n return [];\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13289},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13288":{"this":{"__isSmartRef__":true,"id":12816}},"13289":{},"13290":{"varMapping":{"__isSmartRef__":true,"id":13291},"source":"function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":13292},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13291":{"this":{"__isSmartRef__":true,"id":12816}},"13292":{},"13293":{"varMapping":{"__isSmartRef__":true,"id":13294},"source":"function displaySourceForScript(scriptName) {\n if (!scriptName) return;\n var code = \"\", that = this;\n if (scriptName === \"-- ALL --\") {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\");\n });\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":13295},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13294":{"this":{"__isSmartRef__":true,"id":12816}},"13295":{},"13296":{"varMapping":{"__isSmartRef__":true,"id":13297},"source":"function displaySourceForConnection(connection) {\n if (!connection) return;\n var code = \"\", that = this;\n if ((typeof connection === \"string\") && connection === \"-- ALL --\") {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n })\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":13298},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13297":{"this":{"__isSmartRef__":true,"id":12816}},"13298":{},"13299":{"varMapping":{"__isSmartRef__":true,"id":13300},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n\\t\\n});\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13301},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13300":{"this":{"__isSmartRef__":true,"id":12816}},"13301":{},"13302":{"varMapping":{"__isSmartRef__":true,"id":13303},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13304},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13303":{"this":{"__isSmartRef__":true,"id":12816}},"13304":{},"13305":{"varMapping":{"__isSmartRef__":true,"id":13306},"source":"function deleteSelectedScript() {\n if (this.scriptList.selection && this.target) {\n if (!this.target.hasOwnProperty(this.scriptList.selection)) return;\n delete this.target[this.scriptList.selection];\n this.updateLists();\n this.displayInitialScript();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13307},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13306":{"this":{"__isSmartRef__":true,"id":12816}},"13307":{},"13308":{"varMapping":{"__isSmartRef__":true,"id":13309},"source":"function disconnectConnection() {\n var selection = this.connectionList.selection;\n if (selection && \n (typeof selection !== \"string\") &&\n this.target.attributeConnections.indexOf(selection[1]) > -1) {\n var c = this.connectionList.selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n this.updateLists();\n this.displayInitialScript();\n } \n}","funcProperties":{"__isSmartRef__":true,"id":13310},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13309":{"this":{"__isSmartRef__":true,"id":12816}},"13310":{},"13311":{"varMapping":{"__isSmartRef__":true,"id":13312},"source":"function updateLists() {\n this.scriptList.setList(this.sortedScriptNamesOfObj(this.target));\n var scriptListItems = this.scriptList.getList();\n scriptListItems.unshift(\"-- ALL --\");\n this.scriptList.setList(scriptListItems);\n\n this.connectionList.setList(this.sortedConnectionNamesOfObj(this.target));\n var connectionListItems = this.connectionList.getList();\n connectionListItems.unshift(\"-- ALL --\");\n this.connectionList.setList(connectionListItems);\n}","funcProperties":{"__isSmartRef__":true,"id":13313},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13312":{"this":{"__isSmartRef__":true,"id":12816}},"13313":{},"13314":{"varMapping":{"__isSmartRef__":true,"id":13315},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.selectAt(0);\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.selectAt(0);\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13316},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13315":{"this":{"__isSmartRef__":true,"id":12816}},"13316":{},"13317":{"varMapping":{"__isSmartRef__":true,"id":13318},"source":"function reset() {\n this.target = null;\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.connectionList.setList();\n this.scriptPane.setTextString(\"\");\n this.morphSelector.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":13319},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13318":{"this":{"__isSmartRef__":true,"id":12816}},"13319":{},"13320":{"varMapping":{"__isSmartRef__":true,"id":13321},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n var index = this.scriptList.getList().indexOf(addScriptMatches[0]);\n if (index > -1) { \n return this.scriptList.selectAt(index);\n }\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i -1) {\n var c = selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n editor.updateLists();\n editor.displayInitialScript();\n } \n }\n\n var message = 'Disconnect \"' + selection[0] +'\" connection?';\n var callback = disconnectConnection;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":13418},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13417":{"this":{"__isSmartRef__":true,"id":13393}},"13418":{"timestamp":{"__isSmartRef__":true,"id":13419},"user":"lauritz","categories":[]},"13419":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (CET)"},"13420":{"submorphs":[{"__isSmartRef__":true,"id":13421}],"scripts":[],"id":"AC89BE11-C47C-4DC7-A39A-E1997C2BDA28","shape":{"__isSmartRef__":true,"id":13426},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":13432},"lighterFill":{"__isSmartRef__":true,"id":13437},"label":{"__isSmartRef__":true,"id":13421},"attributeConnections":[{"__isSmartRef__":true,"id":13442}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":13444},"owner":{"__isSmartRef__":true,"id":12809},"eventHandler":{"__isSmartRef__":true,"id":13445},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":12809},"derivationIds":[217,"FDC10087-12CF-4570-9211-8309CB6A9AA3","E18FC530-4B1F-4F08-8DA6-3866A3519E56","04A2AAC3-6A9E-40BB-9408-EBB2567EE63B","8C1A42CE-840C-4AAE-BD79-C93A445B9EBF","61FC11FA-B87E-4EFE-BD15-564D3178B68B","ED34F9B5-9E00-41B3-8313-D9C3D6B3B231","A7481F4B-D444-4B4F-BDA2-4F9F03AEC24D","7DDF7175-34FC-4521-A7C3-580A8BE63351","DEA39C05-FAD7-4882-AB3D-0EE12C3408F9","99186A50-1411-4B6F-B1CB-FF0742C20D7D","10F3E467-6BB8-4D07-BD17-8C50593FD6B8","7260818C-6472-4288-8BDD-1E7798A543F3","DEBB5BDB-018D-4BA1-9FB9-73DC84C51D89","D75BCAED-3029-46EB-B944-4A102BB1BC0F","9A977DA2-B325-4DFA-9683-3DC9ECEFAAC0","48A5078F-B4A5-4F4E-884D-84CCDFFBE6F0","33905494-AA01-4311-8398-1F6C3D4F1BAC","5D7201A7-1374-49AD-851F-E3167EFED99E","9B69B6C6-71F2-402E-89D1-E97FC2D3AE13","DA1B3A74-F4A6-427B-8FBD-3D2E9D8CD866","DBFC4A4F-8601-4C32-9460-53902C3B0F37","ED51CA7C-CE32-4CF5-9398-0BA9B791FF5E","4F7A7C1A-3788-478C-AFF5-BA62C7FCB01D","FCEFF15E-E5B8-4C7E-A139-302649441119","3674B8DC-F4E5-4A5C-ACEC-96D743BB6050","33E0336F-FD6A-4AAB-AECB-B7D6C7C80631","761015EE-47CF-40F6-A403-8A959B2DB0A6","361B531D-7A1C-441A-BE8B-0B503543FF6C","E283DDFD-1D8F-4E3D-A0BC-40C30221FFDC"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isPressed":false,"prevScroll":[0,0],"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13446},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(160.0,40.0)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(33.4,-21.3)"},"13421":{"submorphs":[],"scripts":[],"id":"FEBFE5FA-34CE-4BA5-9B3D-7FC9DC9E9DEF","shape":{"__isSmartRef__":true,"id":13422},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":25,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":13420},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":13423}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":13425},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":25,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[218,"852A7BD9-52EE-4708-A2D5-1BDECF33C958","7B4F173E-9726-472A-9B30-530D4AA92AD9","CBA217F6-2832-4213-9ABE-47753C1A4180","E6B97D1D-95D5-4644-9359-1D08D42A51F4","4391A57E-70C2-4628-9828-DD668CCE546E","F0C6C298-3B8B-42B2-B5E9-E5B82F607B01","DF0CAF75-4247-4797-B1A0-AD7444391E2A","B4C4F09B-F663-47A1-B85F-461D5452F5F8","FD966AB1-4685-4151-9A38-B1B21B0237EF","CA91FC2C-D7CC-4123-AFD2-108F8F0C2E97","88F1581A-7AEF-4646-B7F9-3890CDDB8494","DC577877-7F00-4238-9246-08C2A10C0CC9","818C9467-71A2-44D6-B01F-1523A0CD5476","C0CF3DDB-AA12-49E0-B12A-6B620552BB47","853E19A1-E97D-463D-A24F-0148671EB696","0203CA4C-E523-4F7D-824B-F09BA3914BDD","18B98A59-6C8E-4386-B3EF-A17259C51C0F","24D84E0A-FA16-47DE-934D-E60729EEB227","7035F1EB-4B8C-4F20-B3AC-966403F55C0A","69831817-0662-4848-8481-44558987D21D","BA13E4C6-DF2A-4059-9174-7725FA3FE514","3E989A29-2A8F-4AFE-B312-A0852B746605","7B675033-945D-4AE1-B85F-DBD35C7B02AA","E0D76A08-70F9-4710-907E-B2D83D60D29A","495F5D43-B450-45B7-B238-FC12AA8F6488","B551041D-4E6E-44F3-8405-1DCE5344BCCD","0A287650-EC32-45AA-8504-0513B196727F","717B0EFA-1422-4224-9A53-5A494F6191A4","C86C167E-8A7D-43BE-AFED-AAEDA70B95EE"],"_Scale":1,"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"13422":{"borderWidth":0,"fill":null,"_ClipMode":"hidden","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(25.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"13423":{"style":{"__isSmartRef__":true,"id":13424},"chunkOwner":{"__isSmartRef__":true,"id":13421},"storedString":"-","_id":"_1363","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13424":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13425":{"morph":{"__isSmartRef__":true,"id":13421},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13426":{"_Fill":{"__isSmartRef__":true,"id":13427},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(25.0,20.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"13427":{"stops":[{"__isSmartRef__":true,"id":13428},{"__isSmartRef__":true,"id":13429},{"__isSmartRef__":true,"id":13430},{"__isSmartRef__":true,"id":13431}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13428":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"13429":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"13430":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"13431":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"13432":{"stops":[{"__isSmartRef__":true,"id":13433},{"__isSmartRef__":true,"id":13434},{"__isSmartRef__":true,"id":13435},{"__isSmartRef__":true,"id":13436}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13433":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"13434":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13435":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13436":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"13437":{"stops":[{"__isSmartRef__":true,"id":13438},{"__isSmartRef__":true,"id":13439},{"__isSmartRef__":true,"id":13440},{"__isSmartRef__":true,"id":13441}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13438":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"13439":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13440":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13441":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"13442":{"sourceObj":{"__isSmartRef__":true,"id":13420},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":13420},"targetMethodName":"deleteSelectedScript","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":13443},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13443":{"source":{"__isSmartRef__":true,"id":13420},"target":{"__isSmartRef__":true,"id":13420}},"13444":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13445":{"morph":{"__isSmartRef__":true,"id":13420},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13446":{"deleteSelectedScript":{"__isSmartRef__":true,"id":13447}},"13447":{"varMapping":{"__isSmartRef__":true,"id":13448},"source":"function deleteSelectedScript() {\n\n var editor = this.objectEditorPane;\n var selection = editor.scriptList.selection;\n\n if (!editor.target || editor.scriptList.getList().size() < 2) \n return; \n\n var deleteScript = function (confirmed) {\n if (!confirmed) return;\n \n if (selection && editor.target) {\n if (!editor.target.hasOwnProperty(selection)) \n return;\n delete editor.target[selection];\n editor.updateLists();\n editor.displayInitialScript();\n }\n }\n\n var message = 'Delete \"' + selection + '\" script?';\n var callback = deleteScript;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":13449},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13448":{"this":{"__isSmartRef__":true,"id":13420}},"13449":{"timestamp":{"__isSmartRef__":true,"id":13450},"user":"lauritz"},"13450":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (CET)"},"13451":{"submorphs":[{"__isSmartRef__":true,"id":13452}],"scripts":[],"id":"230A94D5-56B0-473A-98DF-EE346827EBFE","shape":{"__isSmartRef__":true,"id":13458},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":13459},"lighterFill":{"__isSmartRef__":true,"id":13464},"label":{"__isSmartRef__":true,"id":13452},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":13469},"list":[],"eventHandler":{"__isSmartRef__":true,"id":13470},"owner":{"__isSmartRef__":true,"id":12809},"textString":"","selection":{"__isSmartRef__":true,"id":13471},"_ClipMode":"visible","prevScroll":[0,0],"derivationIds":[221,"4AC64FBA-95AC-42B2-A078-B6DA97889093","E26ED0E6-C4CE-4C82-94D5-175270E8459E","D292F2FC-C2B6-48AE-B779-8CC5868FFA49","53A862EB-032C-4BF0-9B21-58C7E0C0A9B2","CC4D188B-510F-48DE-A0E1-EC8D2CD63F9F","0CD057F2-3517-4849-A69E-1EF79B05ACE8","66EBBB7D-8FA7-4D43-AE78-A18DA3B970BA","A50C1893-4138-4E29-865B-92F53F76D08A","1EC5D2B9-3539-419A-8DD6-CE82DEABB02C","95DC06D5-F4C7-49E2-8A01-110D1B0AFBD0","672DEFAB-2BE5-4C60-9779-3B44694FBEB1","E3476213-5872-492C-BE29-0C6A5A150ED8","AA2F6ABE-1CCB-403D-94DD-8FB371F3DDCE","54B67D51-AB19-40A0-A2A6-EC51F3171CAC","1CF44342-896F-4ACB-847F-7CB3CD10ED5A","279A9257-1667-4E0C-844B-A4E0D02462F0","DDCBD835-4B3F-4B8F-9623-696DA76C3A2C","D2CB17F3-5DD0-4E97-BF99-40A95ABF976B","FA519665-2394-43D3-8DCF-802A158F3291","90519BB5-7419-46E0-B7E3-4C26304F3414","0B7FC23C-C63C-4F20-8BAF-1BD1B7205762","B54FAD70-E598-4B06-8F41-00843A06D4B0","5A8ECBD6-ADDE-43FA-8D9E-BC483898DF8A","69DD3160-FAD3-4AD8-9B1C-CB9229AD8034","2C8AD368-8815-41D5-8C8D-CD36ECCF4A96","80C5655D-B03D-413B-A84C-D59A60D8EEEC","BA8066E4-5B8E-4048-97C5-332953805999","E27E2CB2-789E-4269-B5E8-2631B5D2840B","0EDAA37B-E8BA-4DE7-820A-17A44E299F5C"],"_Rotation":0,"_Scale":1,"isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13477},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(200.1,10.0)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(122.9,-11.6)"},"13452":{"submorphs":[],"scripts":[],"id":"BF14489F-A03D-4AE0-B488-6FBF65C523B7","shape":{"__isSmartRef__":true,"id":13453},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":13451},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":13454}],"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":13456}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"eventHandler":{"__isSmartRef__":true,"id":13457},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"derivationIds":[222,"30F054A3-7658-405B-8098-B7D87AA8A9ED","556D6E07-45B7-42EC-A486-DE275EF0B034","06B0B080-467A-46CC-8B0D-9C0A9B9A71F1","5E2D96C9-BB9B-4735-8673-A79847435197","B48AA022-2022-4A2A-9090-4D884FB3DFD3","8B2F743A-98C5-45E1-B03C-5019114EAC47","D09C56C3-A2DC-4BDF-B8A1-6365138ECD01","74158C3D-B79E-43E7-B111-48701B10ACE2","B19E117B-E40F-4B9F-86AC-BFB2AAFD5336","4E3B3D72-E52C-44ED-AE32-78939BA1ECFD","2459D1F0-E49C-4882-AB4C-D78C1A496962","3D8D3B02-0459-45C1-A606-D0DB4B07958C","78AAE288-D261-4BEA-9436-C8C31B890B44","2E10F795-9892-4BF7-9A46-BCB90FD6112E","DE32EFA9-C920-42F6-9F2E-7EDABEC006AF","23FBFC79-1927-48FD-8C1C-09FFD7539784","3409506C-9BAE-43DA-BCAF-94392F9646DF","ED94289E-98FC-4126-9EED-25FDC98D5BFC","63C2F1D8-3A1B-464B-9945-1F661D4CFE26","782AAB82-32E9-4A37-9DC0-3118636C2CCE","D564B3C8-D9B5-4D7D-80DD-16715ED878F6","D9344242-9F26-4A5D-B86D-6FAEA43B439C","E7E3A5EE-8F82-4F04-9E65-771E2E4AC9D1","55BF0D1C-FCDF-4D8B-9E42-8EF0F36074A3","B3BE05E0-5704-45B4-8B1D-E7FDA5CE6235","9A503124-0F1D-4390-B668-E4457CBC1376","26D1AD85-C129-4C24-A16A-B6863FC35F41","7425ED3B-1418-47C8-A2EE-52CDF3C4D860","C4B9C269-4F6E-4EA2-A6EA-38C21A011591"],"_Scale":1,"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(2.0,1.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(5,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"13453":{"borderWidth":0,"fill":null,"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(220.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"13454":{"style":{"__isSmartRef__":true,"id":13455},"chunkOwner":{"__isSmartRef__":true,"id":13452},"_id":"_32448","storedString":"gameTree","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13455":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13456":{"sourceObj":{"__isSmartRef__":true,"id":13452},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":13451},"targetMethodName":"selection","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13457":{"morph":{"__isSmartRef__":true,"id":13452},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13458":{"_Fill":{"__isSmartRef__":true,"id":13459},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(220.0,20.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"13459":{"stops":[{"__isSmartRef__":true,"id":13460},{"__isSmartRef__":true,"id":13461},{"__isSmartRef__":true,"id":13462},{"__isSmartRef__":true,"id":13463}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13460":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"13461":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13462":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13463":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"13464":{"stops":[{"__isSmartRef__":true,"id":13465},{"__isSmartRef__":true,"id":13466},{"__isSmartRef__":true,"id":13467},{"__isSmartRef__":true,"id":13468}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13465":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"13466":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13467":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13468":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"13469":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13470":{"morph":{"__isSmartRef__":true,"id":13451},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13471":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":13472},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":580,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":28,"name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":13473},"textChunks":[{"__isSmartRef__":true,"id":13474}],"eventHandler":{"__isSmartRef__":true,"id":13476},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":580,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[35,35],"priorSelectionRange":[23,23],"charsReplaced":"WIP / Proof of Concept","lastFindLoc":22,"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__serializedExpressions__":["_Position","textColor","_TextColor","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(37.0,23.0)","textColor":"Color.rgb(0,0,0)","_TextColor":"Color.rgb(0,79,152)","distanceToDragEvent":"lively.pt(221.0,-12.0)"},"13472":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(580.0,43.0)","_BorderColor":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"13473":{"partsSpaceName":"PartsBin/Worlds/","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13474":{"style":{"__isSmartRef__":true,"id":13475},"chunkOwner":{"__isSmartRef__":true,"id":13471},"storedString":"","_id":"_1365","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13475":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13476":{"morph":{"__isSmartRef__":true,"id":13471},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13477":{"reset":{"__isSmartRef__":true,"id":13478},"onMouseDown":{"__isSmartRef__":true,"id":13482},"onBlur":{"__isSmartRef__":true,"id":13490},"createScenePresentation":{"__isSmartRef__":true,"id":13498},"presentTargetChooser":{"__isSmartRef__":true,"id":13502},"removeTargetChooser":{"__isSmartRef__":true,"id":13506},"removeHighlight":{"__isSmartRef__":true,"id":13510},"highlightCurrentTarget":{"__isSmartRef__":true,"id":13514},"updateTargetFromSelection":{"__isSmartRef__":true,"id":13518},"currentMorphicScene":{"__isSmartRef__":true,"id":13522},"highlightTarget":{"__isSmartRef__":true,"id":13526},"setLabel":{"__isSmartRef__":true,"id":13530},"updateTargetFromOwner":{"__isSmartRef__":true,"id":13538}},"13478":{"varMapping":{"__isSmartRef__":true,"id":13479},"source":"function reset() {\n this.removeTargetChooser();\n this.setLabel('empty');\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'});\n}","funcProperties":{"__isSmartRef__":true,"id":13480},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13479":{"this":{"__isSmartRef__":true,"id":13451}},"13480":{"timestamp":{"__isSmartRef__":true,"id":13481},"user":"lauritz","tags":[]},"13481":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:57 GMT+0200 (CEST)"},"13482":{"varMapping":{"__isSmartRef__":true,"id":13483},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) {\n return $super(evt);\n }\n \n if (this.listMorph) {\n // clicked on morph, not the list, not the list's scrollbar\n if (evt.target === this.renderContext().shapeNode)\n this.removeTargetChooser();\n } else {\n this.presentTargetChooser();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13488},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13483":{"this":{"__isSmartRef__":true,"id":13451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13484}},"13484":{"$super":{"__isSmartRef__":true,"id":13485}},"13485":{"varMapping":{"__isSmartRef__":true,"id":13486},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13487},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13486":{"obj":{"__isSmartRef__":true,"id":13451},"name":"onMouseDown"},"13487":{},"13488":{"timestamp":{"__isSmartRef__":true,"id":13489},"user":"lauritz","tags":[]},"13489":{"isSerializedDate":true,"string":"Fri Aug 03 2012 12:44:10 GMT+0200 (CEST)"},"13490":{"varMapping":{"__isSmartRef__":true,"id":13491},"source":"function onBlur(evt) {\n $super(evt);\n \n // remove the scene presentation when clicked elsewhere\n var target = evt.world.clickedOnMorph;\n if (!this.listMorph || !this.listMorph.isAncestorOf(target)) {\n this.removeTargetChooser();\n } else {\n this.focus();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13496},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13491":{"this":{"__isSmartRef__":true,"id":13451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13492}},"13492":{"$super":{"__isSmartRef__":true,"id":13493}},"13493":{"varMapping":{"__isSmartRef__":true,"id":13494},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13495},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13494":{"obj":{"__isSmartRef__":true,"id":13451},"name":"onBlur"},"13495":{},"13496":{"timestamp":{"__isSmartRef__":true,"id":13497},"user":"lauritz","tags":[]},"13497":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:05 GMT+0200 (CEST)"},"13498":{"varMapping":{"__isSmartRef__":true,"id":13499},"source":"function createScenePresentation() {\n var that = this,\n items = this.currentMorphicScene(),\n height = this.owner.getExtent().y,\n bounds = new Rectangle(0, this.getExtent().y, this.getExtent().x * 2, height),\n treeMorph = new lively.morphic.Tree(),\n rect = lively.morphic.Morph.makeRectangle(bounds),\n currentTarget = null;\n \n treeMorph.childrenPerPage = 10000;\n treeMorph.setName(\"MorphSelectorTree\");\n treeMorph.getLayouter().defer();\n treeMorph.setItem(items);\n treeMorph.childNodes.each(function (n) {\n n.expand();\n })\n \n currentTarget = this.highlightCurrentTarget(treeMorph);\n \n rect.setFill(Color.white);\n rect.beClip(true);\n rect.disableGrabbing();\n rect.disableDragging();\n rect.setBorderWidth(1);\n rect.setBorderColor(Color.rgb(150,150,150));\n rect.addMorph(treeMorph);\n rect.treeMorph = treeMorph;\n rect.currentTarget = currentTarget;\n\n return rect;\n}","funcProperties":{"__isSmartRef__":true,"id":13500},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13499":{"this":{"__isSmartRef__":true,"id":13451}},"13500":{"timestamp":{"__isSmartRef__":true,"id":13501},"user":"lauritz","tags":[]},"13501":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:56 GMT+0200 (CEST)"},"13502":{"varMapping":{"__isSmartRef__":true,"id":13503},"source":"function presentTargetChooser() {\n var list = this.createScenePresentation(),\n tree = list.treeMorph,\n target = list.currentTarget\n \n list.setVisible(false)\n this.addMorph(list)\n this.listMorph = list\n list.focus()\n\n // need temp here, doesn't work otherwise, strange errors... Javascript WAT\n var layouting = function() {\n list.setVisible(true)\n \n if (target) {\n var globalTransform = new lively.morphic.Similitude()\n for (var morph = target; (morph != list) && \n (morph != undefined); morph = morph.owner) {\n globalTransform.preConcatenate(morph.getTransform());\n } \n \n list.scrollRectIntoView(target.getBounds().\n translatedBy(globalTransform.getTranslation()));\n tree.getLayouter().resume();\n }\n }\n layouting.morphicDelay(1);\n}","funcProperties":{"__isSmartRef__":true,"id":13504},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13503":{"this":{"__isSmartRef__":true,"id":13451}},"13504":{"timestamp":{"__isSmartRef__":true,"id":13505},"user":"lauritz","tags":[]},"13505":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:13:22 GMT+0200 (CEST)"},"13506":{"varMapping":{"__isSmartRef__":true,"id":13507},"source":"function removeTargetChooser() {\n if (this.listMorph) {\n this.listMorph.remove();\n delete this.listMorph; \n }\n}","funcProperties":{"__isSmartRef__":true,"id":13508},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13507":{"this":{"__isSmartRef__":true,"id":13451}},"13508":{"timestamp":{"__isSmartRef__":true,"id":13509},"user":"lauritz","tags":[]},"13509":{"isSerializedDate":true,"string":"Fri Aug 03 2012 12:43:38 GMT+0200 (CEST)"},"13510":{"varMapping":{"__isSmartRef__":true,"id":13511},"source":"function removeHighlight(node) {\n node.submorphs[0].setFill(Color.rgb(255,255,255))\n}","funcProperties":{"__isSmartRef__":true,"id":13512},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13511":{"this":{"__isSmartRef__":true,"id":13451}},"13512":{"timestamp":{"__isSmartRef__":true,"id":13513},"user":"lauritz","tags":[]},"13513":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:32:15 GMT+0200 (CEST)"},"13514":{"varMapping":{"__isSmartRef__":true,"id":13515},"source":"function highlightCurrentTarget(tree) {\n var target = this.owner.target,\n nodes = tree.childNodes,\n highlightNode;\n\n if (!target) {\n return\n } else if (target.isMorph) {\n var expandables = [target],\n nextOwner = target,\n currentNode\n while (nextOwner.owner) {\n expandables.push(nextOwner.owner)\n nextOwner = nextOwner.owner\n }\n expandables.reverse().each(function (m) {\n currentNode = nodes.detect(function (n) {\n return n.item.value === m;\n })\n if (currentNode) {\n nodes = currentNode.childNodes\n if (!nodes && currentNode.item.children) {\n currentNode.expand();\n nodes = currentNode.childNodes;\n }\n } else {\n return;\n }\n })\n if (currentNode && currentNode.item.value === target) {\n highlightNode = currentNode;\n }\n } else {\n var groupNodes = nodes.detect(function (n) {\n return n.item.value === 'groups';\n }).childNodes\n highlightNode = groupNodes.detect(function (n) {\n // group names are unique\n return n.item.value.name === target.name;\n })\n }\n\n if (highlightNode) {\n this.highlightTarget(highlightNode);\n }\n return highlightNode;\n}","funcProperties":{"__isSmartRef__":true,"id":13516},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13515":{"this":{"__isSmartRef__":true,"id":13451}},"13516":{"timestamp":{"__isSmartRef__":true,"id":13517},"user":"lauritz","tags":[]},"13517":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:31:39 GMT+0200 (CEST)"},"13518":{"varMapping":{"__isSmartRef__":true,"id":13519},"source":"function updateTargetFromSelection(selection) { \n var that = this;\n var update = function(confirmed) {\n if (confirmed) {\n that.owner.setTarget(selection);\n that.setLabel(selection.getName() || selection.toString());\n }\n }\n \n this.removeTargetChooser();\n if (this.owner.hasUnsavedChanges && this.owner.hasUnsavedChanges()) {\n this.owner.confirmUnsavedChanges(update);\n } else {\n update(true);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13520},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13519":{"this":{"__isSmartRef__":true,"id":13451}},"13520":{"timestamp":{"__isSmartRef__":true,"id":13521},"user":"lauritz","tags":[]},"13521":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:57 GMT+0200 (CEST)"},"13522":{"varMapping":{"__isSmartRef__":true,"id":13523},"source":"function currentMorphicScene() {\n var onSelect = function onSelect(tree) {\n this.selector.updateTargetFromSelection(this.value);\n }\n var properties = {\n editorPane: this.owner,\n selector: this\n }\n \n return {children: [{ \n name: 'World',\n value: this.world(),\n selector: this,\n onSelect: onSelect,\n children: this.world().submorphs.invoke('treeItemsOfMorphNames',\n {scripts: [onSelect],\n properties: properties,\n showUnnamed: true}).compact()\n }]};\n}","funcProperties":{"__isSmartRef__":true,"id":13524},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13523":{"this":{"__isSmartRef__":true,"id":13451}},"13524":{"timestamp":{"__isSmartRef__":true,"id":13525},"user":"lauritz","tags":[]},"13525":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:43 GMT+0200 (CEST)"},"13526":{"varMapping":{"__isSmartRef__":true,"id":13527},"source":"function highlightTarget(node) {\n node.submorphs[0].setFill(Color.rgb(218,218,218))\n}","funcProperties":{"__isSmartRef__":true,"id":13528},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13527":{"this":{"__isSmartRef__":true,"id":13451}},"13528":{"timestamp":{"__isSmartRef__":true,"id":13529},"user":"lauritz","tags":[]},"13529":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:32:12 GMT+0200 (CEST)"},"13530":{"varMapping":{"__isSmartRef__":true,"id":13531},"source":"function setLabel(label) {\n this.label.setTextString(label);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":13536},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13531":{"this":{"__isSmartRef__":true,"id":13451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13532}},"13532":{"$super":{"__isSmartRef__":true,"id":13533}},"13533":{"varMapping":{"__isSmartRef__":true,"id":13534},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13535},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13534":{"obj":{"__isSmartRef__":true,"id":13451},"name":"setLabel"},"13535":{},"13536":{"timestamp":{"__isSmartRef__":true,"id":13537},"user":"lauritz","tags":[]},"13537":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:31 GMT+0200 (CEST)"},"13538":{"varMapping":{"__isSmartRef__":true,"id":13539},"source":"function updateTargetFromOwner() {\n this.setLabel(this.owner.target);\n}","funcProperties":{"__isSmartRef__":true,"id":13540},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13539":{"this":{"__isSmartRef__":true,"id":13451}},"13540":{"timestamp":{"__isSmartRef__":true,"id":13541},"user":"lauritz","tags":[]},"13541":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:24:24 GMT+0200 (CEST)"},"13542":{"submorphs":[],"scripts":[],"id":"678EFD6C-A954-42E3-93A1-6283457BE4D2","shape":{"__isSmartRef__":true,"id":13543},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":64.8979476392384,"showsHalos":false,"_FontSize":9,"name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":13544},"textChunks":[{"__isSmartRef__":true,"id":13545}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":13547},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_ClipMode":"visible","draggingEnabled":false,"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":12809},"derivationIds":[224,"35EF8FE5-067D-45B6-AF21-77040F11D340","80DC09DD-22D4-4089-B5C3-857B32C9BE9B","EF080074-E6B9-47F3-A87F-26313B40C430","F6977801-C1A7-445C-9BF1-8A1019E202FB","8C9157AE-0343-4CFB-8186-1D5E05D2ECBE","DD3C23F8-6463-4EAE-959B-C486E27D9BDA","1E8D3752-D212-41F8-BC63-B094E0C80707","75C07D11-AE5D-4A36-B2D0-F2A6EA414E72","494AB1C0-2C09-49DE-B4AA-1F24DC7495FF","25199967-E3BA-4763-A704-37BD3152A5F7","8E4A5937-D1FA-4AF7-BD8D-B542C636CEF9","DDB23EF0-540C-4046-AD4D-C001E8A5F20C","FF45AAB3-E5C7-42A0-A704-F068DB2E2AF9","52850E3E-BE46-467C-A381-902F5E4859FD","147F9160-7168-44A4-9EA4-A36466EE1F52","8E4FB238-FC20-4DA7-AC9F-6921EBBD5609","3D09A998-5E60-4E94-9C6A-B08E7D98F02A","B8986B95-68A4-4212-8560-C86C8F7B3B3C","81BAFCDC-090F-4A92-8AD6-C3127620CCF4","3663625F-2BB0-494C-A467-04148A441F42","8F0EE2A4-3C90-4F71-A04E-2B285D2543CD","B5F10B61-9C89-4903-BD4C-DF3B9D283432","7005184B-8CE8-4DB8-82D8-D75E16ADE428","B8106E33-B470-45C3-916E-6E92CAFDD854","3013F6C8-9D86-49F3-9EB0-AA42B27F1DC6","A49BA117-B9D4-43F4-82EA-458B9D16FDBA","9FB9DF10-FCEC-44FE-9614-6DFC4B814576","54F9AFFD-B235-48AC-85E0-57921251546E","7A472A4B-7292-49B5-9F03-DE2E3A096714"],"_Rotation":0,"_Scale":1,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,12.9)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(45.8,-27.8)"},"13543":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(64.9,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"13544":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13545":{"style":{"__isSmartRef__":true,"id":13546},"chunkOwner":{"__isSmartRef__":true,"id":13542},"storedString":"Tag:","_id":"_1367","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13546":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13547":{"morph":{"__isSmartRef__":true,"id":13542},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13548":{"submorphs":[{"__isSmartRef__":true,"id":13549}],"scripts":[],"id":"282822F8-B88C-4F9D-AE8E-A60B6CB08041","shape":{"__isSmartRef__":true,"id":13555},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":13561},"lighterFill":{"__isSmartRef__":true,"id":13566},"label":{"__isSmartRef__":true,"id":13549},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":13571},"listMorph":null,"list":[],"eventHandler":{"__isSmartRef__":true,"id":13572},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":12809},"setTargetToListSelection":"all","savedTextString":"all","derivationIds":[225,"7F83847B-D0B1-4A31-8601-43424B97C858","E08FC110-71D7-4FFD-B4A8-08F8147B95BA","5534107D-C5C9-48DD-A1ED-B87E9D9B672C","0B89FA7A-768C-4062-98AE-C455E8DAFF19","799320C6-CFBA-40E7-B03D-64BFE9B78248","9B650AA3-271B-4E72-B230-51C6F64B7462","C95D3672-724C-4C2C-9CDD-EF308062F627","C66EBEEC-B7CE-4DD9-8BDF-905F071F965D","D68B143A-A712-4FD0-8803-62CCB4C7F763","ED802271-AE5C-4BE9-AC4E-7CED44BC864B","1BD989CB-146C-431F-8B15-9199C4CD5D32","42172AA4-1B06-4C5B-9BB7-FAED1206CF34","32DFAF99-E6F8-426B-829D-FD6C2BCB8FAA","9B4BF2BE-49D5-4B9D-8F38-1692443069A9","FCAB3690-731A-45E7-984F-843DFE705AF1","94B10A66-8219-43AD-B902-DA999A66222D","BB0E2EB7-ABCE-44C7-96E7-6679FB2981D1","2FCEE551-302B-46C9-B646-3B9BE9187182","B4267F52-1ACC-42A1-904D-E9F7D485D8AB","14770110-045A-4BE4-BCF2-7C886DF70F7D","5387EA76-6B03-426A-B385-9C4231B66352","23545203-A969-439B-8761-E83A810696D0","C5467F6E-CBD7-4AF4-94BE-D0D62E4F7DDD","2FC5F9D1-B611-4273-BD5B-107350364579","318398B6-6689-4DE7-88FD-636BD968773D","3241459F-2019-4BD2-A0CF-BD2A174DDA76","69022916-A511-4A6C-8220-5B4CCD34FCEF","E772C128-C42D-4B13-A3DB-3EC0DFDC9FC5","4DD223AA-79FC-4FB3-9301-F197D9D6B358"],"_Rotation":0,"_Scale":1,"isPressed":false,"_StyleClassNames":["toggled"],"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13573},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(39.1,10.0)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(85.7,-11.6)"},"13549":{"submorphs":[],"scripts":[],"id":"776232F5-5FF2-4305-8B83-32BDCDD6599D","shape":{"__isSmartRef__":true,"id":13550},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":13548},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":13551}],"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":13553}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"eventHandler":{"__isSmartRef__":true,"id":13554},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"derivationIds":[226,"03DBF3F8-8EA2-4426-BA64-C4297DDAB015","B8F87302-BEC3-48CD-9BBA-6C7DBB6287E1","4AA6AE51-338B-4E3E-814B-9F99C693A2D5","08F6CE56-AD91-4C27-9429-C3DEA313696C","D39C963C-FD24-4498-A6D8-71E5102CE58A","132C2A9E-3466-4051-AAEA-6E485A91F408","DB8BC4A1-ED41-446B-AB6C-7E73DD857B5D","567FC668-A57C-41CB-8252-8912826B3144","D0B0775F-C8E7-49EB-BBB2-C7BB7DD464BF","AABED87D-D7C0-494A-8803-26F4601E35FF","696C3A2A-C695-4D17-A044-41A73436AB8D","206A0BFD-6997-4E0E-9193-089D1F66B22A","F2F1F966-6C41-4EBA-AFCE-FAE8C79AA696","64A754E9-7083-4CAE-B5C2-7B436EFFE4BA","64737503-A352-42CC-A249-667DA2B42746","9218F1CA-E23F-4E1A-89C3-DB19DE720861","CF7EAC38-1041-4B83-B087-359885B8528B","84469C7C-C93D-4F16-ACAA-0045A4A37FCA","9D3DD447-66A0-4B4A-B378-FB864D8C1468","163D1C2B-EDE9-4F8F-B466-EF9F4CB14384","50DCF8C9-23AA-4241-AC5B-724CC11950DA","CCACCC51-0109-4F73-B122-AA60E40EC54B","285D1797-A21F-4439-81AD-932B45F54879","7354C28D-A54E-48B6-913E-4949B5F4625E","68EAB78C-AAA8-4EC3-8493-CFD23672B5B3","2AD9DBC6-BDBD-4022-AFE1-B6D94D6860BF","5D634617-10A2-45FE-A453-D3452456AB07","EE3AF0A1-F42E-4AE8-A115-3458AA56DAF3","D8A87F07-FBE8-4C1E-ADE9-3AF6EE15FCD3"],"_Scale":1,"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(2.0,1.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(5,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"13550":{"borderWidth":0,"fill":null,"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(130.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"13551":{"style":{"__isSmartRef__":true,"id":13552},"chunkOwner":{"__isSmartRef__":true,"id":13549},"_id":"_11398","storedString":"all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13552":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13553":{"sourceObj":{"__isSmartRef__":true,"id":13549},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":13548},"targetMethodName":"selection","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13554":{"morph":{"__isSmartRef__":true,"id":13549},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13555":{"_Fill":{"__isSmartRef__":true,"id":13556},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(130.0,20.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"13556":{"stops":[{"__isSmartRef__":true,"id":13557},{"__isSmartRef__":true,"id":13558},{"__isSmartRef__":true,"id":13559},{"__isSmartRef__":true,"id":13560}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13557":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(230,243,253)"},"13558":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(171,215,248)"},"13559":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(171,215,248)"},"13560":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(157,198,229)"},"13561":{"stops":[{"__isSmartRef__":true,"id":13562},{"__isSmartRef__":true,"id":13563},{"__isSmartRef__":true,"id":13564},{"__isSmartRef__":true,"id":13565}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13562":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"13563":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13564":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13565":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"13566":{"stops":[{"__isSmartRef__":true,"id":13567},{"__isSmartRef__":true,"id":13568},{"__isSmartRef__":true,"id":13569},{"__isSmartRef__":true,"id":13570}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13567":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"13568":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13569":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13570":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"13571":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13572":{"morph":{"__isSmartRef__":true,"id":13548},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13573":{"createListMorph":{"__isSmartRef__":true,"id":13574},"getList":{"__isSmartRef__":true,"id":13578},"removeList":{"__isSmartRef__":true,"id":13582},"reset":{"__isSmartRef__":true,"id":13586},"onMouseUp":{"__isSmartRef__":true,"id":13590},"onBlur":{"__isSmartRef__":true,"id":13598},"setTag":{"__isSmartRef__":true,"id":13606}},"13574":{"varMapping":{"__isSmartRef__":true,"id":13575},"source":"function createListMorph() {\n var items = this.getList();\n\n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n \n connect(listMorph, 'selection', this, 'setTag');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":13576},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13575":{"this":{"__isSmartRef__":true,"id":13548}},"13576":{"timestamp":{"__isSmartRef__":true,"id":13577},"user":"lauritz","categories":[]},"13577":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (CET)"},"13578":{"varMapping":{"__isSmartRef__":true,"id":13579},"source":"function getList() {\n if (!this.owner.target) return [''];\n\n var target = this.owner.target;\n\n var tags = Functions.own(target).collect(function (each) {\n return target[each].tags || [];\n }).flatten().uniq();\n\n var sortedTags = tags.sortBy(function(name) { \n return name.toLowerCase() \n });\n \n sortedTags.unshift('all'); \n return sortedTags;\n}","funcProperties":{"__isSmartRef__":true,"id":13580},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13579":{"this":{"__isSmartRef__":true,"id":13548}},"13580":{"timestamp":{"__isSmartRef__":true,"id":13581},"user":"lauritz","tags":[]},"13581":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (CET)"},"13582":{"varMapping":{"__isSmartRef__":true,"id":13583},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":13584},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13583":{"this":{"__isSmartRef__":true,"id":13548}},"13584":{"timestamp":{"__isSmartRef__":true,"id":13585},"user":"lauritz","categories":[]},"13585":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (CET)"},"13586":{"varMapping":{"__isSmartRef__":true,"id":13587},"source":"function reset() {\n this.list = [];\n this.setLabel('all');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":13588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13587":{"this":{"__isSmartRef__":true,"id":13548}},"13588":{"timestamp":{"__isSmartRef__":true,"id":13589},"user":"lauritz","tags":[]},"13589":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:53 GMT+0100 (CET)"},"13590":{"varMapping":{"__isSmartRef__":true,"id":13591},"source":"function onMouseUp(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n this.removeList();\n return true;\n } \n if (this.getList().size() < 2) return;\n var list = this.createListMorph();\n this.addMorph(list);\n this.listMorph = list;\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":13596},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13591":{"this":{"__isSmartRef__":true,"id":13548},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13592}},"13592":{"$super":{"__isSmartRef__":true,"id":13593}},"13593":{"varMapping":{"__isSmartRef__":true,"id":13594},"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":13595},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13594":{"obj":{"__isSmartRef__":true,"id":13548},"name":"onMouseUp"},"13595":{},"13596":{"timestamp":{"__isSmartRef__":true,"id":13597},"user":"lauritz","categories":[]},"13597":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:59:16 GMT+0100 (CET)"},"13598":{"varMapping":{"__isSmartRef__":true,"id":13599},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13604},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13599":{"this":{"__isSmartRef__":true,"id":13548},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13600}},"13600":{"$super":{"__isSmartRef__":true,"id":13601}},"13601":{"varMapping":{"__isSmartRef__":true,"id":13602},"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":13603},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13602":{"obj":{"__isSmartRef__":true,"id":13548},"name":"onBlur"},"13603":{},"13604":{"timestamp":{"__isSmartRef__":true,"id":13605},"user":"lauritz","categories":[]},"13605":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (CET)"},"13606":{"varMapping":{"__isSmartRef__":true,"id":13607},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":13608},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13607":{"this":{"__isSmartRef__":true,"id":13548}},"13608":{"timestamp":{"__isSmartRef__":true,"id":13609},"user":"lauritz","categories":[]},"13609":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:36:12 GMT+0100 (CET)"},"13610":{"submorphs":[{"__isSmartRef__":true,"id":13611}],"scripts":[],"id":"EC25167E-7B30-4D9C-8566-786C298CAA52","shape":{"__isSmartRef__":true,"id":13616},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":13617},"lighterFill":{"__isSmartRef__":true,"id":13622},"label":{"__isSmartRef__":true,"id":13611},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":13627},"attributeConnections":[{"__isSmartRef__":true,"id":13628}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":13651},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","87E42FF6-3862-481D-97D6-643676E15F32","4F370A81-5A80-4821-8ECC-D52B56F31E15","1C6D1DC9-2F9B-4DC4-B453-1CA45B17C516","0E8EC0BF-934B-410B-AEC2-0ECA8C8F774D","97086CE7-CD46-4035-A371-02A41D555A66","E342B91D-F54B-4DA8-8AE7-10C59CE22B41","A838C48E-4033-4688-8DCF-20659BD824FF","E9BBC453-FFF6-4EE8-BDB0-605D5D4557AE","B6FB81D1-145B-40F9-ACF1-17276DA45EBA","09C79781-5461-4815-88DE-22FB67558136","85A5FA10-01D9-4051-8D56-29DB02CF8817","6E2F44D0-D69A-4DD7-91AD-0B0E1E871633","66FB4A47-82E6-417D-8248-4038D0CBBF5A","3CDC67E7-CAC7-4636-B7FF-50D008C6EB0D","4475CB12-8CFB-41DB-9399-EC6B68E18BA3","6175C505-1BCA-42E9-9C4C-07A4A309A245","B4FEE8FD-E680-459F-A82E-7606A48170D5","AC0B6630-E189-474B-A5E2-13726C1E0E6A","B5559DA4-1483-446C-8332-23DC886B44A5","955AF1F4-5BF5-4129-BA11-0DC54E21E510","6646015F-BD0A-4FEB-85F0-557FB8EC655A","A5682378-2307-447E-AD50-1DEC1AAC9FCB","1A04209F-A70E-4385-A6E2-D508EABC2DFC","EDA53C4F-765D-4424-9DBF-C62388440C46"],"owner":{"__isSmartRef__":true,"id":12809},"layout":{"__isSmartRef__":true,"id":13652},"_ClipMode":"visible","_Rotation":0,"_Scale":0.994014980014994,"isPressed":false,"prevScroll":[0,0],"__serializedExpressions__":["distanceToDragEvent","_Position"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(72.0,-13.0)","_Position":"lively.pt(687.7,9.5)"},"13611":{"submorphs":[],"scripts":[],"id":"C71B51B7-D0F8-43FC-83B5-F0A9DB24DA47","shape":{"__isSmartRef__":true,"id":13612},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":13610},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":13613}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":13615},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","BA4EC8D2-AB29-4F9F-B5A0-715A4746A4C4","56735895-BA99-4D98-9866-AA5DBD86237E","81041CF7-31DB-4F65-BB39-FE438A4F266F","D03829B3-268E-40A0-A440-3E4BAC344F30","714637F0-714A-4833-909B-BA4AF1B4628B","DC956E73-7398-4CAF-B6F2-9A226E344396","C1F72D31-1F49-4C0C-ACF3-C3AD7E698D2F","39386C7E-9099-4159-BFE9-80AD37319211","2764FB6E-70D1-4BC5-B3CB-9979A48B8205","C55C8A7C-412C-453E-A99F-CE78C2AADB94","4BD9A8D4-2EC1-40AC-A1CE-5F1347B0152D","3450EAEB-E3D2-4FAF-98DF-354B3B8715D6","C906736E-48DF-4054-BA5A-A089610456D7","DE5C59FB-90A6-4DD4-AC39-5CC8B3912969","5830FB93-49A1-4A31-A687-69C4579D5FA7","AE9038D5-0EBD-40A0-8043-9689D163D108","13E47AE3-8FA4-4D33-B6D0-DC9AB9E63590","330AAB8C-6D17-4763-AACC-669FC5DD3A91","CA04BB7A-205C-412D-9900-C2DE7C5FAD36","37AADE55-77DE-4E93-9A3E-241BB5002F88","60EB450E-29D4-42B9-8FF7-CA138515052E","7D5C0196-98BF-4CCD-9142-3D29E68EE180","0F70CA1F-07A9-4EFA-872A-3255F9C850DC","7A2FAFFA-9A09-40FB-B04A-80B0B34C696B"],"_MinTextWidth":97,"_MinTextHeight":null,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding"],"__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)"},"13612":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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(2,2,0,0)"},"13613":{"style":{"__isSmartRef__":true,"id":13614},"chunkOwner":{"__isSmartRef__":true,"id":13611},"storedString":"run","_id":"_1369","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13614":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13615":{"morph":{"__isSmartRef__":true,"id":13611},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13616":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":13617},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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)"},"13617":{"stops":[{"__isSmartRef__":true,"id":13618},{"__isSmartRef__":true,"id":13619},{"__isSmartRef__":true,"id":13620},{"__isSmartRef__":true,"id":13621}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13618":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"13619":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13620":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13621":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"13622":{"stops":[{"__isSmartRef__":true,"id":13623},{"__isSmartRef__":true,"id":13624},{"__isSmartRef__":true,"id":13625},{"__isSmartRef__":true,"id":13626}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13623":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"13624":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13625":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13626":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"13627":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13628":{"sourceObj":{"__isSmartRef__":true,"id":13610},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12809},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":13629},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13629":{"submorphs":[{"__isSmartRef__":true,"id":13630}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13637},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","eventHandler":{"__isSmartRef__":true,"id":13640},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":13641},{"__isSmartRef__":true,"id":13642}],"con":{"__isSmartRef__":true,"id":13628},"showsMorphMenu":true,"showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13643},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"13630":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13631},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","eventHandler":{"__isSmartRef__":true,"id":13636},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":13629},"_Rotation":-3.130064002485303,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)"},"13631":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":13632},{"__isSmartRef__":true,"id":13633},{"__isSmartRef__":true,"id":13634},{"__isSmartRef__":true,"id":13635}],"_ClipMode":"visible","_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-12.0,-6.0)","_Extent":"lively.pt(16.0,12.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"13632":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13633":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13634":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13635":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13636":{"morph":{"__isSmartRef__":true,"id":13630},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13637":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":13638},{"__isSmartRef__":true,"id":13639}],"_ClipMode":"visible","_BorderWidth":1,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-1.0,-1.0)","_Extent":"lively.pt(831.0,11.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"13638":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13639":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13640":{"morph":{"__isSmartRef__":true,"id":13629},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13641":{"morph":{"__isSmartRef__":true,"id":13629},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"13642":{"morph":{"__isSmartRef__":true,"id":13629},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":13630},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"13643":{"morphMenuItems":{"__isSmartRef__":true,"id":13644}},"13644":{"varMapping":{"__isSmartRef__":true,"id":13645},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":13650},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13645":{"this":{"__isSmartRef__":true,"id":13629},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13646}},"13646":{"$super":{"__isSmartRef__":true,"id":13647}},"13647":{"varMapping":{"__isSmartRef__":true,"id":13648},"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":13649},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13648":{"obj":{"__isSmartRef__":true,"id":13629},"name":"morphMenuItems"},"13649":{},"13650":{},"13651":{"morph":{"__isSmartRef__":true,"id":13610},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13652":{"centeredHorizontal":false,"moveHorizontal":true},"13653":{"submorphs":[{"__isSmartRef__":true,"id":13654}],"scripts":[],"id":"A1E7AE85-2A12-4BEC-ADB7-AAA96784036C","shape":{"__isSmartRef__":true,"id":13659},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":13660},"lighterFill":{"__isSmartRef__":true,"id":13665},"label":{"__isSmartRef__":true,"id":13654},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":13670},"attributeConnections":[{"__isSmartRef__":true,"id":13671}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":13694},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","D686F0CB-027B-4CA9-8B8D-9306389B219D","F51327CB-803E-4234-BFB3-6F5252D1C936","A79280E8-6AE3-4016-AF47-CE78F71924C6","B05829EB-D452-4D81-983B-E2CE425C8260","32B117E5-52D8-4843-B80E-090B9817E099","49AC923E-5272-4E3C-8F02-4F2AED2BC4E9","85AAEA9C-5E12-4DEC-8994-9A5FE655A740","2A7FF9BF-85D3-4962-8EB4-0F7016C672EB","3BB17748-B91B-43F5-84BE-2537402A6382","8BA10BD3-43C5-4A41-B9D9-DCD8C74EA208","8BADA640-EDC1-41B2-BEF3-0F2520EA25DD","CAFB5342-EFD3-483E-AE4A-343D211653EF","C3DC8C6F-A36C-4456-AF34-B0A318C1AAD8","88093937-29BB-43FC-AD82-4A0A4BDC349F","27E1FA12-CE4A-4C1F-891F-EEEF92BD672F","A12311D6-23C1-4711-9271-5B582F89F15B","F615015A-8BAE-4FC4-B9A4-D1D1122AC0A2","77333AB0-F43F-45D7-BAEE-8B9FF7865CAF","6A0E622E-4C99-42C1-8EEE-E659BFC2996E","D0264D42-222E-4900-908B-4EA13729B6AA","CC6A8A07-5A2D-407A-B540-6BA0C73356C5","FA68B30F-8583-41B2-898D-8DAFE1A75F15","D5C01E0F-F7DF-4896-8CEF-099C9F3E6CB8","B521A25F-FA55-4F6B-BAC1-0B2544DF98C1","C567F039-E57C-4C5E-AFAA-D05B2C481A69"],"layout":{"__isSmartRef__":true,"id":13695},"owner":{"__isSmartRef__":true,"id":12809},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9880657804942089,"isPressed":false,"prevScroll":[0,0],"__serializedExpressions__":["distanceToDragEvent","_Position"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(68.8,-14.5)","_Position":"lively.pt(574.4,9.5)"},"13654":{"submorphs":[],"scripts":[],"id":"C52EA5B5-1388-4566-BAF7-4D769F13F6C2","shape":{"__isSmartRef__":true,"id":13655},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":13653},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":13656}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":13658},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","9AECBFB8-25A5-483F-86AD-D7CF9ABC9A25","918C6CC4-3540-4341-BAFD-B195F7807FEE","5AABB138-5EE8-40A5-AB3C-5A9625D0A353","4529D79B-4CC5-467E-91F8-661C3A5F49F8","1E5E570C-FD42-45E3-A7F6-768BB14ACD14","A13FB4E0-72F2-4E7C-A861-EDCBA1393860","B8E4C964-4FFF-4A9F-B0A9-612546B1DC8C","002A2173-D26D-4EED-8906-A489C1E158C0","63362D04-B829-41E6-9E68-5B8DB03D382F","996B60A4-8698-448F-A35F-79C768B4976B","F0727398-A1F0-47F5-92CF-BB9677FA05FA","38707063-D664-49A0-B2FB-F0666EC532D5","0402FB51-915F-4491-8FA1-553F0D8F7F35","5A35285D-C6A5-4830-97D9-0890A3F33F39","53121F0B-7DA5-4622-AC08-DD4805D53374","6C84E15D-112D-4C04-87C1-937691E296A7","4ECBD7E4-8B18-4331-8A37-07F4D8DCDCA0","3D4B43A2-AD74-4131-A939-D680216EDA6B","B22327BB-C876-4084-BEFA-4D06AE2B2849","2D34C2E9-76B8-49DC-9FCC-39B523CD0EF4","F098174A-AABC-4F95-8193-C29CA85D6188","714713CE-F5E8-4817-835F-99EA27075558","532DCEDE-C300-48C9-9DBA-58A1E02E1632","2F1C117F-2507-446D-8B43-9BD30AC726FB","74DABF7B-1E90-4D21-93D1-802BC208E9C7"],"_MinTextWidth":97,"_MinTextHeight":null,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding"],"__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)"},"13655":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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,3,0,0)"},"13656":{"style":{"__isSmartRef__":true,"id":13657},"chunkOwner":{"__isSmartRef__":true,"id":13654},"storedString":"save","_id":"_1370","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13657":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13658":{"morph":{"__isSmartRef__":true,"id":13654},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13659":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":13660},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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)"},"13660":{"stops":[{"__isSmartRef__":true,"id":13661},{"__isSmartRef__":true,"id":13662},{"__isSmartRef__":true,"id":13663},{"__isSmartRef__":true,"id":13664}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13661":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"13662":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13663":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13664":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"13665":{"stops":[{"__isSmartRef__":true,"id":13666},{"__isSmartRef__":true,"id":13667},{"__isSmartRef__":true,"id":13668},{"__isSmartRef__":true,"id":13669}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13666":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"13667":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13668":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13669":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"13670":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13671":{"sourceObj":{"__isSmartRef__":true,"id":13653},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":13044},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":13672},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13672":{"submorphs":[{"__isSmartRef__":true,"id":13673}],"scripts":[],"shape":{"__isSmartRef__":true,"id":13680},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","eventHandler":{"__isSmartRef__":true,"id":13683},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":13684},{"__isSmartRef__":true,"id":13685}],"con":{"__isSmartRef__":true,"id":13671},"showsMorphMenu":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13686},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"13673":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13674},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","eventHandler":{"__isSmartRef__":true,"id":13679},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":13672},"_Rotation":3.077607197692381,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(201.2,40.2)"},"13674":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":13675},{"__isSmartRef__":true,"id":13676},{"__isSmartRef__":true,"id":13677},{"__isSmartRef__":true,"id":13678}],"_ClipMode":"visible","_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-12.0,-6.0)","_Extent":"lively.pt(16.0,12.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"13675":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13676":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13677":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13678":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13679":{"morph":{"__isSmartRef__":true,"id":13673},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13680":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":13681},{"__isSmartRef__":true,"id":13682}],"_ClipMode":"visible","_BorderWidth":1,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(200.0,9.0)","_Extent":"lively.pt(480.0,32.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"13681":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13682":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"13683":{"morph":{"__isSmartRef__":true,"id":13672},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13684":{"morph":{"__isSmartRef__":true,"id":13672},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"13685":{"morph":{"__isSmartRef__":true,"id":13672},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":13673},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"13686":{"morphMenuItems":{"__isSmartRef__":true,"id":13687}},"13687":{"varMapping":{"__isSmartRef__":true,"id":13688},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":13693},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13688":{"this":{"__isSmartRef__":true,"id":13672},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13689}},"13689":{"$super":{"__isSmartRef__":true,"id":13690}},"13690":{"varMapping":{"__isSmartRef__":true,"id":13691},"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":13692},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13691":{"obj":{"__isSmartRef__":true,"id":13672},"name":"morphMenuItems"},"13692":{},"13693":{},"13694":{"morph":{"__isSmartRef__":true,"id":13653},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13695":{"centeredHorizontal":false,"moveHorizontal":true},"13696":{"submorphs":[{"__isSmartRef__":true,"id":13697}],"scripts":[],"id":"2E01A638-5FE3-46B7-B0C0-3113308313E4","shape":{"__isSmartRef__":true,"id":13702},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":13703},"lighterFill":{"__isSmartRef__":true,"id":13708},"label":{"__isSmartRef__":true,"id":13697},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":13713},"attributeConnections":[{"__isSmartRef__":true,"id":13714}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":13715},"derivationIds":[7251,"84054D2E-8176-440D-B413-279956A34FC2","79434046-F834-490E-B705-0CE871D9E8B3","FF38CA79-C0DF-4F2F-8FC3-407571EF6A54","B1D50332-9F4F-4F7C-AC3F-95DC6C73EAA4","5B8D7C39-987A-4849-BFFD-3F316CE03852","F7C30F5C-7270-44B1-ADFF-7473F2012DB0","5142302E-3E9A-476B-AB24-B2448DA6D3E4","FEA3C508-593D-4BC7-B645-8B5630CF2EDE","34DBC442-E1DE-42D7-8C63-BA9A1890C994","4F9067A3-5A5C-4637-A76F-7E590CEE2BDA","ADF74818-537A-4669-A455-9509BA7BD7E5","AFCD7FA7-5429-4B1A-B8B8-AB03C18ABA08","604C352D-0347-4329-A299-EAA3FF90B543","46C5ED11-DE03-428F-A758-5308B3D323B5","7C978B2A-9109-42E1-95C5-A59CC74BD31B","2D34E370-3EA6-48DD-B3A7-FE7EB1CCD78D","A0B7F880-0D72-475C-A002-2EAA7D20C004","1146967F-5295-4931-9637-CF72A6A6D724","775F3066-BB4B-4673-B529-500522EF5165","F01F4895-6DEF-4C26-9CEC-A569AEDD22E6","DDD1C856-9C9F-4CB1-A795-E083B7214E82","51E21302-B2D2-49D0-82D9-D964A6B3C54F","BC9DA8C7-933D-4140-96D3-1E7ADEEC8D69","26FA6101-FD83-4A6D-BA08-839ADCA2E33A"],"owner":{"__isSmartRef__":true,"id":12809},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9940149800149939,"isPressed":false,"layout":{"__isSmartRef__":true,"id":13716},"prevScroll":[0,0],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(468.5,9.0)","distanceToDragEvent":"lively.pt(72.1,-12.5)"},"13697":{"submorphs":[],"scripts":[],"id":"56877E41-0F88-4736-AA00-D635364A7904","shape":{"__isSmartRef__":true,"id":13698},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":13696},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":13699}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":13701},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2","CB475566-05CE-43E2-B04D-EE32BC4CB718","6BB077CE-92E6-47BE-BE88-9A48488562D1","9E359973-2FDB-417B-BB06-AB34D52BD310","58F098ED-A190-44F2-B73E-80802B2CF2F6","AEA84B35-B349-4307-92C6-8F229705DFC2","A677CADF-24FF-4177-9A3A-FE9AAE7D60FE","0F875AD9-E54C-4735-9BA9-7B89574233A1","840EBE92-3BC2-42EC-819E-3CD002576490","78C4969D-2C33-4B17-9027-89B411B9F496","C9A3D112-C2BC-43A3-A3CA-A68F41A0E4CF","78CF2F1A-6697-4D03-AB2B-CAF862B4EDD6","8B416918-CA4B-46D1-8A3C-40F8A754E44D","01510710-A85B-4054-B0ED-7F2F02434806","8ABD23FB-E90C-4EEB-BF53-DF3C6ACF2BD4","87607080-4A72-484D-A5BD-5F67D468505F","F0E39FE9-F71C-4587-B25A-C4D2C29FE579","BA2AB73A-3967-4F9E-8828-8A638E521B31","5ECC4D2F-4996-403F-AF14-BD1F4BB720F6","54B08934-6893-4B80-8625-B60ABCE9CBC6","4808CF23-17EA-43D8-AE10-DAB21C642FA8","0813DF8A-CC9E-435B-B5A1-DF68BF226F37","047C4EE2-26A1-4AA7-9CE9-E8FF9A9D863B","728334BD-34B0-44FA-A778-2696AA82FEFA"],"_MinTextWidth":97,"_MinTextHeight":null,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding"],"__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)"},"13698":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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(2,2,0,0)"},"13699":{"style":{"__isSmartRef__":true,"id":13700},"chunkOwner":{"__isSmartRef__":true,"id":13697},"storedString":"Tests","_id":"_1371","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13700":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13701":{"morph":{"__isSmartRef__":true,"id":13697},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13702":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":13703},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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)"},"13703":{"stops":[{"__isSmartRef__":true,"id":13704},{"__isSmartRef__":true,"id":13705},{"__isSmartRef__":true,"id":13706},{"__isSmartRef__":true,"id":13707}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13704":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"13705":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13706":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13707":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"13708":{"stops":[{"__isSmartRef__":true,"id":13709},{"__isSmartRef__":true,"id":13710},{"__isSmartRef__":true,"id":13711},{"__isSmartRef__":true,"id":13712}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13709":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"13710":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13711":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13712":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"13713":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13714":{"sourceObj":{"__isSmartRef__":true,"id":13696},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":12809},"targetMethodName":"openPartTestRunner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13715":{"morph":{"__isSmartRef__":true,"id":13696},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13716":{"moveHorizontal":true},"13717":{"submorphs":[{"__isSmartRef__":true,"id":13718},{"__isSmartRef__":true,"id":13725}],"scripts":[],"id":"F1C03FD2-1264-4615-AF98-52895441F4A3","shape":{"__isSmartRef__":true,"id":13728},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":13734},"lighterFill":{"__isSmartRef__":true,"id":13739},"label":{"__isSmartRef__":true,"id":13718},"name":"MagnifierButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":13744},"attributeConnections":[{"__isSmartRef__":true,"id":13747}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":13748},"derivationIds":[2588,"22797D34-67DE-4A06-81F0-4DF0A87ADBBC","81CB4C12-BCF0-4097-8B6D-D9419046367A","0767A57D-9BB2-48C6-9654-753D2B9D00A6","42871246-6725-4E41-A2C1-5A5BCF041097","BCE6E775-B5DF-4D6B-9F06-CDC02C1B1D0F","797EC165-A639-42D9-A059-669F6BEB92A7","FA498EFD-E50E-4CE0-9FA8-9AE2E8AE9580","4B68C371-CB37-45B4-910A-611E5FFC23DD","94E374B9-7ED4-4E39-96F1-6FD4E7AC3428","34D63515-7CC7-43FB-B7BB-87AFCA377D63","7E0B172C-0AF5-4C6E-B184-25A8FAE4FAB8","12239D52-D3D3-4713-BC3E-F0B95C488CB7","72559D92-4616-45A9-A0F2-72BA4147C0FB","E86C7328-AF24-4881-84AF-B7C7CEFEAE14","22D731CF-38F0-41CC-B125-74D2842ED847","B58A1A30-782E-4675-A276-2C01D35BEC70","ACEABA6D-071C-46C2-A325-BE30189AA45F","686443AE-DCDC-4998-8A39-48BC57D64FDC","8D660766-7C93-404C-9D92-B12CBF59A3CE"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":12809},"_Rotation":0,"_Scale":0.9920279440699439,"highlightRectangle":{"__isSmartRef__":true,"id":13749},"isPressed":false,"prevScroll":[0,0],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13823},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(424.5,8.5)","distanceToDragEvent":"lively.pt(37.9,-7.9)"},"13718":{"submorphs":[],"scripts":[],"id":"95267C2F-5304-40D7-BD36-6B94032871D7","shape":{"__isSmartRef__":true,"id":13719},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":24,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":13717},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":13720},{"__isSmartRef__":true,"id":13722}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":13724},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[2589,"024C5ADE-C4CF-4E8E-BEC5-F93AD4839702","A2CC4D56-B9D8-4A48-B6FF-DDDD85ACDC2E","5AC5C4DE-00B0-43DB-B7F1-765674CE818B","750A11C6-766E-4B48-AE32-D71DE811EB4A","66A7B56E-A94E-44AE-8AED-C0C1B07554D4","CA8596D3-2D4F-453B-BE1B-DCEC8F85389B","4D7DC32F-79CB-4AF8-8B21-AB4F1809D4A8","439DE430-7651-470E-97D8-00E7F96B04DA","DAC920E6-217B-4515-AC09-2F9DCBA7375C","BD48C003-0502-451D-B6AA-7369FF3D1030","C3B8F4EA-3F44-47F4-B569-A0D5AB263BA0","BF7F0FA3-3F2A-4EEF-9687-BE2B0635DF13","3D7AEAC1-C9DD-4941-BA46-16F6783F5699","E04A78F9-3D6E-403F-BA8D-2583FCFFCE53","47E1F29B-6896-467D-8654-CA18929AE57A","509D86FF-5400-4374-BE79-90F0A7E3E90C","C7E53EE0-065A-4C59-8D13-311566722BB7","BA078BAC-7263-4B10-AFD3-3C4EA0DD8707","BCFE28D1-A115-453E-9116-EECC8FE1D50F"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":24,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__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)","_TextColor":"Color.rgb(0,0,0)"},"13719":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(24.0,24.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"13720":{"style":{"__isSmartRef__":true,"id":13721},"chunkOwner":{"__isSmartRef__":true,"id":13718},"storedString":"","_id":"_1372","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13721":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13722":{"style":{"__isSmartRef__":true,"id":13723},"chunkOwner":{"__isSmartRef__":true,"id":13718},"storedString":"","_id":"_1373","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13723":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13724":{"morph":{"__isSmartRef__":true,"id":13718},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13725":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":13726},"derivationIds":[null,"29E543E0-AE93-493A-A694-FC1C330D0544","F0366E4C-E97F-4C77-BEE4-340A0668ADD5","347F6028-5092-4F54-9A34-3EFF3FF0B815","BF7387E7-BCD7-4A5B-B9D2-C14ECF59EFCA","85BA370B-966E-41F7-8C2F-F3A926EC2AA2","1652172B-339A-43A1-9589-70E68B35A28E","705524F7-129B-4102-834E-2A1A45985BB5","5707DF70-CD77-4D53-96ED-5A0AEB227FB7","257E62CE-C668-4317-B5B7-8D394BDC3F6C","2DD4BEA5-E85A-4CD0-953E-9EB2E0735654","BB96B696-7BD4-44C4-9D60-B1551B89D6FA","FCAABC48-FBAF-4E12-8BC9-AC4ACB5A167B","EB81C4D7-5BD8-4DAC-BD70-8675E2338AAC","1DBAE3FF-B2F6-4348-8E06-81139C138D6E","49E7D450-EF74-4E94-B33B-B888D952F3BD","F0B267C4-54BA-4E6F-BFDD-4B047F4FF41A","36B8611D-B449-4F6E-8D0F-B5FD6406D45D","779DB518-01BD-4D32-AD65-BFED801E5D06"],"id":"6CCB1CE9-898A-4B8A-871A-9391500E9082","eventHandler":{"__isSmartRef__":true,"id":13727},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":13717},"name":"leftpointing_magnifying_glass.png","isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(-3.0,0.0)","distanceToDragEvent":"lively.pt(39.9,-9.0)"},"13726":{"_ImageURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAABAAAAAQBPJcTWAAAALnRFWHRUaXRsZQBMRUZULVBPSU5USU5HIE1BR05JRllJTkcgR0xBU1MgKFUrMUY1MEQpw88haQAAABV0RVh0QXV0aG9yAEFuZHJldyBNYXJjdXNl5zc3gwAAAC90RVh0U29mdHdhcmUAaW5mby5maWxlZm9ybWF0LmRhdGEuVW5pY29kZVBuZ1NlcnZsZXRoAX8wAAAAQ3RFWHREZXNjcmlwdGlvbgBodHRwOi8vd3d3LmZpbGVmb3JtYXQuaW5mby9pbmZvL3VuaWNvZGUvMWY1MGQvaW5kZXguaHRtk2hNQgAAADt0RVh0Q29weXJpZ2h0AGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LW5jLXNhLzIuMC9siJKDAAAIDklEQVR42u1daWxVRRQeCi0tIqCAQCTIUtEIGlk0ilqEkEbiQhSKGAyCooIIggsiQuMWZNGwVMUFNIhKZBMobZClgK1FwAU3wIpSREDcUFZFEM/JOzf3vPHet9ze1/eYe77k+zNzl5nz3ZlzZntPKYFAcHojDXimmKH6cQbwZuBM4HLgx8A9wBPAU8BjwJ3ADcDFwMnArsCaYjr/0BB4DwlwjAwfL38DzgX2AdYWk3pDJnAM8E/NuN8BpwEHAq8DXgpsCswANgN2APak/BeBu7T7sQX1A9YQE8fuDwYAf2BG/JrEaefxmSjaeOAO9syNwBwxd2Q0o/7fMhr6h8Fx+oBIX346cATwF/aON6Qbc0ZH4G4y0lHgOGAdD8/Be/KAs4AFwKsdrqkHnAA8Tu8rAzYWCWz0Bh5hraKTT11fL+AH1FXlA8/SrsEu61fmW9qLFEqNAv5LRsEw9twEvKMzcAvwJ3LoHG2AW+n9B4HdgixGHhNjiccuKlbUp9aC7yoGnqflraa8A8C2QRTjMvIVaITyKI61BjnkqiILWEjvPAwcxvLqAj+nvAqH7s1oNAfupcpjeNskhnvQOQ/xYfxQCziHRVl3sjxsNfspvYSuNR4Ywn5ClT5CA7lYkUPRU0YVy4CivkVlOE7TKxa6AP+ivKlBEORe9nUO8XD/QhWay6oqmlK3dYoirTYs70FK/wd4ocli1KVIByu7XXmb9BsOPEmj76riSfZxbAM2oPQMmqLB9GUmC/I0M8AtHp9xCd3/rM8fCHISy+vH0ruaOi3Coyqv6ETPKPSpXEOZ4X9XoSl+y89sovTNJgoyklW8rw8+aKFP5apFo3SrbMNcWsnFpgmylkU19R3yY4mc0mk0j88Z62PZ5jHDV7DQugE5dkx/3CQxzlb2qt6aCF1HtJH6BHoGju4v97F8+Sp8zeRGlldCaZtMEmQAq+zICL5hpUvrwfXy19gzZvhcvj6aILNZ3ij2ETQzRZA3WWU7RrgOfQsu05YCnyLxcFS9h91fTlMgfqKdJsg6lteBpQ8wRZASVqmmUa7txvwEJ/qe8SoxGxYymK+wpnMsNGHpxviRbVShkzEatAb5iEHUSrqzQVuiUMkMf5IFGWnM/71giiAHqEL7U7iMf2gtkk/B7/M51E4qMlklvzwNymgxl+VvobQPTRCkMavkDpaelkJlbOkgyDUsv0LZu19Oe/A++BBLvyIB0ZJX9HIQhHdZBymt1BQfso9V1Jorag28PUXKN8tBkHqUV4elLTJFkM9YpVqzllOcAmXDiG6vJsZhlt+Kpc80RZBiF2eJK4fZSS5bd4fWUcTyc1n6Y6YIMpVVii+LTgFOTHLZNjoIMpTlT2fpXUwRpIcKn021gHuwcDN0ss525Cnn3fIt2DXfK3vPljGbHtK1gdcFmkNdkYTK4gz0Tgcxytg1fI6rUBkGvubA54Ta0lTFK9VYFhS/xKV18PEHX3MfYpogfPUND9DwuamFlP5oNZXlZRcxlmsDWutsCl/aNQYZWhfBnTlOceNsLq459E1wyyhwEeNvFb7ZusClrEbhNlbJoyp8Y3UejehxPWS08v/MBrbIlcr92BvfwZit7KMKOC3f3FRBcBC2mRlBnz0dpOzN17gvqrdP7+2p7PkoJz7Hrq2pCfeqMhzXasbI1/KHa/m4Y93reRFcU1mrIh8IXaLCJzpnsLyfKRozHrNZpbFF9NHyx2pGw2tWAZ8H3gW8UjmvvWdSlIQb3raq6Kdzp6vwBbOhWn5/FRCggy9lFcdN1521ax5Q0Y9B41o7nkn8Rv1/gSkS0T/crb0vV4Uv465UAUNjLerCkfAN2jUXKef19apwnYP4AynK4tfNU6m1ZlMtaK/stQZrLXu0Q6g6OIpTjoVfAK/Xnp1GDp1fhy0th1rwHLqmEbXYHkEQJYcGitwouG2onoPx0Ne8q+yDmtGIs8lPUFCgH/Q5R4XPQlt8nfKzKB9/ouNHLT/ddFEw7t+uGQbPko90GY+gOHgcoRc5+YeBj1DY3JPyGrq8qy6JdMhBDAyz8azhZLq2JRuP4HE3a6f8KhNH7k4Dt9UORqoE3qGqfiAUo7L7lX1kjfMd4H0UHGTTFMpLzH8VUAS3iN2znsQ1GugvprCvkvMYdSFouBYxPu98FdoKusblmZXUoiz0J1FuYgPUfCrXAof7S4MgimXIRVH8wwHq5vBLna9Cs8ULyEgVWrCg8zAJ79TtjGDXjSMx5kd4Fk7XB+a3uq5Sob1QfoW86JzxR2zcjjyj3/mKTafUpCAi2nPLVcB+QA379YdoGuWEBxEwars1hujIOpZQQS1jWhzvKXeIDAOBRhT+YgQ2kcYK71NLwgOauAKJ50jwpFW8J2jHKHvLKwYBuENmVxyibAiqKIlCOkVY1g8HZHkQ5SOXeTaBR9RW9vT7agp34xVlo4jiL7KoG0TjriCR4hVlk0r8EYrAtZQiZa+14wx1qzhF2Syi+C+K5VOWko8RUVJIlPc8irIhKCP6ZItSqeJbh8kSU/qHDCbKMuZT4hFlrpgxcaIUUcuJR5TdYsLEiFLIQuLMOESZJOZLnCjLyMhrabqkZRRR1qsArDQmW5SlZOxPVWhJ2E2UNRJlVQ/wi19CRv9WhXbJoCh8zb+IujVBNYqymIyPP55ZxsQoVvK78kkBrp28rXVThSJGcoE7YZ5RoTMlc8SBpw7kj2IEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgSAZ+A+0ucC4BysctgAAAABJRU5ErkJggg==","_NodeClass":["image"],"_NodeId":"29E543E0-AE93-493A-A694-FC1C330D0544","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(29.0,29.0)","_Padding":"lively.rect(0,0,0,0)"},"13727":{"morph":{"__isSmartRef__":true,"id":13725},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13728":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":13729},"_BorderRadius":5.2,"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(24.0,24.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"13729":{"stops":[{"__isSmartRef__":true,"id":13730},{"__isSmartRef__":true,"id":13731},{"__isSmartRef__":true,"id":13732},{"__isSmartRef__":true,"id":13733}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13730":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"13731":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"13732":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"13733":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"13734":{"stops":[{"__isSmartRef__":true,"id":13735},{"__isSmartRef__":true,"id":13736},{"__isSmartRef__":true,"id":13737},{"__isSmartRef__":true,"id":13738}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13735":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"13736":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13737":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"13738":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"13739":{"stops":[{"__isSmartRef__":true,"id":13740},{"__isSmartRef__":true,"id":13741},{"__isSmartRef__":true,"id":13742},{"__isSmartRef__":true,"id":13743}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"13740":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"13741":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13742":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"13743":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"13744":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"ScriptableButton","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":13745}],"revisionOnLoad":154251,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13745":{"date":{"__isSmartRef__":true,"id":13746},"author":"robertkrahn","message":"no comment","id":"0366C0A2-0C8E-4AEB-AAC3-120434134545"},"13746":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:10:10 GMT+0200 (CEST)"},"13747":{"sourceObj":{"__isSmartRef__":true,"id":13717},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":13717},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13748":{"morph":{"__isSmartRef__":true,"id":13717},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13749":{"submorphs":[],"scripts":[],"id":"364FF344-E489-461B-BC8C-ED45E4823ED4","shape":{"__isSmartRef__":true,"id":13750},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"HighlightRectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":13751},"eventHandler":{"__isSmartRef__":true,"id":13792},"attributeConnections":[{"__isSmartRef__":true,"id":13793},{"__isSmartRef__":true,"id":13794},{"__isSmartRef__":true,"id":13795}],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","6FECB598-D130-4242-BF1B-E18767608129","0B23F218-078F-4912-A262-31B957885F41","C56BA290-B836-4946-B4EF-DBB6FBA2368C","61176BAF-CFE6-4F2C-9F0A-971AAD6595A1","CB4127B2-0AA5-4B50-9978-F1FF39924A82","113050BB-CF0E-4193-91C6-9C25FC857EE8","EFF939E4-317B-4662-943F-77A6E6F65BD0","AA288E7F-3972-4F0D-87DD-61E4BD9C9C97","903E8C60-1158-42D5-85D2-DF134DA6CEC1","28FD6210-A549-4A11-9178-04E77FF556C0","B3312E29-D786-469F-865E-91FD69475A52","D947A1C1-DCBE-4485-A33D-DF549F6978E0","56CE0E60-45BE-43FF-9C6C-296D8AC326B6","CC61E3F8-8C8D-4F24-A591-023D3C88DEC8"],"partTests":{"__isSmartRef__":true,"id":13797},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"prevScroll":[0,0],"#startLetters":"","eventsAreDisabled":false,"_HandStyle":"default","_PointerEvents":"auto","_Rotation":0,"_Scale":1.0060210561262526,"owner":null,"magnifierButton":{"__isSmartRef__":true,"id":13717},"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13802},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(26.0,468.0)","distanceToDragEvent":"lively.pt(44.0,-14.0)"},"13750":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":0.2597,"_BorderStyle":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(1123.7,434.6)","_BorderColor":"Color.rgb(204,0,0)","_Fill":"Color.rgb(58,0,255)","_Padding":"lively.rect(0,0,0,0)"},"13751":{"partsSpaceName":"PartsBin/Tools","comment":"A rectangle which highlights the object under the first hand of the world","migrationLevel":4,"partName":"HighlightRectangle","changes":[{"__isSmartRef__":true,"id":13752},{"__isSmartRef__":true,"id":13754},{"__isSmartRef__":true,"id":13756},{"__isSmartRef__":true,"id":13758},{"__isSmartRef__":true,"id":13760},{"__isSmartRef__":true,"id":13762},{"__isSmartRef__":true,"id":13764},{"__isSmartRef__":true,"id":13766},{"__isSmartRef__":true,"id":13768},{"__isSmartRef__":true,"id":13770},{"__isSmartRef__":true,"id":13772},{"__isSmartRef__":true,"id":13774},{"__isSmartRef__":true,"id":13776},{"__isSmartRef__":true,"id":13778},{"__isSmartRef__":true,"id":13780},{"__isSmartRef__":true,"id":13782},{"__isSmartRef__":true,"id":13784},{"__isSmartRef__":true,"id":13786},{"__isSmartRef__":true,"id":13788},{"__isSmartRef__":true,"id":13790}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13752":{"date":{"__isSmartRef__":true,"id":13753},"author":"timfelgentreff","message":"no comment","id":"3DB7DB40-210A-4BED-91FD-9287005703EC"},"13753":{"isSerializedDate":true,"string":"Thu May 24 2012 17:04:54 GMT+0200 (CEST)"},"13754":{"date":{"__isSmartRef__":true,"id":13755},"author":"tessi","message":"no comment","id":"23D7AA12-66A9-4C3B-B494-131256C291AC"},"13755":{"isSerializedDate":true,"string":"Thu May 24 2012 16:57:13 GMT+0200 (CEST)"},"13756":{"date":{"__isSmartRef__":true,"id":13757},"author":"tessi","message":"no comment","id":"2C30B7CA-388F-4F51-B4CF-A2E50E381148"},"13757":{"isSerializedDate":true,"string":"Thu May 24 2012 16:23:11 GMT+0200 (CEST)"},"13758":{"date":{"__isSmartRef__":true,"id":13759},"author":"tessi","message":"diable events","id":"7C1F71A3-FDAC-470A-B9A9-E1F2C9FEF18E"},"13759":{"isSerializedDate":true,"string":"Thu May 24 2012 14:46:08 GMT+0200 (CEST)"},"13760":{"date":{"__isSmartRef__":true,"id":13761},"author":"tessi","message":"no comment","id":"01996A33-11BC-4C15-96D7-B7D219E2E961"},"13761":{"isSerializedDate":true,"string":"Thu May 24 2012 14:39:50 GMT+0200 (CEST)"},"13762":{"date":{"__isSmartRef__":true,"id":13763},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"13763":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"13764":{"date":{"__isSmartRef__":true,"id":13765},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"13765":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"13766":{"date":{"__isSmartRef__":true,"id":13767},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"13767":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"13768":{"date":{"__isSmartRef__":true,"id":13769},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"13769":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"13770":{"date":{"__isSmartRef__":true,"id":13771},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"13771":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"13772":{"date":{"__isSmartRef__":true,"id":13773},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"13773":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"13774":{"date":{"__isSmartRef__":true,"id":13775},"author":"tessi","message":"no comment","id":"4B982A01-25B3-455A-848D-89C2C3C471D7"},"13775":{"isSerializedDate":true,"string":"Thu May 24 2012 13:58:01 GMT+0200 (CEST)"},"13776":{"date":{"__isSmartRef__":true,"id":13777},"author":"tessi","message":"no comment","id":"2FD6CB7B-3BC7-4666-98B4-AACF1001954D"},"13777":{"isSerializedDate":true,"string":"Thu May 24 2012 14:07:32 GMT+0200 (CEST)"},"13778":{"date":{"__isSmartRef__":true,"id":13779},"author":"tessi","message":"no comment","id":"09CF5ECF-2C87-4B66-A164-39848628596F"},"13779":{"isSerializedDate":true,"string":"Thu May 24 2012 15:34:59 GMT+0200 (CEST)"},"13780":{"date":{"__isSmartRef__":true,"id":13781},"author":"tessi","message":"no comment","id":"252A3EB5-DB00-4CF9-BF38-2927DD1C5229"},"13781":{"isSerializedDate":true,"string":"Thu May 24 2012 16:34:29 GMT+0200 (CEST)"},"13782":{"date":{"__isSmartRef__":true,"id":13783},"author":"tessi","message":"no comment","id":"81534551-62C1-4FC9-96CB-A5AC6642CA1E"},"13783":{"isSerializedDate":true,"string":"Thu May 24 2012 16:45:49 GMT+0200 (CEST)"},"13784":{"date":{"__isSmartRef__":true,"id":13785},"author":"tessi","message":"no comment","id":"5125DE3A-D50E-4621-8490-F3A9D99C2C4C"},"13785":{"isSerializedDate":true,"string":"Thu May 24 2012 16:47:20 GMT+0200 (CEST)"},"13786":{"date":{"__isSmartRef__":true,"id":13787},"author":"tessi","message":"no comment","id":"C81A2FBF-CB0B-4A0B-9D63-F9AEDFCB5DA6"},"13787":{"isSerializedDate":true,"string":"Thu May 24 2012 16:51:06 GMT+0200 (CEST)"},"13788":{"date":{"__isSmartRef__":true,"id":13789},"author":"tessi","message":"no comment","id":"DC8EF5EC-7563-45B6-816D-20E2DC218525"},"13789":{"isSerializedDate":true,"string":"Thu May 24 2012 16:52:10 GMT+0200 (CEST)"},"13790":{"date":{"__isSmartRef__":true,"id":13791},"author":"timfelgentreff","message":"no comment","id":"E7515DFB-DE7D-4E1F-A2C3-85166DCE4942"},"13791":{"isSerializedDate":true,"string":"Thu May 24 2012 16:59:39 GMT+0200 (CEST)"},"13792":{"morph":{"__isSmartRef__":true,"id":13749},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13793":{"sourceObj":{"__isSmartRef__":true,"id":13749},"sourceAttrName":"onMouseMove","targetObj":{"__isSmartRef__":true,"id":13749},"targetMethodName":"updateOnMove","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13794":{"sourceObj":{"__isSmartRef__":true,"id":13749},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":13717},"targetMethodName":"removeHighlighting","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13795":{"sourceObj":{"__isSmartRef__":true,"id":13749},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":12809},"targetMethodName":"setTarget","converterString":"function () {\n return this.sourceObj.morphUnderCursor();\n }","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":13796},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"13796":{"source":{"__isSmartRef__":true,"id":13749},"target":{"__isSmartRef__":true,"id":12809}},"13797":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13798}},"13798":{"test01IsMorph":{"__isSmartRef__":true,"id":13799}},"13799":{"varMapping":{"__isSmartRef__":true,"id":13800},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":13801},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13800":{"this":{"__isSmartRef__":true,"id":13797}},"13801":{},"13802":{"update":{"__isSmartRef__":true,"id":13803},"updateOnMove":{"__isSmartRef__":true,"id":13807},"bringToFront":{"__isSmartRef__":true,"id":13811},"morphUnderCursor":{"__isSmartRef__":true,"id":13819}},"13803":{"varMapping":{"__isSmartRef__":true,"id":13804},"source":"function update(morphUnderCursor) {\n if (morphUnderCursor === this.magnifierButton ||\n this.magnifierButton.submorphs.include(morphUnderCursor)) {\n morphToHighlight = this.magnifierButton.currentTarget();\n } else {\n morphToHighlight = morphUnderCursor;\n }\n\n if (morphToHighlight && morphToHighlight.world()) {\n this.setPosition(morphToHighlight.getPositionInWorld());\n this.setExtent(morphToHighlight.getExtent());\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13804":{"this":{"__isSmartRef__":true,"id":13749}},"13805":{"timestamp":{"__isSmartRef__":true,"id":13806},"user":"lauritz","tags":[]},"13806":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:29:58 GMT+0200 (CEST)"},"13807":{"varMapping":{"__isSmartRef__":true,"id":13808},"source":"function updateOnMove() {\n this.update(this.morphUnderCursor());\n this.bringToFront();\n}","funcProperties":{"__isSmartRef__":true,"id":13809},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13808":{"this":{"__isSmartRef__":true,"id":13749}},"13809":{"timestamp":{"__isSmartRef__":true,"id":13810},"user":"lauritz","tags":[]},"13810":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:33 GMT+0200 (CEST)"},"13811":{"varMapping":{"__isSmartRef__":true,"id":13812},"source":"function bringToFront() {\n this.renderContext().morphNode.style.zIndex= 1000;\n}","funcProperties":{"__isSmartRef__":true,"id":13817},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13812":{"this":{"__isSmartRef__":true,"id":13749},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13813}},"13813":{"$super":{"__isSmartRef__":true,"id":13814}},"13814":{"varMapping":{"__isSmartRef__":true,"id":13815},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13816},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13815":{"obj":{"__isSmartRef__":true,"id":13749},"name":"bringToFront"},"13816":{},"13817":{"timestamp":{"__isSmartRef__":true,"id":13818},"user":"lauritz","tags":[]},"13818":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:12:09 GMT+0200 (CEST)"},"13819":{"varMapping":{"__isSmartRef__":true,"id":13820},"source":"function morphUnderCursor() {\n var that = this,\n world = lively.morphic.World.current(); \n \n return world.morphsContainingPoint(world.firstHand().getPosition()).detect(\n function(ea) {\n return !ea.isPlaceholder &&\n !ea.isHalo &&\n (!ea.owner || !ea.owner.isHalo) &&\n !(ea === that);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":13821},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13820":{"this":{"__isSmartRef__":true,"id":13749}},"13821":{"timestamp":{"__isSmartRef__":true,"id":13822},"user":"lauritz","tags":[]},"13822":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:36 GMT+0200 (CEST)"},"13823":{"onFire":{"__isSmartRef__":true,"id":13824},"removeHighlighting":{"__isSmartRef__":true,"id":13828},"onMouseMove":{"__isSmartRef__":true,"id":13832},"onMouseOut":{"__isSmartRef__":true,"id":13840},"reset":{"__isSmartRef__":true,"id":13848},"isTracking":{"__isSmartRef__":true,"id":13852},"isHighlighting":{"__isSmartRef__":true,"id":13856},"currentTarget":{"__isSmartRef__":true,"id":13860}},"13824":{"varMapping":{"__isSmartRef__":true,"id":13825},"source":"function onFire() {\n var hand = lively.morphic.World.current().firstHand(),\n highlight = this.highlightRectangle,\n that = this;\n\n if (this.isTracking()) {\n this.removeHighlighting();\n } else {\n this.world().addMorph(highlight);\n hand.highlightConnection = connect(hand, \"scrollFocusMorph\", highlight, \"update\");\n highlight.bringToFront();\n if (!this.currentTarget() || !this.currentTarget().world()) {\n highlight.setExtent(pt(0,0));\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13826},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13825":{"this":{"__isSmartRef__":true,"id":13717}},"13826":{"timestamp":{"__isSmartRef__":true,"id":13827},"user":"lauritz","tags":[]},"13827":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:40:51 GMT+0200 (CEST)"},"13828":{"varMapping":{"__isSmartRef__":true,"id":13829},"source":"function removeHighlighting() {\n var hand = this.world().firstHand();\n \n if (this.highlightRectangle) {\n this.highlightRectangle.remove();\n }\n \n hand.attributeConnections.removeAt(\n hand.attributeConnections.indexOf(hand.highlightConnection));\n hand.highlightConnection = null;\n}","funcProperties":{"__isSmartRef__":true,"id":13830},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13829":{"this":{"__isSmartRef__":true,"id":13717}},"13830":{"timestamp":{"__isSmartRef__":true,"id":13831},"user":"lauritz","tags":[]},"13831":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:20:30 GMT+0200 (CEST)"},"13832":{"varMapping":{"__isSmartRef__":true,"id":13833},"source":"function onMouseMove(evt) {\n var target = this.currentTarget();\n if (target && target.world() && !this.isHighlighting()) {\n this.highlightRectangle.update(target);\n this.world().addMorph(this.highlightRectangle);\n this.highlightRectangle.bringToFront();\n this.targetHighlight = this.highlightRectangle;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13838},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13833":{"this":{"__isSmartRef__":true,"id":13717},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13834}},"13834":{"$super":{"__isSmartRef__":true,"id":13835}},"13835":{"varMapping":{"__isSmartRef__":true,"id":13836},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13837},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13836":{"obj":{"__isSmartRef__":true,"id":13717},"name":"onMouseMove"},"13837":{},"13838":{"timestamp":{"__isSmartRef__":true,"id":13839},"user":"lauritz","tags":[]},"13839":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:25:52 GMT+0200 (CEST)"},"13840":{"varMapping":{"__isSmartRef__":true,"id":13841},"source":"function onMouseOut() {\n if (this.isHighlighting()) {\n if (!this.isTracking()) {\n this.targetHighlight.remove();\n }\n delete this.targetHighlight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13846},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13841":{"this":{"__isSmartRef__":true,"id":13717},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":13842}},"13842":{"$super":{"__isSmartRef__":true,"id":13843}},"13843":{"varMapping":{"__isSmartRef__":true,"id":13844},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":13845},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13844":{"obj":{"__isSmartRef__":true,"id":13717},"name":"onMouseOut"},"13845":{},"13846":{"timestamp":{"__isSmartRef__":true,"id":13847},"user":"lauritz","tags":[]},"13847":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:21:57 GMT+0200 (CEST)"},"13848":{"varMapping":{"__isSmartRef__":true,"id":13849},"source":"function reset() {\n this.highlightRectangle.attributeConnections = [];\n \n connect(rect, \"onMouseMove\", this.highlightRectangle, \"updateOnMove\")\n connect(rect, \"onMouseUp\", this, \"removeHighlighting\")\n connect(rect, \"onMouseUp\", this.owner, \"setTarget\",\n {converter: function () {\n return this.sourceObj.morphUnderCursor();\n }\n })\n}","funcProperties":{"__isSmartRef__":true,"id":13850},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13849":{"this":{"__isSmartRef__":true,"id":13717}},"13850":{"timestamp":{"__isSmartRef__":true,"id":13851},"user":"lauritz","tags":[]},"13851":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:20:55 GMT+0200 (CEST)"},"13852":{"varMapping":{"__isSmartRef__":true,"id":13853},"source":"function isTracking() {\n return !!this.world().firstHand().highlightConnection;\n}","funcProperties":{"__isSmartRef__":true,"id":13854},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13853":{"this":{"__isSmartRef__":true,"id":13717}},"13854":{"timestamp":{"__isSmartRef__":true,"id":13855},"user":"lauritz","tags":[]},"13855":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:25 GMT+0200 (CEST)"},"13856":{"varMapping":{"__isSmartRef__":true,"id":13857},"source":"function isHighlighting() {\n return !!this.targetHighlight;\n}","funcProperties":{"__isSmartRef__":true,"id":13858},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13857":{"this":{"__isSmartRef__":true,"id":13717}},"13858":{"timestamp":{"__isSmartRef__":true,"id":13859},"user":"lauritz","tags":[]},"13859":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:22 GMT+0200 (CEST)"},"13860":{"varMapping":{"__isSmartRef__":true,"id":13861},"source":"function currentTarget() {\n return this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":13862},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13861":{"this":{"__isSmartRef__":true,"id":13717}},"13862":{"timestamp":{"__isSmartRef__":true,"id":13863},"user":"lauritz","tags":[]},"13863":{"isSerializedDate":true,"string":"Wed Jun 06 2012 18:26:02 GMT+0200 (CEST)"},"13864":{"target":{"__isSmartRef__":true,"id":12809},"selector":"update","args":[],"stopped":false,"tickTime":500,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"13865":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(808.0,431.8)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"13866":{"partsSpaceName":"PartsBin/Basic","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":13867}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"13867":{"date":{"__isSmartRef__":true,"id":13868},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"13868":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (CEST)"},"13869":{"morph":{"__isSmartRef__":true,"id":12809},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"13870":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"13871":{},"13872":{"displayInitialScript":{"__isSmartRef__":true,"id":13873},"displayJavaScriptSource":{"__isSmartRef__":true,"id":13877},"displaySourceForConnection":{"__isSmartRef__":true,"id":13881},"displaySourceForScript":{"__isSmartRef__":true,"id":13885},"generateSourceForConnection":{"__isSmartRef__":true,"id":13889},"generateSourceForScript":{"__isSmartRef__":true,"id":13893},"generateTargetCode":{"__isSmartRef__":true,"id":13897},"newConnection":{"__isSmartRef__":true,"id":13901},"newScript":{"__isSmartRef__":true,"id":13905},"reset":{"__isSmartRef__":true,"id":13909},"selectChangedContent":{"__isSmartRef__":true,"id":13913},"setTarget":{"__isSmartRef__":true,"id":13917},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":13921},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":13925},"updateLists":{"__isSmartRef__":true,"id":13929},"onShutdown":{"__isSmartRef__":true,"id":13933},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":13937},"update":{"__isSmartRef__":true,"id":13941},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":13945},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":13949},"printTags":{"__isSmartRef__":true,"id":13957},"setTag":{"__isSmartRef__":true,"id":13961},"runScript":{"__isSmartRef__":true,"id":13965},"openPartTestRunner":{"__isSmartRef__":true,"id":13969},"hasUnsavedChanges":{"__isSmartRef__":true,"id":13973}},"13873":{"varMapping":{"__isSmartRef__":true,"id":13874},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.preselectItem();\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.preselectItem();\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13875},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13874":{"this":{"__isSmartRef__":true,"id":12809}},"13875":{"timestamp":{"__isSmartRef__":true,"id":13876},"user":"lauritz","tags":[]},"13876":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (CET)"},"13877":{"varMapping":{"__isSmartRef__":true,"id":13878},"source":"function displayJavaScriptSource(jsCode) {\n if (this.scriptPane.hasChanged()) {\n var that = this;\n var callback = function(confirmed) {\n if (confirmed) that.scriptPane.display(jsCode)\n };\n this.confirmUnsavedChanges(callback);\n } else {\n this.scriptPane.display(jsCode);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13879},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13878":{"this":{"__isSmartRef__":true,"id":12809}},"13879":{"timestamp":{"__isSmartRef__":true,"id":13880},"user":"lauritz","tags":[]},"13880":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"13881":{"varMapping":{"__isSmartRef__":true,"id":13882},"source":"function displaySourceForConnection(connection) {\n var code = \"\", that = this;\n if (connection === undefined) return;\n if (connection === null) {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":13883},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13882":{"this":{"__isSmartRef__":true,"id":12809}},"13883":{"timestamp":{"__isSmartRef__":true,"id":13884},"user":"conradcalmez","tags":[]},"13884":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (CET)"},"13885":{"varMapping":{"__isSmartRef__":true,"id":13886},"source":"function displaySourceForScript(scriptName) {\n var code = \"\",\n that = this;\n if (scriptName === null) {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForScript(scriptName);\n }\n if (code) this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":13887},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13886":{"this":{"__isSmartRef__":true,"id":12809}},"13887":{"timestamp":{"__isSmartRef__":true,"id":13888},"user":"cschuster","tags":[]},"13888":{"isSerializedDate":true,"string":"Thu Aug 30 2012 08:14:26 GMT+0200 (CEST)"},"13889":{"varMapping":{"__isSmartRef__":true,"id":13890},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":13891},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13890":{"this":{"__isSmartRef__":true,"id":12809}},"13891":{"timestamp":{"__isSmartRef__":true,"id":13892},"user":"lauritz","tags":[]},"13892":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"13893":{"varMapping":{"__isSmartRef__":true,"id":13894},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName],\n annotation = '',\n scriptSource = '',\n tagScript = '';\n\n if (!script) return;\n\n if (script.timestamp && script.user) \n annotation = Strings.format('// changed at %s by %s \\n', script.timestamp, script.user);\n scriptSource = Strings.format('this.addScript(%s)', script.getOriginal());\n tagScript = Strings.format('.tag(%s);', this.printTags(script));\n\n return annotation + scriptSource + tagScript;\n}","funcProperties":{"__isSmartRef__":true,"id":13895},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13894":{"this":{"__isSmartRef__":true,"id":12809}},"13895":{"timestamp":{"__isSmartRef__":true,"id":13896},"user":"cschuster","tags":[]},"13896":{"isSerializedDate":true,"string":"Thu Aug 30 2012 08:14:45 GMT+0200 (CEST)"},"13897":{"varMapping":{"__isSmartRef__":true,"id":13898},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\";\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name;\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\";\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")';\n\telse if (targetObject instanceof Morph) \n\t\treturn '$morph(\"' + name + '\")';\n\telse \n\t\treturn \"????\";\n}","funcProperties":{"__isSmartRef__":true,"id":13899},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13898":{"this":{"__isSmartRef__":true,"id":12809}},"13899":{"timestamp":{"__isSmartRef__":true,"id":13900},"user":"lauritz","tags":[]},"13900":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"13901":{"varMapping":{"__isSmartRef__":true,"id":13902},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13903},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13902":{"this":{"__isSmartRef__":true,"id":12809}},"13903":{"timestamp":{"__isSmartRef__":true,"id":13904},"user":"lauritz","tags":[]},"13904":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"13905":{"varMapping":{"__isSmartRef__":true,"id":13906},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n \\n}).tag([]);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":13907},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13906":{"this":{"__isSmartRef__":true,"id":12809}},"13907":{"timestamp":{"__isSmartRef__":true,"id":13908},"user":"lauritz","tags":[]},"13908":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (CET)"},"13909":{"varMapping":{"__isSmartRef__":true,"id":13910},"source":"function reset() {\n this.scriptPane = this.get('ObjectEditorScriptPane')\n this.scriptList = this.get('ObjectEditorScriptList')\n this.connectionList = this.get('ObjectEditorConnectionList')\n this.morphSelector = this.get('ObjectEditorMorphSelector')\n \n this.target = null;\n this.currentTag = null;\n \n this.scriptPane.reset();\n this.scriptList.setList();\n this.scriptList.selection = null;\n this.connectionList.setList();\n this.connectionList.selection = null;\n this.morphSelector.reset();\n this.tagChooser.reset();\n \n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":13911},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"13910":{"this":{"__isSmartRef__":true,"id":12809}},"13911":{"timestamp":{"__isSmartRef__":true,"id":13912},"user":"lauritz","tags":[]},"13912":{"isSerializedDate":true,"string":"Fri Aug 03 2012 11:45:36 GMT+0200 (CEST)"},"13913":{"varMapping":{"__isSmartRef__":true,"id":13914},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n return this.scriptList.selectAddedScript(addScriptMatches[0]);\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}).tag([]);","isBeingDragged":false,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":14248},"isCopyMorphRef":true,"morphRefId":1,"statusMorph":{"__isSmartRef__":true,"id":14768},"derivationIds":[219,"DD5046D0-C1D6-412A-83C9-CD7EE63D40E0","4D92BDFD-A599-4154-A197-A4B1292C1619","98551F68-B128-4262-9BC2-6B8AC7C8D7C0","47731662-FF8E-4C0F-A170-FD5C56A06021","3FC7FDE6-156F-4056-BB04-B76D8B6C5472","C1E8D5BB-56F9-47B3-A520-BEEFEF791823","115FC149-EEF9-415A-A5B7-AB0B9D0170A4","0D66FA39-01E7-4F16-840C-4FA0FA14DD10","B0A74693-DE3F-4867-8DC0-61B098A8F0D1","3547765B-E224-48EC-B58F-278C1DC7422E","8561ACCF-315A-46EC-9412-BC5D4C55D437","533D6602-9E1A-414A-9646-0FEF9ECCEBF7","5141CF81-6EA1-419B-97AC-62C22FEFC658","B9E83FD9-9781-4F00-8A07-0C96E0D29D3D","034F48B5-B4B1-4DF5-9FA5-9A9CFB99F43A","70FBC800-1914-4F9C-A8E4-2190F72E2902","64465644-E389-4AA2-BE05-93FB591B45D0","E80928FE-6AC8-4FE0-B0A2-7C7A0C7D5E85","E24E50AD-DCA6-4D01-A523-CC1E4FB09222","27E050B0-3192-426E-B01D-907ECF280A68","A241F064-0186-4F84-A037-84CBD9E0D24D","829776FC-15F2-466D-B5F4-88CC9444B1B8","22E56E25-3268-413C-B033-1DB2D96AFA9B","FD5B6693-EB83-4E16-BEA6-D5E23C7E3D48","0A2AD01B-8B4E-4779-9FDF-A504DBC86B5D","EBDFA302-80A1-48E9-B1B3-6143F685CCFF","AB62E3F9-D889-47F9-922A-C440E6382005","6675A7FB-925B-4D65-9CBE-77F2760A6040","122CA78C-89E9-45CE-ADE1-33219233E35A"],"owner":{"__isSmartRef__":true,"id":14248},"syntaxHighlightingWhileTyping":true,"#startLetters":"enable","_Rotation":0,"_Scale":1,"_syntaxHighlightTimeout":null,"lastSyntaxHighlightTimes":[1,5,7,3,4,5,5,11,10,10],"_lastSyntaxHighlightTime":163,"_WordBreak":"break-all","__serializedExpressions__":["_Padding","distanceToDragEvent","_Position"],"textString":"// changed at Mon Dec 10 2012 17:11:42 GMT+0100 (CET) by sebastianwoinar \nthis.addScript(function ABPcontinue() {\n this.showState();\n\n if( this.ABPhasChildNodes() == false ) {\n this.abp.m = this.node.state.value();\n this.abp.alpha = this.abp.m;\n }\n if (this.ABPhasChildNodes() == false || this.abp.i >= this.childNodes.length){\n this.ABPreturn();\n } else {\n \n var child = this.childNodes[this.abp.i];\n \n var callbackForChild = function() {\n this.abp.i++;\n var t = -child.ABPgetValue();\n \n if(t > this.abp.m) {\n this.abp.m = t;\n this.abp.alpha = this.abp.m;\n }\n \n if(this.abp.isActive == true) {\n // use additional recursive exit condition for ABP optimization\n if (t >= this.abp.beta){\n // this state is better for me than the best draw of my oppenent, therefore he would never chose this branch\n this.ABPfailHard();\n return;\n }\n }\n \n this.ABPcontinue();\n }.bind(this);\n \n child.ABPstart(this.abp.isActive, - this.abp.beta, - this.abp.m, callbackForChild);\n \n }\n}).tag([]);","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14773},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(2,1,0,0)","distanceToDragEvent":"lively.pt(341.2,-18.3)","_Position":"lively.pt(200.0,40.0)"},"14484":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"auto","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(589.0,380.8)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"14485":{"style":{"__isSmartRef__":true,"id":14486},"chunkOwner":{"__isSmartRef__":true,"id":14483},"_id":"_12","storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14486":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"14487":{"_id":"_91","style":{"__isSmartRef__":true,"id":14488},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" changed at Mon Dec 10 2012 17:11:42 GMT+0100 (CET) by sebastianwoinar ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14488":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14489":{"_id":"_92","style":{"__isSmartRef__":true,"id":14490},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14490":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"14491":{"_id":"_93","style":{"__isSmartRef__":true,"id":14492},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14492":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14493":{"_id":"_94","style":{"__isSmartRef__":true,"id":14494},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".addScript(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14494":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14495":{"_id":"_95","style":{"__isSmartRef__":true,"id":14496},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14496":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14497":{"_id":"_96","style":{"__isSmartRef__":true,"id":14498},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" ABPcontinue() ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14498":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14499":{"_id":"_97","style":{"__isSmartRef__":true,"id":14500},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14500":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14501":{"_id":"_98","style":{"__isSmartRef__":true,"id":14502},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14502":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14503":{"_id":"_99","style":{"__isSmartRef__":true,"id":14504},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14504":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14505":{"_id":"_100","style":{"__isSmartRef__":true,"id":14506},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".showState();\n\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14506":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14507":{"_id":"_101","style":{"__isSmartRef__":true,"id":14508},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14508":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"14509":{"_id":"_102","style":{"__isSmartRef__":true,"id":14510},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"( ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14510":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14511":{"_id":"_103","style":{"__isSmartRef__":true,"id":14512},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14512":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14513":{"_id":"_104","style":{"__isSmartRef__":true,"id":14514},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".ABPhasChildNodes() == false ) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14514":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14515":{"_id":"_105","style":{"__isSmartRef__":true,"id":14516},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14516":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14517":{"_id":"_106","style":{"__isSmartRef__":true,"id":14518},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14518":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14519":{"_id":"_107","style":{"__isSmartRef__":true,"id":14520},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14520":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14521":{"_id":"_108","style":{"__isSmartRef__":true,"id":14522},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.m = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14522":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14523":{"_id":"_109","style":{"__isSmartRef__":true,"id":14524},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14524":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14525":{"_id":"_110","style":{"__isSmartRef__":true,"id":14526},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".node.state.value();\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14526":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14527":{"_id":"_111","style":{"__isSmartRef__":true,"id":14528},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14528":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14529":{"_id":"_112","style":{"__isSmartRef__":true,"id":14530},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.alpha = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14530":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14531":{"_id":"_113","style":{"__isSmartRef__":true,"id":14532},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14532":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14533":{"_id":"_114","style":{"__isSmartRef__":true,"id":14534},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.m;\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14534":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14535":{"_id":"_115","style":{"__isSmartRef__":true,"id":14536},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14536":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14537":{"_id":"_116","style":{"__isSmartRef__":true,"id":14538},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14538":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14539":{"_id":"_117","style":{"__isSmartRef__":true,"id":14540},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14540":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"14541":{"_id":"_118","style":{"__isSmartRef__":true,"id":14542},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14542":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14543":{"_id":"_119","style":{"__isSmartRef__":true,"id":14544},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14544":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14545":{"_id":"_120","style":{"__isSmartRef__":true,"id":14546},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".ABPhasChildNodes() == false || ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14546":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14547":{"_id":"_121","style":{"__isSmartRef__":true,"id":14548},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14548":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14549":{"_id":"_122","style":{"__isSmartRef__":true,"id":14550},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.i >= ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14550":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14551":{"_id":"_123","style":{"__isSmartRef__":true,"id":14552},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14552":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14553":{"_id":"_124","style":{"__isSmartRef__":true,"id":14554},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".childNodes.length)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14554":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14555":{"_id":"_125","style":{"__isSmartRef__":true,"id":14556},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14556":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14557":{"_id":"_126","style":{"__isSmartRef__":true,"id":14558},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14558":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14559":{"_id":"_127","style":{"__isSmartRef__":true,"id":14560},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14560":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14561":{"_id":"_128","style":{"__isSmartRef__":true,"id":14562},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".ABPreturn();\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14562":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14563":{"_id":"_129","style":{"__isSmartRef__":true,"id":14564},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14564":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14565":{"_id":"_130","style":{"__isSmartRef__":true,"id":14566},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14566":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14567":{"_id":"_131","style":{"__isSmartRef__":true,"id":14568},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"else","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14568":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"14569":{"_id":"_132","style":{"__isSmartRef__":true,"id":14570},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14570":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14571":{"_id":"_133","style":{"__isSmartRef__":true,"id":14572},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14572":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14573":{"_id":"_134","style":{"__isSmartRef__":true,"id":14574},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14574":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14575":{"_id":"_135","style":{"__isSmartRef__":true,"id":14576},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14576":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"14577":{"_id":"_136","style":{"__isSmartRef__":true,"id":14578},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14578":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14579":{"_id":"_137","style":{"__isSmartRef__":true,"id":14580},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14580":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"14581":{"_id":"_138","style":{"__isSmartRef__":true,"id":14582},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" child = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14582":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14583":{"_id":"_139","style":{"__isSmartRef__":true,"id":14584},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14584":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14585":{"_id":"_140","style":{"__isSmartRef__":true,"id":14586},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".childNodes[","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14586":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14587":{"_id":"_141","style":{"__isSmartRef__":true,"id":14588},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14588":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14589":{"_id":"_142","style":{"__isSmartRef__":true,"id":14590},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.i];\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14590":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14591":{"_id":"_143","style":{"__isSmartRef__":true,"id":14592},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14592":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"14593":{"_id":"_144","style":{"__isSmartRef__":true,"id":14594},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14594":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14595":{"_id":"_145","style":{"__isSmartRef__":true,"id":14596},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14596":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"14597":{"_id":"_146","style":{"__isSmartRef__":true,"id":14598},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" callbackForChild = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14598":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14599":{"_id":"_147","style":{"__isSmartRef__":true,"id":14600},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14600":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14601":{"_id":"_148","style":{"__isSmartRef__":true,"id":14602},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"() ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14602":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14603":{"_id":"_149","style":{"__isSmartRef__":true,"id":14604},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14604":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14605":{"_id":"_150","style":{"__isSmartRef__":true,"id":14606},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14606":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14607":{"_id":"_151","style":{"__isSmartRef__":true,"id":14608},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14608":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14609":{"_id":"_152","style":{"__isSmartRef__":true,"id":14610},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.i++;\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14610":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14611":{"_id":"_153","style":{"__isSmartRef__":true,"id":14612},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14612":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"14613":{"_id":"_154","style":{"__isSmartRef__":true,"id":14614},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" t = -child.ABPgetValue();\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14614":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14615":{"_id":"_155","style":{"__isSmartRef__":true,"id":14616},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14616":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"14617":{"_id":"_156","style":{"__isSmartRef__":true,"id":14618},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14618":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14619":{"_id":"_157","style":{"__isSmartRef__":true,"id":14620},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14620":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"14621":{"_id":"_158","style":{"__isSmartRef__":true,"id":14622},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"(t > ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14622":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14623":{"_id":"_159","style":{"__isSmartRef__":true,"id":14624},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14624":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14625":{"_id":"_160","style":{"__isSmartRef__":true,"id":14626},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.m) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14626":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14627":{"_id":"_161","style":{"__isSmartRef__":true,"id":14628},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14628":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14629":{"_id":"_162","style":{"__isSmartRef__":true,"id":14630},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14630":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14631":{"_id":"_163","style":{"__isSmartRef__":true,"id":14632},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14632":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14633":{"_id":"_164","style":{"__isSmartRef__":true,"id":14634},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.m = t;\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14634":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14635":{"_id":"_165","style":{"__isSmartRef__":true,"id":14636},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14636":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14637":{"_id":"_166","style":{"__isSmartRef__":true,"id":14638},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.alpha = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14638":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14639":{"_id":"_167","style":{"__isSmartRef__":true,"id":14640},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14640":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14641":{"_id":"_168","style":{"__isSmartRef__":true,"id":14642},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.m;\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14642":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14643":{"_id":"_169","style":{"__isSmartRef__":true,"id":14644},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14644":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14645":{"_id":"_170","style":{"__isSmartRef__":true,"id":14646},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14646":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14647":{"_id":"_171","style":{"__isSmartRef__":true,"id":14648},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14648":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"14649":{"_id":"_172","style":{"__isSmartRef__":true,"id":14650},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14650":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14651":{"_id":"_173","style":{"__isSmartRef__":true,"id":14652},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14652":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"14653":{"_id":"_174","style":{"__isSmartRef__":true,"id":14654},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14654":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14655":{"_id":"_175","style":{"__isSmartRef__":true,"id":14656},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14656":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14657":{"_id":"_176","style":{"__isSmartRef__":true,"id":14658},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.isActive == true) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14658":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14659":{"_id":"_177","style":{"__isSmartRef__":true,"id":14660},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14660":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14661":{"_id":"_178","style":{"__isSmartRef__":true,"id":14662},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14662":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14663":{"_id":"_179","style":{"__isSmartRef__":true,"id":14664},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14664":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"14665":{"_id":"_180","style":{"__isSmartRef__":true,"id":14666},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" use additional recursive exit condition for ABP optimization","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14666":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14667":{"_id":"_181","style":{"__isSmartRef__":true,"id":14668},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14668":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14669":{"_id":"_182","style":{"__isSmartRef__":true,"id":14670},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14670":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"14671":{"_id":"_183","style":{"__isSmartRef__":true,"id":14672},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" (t >= ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14672":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14673":{"_id":"_184","style":{"__isSmartRef__":true,"id":14674},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14674":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14675":{"_id":"_185","style":{"__isSmartRef__":true,"id":14676},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.beta)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14676":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14677":{"_id":"_186","style":{"__isSmartRef__":true,"id":14678},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14678":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14679":{"_id":"_187","style":{"__isSmartRef__":true,"id":14680},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14680":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14681":{"_id":"_188","style":{"__isSmartRef__":true,"id":14682},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14682":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"14683":{"_id":"_189","style":{"__isSmartRef__":true,"id":14684},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" this state is better for me than the best draw of my oppenent, therefore he would never chose this branch","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14684":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14685":{"_id":"_190","style":{"__isSmartRef__":true,"id":14686},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14686":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14687":{"_id":"_191","style":{"__isSmartRef__":true,"id":14688},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14688":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14689":{"_id":"_192","style":{"__isSmartRef__":true,"id":14690},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".ABPfailHard();\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14690":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14691":{"_id":"_193","style":{"__isSmartRef__":true,"id":14692},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"return","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14692":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"14693":{"_id":"_194","style":{"__isSmartRef__":true,"id":14694},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":";\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14694":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14695":{"_id":"_195","style":{"__isSmartRef__":true,"id":14696},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14696":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14697":{"_id":"_196","style":{"__isSmartRef__":true,"id":14698},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14698":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14699":{"_id":"_197","style":{"__isSmartRef__":true,"id":14700},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14700":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14701":{"_id":"_198","style":{"__isSmartRef__":true,"id":14702},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14702":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14703":{"_id":"_199","style":{"__isSmartRef__":true,"id":14704},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14704":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"14705":{"_id":"_200","style":{"__isSmartRef__":true,"id":14706},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14706":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14707":{"_id":"_201","style":{"__isSmartRef__":true,"id":14708},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14708":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14709":{"_id":"_202","style":{"__isSmartRef__":true,"id":14710},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".ABPcontinue();\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14710":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14711":{"_id":"_203","style":{"__isSmartRef__":true,"id":14712},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14712":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14713":{"_id":"_204","style":{"__isSmartRef__":true,"id":14714},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".bind(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14714":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14715":{"_id":"_205","style":{"__isSmartRef__":true,"id":14716},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14716":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14717":{"_id":"_206","style":{"__isSmartRef__":true,"id":14718},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":");\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14718":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14719":{"_id":"_207","style":{"__isSmartRef__":true,"id":14720},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14720":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"14721":{"_id":"_208","style":{"__isSmartRef__":true,"id":14722},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" child.ABPstart(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14722":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14723":{"_id":"_209","style":{"__isSmartRef__":true,"id":14724},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14724":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14725":{"_id":"_210","style":{"__isSmartRef__":true,"id":14726},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.isActive, - ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14726":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14727":{"_id":"_211","style":{"__isSmartRef__":true,"id":14728},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14728":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14729":{"_id":"_212","style":{"__isSmartRef__":true,"id":14730},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.beta, - ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14730":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14731":{"_id":"_213","style":{"__isSmartRef__":true,"id":14732},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14732":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"14733":{"_id":"_214","style":{"__isSmartRef__":true,"id":14734},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":".abp.m, callbackForChild);\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14734":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14735":{"_id":"_215","style":{"__isSmartRef__":true,"id":14736},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14736":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"14737":{"_id":"_216","style":{"__isSmartRef__":true,"id":14738},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14738":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14739":{"_id":"_217","style":{"__isSmartRef__":true,"id":14740},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14740":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14741":{"_id":"_218","style":{"__isSmartRef__":true,"id":14742},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14742":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14743":{"_id":"_219","style":{"__isSmartRef__":true,"id":14744},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14744":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"14745":{"_id":"_220","style":{"__isSmartRef__":true,"id":14746},"chunkOwner":{"__isSmartRef__":true,"id":14483},"storedString":").tag([]);","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14746":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"14747":{"resizeWidth":true,"resizeHeight":true},"14748":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"14749":{"morph":{"__isSmartRef__":true,"id":14483},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14750":{"sourceObj":{"__isSmartRef__":true,"id":14483},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":14751},"targetMethodName":"indicateUnsavedChanges","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"14751":{"submorphs":[],"scripts":[],"id":"6FC9B875-859B-4F49-8035-436A514E4806","shape":{"__isSmartRef__":true,"id":14752},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ChangeIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":14753},"eventHandler":{"__isSmartRef__":true,"id":14754},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":14248},"layout":{"__isSmartRef__":true,"id":14755},"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":26,"derivationIds":[220,"EE491D24-F056-4AFE-A669-7B7048C6C3D1","3FA4A8C3-0FC0-43A0-8C00-00A96F9022E2","62DAD3C6-A81D-450F-B32F-601EA7E619D8","EEDB0C58-5990-481A-A7FF-ACB1A2DF08DD","16F708CB-1259-4A75-BAEF-1A5216C6CB19","97CA61D3-E09B-43CD-9880-D8B36FA303F3","0AF6BEEC-8A57-44FF-9D8D-40BA6CC6A0CD","AF2BEE76-C34F-457E-8699-9896327A4C07","5EC39FF0-602F-44A2-BE3A-04FCA127E5D1","44CEBF61-9A92-4E36-9576-425D5054B471","E9ACF86B-B775-4125-83BC-7E4500597D40","FE62294A-F891-45E4-AAE7-6F386B5A8CB5","8771140D-0D57-4CAF-A57B-857F858CCC73","BE774795-5889-4DB8-A366-1C774555761B","89DA16ED-5636-4C0D-B52F-A327A5526DD6","94DAC0EC-79E9-48E5-90D5-2BB59495BD0B","048AE915-30CF-4DE4-819B-F7D41CE99585","0417EEDD-6B12-4AF1-B7BC-875E32521980","5DFAFB2A-C915-429E-A58C-030C229C9AB8","BD996DFA-D248-4D9C-AF33-C5BA2511A09E","9F92F095-A6B5-46E8-ADA1-051904ABE386","214CA9C7-6225-49ED-A484-C2D8D92B35ED","7258922C-C991-4EF3-A09B-318D8B6A1306","1F8069E8-E7D5-4153-AE2C-96F1782F041F","74FBBDBC-44BA-4111-B3DB-58142522023F","91D6D585-64D8-491A-AAAB-AF0A99533DEC","1761630D-17E9-4E04-A73C-9D15C26E19E3","B8E628C4-20D6-4B26-B820-A8D07194CE6F","6511B508-3FE2-4BDC-906A-D4E827163B0D"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","savedColor","alarmColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14756},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(782.0,40.0)","savedColor":"Color.rgb(0,0,0)","alarmColor":"Color.rgb(240,0,0)","distanceToDragEvent":"lively.pt(37.3,-17.5)"},"14752":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(8.6,9.7)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"14753":{"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":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"14754":{"morph":{"__isSmartRef__":true,"id":14751},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14755":{"moveHorizontal":true,"adjustForNewBounds":true},"14756":{"indicateUnsavedChanges":{"__isSmartRef__":true,"id":14757},"setColors":{"__isSmartRef__":true,"id":14761}},"14757":{"varMapping":{"__isSmartRef__":true,"id":14758},"source":"function indicateUnsavedChanges() {\n if (this.owner.scriptPane.hasChanged()) {\n this.setColors(this.alarmColor);\n } else {\n this.setColors(this.savedColor);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":14759},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14758":{"this":{"__isSmartRef__":true,"id":14751}},"14759":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":14760}},"14760":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:09:19 GMT+0200 (CEST)"},"14761":{"varMapping":{"__isSmartRef__":true,"id":14762},"source":"function setColors(color) {\n this.setFill(color);\n this.setBorderColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":14763},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14762":{"this":{"__isSmartRef__":true,"id":14751}},"14763":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":14764}},"14764":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:06:09 GMT+0200 (CEST)"},"14765":{"sourceObj":{"__isSmartRef__":true,"id":14483},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":14483},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"14766":{"sourceObj":{"__isSmartRef__":true,"id":14483},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":14483},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":14767},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"14767":{"source":{"__isSmartRef__":true,"id":14483},"target":{"__isSmartRef__":true,"id":14483}},"14768":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":14769},"id":553,"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":14770}],"eventHandler":{"__isSmartRef__":true,"id":14772},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"visible","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":11,"_MaxTextWidth":90,"_MinTextWidth":90,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_Align":"center","_VerticalAlign":"center","owner":null,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(244.5,177.9)","_TextColor":"Color.rgb(0,204,0)"},"14769":{"_ClipMode":"visible","_BorderWidth":1,"_StrokeOpacity":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,25.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(204,204,204)","_Fill":"Color.rgb(255,255,255)"},"14770":{"style":{"__isSmartRef__":true,"id":14771},"chunkOwner":{"__isSmartRef__":true,"id":14768},"_id":"_27071","storedString":"saved source","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14771":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14772":{"morph":{"__isSmartRef__":true,"id":14768},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14773":{"doSave":{"__isSmartRef__":true,"id":14774},"boundEval":{"__isSmartRef__":true,"id":14782},"reset":{"__isSmartRef__":true,"id":14790},"display":{"__isSmartRef__":true,"id":14794},"hasChanged":{"__isSmartRef__":true,"id":14798},"displayStatus":{"__isSmartRef__":true,"id":14802},"updateTarget":{"__isSmartRef__":true,"id":14806}},"14774":{"varMapping":{"__isSmartRef__":true,"id":14775},"source":"function doSave() {\n $super();\n var saved = this.boundEval(this.getTextString());\n if (saved) {\n this.lastSaveSource = this.textString;\n this.owner.changeIndicator.indicateUnsavedChanges();\n this.owner.updateLists();\n this.owner.selectChangedContent(this.getTextString());\n this.displayStatus(\"saved source\", Color.green);\n } else {\n this.displayStatus(\"not saved\", Color.red);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":14780},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14775":{"this":{"__isSmartRef__":true,"id":14483},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14776}},"14776":{"$super":{"__isSmartRef__":true,"id":14777}},"14777":{"varMapping":{"__isSmartRef__":true,"id":14778},"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":14779},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14778":{"obj":{"__isSmartRef__":true,"id":14483},"name":"doSave"},"14779":{},"14780":{"timestamp":{"__isSmartRef__":true,"id":14781},"user":"lauritz"},"14781":{"isSerializedDate":true,"string":"Thu Nov 17 2011 23:15:19 GMT+0100 (CET)"},"14782":{"varMapping":{"__isSmartRef__":true,"id":14783},"source":"function boundEval(str) {\n var result;\n\n this.objectEditorPane.ensureAnnotationLayer();\n withLayers([ScriptAnnotationLayer], function() {\n result = $super(str);\n })\n \n return result\n}","funcProperties":{"__isSmartRef__":true,"id":14788},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14783":{"this":{"__isSmartRef__":true,"id":14483},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14784}},"14784":{"$super":{"__isSmartRef__":true,"id":14785}},"14785":{"varMapping":{"__isSmartRef__":true,"id":14786},"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":14787},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14786":{"obj":{"__isSmartRef__":true,"id":14483},"name":"boundEval"},"14787":{},"14788":{"timestamp":{"__isSmartRef__":true,"id":14789},"user":"lauritz","categories":[]},"14789":{"isSerializedDate":true,"string":"Wed Nov 16 2011 05:41:53 GMT+0100 (CET)"},"14790":{"varMapping":{"__isSmartRef__":true,"id":14791},"source":"function reset() {\n this.doitContext = null;\n this.lastSaveSource = \"\";\n this.textString = \"\";\n this.lastSaveSource = this.textString;\n this.enableSyntaxHighlighting();\n}","funcProperties":{"__isSmartRef__":true,"id":14792},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14791":{"this":{"__isSmartRef__":true,"id":14483}},"14792":{"timestamp":{"__isSmartRef__":true,"id":14793},"user":"cschuster","tags":[]},"14793":{"isSerializedDate":true,"string":"Wed May 16 2012 20:52:57 GMT+0200 (CEST)"},"14794":{"varMapping":{"__isSmartRef__":true,"id":14795},"source":"function display(jsCode) {\n this.lastSaveSource = jsCode;\n this.setTextString(jsCode);\n this.enableSyntaxHighlighting();\n this.highlightJavaScriptSyntax();\n this.applyStyle({align: 'left'});\n}","funcProperties":{"__isSmartRef__":true,"id":14796},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14795":{"this":{"__isSmartRef__":true,"id":14483}},"14796":{"timestamp":{"__isSmartRef__":true,"id":14797},"user":"lauritz","tags":[]},"14797":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:02:26 GMT+0200 (CEST)"},"14798":{"varMapping":{"__isSmartRef__":true,"id":14799},"source":"function hasChanged() {\n var cleanText = function (string) {\n var source = string.trim();\n if (source.substring(0,2) === \"//\") {\n // removes annotation line\n source = source.substring(source.indexOf(\"\\n\"), source.length);\n source = source.trim();\n }\n if (source === 'undefined' || source === 'null') source = '';\n return source;\n }\n var cleanedTextString = cleanText(this.textString);\n var cleanedLastSource = cleanText(this.lastSaveSource);\n return cleanedTextString !== cleanedLastSource;\n}","funcProperties":{"__isSmartRef__":true,"id":14800},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14799":{"this":{"__isSmartRef__":true,"id":14483}},"14800":{"timestamp":{"__isSmartRef__":true,"id":14801},"user":"lauritz","categories":[]},"14801":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:29:45 GMT+0200 (CEST)"},"14802":{"varMapping":{"__isSmartRef__":true,"id":14803},"source":"function displayStatus(msg, color, delay) {\n if (!this.statusMorph) {\n this.statusMorph = new TextMorph(pt(100,25).extentAsRectangle());\n this.statusMorph.applyStyle({borderWidth: 1, strokeOpacity: 0, borderColor: Color.gray});\n this.statusMorph.setFill(this.owner.getFill());\n this.statusMorph.setFontSize(11);\n this.statusMorph.setAlign('center');\n this.statusMorph.setVerticalAlign('center');\n }\n this.statusMorph.setTextString(msg);\n this.statusMorph.centerAt(this.innerBounds().center());\n this.statusMorph.setTextColor(color || Color.black);\n this.addMorph(this.statusMorph);\n (function() { this.statusMorph.remove() }).bind(this).delay(delay || 2); \n}","funcProperties":{"__isSmartRef__":true,"id":14804},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14803":{"this":{"__isSmartRef__":true,"id":14483}},"14804":{"timestamp":{"__isSmartRef__":true,"id":14805},"user":"lauritz","categories":[]},"14805":{"isSerializedDate":true,"string":"Wed Nov 23 2011 18:23:05 GMT+0100 (CET)"},"14806":{"varMapping":{"__isSmartRef__":true,"id":14807},"source":"function updateTarget(target) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.doitContext = this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":14808},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14807":{"this":{"__isSmartRef__":true,"id":14483}},"14808":{"timestamp":{"__isSmartRef__":true,"id":14809},"user":"lauritz","tags":[]},"14809":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:07:42 GMT+0200 (CEST)"},"14810":{"submorphs":[{"__isSmartRef__":true,"id":14811}],"scripts":[],"id":847,"shape":{"__isSmartRef__":true,"id":14816},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":14817},"lighterFill":{"__isSmartRef__":true,"id":14822},"label":{"__isSmartRef__":true,"id":14811},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"_Rotation":0,"name":"ObjectEditorClassButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":14827},"_Scale":1,"owner":null,"layout":{"__isSmartRef__":true,"id":14828},"eventHandler":{"__isSmartRef__":true,"id":14829},"__serializedExpressions__":["_Position","padding"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(820.0,9.0)","padding":"lively.rect(5,0,0,0)"},"14811":{"submorphs":[],"scripts":[],"id":848,"shape":{"__isSmartRef__":true,"id":14812},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":14810},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":14813}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":14815},"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Position","textColor","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"14812":{"borderWidth":0,"fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,18.0)","_BorderColor":"Color.rgb(0,0,0)"},"14813":{"style":{"__isSmartRef__":true,"id":14814},"chunkOwner":{"__isSmartRef__":true,"id":14811},"storedString":"","_id":"_1355","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14814":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14815":{"morph":{"__isSmartRef__":true,"id":14811},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14816":{"_Fill":{"__isSmartRef__":true,"id":14817},"_BorderWidth":1,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,20.0)","_BorderColor":"Color.rgb(214,214,214)"},"14817":{"stops":[{"__isSmartRef__":true,"id":14818},{"__isSmartRef__":true,"id":14819},{"__isSmartRef__":true,"id":14820},{"__isSmartRef__":true,"id":14821}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"14818":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"14819":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"14820":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"14821":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"14822":{"stops":[{"__isSmartRef__":true,"id":14823},{"__isSmartRef__":true,"id":14824},{"__isSmartRef__":true,"id":14825},{"__isSmartRef__":true,"id":14826}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"14823":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"14824":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"14825":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"14826":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"14827":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"14828":{"moveHorizontal":true},"14829":{"morph":{"__isSmartRef__":true,"id":14810},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14830":{"submorphs":[],"scripts":[],"id":"5DD9F73D-CFC6-43DE-ABBB-1382D3B03485","shape":{"__isSmartRef__":true,"id":14831},"droppingEnabled":true,"halosEnabled":true,"itemList":["-- ALL --"],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":14832},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":14248},"attributeConnections":[{"__isSmartRef__":true,"id":14833}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":14835},"eventHandler":{"__isSmartRef__":true,"id":14836},"_FontSize":10,"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":19,"derivationIds":[209,"3900F5DF-0FF7-4C94-8BDB-44AAE12B4A3E","35301083-B60D-4A43-8566-23860EEB4C04","9CC401CC-5A35-4643-935B-FD049C284E16","C9879D40-5E79-4C56-AA79-562ED82BF052","9F6F9261-EB76-4B58-B77D-7D70813A1ED7","8B59E237-F372-4F70-9768-7E9C1A7A021D","FC85F1B9-1978-42D2-850C-BD249981E8B4","D2B607C6-A89B-4B3F-91BB-720451EAB98D","CC361093-FF73-479B-9431-C645CB48F518","307D3B7C-C0E1-484F-8D7E-39FBA9D8EDA5","038AF132-861E-4A77-8756-E6B476413639","65B6CA87-98DE-4473-B4DD-F8763BC3B06A","0AA0E45B-6DCC-4AE0-938C-E53794A511DF","806ACC1C-1353-436B-B1FE-568846777C17","C74AE022-1184-4FDF-A53D-A17627FF61EA","686AF565-EEB0-4AB7-A12E-26727DAD9291","1102A5B3-9973-4471-9EDD-FD7AB802DEA6","BEB06225-53D0-4ACC-9154-DC2DEB5728B7","E32FE34B-7520-4612-B927-C8F9EDFC69BB","D21F598A-4E44-4752-B205-9595DF0E9AE3","FD6670F8-44F6-436A-960F-8BE8890F8B75","C5522110-E6CA-4F96-B33E-BEBF6978088A","BC9AC080-8315-49F1-B6CB-42F3B802F7D9","242A0967-D906-4396-9326-3CC0C9C3EA60","39C09174-63A5-421F-AB88-7A98755661E5","40C2C766-248F-451F-9D85-D1E4DCCB559D","C89F1632-FADA-4B3E-B2D9-1C1020ACB29A","F78E083D-993E-4963-8A7F-CB7182DE3931","CA8FBD0F-D14E-42E6-A6D4-803B9EE12264"],"selection":null,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14837},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,346.7)","distanceToDragEvent":"lively.pt(125.0,-17.1)"},"14831":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(180.0,74.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"14832":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"14833":{"sourceObj":{"__isSmartRef__":true,"id":14830},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":14248},"targetMethodName":"displaySourceForConnection","converterString":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":14834},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"14834":{"source":{"__isSmartRef__":true,"id":14830},"target":{"__isSmartRef__":true,"id":14248}},"14835":{"resizeHeight":false,"moveVertical":true},"14836":{"morph":{"__isSmartRef__":true,"id":14830},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14837":{"preselectItem":{"__isSmartRef__":true,"id":14838}},"14838":{"varMapping":{"__isSmartRef__":true,"id":14839},"source":"function preselectItem() {\n if (this.getList().size() === 2) {\n this.selectAt(1);\n } else {\n this.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":14840},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14839":{"this":{"__isSmartRef__":true,"id":14830}},"14840":{"timestamp":{"__isSmartRef__":true,"id":14841},"user":"lauritz"},"14841":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:12:58 GMT+0100 (CET)"},"14842":{"submorphs":[{"__isSmartRef__":true,"id":14843}],"scripts":[],"id":47,"shape":{"__isSmartRef__":true,"id":14847},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":14848},"lighterFill":{"__isSmartRef__":true,"id":14853},"label":{"__isSmartRef__":true,"id":14843},"attributeConnections":[{"__isSmartRef__":true,"id":14858}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"_Rotation":0,"name":"ObjectEditorTargetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":14859},"_Scale":1,"owner":null,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["_Position","padding"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(215.0,35.0)","padding":"lively.rect(5,0,0,0)"},"14843":{"submorphs":[],"scripts":[],"id":48,"shape":{"__isSmartRef__":true,"id":14844},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":20,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":14842},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":14845}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"__serializedExpressions__":["_Position","textColor","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"14844":{"borderWidth":0,"fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,20.0)","_BorderColor":"Color.rgb(0,0,0)"},"14845":{"style":{"__isSmartRef__":true,"id":14846},"chunkOwner":{"__isSmartRef__":true,"id":14843},"storedString":"","_id":"_1356","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14846":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14847":{"_Fill":{"__isSmartRef__":true,"id":14848},"_BorderWidth":1,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,20.0)","_BorderColor":"Color.rgb(214,214,214)"},"14848":{"stops":[{"__isSmartRef__":true,"id":14849},{"__isSmartRef__":true,"id":14850},{"__isSmartRef__":true,"id":14851},{"__isSmartRef__":true,"id":14852}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"14849":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"14850":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"14851":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"14852":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"14853":{"stops":[{"__isSmartRef__":true,"id":14854},{"__isSmartRef__":true,"id":14855},{"__isSmartRef__":true,"id":14856},{"__isSmartRef__":true,"id":14857}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"14854":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"14855":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"14856":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"14857":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"14858":{"sourceObj":{"__isSmartRef__":true,"id":14842},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":14255},"targetMethodName":"chooseTargetMorphMenu","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"14859":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"14860":{"submorphs":[],"scripts":[],"id":435,"shape":{"__isSmartRef__":true,"id":14861},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":218,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":14862},"textChunks":[{"__isSmartRef__":true,"id":14863}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[15,15],"prevScroll":[0,0],"_ClipMode":"visible","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":14865}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":null,"_Align":"left","eventHandler":{"__isSmartRef__":true,"id":14867},"_MinTextWidth":218,"_MinTextHeight":null,"scriptAnnotations":{"__isSmartRef__":true,"id":14868},"selection":{"__isSmartRef__":true,"id":14247},"previousSelection":[0,13],"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":14887},"_Rotation":0,"_Scale":1,"savedTextString":"100","__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14888},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(200.0,10.0)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(153.9,-23.7)"},"14861":{"fill":null,"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":3.7000000000000006,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(220.0,20.0)","_BorderColor":"Color.rgb(192,192,192)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(244,244,244)"},"14862":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"14863":{"style":{"__isSmartRef__":true,"id":14864},"chunkOwner":{"__isSmartRef__":true,"id":14860},"storedString":"","_id":"_1357","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14864":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"14865":{"sourceObj":{"__isSmartRef__":true,"id":14860},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":14248},"targetMethodName":"setTarget","converterString":"function (name) { return $world.get(name)}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":14866},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"14866":{"source":{"__isSmartRef__":true,"id":14860},"target":{"__isSmartRef__":true,"id":14248}},"14867":{"morph":{"__isSmartRef__":true,"id":14860},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14868":{"createListMorph":{"__isSmartRef__":true,"id":14869},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":14871},"onMouseUp":{"__isSmartRef__":true,"id":14873},"resetConnections":{"__isSmartRef__":true,"id":14875},"setTargetToListSelection":{"__isSmartRef__":true,"id":14877},"setTargetOfPane":{"__isSmartRef__":true,"id":14879},"onBlur":{"__isSmartRef__":true,"id":14881},"reset":{"__isSmartRef__":true,"id":14883},"onMouseDown":{"__isSmartRef__":true,"id":14885}},"14869":{"time":{"__isSmartRef__":true,"id":14870},"user":"lauritz"},"14870":{"isSerializedDate":true,"string":"Fri Oct 28 2011 05:27:29 GMT+0200 (CEST)"},"14871":{"time":{"__isSmartRef__":true,"id":14872},"user":"lauritz"},"14872":{"isSerializedDate":true,"string":"Fri Oct 14 2011 23:48:37 GMT+0200 (CEST)"},"14873":{"time":{"__isSmartRef__":true,"id":14874},"user":"lauritz"},"14874":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:51:14 GMT+0200 (CEST)"},"14875":{"time":{"__isSmartRef__":true,"id":14876},"user":"lauritz"},"14876":{"isSerializedDate":true,"string":"Wed Sep 28 2011 01:03:17 GMT+0200 (CEST)"},"14877":{"time":{"__isSmartRef__":true,"id":14878},"user":"lauritz"},"14878":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:00:58 GMT+0200 (CEST)"},"14879":{"time":{"__isSmartRef__":true,"id":14880},"user":"lauritz"},"14880":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:34:37 GMT+0200 (CEST)"},"14881":{"time":{"__isSmartRef__":true,"id":14882},"user":"lauritz"},"14882":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:24:18 GMT+0200 (CEST)"},"14883":{"time":{"__isSmartRef__":true,"id":14884},"user":"lauritz"},"14884":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:26:15 GMT+0200 (CEST)"},"14885":{"time":{"__isSmartRef__":true,"id":14886},"user":"lauritz"},"14886":{"isSerializedDate":true,"string":"Mon Oct 17 2011 19:49:00 GMT+0200 (CEST)"},"14887":{},"14888":{"getList":{"__isSmartRef__":true,"id":14889},"setList":{"__isSmartRef__":true,"id":14892},"reset":{"__isSmartRef__":true,"id":14895},"example":{"__isSmartRef__":true,"id":14898},"removeList":{"__isSmartRef__":true,"id":14901},"onBlur":{"__isSmartRef__":true,"id":14904},"createListMorph":{"__isSmartRef__":true,"id":14911},"resetConnections":{"__isSmartRef__":true,"id":14914},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":14917},"setTargetToListSelection":{"__isSmartRef__":true,"id":14920},"setTargetOfPane":{"__isSmartRef__":true,"id":14923},"onMouseDown":{"__isSmartRef__":true,"id":14926}},"14889":{"varMapping":{"__isSmartRef__":true,"id":14890},"source":"function getList() {\n return this.world().indentedListItemsOfMorphNames();\n}","funcProperties":{"__isSmartRef__":true,"id":14891},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14890":{"this":{"__isSmartRef__":true,"id":14860}},"14891":{},"14892":{"varMapping":{"__isSmartRef__":true,"id":14893},"source":"function setList(list) {\n return this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":14894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14893":{"this":{"__isSmartRef__":true,"id":14860}},"14894":{},"14895":{"varMapping":{"__isSmartRef__":true,"id":14896},"source":"function reset() {\n this.list = [];\n this.textString = 'empty';\n this.removeList();\n this.resetConnections();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":14897},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14896":{"this":{"__isSmartRef__":true,"id":14860}},"14897":{},"14898":{"varMapping":{"__isSmartRef__":true,"id":14899},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n this.setList(Array.range(0,100));\n this.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":14900},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14899":{"this":{"__isSmartRef__":true,"id":14860}},"14900":{},"14901":{"varMapping":{"__isSmartRef__":true,"id":14902},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":14903},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14902":{"this":{"__isSmartRef__":true,"id":14860}},"14903":{},"14904":{"varMapping":{"__isSmartRef__":true,"id":14905},"source":"function onBlur() {\n $super();\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":14910},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14905":{"this":{"__isSmartRef__":true,"id":14860},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14906}},"14906":{"$super":{"__isSmartRef__":true,"id":14907}},"14907":{"varMapping":{"__isSmartRef__":true,"id":14908},"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":14909},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14908":{"obj":{"__isSmartRef__":true,"id":14860},"name":"onBlur"},"14909":{},"14910":{},"14911":{"varMapping":{"__isSmartRef__":true,"id":14912},"source":"function createListMorph() {\n var list = new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 520));\n list.setList(this.getList());\n list.setFontSize(12);\n\n list.disableGrabbing();\n list.disableDragging();\n \n this.addMorph(list);\n list.setPosition(pt(0,0));\n\n connect(list, 'selection', this, 'setTargetToListSelection');\n \n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":14913},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14912":{"this":{"__isSmartRef__":true,"id":14860}},"14913":{},"14914":{"varMapping":{"__isSmartRef__":true,"id":14915},"source":"function resetConnections() {\n disconnectAll(this);\n connect(this, 'savedTextString', this.owner, 'setTarget', {converter: \n\tfunction (name) { return $world.get(name)}});\n}","funcProperties":{"__isSmartRef__":true,"id":14916},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14915":{"this":{"__isSmartRef__":true,"id":14860}},"14916":{},"14917":{"varMapping":{"__isSmartRef__":true,"id":14918},"source":"function displayTopLevelMorphs() {\n if (this.listMorph) { this.removeList(); return true }\n var list = this.createListMorph(); \n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":14919},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14918":{"this":{"__isSmartRef__":true,"id":14860}},"14919":{},"14920":{"varMapping":{"__isSmartRef__":true,"id":14921},"source":"function setTargetToListSelection(selection) { \n this.removeList();\n if (!selection) return;\n if (this.owner.scriptPane.hasChanged()) {\n var that = this;\n var callback = function (confirmed) {\n if (confirmed) that.setTargetOfPane(selection);\n }\n this.owner.confirmUnsavedChanges(callback);\n } else {\n this.setTargetOfPane(selection);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":14922},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14921":{"this":{"__isSmartRef__":true,"id":14860}},"14922":{},"14923":{"varMapping":{"__isSmartRef__":true,"id":14924},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.setTextString(selection.getName());\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":14925},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14924":{"this":{"__isSmartRef__":true,"id":14860}},"14925":{},"14926":{"varMapping":{"__isSmartRef__":true,"id":14927},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n return false;\n } else {\n this.displayTopLevelMorphs();\n return true;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":14932},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14927":{"this":{"__isSmartRef__":true,"id":14860},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14928}},"14928":{"$super":{"__isSmartRef__":true,"id":14929}},"14929":{"varMapping":{"__isSmartRef__":true,"id":14930},"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":14931},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14930":{"obj":{"__isSmartRef__":true,"id":14860},"name":"onMouseDown"},"14931":{},"14932":{},"14933":{"morph":{"__isSmartRef__":true,"id":14255},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14934":{"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":14935},"setTarget":{"__isSmartRef__":true,"id":14938},"generateSourceForScript":{"__isSmartRef__":true,"id":14941},"generateSourceForConnection":{"__isSmartRef__":true,"id":14944},"generateTargetCode":{"__isSmartRef__":true,"id":14947},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":14950},"displayJavaScriptSource":{"__isSmartRef__":true,"id":14953},"displaySourceForScript":{"__isSmartRef__":true,"id":14956},"displaySourceForConnection":{"__isSmartRef__":true,"id":14959},"newScript":{"__isSmartRef__":true,"id":14962},"newConnection":{"__isSmartRef__":true,"id":14965},"deleteSelectedScript":{"__isSmartRef__":true,"id":14968},"disconnectConnection":{"__isSmartRef__":true,"id":14971},"updateLists":{"__isSmartRef__":true,"id":14974},"displayInitialScript":{"__isSmartRef__":true,"id":14977},"reset":{"__isSmartRef__":true,"id":14980},"selectChangedContent":{"__isSmartRef__":true,"id":14983}},"14935":{"varMapping":{"__isSmartRef__":true,"id":14936},"source":"function sortedScriptNamesOfObj(obj) {\n if (!Functions.own(obj) || Functions.own(obj).size() == 0) return [];\n return Functions.own(obj)\n\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":14937},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14936":{"this":{"__isSmartRef__":true,"id":14255}},"14937":{},"14938":{"varMapping":{"__isSmartRef__":true,"id":14939},"source":"function setTarget(morph) {\n this.reset();\n module('lively.ide.SyntaxHighlighting').load(true);\n this.target = morph;\n this.morphSelector.textString = (this.target.getName() || this.target.toString());\n this.scriptPane.doitContext = this.target;\n this.updateLists();\n this.displayInitialScript();\n}","funcProperties":{"__isSmartRef__":true,"id":14940},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14939":{"this":{"__isSmartRef__":true,"id":14255}},"14940":{},"14941":{"varMapping":{"__isSmartRef__":true,"id":14942},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":14943},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14942":{"this":{"__isSmartRef__":true,"id":14255}},"14943":{},"14944":{"varMapping":{"__isSmartRef__":true,"id":14945},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":14946},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14945":{"this":{"__isSmartRef__":true,"id":14255}},"14946":{},"14947":{"varMapping":{"__isSmartRef__":true,"id":14948},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\";\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name;\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\";\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")';\n\telse if (targetObject instanceof Morph) \n\t\treturn '$morph(\"' + name + '\")';\n\telse \n\t\treturn \"????\";\n}","funcProperties":{"__isSmartRef__":true,"id":14949},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14948":{"this":{"__isSmartRef__":true,"id":14255}},"14949":{},"14950":{"varMapping":{"__isSmartRef__":true,"id":14951},"source":"function sortedConnectionNamesOfObj(obj) {\n if (\"attributeConnections\" in obj) {\n return obj.attributeConnections\n .sortBy(function(each) {return name.toLowerCase() })\n .collect(function(each) {return [each.getSourceAttrName(), each]});\n } else {\n return [];\n }\n}","funcProperties":{"__isSmartRef__":true,"id":14952},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14951":{"this":{"__isSmartRef__":true,"id":14255}},"14952":{},"14953":{"varMapping":{"__isSmartRef__":true,"id":14954},"source":"function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":14955},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14954":{"this":{"__isSmartRef__":true,"id":14255}},"14955":{},"14956":{"varMapping":{"__isSmartRef__":true,"id":14957},"source":"function displaySourceForScript(scriptName) {\n if (!scriptName) return;\n var code = \"\", that = this;\n if (scriptName === \"-- ALL --\") {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\");\n });\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":14958},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14957":{"this":{"__isSmartRef__":true,"id":14255}},"14958":{},"14959":{"varMapping":{"__isSmartRef__":true,"id":14960},"source":"function displaySourceForConnection(connection) {\n if (!connection) return;\n var code = \"\", that = this;\n if ((typeof connection === \"string\") && connection === \"-- ALL --\") {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n })\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":14961},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14960":{"this":{"__isSmartRef__":true,"id":14255}},"14961":{},"14962":{"varMapping":{"__isSmartRef__":true,"id":14963},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n\\t\\n});\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":14964},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14963":{"this":{"__isSmartRef__":true,"id":14255}},"14964":{},"14965":{"varMapping":{"__isSmartRef__":true,"id":14966},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":14967},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14966":{"this":{"__isSmartRef__":true,"id":14255}},"14967":{},"14968":{"varMapping":{"__isSmartRef__":true,"id":14969},"source":"function deleteSelectedScript() {\n if (this.scriptList.selection && this.target) {\n if (!this.target.hasOwnProperty(this.scriptList.selection)) return;\n delete this.target[this.scriptList.selection];\n this.updateLists();\n this.displayInitialScript();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":14970},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14969":{"this":{"__isSmartRef__":true,"id":14255}},"14970":{},"14971":{"varMapping":{"__isSmartRef__":true,"id":14972},"source":"function disconnectConnection() {\n var selection = this.connectionList.selection;\n if (selection && \n (typeof selection !== \"string\") &&\n this.target.attributeConnections.indexOf(selection[1]) > -1) {\n var c = this.connectionList.selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n this.updateLists();\n this.displayInitialScript();\n } \n}","funcProperties":{"__isSmartRef__":true,"id":14973},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14972":{"this":{"__isSmartRef__":true,"id":14255}},"14973":{},"14974":{"varMapping":{"__isSmartRef__":true,"id":14975},"source":"function updateLists() {\n this.scriptList.setList(this.sortedScriptNamesOfObj(this.target));\n var scriptListItems = this.scriptList.getList();\n scriptListItems.unshift(\"-- ALL --\");\n this.scriptList.setList(scriptListItems);\n\n this.connectionList.setList(this.sortedConnectionNamesOfObj(this.target));\n var connectionListItems = this.connectionList.getList();\n connectionListItems.unshift(\"-- ALL --\");\n this.connectionList.setList(connectionListItems);\n}","funcProperties":{"__isSmartRef__":true,"id":14976},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14975":{"this":{"__isSmartRef__":true,"id":14255}},"14976":{},"14977":{"varMapping":{"__isSmartRef__":true,"id":14978},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.selectAt(0);\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.selectAt(0);\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":14979},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14978":{"this":{"__isSmartRef__":true,"id":14255}},"14979":{},"14980":{"varMapping":{"__isSmartRef__":true,"id":14981},"source":"function reset() {\n this.target = null;\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.connectionList.setList();\n this.scriptPane.setTextString(\"\");\n this.morphSelector.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":14982},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14981":{"this":{"__isSmartRef__":true,"id":14255}},"14982":{},"14983":{"varMapping":{"__isSmartRef__":true,"id":14984},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n var index = this.scriptList.getList().indexOf(addScriptMatches[0]);\n if (index > -1) { \n return this.scriptList.selectAt(index);\n }\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i -1) {\n var c = selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n editor.updateLists();\n editor.displayInitialScript();\n } \n }\n\n var message = 'Disconnect \"' + selection[0] +'\" connection?';\n var callback = disconnectConnection;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":15076},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15075":{"this":{"__isSmartRef__":true,"id":15051}},"15076":{"timestamp":{"__isSmartRef__":true,"id":15077},"user":"lauritz","categories":[]},"15077":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (CET)"},"15078":{"submorphs":[{"__isSmartRef__":true,"id":15079}],"scripts":[],"id":"8E0FA978-7C5E-4BE8-8F12-1C60E25DA0C3","shape":{"__isSmartRef__":true,"id":15084},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":15090},"lighterFill":{"__isSmartRef__":true,"id":15095},"label":{"__isSmartRef__":true,"id":15079},"attributeConnections":[{"__isSmartRef__":true,"id":15100}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":15102},"owner":{"__isSmartRef__":true,"id":14248},"eventHandler":{"__isSmartRef__":true,"id":15103},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":14248},"derivationIds":[217,"FDC10087-12CF-4570-9211-8309CB6A9AA3","E18FC530-4B1F-4F08-8DA6-3866A3519E56","04A2AAC3-6A9E-40BB-9408-EBB2567EE63B","8C1A42CE-840C-4AAE-BD79-C93A445B9EBF","61FC11FA-B87E-4EFE-BD15-564D3178B68B","ED34F9B5-9E00-41B3-8313-D9C3D6B3B231","A7481F4B-D444-4B4F-BDA2-4F9F03AEC24D","7DDF7175-34FC-4521-A7C3-580A8BE63351","DEA39C05-FAD7-4882-AB3D-0EE12C3408F9","99186A50-1411-4B6F-B1CB-FF0742C20D7D","10F3E467-6BB8-4D07-BD17-8C50593FD6B8","7260818C-6472-4288-8BDD-1E7798A543F3","DEBB5BDB-018D-4BA1-9FB9-73DC84C51D89","D75BCAED-3029-46EB-B944-4A102BB1BC0F","9A977DA2-B325-4DFA-9683-3DC9ECEFAAC0","48A5078F-B4A5-4F4E-884D-84CCDFFBE6F0","33905494-AA01-4311-8398-1F6C3D4F1BAC","5D7201A7-1374-49AD-851F-E3167EFED99E","9B69B6C6-71F2-402E-89D1-E97FC2D3AE13","DA1B3A74-F4A6-427B-8FBD-3D2E9D8CD866","DBFC4A4F-8601-4C32-9460-53902C3B0F37","ED51CA7C-CE32-4CF5-9398-0BA9B791FF5E","4F7A7C1A-3788-478C-AFF5-BA62C7FCB01D","FCEFF15E-E5B8-4C7E-A139-302649441119","3674B8DC-F4E5-4A5C-ACEC-96D743BB6050","33E0336F-FD6A-4AAB-AECB-B7D6C7C80631","761015EE-47CF-40F6-A403-8A959B2DB0A6","361B531D-7A1C-441A-BE8B-0B503543FF6C","E283DDFD-1D8F-4E3D-A0BC-40C30221FFDC"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15104},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(160.0,40.0)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(33.4,-21.3)"},"15079":{"submorphs":[],"scripts":[],"id":"D728473B-82D1-409B-8B0F-5AE6E9603B67","shape":{"__isSmartRef__":true,"id":15080},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":25,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":15078},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":15081}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":15083},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":25,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[218,"852A7BD9-52EE-4708-A2D5-1BDECF33C958","7B4F173E-9726-472A-9B30-530D4AA92AD9","CBA217F6-2832-4213-9ABE-47753C1A4180","E6B97D1D-95D5-4644-9359-1D08D42A51F4","4391A57E-70C2-4628-9828-DD668CCE546E","F0C6C298-3B8B-42B2-B5E9-E5B82F607B01","DF0CAF75-4247-4797-B1A0-AD7444391E2A","B4C4F09B-F663-47A1-B85F-461D5452F5F8","FD966AB1-4685-4151-9A38-B1B21B0237EF","CA91FC2C-D7CC-4123-AFD2-108F8F0C2E97","88F1581A-7AEF-4646-B7F9-3890CDDB8494","DC577877-7F00-4238-9246-08C2A10C0CC9","818C9467-71A2-44D6-B01F-1523A0CD5476","C0CF3DDB-AA12-49E0-B12A-6B620552BB47","853E19A1-E97D-463D-A24F-0148671EB696","0203CA4C-E523-4F7D-824B-F09BA3914BDD","18B98A59-6C8E-4386-B3EF-A17259C51C0F","24D84E0A-FA16-47DE-934D-E60729EEB227","7035F1EB-4B8C-4F20-B3AC-966403F55C0A","69831817-0662-4848-8481-44558987D21D","BA13E4C6-DF2A-4059-9174-7725FA3FE514","3E989A29-2A8F-4AFE-B312-A0852B746605","7B675033-945D-4AE1-B85F-DBD35C7B02AA","E0D76A08-70F9-4710-907E-B2D83D60D29A","495F5D43-B450-45B7-B238-FC12AA8F6488","B551041D-4E6E-44F3-8405-1DCE5344BCCD","0A287650-EC32-45AA-8504-0513B196727F","717B0EFA-1422-4224-9A53-5A494F6191A4","C86C167E-8A7D-43BE-AFED-AAEDA70B95EE"],"_Scale":1,"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"15080":{"borderWidth":0,"fill":null,"_ClipMode":"hidden","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(25.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"15081":{"style":{"__isSmartRef__":true,"id":15082},"chunkOwner":{"__isSmartRef__":true,"id":15079},"storedString":"-","_id":"_1363","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15082":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15083":{"morph":{"__isSmartRef__":true,"id":15079},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15084":{"_Fill":{"__isSmartRef__":true,"id":15085},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(25.0,20.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"15085":{"stops":[{"__isSmartRef__":true,"id":15086},{"__isSmartRef__":true,"id":15087},{"__isSmartRef__":true,"id":15088},{"__isSmartRef__":true,"id":15089}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15086":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"15087":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"15088":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"15089":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"15090":{"stops":[{"__isSmartRef__":true,"id":15091},{"__isSmartRef__":true,"id":15092},{"__isSmartRef__":true,"id":15093},{"__isSmartRef__":true,"id":15094}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15091":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"15092":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15093":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15094":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"15095":{"stops":[{"__isSmartRef__":true,"id":15096},{"__isSmartRef__":true,"id":15097},{"__isSmartRef__":true,"id":15098},{"__isSmartRef__":true,"id":15099}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15096":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"15097":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15098":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15099":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"15100":{"sourceObj":{"__isSmartRef__":true,"id":15078},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":15078},"targetMethodName":"deleteSelectedScript","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":15101},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"15101":{"source":{"__isSmartRef__":true,"id":15078},"target":{"__isSmartRef__":true,"id":15078}},"15102":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"15103":{"morph":{"__isSmartRef__":true,"id":15078},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15104":{"deleteSelectedScript":{"__isSmartRef__":true,"id":15105}},"15105":{"varMapping":{"__isSmartRef__":true,"id":15106},"source":"function deleteSelectedScript() {\n\n var editor = this.objectEditorPane;\n var selection = editor.scriptList.selection;\n\n if (!editor.target || editor.scriptList.getList().size() < 2) \n return; \n\n var deleteScript = function (confirmed) {\n if (!confirmed) return;\n \n if (selection && editor.target) {\n if (!editor.target.hasOwnProperty(selection)) \n return;\n delete editor.target[selection];\n editor.updateLists();\n editor.displayInitialScript();\n }\n }\n\n var message = 'Delete \"' + selection + '\" script?';\n var callback = deleteScript;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":15107},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15106":{"this":{"__isSmartRef__":true,"id":15078}},"15107":{"timestamp":{"__isSmartRef__":true,"id":15108},"user":"lauritz"},"15108":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (CET)"},"15109":{"submorphs":[{"__isSmartRef__":true,"id":15110}],"scripts":[],"id":"7792BC9B-1544-43C0-9FA2-6F3FF1BD7633","shape":{"__isSmartRef__":true,"id":15116},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":15117},"lighterFill":{"__isSmartRef__":true,"id":15122},"label":{"__isSmartRef__":true,"id":15110},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":15127},"list":[],"eventHandler":{"__isSmartRef__":true,"id":15128},"owner":{"__isSmartRef__":true,"id":14248},"textString":"","selection":{"__isSmartRef__":true,"id":15129},"_ClipMode":"visible","prevScroll":[0,0],"derivationIds":[221,"4AC64FBA-95AC-42B2-A078-B6DA97889093","E26ED0E6-C4CE-4C82-94D5-175270E8459E","D292F2FC-C2B6-48AE-B779-8CC5868FFA49","53A862EB-032C-4BF0-9B21-58C7E0C0A9B2","CC4D188B-510F-48DE-A0E1-EC8D2CD63F9F","0CD057F2-3517-4849-A69E-1EF79B05ACE8","66EBBB7D-8FA7-4D43-AE78-A18DA3B970BA","A50C1893-4138-4E29-865B-92F53F76D08A","1EC5D2B9-3539-419A-8DD6-CE82DEABB02C","95DC06D5-F4C7-49E2-8A01-110D1B0AFBD0","672DEFAB-2BE5-4C60-9779-3B44694FBEB1","E3476213-5872-492C-BE29-0C6A5A150ED8","AA2F6ABE-1CCB-403D-94DD-8FB371F3DDCE","54B67D51-AB19-40A0-A2A6-EC51F3171CAC","1CF44342-896F-4ACB-847F-7CB3CD10ED5A","279A9257-1667-4E0C-844B-A4E0D02462F0","DDCBD835-4B3F-4B8F-9623-696DA76C3A2C","D2CB17F3-5DD0-4E97-BF99-40A95ABF976B","FA519665-2394-43D3-8DCF-802A158F3291","90519BB5-7419-46E0-B7E3-4C26304F3414","0B7FC23C-C63C-4F20-8BAF-1BD1B7205762","B54FAD70-E598-4B06-8F41-00843A06D4B0","5A8ECBD6-ADDE-43FA-8D9E-BC483898DF8A","69DD3160-FAD3-4AD8-9B1C-CB9229AD8034","2C8AD368-8815-41D5-8C8D-CD36ECCF4A96","80C5655D-B03D-413B-A84C-D59A60D8EEEC","BA8066E4-5B8E-4048-97C5-332953805999","E27E2CB2-789E-4269-B5E8-2631B5D2840B","0EDAA37B-E8BA-4DE7-820A-17A44E299F5C"],"_Rotation":0,"_Scale":1,"isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15135},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(200.1,10.0)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(122.9,-11.6)"},"15110":{"submorphs":[],"scripts":[],"id":"3AAF5896-79F8-49BF-9442-8952862FD071","shape":{"__isSmartRef__":true,"id":15111},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":15109},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":15112}],"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":15114}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"eventHandler":{"__isSmartRef__":true,"id":15115},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"derivationIds":[222,"30F054A3-7658-405B-8098-B7D87AA8A9ED","556D6E07-45B7-42EC-A486-DE275EF0B034","06B0B080-467A-46CC-8B0D-9C0A9B9A71F1","5E2D96C9-BB9B-4735-8673-A79847435197","B48AA022-2022-4A2A-9090-4D884FB3DFD3","8B2F743A-98C5-45E1-B03C-5019114EAC47","D09C56C3-A2DC-4BDF-B8A1-6365138ECD01","74158C3D-B79E-43E7-B111-48701B10ACE2","B19E117B-E40F-4B9F-86AC-BFB2AAFD5336","4E3B3D72-E52C-44ED-AE32-78939BA1ECFD","2459D1F0-E49C-4882-AB4C-D78C1A496962","3D8D3B02-0459-45C1-A606-D0DB4B07958C","78AAE288-D261-4BEA-9436-C8C31B890B44","2E10F795-9892-4BF7-9A46-BCB90FD6112E","DE32EFA9-C920-42F6-9F2E-7EDABEC006AF","23FBFC79-1927-48FD-8C1C-09FFD7539784","3409506C-9BAE-43DA-BCAF-94392F9646DF","ED94289E-98FC-4126-9EED-25FDC98D5BFC","63C2F1D8-3A1B-464B-9945-1F661D4CFE26","782AAB82-32E9-4A37-9DC0-3118636C2CCE","D564B3C8-D9B5-4D7D-80DD-16715ED878F6","D9344242-9F26-4A5D-B86D-6FAEA43B439C","E7E3A5EE-8F82-4F04-9E65-771E2E4AC9D1","55BF0D1C-FCDF-4D8B-9E42-8EF0F36074A3","B3BE05E0-5704-45B4-8B1D-E7FDA5CE6235","9A503124-0F1D-4390-B668-E4457CBC1376","26D1AD85-C129-4C24-A16A-B6863FC35F41","7425ED3B-1418-47C8-A2EE-52CDF3C4D860","C4B9C269-4F6E-4EA2-A6EA-38C21A011591"],"_Scale":1,"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(2.0,1.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(5,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"15111":{"borderWidth":0,"fill":null,"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(220.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"15112":{"style":{"__isSmartRef__":true,"id":15113},"chunkOwner":{"__isSmartRef__":true,"id":15110},"_id":"_43618","storedString":"node","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15113":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15114":{"sourceObj":{"__isSmartRef__":true,"id":15110},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":15109},"targetMethodName":"selection","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"15115":{"morph":{"__isSmartRef__":true,"id":15110},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15116":{"_Fill":{"__isSmartRef__":true,"id":15117},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(220.0,20.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"15117":{"stops":[{"__isSmartRef__":true,"id":15118},{"__isSmartRef__":true,"id":15119},{"__isSmartRef__":true,"id":15120},{"__isSmartRef__":true,"id":15121}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15118":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"15119":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15120":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15121":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"15122":{"stops":[{"__isSmartRef__":true,"id":15123},{"__isSmartRef__":true,"id":15124},{"__isSmartRef__":true,"id":15125},{"__isSmartRef__":true,"id":15126}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15123":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"15124":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15125":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15126":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"15127":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"15128":{"morph":{"__isSmartRef__":true,"id":15109},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15129":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":15130},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":580,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":28,"name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":15131},"textChunks":[{"__isSmartRef__":true,"id":15132}],"eventHandler":{"__isSmartRef__":true,"id":15134},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":580,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[35,35],"priorSelectionRange":[23,23],"charsReplaced":"WIP / Proof of Concept","lastFindLoc":22,"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__serializedExpressions__":["_Position","textColor","_TextColor","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(37.0,23.0)","textColor":"Color.rgb(0,0,0)","_TextColor":"Color.rgb(0,79,152)","distanceToDragEvent":"lively.pt(221.0,-12.0)"},"15130":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(580.0,43.0)","_BorderColor":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"15131":{"partsSpaceName":"PartsBin/Worlds/","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"15132":{"style":{"__isSmartRef__":true,"id":15133},"chunkOwner":{"__isSmartRef__":true,"id":15129},"storedString":"","_id":"_1365","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15133":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15134":{"morph":{"__isSmartRef__":true,"id":15129},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15135":{"reset":{"__isSmartRef__":true,"id":15136},"onMouseDown":{"__isSmartRef__":true,"id":15140},"onBlur":{"__isSmartRef__":true,"id":15148},"createScenePresentation":{"__isSmartRef__":true,"id":15156},"presentTargetChooser":{"__isSmartRef__":true,"id":15160},"removeTargetChooser":{"__isSmartRef__":true,"id":15164},"removeHighlight":{"__isSmartRef__":true,"id":15168},"highlightCurrentTarget":{"__isSmartRef__":true,"id":15172},"updateTargetFromSelection":{"__isSmartRef__":true,"id":15176},"currentMorphicScene":{"__isSmartRef__":true,"id":15180},"highlightTarget":{"__isSmartRef__":true,"id":15184},"setLabel":{"__isSmartRef__":true,"id":15188},"updateTargetFromOwner":{"__isSmartRef__":true,"id":15196}},"15136":{"varMapping":{"__isSmartRef__":true,"id":15137},"source":"function reset() {\n this.removeTargetChooser();\n this.setLabel('empty');\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'});\n}","funcProperties":{"__isSmartRef__":true,"id":15138},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15137":{"this":{"__isSmartRef__":true,"id":15109}},"15138":{"timestamp":{"__isSmartRef__":true,"id":15139},"user":"lauritz","tags":[]},"15139":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:57 GMT+0200 (CEST)"},"15140":{"varMapping":{"__isSmartRef__":true,"id":15141},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) {\n return $super(evt);\n }\n \n if (this.listMorph) {\n // clicked on morph, not the list, not the list's scrollbar\n if (evt.target === this.renderContext().shapeNode)\n this.removeTargetChooser();\n } else {\n this.presentTargetChooser();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15146},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15141":{"this":{"__isSmartRef__":true,"id":15109},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15142}},"15142":{"$super":{"__isSmartRef__":true,"id":15143}},"15143":{"varMapping":{"__isSmartRef__":true,"id":15144},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15145},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15144":{"obj":{"__isSmartRef__":true,"id":15109},"name":"onMouseDown"},"15145":{},"15146":{"timestamp":{"__isSmartRef__":true,"id":15147},"user":"lauritz","tags":[]},"15147":{"isSerializedDate":true,"string":"Fri Aug 03 2012 12:44:10 GMT+0200 (CEST)"},"15148":{"varMapping":{"__isSmartRef__":true,"id":15149},"source":"function onBlur(evt) {\n $super(evt);\n \n // remove the scene presentation when clicked elsewhere\n var target = evt.world.clickedOnMorph;\n if (!this.listMorph || !this.listMorph.isAncestorOf(target)) {\n this.removeTargetChooser();\n } else {\n this.focus();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15154},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15149":{"this":{"__isSmartRef__":true,"id":15109},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15150}},"15150":{"$super":{"__isSmartRef__":true,"id":15151}},"15151":{"varMapping":{"__isSmartRef__":true,"id":15152},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15153},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15152":{"obj":{"__isSmartRef__":true,"id":15109},"name":"onBlur"},"15153":{},"15154":{"timestamp":{"__isSmartRef__":true,"id":15155},"user":"lauritz","tags":[]},"15155":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:05 GMT+0200 (CEST)"},"15156":{"varMapping":{"__isSmartRef__":true,"id":15157},"source":"function createScenePresentation() {\n var that = this,\n items = this.currentMorphicScene(),\n height = this.owner.getExtent().y,\n bounds = new Rectangle(0, this.getExtent().y, this.getExtent().x * 2, height),\n treeMorph = new lively.morphic.Tree(),\n rect = lively.morphic.Morph.makeRectangle(bounds),\n currentTarget = null;\n \n treeMorph.childrenPerPage = 10000;\n treeMorph.setName(\"MorphSelectorTree\");\n treeMorph.getLayouter().defer();\n treeMorph.setItem(items);\n treeMorph.childNodes.each(function (n) {\n n.expand();\n })\n \n currentTarget = this.highlightCurrentTarget(treeMorph);\n \n rect.setFill(Color.white);\n rect.beClip(true);\n rect.disableGrabbing();\n rect.disableDragging();\n rect.setBorderWidth(1);\n rect.setBorderColor(Color.rgb(150,150,150));\n rect.addMorph(treeMorph);\n rect.treeMorph = treeMorph;\n rect.currentTarget = currentTarget;\n\n return rect;\n}","funcProperties":{"__isSmartRef__":true,"id":15158},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15157":{"this":{"__isSmartRef__":true,"id":15109}},"15158":{"timestamp":{"__isSmartRef__":true,"id":15159},"user":"lauritz","tags":[]},"15159":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:56 GMT+0200 (CEST)"},"15160":{"varMapping":{"__isSmartRef__":true,"id":15161},"source":"function presentTargetChooser() {\n var list = this.createScenePresentation(),\n tree = list.treeMorph,\n target = list.currentTarget\n \n list.setVisible(false)\n this.addMorph(list)\n this.listMorph = list\n list.focus()\n\n // need temp here, doesn't work otherwise, strange errors... Javascript WAT\n var layouting = function() {\n list.setVisible(true)\n \n if (target) {\n var globalTransform = new lively.morphic.Similitude()\n for (var morph = target; (morph != list) && \n (morph != undefined); morph = morph.owner) {\n globalTransform.preConcatenate(morph.getTransform());\n } \n \n list.scrollRectIntoView(target.getBounds().\n translatedBy(globalTransform.getTranslation()));\n tree.getLayouter().resume();\n }\n }\n layouting.morphicDelay(1);\n}","funcProperties":{"__isSmartRef__":true,"id":15162},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15161":{"this":{"__isSmartRef__":true,"id":15109}},"15162":{"timestamp":{"__isSmartRef__":true,"id":15163},"user":"lauritz","tags":[]},"15163":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:13:22 GMT+0200 (CEST)"},"15164":{"varMapping":{"__isSmartRef__":true,"id":15165},"source":"function removeTargetChooser() {\n if (this.listMorph) {\n this.listMorph.remove();\n delete this.listMorph; \n }\n}","funcProperties":{"__isSmartRef__":true,"id":15166},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15165":{"this":{"__isSmartRef__":true,"id":15109}},"15166":{"timestamp":{"__isSmartRef__":true,"id":15167},"user":"lauritz","tags":[]},"15167":{"isSerializedDate":true,"string":"Fri Aug 03 2012 12:43:38 GMT+0200 (CEST)"},"15168":{"varMapping":{"__isSmartRef__":true,"id":15169},"source":"function removeHighlight(node) {\n node.submorphs[0].setFill(Color.rgb(255,255,255))\n}","funcProperties":{"__isSmartRef__":true,"id":15170},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15169":{"this":{"__isSmartRef__":true,"id":15109}},"15170":{"timestamp":{"__isSmartRef__":true,"id":15171},"user":"lauritz","tags":[]},"15171":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:32:15 GMT+0200 (CEST)"},"15172":{"varMapping":{"__isSmartRef__":true,"id":15173},"source":"function highlightCurrentTarget(tree) {\n var target = this.owner.target,\n nodes = tree.childNodes,\n highlightNode;\n\n if (!target) {\n return\n } else if (target.isMorph) {\n var expandables = [target],\n nextOwner = target,\n currentNode\n while (nextOwner.owner) {\n expandables.push(nextOwner.owner)\n nextOwner = nextOwner.owner\n }\n expandables.reverse().each(function (m) {\n currentNode = nodes.detect(function (n) {\n return n.item.value === m;\n })\n if (currentNode) {\n nodes = currentNode.childNodes\n if (!nodes && currentNode.item.children) {\n currentNode.expand();\n nodes = currentNode.childNodes;\n }\n } else {\n return;\n }\n })\n if (currentNode && currentNode.item.value === target) {\n highlightNode = currentNode;\n }\n } else {\n var groupNodes = nodes.detect(function (n) {\n return n.item.value === 'groups';\n }).childNodes\n highlightNode = groupNodes.detect(function (n) {\n // group names are unique\n return n.item.value.name === target.name;\n })\n }\n\n if (highlightNode) {\n this.highlightTarget(highlightNode);\n }\n return highlightNode;\n}","funcProperties":{"__isSmartRef__":true,"id":15174},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15173":{"this":{"__isSmartRef__":true,"id":15109}},"15174":{"timestamp":{"__isSmartRef__":true,"id":15175},"user":"lauritz","tags":[]},"15175":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:31:39 GMT+0200 (CEST)"},"15176":{"varMapping":{"__isSmartRef__":true,"id":15177},"source":"function updateTargetFromSelection(selection) { \n var that = this;\n var update = function(confirmed) {\n if (confirmed) {\n that.owner.setTarget(selection);\n that.setLabel(selection.getName() || selection.toString());\n }\n }\n \n this.removeTargetChooser();\n if (this.owner.hasUnsavedChanges && this.owner.hasUnsavedChanges()) {\n this.owner.confirmUnsavedChanges(update);\n } else {\n update(true);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15178},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15177":{"this":{"__isSmartRef__":true,"id":15109}},"15178":{"timestamp":{"__isSmartRef__":true,"id":15179},"user":"lauritz","tags":[]},"15179":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:57 GMT+0200 (CEST)"},"15180":{"varMapping":{"__isSmartRef__":true,"id":15181},"source":"function currentMorphicScene() {\n var onSelect = function onSelect(tree) {\n this.selector.updateTargetFromSelection(this.value);\n }\n var properties = {\n editorPane: this.owner,\n selector: this\n }\n \n return {children: [{ \n name: 'World',\n value: this.world(),\n selector: this,\n onSelect: onSelect,\n children: this.world().submorphs.invoke('treeItemsOfMorphNames',\n {scripts: [onSelect],\n properties: properties,\n showUnnamed: true}).compact()\n }]};\n}","funcProperties":{"__isSmartRef__":true,"id":15182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15181":{"this":{"__isSmartRef__":true,"id":15109}},"15182":{"timestamp":{"__isSmartRef__":true,"id":15183},"user":"lauritz","tags":[]},"15183":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:43 GMT+0200 (CEST)"},"15184":{"varMapping":{"__isSmartRef__":true,"id":15185},"source":"function highlightTarget(node) {\n node.submorphs[0].setFill(Color.rgb(218,218,218))\n}","funcProperties":{"__isSmartRef__":true,"id":15186},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15185":{"this":{"__isSmartRef__":true,"id":15109}},"15186":{"timestamp":{"__isSmartRef__":true,"id":15187},"user":"lauritz","tags":[]},"15187":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:32:12 GMT+0200 (CEST)"},"15188":{"varMapping":{"__isSmartRef__":true,"id":15189},"source":"function setLabel(label) {\n this.label.setTextString(label);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":15194},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15189":{"this":{"__isSmartRef__":true,"id":15109},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15190}},"15190":{"$super":{"__isSmartRef__":true,"id":15191}},"15191":{"varMapping":{"__isSmartRef__":true,"id":15192},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15193},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15192":{"obj":{"__isSmartRef__":true,"id":15109},"name":"setLabel"},"15193":{},"15194":{"timestamp":{"__isSmartRef__":true,"id":15195},"user":"lauritz","tags":[]},"15195":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:31 GMT+0200 (CEST)"},"15196":{"varMapping":{"__isSmartRef__":true,"id":15197},"source":"function updateTargetFromOwner() {\n this.setLabel(this.owner.target);\n}","funcProperties":{"__isSmartRef__":true,"id":15198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15197":{"this":{"__isSmartRef__":true,"id":15109}},"15198":{"timestamp":{"__isSmartRef__":true,"id":15199},"user":"lauritz","tags":[]},"15199":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:24:24 GMT+0200 (CEST)"},"15200":{"submorphs":[],"scripts":[],"id":"E444909D-989A-4CA9-83F6-9F36B272FB45","shape":{"__isSmartRef__":true,"id":15201},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":64.8979476392384,"showsHalos":false,"_FontSize":9,"name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":15202},"textChunks":[{"__isSmartRef__":true,"id":15203}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":15205},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_ClipMode":"visible","draggingEnabled":false,"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":14248},"derivationIds":[224,"35EF8FE5-067D-45B6-AF21-77040F11D340","80DC09DD-22D4-4089-B5C3-857B32C9BE9B","EF080074-E6B9-47F3-A87F-26313B40C430","F6977801-C1A7-445C-9BF1-8A1019E202FB","8C9157AE-0343-4CFB-8186-1D5E05D2ECBE","DD3C23F8-6463-4EAE-959B-C486E27D9BDA","1E8D3752-D212-41F8-BC63-B094E0C80707","75C07D11-AE5D-4A36-B2D0-F2A6EA414E72","494AB1C0-2C09-49DE-B4AA-1F24DC7495FF","25199967-E3BA-4763-A704-37BD3152A5F7","8E4A5937-D1FA-4AF7-BD8D-B542C636CEF9","DDB23EF0-540C-4046-AD4D-C001E8A5F20C","FF45AAB3-E5C7-42A0-A704-F068DB2E2AF9","52850E3E-BE46-467C-A381-902F5E4859FD","147F9160-7168-44A4-9EA4-A36466EE1F52","8E4FB238-FC20-4DA7-AC9F-6921EBBD5609","3D09A998-5E60-4E94-9C6A-B08E7D98F02A","B8986B95-68A4-4212-8560-C86C8F7B3B3C","81BAFCDC-090F-4A92-8AD6-C3127620CCF4","3663625F-2BB0-494C-A467-04148A441F42","8F0EE2A4-3C90-4F71-A04E-2B285D2543CD","B5F10B61-9C89-4903-BD4C-DF3B9D283432","7005184B-8CE8-4DB8-82D8-D75E16ADE428","B8106E33-B470-45C3-916E-6E92CAFDD854","3013F6C8-9D86-49F3-9EB0-AA42B27F1DC6","A49BA117-B9D4-43F4-82EA-458B9D16FDBA","9FB9DF10-FCEC-44FE-9614-6DFC4B814576","54F9AFFD-B235-48AC-85E0-57921251546E","7A472A4B-7292-49B5-9F03-DE2E3A096714"],"_Rotation":0,"_Scale":1,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,12.9)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(45.8,-27.8)"},"15201":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(64.9,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"15202":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"15203":{"style":{"__isSmartRef__":true,"id":15204},"chunkOwner":{"__isSmartRef__":true,"id":15200},"storedString":"Tag:","_id":"_1367","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15204":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15205":{"morph":{"__isSmartRef__":true,"id":15200},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15206":{"submorphs":[{"__isSmartRef__":true,"id":15207}],"scripts":[],"id":"0479EB3A-4572-48F6-8FF5-83B7C428D760","shape":{"__isSmartRef__":true,"id":15213},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":15219},"lighterFill":{"__isSmartRef__":true,"id":15224},"label":{"__isSmartRef__":true,"id":15207},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":15229},"listMorph":null,"list":[],"eventHandler":{"__isSmartRef__":true,"id":15230},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":14248},"setTargetToListSelection":"all","savedTextString":"all","derivationIds":[225,"7F83847B-D0B1-4A31-8601-43424B97C858","E08FC110-71D7-4FFD-B4A8-08F8147B95BA","5534107D-C5C9-48DD-A1ED-B87E9D9B672C","0B89FA7A-768C-4062-98AE-C455E8DAFF19","799320C6-CFBA-40E7-B03D-64BFE9B78248","9B650AA3-271B-4E72-B230-51C6F64B7462","C95D3672-724C-4C2C-9CDD-EF308062F627","C66EBEEC-B7CE-4DD9-8BDF-905F071F965D","D68B143A-A712-4FD0-8803-62CCB4C7F763","ED802271-AE5C-4BE9-AC4E-7CED44BC864B","1BD989CB-146C-431F-8B15-9199C4CD5D32","42172AA4-1B06-4C5B-9BB7-FAED1206CF34","32DFAF99-E6F8-426B-829D-FD6C2BCB8FAA","9B4BF2BE-49D5-4B9D-8F38-1692443069A9","FCAB3690-731A-45E7-984F-843DFE705AF1","94B10A66-8219-43AD-B902-DA999A66222D","BB0E2EB7-ABCE-44C7-96E7-6679FB2981D1","2FCEE551-302B-46C9-B646-3B9BE9187182","B4267F52-1ACC-42A1-904D-E9F7D485D8AB","14770110-045A-4BE4-BCF2-7C886DF70F7D","5387EA76-6B03-426A-B385-9C4231B66352","23545203-A969-439B-8761-E83A810696D0","C5467F6E-CBD7-4AF4-94BE-D0D62E4F7DDD","2FC5F9D1-B611-4273-BD5B-107350364579","318398B6-6689-4DE7-88FD-636BD968773D","3241459F-2019-4BD2-A0CF-BD2A174DDA76","69022916-A511-4A6C-8220-5B4CCD34FCEF","E772C128-C42D-4B13-A3DB-3EC0DFDC9FC5","4DD223AA-79FC-4FB3-9301-F197D9D6B358"],"_Rotation":0,"_Scale":1,"isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15231},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(39.1,10.0)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(85.7,-11.6)"},"15207":{"submorphs":[],"scripts":[],"id":"A4537689-332C-4D80-B51E-27541AF5B04C","shape":{"__isSmartRef__":true,"id":15208},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":15206},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":15209}],"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":15211}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"eventHandler":{"__isSmartRef__":true,"id":15212},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"derivationIds":[226,"03DBF3F8-8EA2-4426-BA64-C4297DDAB015","B8F87302-BEC3-48CD-9BBA-6C7DBB6287E1","4AA6AE51-338B-4E3E-814B-9F99C693A2D5","08F6CE56-AD91-4C27-9429-C3DEA313696C","D39C963C-FD24-4498-A6D8-71E5102CE58A","132C2A9E-3466-4051-AAEA-6E485A91F408","DB8BC4A1-ED41-446B-AB6C-7E73DD857B5D","567FC668-A57C-41CB-8252-8912826B3144","D0B0775F-C8E7-49EB-BBB2-C7BB7DD464BF","AABED87D-D7C0-494A-8803-26F4601E35FF","696C3A2A-C695-4D17-A044-41A73436AB8D","206A0BFD-6997-4E0E-9193-089D1F66B22A","F2F1F966-6C41-4EBA-AFCE-FAE8C79AA696","64A754E9-7083-4CAE-B5C2-7B436EFFE4BA","64737503-A352-42CC-A249-667DA2B42746","9218F1CA-E23F-4E1A-89C3-DB19DE720861","CF7EAC38-1041-4B83-B087-359885B8528B","84469C7C-C93D-4F16-ACAA-0045A4A37FCA","9D3DD447-66A0-4B4A-B378-FB864D8C1468","163D1C2B-EDE9-4F8F-B466-EF9F4CB14384","50DCF8C9-23AA-4241-AC5B-724CC11950DA","CCACCC51-0109-4F73-B122-AA60E40EC54B","285D1797-A21F-4439-81AD-932B45F54879","7354C28D-A54E-48B6-913E-4949B5F4625E","68EAB78C-AAA8-4EC3-8493-CFD23672B5B3","2AD9DBC6-BDBD-4022-AFE1-B6D94D6860BF","5D634617-10A2-45FE-A453-D3452456AB07","EE3AF0A1-F42E-4AE8-A115-3458AA56DAF3","D8A87F07-FBE8-4C1E-ADE9-3AF6EE15FCD3"],"_Scale":1,"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(2.0,1.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(5,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"15208":{"borderWidth":0,"fill":null,"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(130.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"15209":{"style":{"__isSmartRef__":true,"id":15210},"chunkOwner":{"__isSmartRef__":true,"id":15207},"_id":"_11398","storedString":"all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15210":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15211":{"sourceObj":{"__isSmartRef__":true,"id":15207},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":15206},"targetMethodName":"selection","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"15212":{"morph":{"__isSmartRef__":true,"id":15207},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15213":{"_Fill":{"__isSmartRef__":true,"id":15214},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(130.0,20.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"15214":{"stops":[{"__isSmartRef__":true,"id":15215},{"__isSmartRef__":true,"id":15216},{"__isSmartRef__":true,"id":15217},{"__isSmartRef__":true,"id":15218}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15215":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(230,243,253)"},"15216":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(171,215,248)"},"15217":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(171,215,248)"},"15218":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(157,198,229)"},"15219":{"stops":[{"__isSmartRef__":true,"id":15220},{"__isSmartRef__":true,"id":15221},{"__isSmartRef__":true,"id":15222},{"__isSmartRef__":true,"id":15223}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15220":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"15221":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15222":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15223":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"15224":{"stops":[{"__isSmartRef__":true,"id":15225},{"__isSmartRef__":true,"id":15226},{"__isSmartRef__":true,"id":15227},{"__isSmartRef__":true,"id":15228}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15225":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"15226":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15227":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15228":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"15229":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"15230":{"morph":{"__isSmartRef__":true,"id":15206},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15231":{"createListMorph":{"__isSmartRef__":true,"id":15232},"getList":{"__isSmartRef__":true,"id":15236},"removeList":{"__isSmartRef__":true,"id":15240},"reset":{"__isSmartRef__":true,"id":15244},"onMouseUp":{"__isSmartRef__":true,"id":15248},"onBlur":{"__isSmartRef__":true,"id":15256},"setTag":{"__isSmartRef__":true,"id":15264}},"15232":{"varMapping":{"__isSmartRef__":true,"id":15233},"source":"function createListMorph() {\n var items = this.getList();\n\n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n \n connect(listMorph, 'selection', this, 'setTag');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":15234},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15233":{"this":{"__isSmartRef__":true,"id":15206}},"15234":{"timestamp":{"__isSmartRef__":true,"id":15235},"user":"lauritz","categories":[]},"15235":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (CET)"},"15236":{"varMapping":{"__isSmartRef__":true,"id":15237},"source":"function getList() {\n if (!this.owner.target) return [''];\n\n var target = this.owner.target;\n\n var tags = Functions.own(target).collect(function (each) {\n return target[each].tags || [];\n }).flatten().uniq();\n\n var sortedTags = tags.sortBy(function(name) { \n return name.toLowerCase() \n });\n \n sortedTags.unshift('all'); \n return sortedTags;\n}","funcProperties":{"__isSmartRef__":true,"id":15238},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15237":{"this":{"__isSmartRef__":true,"id":15206}},"15238":{"timestamp":{"__isSmartRef__":true,"id":15239},"user":"lauritz","tags":[]},"15239":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (CET)"},"15240":{"varMapping":{"__isSmartRef__":true,"id":15241},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":15242},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15241":{"this":{"__isSmartRef__":true,"id":15206}},"15242":{"timestamp":{"__isSmartRef__":true,"id":15243},"user":"lauritz","categories":[]},"15243":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (CET)"},"15244":{"varMapping":{"__isSmartRef__":true,"id":15245},"source":"function reset() {\n this.list = [];\n this.setLabel('all');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":15246},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15245":{"this":{"__isSmartRef__":true,"id":15206}},"15246":{"timestamp":{"__isSmartRef__":true,"id":15247},"user":"lauritz","tags":[]},"15247":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:53 GMT+0100 (CET)"},"15248":{"varMapping":{"__isSmartRef__":true,"id":15249},"source":"function onMouseUp(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n this.removeList();\n return true;\n } \n if (this.getList().size() < 2) return;\n var list = this.createListMorph();\n this.addMorph(list);\n this.listMorph = list;\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":15254},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15249":{"this":{"__isSmartRef__":true,"id":15206},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15250}},"15250":{"$super":{"__isSmartRef__":true,"id":15251}},"15251":{"varMapping":{"__isSmartRef__":true,"id":15252},"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":15253},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15252":{"obj":{"__isSmartRef__":true,"id":15206},"name":"onMouseUp"},"15253":{},"15254":{"timestamp":{"__isSmartRef__":true,"id":15255},"user":"lauritz","categories":[]},"15255":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:59:16 GMT+0100 (CET)"},"15256":{"varMapping":{"__isSmartRef__":true,"id":15257},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15262},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15257":{"this":{"__isSmartRef__":true,"id":15206},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15258}},"15258":{"$super":{"__isSmartRef__":true,"id":15259}},"15259":{"varMapping":{"__isSmartRef__":true,"id":15260},"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":15261},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15260":{"obj":{"__isSmartRef__":true,"id":15206},"name":"onBlur"},"15261":{},"15262":{"timestamp":{"__isSmartRef__":true,"id":15263},"user":"lauritz","categories":[]},"15263":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (CET)"},"15264":{"varMapping":{"__isSmartRef__":true,"id":15265},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":15266},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15265":{"this":{"__isSmartRef__":true,"id":15206}},"15266":{"timestamp":{"__isSmartRef__":true,"id":15267},"user":"lauritz","categories":[]},"15267":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:36:12 GMT+0100 (CET)"},"15268":{"submorphs":[{"__isSmartRef__":true,"id":15269}],"scripts":[],"id":"53E8A476-6797-4B59-B17C-AEE3860F4BB3","shape":{"__isSmartRef__":true,"id":15274},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":15275},"lighterFill":{"__isSmartRef__":true,"id":15280},"label":{"__isSmartRef__":true,"id":15269},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":15285},"attributeConnections":[{"__isSmartRef__":true,"id":15286}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":15309},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","87E42FF6-3862-481D-97D6-643676E15F32","4F370A81-5A80-4821-8ECC-D52B56F31E15","1C6D1DC9-2F9B-4DC4-B453-1CA45B17C516","0E8EC0BF-934B-410B-AEC2-0ECA8C8F774D","97086CE7-CD46-4035-A371-02A41D555A66","E342B91D-F54B-4DA8-8AE7-10C59CE22B41","A838C48E-4033-4688-8DCF-20659BD824FF","E9BBC453-FFF6-4EE8-BDB0-605D5D4557AE","B6FB81D1-145B-40F9-ACF1-17276DA45EBA","09C79781-5461-4815-88DE-22FB67558136","85A5FA10-01D9-4051-8D56-29DB02CF8817","6E2F44D0-D69A-4DD7-91AD-0B0E1E871633","66FB4A47-82E6-417D-8248-4038D0CBBF5A","3CDC67E7-CAC7-4636-B7FF-50D008C6EB0D","4475CB12-8CFB-41DB-9399-EC6B68E18BA3","6175C505-1BCA-42E9-9C4C-07A4A309A245","B4FEE8FD-E680-459F-A82E-7606A48170D5","AC0B6630-E189-474B-A5E2-13726C1E0E6A","B5559DA4-1483-446C-8332-23DC886B44A5","955AF1F4-5BF5-4129-BA11-0DC54E21E510","6646015F-BD0A-4FEB-85F0-557FB8EC655A","A5682378-2307-447E-AD50-1DEC1AAC9FCB","1A04209F-A70E-4385-A6E2-D508EABC2DFC","EDA53C4F-765D-4424-9DBF-C62388440C46"],"owner":{"__isSmartRef__":true,"id":14248},"layout":{"__isSmartRef__":true,"id":15310},"_ClipMode":"visible","_Rotation":0,"_Scale":0.994014980014994,"isPressed":false,"prevScroll":[0,0],"__serializedExpressions__":["distanceToDragEvent","_Position"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(72.0,-13.0)","_Position":"lively.pt(687.7,9.5)"},"15269":{"submorphs":[],"scripts":[],"id":"2B293DBE-0452-4191-9F62-874B29B474FA","shape":{"__isSmartRef__":true,"id":15270},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":15268},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":15271}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":15273},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","BA4EC8D2-AB29-4F9F-B5A0-715A4746A4C4","56735895-BA99-4D98-9866-AA5DBD86237E","81041CF7-31DB-4F65-BB39-FE438A4F266F","D03829B3-268E-40A0-A440-3E4BAC344F30","714637F0-714A-4833-909B-BA4AF1B4628B","DC956E73-7398-4CAF-B6F2-9A226E344396","C1F72D31-1F49-4C0C-ACF3-C3AD7E698D2F","39386C7E-9099-4159-BFE9-80AD37319211","2764FB6E-70D1-4BC5-B3CB-9979A48B8205","C55C8A7C-412C-453E-A99F-CE78C2AADB94","4BD9A8D4-2EC1-40AC-A1CE-5F1347B0152D","3450EAEB-E3D2-4FAF-98DF-354B3B8715D6","C906736E-48DF-4054-BA5A-A089610456D7","DE5C59FB-90A6-4DD4-AC39-5CC8B3912969","5830FB93-49A1-4A31-A687-69C4579D5FA7","AE9038D5-0EBD-40A0-8043-9689D163D108","13E47AE3-8FA4-4D33-B6D0-DC9AB9E63590","330AAB8C-6D17-4763-AACC-669FC5DD3A91","CA04BB7A-205C-412D-9900-C2DE7C5FAD36","37AADE55-77DE-4E93-9A3E-241BB5002F88","60EB450E-29D4-42B9-8FF7-CA138515052E","7D5C0196-98BF-4CCD-9142-3D29E68EE180","0F70CA1F-07A9-4EFA-872A-3255F9C850DC","7A2FAFFA-9A09-40FB-B04A-80B0B34C696B"],"_MinTextWidth":97,"_MinTextHeight":null,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding"],"__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)"},"15270":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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(2,2,0,0)"},"15271":{"style":{"__isSmartRef__":true,"id":15272},"chunkOwner":{"__isSmartRef__":true,"id":15269},"storedString":"run","_id":"_1369","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15272":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15273":{"morph":{"__isSmartRef__":true,"id":15269},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15274":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":15275},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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)"},"15275":{"stops":[{"__isSmartRef__":true,"id":15276},{"__isSmartRef__":true,"id":15277},{"__isSmartRef__":true,"id":15278},{"__isSmartRef__":true,"id":15279}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15276":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"15277":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15278":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15279":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"15280":{"stops":[{"__isSmartRef__":true,"id":15281},{"__isSmartRef__":true,"id":15282},{"__isSmartRef__":true,"id":15283},{"__isSmartRef__":true,"id":15284}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15281":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"15282":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15283":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15284":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"15285":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"15286":{"sourceObj":{"__isSmartRef__":true,"id":15268},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":14248},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":15287},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"15287":{"submorphs":[{"__isSmartRef__":true,"id":15288}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15295},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","eventHandler":{"__isSmartRef__":true,"id":15298},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":15299},{"__isSmartRef__":true,"id":15300}],"con":{"__isSmartRef__":true,"id":15286},"showsMorphMenu":true,"showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15301},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"15288":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15289},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","eventHandler":{"__isSmartRef__":true,"id":15294},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":15287},"_Rotation":-3.130064002485303,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)"},"15289":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":15290},{"__isSmartRef__":true,"id":15291},{"__isSmartRef__":true,"id":15292},{"__isSmartRef__":true,"id":15293}],"_ClipMode":"visible","_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-12.0,-6.0)","_Extent":"lively.pt(16.0,12.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"15290":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15291":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15292":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15293":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15294":{"morph":{"__isSmartRef__":true,"id":15288},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15295":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":15296},{"__isSmartRef__":true,"id":15297}],"_ClipMode":"visible","_BorderWidth":1,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-1.0,-1.0)","_Extent":"lively.pt(831.0,11.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"15296":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15297":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15298":{"morph":{"__isSmartRef__":true,"id":15287},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15299":{"morph":{"__isSmartRef__":true,"id":15287},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"15300":{"morph":{"__isSmartRef__":true,"id":15287},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":15288},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"15301":{"morphMenuItems":{"__isSmartRef__":true,"id":15302}},"15302":{"varMapping":{"__isSmartRef__":true,"id":15303},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":15308},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15303":{"this":{"__isSmartRef__":true,"id":15287},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15304}},"15304":{"$super":{"__isSmartRef__":true,"id":15305}},"15305":{"varMapping":{"__isSmartRef__":true,"id":15306},"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":15307},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15306":{"obj":{"__isSmartRef__":true,"id":15287},"name":"morphMenuItems"},"15307":{},"15308":{},"15309":{"morph":{"__isSmartRef__":true,"id":15268},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15310":{"centeredHorizontal":false,"moveHorizontal":true},"15311":{"submorphs":[{"__isSmartRef__":true,"id":15312}],"scripts":[],"id":"45C8063C-38C1-4D10-97BF-B1310D2DFA54","shape":{"__isSmartRef__":true,"id":15317},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":15318},"lighterFill":{"__isSmartRef__":true,"id":15323},"label":{"__isSmartRef__":true,"id":15312},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":15328},"attributeConnections":[{"__isSmartRef__":true,"id":15329}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":15352},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","D686F0CB-027B-4CA9-8B8D-9306389B219D","F51327CB-803E-4234-BFB3-6F5252D1C936","A79280E8-6AE3-4016-AF47-CE78F71924C6","B05829EB-D452-4D81-983B-E2CE425C8260","32B117E5-52D8-4843-B80E-090B9817E099","49AC923E-5272-4E3C-8F02-4F2AED2BC4E9","85AAEA9C-5E12-4DEC-8994-9A5FE655A740","2A7FF9BF-85D3-4962-8EB4-0F7016C672EB","3BB17748-B91B-43F5-84BE-2537402A6382","8BA10BD3-43C5-4A41-B9D9-DCD8C74EA208","8BADA640-EDC1-41B2-BEF3-0F2520EA25DD","CAFB5342-EFD3-483E-AE4A-343D211653EF","C3DC8C6F-A36C-4456-AF34-B0A318C1AAD8","88093937-29BB-43FC-AD82-4A0A4BDC349F","27E1FA12-CE4A-4C1F-891F-EEEF92BD672F","A12311D6-23C1-4711-9271-5B582F89F15B","F615015A-8BAE-4FC4-B9A4-D1D1122AC0A2","77333AB0-F43F-45D7-BAEE-8B9FF7865CAF","6A0E622E-4C99-42C1-8EEE-E659BFC2996E","D0264D42-222E-4900-908B-4EA13729B6AA","CC6A8A07-5A2D-407A-B540-6BA0C73356C5","FA68B30F-8583-41B2-898D-8DAFE1A75F15","D5C01E0F-F7DF-4896-8CEF-099C9F3E6CB8","B521A25F-FA55-4F6B-BAC1-0B2544DF98C1","C567F039-E57C-4C5E-AFAA-D05B2C481A69"],"layout":{"__isSmartRef__":true,"id":15353},"owner":{"__isSmartRef__":true,"id":14248},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9880657804942089,"isPressed":false,"prevScroll":[0,0],"__serializedExpressions__":["distanceToDragEvent","_Position"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(68.8,-14.5)","_Position":"lively.pt(574.4,9.5)"},"15312":{"submorphs":[],"scripts":[],"id":"1D04552E-BAA7-4BB5-B0AB-DE180B27870F","shape":{"__isSmartRef__":true,"id":15313},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":15311},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":15314}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":15316},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","9AECBFB8-25A5-483F-86AD-D7CF9ABC9A25","918C6CC4-3540-4341-BAFD-B195F7807FEE","5AABB138-5EE8-40A5-AB3C-5A9625D0A353","4529D79B-4CC5-467E-91F8-661C3A5F49F8","1E5E570C-FD42-45E3-A7F6-768BB14ACD14","A13FB4E0-72F2-4E7C-A861-EDCBA1393860","B8E4C964-4FFF-4A9F-B0A9-612546B1DC8C","002A2173-D26D-4EED-8906-A489C1E158C0","63362D04-B829-41E6-9E68-5B8DB03D382F","996B60A4-8698-448F-A35F-79C768B4976B","F0727398-A1F0-47F5-92CF-BB9677FA05FA","38707063-D664-49A0-B2FB-F0666EC532D5","0402FB51-915F-4491-8FA1-553F0D8F7F35","5A35285D-C6A5-4830-97D9-0890A3F33F39","53121F0B-7DA5-4622-AC08-DD4805D53374","6C84E15D-112D-4C04-87C1-937691E296A7","4ECBD7E4-8B18-4331-8A37-07F4D8DCDCA0","3D4B43A2-AD74-4131-A939-D680216EDA6B","B22327BB-C876-4084-BEFA-4D06AE2B2849","2D34C2E9-76B8-49DC-9FCC-39B523CD0EF4","F098174A-AABC-4F95-8193-C29CA85D6188","714713CE-F5E8-4817-835F-99EA27075558","532DCEDE-C300-48C9-9DBA-58A1E02E1632","2F1C117F-2507-446D-8B43-9BD30AC726FB","74DABF7B-1E90-4D21-93D1-802BC208E9C7"],"_MinTextWidth":97,"_MinTextHeight":null,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding"],"__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)"},"15313":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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,3,0,0)"},"15314":{"style":{"__isSmartRef__":true,"id":15315},"chunkOwner":{"__isSmartRef__":true,"id":15312},"storedString":"save","_id":"_1370","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15315":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15316":{"morph":{"__isSmartRef__":true,"id":15312},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15317":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":15318},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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)"},"15318":{"stops":[{"__isSmartRef__":true,"id":15319},{"__isSmartRef__":true,"id":15320},{"__isSmartRef__":true,"id":15321},{"__isSmartRef__":true,"id":15322}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15319":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"15320":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15321":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15322":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"15323":{"stops":[{"__isSmartRef__":true,"id":15324},{"__isSmartRef__":true,"id":15325},{"__isSmartRef__":true,"id":15326},{"__isSmartRef__":true,"id":15327}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15324":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"15325":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15326":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15327":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"15328":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"15329":{"sourceObj":{"__isSmartRef__":true,"id":15311},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":14483},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":15330},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"15330":{"submorphs":[{"__isSmartRef__":true,"id":15331}],"scripts":[],"shape":{"__isSmartRef__":true,"id":15338},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","eventHandler":{"__isSmartRef__":true,"id":15341},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":15342},{"__isSmartRef__":true,"id":15343}],"con":{"__isSmartRef__":true,"id":15329},"showsMorphMenu":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15344},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"15331":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15332},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","eventHandler":{"__isSmartRef__":true,"id":15337},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":15330},"_Rotation":3.077607197692381,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(201.2,40.2)"},"15332":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":15333},{"__isSmartRef__":true,"id":15334},{"__isSmartRef__":true,"id":15335},{"__isSmartRef__":true,"id":15336}],"_ClipMode":"visible","_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-12.0,-6.0)","_Extent":"lively.pt(16.0,12.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"15333":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15334":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15335":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15336":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15337":{"morph":{"__isSmartRef__":true,"id":15331},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15338":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":15339},{"__isSmartRef__":true,"id":15340}],"_ClipMode":"visible","_BorderWidth":1,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(200.0,9.0)","_Extent":"lively.pt(480.0,32.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"15339":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15340":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"15341":{"morph":{"__isSmartRef__":true,"id":15330},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15342":{"morph":{"__isSmartRef__":true,"id":15330},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"15343":{"morph":{"__isSmartRef__":true,"id":15330},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":15331},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"15344":{"morphMenuItems":{"__isSmartRef__":true,"id":15345}},"15345":{"varMapping":{"__isSmartRef__":true,"id":15346},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":15351},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15346":{"this":{"__isSmartRef__":true,"id":15330},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15347}},"15347":{"$super":{"__isSmartRef__":true,"id":15348}},"15348":{"varMapping":{"__isSmartRef__":true,"id":15349},"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":15350},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15349":{"obj":{"__isSmartRef__":true,"id":15330},"name":"morphMenuItems"},"15350":{},"15351":{},"15352":{"morph":{"__isSmartRef__":true,"id":15311},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15353":{"centeredHorizontal":false,"moveHorizontal":true},"15354":{"submorphs":[{"__isSmartRef__":true,"id":15355}],"scripts":[],"id":"1BA64EF8-4760-4D0C-93D6-045BB4939B21","shape":{"__isSmartRef__":true,"id":15360},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":15361},"lighterFill":{"__isSmartRef__":true,"id":15366},"label":{"__isSmartRef__":true,"id":15355},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":15371},"attributeConnections":[{"__isSmartRef__":true,"id":15372}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":15373},"derivationIds":[7251,"84054D2E-8176-440D-B413-279956A34FC2","79434046-F834-490E-B705-0CE871D9E8B3","FF38CA79-C0DF-4F2F-8FC3-407571EF6A54","B1D50332-9F4F-4F7C-AC3F-95DC6C73EAA4","5B8D7C39-987A-4849-BFFD-3F316CE03852","F7C30F5C-7270-44B1-ADFF-7473F2012DB0","5142302E-3E9A-476B-AB24-B2448DA6D3E4","FEA3C508-593D-4BC7-B645-8B5630CF2EDE","34DBC442-E1DE-42D7-8C63-BA9A1890C994","4F9067A3-5A5C-4637-A76F-7E590CEE2BDA","ADF74818-537A-4669-A455-9509BA7BD7E5","AFCD7FA7-5429-4B1A-B8B8-AB03C18ABA08","604C352D-0347-4329-A299-EAA3FF90B543","46C5ED11-DE03-428F-A758-5308B3D323B5","7C978B2A-9109-42E1-95C5-A59CC74BD31B","2D34E370-3EA6-48DD-B3A7-FE7EB1CCD78D","A0B7F880-0D72-475C-A002-2EAA7D20C004","1146967F-5295-4931-9637-CF72A6A6D724","775F3066-BB4B-4673-B529-500522EF5165","F01F4895-6DEF-4C26-9CEC-A569AEDD22E6","DDD1C856-9C9F-4CB1-A795-E083B7214E82","51E21302-B2D2-49D0-82D9-D964A6B3C54F","BC9DA8C7-933D-4140-96D3-1E7ADEEC8D69","26FA6101-FD83-4A6D-BA08-839ADCA2E33A"],"owner":{"__isSmartRef__":true,"id":14248},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9940149800149939,"isPressed":false,"layout":{"__isSmartRef__":true,"id":15374},"prevScroll":[0,0],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(468.5,9.0)","distanceToDragEvent":"lively.pt(72.1,-12.5)"},"15355":{"submorphs":[],"scripts":[],"id":"AA1DE6CC-5386-44BA-BBD4-EEC82E52AEBC","shape":{"__isSmartRef__":true,"id":15356},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":15354},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":15357}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":15359},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2","CB475566-05CE-43E2-B04D-EE32BC4CB718","6BB077CE-92E6-47BE-BE88-9A48488562D1","9E359973-2FDB-417B-BB06-AB34D52BD310","58F098ED-A190-44F2-B73E-80802B2CF2F6","AEA84B35-B349-4307-92C6-8F229705DFC2","A677CADF-24FF-4177-9A3A-FE9AAE7D60FE","0F875AD9-E54C-4735-9BA9-7B89574233A1","840EBE92-3BC2-42EC-819E-3CD002576490","78C4969D-2C33-4B17-9027-89B411B9F496","C9A3D112-C2BC-43A3-A3CA-A68F41A0E4CF","78CF2F1A-6697-4D03-AB2B-CAF862B4EDD6","8B416918-CA4B-46D1-8A3C-40F8A754E44D","01510710-A85B-4054-B0ED-7F2F02434806","8ABD23FB-E90C-4EEB-BF53-DF3C6ACF2BD4","87607080-4A72-484D-A5BD-5F67D468505F","F0E39FE9-F71C-4587-B25A-C4D2C29FE579","BA2AB73A-3967-4F9E-8828-8A638E521B31","5ECC4D2F-4996-403F-AF14-BD1F4BB720F6","54B08934-6893-4B80-8625-B60ABCE9CBC6","4808CF23-17EA-43D8-AE10-DAB21C642FA8","0813DF8A-CC9E-435B-B5A1-DF68BF226F37","047C4EE2-26A1-4AA7-9CE9-E8FF9A9D863B","728334BD-34B0-44FA-A778-2696AA82FEFA"],"_MinTextWidth":97,"_MinTextHeight":null,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding"],"__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)"},"15356":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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(2,2,0,0)"},"15357":{"style":{"__isSmartRef__":true,"id":15358},"chunkOwner":{"__isSmartRef__":true,"id":15355},"storedString":"Tests","_id":"_1371","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15358":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15359":{"morph":{"__isSmartRef__":true,"id":15355},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15360":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":15361},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__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)"},"15361":{"stops":[{"__isSmartRef__":true,"id":15362},{"__isSmartRef__":true,"id":15363},{"__isSmartRef__":true,"id":15364},{"__isSmartRef__":true,"id":15365}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15362":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"15363":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15364":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15365":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"15366":{"stops":[{"__isSmartRef__":true,"id":15367},{"__isSmartRef__":true,"id":15368},{"__isSmartRef__":true,"id":15369},{"__isSmartRef__":true,"id":15370}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15367":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"15368":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15369":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15370":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"15371":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"15372":{"sourceObj":{"__isSmartRef__":true,"id":15354},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":14248},"targetMethodName":"openPartTestRunner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"15373":{"morph":{"__isSmartRef__":true,"id":15354},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15374":{"moveHorizontal":true},"15375":{"submorphs":[{"__isSmartRef__":true,"id":15376},{"__isSmartRef__":true,"id":15383}],"scripts":[],"id":"5B64832A-15FF-4FD1-AFAC-21FB9C65F872","shape":{"__isSmartRef__":true,"id":15386},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":15392},"lighterFill":{"__isSmartRef__":true,"id":15397},"label":{"__isSmartRef__":true,"id":15376},"name":"MagnifierButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":15402},"attributeConnections":[{"__isSmartRef__":true,"id":15405}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":15406},"derivationIds":[2588,"22797D34-67DE-4A06-81F0-4DF0A87ADBBC","81CB4C12-BCF0-4097-8B6D-D9419046367A","0767A57D-9BB2-48C6-9654-753D2B9D00A6","42871246-6725-4E41-A2C1-5A5BCF041097","BCE6E775-B5DF-4D6B-9F06-CDC02C1B1D0F","797EC165-A639-42D9-A059-669F6BEB92A7","FA498EFD-E50E-4CE0-9FA8-9AE2E8AE9580","4B68C371-CB37-45B4-910A-611E5FFC23DD","94E374B9-7ED4-4E39-96F1-6FD4E7AC3428","34D63515-7CC7-43FB-B7BB-87AFCA377D63","7E0B172C-0AF5-4C6E-B184-25A8FAE4FAB8","12239D52-D3D3-4713-BC3E-F0B95C488CB7","72559D92-4616-45A9-A0F2-72BA4147C0FB","E86C7328-AF24-4881-84AF-B7C7CEFEAE14","22D731CF-38F0-41CC-B125-74D2842ED847","B58A1A30-782E-4675-A276-2C01D35BEC70","ACEABA6D-071C-46C2-A325-BE30189AA45F","686443AE-DCDC-4998-8A39-48BC57D64FDC","8D660766-7C93-404C-9D92-B12CBF59A3CE"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":14248},"_Rotation":0,"_Scale":0.9920279440699439,"highlightRectangle":{"__isSmartRef__":true,"id":15407},"isPressed":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15481},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(424.5,8.5)","distanceToDragEvent":"lively.pt(37.9,-7.9)"},"15376":{"submorphs":[],"scripts":[],"id":"73359D4B-3817-492B-9D6A-7433797D825C","shape":{"__isSmartRef__":true,"id":15377},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":24,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":15375},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":15378},{"__isSmartRef__":true,"id":15380}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":15382},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[2589,"024C5ADE-C4CF-4E8E-BEC5-F93AD4839702","A2CC4D56-B9D8-4A48-B6FF-DDDD85ACDC2E","5AC5C4DE-00B0-43DB-B7F1-765674CE818B","750A11C6-766E-4B48-AE32-D71DE811EB4A","66A7B56E-A94E-44AE-8AED-C0C1B07554D4","CA8596D3-2D4F-453B-BE1B-DCEC8F85389B","4D7DC32F-79CB-4AF8-8B21-AB4F1809D4A8","439DE430-7651-470E-97D8-00E7F96B04DA","DAC920E6-217B-4515-AC09-2F9DCBA7375C","BD48C003-0502-451D-B6AA-7369FF3D1030","C3B8F4EA-3F44-47F4-B569-A0D5AB263BA0","BF7F0FA3-3F2A-4EEF-9687-BE2B0635DF13","3D7AEAC1-C9DD-4941-BA46-16F6783F5699","E04A78F9-3D6E-403F-BA8D-2583FCFFCE53","47E1F29B-6896-467D-8654-CA18929AE57A","509D86FF-5400-4374-BE79-90F0A7E3E90C","C7E53EE0-065A-4C59-8D13-311566722BB7","BA078BAC-7263-4B10-AFD3-3C4EA0DD8707","BCFE28D1-A115-453E-9116-EECC8FE1D50F"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":24,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__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)","_TextColor":"Color.rgb(0,0,0)"},"15377":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(24.0,24.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"15378":{"style":{"__isSmartRef__":true,"id":15379},"chunkOwner":{"__isSmartRef__":true,"id":15376},"storedString":"","_id":"_1372","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15379":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15380":{"style":{"__isSmartRef__":true,"id":15381},"chunkOwner":{"__isSmartRef__":true,"id":15376},"storedString":"","_id":"_1373","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15381":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15382":{"morph":{"__isSmartRef__":true,"id":15376},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15383":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":15384},"derivationIds":[null,"29E543E0-AE93-493A-A694-FC1C330D0544","F0366E4C-E97F-4C77-BEE4-340A0668ADD5","347F6028-5092-4F54-9A34-3EFF3FF0B815","BF7387E7-BCD7-4A5B-B9D2-C14ECF59EFCA","85BA370B-966E-41F7-8C2F-F3A926EC2AA2","1652172B-339A-43A1-9589-70E68B35A28E","705524F7-129B-4102-834E-2A1A45985BB5","5707DF70-CD77-4D53-96ED-5A0AEB227FB7","257E62CE-C668-4317-B5B7-8D394BDC3F6C","2DD4BEA5-E85A-4CD0-953E-9EB2E0735654","BB96B696-7BD4-44C4-9D60-B1551B89D6FA","FCAABC48-FBAF-4E12-8BC9-AC4ACB5A167B","EB81C4D7-5BD8-4DAC-BD70-8675E2338AAC","1DBAE3FF-B2F6-4348-8E06-81139C138D6E","49E7D450-EF74-4E94-B33B-B888D952F3BD","F0B267C4-54BA-4E6F-BFDD-4B047F4FF41A","36B8611D-B449-4F6E-8D0F-B5FD6406D45D","779DB518-01BD-4D32-AD65-BFED801E5D06"],"id":"A59EB22E-1B7D-4227-8FB2-68044BCC2FB2","eventHandler":{"__isSmartRef__":true,"id":15385},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":15375},"name":"leftpointing_magnifying_glass.png","isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(-3.0,0.0)","distanceToDragEvent":"lively.pt(39.9,-9.0)"},"15384":{"_ImageURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAABAAAAAQBPJcTWAAAALnRFWHRUaXRsZQBMRUZULVBPSU5USU5HIE1BR05JRllJTkcgR0xBU1MgKFUrMUY1MEQpw88haQAAABV0RVh0QXV0aG9yAEFuZHJldyBNYXJjdXNl5zc3gwAAAC90RVh0U29mdHdhcmUAaW5mby5maWxlZm9ybWF0LmRhdGEuVW5pY29kZVBuZ1NlcnZsZXRoAX8wAAAAQ3RFWHREZXNjcmlwdGlvbgBodHRwOi8vd3d3LmZpbGVmb3JtYXQuaW5mby9pbmZvL3VuaWNvZGUvMWY1MGQvaW5kZXguaHRtk2hNQgAAADt0RVh0Q29weXJpZ2h0AGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LW5jLXNhLzIuMC9siJKDAAAIDklEQVR42u1daWxVRRQeCi0tIqCAQCTIUtEIGlk0ilqEkEbiQhSKGAyCooIIggsiQuMWZNGwVMUFNIhKZBMobZClgK1FwAU3wIpSREDcUFZFEM/JOzf3vPHet9ze1/eYe77k+zNzl5nz3ZlzZntPKYFAcHojDXimmKH6cQbwZuBM4HLgx8A9wBPAU8BjwJ3ADcDFwMnArsCaYjr/0BB4DwlwjAwfL38DzgX2AdYWk3pDJnAM8E/NuN8BpwEHAq8DXgpsCswANgN2APak/BeBu7T7sQX1A9YQE8fuDwYAf2BG/JrEaefxmSjaeOAO9syNwBwxd2Q0o/7fMhr6h8Fx+oBIX346cATwF/aON6Qbc0ZH4G4y0lHgOGAdD8/Be/KAs4AFwKsdrqkHnAA8Tu8rAzYWCWz0Bh5hraKTT11fL+AH1FXlA8/SrsEu61fmW9qLFEqNAv5LRsEw9twEvKMzcAvwJ3LoHG2AW+n9B4HdgixGHhNjiccuKlbUp9aC7yoGnqflraa8A8C2QRTjMvIVaITyKI61BjnkqiILWEjvPAwcxvLqAj+nvAqH7s1oNAfupcpjeNskhnvQOQ/xYfxQCziHRVl3sjxsNfspvYSuNR4Ywn5ClT5CA7lYkUPRU0YVy4CivkVlOE7TKxa6AP+ivKlBEORe9nUO8XD/QhWay6oqmlK3dYoirTYs70FK/wd4ocli1KVIByu7XXmb9BsOPEmj76riSfZxbAM2oPQMmqLB9GUmC/I0M8AtHp9xCd3/rM8fCHISy+vH0ruaOi3Coyqv6ETPKPSpXEOZ4X9XoSl+y89sovTNJgoyklW8rw8+aKFP5apFo3SrbMNcWsnFpgmylkU19R3yY4mc0mk0j88Z62PZ5jHDV7DQugE5dkx/3CQxzlb2qt6aCF1HtJH6BHoGju4v97F8+Sp8zeRGlldCaZtMEmQAq+zICL5hpUvrwfXy19gzZvhcvj6aILNZ3ij2ETQzRZA3WWU7RrgOfQsu05YCnyLxcFS9h91fTlMgfqKdJsg6lteBpQ8wRZASVqmmUa7txvwEJ/qe8SoxGxYymK+wpnMsNGHpxviRbVShkzEatAb5iEHUSrqzQVuiUMkMf5IFGWnM/71giiAHqEL7U7iMf2gtkk/B7/M51E4qMlklvzwNymgxl+VvobQPTRCkMavkDpaelkJlbOkgyDUsv0LZu19Oe/A++BBLvyIB0ZJX9HIQhHdZBymt1BQfso9V1Jorag28PUXKN8tBkHqUV4elLTJFkM9YpVqzllOcAmXDiG6vJsZhlt+Kpc80RZBiF2eJK4fZSS5bd4fWUcTyc1n6Y6YIMpVVii+LTgFOTHLZNjoIMpTlT2fpXUwRpIcKn021gHuwcDN0ss525Cnn3fIt2DXfK3vPljGbHtK1gdcFmkNdkYTK4gz0Tgcxytg1fI6rUBkGvubA54Ta0lTFK9VYFhS/xKV18PEHX3MfYpogfPUND9DwuamFlP5oNZXlZRcxlmsDWutsCl/aNQYZWhfBnTlOceNsLq459E1wyyhwEeNvFb7ZusClrEbhNlbJoyp8Y3UejehxPWS08v/MBrbIlcr92BvfwZit7KMKOC3f3FRBcBC2mRlBnz0dpOzN17gvqrdP7+2p7PkoJz7Hrq2pCfeqMhzXasbI1/KHa/m4Y93reRFcU1mrIh8IXaLCJzpnsLyfKRozHrNZpbFF9NHyx2pGw2tWAZ8H3gW8UjmvvWdSlIQb3raq6Kdzp6vwBbOhWn5/FRCggy9lFcdN1521ax5Q0Y9B41o7nkn8Rv1/gSkS0T/crb0vV4Uv465UAUNjLerCkfAN2jUXKef19apwnYP4AynK4tfNU6m1ZlMtaK/stQZrLXu0Q6g6OIpTjoVfAK/Xnp1GDp1fhy0th1rwHLqmEbXYHkEQJYcGitwouG2onoPx0Ne8q+yDmtGIs8lPUFCgH/Q5R4XPQlt8nfKzKB9/ouNHLT/ddFEw7t+uGQbPko90GY+gOHgcoRc5+YeBj1DY3JPyGrq8qy6JdMhBDAyz8azhZLq2JRuP4HE3a6f8KhNH7k4Dt9UORqoE3qGqfiAUo7L7lX1kjfMd4H0UHGTTFMpLzH8VUAS3iN2znsQ1GugvprCvkvMYdSFouBYxPu98FdoKusblmZXUoiz0J1FuYgPUfCrXAof7S4MgimXIRVH8wwHq5vBLna9Cs8ULyEgVWrCg8zAJ79TtjGDXjSMx5kd4Fk7XB+a3uq5Sob1QfoW86JzxR2zcjjyj3/mKTafUpCAi2nPLVcB+QA379YdoGuWEBxEwars1hujIOpZQQS1jWhzvKXeIDAOBRhT+YgQ2kcYK71NLwgOauAKJ50jwpFW8J2jHKHvLKwYBuENmVxyibAiqKIlCOkVY1g8HZHkQ5SOXeTaBR9RW9vT7agp34xVlo4jiL7KoG0TjriCR4hVlk0r8EYrAtZQiZa+14wx1qzhF2Syi+C+K5VOWko8RUVJIlPc8irIhKCP6ZItSqeJbh8kSU/qHDCbKMuZT4hFlrpgxcaIUUcuJR5TdYsLEiFLIQuLMOESZJOZLnCjLyMhrabqkZRRR1qsArDQmW5SlZOxPVWhJ2E2UNRJlVQ/wi19CRv9WhXbJoCh8zb+IujVBNYqymIyPP55ZxsQoVvK78kkBrp28rXVThSJGcoE7YZ5RoTMlc8SBpw7kj2IEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgSAZ+A+0ucC4BysctgAAAABJRU5ErkJggg==","_NodeClass":["image"],"_NodeId":"29E543E0-AE93-493A-A694-FC1C330D0544","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(29.0,29.0)","_Padding":"lively.rect(0,0,0,0)"},"15385":{"morph":{"__isSmartRef__":true,"id":15383},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15386":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":15387},"_BorderRadius":5.2,"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(24.0,24.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"15387":{"stops":[{"__isSmartRef__":true,"id":15388},{"__isSmartRef__":true,"id":15389},{"__isSmartRef__":true,"id":15390},{"__isSmartRef__":true,"id":15391}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15388":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"15389":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"15390":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"15391":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"15392":{"stops":[{"__isSmartRef__":true,"id":15393},{"__isSmartRef__":true,"id":15394},{"__isSmartRef__":true,"id":15395},{"__isSmartRef__":true,"id":15396}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15393":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"15394":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15395":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"15396":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"15397":{"stops":[{"__isSmartRef__":true,"id":15398},{"__isSmartRef__":true,"id":15399},{"__isSmartRef__":true,"id":15400},{"__isSmartRef__":true,"id":15401}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"15398":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"15399":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15400":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"15401":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"15402":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"ScriptableButton","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":15403}],"revisionOnLoad":154251,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"15403":{"date":{"__isSmartRef__":true,"id":15404},"author":"robertkrahn","message":"no comment","id":"0366C0A2-0C8E-4AEB-AAC3-120434134545"},"15404":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:10:10 GMT+0200 (CEST)"},"15405":{"sourceObj":{"__isSmartRef__":true,"id":15375},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":15375},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"15406":{"morph":{"__isSmartRef__":true,"id":15375},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15407":{"submorphs":[],"scripts":[],"id":"364FF344-E489-461B-BC8C-ED45E4823ED4","shape":{"__isSmartRef__":true,"id":15408},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"HighlightRectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":15409},"eventHandler":{"__isSmartRef__":true,"id":15450},"attributeConnections":[{"__isSmartRef__":true,"id":15451},{"__isSmartRef__":true,"id":15452},{"__isSmartRef__":true,"id":15453}],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","6FECB598-D130-4242-BF1B-E18767608129","0B23F218-078F-4912-A262-31B957885F41","C56BA290-B836-4946-B4EF-DBB6FBA2368C","61176BAF-CFE6-4F2C-9F0A-971AAD6595A1","CB4127B2-0AA5-4B50-9978-F1FF39924A82","113050BB-CF0E-4193-91C6-9C25FC857EE8","EFF939E4-317B-4662-943F-77A6E6F65BD0","AA288E7F-3972-4F0D-87DD-61E4BD9C9C97","903E8C60-1158-42D5-85D2-DF134DA6CEC1","28FD6210-A549-4A11-9178-04E77FF556C0","B3312E29-D786-469F-865E-91FD69475A52","D947A1C1-DCBE-4485-A33D-DF549F6978E0","56CE0E60-45BE-43FF-9C6C-296D8AC326B6","CC61E3F8-8C8D-4F24-A591-023D3C88DEC8"],"partTests":{"__isSmartRef__":true,"id":15455},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"prevScroll":[0,0],"#startLetters":"","eventsAreDisabled":false,"_HandStyle":"default","_PointerEvents":"auto","_Rotation":0,"_Scale":1.0060210561262526,"owner":null,"magnifierButton":{"__isSmartRef__":true,"id":15375},"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15460},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(43.0,606.0)","distanceToDragEvent":"lively.pt(44.0,-14.0)"},"15408":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":0.2597,"_BorderStyle":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(27.0,28.0)","_BorderColor":"Color.rgb(204,0,0)","_Fill":"Color.rgb(58,0,255)","_Padding":"lively.rect(0,0,0,0)"},"15409":{"partsSpaceName":"PartsBin/Tools","comment":"A rectangle which highlights the object under the first hand of the world","migrationLevel":4,"partName":"HighlightRectangle","changes":[{"__isSmartRef__":true,"id":15410},{"__isSmartRef__":true,"id":15412},{"__isSmartRef__":true,"id":15414},{"__isSmartRef__":true,"id":15416},{"__isSmartRef__":true,"id":15418},{"__isSmartRef__":true,"id":15420},{"__isSmartRef__":true,"id":15422},{"__isSmartRef__":true,"id":15424},{"__isSmartRef__":true,"id":15426},{"__isSmartRef__":true,"id":15428},{"__isSmartRef__":true,"id":15430},{"__isSmartRef__":true,"id":15432},{"__isSmartRef__":true,"id":15434},{"__isSmartRef__":true,"id":15436},{"__isSmartRef__":true,"id":15438},{"__isSmartRef__":true,"id":15440},{"__isSmartRef__":true,"id":15442},{"__isSmartRef__":true,"id":15444},{"__isSmartRef__":true,"id":15446},{"__isSmartRef__":true,"id":15448}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"15410":{"date":{"__isSmartRef__":true,"id":15411},"author":"timfelgentreff","message":"no comment","id":"3DB7DB40-210A-4BED-91FD-9287005703EC"},"15411":{"isSerializedDate":true,"string":"Thu May 24 2012 17:04:54 GMT+0200 (CEST)"},"15412":{"date":{"__isSmartRef__":true,"id":15413},"author":"tessi","message":"no comment","id":"23D7AA12-66A9-4C3B-B494-131256C291AC"},"15413":{"isSerializedDate":true,"string":"Thu May 24 2012 16:57:13 GMT+0200 (CEST)"},"15414":{"date":{"__isSmartRef__":true,"id":15415},"author":"tessi","message":"no comment","id":"2C30B7CA-388F-4F51-B4CF-A2E50E381148"},"15415":{"isSerializedDate":true,"string":"Thu May 24 2012 16:23:11 GMT+0200 (CEST)"},"15416":{"date":{"__isSmartRef__":true,"id":15417},"author":"tessi","message":"diable events","id":"7C1F71A3-FDAC-470A-B9A9-E1F2C9FEF18E"},"15417":{"isSerializedDate":true,"string":"Thu May 24 2012 14:46:08 GMT+0200 (CEST)"},"15418":{"date":{"__isSmartRef__":true,"id":15419},"author":"tessi","message":"no comment","id":"01996A33-11BC-4C15-96D7-B7D219E2E961"},"15419":{"isSerializedDate":true,"string":"Thu May 24 2012 14:39:50 GMT+0200 (CEST)"},"15420":{"date":{"__isSmartRef__":true,"id":15421},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"15421":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"15422":{"date":{"__isSmartRef__":true,"id":15423},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"15423":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"15424":{"date":{"__isSmartRef__":true,"id":15425},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"15425":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"15426":{"date":{"__isSmartRef__":true,"id":15427},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"15427":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"15428":{"date":{"__isSmartRef__":true,"id":15429},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"15429":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"15430":{"date":{"__isSmartRef__":true,"id":15431},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"15431":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"15432":{"date":{"__isSmartRef__":true,"id":15433},"author":"tessi","message":"no comment","id":"4B982A01-25B3-455A-848D-89C2C3C471D7"},"15433":{"isSerializedDate":true,"string":"Thu May 24 2012 13:58:01 GMT+0200 (CEST)"},"15434":{"date":{"__isSmartRef__":true,"id":15435},"author":"tessi","message":"no comment","id":"2FD6CB7B-3BC7-4666-98B4-AACF1001954D"},"15435":{"isSerializedDate":true,"string":"Thu May 24 2012 14:07:32 GMT+0200 (CEST)"},"15436":{"date":{"__isSmartRef__":true,"id":15437},"author":"tessi","message":"no comment","id":"09CF5ECF-2C87-4B66-A164-39848628596F"},"15437":{"isSerializedDate":true,"string":"Thu May 24 2012 15:34:59 GMT+0200 (CEST)"},"15438":{"date":{"__isSmartRef__":true,"id":15439},"author":"tessi","message":"no comment","id":"252A3EB5-DB00-4CF9-BF38-2927DD1C5229"},"15439":{"isSerializedDate":true,"string":"Thu May 24 2012 16:34:29 GMT+0200 (CEST)"},"15440":{"date":{"__isSmartRef__":true,"id":15441},"author":"tessi","message":"no comment","id":"81534551-62C1-4FC9-96CB-A5AC6642CA1E"},"15441":{"isSerializedDate":true,"string":"Thu May 24 2012 16:45:49 GMT+0200 (CEST)"},"15442":{"date":{"__isSmartRef__":true,"id":15443},"author":"tessi","message":"no comment","id":"5125DE3A-D50E-4621-8490-F3A9D99C2C4C"},"15443":{"isSerializedDate":true,"string":"Thu May 24 2012 16:47:20 GMT+0200 (CEST)"},"15444":{"date":{"__isSmartRef__":true,"id":15445},"author":"tessi","message":"no comment","id":"C81A2FBF-CB0B-4A0B-9D63-F9AEDFCB5DA6"},"15445":{"isSerializedDate":true,"string":"Thu May 24 2012 16:51:06 GMT+0200 (CEST)"},"15446":{"date":{"__isSmartRef__":true,"id":15447},"author":"tessi","message":"no comment","id":"DC8EF5EC-7563-45B6-816D-20E2DC218525"},"15447":{"isSerializedDate":true,"string":"Thu May 24 2012 16:52:10 GMT+0200 (CEST)"},"15448":{"date":{"__isSmartRef__":true,"id":15449},"author":"timfelgentreff","message":"no comment","id":"E7515DFB-DE7D-4E1F-A2C3-85166DCE4942"},"15449":{"isSerializedDate":true,"string":"Thu May 24 2012 16:59:39 GMT+0200 (CEST)"},"15450":{"morph":{"__isSmartRef__":true,"id":15407},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15451":{"sourceObj":{"__isSmartRef__":true,"id":15407},"sourceAttrName":"onMouseMove","targetObj":{"__isSmartRef__":true,"id":15407},"targetMethodName":"updateOnMove","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"15452":{"sourceObj":{"__isSmartRef__":true,"id":15407},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":15375},"targetMethodName":"removeHighlighting","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"15453":{"sourceObj":{"__isSmartRef__":true,"id":15407},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":14248},"targetMethodName":"setTarget","converterString":"function () {\n return this.sourceObj.morphUnderCursor();\n }","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":15454},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"15454":{"source":{"__isSmartRef__":true,"id":15407},"target":{"__isSmartRef__":true,"id":14248}},"15455":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15456}},"15456":{"test01IsMorph":{"__isSmartRef__":true,"id":15457}},"15457":{"varMapping":{"__isSmartRef__":true,"id":15458},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":15459},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15458":{"this":{"__isSmartRef__":true,"id":15455}},"15459":{},"15460":{"update":{"__isSmartRef__":true,"id":15461},"updateOnMove":{"__isSmartRef__":true,"id":15465},"bringToFront":{"__isSmartRef__":true,"id":15469},"morphUnderCursor":{"__isSmartRef__":true,"id":15477}},"15461":{"varMapping":{"__isSmartRef__":true,"id":15462},"source":"function update(morphUnderCursor) {\n if (morphUnderCursor === this.magnifierButton ||\n this.magnifierButton.submorphs.include(morphUnderCursor)) {\n morphToHighlight = this.magnifierButton.currentTarget();\n } else {\n morphToHighlight = morphUnderCursor;\n }\n\n if (morphToHighlight && morphToHighlight.world()) {\n this.setPosition(morphToHighlight.getPositionInWorld());\n this.setExtent(morphToHighlight.getExtent());\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15463},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15462":{"this":{"__isSmartRef__":true,"id":15407}},"15463":{"timestamp":{"__isSmartRef__":true,"id":15464},"user":"lauritz","tags":[]},"15464":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:29:58 GMT+0200 (CEST)"},"15465":{"varMapping":{"__isSmartRef__":true,"id":15466},"source":"function updateOnMove() {\n this.update(this.morphUnderCursor());\n this.bringToFront();\n}","funcProperties":{"__isSmartRef__":true,"id":15467},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15466":{"this":{"__isSmartRef__":true,"id":15407}},"15467":{"timestamp":{"__isSmartRef__":true,"id":15468},"user":"lauritz","tags":[]},"15468":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:33 GMT+0200 (CEST)"},"15469":{"varMapping":{"__isSmartRef__":true,"id":15470},"source":"function bringToFront() {\n this.renderContext().morphNode.style.zIndex= 1000;\n}","funcProperties":{"__isSmartRef__":true,"id":15475},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15470":{"this":{"__isSmartRef__":true,"id":15407},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15471}},"15471":{"$super":{"__isSmartRef__":true,"id":15472}},"15472":{"varMapping":{"__isSmartRef__":true,"id":15473},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15474},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15473":{"obj":{"__isSmartRef__":true,"id":15407},"name":"bringToFront"},"15474":{},"15475":{"timestamp":{"__isSmartRef__":true,"id":15476},"user":"lauritz","tags":[]},"15476":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:12:09 GMT+0200 (CEST)"},"15477":{"varMapping":{"__isSmartRef__":true,"id":15478},"source":"function morphUnderCursor() {\n var that = this,\n world = lively.morphic.World.current(); \n \n return world.morphsContainingPoint(world.firstHand().getPosition()).detect(\n function(ea) {\n return !ea.isPlaceholder &&\n !ea.isHalo &&\n (!ea.owner || !ea.owner.isHalo) &&\n !(ea === that);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":15479},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15478":{"this":{"__isSmartRef__":true,"id":15407}},"15479":{"timestamp":{"__isSmartRef__":true,"id":15480},"user":"lauritz","tags":[]},"15480":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:36 GMT+0200 (CEST)"},"15481":{"onFire":{"__isSmartRef__":true,"id":15482},"removeHighlighting":{"__isSmartRef__":true,"id":15486},"onMouseMove":{"__isSmartRef__":true,"id":15490},"onMouseOut":{"__isSmartRef__":true,"id":15498},"reset":{"__isSmartRef__":true,"id":15506},"isTracking":{"__isSmartRef__":true,"id":15510},"isHighlighting":{"__isSmartRef__":true,"id":15514},"currentTarget":{"__isSmartRef__":true,"id":15518}},"15482":{"varMapping":{"__isSmartRef__":true,"id":15483},"source":"function onFire() {\n var hand = lively.morphic.World.current().firstHand(),\n highlight = this.highlightRectangle,\n that = this;\n\n if (this.isTracking()) {\n this.removeHighlighting();\n } else {\n this.world().addMorph(highlight);\n hand.highlightConnection = connect(hand, \"scrollFocusMorph\", highlight, \"update\");\n highlight.bringToFront();\n if (!this.currentTarget() || !this.currentTarget().world()) {\n highlight.setExtent(pt(0,0));\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15484},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15483":{"this":{"__isSmartRef__":true,"id":15375}},"15484":{"timestamp":{"__isSmartRef__":true,"id":15485},"user":"lauritz","tags":[]},"15485":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:40:51 GMT+0200 (CEST)"},"15486":{"varMapping":{"__isSmartRef__":true,"id":15487},"source":"function removeHighlighting() {\n var hand = this.world().firstHand();\n \n if (this.highlightRectangle) {\n this.highlightRectangle.remove();\n }\n \n hand.attributeConnections.removeAt(\n hand.attributeConnections.indexOf(hand.highlightConnection));\n hand.highlightConnection = null;\n}","funcProperties":{"__isSmartRef__":true,"id":15488},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15487":{"this":{"__isSmartRef__":true,"id":15375}},"15488":{"timestamp":{"__isSmartRef__":true,"id":15489},"user":"lauritz","tags":[]},"15489":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:20:30 GMT+0200 (CEST)"},"15490":{"varMapping":{"__isSmartRef__":true,"id":15491},"source":"function onMouseMove(evt) {\n var target = this.currentTarget();\n if (target && target.world() && !this.isHighlighting()) {\n this.highlightRectangle.update(target);\n this.world().addMorph(this.highlightRectangle);\n this.highlightRectangle.bringToFront();\n this.targetHighlight = this.highlightRectangle;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15496},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15491":{"this":{"__isSmartRef__":true,"id":15375},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15492}},"15492":{"$super":{"__isSmartRef__":true,"id":15493}},"15493":{"varMapping":{"__isSmartRef__":true,"id":15494},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15495},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15494":{"obj":{"__isSmartRef__":true,"id":15375},"name":"onMouseMove"},"15495":{},"15496":{"timestamp":{"__isSmartRef__":true,"id":15497},"user":"lauritz","tags":[]},"15497":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:25:52 GMT+0200 (CEST)"},"15498":{"varMapping":{"__isSmartRef__":true,"id":15499},"source":"function onMouseOut() {\n if (this.isHighlighting()) {\n if (!this.isTracking()) {\n this.targetHighlight.remove();\n }\n delete this.targetHighlight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15504},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15499":{"this":{"__isSmartRef__":true,"id":15375},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":15500}},"15500":{"$super":{"__isSmartRef__":true,"id":15501}},"15501":{"varMapping":{"__isSmartRef__":true,"id":15502},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world)\n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":15503},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15502":{"obj":{"__isSmartRef__":true,"id":15375},"name":"onMouseOut"},"15503":{},"15504":{"timestamp":{"__isSmartRef__":true,"id":15505},"user":"lauritz","tags":[]},"15505":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:21:57 GMT+0200 (CEST)"},"15506":{"varMapping":{"__isSmartRef__":true,"id":15507},"source":"function reset() {\n this.highlightRectangle.attributeConnections = [];\n \n connect(rect, \"onMouseMove\", this.highlightRectangle, \"updateOnMove\")\n connect(rect, \"onMouseUp\", this, \"removeHighlighting\")\n connect(rect, \"onMouseUp\", this.owner, \"setTarget\",\n {converter: function () {\n return this.sourceObj.morphUnderCursor();\n }\n })\n}","funcProperties":{"__isSmartRef__":true,"id":15508},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15507":{"this":{"__isSmartRef__":true,"id":15375}},"15508":{"timestamp":{"__isSmartRef__":true,"id":15509},"user":"lauritz","tags":[]},"15509":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:20:55 GMT+0200 (CEST)"},"15510":{"varMapping":{"__isSmartRef__":true,"id":15511},"source":"function isTracking() {\n return !!this.world().firstHand().highlightConnection;\n}","funcProperties":{"__isSmartRef__":true,"id":15512},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15511":{"this":{"__isSmartRef__":true,"id":15375}},"15512":{"timestamp":{"__isSmartRef__":true,"id":15513},"user":"lauritz","tags":[]},"15513":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:25 GMT+0200 (CEST)"},"15514":{"varMapping":{"__isSmartRef__":true,"id":15515},"source":"function isHighlighting() {\n return !!this.targetHighlight;\n}","funcProperties":{"__isSmartRef__":true,"id":15516},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15515":{"this":{"__isSmartRef__":true,"id":15375}},"15516":{"timestamp":{"__isSmartRef__":true,"id":15517},"user":"lauritz","tags":[]},"15517":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:22 GMT+0200 (CEST)"},"15518":{"varMapping":{"__isSmartRef__":true,"id":15519},"source":"function currentTarget() {\n return this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":15520},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15519":{"this":{"__isSmartRef__":true,"id":15375}},"15520":{"timestamp":{"__isSmartRef__":true,"id":15521},"user":"lauritz","tags":[]},"15521":{"isSerializedDate":true,"string":"Wed Jun 06 2012 18:26:02 GMT+0200 (CEST)"},"15522":{"target":{"__isSmartRef__":true,"id":14248},"selector":"update","args":[],"stopped":false,"tickTime":500,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"15523":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(808.0,431.8)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"15524":{"partsSpaceName":"PartsBin/Basic","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":15525}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"15525":{"date":{"__isSmartRef__":true,"id":15526},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"15526":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (CEST)"},"15527":{"morph":{"__isSmartRef__":true,"id":14248},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"15528":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"15529":{},"15530":{"displayInitialScript":{"__isSmartRef__":true,"id":15531},"displayJavaScriptSource":{"__isSmartRef__":true,"id":15535},"displaySourceForConnection":{"__isSmartRef__":true,"id":15539},"displaySourceForScript":{"__isSmartRef__":true,"id":15543},"generateSourceForConnection":{"__isSmartRef__":true,"id":15547},"generateSourceForScript":{"__isSmartRef__":true,"id":15551},"generateTargetCode":{"__isSmartRef__":true,"id":15555},"newConnection":{"__isSmartRef__":true,"id":15559},"newScript":{"__isSmartRef__":true,"id":15563},"reset":{"__isSmartRef__":true,"id":15567},"selectChangedContent":{"__isSmartRef__":true,"id":15571},"setTarget":{"__isSmartRef__":true,"id":15575},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":15579},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":15583},"updateLists":{"__isSmartRef__":true,"id":15587},"onShutdown":{"__isSmartRef__":true,"id":15591},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":15595},"update":{"__isSmartRef__":true,"id":15599},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":15603},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":15607},"printTags":{"__isSmartRef__":true,"id":15615},"setTag":{"__isSmartRef__":true,"id":15619},"runScript":{"__isSmartRef__":true,"id":15623},"openPartTestRunner":{"__isSmartRef__":true,"id":15627},"hasUnsavedChanges":{"__isSmartRef__":true,"id":15631}},"15531":{"varMapping":{"__isSmartRef__":true,"id":15532},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.preselectItem();\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.preselectItem();\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15533},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15532":{"this":{"__isSmartRef__":true,"id":14248}},"15533":{"timestamp":{"__isSmartRef__":true,"id":15534},"user":"lauritz","tags":[]},"15534":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (CET)"},"15535":{"varMapping":{"__isSmartRef__":true,"id":15536},"source":"function displayJavaScriptSource(jsCode) {\n if (this.scriptPane.hasChanged()) {\n var that = this;\n var callback = function(confirmed) {\n if (confirmed) that.scriptPane.display(jsCode)\n };\n this.confirmUnsavedChanges(callback);\n } else {\n this.scriptPane.display(jsCode);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15537},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15536":{"this":{"__isSmartRef__":true,"id":14248}},"15537":{"timestamp":{"__isSmartRef__":true,"id":15538},"user":"lauritz","tags":[]},"15538":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"15539":{"varMapping":{"__isSmartRef__":true,"id":15540},"source":"function displaySourceForConnection(connection) {\n var code = \"\", that = this;\n if (connection === undefined) return;\n if (connection === null) {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":15541},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15540":{"this":{"__isSmartRef__":true,"id":14248}},"15541":{"timestamp":{"__isSmartRef__":true,"id":15542},"user":"conradcalmez","tags":[]},"15542":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (CET)"},"15543":{"varMapping":{"__isSmartRef__":true,"id":15544},"source":"function displaySourceForScript(scriptName) {\n var code = \"\",\n that = this;\n if (scriptName === null) {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForScript(scriptName);\n }\n if (code) this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":15545},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15544":{"this":{"__isSmartRef__":true,"id":14248}},"15545":{"timestamp":{"__isSmartRef__":true,"id":15546},"user":"cschuster","tags":[]},"15546":{"isSerializedDate":true,"string":"Thu Aug 30 2012 08:14:26 GMT+0200 (CEST)"},"15547":{"varMapping":{"__isSmartRef__":true,"id":15548},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":15549},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15548":{"this":{"__isSmartRef__":true,"id":14248}},"15549":{"timestamp":{"__isSmartRef__":true,"id":15550},"user":"lauritz","tags":[]},"15550":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"15551":{"varMapping":{"__isSmartRef__":true,"id":15552},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName],\n annotation = '',\n scriptSource = '',\n tagScript = '';\n\n if (!script) return;\n\n if (script.timestamp && script.user) \n annotation = Strings.format('// changed at %s by %s \\n', script.timestamp, script.user);\n scriptSource = Strings.format('this.addScript(%s)', script.getOriginal());\n tagScript = Strings.format('.tag(%s);', this.printTags(script));\n\n return annotation + scriptSource + tagScript;\n}","funcProperties":{"__isSmartRef__":true,"id":15553},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15552":{"this":{"__isSmartRef__":true,"id":14248}},"15553":{"timestamp":{"__isSmartRef__":true,"id":15554},"user":"cschuster","tags":[]},"15554":{"isSerializedDate":true,"string":"Thu Aug 30 2012 08:14:45 GMT+0200 (CEST)"},"15555":{"varMapping":{"__isSmartRef__":true,"id":15556},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\";\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name;\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\";\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")';\n\telse if (targetObject instanceof Morph) \n\t\treturn '$morph(\"' + name + '\")';\n\telse \n\t\treturn \"????\";\n}","funcProperties":{"__isSmartRef__":true,"id":15557},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15556":{"this":{"__isSmartRef__":true,"id":14248}},"15557":{"timestamp":{"__isSmartRef__":true,"id":15558},"user":"lauritz","tags":[]},"15558":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"15559":{"varMapping":{"__isSmartRef__":true,"id":15560},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15561},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15560":{"this":{"__isSmartRef__":true,"id":14248}},"15561":{"timestamp":{"__isSmartRef__":true,"id":15562},"user":"lauritz","tags":[]},"15562":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"15563":{"varMapping":{"__isSmartRef__":true,"id":15564},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n \\n}).tag([]);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":15565},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15564":{"this":{"__isSmartRef__":true,"id":14248}},"15565":{"timestamp":{"__isSmartRef__":true,"id":15566},"user":"lauritz","tags":[]},"15566":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (CET)"},"15567":{"varMapping":{"__isSmartRef__":true,"id":15568},"source":"function reset() {\n this.scriptPane = this.get('ObjectEditorScriptPane')\n this.scriptList = this.get('ObjectEditorScriptList')\n this.connectionList = this.get('ObjectEditorConnectionList')\n this.morphSelector = this.get('ObjectEditorMorphSelector')\n \n this.target = null;\n this.currentTag = null;\n \n this.scriptPane.reset();\n this.scriptList.setList();\n this.scriptList.selection = null;\n this.connectionList.setList();\n this.connectionList.selection = null;\n this.morphSelector.reset();\n this.tagChooser.reset();\n \n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":15569},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"15568":{"this":{"__isSmartRef__":true,"id":14248}},"15569":{"timestamp":{"__isSmartRef__":true,"id":15570},"user":"lauritz","tags":[]},"15570":{"isSerializedDate":true,"string":"Fri Aug 03 2012 11:45:36 GMT+0200 (CEST)"},"15571":{"varMapping":{"__isSmartRef__":true,"id":15572},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n return this.scriptList.selectAddedScript(addScriptMatches[0]);\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i