// ### JS Types\n\n// 1) Primitive: String, Integer, Boolean (??) what else\n// 2) Objects\n\n// ### JS Type Conversions: \n// 1) In ==, <=, >= != + - [operations on 2 values ], and String \"+\", JS does type coersion in the order of \"higher\" types are converted to \"lower\" types. All \"higher\" to \"lower\" conversions are allowed, except Object never goes to Boolean:\n\n - Object\n - Boolean (true is 1 false is 0)\n - Number\n - String\n\n\n// #### JS equality and identity\n\n// see https://developer.mozilla.org/en/JavaScript/Reference/Operators/Comparison_Operators BEST IS http://docstore.mik.ua/orelly/webprog/jscript/ch05_04.htm\n\n// 1) JS === is almost the pointer identity like Java ==, because it works pointer-wise on objects and bitwise on primitives (exceptions?? only stuff around undefined vs null and NaN)\n\n// 2) EQUALITY: Primitive values equality is done bitwise. Object equality is is reference - wise.\n\n// 3) == compares for EQUALITY AFTER doing any necessary type conversions (to common denominator, likely Boolean or String). \n\n// 4) === if types differ, return false, else compare for EQUALITY (NO type conversion)\n\n// 5) ### ALWAYS USE ===, <==, >==, and !== NOT ==, <=, >= and != ###\n\n// 6) ### USE == and === sparingly - only if one side is literal or null.\n// prefer if (a === literalB) // forces to know your type \n// prefer if (a == null) [true for a null or undefined - this is we want in most cases]\n// if HAVE TO use 2 vars, prefer \"if (a === b)\"\n// var a // undefined\n// a === null // false\n// a == null // true\n\n// 7) ### Instead of worrying about JS weird equality, introduce my_equals(a,b) that will do === on literals and shallow/deep introspective object comparison on objects and use my_equals(a,b) in code for all comparisons .... and monkey patch Object with my_equals(a,b) and use a.my_equals(b) everywhere. \n \n // equality examples \n var x = 5;\n\n alert(x == 5); // true\n\n alert(x == \"5\"); // true - MUST implicitly convert both to String\n\n alert(x === 5); // true\n alert(x === \"5\"); // false\n\n\n alert(x >= 4); // true\n\n alert(x >= \"4\"); // true - must be doing conversion\n\n // object comparison\n var d1 = new Date(2011, 11, 11, 1, 1, 1, 1);\n var d2 = new Date(2011, 11, 11, 1, 1, 1, 1);\n alert(d1 == d2); // false\n alert(d1 === d2); // false\n alert (d1 == 'Sun Dec 11 2011 01:01:01 GMT-0600 (CST)') // true BC of conversion\n alert (d1);\n\n\n// lists and maps - two Objects (incl functions, maps, lists) are NEVER == or === unless they refer to same object\nvar a = [1,2,3];\nvar b = [1,2,3];\nvar c = { x: 1, y: 2 };\nvar d = { x: 1, y: 2 };\na == b // false\nc == d // false\n\n// But String == and ===\nvar e = \"text\";\nvar f = \"te\" + \"xt\";\n e == f // true\n e === f // true\n\nalert(a == b) // false as they are objects \nalert(a === b) // false\nalert(c == d ) // false\nalert(c === d ) // false\nvar z = a;\nalert ( a == z); // true - same reference\nalert (a === z); // true - same reference\n\nalert( 2 - true ) // 1 conversion\n\n \nplease report problem on: http://lively-kernel.org/trac","__layered_draggingEnabled__":true,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":441},"eventHandler":{"__isSmartRef__":true,"id":442},"eventStartPos":{"__isSmartRef__":true,"id":443},"worldMenuOpened":true,"prevScroll":[0,-1080],"attributeConnections":[{"__isSmartRef__":true,"id":444}],"doNotSerialize":["$$savedWorldAsURL"],"doNotCopyProperties":["$$savedWorldAsURL"],"draggingEnabled":true,"clickedOnMorphTime":1330056630962,"_Scroll":[0,-1080],"savedWorldAsURL":{"__isSmartRef__":true,"id":449},"loadingMorph":{"__isSmartRef__":true,"id":450},"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[],"scripts":[],"id":"C4D3038D-1901-4BF9-85BC-7272A7BFC708","shape":{"__isSmartRef__":true,"id":2},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":8},"_MaxTextWidth":261,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":5},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":9},"textChunks":[{"__isSmartRef__":true,"id":10}],"charsReplaced":"Lists / Maps / Collections","lastFindLoc":54,"priorSelectionRange":[1,1],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":12},"renderContextTable":{"__isSmartRef__":true,"id":13},"eventHandler":{"__isSmartRef__":true,"id":14},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":15},"_ClipMode":"visible","derivationIds":[355],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":0},"_MinTextWidth":261,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":16},"previousSelection":[10,10],"__LivelyClassName__":"lively.morphic.Text"},"2":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3},"_Extent":{"__isSmartRef__":true,"id":4},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5},"renderContextTable":{"__isSmartRef__":true,"id":6},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4":{"x":261,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"7":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"8":{"x":2,"y":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"9":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"10":{"style":{"__isSmartRef__":true,"id":11},"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1},"storedString":"Sample ","__LivelyClassName__":"lively.morphic.TextChunk"},"11":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"12":{"x":261,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"13":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"14":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"15":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"16":{"x":51,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17":{"submorphs":[],"scripts":[],"id":"940C82B0-BACD-4DA5-ADE9-5025DBC9DD73","shape":{"__isSmartRef__":true,"id":18},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24},"_MaxTextWidth":1386,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":21},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":25},"textChunks":[{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":28},{"__isSmartRef__":true,"id":30},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":34},{"__isSmartRef__":true,"id":36}],"charsReplaced":"Test Javascript","lastFindLoc":15,"priorSelectionRange":[98,98],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":38},"renderContextTable":{"__isSmartRef__":true,"id":39},"eventHandler":{"__isSmartRef__":true,"id":40},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":41},"_ClipMode":"visible","derivationIds":[355],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":0},"_MinTextWidth":1386,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"isBeingDragged":false,"previousSelection":[67,67],"distanceToDragEvent":{"__isSmartRef__":true,"id":42},"__LivelyClassName__":"lively.morphic.Text"},"18":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":19},"_Extent":{"__isSmartRef__":true,"id":20},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":21},"renderContextTable":{"__isSmartRef__":true,"id":22},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":23},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20":{"x":1386,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"21":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"22":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"23":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24":{"x":103,"y":16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"26":{"style":{"__isSmartRef__":true,"id":27},"morph":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":17},"storedString":"Test Javascript 2 ","__LivelyClassName__":"lively.morphic.TextChunk"},"27":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"28":{"style":{"__isSmartRef__":true,"id":29},"chunkOwner":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"http://javascript.infogami.com/Javascript_in_Ten_Minutes","__LivelyClassName__":"lively.morphic.TextChunk"},"29":{"__SourceModuleName__":"Global.lively.morphic.TextCore","uri":"http://javascript.infogami.com/Javascript_in_Ten_Minutes","__LivelyClassName__":"lively.morphic.TextEmphasis"},"30":{"style":{"__isSmartRef__":true,"id":31},"chunkOwner":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"... ","__LivelyClassName__":"lively.morphic.TextChunk"},"31":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"32":{"style":{"__isSmartRef__":true,"id":33},"chunkOwner":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"http://www.gotapi.com","__LivelyClassName__":"lively.morphic.TextChunk"},"33":{"__SourceModuleName__":"Global.lively.morphic.TextCore","uri":"http://www.gotapi.com","__LivelyClassName__":"lively.morphic.TextEmphasis"},"34":{"style":{"__isSmartRef__":true,"id":35},"chunkOwner":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk"},"35":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"36":{"style":{"__isSmartRef__":true,"id":37},"chunkOwner":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"http://www.w3schools.com/js","__LivelyClassName__":"lively.morphic.TextChunk"},"37":{"__SourceModuleName__":"Global.lively.morphic.TextCore","uri":"http://www.w3schools.com/js","__LivelyClassName__":"lively.morphic.TextEmphasis"},"38":{"x":1386,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"39":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"40":{"morph":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"41":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"42":{"x":927,"y":-8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"43":{"submorphs":[],"scripts":[],"id":"4ED6A098-2DA6-4705-B0FB-D44884ADA27F","shape":{"__isSmartRef__":true,"id":44},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":50},"_MaxTextWidth":658,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":47},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":51},"textChunks":[{"__isSmartRef__":true,"id":52}],"charsReplaced":"Tests http://www.w3schools.com/js","lastFindLoc":34,"priorSelectionRange":[29,29],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":54},"renderContextTable":{"__isSmartRef__":true,"id":55},"eventHandler":{"__isSmartRef__":true,"id":56},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":57},"_ClipMode":"visible","derivationIds":[355,"C4D3038D-1901-4BF9-85BC-7272A7BFC708"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":658,"_MinTextHeight":null,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":58},"previousSelection":[5,5],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"__LivelyClassName__":"lively.morphic.Text"},"44":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":45},"_Extent":{"__isSmartRef__":true,"id":46},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":47},"renderContextTable":{"__isSmartRef__":true,"id":48},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"45":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"46":{"x":658,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"47":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"48":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"49":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"50":{"x":464,"y":75.99999999999999,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"51":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"52":{"style":{"__isSmartRef__":true,"id":53},"morph":{"__isSmartRef__":true,"id":43},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":43},"storedString":"Types, coersions, equality, ","__LivelyClassName__":"lively.morphic.TextChunk"},"53":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"54":{"x":658,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"55":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"56":{"morph":{"__isSmartRef__":true,"id":43},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"57":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"58":{"x":39,"y":-12.999999999999986,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"59":{"submorphs":[{"__isSmartRef__":true,"id":60},{"__isSmartRef__":true,"id":75}],"scripts":[],"shape":{"__isSmartRef__":true,"id":223},"derivationIds":[null],"id":"3C93F1AE-04FF-4C2B-8072-133FFDC071C8","renderContextTable":{"__isSmartRef__":true,"id":227},"eventHandler":{"__isSmartRef__":true,"id":228},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":229},"LK2":true,"_Position":{"__isSmartRef__":true,"id":230},"priorExtent":{"__isSmartRef__":true,"id":231},"targetMorph":{"__isSmartRef__":true,"id":60},"titleBar":{"__isSmartRef__":true,"id":75},"contentOffset":{"__isSmartRef__":true,"id":72},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":false,"_Rotation":0,"_Scale":1,"showsHalos":false,"prevDragPos":{"__isSmartRef__":true,"id":232},"isBeingDragged":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"60":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":61},"derivationIds":[null],"id":"CBB7E88B-3EB1-4432-BC23-5CF0EAE47457","renderContextTable":{"__isSmartRef__":true,"id":68},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":69}],"eventHandler":{"__isSmartRef__":true,"id":71},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":72},"priorExtent":{"__isSmartRef__":true,"id":73},"_MaxTextWidth":419,"_MinTextWidth":419,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":59},"layout":{"__isSmartRef__":true,"id":74},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"61":{"_Position":{"__isSmartRef__":true,"id":62},"renderContextTable":{"__isSmartRef__":true,"id":63},"_Extent":{"__isSmartRef__":true,"id":64},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":65},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":66},"_Fill":{"__isSmartRef__":true,"id":67},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"62":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"63":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"64":{"x":429,"y":842,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"65":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"66":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"67":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"68":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"69":{"style":{"__isSmartRef__":true,"id":70},"chunkOwner":{"__isSmartRef__":true,"id":60},"storedString":"//////////////////////////////////////\n// Basic Types\nvar intValue = 1;\nvar floatValue = 3.0;\nvar stringValue = \"This is a string\\n\";\n\n///////////////////////////////////////\n// Array\nvar emptyList = [];\nvar homogenousList = [1, 2, 3];\nvar heterogenousList = [\"one\", 2, 3.0];\n\n///////////////////////////////////////\n// Property Map\n//\nvar emptyMap = {};\nvar homogenousMap = {\"one\": 1, \"two\": 2, \"three\": 3};\nvar heterogenousMap = {\"one\": 1,\n \"two\": \"two\",\n \"three\": 3.0};\n\n///////////////////////////////////////\n// Functions as values\n//\nvar callable = function (message) { // <-- notice assignment\n window.alert(\"Callable called with message = \"\n + message);\n}\n\nfunction createClosure(initial) {\n var res = function () {\n initial = initial + 1;\n window.alert(\"Closure with modified state \"\n + initial);\n }\n return res;\n}\n\n///////////////////////////////////////\n// Functions as arguments\n//\nfunction callCallable(f, x) {\n f(x);\n}\n\nfunction composeCallables(f, g, x) {\n f(g(x));\n}\n\n///////////////////////////////////////\n// Objects\n//\nfunction MyObject(name, value) {\n this.name = name;\n this.value = value;\n}\n\n///////////////////////////////////////\n// Objects with Member Functions\n//\nfunction Message(message) {\n this.message = message;\n}\n\nMessage.prototype.show = function() {\n window.alert(\"Message.show() with message = \"\n + this.message);\n}\n\n///////////////////////////////////////\n// Demo Utilities\n//\nfunction quote(message) {\n return \"\\\"\" + message + \"\\\"\";\n}\n\n///////////////////////////////////////\n// HTML Invoked demonstration\n// \n//\nfunction main() {\n window.alert(\"Integer = \" + intValue);\n window.alert(\"Float = \" + floatValue);\n window.alert(\"String = \" + stringValue);\n\n for (var item in emptyList) {\n window.alert(\"Empty list item = \" + item);\n }\n\n // Script style index iteration\n for (var i in homogenousList) {\n window.alert(\"Homogenous list item = \"\n + homogenousList[i]);\n }\n\n // C style index iteration\n for (var i=0; i < heterogenousList.length; ++i) {\n window.alert(\"Heterogenous list item = \"\n + heterogenousList[i]);\n }\n\n // Dot notation property access\n window.alert(\"Homogenous map property \\\"one\\\" \"\n + homogenousMap.one);\n // Subscript notation property access\n window.alert(\"Homogenous map property \\\"two\\\" \"\n + homogenousMap[\"two\"]);\n\n for (var key in heterogenousMap) {\n window.alert(\"Heterogenous map property \\\"\"\n + key\n + \"\\\" = \"\n + heterogenousMap[key]);\n }\n\n callable(\"(Function value invoked)\");\n closure = createClosure(10);\n\n\n callCallable(closure);\n composeCallables(callable, quote, \"My Message\");\n\n var my = new MyObject(\"foo\", 5);\n window.alert(\"MyObject my.name = \" + my.name);\n window.alert(\"MyObject my[\\\"value\\\"] = \" + my[\"value\"]);\n\n var msg = new Message(\"bar\");\n for (var key in Message.prototype) {\n window.alert(\"Message prototype member \\\"\"\n + key\n + \"\\\" = \"\n + Message.prototype[key]);\n }\n\n window.alert(\"Message msg.message = \" + msg.message);\n msg.show();\n}\n\nmain(); ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"70":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"71":{"morph":{"__isSmartRef__":true,"id":60},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"72":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"73":{"x":429,"y":842,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"74":{"resizeWidth":true,"resizeHeight":true},"75":{"submorphs":[{"__isSmartRef__":true,"id":76},{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":137},{"__isSmartRef__":true,"id":171}],"scripts":[],"shape":{"__isSmartRef__":true,"id":206},"derivationIds":[null],"id":"1F5337E9-B045-470B-ABBB-0B6905BF7D0C","renderContextTable":{"__isSmartRef__":true,"id":218},"eventHandler":{"__isSmartRef__":true,"id":219},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":220},"_Position":{"__isSmartRef__":true,"id":221},"windowMorph":{"__isSmartRef__":true,"id":59},"label":{"__isSmartRef__":true,"id":76},"closeButton":{"__isSmartRef__":true,"id":90},"menuButton":{"__isSmartRef__":true,"id":137},"collapseButton":{"__isSmartRef__":true,"id":171},"priorExtent":{"__isSmartRef__":true,"id":222},"owner":{"__isSmartRef__":true,"id":59},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"76":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":77},"derivationIds":[null],"id":"E3E27408-E163-4ACF-812B-19ADC05F7D1E","renderContextTable":{"__isSmartRef__":true,"id":83},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":84}],"eventHandler":{"__isSmartRef__":true,"id":86},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":87},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":75},"priorExtent":{"__isSmartRef__":true,"id":88},"_MaxTextWidth":370,"_MinTextWidth":370,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":89},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"77":{"_Position":{"__isSmartRef__":true,"id":78},"renderContextTable":{"__isSmartRef__":true,"id":79},"_Extent":{"__isSmartRef__":true,"id":80},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":81},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":82},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"78":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"79":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"80":{"x":370,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"81":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"82":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"83":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"84":{"style":{"__isSmartRef__":true,"id":85},"chunkOwner":{"__isSmartRef__":true,"id":76},"storedString":"sample.js","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"85":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"86":{"morph":{"__isSmartRef__":true,"id":76},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"87":{"resizeWidth":true},"88":{"x":370,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"89":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"90":{"submorphs":[{"__isSmartRef__":true,"id":91}],"scripts":[],"shape":{"__isSmartRef__":true,"id":103},"derivationIds":[null],"id":"BC5FC000-5970-41FB-9AFB-A9D3F77A5EC0","renderContextTable":{"__isSmartRef__":true,"id":119},"eventHandler":{"__isSmartRef__":true,"id":120},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":121},"priorExtent":{"__isSmartRef__":true,"id":122},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":109},"lighterFill":{"__isSmartRef__":true,"id":123},"label":{"__isSmartRef__":true,"id":91},"owner":{"__isSmartRef__":true,"id":75},"layout":{"__isSmartRef__":true,"id":132},"attributeConnections":[{"__isSmartRef__":true,"id":133},{"__isSmartRef__":true,"id":135}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"91":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":92},"derivationIds":[null],"id":"55F66420-85E5-4B02-BD37-52571323332A","renderContextTable":{"__isSmartRef__":true,"id":97},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":98}],"eventHandler":{"__isSmartRef__":true,"id":100},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":101},"priorExtent":{"__isSmartRef__":true,"id":102},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":90},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":82},"_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"92":{"_Position":{"__isSmartRef__":true,"id":93},"renderContextTable":{"__isSmartRef__":true,"id":94},"_Extent":{"__isSmartRef__":true,"id":95},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":96},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":82},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"93":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"94":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"95":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"96":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"97":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"98":{"style":{"__isSmartRef__":true,"id":99},"chunkOwner":{"__isSmartRef__":true,"id":91},"storedString":"X","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"99":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"100":{"morph":{"__isSmartRef__":true,"id":91},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"101":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"102":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"103":{"_Position":{"__isSmartRef__":true,"id":104},"renderContextTable":{"__isSmartRef__":true,"id":105},"_Extent":{"__isSmartRef__":true,"id":106},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":107},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":108},"_Fill":{"__isSmartRef__":true,"id":109},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"104":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"105":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"106":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"107":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"108":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"109":{"stops":[{"__isSmartRef__":true,"id":110},{"__isSmartRef__":true,"id":112},{"__isSmartRef__":true,"id":114},{"__isSmartRef__":true,"id":116}],"vector":{"__isSmartRef__":true,"id":118},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"110":{"offset":0,"color":{"__isSmartRef__":true,"id":111}},"111":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"112":{"offset":0.4,"color":{"__isSmartRef__":true,"id":113}},"113":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"114":{"offset":0.6,"color":{"__isSmartRef__":true,"id":115}},"115":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"116":{"offset":1,"color":{"__isSmartRef__":true,"id":117}},"117":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"118":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"119":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"120":{"morph":{"__isSmartRef__":true,"id":90},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"121":{"x":409,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"122":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"123":{"stops":[{"__isSmartRef__":true,"id":124},{"__isSmartRef__":true,"id":126},{"__isSmartRef__":true,"id":128},{"__isSmartRef__":true,"id":130}],"vector":{"__isSmartRef__":true,"id":118},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"124":{"offset":0,"color":{"__isSmartRef__":true,"id":125}},"125":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"126":{"offset":0.4,"color":{"__isSmartRef__":true,"id":127}},"127":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"128":{"offset":0.6,"color":{"__isSmartRef__":true,"id":129}},"129":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"130":{"offset":1,"color":{"__isSmartRef__":true,"id":131}},"131":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"132":{"moveHorizontal":true},"133":{"sourceObj":{"__isSmartRef__":true,"id":90},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":59},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":134},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"134":{"source":{"__isSmartRef__":true,"id":90},"target":{"__isSmartRef__":true,"id":59}},"135":{"sourceObj":{"__isSmartRef__":true,"id":90},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":59},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":136},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"136":{"source":{"__isSmartRef__":true,"id":90},"target":{"__isSmartRef__":true,"id":59}},"137":{"submorphs":[{"__isSmartRef__":true,"id":138}],"scripts":[],"shape":{"__isSmartRef__":true,"id":149},"derivationIds":[null],"id":"9EAE18D0-D2D6-4F1F-8C79-424B9250D0E4","renderContextTable":{"__isSmartRef__":true,"id":154},"eventHandler":{"__isSmartRef__":true,"id":155},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":156},"priorExtent":{"__isSmartRef__":true,"id":157},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":109},"lighterFill":{"__isSmartRef__":true,"id":158},"label":{"__isSmartRef__":true,"id":138},"owner":{"__isSmartRef__":true,"id":75},"attributeConnections":[{"__isSmartRef__":true,"id":167},{"__isSmartRef__":true,"id":169}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"138":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":139},"derivationIds":[null],"id":"01ED514B-4D82-464C-B78F-EF98CE329D49","renderContextTable":{"__isSmartRef__":true,"id":143},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":144}],"eventHandler":{"__isSmartRef__":true,"id":146},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":147},"priorExtent":{"__isSmartRef__":true,"id":148},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":137},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":82},"_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"139":{"_Position":{"__isSmartRef__":true,"id":140},"renderContextTable":{"__isSmartRef__":true,"id":141},"_Extent":{"__isSmartRef__":true,"id":142},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":96},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":82},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"140":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"141":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"142":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"143":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"144":{"style":{"__isSmartRef__":true,"id":145},"chunkOwner":{"__isSmartRef__":true,"id":138},"storedString":"M","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"145":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"146":{"morph":{"__isSmartRef__":true,"id":138},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"147":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"148":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"149":{"_Position":{"__isSmartRef__":true,"id":150},"renderContextTable":{"__isSmartRef__":true,"id":151},"_Extent":{"__isSmartRef__":true,"id":152},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":153},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":108},"_Fill":{"__isSmartRef__":true,"id":109},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"150":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"151":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"152":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"153":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"154":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"155":{"morph":{"__isSmartRef__":true,"id":137},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"156":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"157":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"158":{"stops":[{"__isSmartRef__":true,"id":159},{"__isSmartRef__":true,"id":161},{"__isSmartRef__":true,"id":163},{"__isSmartRef__":true,"id":165}],"vector":{"__isSmartRef__":true,"id":118},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"159":{"offset":0,"color":{"__isSmartRef__":true,"id":160}},"160":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"161":{"offset":0.4,"color":{"__isSmartRef__":true,"id":162}},"162":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"163":{"offset":0.6,"color":{"__isSmartRef__":true,"id":164}},"164":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"165":{"offset":1,"color":{"__isSmartRef__":true,"id":166}},"166":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"167":{"sourceObj":{"__isSmartRef__":true,"id":137},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":59},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":168},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"168":{"source":{"__isSmartRef__":true,"id":137},"target":{"__isSmartRef__":true,"id":59}},"169":{"sourceObj":{"__isSmartRef__":true,"id":137},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":59},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":170},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"170":{"source":{"__isSmartRef__":true,"id":137},"target":{"__isSmartRef__":true,"id":59}},"171":{"submorphs":[{"__isSmartRef__":true,"id":172}],"scripts":[],"shape":{"__isSmartRef__":true,"id":183},"derivationIds":[null],"id":"2BC91399-34F4-4A02-97E3-BF49E6777A96","renderContextTable":{"__isSmartRef__":true,"id":188},"eventHandler":{"__isSmartRef__":true,"id":189},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":190},"priorExtent":{"__isSmartRef__":true,"id":191},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":109},"lighterFill":{"__isSmartRef__":true,"id":192},"label":{"__isSmartRef__":true,"id":172},"owner":{"__isSmartRef__":true,"id":75},"layout":{"__isSmartRef__":true,"id":201},"attributeConnections":[{"__isSmartRef__":true,"id":202},{"__isSmartRef__":true,"id":204}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"172":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":173},"derivationIds":[null],"id":"A9648832-9C80-483C-A871-6A8B94E090FD","renderContextTable":{"__isSmartRef__":true,"id":177},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":178}],"eventHandler":{"__isSmartRef__":true,"id":180},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":181},"priorExtent":{"__isSmartRef__":true,"id":182},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":171},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":82},"_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"173":{"_Position":{"__isSmartRef__":true,"id":174},"renderContextTable":{"__isSmartRef__":true,"id":175},"_Extent":{"__isSmartRef__":true,"id":176},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":96},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":82},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"174":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"175":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"176":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"177":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"178":{"style":{"__isSmartRef__":true,"id":179},"chunkOwner":{"__isSmartRef__":true,"id":172},"storedString":"–","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"179":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"180":{"morph":{"__isSmartRef__":true,"id":172},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"181":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"182":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"183":{"_Position":{"__isSmartRef__":true,"id":184},"renderContextTable":{"__isSmartRef__":true,"id":185},"_Extent":{"__isSmartRef__":true,"id":186},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":187},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":108},"_Fill":{"__isSmartRef__":true,"id":109},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"184":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"185":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"186":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"187":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"188":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"189":{"morph":{"__isSmartRef__":true,"id":171},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"190":{"x":390,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"191":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"192":{"stops":[{"__isSmartRef__":true,"id":193},{"__isSmartRef__":true,"id":195},{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":199}],"vector":{"__isSmartRef__":true,"id":118},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"193":{"offset":0,"color":{"__isSmartRef__":true,"id":194}},"194":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"195":{"offset":0.4,"color":{"__isSmartRef__":true,"id":196}},"196":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"197":{"offset":0.6,"color":{"__isSmartRef__":true,"id":198}},"198":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"199":{"offset":1,"color":{"__isSmartRef__":true,"id":200}},"200":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"201":{"moveHorizontal":true},"202":{"sourceObj":{"__isSmartRef__":true,"id":171},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":59},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":203},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"203":{"source":{"__isSmartRef__":true,"id":171},"target":{"__isSmartRef__":true,"id":59}},"204":{"sourceObj":{"__isSmartRef__":true,"id":171},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":59},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":205},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"205":{"source":{"__isSmartRef__":true,"id":171},"target":{"__isSmartRef__":true,"id":59}},"206":{"_Position":{"__isSmartRef__":true,"id":207},"renderContextTable":{"__isSmartRef__":true,"id":208},"_Extent":{"__isSmartRef__":true,"id":209},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":210},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":211},"_Fill":{"__isSmartRef__":true,"id":212},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"207":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"208":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"209":{"x":429,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"210":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"211":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"212":{"stops":[{"__isSmartRef__":true,"id":213},{"__isSmartRef__":true,"id":215}],"vector":{"__isSmartRef__":true,"id":217},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"213":{"offset":0,"color":{"__isSmartRef__":true,"id":214}},"214":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"215":{"offset":1,"color":{"__isSmartRef__":true,"id":216}},"216":{"r":0.6400000000000001,"g":0.6400000000000001,"b":0.6400000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"217":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"218":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"219":{"morph":{"__isSmartRef__":true,"id":75},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"220":{"resizeWidth":true,"adjustForNewBounds":true},"221":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"222":{"x":429,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"223":{"renderContextTable":{"__isSmartRef__":true,"id":224},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":225},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":226},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"224":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"225":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"226":{"x":429,"y":863,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"227":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"228":{"morph":{"__isSmartRef__":true,"id":59},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"229":{"adjustForNewBounds":true},"230":{"x":13,"y":109,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"231":{"x":429,"y":863,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"232":{"x":220,"y":126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"233":{"submorphs":[{"__isSmartRef__":true,"id":234},{"__isSmartRef__":true,"id":253}],"scripts":[],"shape":{"__isSmartRef__":true,"id":380},"derivationIds":[null],"id":"77287CE0-BF49-42EF-BA67-2823741EAFA3","renderContextTable":{"__isSmartRef__":true,"id":384},"eventHandler":{"__isSmartRef__":true,"id":385},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":386},"LK2":true,"_Position":{"__isSmartRef__":true,"id":387},"priorExtent":{"__isSmartRef__":true,"id":388},"targetMorph":{"__isSmartRef__":true,"id":234},"titleBar":{"__isSmartRef__":true,"id":253},"contentOffset":{"__isSmartRef__":true,"id":250},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":false,"showsHalos":false,"prevDragPos":{"__isSmartRef__":true,"id":389},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"234":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":235},"derivationIds":[null],"id":"A39F92CE-E876-4E86-98F9-5E6FFC63C8DD","renderContextTable":{"__isSmartRef__":true,"id":240},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":241},{"__isSmartRef__":true,"id":243},{"__isSmartRef__":true,"id":245},{"__isSmartRef__":true,"id":247}],"eventHandler":{"__isSmartRef__":true,"id":249},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":250},"priorExtent":{"__isSmartRef__":true,"id":251},"_MaxTextWidth":535,"_MinTextWidth":535,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":233},"layout":{"__isSmartRef__":true,"id":252},"showsHalos":false,"previousSelection":[1294,1294],"priorSelectionRange":[966,966],"isBeingDragged":false,"charsReplaced":"","lastFindLoc":3105,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"235":{"_Position":{"__isSmartRef__":true,"id":236},"renderContextTable":{"__isSmartRef__":true,"id":237},"_Extent":{"__isSmartRef__":true,"id":238},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":65},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":66},"_Fill":{"__isSmartRef__":true,"id":239},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"236":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"237":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"238":{"x":545,"y":832,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"239":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"240":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"241":{"style":{"__isSmartRef__":true,"id":242},"chunkOwner":{"__isSmartRef__":true,"id":234},"storedString":"// ### JS Types\n\n// 1) Primitive: String, Integer, Boolean (??) what else\n// 2) Objects\n\n// ### JS Type Conversions: \n// 1) In ==, <=, >= != + - [operations on 2 values ], and String \"+\", JS does type coersion in the order of \"higher\" types are converted to \"lower\" types. All \"higher\" to \"lower\" conversions are allowed, except Object never goes to Boolean:\n\n - Object\n - Boolean (true is 1 false is 0)\n - Number\n - String\n\n\n// #### JS equality and identity\n\n// see https://developer.mozilla.org/en/JavaScript/Reference/Operators/Comparison_Operators BEST IS http://docstore.mik.ua/orelly/webprog/jscript/ch05_04.htm\n\n// 1) JS === is almost the pointer identity like Java ==, because it works pointer-wise on objects and bitwise on primitives (exceptions?? only stuff around undefined vs null and NaN)\n\n// 2) EQUALITY: Primitive values equality is done bitwise. Object equality is is reference - wise.\n\n// 3) == compares for EQUALITY AFTER doing any necessary type conversions (to common denominator, likely Boolean or String). \n\n// 4) === if types differ, return false, else compare for EQUALITY (NO type conversion)\n\n// 5) ### ALWAYS USE ===, <==, >==, and !== NOT ==, <=, >= and != ###\n\n// 6) ### USE == and === sparingly - only if one side is literal or null.\n// prefer if (a === literalB) // forces to know your type \n// prefer if (a == null) [true for a null or undefined - this is we want in most cases]\n// if HAVE TO use 2 vars, prefer \"if (a === b)\"\n// var a // undefined\n// a === null // false\n// a == null // true\n\n// 7) ### Instead of worrying about JS weird equality, introduce my_equals(a,b) that will do === on literals and shallow/deep introspective object comparison on objects and use my_equals(a,b) in code for all comparisons .... and monkey patch Object with my_equals(a,b) and use a.my_equals(b) everywhere. \n \n // equality examples \n var x = 5;\n\n alert(x == 5); // true\n\n alert(x == \"5\"); // true - MUST implicitly convert both to String\n\n alert(x === 5); // true\n alert(x === \"5\"); // false\n\n\n alert(x >= 4); // true\n\n alert(x >= \"4\"); // true - must be doing conversion\n\n // object comparison\n var d1 = new Date(2011, 11, 11, 1, 1, 1, 1);\n var d2 = new Date(2011, 11, 11, 1, 1, 1, 1);\n alert(d1 == d2); // false\n alert(d1 === d2); // false\n alert (d1 == 'Sun Dec 11 2011 01:01:01 GMT-0600 (CST)') // true BC of conversion\n alert (d1);\n\n\n// lists and maps - two Objects (incl functions, maps, lists) are NEVER == or === unless they refer to same object\nvar a = [1,2,3];\nvar b = [1,2,3];\nvar c = { x: 1, y: 2 };\nvar d = { x: 1, y: 2 };\na == b // false\nc == d // false\n\n// But String == and ===\nvar e = \"text\";\nvar f = \"te\" + \"xt\";\n e == f // true\n e === f // true\n\nalert(a == b) // false as they are objects \nalert(a === b) // false\nalert(c == d ) // false\nalert(c === d ) // false\nvar z = a;\nalert ( a == z); // true - same reference\nalert (a === z); // true - same reference\n\nalert( 2 - true ) // 1 conversion\n\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"242":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"243":{"style":{"__isSmartRef__":true,"id":244},"chunkOwner":{"__isSmartRef__":true,"id":234},"storedString":"// ##### another coersion\nvar emptyString = '';\n\nif (!emptyString) {\n alert('empty strings are treated as false');\n}\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"244":{"color":"black","fontSize":"19px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","borderStyle":"initial","borderColor":"initial","textDecoration":"none","marginTop":"0px","marginRight":"-8px","marginBottom":"16px","marginLeft":"-8px","paddingTop":"6px","paddingRight":"8px","paddingBottom":"6px","paddingLeft":"8px","borderTopWidth":"0px","borderRightWidth":"0px","borderBottomWidth":"0px","borderLeftWidth":"0px","borderImage":"initial","lineHeight":"20px","fontFamily":"Inconsolata","borderTopLeftRadius":"3px","borderTopRightRadius":"3px","borderBottomRightRadius":"3px","borderBottomLeftRadius":"3px","display":"block","wordWrap":"break-word","backgroundImage":"initial","backgroundAttachment":"initial","backgroundOrigin":"initial","backgroundClip":"initial","position":"relative","webkitUserSelect":"text","webkitTransitionProperty":"background","webkitTransitionDuration":"100ms","webkitTransitionTimingFunction":"initial","webkitTransitionDelay":"initial","outlineStyle":"none","outlineWidth":"initial","outlineColor":"initial","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"245":{"style":{"__isSmartRef__":true,"id":246},"chunkOwner":{"__isSmartRef__":true,"id":234},"storedString":"if (emptyString === '' ) { // know your type\n alert('correct: use if (var === literal )');\n}\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"246":{"color":"rgb(0,0,0)","fontSize":"19px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","textDecoration":"none","fontFamily":"Inconsolata","lineHeight":"20px","float":"none","outlineStyle":"none","outlineWidth":"initial","outlineColor":"initial","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"247":{"style":{"__isSmartRef__":true,"id":248},"chunkOwner":{"__isSmartRef__":true,"id":234},"storedString":"\n ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"248":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"249":{"morph":{"__isSmartRef__":true,"id":234},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"250":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"251":{"x":545,"y":832,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"252":{"resizeWidth":true,"resizeHeight":true},"253":{"submorphs":[{"__isSmartRef__":true,"id":254},{"__isSmartRef__":true,"id":266},{"__isSmartRef__":true,"id":301},{"__isSmartRef__":true,"id":335}],"scripts":[],"shape":{"__isSmartRef__":true,"id":370},"derivationIds":[null],"id":"C23884C8-1F52-41C2-B292-A9897D83F5B9","renderContextTable":{"__isSmartRef__":true,"id":375},"eventHandler":{"__isSmartRef__":true,"id":376},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":377},"_Position":{"__isSmartRef__":true,"id":378},"windowMorph":{"__isSmartRef__":true,"id":233},"label":{"__isSmartRef__":true,"id":254},"closeButton":{"__isSmartRef__":true,"id":266},"menuButton":{"__isSmartRef__":true,"id":301},"collapseButton":{"__isSmartRef__":true,"id":335},"priorExtent":{"__isSmartRef__":true,"id":379},"owner":{"__isSmartRef__":true,"id":233},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"254":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":255},"derivationIds":[null],"id":"A8BD2412-3C7E-4B1F-B4D7-6BC86A47A15D","renderContextTable":{"__isSmartRef__":true,"id":259},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":260}],"eventHandler":{"__isSmartRef__":true,"id":262},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":263},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":253},"priorExtent":{"__isSmartRef__":true,"id":264},"_MaxTextWidth":489,"_MinTextWidth":489,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":265},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"255":{"_Position":{"__isSmartRef__":true,"id":256},"renderContextTable":{"__isSmartRef__":true,"id":257},"_Extent":{"__isSmartRef__":true,"id":258},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":81},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":82},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"256":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"257":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"258":{"x":489,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"259":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"260":{"style":{"__isSmartRef__":true,"id":261},"chunkOwner":{"__isSmartRef__":true,"id":254},"storedString":"TYPES.JS","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"261":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"262":{"morph":{"__isSmartRef__":true,"id":254},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"263":{"resizeWidth":true},"264":{"x":489,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"265":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"266":{"submorphs":[{"__isSmartRef__":true,"id":267}],"scripts":[],"shape":{"__isSmartRef__":true,"id":278},"derivationIds":[null],"id":"72C23502-8ED2-4AA5-884F-CC9F7D8B0208","renderContextTable":{"__isSmartRef__":true,"id":283},"eventHandler":{"__isSmartRef__":true,"id":284},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":285},"priorExtent":{"__isSmartRef__":true,"id":286},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":109},"lighterFill":{"__isSmartRef__":true,"id":287},"label":{"__isSmartRef__":true,"id":267},"owner":{"__isSmartRef__":true,"id":253},"layout":{"__isSmartRef__":true,"id":296},"attributeConnections":[{"__isSmartRef__":true,"id":297},{"__isSmartRef__":true,"id":299}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"267":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":268},"derivationIds":[null],"id":"037AF93B-89C5-4D4C-A546-EBF1956C2502","renderContextTable":{"__isSmartRef__":true,"id":272},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":273}],"eventHandler":{"__isSmartRef__":true,"id":275},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":276},"priorExtent":{"__isSmartRef__":true,"id":277},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":266},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":82},"_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"268":{"_Position":{"__isSmartRef__":true,"id":269},"renderContextTable":{"__isSmartRef__":true,"id":270},"_Extent":{"__isSmartRef__":true,"id":271},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":96},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":82},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"269":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"270":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"271":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"272":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"273":{"style":{"__isSmartRef__":true,"id":274},"chunkOwner":{"__isSmartRef__":true,"id":267},"storedString":"X","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"274":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"275":{"morph":{"__isSmartRef__":true,"id":267},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"276":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"277":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"278":{"_Position":{"__isSmartRef__":true,"id":279},"renderContextTable":{"__isSmartRef__":true,"id":280},"_Extent":{"__isSmartRef__":true,"id":281},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":282},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":108},"_Fill":{"__isSmartRef__":true,"id":109},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"279":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"280":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"281":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"282":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"283":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"284":{"morph":{"__isSmartRef__":true,"id":266},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"285":{"x":528,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"286":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"287":{"stops":[{"__isSmartRef__":true,"id":288},{"__isSmartRef__":true,"id":290},{"__isSmartRef__":true,"id":292},{"__isSmartRef__":true,"id":294}],"vector":{"__isSmartRef__":true,"id":118},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"288":{"offset":0,"color":{"__isSmartRef__":true,"id":289}},"289":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"290":{"offset":0.4,"color":{"__isSmartRef__":true,"id":291}},"291":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"292":{"offset":0.6,"color":{"__isSmartRef__":true,"id":293}},"293":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"294":{"offset":1,"color":{"__isSmartRef__":true,"id":295}},"295":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"296":{"moveHorizontal":true},"297":{"sourceObj":{"__isSmartRef__":true,"id":266},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":233},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":298},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"298":{"source":{"__isSmartRef__":true,"id":266},"target":{"__isSmartRef__":true,"id":233}},"299":{"sourceObj":{"__isSmartRef__":true,"id":266},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":233},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":300},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"300":{"source":{"__isSmartRef__":true,"id":266},"target":{"__isSmartRef__":true,"id":233}},"301":{"submorphs":[{"__isSmartRef__":true,"id":302}],"scripts":[],"shape":{"__isSmartRef__":true,"id":313},"derivationIds":[null],"id":"406D6280-AED4-412D-97B3-F5C3E88DDBD6","renderContextTable":{"__isSmartRef__":true,"id":318},"eventHandler":{"__isSmartRef__":true,"id":319},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":320},"priorExtent":{"__isSmartRef__":true,"id":321},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":109},"lighterFill":{"__isSmartRef__":true,"id":322},"label":{"__isSmartRef__":true,"id":302},"owner":{"__isSmartRef__":true,"id":253},"attributeConnections":[{"__isSmartRef__":true,"id":331},{"__isSmartRef__":true,"id":333}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"302":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":303},"derivationIds":[null],"id":"6D976E20-26D3-4FA7-B582-00A423562451","renderContextTable":{"__isSmartRef__":true,"id":307},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":308}],"eventHandler":{"__isSmartRef__":true,"id":310},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":311},"priorExtent":{"__isSmartRef__":true,"id":312},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":301},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":82},"_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"303":{"_Position":{"__isSmartRef__":true,"id":304},"renderContextTable":{"__isSmartRef__":true,"id":305},"_Extent":{"__isSmartRef__":true,"id":306},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":96},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":82},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"304":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"305":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"306":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"307":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"308":{"style":{"__isSmartRef__":true,"id":309},"chunkOwner":{"__isSmartRef__":true,"id":302},"storedString":"M","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"309":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"310":{"morph":{"__isSmartRef__":true,"id":302},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"311":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"312":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"313":{"_Position":{"__isSmartRef__":true,"id":314},"renderContextTable":{"__isSmartRef__":true,"id":315},"_Extent":{"__isSmartRef__":true,"id":316},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":317},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":108},"_Fill":{"__isSmartRef__":true,"id":109},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"314":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"315":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"316":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"317":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"318":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"319":{"morph":{"__isSmartRef__":true,"id":301},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"320":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"321":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"322":{"stops":[{"__isSmartRef__":true,"id":323},{"__isSmartRef__":true,"id":325},{"__isSmartRef__":true,"id":327},{"__isSmartRef__":true,"id":329}],"vector":{"__isSmartRef__":true,"id":118},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"323":{"offset":0,"color":{"__isSmartRef__":true,"id":324}},"324":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"325":{"offset":0.4,"color":{"__isSmartRef__":true,"id":326}},"326":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"327":{"offset":0.6,"color":{"__isSmartRef__":true,"id":328}},"328":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"329":{"offset":1,"color":{"__isSmartRef__":true,"id":330}},"330":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"331":{"sourceObj":{"__isSmartRef__":true,"id":301},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":233},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":332},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"332":{"source":{"__isSmartRef__":true,"id":301},"target":{"__isSmartRef__":true,"id":233}},"333":{"sourceObj":{"__isSmartRef__":true,"id":301},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":233},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":334},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"334":{"source":{"__isSmartRef__":true,"id":301},"target":{"__isSmartRef__":true,"id":233}},"335":{"submorphs":[{"__isSmartRef__":true,"id":336}],"scripts":[],"shape":{"__isSmartRef__":true,"id":347},"derivationIds":[null],"id":"C6750D6A-4712-4BF6-BFE0-3802EDA38A0C","renderContextTable":{"__isSmartRef__":true,"id":352},"eventHandler":{"__isSmartRef__":true,"id":353},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":354},"priorExtent":{"__isSmartRef__":true,"id":355},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":109},"lighterFill":{"__isSmartRef__":true,"id":356},"label":{"__isSmartRef__":true,"id":336},"owner":{"__isSmartRef__":true,"id":253},"layout":{"__isSmartRef__":true,"id":365},"attributeConnections":[{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":368}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"336":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":337},"derivationIds":[null],"id":"160AFA4F-12DD-4249-A6F5-D3B76EC038F6","renderContextTable":{"__isSmartRef__":true,"id":341},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":342}],"eventHandler":{"__isSmartRef__":true,"id":344},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":345},"priorExtent":{"__isSmartRef__":true,"id":346},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":335},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":82},"_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"337":{"_Position":{"__isSmartRef__":true,"id":338},"renderContextTable":{"__isSmartRef__":true,"id":339},"_Extent":{"__isSmartRef__":true,"id":340},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":96},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":82},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"338":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"339":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"340":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"341":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"342":{"style":{"__isSmartRef__":true,"id":343},"chunkOwner":{"__isSmartRef__":true,"id":336},"storedString":"–","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"343":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"344":{"morph":{"__isSmartRef__":true,"id":336},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"345":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"346":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"347":{"_Position":{"__isSmartRef__":true,"id":348},"renderContextTable":{"__isSmartRef__":true,"id":349},"_Extent":{"__isSmartRef__":true,"id":350},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":351},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":108},"_Fill":{"__isSmartRef__":true,"id":109},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"348":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"349":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"350":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"351":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"352":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"353":{"morph":{"__isSmartRef__":true,"id":335},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"354":{"x":509,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"355":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"356":{"stops":[{"__isSmartRef__":true,"id":357},{"__isSmartRef__":true,"id":359},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":363}],"vector":{"__isSmartRef__":true,"id":118},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"357":{"offset":0,"color":{"__isSmartRef__":true,"id":358}},"358":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"359":{"offset":0.4,"color":{"__isSmartRef__":true,"id":360}},"360":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"361":{"offset":0.6,"color":{"__isSmartRef__":true,"id":362}},"362":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"363":{"offset":1,"color":{"__isSmartRef__":true,"id":364}},"364":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"365":{"moveHorizontal":true},"366":{"sourceObj":{"__isSmartRef__":true,"id":335},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":233},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":367},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"367":{"source":{"__isSmartRef__":true,"id":335},"target":{"__isSmartRef__":true,"id":233}},"368":{"sourceObj":{"__isSmartRef__":true,"id":335},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":233},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":369},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"369":{"source":{"__isSmartRef__":true,"id":335},"target":{"__isSmartRef__":true,"id":233}},"370":{"_Position":{"__isSmartRef__":true,"id":371},"renderContextTable":{"__isSmartRef__":true,"id":372},"_Extent":{"__isSmartRef__":true,"id":373},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":374},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":211},"_Fill":{"__isSmartRef__":true,"id":212},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"371":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"372":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"373":{"x":548,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"374":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"375":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"376":{"morph":{"__isSmartRef__":true,"id":253},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"377":{"resizeWidth":true,"adjustForNewBounds":true},"378":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"379":{"x":548,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"380":{"renderContextTable":{"__isSmartRef__":true,"id":381},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":382},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":383},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"381":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"382":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"383":{"x":548,"y":827,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"384":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"385":{"morph":{"__isSmartRef__":true,"id":233},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"386":{"adjustForNewBounds":true},"387":{"x":482,"y":111,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"388":{"x":548,"y":827,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"389":{"x":892,"y":126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"390":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":391},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"renderContextTable":{"__isSmartRef__":true,"id":397},"eventHandler":{"__isSmartRef__":true,"id":398},"lastScrollTime":1330053430801,"internalClickedOnMorph":{"__isSmartRef__":true,"id":399},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":432},"_Scale":1.002003004005006,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"scrollFocusMorph":{"__isSmartRef__":true,"id":399},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"391":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":392},"_Extent":{"__isSmartRef__":true,"id":393},"_Fill":{"__isSmartRef__":true,"id":394},"renderContextTable":{"__isSmartRef__":true,"id":395},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":396},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"392":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"393":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"394":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"395":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"396":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"397":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"398":{"morph":{"__isSmartRef__":true,"id":390},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"399":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":400},"derivationIds":[null],"id":"8D85FBEC-2F96-4839-8D13-54660C4D639B","renderContextTable":{"__isSmartRef__":true,"id":411},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":412}],"eventHandler":{"__isSmartRef__":true,"id":414},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"_Position":{"__isSmartRef__":true,"id":415},"priorExtent":{"__isSmartRef__":true,"id":416},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":214},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":417},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"400":{"_Position":{"__isSmartRef__":true,"id":401},"renderContextTable":{"__isSmartRef__":true,"id":402},"_Extent":{"__isSmartRef__":true,"id":403},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":404},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":405},"_Fill":{"__isSmartRef__":true,"id":406},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"401":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"402":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"403":{"x":203,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"404":{"x":3,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"405":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"406":{"stops":[{"__isSmartRef__":true,"id":407},{"__isSmartRef__":true,"id":409}],"vector":{"__isSmartRef__":true,"id":217},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"407":{"offset":0,"color":{"__isSmartRef__":true,"id":408}},"408":{"r":0.39215686274509803,"g":0.5137254901960784,"b":0.9725490196078431,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"409":{"offset":1,"color":{"__isSmartRef__":true,"id":410}},"410":{"r":0.13333333333333333,"g":0.3333333333333333,"b":0.9607843137254902,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"411":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"412":{"style":{"__isSmartRef__":true,"id":413},"chunkOwner":{"__isSmartRef__":true,"id":399},"storedString":"save world","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"413":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"414":{"morph":{"__isSmartRef__":true,"id":399},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"415":{"x":0,"y":184,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"416":{"x":180,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"417":{"onMouseWheel":{"__isSmartRef__":true,"id":418},"onSelectStart":{"__isSmartRef__":true,"id":425}},"418":{"varMapping":{"__isSmartRef__":true,"id":419},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":424},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"419":{"this":{"__isSmartRef__":true,"id":399},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":420}},"420":{"$super":{"__isSmartRef__":true,"id":421}},"421":{"varMapping":{"__isSmartRef__":true,"id":422},"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":423},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"422":{"obj":{"__isSmartRef__":true,"id":399},"name":"onMouseWheel"},"423":{},"424":{},"425":{"varMapping":{"__isSmartRef__":true,"id":426},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":431},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"426":{"this":{"__isSmartRef__":true,"id":399},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":427}},"427":{"$super":{"__isSmartRef__":true,"id":428}},"428":{"varMapping":{"__isSmartRef__":true,"id":429},"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":430},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"429":{"obj":{"__isSmartRef__":true,"id":399},"name":"onSelectStart"},"430":{},"431":{},"432":{"x":1130,"y":361,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"433":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":434},"_Extent":{"__isSmartRef__":true,"id":435},"_Fill":{"__isSmartRef__":true,"id":436},"renderContextTable":{"__isSmartRef__":true,"id":437},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":438},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"434":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"435":{"x":2800,"y":2900,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"436":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"437":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"438":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"439":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"440":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"441":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setScroll":"setScrollHTML"},"442":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"443":{"x":1128,"y":359,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"444":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","varMapping":{"__isSmartRef__":true,"id":445},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":446},"__LivelyClassName__":"AttributeConnection"},"445":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"446":{"updater":{"__isSmartRef__":true,"id":447}},"447":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":445},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":448},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"448":{},"449":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/mzimmerm/test-javascript-4-code.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"450":{"submorphs":[{"__isSmartRef__":true,"id":451}],"scripts":[],"id":"9BC68299-E236-4D04-8281-9A744CBB0103","shape":{"__isSmartRef__":true,"id":480},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":487},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":488},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":581},"eventHandler":{"__isSmartRef__":true,"id":582},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"59692BC3-6C7B-4E23-B820-8699260EA722","486BB935-1313-4103-B2A8-642B19437478","18AFFD44-46CD-489E-B1D6-DED43E2B6B06","2608C892-2204-4981-9A87-8E749F8944AB","5535861F-4EA2-44AB-8A40-0538124E0AAC","16C292B3-86E8-4622-B516-27C48263B8CC","87731A20-D455-44D0-97E5-98A7CFD4E417","A17081E7-E597-47ED-BD32-6E4D206BD7D7","CFB4A44C-BFEA-4584-BCBA-AE2A56739200","76B3DD9B-8D01-42BA-A574-AB99D5F899BB","1EBC5512-8F54-4B24-998C-69A285EC8533","DD1165C7-6C1A-4361-A4AE-FCF6F31152FD","4D6D36E8-48F3-408A-B03C-202E4DC182BD","5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011","E0A6B33B-767A-4532-9021-892414520200","F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D","0C7E832A-A741-430F-B295-8BC181D066FE","472AED3B-CB76-49BD-BF49-354A2D568F86","A7C52F65-D140-4791-880F-F7584C7BB570","3516412B-8B36-4E52-9416-6B7FB358BDC2","1840CACC-078C-4795-AD3F-E9D6F8D557A0","1FEDCA25-0131-46FA-840F-DC5F1B05C6CA","C620CED3-0AE9-4097-9AA7-2706A042F9C9","679A861B-40E0-4DB2-B22F-95B454C6978D"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":583},"layout":{"__isSmartRef__":true,"id":584},"distanceToDragEvent":{"__isSmartRef__":true,"id":585},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":586},"__LivelyClassName__":"lively.morphic.Box"},"451":{"submorphs":[{"__isSmartRef__":true,"id":452}],"scripts":[],"shape":{"__isSmartRef__":true,"id":468},"id":"107BACC6-B269-4D8A-8DEB-E4AA5DC0DE6B","renderContextTable":{"__isSmartRef__":true,"id":473},"eventHandler":{"__isSmartRef__":true,"id":474},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":475},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":476},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":477},"partsBinMetaInfo":{"__isSmartRef__":true,"id":478},"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[520,"071F18BE-FF28-40F5-ACAD-1916E0D25C38","DF185A10-743D-45FC-B9C2-76E12D908BCF","BF125D2C-596A-4C1E-A5F8-DAE4801E9497","3CEE8CFF-B8F1-4B4B-A405-CB583080252A","D0652878-8F9C-4591-8A82-296898AACDB6","31441DDF-2220-43BE-A99F-69E1FEC68030","14A90039-0D3E-46DC-8445-D42B8E02EB42","681EF5DE-A344-4114-B2F3-B96CE3872524","C0381116-5116-4F33-B082-A411D0E4534E","24E9581E-B008-46EE-9CBC-D5190E100D98","C69D1041-2C5E-48FE-B04C-04E66450658A","4830945B-4FFF-4564-9424-34D7995DAE60","8602C233-B3E7-4682-9B0E-D7549761D934","B4E0E11F-2BED-462E-B708-89D63971856E","EE0144C2-D016-4390-8A67-4E7DEF171C83","F44DF6E4-5F27-440E-AB5F-3721C0A10CA6","73FC6648-DAAF-4673-8CF4-7DA219513F22","B78EB1B5-780C-45F7-B0A7-B988B52B1FF1","DFDB8CD1-72F7-40F4-849B-1F9B866277AB","66111105-B1FC-41F7-BF70-D45118C9E09F","02420416-1E35-4831-AABB-91CD0460CA1A","7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5","0503F5A1-1732-4610-9A5A-920D658CA766","07C5AE03-36AD-4849-BACD-27D7D9A2CCF2"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":450},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":479},"_Rotation":0,"_Scale":1,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Image"},"452":{"submorphs":[],"scripts":[],"id":"714479E6-3795-472A-A9E5-2356CB1378AB","shape":{"__isSmartRef__":true,"id":453},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":459},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":456},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":460},"textChunks":[{"__isSmartRef__":true,"id":461}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":463},"renderContextTable":{"__isSmartRef__":true,"id":464},"eventHandler":{"__isSmartRef__":true,"id":465},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":466},"_ClipMode":"visible","derivationIds":[355,"023045B3-2D6B-4425-89FB-F4806D527BE0","DC0C2365-868C-41AE-8369-51C31E91493E","C6D9D314-86A1-4015-970B-F6787F535E1A","6AA4552E-2E85-447E-9033-99D5AA1A94BC","D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213","AA8F0470-654C-4AA2-8135-4607F5429AC5","E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97","1A86AE17-73AE-442E-AB36-DD90C6DFC8BC","EF750075-E964-4CD3-B6A4-161511E1D058","CED69CBF-FFA5-45E7-B333-FBACE4F278AC","E56978C1-7424-4C10-8168-11FD3237B540","D5AB2532-A4DC-42D6-AF17-99CBBCEAA848","245866CB-598A-4172-A3A0-A06D4D26C6AD","43B0F12E-5793-43AA-80E1-496774E0EBA6","1B776A8C-0413-475F-8EBD-120BBD91D2BB","F84F2C9A-8003-4E81-833A-83F48C92F3B8","3124B389-9FA4-4348-BC5D-0DFF9C59CD1B","1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1","1CB201BA-5E0B-4771-821A-139FA2AEFBC2","195520FA-4816-47A4-B0F5-BA890AFD9DF9","0D15F28A-24C9-46B7-89C5-6D2354728AC1","316FE9D3-62EC-4FD6-9B0F-FFA622B79575","739F3743-9BE1-48C8-813D-C0BFB0DCACA6","01877B3B-7DA7-4222-B011-7B5F4E501862"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":451},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":467},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"453":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":454},"_Extent":{"__isSmartRef__":true,"id":455},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":456},"renderContextTable":{"__isSmartRef__":true,"id":457},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":458},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"454":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"455":{"x":257,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"456":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"457":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"458":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"459":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"460":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"461":{"style":{"__isSmartRef__":true,"id":462},"chunkOwner":{"__isSmartRef__":true,"id":452},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"462":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"463":{"x":257,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"464":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"465":{"morph":{"__isSmartRef__":true,"id":452},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"466":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"467":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"468":{"_Position":{"__isSmartRef__":true,"id":469},"renderContextTable":{"__isSmartRef__":true,"id":470},"_Extent":{"__isSmartRef__":true,"id":471},"_ImageURL":"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":472},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"469":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"470":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"471":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"472":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"473":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"474":{"morph":{"__isSmartRef__":true,"id":451},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"475":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"476":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"477":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"478":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"479":{"centeredHorizontal":true,"centeredVertical":true},"480":{"position":{"__isSmartRef__":true,"id":481},"_Extent":{"__isSmartRef__":true,"id":482},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":483},"_Fill":{"__isSmartRef__":true,"id":484},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":485},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":486},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"481":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"482":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"483":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"484":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"485":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"486":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"487":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"488":{"partsSpaceName":"PartsBin/iPad Widgets","__SourceModuleName__":"Global.lively.PartsBin","comment":"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.","migrationLevel":4,"partName":"LoadingMorph","changes":[{"__isSmartRef__":true,"id":489},{"__isSmartRef__":true,"id":491},{"__isSmartRef__":true,"id":493},{"__isSmartRef__":true,"id":495},{"__isSmartRef__":true,"id":497},{"__isSmartRef__":true,"id":499},{"__isSmartRef__":true,"id":501},{"__isSmartRef__":true,"id":503},{"__isSmartRef__":true,"id":505},{"__isSmartRef__":true,"id":507},{"__isSmartRef__":true,"id":509},{"__isSmartRef__":true,"id":511},{"__isSmartRef__":true,"id":513},{"__isSmartRef__":true,"id":515},{"__isSmartRef__":true,"id":517},{"__isSmartRef__":true,"id":519},{"__isSmartRef__":true,"id":521},{"__isSmartRef__":true,"id":523},{"__isSmartRef__":true,"id":525},{"__isSmartRef__":true,"id":527},{"__isSmartRef__":true,"id":529},{"__isSmartRef__":true,"id":531},{"__isSmartRef__":true,"id":533},{"__isSmartRef__":true,"id":535},{"__isSmartRef__":true,"id":537},{"__isSmartRef__":true,"id":539},{"__isSmartRef__":true,"id":541},{"__isSmartRef__":true,"id":543},{"__isSmartRef__":true,"id":545},{"__isSmartRef__":true,"id":547},{"__isSmartRef__":true,"id":549},{"__isSmartRef__":true,"id":551},{"__isSmartRef__":true,"id":553},{"__isSmartRef__":true,"id":555},{"__isSmartRef__":true,"id":557},{"__isSmartRef__":true,"id":559},{"__isSmartRef__":true,"id":561},{"__isSmartRef__":true,"id":563},{"__isSmartRef__":true,"id":565},{"__isSmartRef__":true,"id":567},{"__isSmartRef__":true,"id":569},{"__isSmartRef__":true,"id":571},{"__isSmartRef__":true,"id":573},{"__isSmartRef__":true,"id":575},{"__isSmartRef__":true,"id":577},{"__isSmartRef__":true,"id":579}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"489":{"date":{"__isSmartRef__":true,"id":490},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"490":{"isSerializedDate":true,"string":"Thu Feb 09 2012 13:20:11 GMT-0600 (CST)"},"491":{"date":{"__isSmartRef__":true,"id":492},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"492":{"isSerializedDate":true,"string":"Tue Feb 07 2012 05:03:42 GMT-0600 (CST)"},"493":{"date":{"__isSmartRef__":true,"id":494},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"494":{"isSerializedDate":true,"string":"Tue Feb 07 2012 05:02:33 GMT-0600 (CST)"},"495":{"date":{"__isSmartRef__":true,"id":496},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"496":{"isSerializedDate":true,"string":"Tue Feb 07 2012 04:59:48 GMT-0600 (CST)"},"497":{"date":{"__isSmartRef__":true,"id":498},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"498":{"isSerializedDate":true,"string":"Tue Feb 07 2012 04:49:47 GMT-0600 (CST)"},"499":{"date":{"__isSmartRef__":true,"id":500},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"500":{"isSerializedDate":true,"string":"Tue Feb 07 2012 04:48:14 GMT-0600 (CST)"},"501":{"date":{"__isSmartRef__":true,"id":502},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"502":{"isSerializedDate":true,"string":"Tue Feb 07 2012 04:44:11 GMT-0600 (CST)"},"503":{"date":{"__isSmartRef__":true,"id":504},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"504":{"isSerializedDate":true,"string":"Tue Feb 07 2012 04:38:26 GMT-0600 (CST)"},"505":{"date":{"__isSmartRef__":true,"id":506},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"506":{"isSerializedDate":true,"string":"Tue Feb 07 2012 04:31:50 GMT-0600 (CST)"},"507":{"date":{"__isSmartRef__":true,"id":508},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"508":{"isSerializedDate":true,"string":"Tue Feb 07 2012 04:10:27 GMT-0600 (CST)"},"509":{"date":{"__isSmartRef__":true,"id":510},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"510":{"isSerializedDate":true,"string":"Thu Feb 02 2012 10:04:28 GMT-0600 (CST)"},"511":{"date":{"__isSmartRef__":true,"id":512},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"512":{"isSerializedDate":true,"string":"Thu Feb 02 2012 09:58:43 GMT-0600 (CST)"},"513":{"date":{"__isSmartRef__":true,"id":514},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"514":{"isSerializedDate":true,"string":"Thu Feb 02 2012 09:49:48 GMT-0600 (CST)"},"515":{"date":{"__isSmartRef__":true,"id":516},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"516":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:53:49 GMT-0600 (CST)"},"517":{"date":{"__isSmartRef__":true,"id":518},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"518":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:48:04 GMT-0600 (CST)"},"519":{"date":{"__isSmartRef__":true,"id":520},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"520":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:26:23 GMT-0600 (CST)"},"521":{"date":{"__isSmartRef__":true,"id":522},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"522":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:24:30 GMT-0600 (CST)"},"523":{"date":{"__isSmartRef__":true,"id":524},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"524":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:41:00 GMT-0600 (CST)"},"525":{"date":{"__isSmartRef__":true,"id":526},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"526":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:32:58 GMT-0600 (CST)"},"527":{"date":{"__isSmartRef__":true,"id":528},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"528":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:28:30 GMT-0600 (CST)"},"529":{"date":{"__isSmartRef__":true,"id":530},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"530":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:04:01 GMT-0600 (CST)"},"531":{"date":{"__isSmartRef__":true,"id":532},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"532":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:26:01 GMT-0600 (CST)"},"533":{"date":{"__isSmartRef__":true,"id":534},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"534":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:54:35 GMT-0600 (CST)"},"535":{"date":{"__isSmartRef__":true,"id":536},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"536":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:55:14 GMT-0600 (CST)"},"537":{"date":{"__isSmartRef__":true,"id":538},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"538":{"isSerializedDate":true,"string":"Thu Feb 02 2012 10:22:07 GMT-0600 (CST)"},"539":{"date":{"__isSmartRef__":true,"id":540},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"540":{"isSerializedDate":true,"string":"Tue Feb 07 2012 04:13:49 GMT-0600 (CST)"},"541":{"date":{"__isSmartRef__":true,"id":542},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"542":{"isSerializedDate":true,"string":"Wed Feb 08 2012 04:41:50 GMT-0600 (CST)"},"543":{"date":{"__isSmartRef__":true,"id":544},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"544":{"isSerializedDate":true,"string":"Fri Feb 10 2012 02:45:55 GMT-0600 (CST)"},"545":{"date":{"__isSmartRef__":true,"id":546},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"546":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:55:44 GMT-0600 (CST)"},"547":{"date":{"__isSmartRef__":true,"id":548},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"548":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:01:50 GMT-0600 (CST)"},"549":{"date":{"__isSmartRef__":true,"id":550},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"550":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:02:56 GMT-0600 (CST)"},"551":{"date":{"__isSmartRef__":true,"id":552},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"552":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:14:10 GMT-0600 (CST)"},"553":{"date":{"__isSmartRef__":true,"id":554},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"554":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:31:52 GMT-0600 (CST)"},"555":{"date":{"__isSmartRef__":true,"id":556},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"556":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:35:29 GMT-0600 (CST)"},"557":{"date":{"__isSmartRef__":true,"id":558},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"558":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:37:15 GMT-0600 (CST)"},"559":{"date":{"__isSmartRef__":true,"id":560},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"560":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:45:05 GMT-0600 (CST)"},"561":{"date":{"__isSmartRef__":true,"id":562},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"562":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:46:25 GMT-0600 (CST)"},"563":{"date":{"__isSmartRef__":true,"id":564},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"564":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:47:19 GMT-0600 (CST)"},"565":{"date":{"__isSmartRef__":true,"id":566},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"566":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:51:05 GMT-0600 (CST)"},"567":{"date":{"__isSmartRef__":true,"id":568},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"568":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:56:54 GMT-0600 (CST)"},"569":{"date":{"__isSmartRef__":true,"id":570},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"570":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:59:10 GMT-0600 (CST)"},"571":{"date":{"__isSmartRef__":true,"id":572},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"572":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:59:45 GMT-0600 (CST)"},"573":{"date":{"__isSmartRef__":true,"id":574},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"574":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:23:04 GMT-0600 (CST)"},"575":{"date":{"__isSmartRef__":true,"id":576},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"576":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:36:14 GMT-0600 (CST)"},"577":{"date":{"__isSmartRef__":true,"id":578},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"578":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:43:10 GMT-0600 (CST)"},"579":{"date":{"__isSmartRef__":true,"id":580},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"580":{"isSerializedDate":true,"string":"Wed Feb 22 2012 07:02:04 GMT-0600 (CST)"},"581":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"582":{"morph":{"__isSmartRef__":true,"id":450},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"583":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"584":{"adjustForNewBounds":true},"585":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"586":{"loadPart":{"__isSmartRef__":true,"id":587},"loadFinished":{"__isSmartRef__":true,"id":591},"loadPartByName":{"__isSmartRef__":true,"id":595}},"587":{"varMapping":{"__isSmartRef__":true,"id":588},"source":"function loadPart(partItem, isAsync) {\n this.partItem = partItem;\n \n this.openInWorld();\n if(partItem.part) {\n this.setExtent(partItem.part.getExtent());\n }\n this.align(this.bounds().center(), $world.visibleBounds().center());\n \n \n if(typeof isAsync === \"function\") {\n this.callback = isAsync;\n }\n\n connect(partItem, 'part', this, \"loadFinished\");\n\n partItem.loadPart(isAsync);\n\n return partItem.part;\n\n}","funcProperties":{"__isSmartRef__":true,"id":589},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"588":{"this":{"__isSmartRef__":true,"id":450}},"589":{"timestamp":{"__isSmartRef__":true,"id":590},"user":"sstamm","tags":[]},"590":{"isSerializedDate":true,"string":"Wed Feb 22 2012 07:01:53 GMT-0600 (CST)"},"591":{"varMapping":{"__isSmartRef__":true,"id":592},"source":"function loadFinished(part) {\n if(this.owner === $world.firstHand()) {\n $world.firstHand().removeAllMorphs();\n } else {\n this.owner.addMorph(part);\n part.align(part.bounds().center(), this.bounds().center());\n this.remove();\n }\n disconnect(this.partItem, 'part', this, \"loadFinished\");\n if(this.callback) {\n this.callback(part);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":593},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"592":{"this":{"__isSmartRef__":true,"id":450}},"593":{"timestamp":{"__isSmartRef__":true,"id":594},"user":"sstamm","tags":[]},"594":{"isSerializedDate":true,"string":"Wed Feb 22 2012 07:01:53 GMT-0600 (CST)"},"595":{"varMapping":{"__isSmartRef__":true,"id":596},"source":"function loadPartByName(partName, optPartsSpaceName, isAsync) {\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\n return this.loadPart(partItem, isAsync);\n}","funcProperties":{"__isSmartRef__":true,"id":597},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"596":{"this":{"__isSmartRef__":true,"id":450}},"597":{"timestamp":{"__isSmartRef__":true,"id":598},"user":"sstamm","tags":[]},"598":{"isSerializedDate":true,"string":"Thu Feb 02 2012 10:03:18 GMT-0600 (CST)"},"isSimplifiedRegistry":true}}]]>