/*
HTTP Host: static.ak.fbcdn.net
Generated: March 16th 2010 9:50:11 AM PDT
Machine: 10.16.139.107
Locale: nu_ll
Path: js/bztbnrw6w4ggs8ks.pkg.js
*/

if (window.CavalryLogger) { CavalryLogger.start_js(["js\/bztbnrw6w4ggs8ks.pkg.js"]); }

function BookmarkConnectApp(_L0,_L1,_L2,_L3,_L4){var _L5=$('BookmarkConnectAppInfo');function _L6(r){var msg=_L2?_tx("Successfully bookmarked this application."):_tx("Removed bookmark for this application.");_L5.setContent(msg);animation(_L5).to('background','#FFFFFF').from('background','#FFEEBB').duration(1000).ease(animation.ease.start).ondone(function(){goURI(_L3);}).go();}function _L7(e){var msg=_tx("There was a problem with your request. Please try again.");_L5.setContent(msg);animation(_L5).to('background','#FFFFFF').from('background','#FF9999').duration(1000).ease(animation.ease.start).go();}if(!_L4&&typeof(window.top.applicationDock)!='undefined'){var _L8=keys(window.top.applicationDock.bookmarkableApp)[0];if(_L8==_L0){window.top.applicationDock.bookmarkCurrentApp(true);_L6(true);}else{_L7(false);return false;}}else new AsyncRequest().setURI('/ajax/edit_app_settings.php').setHandler(_L6).setErrorHandler(_L7).setTransportErrorHandler(_L7).setData({bookmark:1,bookmarked:_L2,profile_id:_L1,app_id:_L0}).setStatusElement('BookmarkConnectAppStatus').send();}function BookmarkApp(_L0,_L1){if(typeof(applicationDock)!='undefined'){var _L2=keys(applicationDock.bookmarkableApp)[0];if(_L2==_L0){applicationDock.bookmarkCurrentApp(true);}else return false;}else{var req;function _L4(r){}function _L5(r){var msg=_tx("There was a problem with your request. Please try again.");new Dialog().setTitle(_tx("Error")).setBody(msg).setButtons(Dialog.OK).show();}req=new AsyncRequest();req.setURI('/ajax/edit_app_settings.php').setHandler(_L4).setErrorHandler(_L5).setData({bookmark:1,bookmarked:true,profile_id:_L1,app_id:_L0});req.send();}}
function ApplicationDock(_L0,_L1,_L2){this.sortedBookmarks=[];this.undoTimeouts={};this.menuLoaded=false;this.menuOpen=false;this.menuWrapperID='presence_applications';this.applicationTabID='presence_applications_tab';this.applicationMenuContentID='presence_applications_content';this.menuWrapper=$(this.menuWrapperID,true);this.applicationTab=$(this.applicationTabID,true);this.applicationMenuContainer=$(this.applicationMenuContentID,true);this.iconGardenRoot=$('application_icon_garden_root',true);this.iconGardenHandler=Event.listen($('icon_garden'),'mouseover',function(){this._enhance();}.bind(this));this.bookmarkableAppWrapper=$('bookmarkable_app',true);this.bookmarkableAppContainer=$('presence_applications_bookmark_app',true);this.sortingEnabled=false;this.sortableRoot=null;this.sortableGroup=null;this.extendedSortableGroup=null;this.extendedSortableRoot=null;this.iconGardenSortableGroup=null;this.currentIconGardenDraggableKey=null;this.recentSortableGroup=null;this.recentSortableRoot=null;this.lastBookmarkedApp=null;this.recentApps=null;this.sortedRecentApps=null;this.bookmarks=_L0;this.recentApps=_L1;this.bookmarkableApp=_L2;this.suppressReset=false;this.removedBookmarks={};$('presence_applications_tab').removeAttribute('rel');$('presence_applications_tab').listen('click',this.toggleTab.bind(this));}copy_properties(ApplicationDock,{NUM_SHOWN:6,BOOKMARKS_CHANGED:'bookmarks_changed',SaveBookmarksSource:{ICON_GARDEN:1,APPLICATION_MENU:2,BOOKMARK_CURRENT_APP:3},ANIM_DURATION:200,UNDO_ANIM_HIDE_DELAY:5000,RECENT_APPS_ANIM_HIDE_DELAY:1000});ApplicationDock.prototype={_init:function(){if(!is_empty(this.bookmarkableApp))this._renderBookmarkableApp();this.sortedBookmarks=this._getSortedList();Arbiter.subscribe(PresenceMessage.getArbiterMessageType('bookmarks'),this._handleBookmarkMessage.bind(this));},_getSortedList:function(_L0){_L0=_L0||this.bookmarks;var _L1=keys(_L0);this._sort(_L1,_L0);return _L1;},_ensureSortedRecentApps:function(){if(!this.sortedRecentApps)this.sortedRecentApps=this._getSortedList(this.recentApps);},_sort:function(_L0,_L1){var _L2=this._sortApps.bind(null,_L1);_L0.sort(_L2);},_sortApps:function(_L0,id1,id2){return _L0[id1].order-_L0[id2].order;},_renderApplicationMenu:function(){DOM.setContent(this.applicationMenuContainer,HTML(this._renderAppMenuContent()));},_renderAppMenuContent:function(){var _L0=[];var _L1=false;if(count(this.recentApps)>0){_L0.push('<div id="application_menu_recent_apps_container">');_L0.push(this._renderAppMenuDivider(_tx("Recently Used")));_L0.push('<ul id="application_menu_recent_apps">');this._ensureSortedRecentApps();for(var i=0;i<this.sortedRecentApps.length;i++){var _L3=this.sortedRecentApps[i];_L0.push(this._renderAppMenuItem(_L3));}_L0.push('</ul>');_L0.push('</div>');if(this.sortedBookmarks.length){_L1=true;_L0.push(this._renderAppMenuDivider(_tx("Bookmarks")));}}if(this.sortedBookmarks.length){if(!_L1)_L0.push(this._renderAppMenuDivider(_tx("Bookmarks")));_L0.push('<ul id="application_menu_root">');for(var i=0;i<this.sortedBookmarks.length;i++){var _L3=this.sortedBookmarks[i];if(i==ApplicationDock.NUM_SHOWN)_L0.push('</ul>',this._renderAppMenuDivider(),'<ul id="application_menu_extended_root">');_L0.push(this._renderAppMenuItem(_L3,null,true));}_L0.push('</ul>');}return _L0.join('');},_renderAppMenuItem:function(_L0){var _L1='';var _L2='';_L1=sprintf('<div class="del_button" id="%s"></div>',this._getAppMenuRemoveItemId(_L0));_L2=['<div class="app_menu_undo_remove_bookmark" id="',this._getAppMenuUndoRemoveItemId(_L0),'"><div class="app_menu_undo_remove_bookmark_link"><a href="#" id="',this._getAppMenuUndoRemoveItemLinkId(_L0),'">',_tx("Undo"),'</a></div><div>',_tx("Bookmark removed"),'</div></div>'].join('');return ['<li id="',this._getApplicationMenuItemId(_L0),'"><div id="',this._getApplicationMenuLinkContainerId(_L0),'">',_L1,this._renderApplicationMenuItem(_L0),'</div>',_L2,'</li>',].join('');},_renderAppMenuDivider:function(_L0){return ['<div class="application_menu_divider">',_L0||'','</div>'].join('');},_renderApplicationMenuItem:function(_L0){var _L1=this._getAppInfo(_L0);var _L2=URI(_L1.href||'').isFacebookURI();var _L3=['<a id="',this._getApplicationMenuLinkId(_L0),'"',_L2?'':' target="_blank"',' href="',_L1.href,'" class="item"',' >','<div class="item">',_L1.new_icon_img,'</div>',htmlize(_L1.name),'</a>'];return _L3.join('');},_getApplicationMenuItemId:function(_L0){return 'application_menu_'+_L0;},_getApplicationMenuLinkContainerId:function(_L0){return 'application_menu_link_container_'+_L0;},_getApplicationMenuLinkId:function(_L0){return 'application_menu_link_'+_L0;},_enhance:function(_L0){if(this.sortingEnabled)return;Bootloader.loadComponents('sort',this._onSortLoaded.bind(this,_L0));},_onSortLoaded:function(_L0){this.sortingEnabled=true;this.iconGardenHandler.remove();this._initIconGardenSortables();if(_L0)_L0();},render:function(){this._init();return this;},toggleTab:function(){if(!this.menuOpen){this._openTab();}else this._closeTab();return false;},_openTab:function(){if(this.menuOpen)return;if(!this.sortingEnabled){this._enhance(this._openTab.bind(this));return;}if(!this.menuLoaded){this._renderApplicationMenu();this._initApplicationMenu.bind(this).defer();this.menuLoaded=true;}CSS.removeClass(this.menuWrapper,'hidden_elem');presence.openTab(this.menuWrapperID,this.applicationTabID,this.applicationMenuContentID);this.menuOpen=true;},_closeTab:function(){CSS.addClass(this.menuWrapper,'hidden_elem');presence.toggleTab(this.menuWrapperID,this.applicationTabID,this.applicationMenuContentID);this.menuOpen=false;},_initApplicationMenu:function(){this.sortableRoot=$('application_menu_root');this.sortableGroup=new SortableGroup();var _L0=ApplicationDock.SaveBookmarksSource.APPLICATION_MENU;this.sortableGroup.setOrderChangeHandler(this._saveBookmarksOrder.bind(this,_L0));var _L1=this.sortableGroup;for(var i=0;i<this.sortedBookmarks.length;i++){var _L3=this.sortedBookmarks[i];if(i==ApplicationDock.NUM_SHOWN){this._initExtendedApplicationMenuSortables();_L1=this.extendedSortableGroup;}this._addApplicationMenuSortable(_L3,_L1);this._initEventHandlers(_L3);}if(this.recentApps&&count(this.recentApps)>0){this.recentSortableRoot=$('application_menu_recent_apps');this.recentSortableGroup=new SortableGroup();this.recentSortableGroup.setDroppable(false);this.sortableGroup.link(this.recentSortableGroup);for(var _L3 in this.recentApps)this._addApplicationMenuSortable(_L3,this.recentSortableGroup);}},_initEventHandlers:function(_L0){var _L1=this._getApplicationMenuLinkId(_L0);$(_L1).listen('click',this._menuClick.bind(this,_L0,_L1));var _L2=$(this._getApplicationMenuItemId(_L0));_L2.listen('mouseover',CSS.addClass.bind(CSS,_L2,'hover'));_L2.listen('mouseout',CSS.removeClass.bind(CSS,_L2,'hover'));this._registerRemoveItemHandler(_L0,this._getAppMenuRemoveItemId(_L0),false);this._registerRemoveItemHandler(_L0,this._getAppMenuUndoRemoveItemLinkId(_L0),true);},_registerRemoveItemHandler:function(_L0,_L1,_L2){$(_L1).listen('click',(function(e){this._setBookmarked(_L0,_L2);return $E(e).kill();}).bind(this));},_setBookmarked:function(_L0,_L1){var _L2;var _L3=ge(this._getApplicationMenuItemId(_L0));if(_L3.parentNode==this.sortableRoot){_L2=this.sortableGroup;}else _L2=this.extendedSortableGroup;if(_L1){this._addApplicationMenuSortable(_L0,_L2);var _L4=ApplicationDock.SaveBookmarksSource.APPLICATION_MENU;this._saveBookmarksOrder.bind(this,_L4).defer();delete this.removedBookmarks[_L0];}else{if(!this.removedBookmarks[_L0])this.removedBookmarks[_L0]=this.bookmarks[_L0];_L2.removeSortable(_L0);this._removeBookmark(_L0);}this._animateSetBookmarked(_L0,_L1);},_removeBookmark:function(_L0){new AsyncRequest().setURI('/ajax/edit_app_settings.php').setData({'bookmark':1,'bookmarked':false,'app_id':_L0}).setHandler(this._removeBookmarkHandler.bind(this,_L0)).send();},_removeBookmarkHandler:function(_L0){this.sortedBookmarks.remove(_L0);this._resetIconGarden();},_animateSetBookmarked:function(_L0,_L1){var _L2=ge(this._getApplicationMenuLinkContainerId(_L0));var _L3=ge(this._getAppMenuUndoRemoveItemId(_L0));var _L4,_L5;if(!_L1){_L4=_L2;_L5=_L3;}else{_L4=_L3;_L5=_L2;}hide(_L4);animation(_L5).show().from('opacity',0).to('opacity',1).duration(ApplicationDock.ANIM_DURATION).go();if(!_L1){this.undoTimeouts[_L0]=(function(){var _L6=ge(this._getApplicationMenuItemId(_L0));if(_L6)animation(_L6).to('height',0).duration(ApplicationDock.ANIM_DURATION).hide().ondone(this._onsortableLinkJump.bind(this,null)).go();}).bind(this).defer(ApplicationDock.UNDO_ANIM_HIDE_DELAY);}else{clearTimeout(this.undoTimeouts[_L0]);delete this.undoTimeouts[_L0];}},_menuClick:function(_L0,_L1){if(ApplicationDock.presenceWidthTest)AsyncRequest.pingURI('/ajax/abtest_async.php',{test_name:'APP_DOCK_TEST',action:'USED_APP_MENU'});var _L2=this._getAppInfo(_L0);var _L3=_L2.logAction;if(_L3)AsyncRequest.pingURI('/ajax/abtest_async.php',{test_name:'APPS_MENU_TEST',action:_L3});},_getAppInfo:function(_L0){return this.bookmarks[_L0]||this.recentApps[_L0]||this.removedBookmarks[_L0];},_initExtendedApplicationMenuSortables:function(){this.extendedSortableGroup=new SortableGroup();this.extendedSortableRoot=$('application_menu_extended_root');this.sortableGroup.link(this.extendedSortableGroup);this.sortableGroup.setLinkJumpHandler(this._onsortableLinkJump.bind(this));var _L0=ApplicationDock.SaveBookmarksSource.APPLICATION_MENU;this.extendedSortableGroup.setOrderChangeHandler(this._saveBookmarksOrder.bind(this,_L0));},_addApplicationMenuSortable:function(_L0,_L1){var obj=$(this._getApplicationMenuItemId(_L0));var _L3=$(this._getApplicationMenuLinkId(_L0));_L1.addSortable(_L0,obj,_L3);},_resetApplicationMenu:function(){if(!this.menuLoaded)return;this.sortableGroup.destroy();if(this.extendedSortableGroup)this.extendedSortableGroup.destroy();if(this.recentSortableGroup)this.recentSortableGroup.destroy();this._renderApplicationMenu();this._initApplicationMenu.bind(this).defer();},_onsortableLinkJump:function(key){var _L1=this.sortableGroup.getOrder(),_L2=null;if(_L1.length>ApplicationDock.NUM_SHOWN){for(var i=_L1.length-1;i>=0;i--)if(_L1[i]!=key){_L2=_L1[i];break;}DOM.prependContent(this.extendedSortableRoot,$(this._getApplicationMenuItemId(_L2)));this.extendedSortableGroup.migrateLinkedSortable(_L2);}else if(_L1.length<ApplicationDock.NUM_SHOWN){_L1=this.extendedSortableGroup.getOrder();for(var i=0;i<_L1.length;i++)if(_L1[i]!=key){_L2=_L1[i];break;}DOM.appendContent(this.sortableRoot,$(this._getApplicationMenuItemId(_L2)));this.sortableGroup.migrateLinkedSortable(_L2);}var _L1=this.recentSortableGroup.getOrder();if(_L1.length<this.sortedRecentApps.length){this.recentAppBookmarked=key;}else if(this.recentAppBookmarked)delete this.recentAppBookmarked;},_saveBookmarksOrder:function(_L0){this._processNewBookmark();var _L1=this._getOrder(_L0);new AsyncRequest().setURI('/ajax/edit_app_settings.php').setData({reorder_bookmarks:1,app_ids:_L1}).setHandler(this._saveBookmarksHandler.bind(this,_L1,_L0)).send();},_processNewBookmark:function(){if(this.recentAppBookmarked){var _L0=this.recentAppBookmarked;this.sortedRecentApps.remove(_L0);this._initEventHandlers(_L0);this.bookmarks[_L0]=this.recentApps[_L0];delete this.recentApps[_L0];delete this.recentAppBookmarked;if(!this.sortedRecentApps.length)(function(){animation($('application_menu_recent_apps_container')).to('height',0).to('opacity',0).duration(ApplicationDock.ANIM_DURATION).hide().go();}).defer(ApplicationDock.RECENT_APPS_ANIM_HIDE_DELAY);}},_getOrder:function(_L0){if(_L0==ApplicationDock.SaveBookmarksSource.APPLICATION_MENU){order=this.sortableGroup.getOrder();}else{order=this.iconGardenSortableGroup.getOrder();if(_L0==ApplicationDock.SaveBookmarksSource.BOOKMARK_CURRENT_APP)order.push(this._getAppShaftedByBookmarkableApp());}if(this.extendedSortableGroup){order=order.concat(this.extendedSortableGroup.getOrder());}else if(!this.menuLoaded&&this.sortedBookmarks.length>ApplicationDock.NUM_SHOWN)order=order.concat(this.sortedBookmarks.slice(ApplicationDock.NUM_SHOWN));order=unique(order);return order;},_saveBookmarksHandler:function(_L0,_L1){this._updateSortedList(_L0);switch(_L1){case ApplicationDock.SaveBookmarksSource.APPLICATION_MENU:this._resetIconGarden();break;case ApplicationDock.SaveBookmarksSource.ICON_GARDEN:case ApplicationDock.SaveBookmarksSource.BOOKMARK_CURRENT_APP:this._resetApplicationMenu();if(this.lastBookmarkedApp){var _L2=$(this._getApplicationIconGardenItemId(this.lastBookmarkedApp));this._animateTooltip.bind(_L2).defer();}break;}},_animateTooltip:function(){var _L0=this;tooltip=DOM.scry(_L0,'a');var on=function(){var tip=this.childNodes[1];CSS.setStyle(tip,'visibility','visible');CSS.setStyle(tip.firstChild,'visibility','visible');};on.bind(tooltip[0])();var off=function(){var tip=this.childNodes[1];CSS.setStyle(tip,'visibility','hidden');CSS.setStyle(tip.firstChild,'visibility','hidden');CSS.setStyle(tip,'opacity','100');};animation(_L0).from('backgroundColor','#FFF9B7').to('backgroundColor','#EAEAEA').ease(animation.ease.begin).duration(4000).ondone(CSS.setStyle.bind(this,_L0,'backgroundColor','')).go();animation(tooltip[0].childNodes[1]).to('opacity',0).ease(animation.ease.begin).duration(4000).ondone(off.bind(tooltip[0])).go();},_updateSortedList:function(_L0){this.sortedBookmarks=[];for(var i=0;i<_L0.length;i++)this.sortedBookmarks.push(_L0[i]);},_getIconGardenElem:function(_L0){var _L1=this._getAppInfo(_L0);var _L2=$N('a',{id:this._getApplicationIconGardenLinkId(_L0),href:_L1.href,className:'uiTooltip'},HTML(_L1.new_icon_img+'<span class="uiTooltipWrap left">'+'<span class="uiTooltipText">'+htmlize(_L1.name)+'</span>'+'</span>'));if(!URI(_L1.href||'').isFacebookURI())_L2.setAttribute('target','_blank');return $N('div',{id:this._getApplicationIconGardenItemId(_L0),className:'icon_garden_elem'},_L2);},_grabCallback:function(_L0){this.currentIconGardenDraggableKey=_L0;},_dropCallback:function(_L0){this.currentIconGardenDraggableKey=null;},_getApplicationIconGardenItemId:function(_L0){return 'application_icon_garden_'+_L0;},_getApplicationIconGardenLinkId:function(_L0){return 'application_icon_garden_link_'+_L0;},_getAppMenuRemoveItemId:function(_L0){return 'application_remove_item_'+_L0;},_getAppMenuUndoRemoveItemId:function(_L0){return 'application_undo_remove_item_'+_L0;},_getAppMenuUndoRemoveItemLinkId:function(_L0){return 'application_undo_remove_item_link_'+_L0;},_initIconGardenSortables:function(){this.iconGardenSortableGroup=new SortableGroup();var _L0=ApplicationDock.SaveBookmarksSource.ICON_GARDEN;this.iconGardenSortableGroup.setOrderChangeHandler(this._saveBookmarksOrder.bind(this,_L0));for(var i=0,_L2=Math.min(this.sortedBookmarks.length,ApplicationDock.NUM_SHOWN);i<_L2;i++){var _L3=this.sortedBookmarks[i];this._addIconGardenSortable(_L3);}},_addIconGardenSortable:function(_L0){var obj=$(this._getApplicationIconGardenItemId(_L0));var _L2=$(this._getApplicationIconGardenLinkId(_L0));this.iconGardenSortableGroup.addSortable(_L0,obj,_L2).setGrabCallback(this._grabCallback.bind(this)).setDropCallback(this._dropCallback.bind(this));if(ApplicationDock.presenceWidthTest)_L2.listen('click',function(){AsyncRequest.pingURI('/ajax/abtest_async.php',{action:'USED_APP_DOCK',test_name:'APP_DOCK_TEST'});});},_resetIconGarden:function(){if(this.iconGardenSortableGroup)this.iconGardenSortableGroup.destroy();DOM.empty(this.iconGardenRoot);var _L0=Math.min(this.sortedBookmarks.length,ApplicationDock.NUM_SHOWN);for(var i=0;i<_L0;i++){var _L2=this.sortedBookmarks[i];DOM.appendContent(this.iconGardenRoot,this._getIconGardenElem(_L2));}this._initIconGardenSortables.bind(this).defer();},_renderBookmarkableApp:function(){DOM.setContent(this.bookmarkableAppContainer,HTML(this._renderBookmarkableAppContent()));var _L0=DOM.find(this.bookmarkableAppContainer,'a');_L0.listen('click',this.bookmarkCurrentApp.bind(this,false));CSS.removeClass(this.bookmarkableAppWrapper,'hidden_elem');},_hideBookmarkableApp:function(){CSS.addClass(this.bookmarkableAppWrapper,'hidden_elem');if(this.bookmarkTopContainer)hide(this.bookmarkTopContainer);},_renderBookmarkableAppContent:function(){var _L0=values(this.bookmarkableApp)[0];var _L1=['<a',' onmouseover="applicationDock.mouseOverBookmarkableApp();return false;"',' onmouseout="applicationDock.mouseOutBookmarkableApp();return false;"',' href="#">','<span class="bookmark_app_plus"></span>',_L0.new_icon_img,'<span class="bookmark_text">',_tx("Bookmark"),' ',htmlize(_L0.name),'</span>','</a>'];return _L1.join('');},mouseOverBookmarkableApp:function(){CSS.addClass(this.bookmarkableAppWrapper,'hover');},mouseOutBookmarkableApp:function(){CSS.removeClass(this.bookmarkableAppWrapper,'hover');},setBookmarkableApp:function(_L0){this.bookmarkableApp=_L0;if(is_empty(_L0)){this._hideBookmarkableApp();}else this._renderBookmarkableApp();return this;},_getAppShaftedByBookmarkableApp:function(){return this.sortedBookmarks[ApplicationDock.NUM_SHOWN-1];},bookmarkCurrentApp:function(_L0){if(!this.sortingEnabled){this._enhance(this.bookmarkCurrentApp.bind(this,_L0));return;}var _L1=keys(this.bookmarkableApp)[0];var _L2=this.bookmarks[_L1];this.bookmarks[_L1]=this.bookmarkableApp[_L1];var div=this._getIconGardenElem(_L1);if(this.sortedBookmarks.length>=ApplicationDock.NUM_SHOWN){this.iconGardenRoot.replaceChild(div,this.iconGardenRoot.lastChild);this.iconGardenSortableGroup.removeSortable(this._getAppShaftedByBookmarkableApp());}else this.iconGardenRoot.appendChild(div);this._addIconGardenSortable.bind(this,_L1).defer();this._hideBookmarkableApp();this.lastBookmarkedApp=_L1;this._saveBookmarksOrder.bind(this,ApplicationDock.SaveBookmarksSource.BOOKMARK_CURRENT_APP).defer();},_handleBookmarkMessage:function(_L0,_L1){var obj=_L1.obj;var _L3=this._getSortedList(obj.bookmarks);if(!are_equal(this.sortedBookmarks,_L3)){var _L4=0;var el=null;var i=0;if(this.sortedBookmarks.length<_L3.length){for(i=0;i<Math.min(this.sortedBookmarks.length,Math.min(_L3.length,ApplicationDock.NUM_SHOWN));i++)if(this.sortedBookmarks[i]!=_L3[i]){_L4++;el=_L3[i];}if(_L4==0&&_L3.length<ApplicationDock.NUM_SHOWN&&_L3.length==this.sortedBookmarks.length+1){el=_L3[i];_L4++;}}this.bookmarks=obj.bookmarks;this.sortedBookmarks=_L3;if(!this.suppressReset){this._resetApplicationMenu();this._resetIconGarden();if(_L4==1){var _L7=$(this._getApplicationIconGardenItemId(el));this._animateTooltip(_L7);}}this.suppressReset=false;}var _L8={sender:this,applications:this.sortedBookmarks};Arbiter.inform(ApplicationDock.BOOKMARKS_CHANGED,_L8);}};

if (window.Bootloader) { Bootloader.done(["js\/bztbnrw6w4ggs8ks.pkg.js"]); }