{"id":0,"registry":{"0":{"submorphs":[],"scripts":[],"id":"99971520-E604-49CC-AD56-CB611157BFF4","shape":{"__isSmartRef__":true,"id":1},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"OverlayTemplate","partsBinMetaInfo":{"__isSmartRef__":true,"id":2},"eventHandler":{"__isSmartRef__":true,"id":29},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","6575457B-734F-4449-94E9-08A5A5412CAC","D089F7E0-731E-4D8F-9B1A-714D6A4938D0","42ED7D5C-FA86-489A-8C4D-7F85EE4670EB","53EDECEC-76E9-4770-800B-E0AD23921D1A","EC4BA45F-1E0D-41BE-8FA2-057FB2F2C7C0","AC0BEDAF-F187-441D-A366-2EC06E796002","23A0A1A3-44E9-46AE-8720-78AD1B576C56","D2CC7301-C6FA-4591-A288-5D4D9CB6D101","DCC6A217-9DD8-4B93-BFB2-7E209B00B88C","D6D9317E-2A24-4DF1-B215-43A4904F8F47"],"partTests":{"__isSmartRef__":true,"id":30},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"image":{"__isSmartRef__":true,"id":35},"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"_PreviousBorderWidth":2.5,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":39},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(694.0,17.0)"},"1":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":15,"_Opacity":0.2667,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(1024.0,768.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(238,238,238)","_Padding":"lively.rect(0,0,0,0)"},"2":{"partsSpaceName":"PartsBin/Presentation/","comment":"A template slide overlay for slide builds","migrationLevel":9,"partName":"OverlayTemplate","changes":[{"__isSmartRef__":true,"id":3},{"__isSmartRef__":true,"id":4},{"__isSmartRef__":true,"id":5},{"__isSmartRef__":true,"id":6},{"__isSmartRef__":true,"id":7},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":10},{"__isSmartRef__":true,"id":11},{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":13},{"__isSmartRef__":true,"id":14},{"__isSmartRef__":true,"id":15},{"__isSmartRef__":true,"id":16},{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":21},{"__isSmartRef__":true,"id":22},{"__isSmartRef__":true,"id":23},{"__isSmartRef__":true,"id":24},{"__isSmartRef__":true,"id":25},{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":27},{"__isSmartRef__":true,"id":28}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Mon Dec 01 2014 09:17:34 GMT-0800 (PST)\")"},"3":{"author":"rick","message":"no comment","id":"EA9B1A13-2911-48AB-942E-6895277F6D14","__serializedExpressions__":["date"],"date":"new Date(\"Sun Nov 30 2014 15:17:27 GMT-0800 (PST)\")"},"4":{"author":"rick","message":"no comment","id":"BB3417B4-D037-4CF6-A189-AB90423126D0","__serializedExpressions__":["date"],"date":"new Date(\"Mon Nov 24 2014 09:06:08 GMT-0800 (PST)\")"},"5":{"author":"rick","message":"no comment","id":"B5209D58-DBAE-4D61-88A6-EA55F98ECBFE","__serializedExpressions__":["date"],"date":"new Date(\"Sun Nov 23 2014 18:26:07 GMT-0800 (PST)\")"},"6":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"7":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"8":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"9":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"10":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"11":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"12":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"13":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"14":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"15":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"16":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"17":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"18":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"19":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"20":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"21":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"22":{"author":"rick","message":"no comment","id":"FF099354-C759-464B-9E8B-0A6333866CA5","__serializedExpressions__":["date"],"date":"new Date(\"Sun Nov 23 2014 18:47:22 GMT-0800 (PST)\")"},"23":{"author":"rick","message":"no comment","id":"B5C26A21-A33F-4681-B8E6-AE9E849B31A4","__serializedExpressions__":["date"],"date":"new Date(\"Sun Nov 23 2014 18:55:26 GMT-0800 (PST)\")"},"24":{"author":"rick","message":"no comment","id":"FA743494-22AE-49BB-BF94-E650D1C7ACEF","__serializedExpressions__":["date"],"date":"new Date(\"Mon Nov 24 2014 06:35:26 GMT-0800 (PST)\")"},"25":{"author":"rick","message":"no comment","id":"CA139FFD-26B2-4270-A3A8-4C1794819A62","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 27 2014 08:39:48 GMT-0800 (PST)\")"},"26":{"author":"rick","message":"no comment","id":"7AF32B78-0C0E-46AC-A758-35791C3C2F11","__serializedExpressions__":["date"],"date":"new Date(\"Mon Dec 01 2014 07:12:37 GMT-0800 (PST)\")"},"27":{"author":"rick","message":"no comment","id":"3565C226-1E88-455E-B58D-0A252083150F","__serializedExpressions__":["date"],"date":"new Date(\"Mon Dec 01 2014 09:17:09 GMT-0800 (PST)\")"},"28":{"__serializedExpressions__":["date"],"author":"rick","message":"no comment","id":"18066D05-F837-42FA-8370-F8BE5533BE0E","date":"new Date(\"Tue Dec 09 2014 10:12:34 GMT-0800 (PST)\")"},"29":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"30":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":31}},"31":{"test01IsMorph":{"__isSmartRef__":true,"id":32}},"32":{"varMapping":{"__isSmartRef__":true,"id":33},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":34},"__LivelyClassName__":"lively.Closure"},"33":{"this":{"__isSmartRef__":true,"id":30}},"34":{},"35":{"submorphs":[],"scripts":[],"id":"8F092E2A-88E4-4E4C-87D1-C23D0BF16182","shape":{"__isSmartRef__":true,"id":36},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"eventHandler":{"__isSmartRef__":true,"id":37},"showsHalos":false,"name":"Image","partsBinMetaInfo":{"__isSmartRef__":true,"id":38},"_Rotation":0,"_Scale":1,"derivationIds":[707],"_ClipMode":"visible","doNotSerialize":["_renderContext","halos","_isRendered","priorExtent","cachedBounds","magnets","_whenLoadedCallbacks"],"owner":null,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(732.0,273.5)"},"36":{"_ImageURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAADK0lEQVR4Xu2WMWpiURhG/7eCgGCRIsEHdskCsgU3IJgV2IapxlYy05jCqWxtogSygJQu4AWtLF2AILgCZ96DFyaDE8JHPrzFSRMT8h2v5+SK2cXFxY/VavU9+Dq5gaurq5/Zbrc7nPwkHODNAEES+2cgCEESM5DYcbghBPm8gZubm9jv97Fer+Pu7i6m02n8+RBSAfr9fkwmk3ew4XAYRVFUvxuNRtFut6PRaESr1YrX19fPP/EJ/zLpG3I4HCLLskpPHWS73Uaz2Yxutxvj8TjOz8/fIh3z+HeQ8vFms4mzs7MTKv/4qZMOUt6AwWBQCa+DlC+n/Lm8IU9PT9Xj29vbeHx8PPpK6yCdTifu7++rG1PfshSrJBtkNptFr9ernJVvVcvlsvp+LMhHYusgeZ7H8/Nzig3enSnZIOUpS5l1gPqGzOfzeHh4iFLwYrGIy8vLeHl5+a/of9+yal6qZZIOkqo057kI4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7AJIkhzTgjitCuwCSJIc04I4rQrsAkiSHNOCOK0K7CzPM9HRVF8E7ZMvtjA9fX1r99vJO8WrotUdQAAAABJRU5ErkJggg==","isLoaded":true,"__serializedExpressions__":["position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,100.0)","_Padding":"lively.rect(0,0,0,0)"},"37":{"morph":{"__isSmartRef__":true,"id":35},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"38":{"partsSpaceName":"PartsBin/Basic","partName":"Image","migrationLevel":2,"comment":"an pixmap image morph","__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:34 GMT-0700 (PDT)\")"},"39":{"levelBullets":{"__isSmartRef__":true,"id":40},"onShow":{"__isSmartRef__":true,"id":43},"setPlayInterval":{"__isSmartRef__":true,"id":46},"addBullets":{"__isSmartRef__":true,"id":49},"onPlay":{"__isSmartRef__":true,"id":52},"displayBullets":{"__isSmartRef__":true,"id":55},"setMode":{"__isSmartRef__":true,"id":58}},"40":{"varMapping":{"__isSmartRef__":true,"id":41},"source":"function levelBullets(level0Size) {\n    // Set the pages bullets, if any, so that the font size of \n    // a bullet at level i is level0Size - 2*i.  So, for example,\n    // if level0Size is 24 (24 pt), the sizes of the bullet levels\n    // will be [24, 22, 20, 18]\n    this.submorphs.forEach(function(aMorph) {\n        if (aMorph.hasOwnProperty('setBulletSize')) {\n            aMorph.setBulletSize(level0Size)\n        }\n    })\n    \n}","funcProperties":{"__isSmartRef__":true,"id":42},"__LivelyClassName__":"lively.Closure"},"41":{"this":{"__isSmartRef__":true,"id":0}},"42":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 23 2014 18:39:44 GMT-0800 (PST)\")"},"43":{"varMapping":{"__isSmartRef__":true,"id":44},"source":"function onShow() {\n    // A function which is invoked when the slide is brought up in interactive\n    // presentation mode\n    // This should be written by the presenter in order to add arbitrary dynamic\n    // behavior to the slide when it is shown in presentation mode\n    \n}","funcProperties":{"__isSmartRef__":true,"id":45},"__LivelyClassName__":"lively.Closure"},"44":{"this":{"__isSmartRef__":true,"id":0}},"45":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 23 2014 18:44:35 GMT-0800 (PST)\")"},"46":{"varMapping":{"__isSmartRef__":true,"id":47},"source":"function setPlayInterval(aPositiveInteger) {\n    // set the play interval, in seconds, in autoplay mode\n    if (aPositiveInteger > 0 && aPositiveInteger < 61) {\n        this.playInterval = aPositiveInteger;\n    }\n    \n}","funcProperties":{"__isSmartRef__":true,"id":48},"__LivelyClassName__":"lively.Closure"},"47":{"this":{"__isSmartRef__":true,"id":0}},"48":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 23 2014 18:47:04 GMT-0800 (PST)\")"},"49":{"varMapping":{"__isSmartRef__":true,"id":50},"source":"function addBullets() {\n    // Add bullets at levels 0-3 for the slide.  This just grabs a BulletedText\n    // Morph out of the PartsBin, and when the load is done calls\n    // displayBullets to put them on the page and do the real work\n    lively.PartsBin.getPart('BulletedText', 'PartsBin/Presentation', function(err, part) {\n        this.displayBullets(part)\n    }.bind(this))\n}","funcProperties":{"__isSmartRef__":true,"id":51},"__LivelyClassName__":"lively.Closure"},"50":{"this":{"__isSmartRef__":true,"id":0}},"51":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Nov 24 2014 06:35:12 GMT-0800 (PST)\")"},"52":{"varMapping":{"__isSmartRef__":true,"id":53},"source":"function onPlay() {\n    // A function which is invoked when the slide is brought up in autoplay mode\n    // This should be written by the presenter in order to add arbitrary dynamic\n    // behavior to the slide when it is shown in autoplay mode\n}","funcProperties":{"__isSmartRef__":true,"id":54},"__LivelyClassName__":"lively.Closure"},"53":{"this":{"__isSmartRef__":true,"id":0}},"54":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Sun Nov 23 2014 18:44:35 GMT-0800 (PST)\")"},"55":{"varMapping":{"__isSmartRef__":true,"id":56},"source":"function displayBullets(bulletMorph) {\n    // Add bullets at levels 0-3 for the slide.  The bullets are just text morphs\n    // with a couple of additional methods to set sizing on the basis of the\n    // bullet's level and set the character for the buller.  See BulletedText\n    // in PartsBin/Presentation.  These things are added at an offset to\n    // give a start on the usual indentation practice\n    var bullets = [bulletMorph]\n    var bulletPositions = [pt(130, 200), pt(180, 275), pt(230, 350), pt(280, 400)]\n    for(var i = 1; i < 4; i++) {\n        bullets.push(bulletMorph.copy())\n    }\n    for(var i = 0; i < 4; i++) {\n        bullets[i].setName('Bullet' + i)\n        bullets[i].init()\n        bullets[i].setLevel(i)\n        this.addMorph(bullets[i])\n        bullets[i].setPosition(bulletPositions[i])\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":57},"__LivelyClassName__":"lively.Closure"},"56":{"this":{"__isSmartRef__":true,"id":0}},"57":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Nov 24 2014 06:30:22 GMT-0800 (PST)\")"},"58":{"varMapping":{"__isSmartRef__":true,"id":59},"source":"function setMode(aMode) {\n    // Set the mode of the slide.  This is just for any Morph (notably, the Director)\n    // which changes its appearance/behavior depending on the mode\n    this.submorphs.forEach(function(aMorph) {\n        if ('setMode' in aMorph) {\n            aMorph.setMode(aMode)\n        }\n    })\n    // Also, in PresentationMode, we want to go forward on <enter>, <space>,\n    // <right>, <down>, and back on <left>, <up>, and in CompositionMode\n    // we want to disable this\n    // enable in PresentationMode by adding the onkeyDown script\n    if (aMode == 'Presentation') {\n        this.addScript(function onKeyDown(evt) {\n            var backwardCharacters = [37 /* left */, 38 /* up */]\n            var forwardCharacters = [32 /*space*/, 13 /* enter */, 39 /* right */, 40 /* down */ ]\n            var code = evt.getKeyCode()\n            if (backwardCharacters.indexOf(code) != -1) {\n                this.owner.showPreviousSlide()\n            } else if (forwardCharacters.indexOf(code) != -1) {\n                this.owner.showNextSlide()\n            }\n        })\n    // disable by deleting the script in CompositionMode\n    } else if (aMode == 'Composition') {\n        if (this.hasOwnProperty('onKeyDown')) {\n            delete this.onKeyDown\n        }\n    }\n    \n}","funcProperties":{"__isSmartRef__":true,"id":60},"__LivelyClassName__":"lively.Closure"},"59":{"this":{"__isSmartRef__":true,"id":0}},"60":{"user":"rick","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Dec 01 2014 07:12:27 GMT-0800 (PST)\")"},"isSimplifiedRegistry":true}}