<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[23762] trunk: Compress scripts/styles: 3.6-alpha-23762.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/23762">23762</a></dd>
<dt>Author</dt> <dd>bumpbot</dd>
<dt>Date</dt> <dd>2013-03-20 06:13:30 +0000 (Wed, 20 Mar 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Compress scripts/styles: 3.6-alpha-23762.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminjsnavmenuminjs">trunk/wp-admin/js/nav-menu.min.js</a></li>
<li><a href="#trunkwpincludesversionphp">trunk/wp-includes/version.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminjsnavmenuminjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/nav-menu.min.js (23761 => 23762)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/nav-menu.min.js        2013-03-20 05:49:29 UTC (rev 23761)
+++ trunk/wp-admin/js/nav-menu.min.js        2013-03-20 06:13:30 UTC (rev 23762)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var wpNavMenu;(function(b){var a=wpNavMenu={options:{menuItemDepthPerLevel:30,globalMaxDepth:11},menuList:undefined,targetList:undefined,menusChanged:false,isRTL:!!(&quot;undefined&quot;!=typeof isRtl&amp;&amp;isRtl),negateIfRTL:(&quot;undefined&quot;!=typeof isRtl&amp;&amp;isRtl)?-1:1,init:function(){a.menuList=b(&quot;#menu-to-edit&quot;);a.targetList=a.menuList;this.jQueryExtensions();this.attachMenuEditListeners();this.setupInputWithDefaultTitle();this.attachQuickSearchListeners();this.attachThemeLocationsListeners();this.attachTabsPanelListeners();this.attachUnsavedChangesListener();if(a.menuList.length){this.initSortables()}if(menu.oneThemeLocationNoMenus){b(&quot;#posttype-page&quot;).addSelectedToMenu(a.addMenuItemToBottom)}this.initAccessibility();this.initToggles();this.initAccordion()},jQueryExtensions:function(){b.fn.extend({menuItemDepth:function(){var c=a.isRTL?this.eq(0).css(&quot;margin-right&quot;):this.eq(0).css(&quot;margin-left&quot;);return a
 .pxToDepth(c&amp;&amp;-1!=c.indexOf(&quot;px&quot;)?c.slice(0,-2):0)},updateDepthClass:function(d,c){return this.each(function(){var e=b(this);c=c||e.menuItemDepth();b(this).removeClass(&quot;menu-item-depth-&quot;+c).addClass(&quot;menu-item-depth-&quot;+d)})},shiftDepthClass:function(c){return this.each(function(){var d=b(this),e=d.menuItemDepth();b(this).removeClass(&quot;menu-item-depth-&quot;+e).addClass(&quot;menu-item-depth-&quot;+(e+c))})},childMenuItems:function(){var c=b();this.each(function(){var d=b(this),f=d.menuItemDepth(),e=d.next();while(e.length&amp;&amp;e.menuItemDepth()&gt;f){c=c.add(e);e=e.next()}});return c},shiftHorizontally:function(c){return this.each(function(){var d=b(this),e=d.menuItemDepth(),f=e+c;d.moveHorizontally(f,e)})},moveHorizontally:function(d,c){return this.each(function(){var f=b(this),e=f.childMenuItems(),h=d-c,g=f.find(&quot;.is-submenu&quot;);f.updateDepthClass(d,c).updateParentMenuItemDBId();if(e){e.each(function(j){var k=b(this),i=k
 .menuItemDepth(),l=i+h;k.updateDepthClass(l,i).updateParentMenuItemDBId()})}if(0===d){g.hide()}else{g.show()}})},updateParentMenuItemDBId:function(){return this.each(function(){var e=b(this),c=e.find(&quot;.menu-item-data-parent-id&quot;),g=parseInt(e.menuItemDepth()),f=g-1,d=e.prevAll(&quot;.menu-item-depth-&quot;+f).first();if(0==g){c.val(0)}else{c.val(d.find(&quot;.menu-item-data-db-id&quot;).val())}})},hideAdvancedMenuItemFields:function(){return this.each(function(){var c=b(this);b(&quot;.hide-column-tog&quot;).not(&quot;:checked&quot;).each(function(){c.find(&quot;.field-&quot;+b(this).val()).addClass(&quot;hidden-field&quot;)})})},addSelectedToMenu:function(c){if(0==b(&quot;#menu-to-edit&quot;).length){return false}return this.each(function(){var e=b(this),d={},g=(menu.oneThemeLocationNoMenus&amp;&amp;0==e.find(&quot;.tabs-panel-active .categorychecklist li input:checked&quot;).length)?e.find('#page-all li input[type=&quot;checkbox&quot;]'):e.find(&quot;.tabs-panel-ac
 tive .categorychecklist li input:checked&quot;),f=new RegExp(&quot;menu-item\\[([^\\]]*)&quot;);c=c||a.addMenuItemToBottom;if(!g.length){return false}e.find(&quot;.spinner&quot;).show();b(g).each(function(){var i=b(this),h=f.exec(i.attr(&quot;name&quot;)),j=&quot;undefined&quot;==typeof h[1]?0:parseInt(h[1],10);if(this.className&amp;&amp;-1!=this.className.indexOf(&quot;add-to-top&quot;)){c=a.addMenuItemToTop}d[j]=i.closest(&quot;li&quot;).getItemData(&quot;add-menu-item&quot;,j)});a.addItemToMenu(d,c,function(){g.removeAttr(&quot;checked&quot;);e.find(&quot;.spinner&quot;).hide()})})},getItemData:function(f,g){f=f||&quot;menu-item&quot;;var d={},e,c=[&quot;menu-item-db-id&quot;,&quot;menu-item-object-id&quot;,&quot;menu-item-object&quot;,&quot;menu-item-parent-id&quot;,&quot;menu-item-position&quot;,&quot;menu-item-type&quot;,&quot;menu-item-title&quot;,&quot;menu-item-url&quot;,&quot;menu-item-description&quot;,&quot;menu-item-attr-title&quot;,&quot;menu-item-target&quot;,
 &quot;menu-item-classes&quot;,&quot;menu-item-xfn&quot;];if(!g&amp;&amp;f==&quot;menu-item&quot;){g=this.find(&quot;.menu-item-data-db-id&quot;).val()}if(!g){return d}this.find(&quot;input&quot;).each(function(){var h;e=c.length;while(e--){if(f==&quot;menu-item&quot;){h=c[e]+&quot;[&quot;+g+&quot;]&quot;}else{if(f==&quot;add-menu-item&quot;){h=&quot;menu-item[&quot;+g+&quot;][&quot;+c[e]+&quot;]&quot;}}if(this.name&amp;&amp;h==this.name){d[c[e]]=this.value}}});return d},setItemData:function(c,d,e){d=d||&quot;menu-item&quot;;if(!e&amp;&amp;d==&quot;menu-item&quot;){e=b(&quot;.menu-item-data-db-id&quot;,this).val()}if(!e){return this}this.find(&quot;input&quot;).each(function(){var f=b(this),g;b.each(c,function(h,i){if(d==&quot;menu-item&quot;){g=h+&quot;[&quot;+e+&quot;]&quot;}else{if(d==&quot;add-menu-item&quot;){g=&quot;menu-item[&quot;+e+&quot;][&quot;+h+&quot;]&quot;}}if(g==f.attr(&quot;name&quot;)){f.val(i)}})});return this}})},initAccordion:function(){var c=b(&quot;.acc
 ordion-container li.accordion-section&quot;);c.removeClass(&quot;open&quot;);c.filter(&quot;:visible&quot;).first().addClass(&quot;open&quot;)},countMenuItems:function(c){return b(&quot;.menu-item-depth-&quot;+c).length},moveMenuItem:function(i,e){var f=b(&quot;#menu-to-edit li&quot;);menuItemsCount=f.length,thisItem=i.parents(&quot;li.menu-item&quot;),thisItemChildren=thisItem.childMenuItems(),thisItemData=thisItem.getItemData(),thisItemDepth=parseInt(thisItem.menuItemDepth()),thisItemPosition=parseInt(thisItem.index()),c=thisItem.next(),g=c.childMenuItems(),nextItemDepth=parseInt(c.menuItemDepth())+1,prevItem=thisItem.prev(),prevItemDepth=parseInt(prevItem.menuItemDepth()),prevItemId=prevItem.getItemData()[&quot;menu-item-db-id&quot;];switch(e){case&quot;up&quot;:var h=thisItemPosition-1;if(0===thisItemPosition){break}if(0===h&amp;&amp;0!==thisItemDepth){thisItem.moveHorizontally(0,thisItemDepth)}if(0!==prevItemDepth){thisItem.moveHorizontally(prevItemDepth,thisItemDepth)}
 if(thisItemChildren){var d=thisItem.add(thisItemChildren);d.detach().insertBefore(f.eq(h)).updateParentMenuItemDBId()}else{thisItem.detach().insertBefore(f.eq(h)).updateParentMenuItemDBId()}break;case&quot;down&quot;:if(thisItemChildren){var d=thisItem.add(thisItemChildren),c=f.eq(d.length+thisItemPosition),g=0!==c.childMenuItems().length;if(g){var j=parseInt(c.menuItemDepth())+1;thisItem.moveHorizontally(j,thisItemDepth)}if(menuItemsCount===thisItemPosition+d.length){break}d.detach().insertAfter(f.eq(thisItemPosition+d.length)).updateParentMenuItemDBId()}else{if(0!==g.length){thisItem.moveHorizontally(nextItemDepth,thisItemDepth)}if(menuItemsCount===thisItemPosition+1){break}thisItem.detach().insertAfter(f.eq(thisItemPosition+1)).updateParentMenuItemDBId()}break;case&quot;top&quot;:if(0===thisItemPosition){break}if(thisItemChildren){var d=thisItem.add(thisItemChildren);d.detach().insertBefore(f.eq(0)).updateParentMenuItemDBId()}else{thisItem.detach().insertBefore(f.eq(0)).u
 pdateParentMenuItemDBId()}break;case&quot;left&quot;:if(0===thisItemDepth){break}thisItem.shiftHorizontally(-1);break;case&quot;right&quot;:if(0===thisItemPosition){break}if(thisItemData[&quot;menu-item-parent-id&quot;]===prevItemId){break}thisItem.shiftHorizontally(1);break}i.focus();a.registerChange();a.refreshKeyboardAccessibility();a.refreshAdvancedAccessibility()},initAccessibility:function(){a.refreshKeyboardAccessibility();a.refreshAdvancedAccessibility();b(&quot;.menus-move-up&quot;).on(&quot;click&quot;,function(c){a.moveMenuItem(b(this).parents(&quot;li.menu-item&quot;).find(&quot;a.item-edit&quot;),&quot;up&quot;);c.preventDefault()});b(&quot;.menus-move-down&quot;).on(&quot;click&quot;,function(c){a.moveMenuItem(b(this).parents(&quot;li.menu-item&quot;).find(&quot;a.item-edit&quot;),&quot;down&quot;);c.preventDefault()});b(&quot;.menus-move-top&quot;).on(&quot;click&quot;,function(c){a.moveMenuItem(b(this).parents(&quot;li.menu-item&quot;).find(&quot;a.item-edit&
 quot;),&quot;top&quot;);c.preventDefault()});b(&quot;.menus-move-left&quot;).on(&quot;click&quot;,function(c){a.moveMenuItem(b(this).parents(&quot;li.menu-item&quot;).find(&quot;a.item-edit&quot;),&quot;left&quot;);c.preventDefault()});b(&quot;.menus-move-right&quot;).on(&quot;click&quot;,function(c){a.moveMenuItem(b(this).parents(&quot;li.menu-item&quot;).find(&quot;a.item-edit&quot;),&quot;right&quot;);c.preventDefault()})},refreshAdvancedAccessibility:function(){b(&quot;.menu-item-settings .field-move a&quot;).hide();b(&quot;.item-edit&quot;).each(function(){var j=b(this),p=[],v=&quot;&quot;,h=j.parents(&quot;li.menu-item&quot;).first(),u=h.menuItemDepth(),m=(0===u),s=j.parents(&quot;.menu-item-handle&quot;).find(&quot;.menu-item-title&quot;).text(),t=parseInt(h.index()),i=(m)?u:parseInt(u-1),d=h.prevAll(&quot;.menu-item-depth-&quot;+i).first().find(&quot;.menu-item-title&quot;).text(),l=h.prevAll(&quot;.menu-item-depth-&quot;+u).first().find(&quot;.menu-item-title&quot;)
 .text(),k=b(&quot;#menu-to-edit li&quot;).length,q=h.nextAll(&quot;.menu-item-depth-&quot;+u).length;if(0!==t){var f=h.find(&quot;.menus-move-up&quot;),e=f.text();f.prop(&quot;title&quot;,menus.move+&quot; &quot;+e).show()}if(0!==t&amp;&amp;m){var f=h.find(&quot;.menus-move-top&quot;),e=f.text();f.prop(&quot;title&quot;,menus.move+&quot; &quot;+e).show()}if(t+1!==k&amp;&amp;0!==t){var f=h.find(&quot;.menus-move-down&quot;),e=f.text();f.prop(&quot;title&quot;,menus.move+&quot; &quot;+e).show()}if(0===t&amp;&amp;0!==q){var f=h.find(&quot;.menus-move-down&quot;),e=f.text();f.prop(&quot;title&quot;,menus.move+&quot; &quot;+e).show()}if(!m){var f=h.find(&quot;.menus-move-left&quot;),e=menus.outFrom+&quot; &quot;+d;f.prop(&quot;title&quot;,menus.move+&quot; &quot;+e).html(e).show()}if(0!==t){if(h.find(&quot;.menu-item-data-parent-id&quot;).val()!==h.prev().find(&quot;.menu-item-data-db-id&quot;).val()){var f=h.find(&quot;.menus-move-right&quot;),e=menus.under+&quot; &quot;+l;f.pro
 p(&quot;title&quot;,menus.move+&quot; &quot;+e).html(e).show()}}if(m){var r=b(&quot;.menu-item-depth-0&quot;),x=r.index(h)+1,k=r.length,w=s+&quot;. &quot;+menus.menuFocus.replace(&quot;%d&quot;,x).replace(&quot;%d&quot;,k)+&quot;.&quot;}else{var o=h.prevAll(&quot;.menu-item-depth-&quot;+parseInt(u-1)).first(),c=o.find(&quot;.menu-item-data-db-id&quot;).val(),n=o.find(&quot;.menu-item-title&quot;).text(),g=b('.menu-item .menu-item-data-parent-id[value=&quot;'+c+'&quot;]'),x=b(g.parents(&quot;.menu-item&quot;).get().reverse()).index(h)+1;w=s+&quot;. &quot;+menus.subMenuFocus.replace(&quot;%d&quot;,x)+n+&quot;.&quot;}j.prop(&quot;title&quot;,w).html(w)})},refreshKeyboardAccessibility:function(){b(&quot;.item-edit&quot;).off(&quot;focus&quot;).on(&quot;focus&quot;,function(){b(this).off(&quot;keydown&quot;).on(&quot;keydown&quot;,function(f){var d=b(this);if(37!=f.which&amp;&amp;38!=f.which&amp;&amp;39!=f.which&amp;&amp;40!=f.which){return}d.off(&quot;keydown&quot;);if(1===b(&qu
 ot;#menu-to-edit li&quot;).length){return}var c={&quot;38&quot;:&quot;up&quot;,&quot;40&quot;:&quot;down&quot;,&quot;37&quot;:&quot;left&quot;,&quot;39&quot;:&quot;right&quot;};if(b(&quot;body&quot;).hasClass(&quot;rtl&quot;)){c={&quot;38&quot;:&quot;up&quot;,&quot;40&quot;:&quot;down&quot;,&quot;39&quot;:&quot;left&quot;,&quot;37&quot;:&quot;right&quot;}}switch(c[f.which]){case&quot;up&quot;:a.moveMenuItem(d,&quot;up&quot;);break;case&quot;down&quot;:a.moveMenuItem(d,&quot;down&quot;);break;case&quot;left&quot;:a.moveMenuItem(d,&quot;left&quot;);break;case&quot;right&quot;:a.moveMenuItem(d,&quot;right&quot;);break}b(&quot;#edit-&quot;+thisItemData[&quot;menu-item-db-id&quot;]).focus();return false})})},initToggles:function(){postboxes.add_postbox_toggles(&quot;nav-menus&quot;);columns.useCheckboxesForHidden();columns.checked=function(c){b(&quot;.field-&quot;+c).removeClass(&quot;hidden-field&quot;)};columns.unchecked=function(c){b(&quot;.field-&quot;+c).addClass(&quot;hidde
 n-field&quot;)};a.menuList.hideAdvancedMenuItemFields();b(&quot;.hide-postbox-tog&quot;).click(function(){a.initAccordion();var c=b(&quot;.accordion-container li.accordion-section&quot;).filter(&quot;:hidden&quot;).map(function(){return this.id}).get().join(&quot;,&quot;);b.post(ajaxurl,{action:&quot;closed-postboxes&quot;,hidden:c,closedpostboxesnonce:jQuery(&quot;#closedpostboxesnonce&quot;).val(),page:&quot;nav-menus&quot;})})},initSortables:function(){var p=0,e,t,d,l,o,f,c,i,s,m=a.menuList.offset().left,h=b(&quot;body&quot;),q,n=r();if(0!=b(&quot;#menu-to-edit li&quot;).length){b(&quot;.drag-instructions&quot;).show()}m+=a.isRTL?a.menuList.width():0;a.menuList.sortable({handle:&quot;.menu-item-handle&quot;,placeholder:&quot;sortable-placeholder&quot;,start:function(A,z){var u,x,w,v,y;if(a.isRTL){z.item[0].style.right=&quot;auto&quot;}s=z.item.children(&quot;.menu-item-transport&quot;);e=z.item.menuItemDepth();j(z,e);w=(z.item.next()[0]==z.placeholder[0])?z.item.next():z.
 item;v=w.childMenuItems();s.append(v);u=s.outerHeight();u+=(u&gt;0)?(z.placeholder.css(&quot;margin-top&quot;).slice(0,-2)*1):0;u+=z.helper.outerHeight();i=u;u-=2;z.placeholder.height(u);q=e;v.each(function(){var B=b(this).menuItemDepth();q=(B&gt;q)?B:q});x=z.helper.find(&quot;.menu-item-handle&quot;).outerWidth();x+=a.depthToPx(q-e);x-=2;z.placeholder.width(x);y=z.placeholder.next();y.css(&quot;margin-top&quot;,i+&quot;px&quot;);z.placeholder.detach();b(this).sortable(&quot;refresh&quot;);z.item.after(z.placeholder);y.css(&quot;margin-top&quot;,0);k(z)},stop:function(y,w){var v,u=p-e;v=s.children().insertAfter(w.item);var x=w.item.find(&quot;.item-title .is-submenu&quot;);if(0&lt;p){x.show()}else{x.hide()}if(u!=0){w.item.updateDepthClass(p);v.shiftDepthClass(u);g(u)}a.registerChange();w.item.updateParentMenuItemDBId();w.item[0].style.top=0;if(a.isRTL){w.item[0].style.left=&quot;auto&quot;;w.item[0].style.right=0}a.refreshKeyboardAccessibility();a.refreshAdvancedAccessibilit
 y()},change:function(v,u){if(!u.placeholder.parent().hasClass(&quot;menu&quot;)){(l.length)?l.after(u.placeholder):a.menuList.prepend(u.placeholder)}k(u)},sort:function(w,v){var y=v.helper.offset(),u=a.isRTL?y.left+v.helper.width():y.left,x=a.negateIfRTL*a.pxToDepth(u-m);if(x&gt;d||y.top&lt;f){x=d}else{if(x&lt;t){x=t}}if(x!=p){j(v,x)}if(c&amp;&amp;y.top+i&gt;c){o.after(v.placeholder);k(v);b(this).sortable(&quot;refreshPositions&quot;)}}});function k(u){var v;l=u.placeholder.prev();o=u.placeholder.next();if(l[0]==u.item[0]){l=l.prev()}if(o[0]==u.item[0]){o=o.next()}f=(l.length)?l.offset().top+l.height():0;c=(o.length)?o.offset().top+o.height()/3:0;t=(o.length)?o.menuItemDepth():0;if(l.length){d=((v=l.menuItemDepth()+1)&gt;a.options.globalMaxDepth)?a.options.globalMaxDepth:v}else{d=0}}function j(u,v){u.placeholder.updateDepthClass(v,p);p=v}function r(){if(!h[0].className){return 0}var u=h[0].className.match(/menu-max-depth-(\d+)/);return u&amp;&amp;u[1]?parseInt(u[1]):0}functi
 on g(u){var v,w=n;if(u===0){return}else{if(u&gt;0){v=q+u;if(v&gt;n){w=v}}else{if(u&lt;0&amp;&amp;q==n){while(!b(&quot;.menu-item-depth-&quot;+w,a.menuList).length&amp;&amp;w&gt;0){w--}}}}h.removeClass(&quot;menu-max-depth-&quot;+n).addClass(&quot;menu-max-depth-&quot;+w);n=w}},attachMenuEditListeners:function(){var c=this;b(&quot;#update-nav-menu&quot;).bind(&quot;click&quot;,function(d){if(d.target&amp;&amp;d.target.className){if(-1!=d.target.className.indexOf(&quot;item-edit&quot;)){return c.eventOnClickEditLink(d.target)}else{if(-1!=d.target.className.indexOf(&quot;menu-save&quot;)){return c.eventOnClickMenuSave(d.target)}else{if(-1!=d.target.className.indexOf(&quot;menu-delete&quot;)){return c.eventOnClickMenuDelete(d.target)}else{if(-1!=d.target.className.indexOf(&quot;item-delete&quot;)){return c.eventOnClickMenuItemDelete(d.target)}else{if(-1!=d.target.className.indexOf(&quot;item-cancel&quot;)){return c.eventOnClickCancelLink(d.target)}}}}}}});b('#add-custom-links in
 put[type=&quot;text&quot;]').keypress(function(d){if(d.keyCode===13){d.preventDefault();b(&quot;#submit-customlinkdiv&quot;).click()}})},setupInputWithDefaultTitle:function(){var c=&quot;input-with-default-title&quot;;b(&quot;.&quot;+c).each(function(){var f=b(this),e=f.attr(&quot;title&quot;),d=f.val();f.data(c,e);if(&quot;&quot;==d){f.val(e)}else{if(e==d){return}else{f.removeClass(c)}}}).focus(function(){var d=b(this);if(d.val()==d.data(c)){d.val(&quot;&quot;).removeClass(c)}}).blur(function(){var d=b(this);if(&quot;&quot;==d.val()){d.addClass(c).val(d.data(c))}});b(&quot;.blank-slate .input-with-default-title&quot;).focus()},attachThemeLocationsListeners:function(){var d=b(&quot;#nav-menu-theme-locations&quot;),c={};c.action=&quot;menu-locations-save&quot;;c[&quot;menu-settings-column-nonce&quot;]=b(&quot;#menu-settings-column-nonce&quot;).val();d.find('input[type=&quot;submit&quot;]').click(function(){d.find(&quot;select&quot;).each(function(){c[this.name]=b(this).val()}
 );d.find(&quot;.spinner&quot;).show();b.post(ajaxurl,c,function(e){d.find(&quot;.spinner&quot;).hide()});return false})},attachQuickSearchListeners:function(){var c;b(&quot;.quick-search&quot;).keypress(function(f){var d=b(this);if(13==f.which){a.updateQuickSearchResults(d);return false}if(c){clearTimeout(c)}c=setTimeout(function(){a.updateQuickSearchResults(d)},400)}).attr(&quot;autocomplete&quot;,&quot;off&quot;)},updateQuickSearchResults:function(d){var c,g,e=2,f=d.val();if(f.length&lt;e){return}c=d.parents(&quot;.tabs-panel&quot;);g={action:&quot;menu-quick-search&quot;,&quot;response-format&quot;:&quot;markup&quot;,menu:b(&quot;#menu&quot;).val(),&quot;menu-settings-column-nonce&quot;:b(&quot;#menu-settings-column-nonce&quot;).val(),q:f,type:d.attr(&quot;name&quot;)};b(&quot;.spinner&quot;,c).show();b.post(ajaxurl,g,function(h){a.processQuickSearchQueryResponse(h,g,c)})},addCustomLink:function(c){var e=b(&quot;#custom-menu-item-url&quot;).val(),d=b(&quot;#custom-menu-it
 em-name&quot;).val();c=c||a.addMenuItemToBottom;if(&quot;&quot;==e||&quot;http://&quot;==e){return false}b(&quot;.customlinkdiv .spinner&quot;).show();this.addLinkToMenu(e,d,c,function(){b(&quot;.customlinkdiv .spinner&quot;).hide();b(&quot;#custom-menu-item-name&quot;).val(&quot;&quot;).blur();b(&quot;#custom-menu-item-url&quot;).val(&quot;http://&quot;)})},addLinkToMenu:function(e,d,c,f){c=c||a.addMenuItemToBottom;f=f||function(){};a.addItemToMenu({&quot;-1&quot;:{&quot;menu-item-type&quot;:&quot;custom&quot;,&quot;menu-item-url&quot;:e,&quot;menu-item-title&quot;:d}},c,f)},addItemToMenu:function(e,c,g){var f=b(&quot;#menu&quot;).val(),d=b(&quot;#menu-settings-column-nonce&quot;).val();c=c||function(){};g=g||function(){};params={action:&quot;add-menu-item&quot;,menu:f,&quot;menu-settings-column-nonce&quot;:d,&quot;menu-item&quot;:e};b.post(ajaxurl,params,function(h){var i=b(&quot;#menu-instructions&quot;);c(h,params);b(&quot;li.pending&quot;).hide().fadeIn(&quot;slow&quot;
 );b(&quot;.drag-instructions&quot;).show();if(!i.hasClass(&quot;menu-instructions-inactive&quot;)&amp;&amp;i.siblings().length){i.addClass(&quot;menu-instructions-inactive&quot;)}g()})},addMenuItemToBottom:function(c,d){b(c).hideAdvancedMenuItemFields().appendTo(a.targetList);a.refreshKeyboardAccessibility();a.refreshAdvancedAccessibility()},addMenuItemToTop:function(c,d){b(c).hideAdvancedMenuItemFields().prependTo(a.targetList);a.refreshKeyboardAccessibility();a.refreshAdvancedAccessibility()},attachUnsavedChangesListener:function(){b(&quot;#menu-management input, #menu-management select, #menu-management, #menu-management textarea&quot;).change(function(){a.registerChange()});if(0!=b(&quot;#menu-to-edit&quot;).length){window.onbeforeunload=function(){if(a.menusChanged){return navMenuL10n.saveAlert}}}else{b(&quot;#menu-settings-column&quot;).find(&quot;input,select&quot;).end().find(&quot;a&quot;).attr(&quot;href&quot;,&quot;#&quot;).unbind(&quot;click&quot;)}},registerChan
 ge:function(){a.menusChanged=true},attachTabsPanelListeners:function(){b(&quot;#menu-settings-column&quot;).bind(&quot;click&quot;,function(h){var f,d,i,c,g=b(h.target);if(g.hasClass(&quot;nav-tab-link&quot;)){d=g.data(&quot;type&quot;);i=g.parents(&quot;.accordion-section-content&quot;).first();b(&quot;input&quot;,i).removeAttr(&quot;checked&quot;);b(&quot;.tabs-panel-active&quot;,i).removeClass(&quot;tabs-panel-active&quot;).addClass(&quot;tabs-panel-inactive&quot;);b(&quot;#&quot;+d,i).removeClass(&quot;tabs-panel-inactive&quot;).addClass(&quot;tabs-panel-active&quot;);b(&quot;.tabs&quot;,i).removeClass(&quot;tabs&quot;);g.parent().addClass(&quot;tabs&quot;);b(&quot;.quick-search&quot;,i).focus();h.preventDefault()}else{if(g.hasClass(&quot;select-all&quot;)){f=/#(.*)$/.exec(h.target.href);if(f&amp;&amp;f[1]){c=b(&quot;#&quot;+f[1]+&quot; .tabs-panel-active .menu-item-title input&quot;);if(c.length===c.filter(&quot;:checked&quot;).length){c.removeAttr(&quot;checked&quot;)}
 else{c.prop(&quot;checked&quot;,true)}return false}}else{if(g.hasClass(&quot;submit-add-to-menu&quot;)){a.registerChange();if(h.target.id&amp;&amp;&quot;submit-customlinkdiv&quot;==h.target.id){a.addCustomLink(a.addMenuItemToBottom)}else{if(h.target.id&amp;&amp;-1!=h.target.id.indexOf(&quot;submit-&quot;)){b(&quot;#&quot;+h.target.id.replace(/submit-/,&quot;&quot;)).addSelectedToMenu(a.addMenuItemToBottom)}}return false}else{if(g.hasClass(&quot;page-numbers&quot;)){b.post(ajaxurl,h.target.href.replace(/.*\?/,&quot;&quot;).replace(/action=([^&amp;]*)/,&quot;&quot;)+&quot;&amp;action=menu-get-metabox&quot;,function(m){if(-1==m.indexOf(&quot;replace-id&quot;)){return}var l=b.parseJSON(m),e=document.getElementById(l[&quot;replace-id&quot;]),k=document.createElement(&quot;div&quot;),j=document.createElement(&quot;div&quot;);if(!l.markup||!e){return}j.innerHTML=l.markup?l.markup:&quot;&quot;;e.parentNode.insertBefore(k,e);k.parentNode.removeChild(e);k.parentNode.insertBefore(j,k);
 k.parentNode.removeChild(k)});return false}}}}})},eventOnClickEditLink:function(d){var c,e,f=/#(.*)$/.exec(d.href);if(f&amp;&amp;f[1]){c=b(&quot;#&quot;+f[1]);e=c.parent();if(0!=e.length){if(e.hasClass(&quot;menu-item-edit-inactive&quot;)){if(!c.data(&quot;menu-item-data&quot;)){c.data(&quot;menu-item-data&quot;,c.getItemData())}c.slideDown(&quot;fast&quot;);e.removeClass(&quot;menu-item-edit-inactive&quot;).addClass(&quot;menu-item-edit-active&quot;)}else{c.slideUp(&quot;fast&quot;);e.removeClass(&quot;menu-item-edit-active&quot;).addClass(&quot;menu-item-edit-inactive&quot;)}return false}}},eventOnClickCancelLink:function(e){var d=b(e).closest(&quot;.menu-item-settings&quot;),c=b(e).closest(&quot;.menu-item&quot;);c.removeClass(&quot;menu-item-edit-active&quot;).addClass(&quot;menu-item-edit-inactive&quot;);d.setItemData(d.data(&quot;menu-item-data&quot;)).hide();return false},eventOnClickMenuSave:function(e){var f=&quot;&quot;,c=b(&quot;#menu-name&quot;),d=c.val();if(!d||
 d==c.attr(&quot;title&quot;)||!d.replace(/\s+/,&quot;&quot;)){c.parent().addClass(&quot;form-invalid&quot;);return false}b(&quot;#nav-menu-theme-locations select&quot;).each(function(){f+='&lt;input type=&quot;hidden&quot; name=&quot;'+this.name+'&quot; value=&quot;'+b(this).val()+'&quot; /&gt;'});b(&quot;#update-nav-menu&quot;).append(f);a.menuList.find(&quot;.menu-item-data-position&quot;).val(function(g){return g+1});window.onbeforeunload=null;return true},eventOnClickMenuDelete:function(c){if(confirm(navMenuL10n.warnDeleteMenu)){window.onbeforeunload=null;return true}return false},eventOnClickMenuItemDelete:function(c){var d=parseInt(c.id.replace(&quot;delete-&quot;,&quot;&quot;),10);a.removeMenuItem(b(&quot;#menu-item-&quot;+d));a.registerChange();return false},processQuickSearchQueryResponse:function(g,k,c){var e,i,f={},d=document.getElementById(&quot;nav-menu-meta&quot;),j=new RegExp(&quot;menu-item\\[([^\\]]*)&quot;,&quot;g&quot;),h=b(&quot;&lt;div&gt;&quot;).html(g)
 .find(&quot;li&quot;),l;if(!h.length){b(&quot;.categorychecklist&quot;,c).html(&quot;&lt;li&gt;&lt;p&gt;&quot;+navMenuL10n.noResultsFound+&quot;&lt;/p&gt;&lt;/li&gt;&quot;);b(&quot;.spinner&quot;,c).hide();return}h.each(function(){l=b(this);e=j.exec(l.html());if(e&amp;&amp;e[1]){i=e[1];while(d.elements[&quot;menu-item[&quot;+i+&quot;][menu-item-type]&quot;]||f[i]){i--}f[i]=true;if(i!=e[1]){l.html(l.html().replace(new RegExp(&quot;menu-item\\[&quot;+e[1]+&quot;\\]&quot;,&quot;g&quot;),&quot;menu-item[&quot;+i+&quot;]&quot;))}}});b(&quot;.categorychecklist&quot;,c).html(h);b(&quot;.spinner&quot;,c).hide()},removeMenuItem:function(d){var c=d.childMenuItems();d.addClass(&quot;deleting&quot;).animate({opacity:0,height:0},350,function(){var e=b(&quot;#menu-instructions&quot;);d.remove();c.shiftDepthClass(-1).updateParentMenuItemDBId();if(0==b(&quot;#menu-to-edit li&quot;).length){b(&quot;.drag-instructions&quot;).hide();e.removeClass(&quot;menu-instructions-inactive&quot;)}})},dep
 thToPx:function(c){return c*a.options.menuItemDepthPerLevel},pxToDepth:function(c){return Math.floor(c/a.options.menuItemDepthPerLevel)}};b(document).ready(function(){wpNavMenu.init()})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+var wpNavMenu;(function(b){var a=wpNavMenu={options:{menuItemDepthPerLevel:30,globalMaxDepth:11},menuList:undefined,targetList:undefined,menusChanged:false,isRTL:!!(&quot;undefined&quot;!=typeof isRtl&amp;&amp;isRtl),negateIfRTL:(&quot;undefined&quot;!=typeof isRtl&amp;&amp;isRtl)?-1:1,init:function(){a.menuList=b(&quot;#menu-to-edit&quot;);a.targetList=a.menuList;this.jQueryExtensions();this.attachMenuEditListeners();this.setupInputWithDefaultTitle();this.attachQuickSearchListeners();this.attachThemeLocationsListeners();this.attachTabsPanelListeners();this.attachUnsavedChangesListener();if(a.menuList.length){this.initSortables()}if(menus.oneThemeLocationNoMenus){b(&quot;#posttype-page&quot;).addSelectedToMenu(a.addMenuItemToBottom)}this.initAccessibility();this.initToggles();this.initAccordion()},jQueryExtensions:function(){b.fn.extend({menuItemDepth:function(){var c=a.isRTL?this.eq(0).css(&quot;margin-right&quot;):this.eq(0).css(&quot;margin-left&quot;);return 
 a.pxToDepth(c&amp;&amp;-1!=c.indexOf(&quot;px&quot;)?c.slice(0,-2):0)},updateDepthClass:function(d,c){return this.each(function(){var e=b(this);c=c||e.menuItemDepth();b(this).removeClass(&quot;menu-item-depth-&quot;+c).addClass(&quot;menu-item-depth-&quot;+d)})},shiftDepthClass:function(c){return this.each(function(){var d=b(this),e=d.menuItemDepth();b(this).removeClass(&quot;menu-item-depth-&quot;+e).addClass(&quot;menu-item-depth-&quot;+(e+c))})},childMenuItems:function(){var c=b();this.each(function(){var d=b(this),f=d.menuItemDepth(),e=d.next();while(e.length&amp;&amp;e.menuItemDepth()&gt;f){c=c.add(e);e=e.next()}});return c},shiftHorizontally:function(c){return this.each(function(){var d=b(this),e=d.menuItemDepth(),f=e+c;d.moveHorizontally(f,e)})},moveHorizontally:function(d,c){return this.each(function(){var f=b(this),e=f.childMenuItems(),h=d-c,g=f.find(&quot;.is-submenu&quot;);f.updateDepthClass(d,c).updateParentMenuItemDBId();if(e){e.each(function(j){var k=b(this),i=
 k.menuItemDepth(),l=i+h;k.updateDepthClass(l,i).updateParentMenuItemDBId()})}if(0===d){g.hide()}else{g.show()}})},updateParentMenuItemDBId:function(){return this.each(function(){var e=b(this),c=e.find(&quot;.menu-item-data-parent-id&quot;),g=parseInt(e.menuItemDepth()),f=g-1,d=e.prevAll(&quot;.menu-item-depth-&quot;+f).first();if(0==g){c.val(0)}else{c.val(d.find(&quot;.menu-item-data-db-id&quot;).val())}})},hideAdvancedMenuItemFields:function(){return this.each(function(){var c=b(this);b(&quot;.hide-column-tog&quot;).not(&quot;:checked&quot;).each(function(){c.find(&quot;.field-&quot;+b(this).val()).addClass(&quot;hidden-field&quot;)})})},addSelectedToMenu:function(c){if(0==b(&quot;#menu-to-edit&quot;).length){return false}return this.each(function(){var e=b(this),d={},g=(menus.oneThemeLocationNoMenus&amp;&amp;0==e.find(&quot;.tabs-panel-active .categorychecklist li input:checked&quot;).length)?e.find('#page-all li input[type=&quot;checkbox&quot;]'):e.find(&quot;.tabs-panel-
 active .categorychecklist li input:checked&quot;),f=new RegExp(&quot;menu-item\\[([^\\]]*)&quot;);c=c||a.addMenuItemToBottom;if(!g.length){return false}e.find(&quot;.spinner&quot;).show();b(g).each(function(){var i=b(this),h=f.exec(i.attr(&quot;name&quot;)),j=&quot;undefined&quot;==typeof h[1]?0:parseInt(h[1],10);if(this.className&amp;&amp;-1!=this.className.indexOf(&quot;add-to-top&quot;)){c=a.addMenuItemToTop}d[j]=i.closest(&quot;li&quot;).getItemData(&quot;add-menu-item&quot;,j)});a.addItemToMenu(d,c,function(){g.removeAttr(&quot;checked&quot;);e.find(&quot;.spinner&quot;).hide()})})},getItemData:function(f,g){f=f||&quot;menu-item&quot;;var d={},e,c=[&quot;menu-item-db-id&quot;,&quot;menu-item-object-id&quot;,&quot;menu-item-object&quot;,&quot;menu-item-parent-id&quot;,&quot;menu-item-position&quot;,&quot;menu-item-type&quot;,&quot;menu-item-title&quot;,&quot;menu-item-url&quot;,&quot;menu-item-description&quot;,&quot;menu-item-attr-title&quot;,&quot;menu-item-target&quot
 ;,&quot;menu-item-classes&quot;,&quot;menu-item-xfn&quot;];if(!g&amp;&amp;f==&quot;menu-item&quot;){g=this.find(&quot;.menu-item-data-db-id&quot;).val()}if(!g){return d}this.find(&quot;input&quot;).each(function(){var h;e=c.length;while(e--){if(f==&quot;menu-item&quot;){h=c[e]+&quot;[&quot;+g+&quot;]&quot;}else{if(f==&quot;add-menu-item&quot;){h=&quot;menu-item[&quot;+g+&quot;][&quot;+c[e]+&quot;]&quot;}}if(this.name&amp;&amp;h==this.name){d[c[e]]=this.value}}});return d},setItemData:function(c,d,e){d=d||&quot;menu-item&quot;;if(!e&amp;&amp;d==&quot;menu-item&quot;){e=b(&quot;.menu-item-data-db-id&quot;,this).val()}if(!e){return this}this.find(&quot;input&quot;).each(function(){var f=b(this),g;b.each(c,function(h,i){if(d==&quot;menu-item&quot;){g=h+&quot;[&quot;+e+&quot;]&quot;}else{if(d==&quot;add-menu-item&quot;){g=&quot;menu-item[&quot;+e+&quot;][&quot;+h+&quot;]&quot;}}if(g==f.attr(&quot;name&quot;)){f.val(i)}})});return this}})},initAccordion:function(){var c=b(&quot;.a
 ccordion-container li.accordion-section&quot;);c.removeClass(&quot;open&quot;);c.filter(&quot;:visible&quot;).first().addClass(&quot;open&quot;)},countMenuItems:function(c){return b(&quot;.menu-item-depth-&quot;+c).length},moveMenuItem:function(i,e){var f=b(&quot;#menu-to-edit li&quot;);menuItemsCount=f.length,thisItem=i.parents(&quot;li.menu-item&quot;),thisItemChildren=thisItem.childMenuItems(),thisItemData=thisItem.getItemData(),thisItemDepth=parseInt(thisItem.menuItemDepth()),thisItemPosition=parseInt(thisItem.index()),c=thisItem.next(),g=c.childMenuItems(),nextItemDepth=parseInt(c.menuItemDepth())+1,prevItem=thisItem.prev(),prevItemDepth=parseInt(prevItem.menuItemDepth()),prevItemId=prevItem.getItemData()[&quot;menu-item-db-id&quot;];switch(e){case&quot;up&quot;:var h=thisItemPosition-1;if(0===thisItemPosition){break}if(0===h&amp;&amp;0!==thisItemDepth){thisItem.moveHorizontally(0,thisItemDepth)}if(0!==prevItemDepth){thisItem.moveHorizontally(prevItemDepth,thisItemDepth
 )}if(thisItemChildren){var d=thisItem.add(thisItemChildren);d.detach().insertBefore(f.eq(h)).updateParentMenuItemDBId()}else{thisItem.detach().insertBefore(f.eq(h)).updateParentMenuItemDBId()}break;case&quot;down&quot;:if(thisItemChildren){var d=thisItem.add(thisItemChildren),c=f.eq(d.length+thisItemPosition),g=0!==c.childMenuItems().length;if(g){var j=parseInt(c.menuItemDepth())+1;thisItem.moveHorizontally(j,thisItemDepth)}if(menuItemsCount===thisItemPosition+d.length){break}d.detach().insertAfter(f.eq(thisItemPosition+d.length)).updateParentMenuItemDBId()}else{if(0!==g.length){thisItem.moveHorizontally(nextItemDepth,thisItemDepth)}if(menuItemsCount===thisItemPosition+1){break}thisItem.detach().insertAfter(f.eq(thisItemPosition+1)).updateParentMenuItemDBId()}break;case&quot;top&quot;:if(0===thisItemPosition){break}if(thisItemChildren){var d=thisItem.add(thisItemChildren);d.detach().insertBefore(f.eq(0)).updateParentMenuItemDBId()}else{thisItem.detach().insertBefore(f.eq(0))
 .updateParentMenuItemDBId()}break;case&quot;left&quot;:if(0===thisItemDepth){break}thisItem.shiftHorizontally(-1);break;case&quot;right&quot;:if(0===thisItemPosition){break}if(thisItemData[&quot;menu-item-parent-id&quot;]===prevItemId){break}thisItem.shiftHorizontally(1);break}i.focus();a.registerChange();a.refreshKeyboardAccessibility();a.refreshAdvancedAccessibility()},initAccessibility:function(){a.refreshKeyboardAccessibility();a.refreshAdvancedAccessibility();b(&quot;.menus-move-up&quot;).on(&quot;click&quot;,function(c){a.moveMenuItem(b(this).parents(&quot;li.menu-item&quot;).find(&quot;a.item-edit&quot;),&quot;up&quot;);c.preventDefault()});b(&quot;.menus-move-down&quot;).on(&quot;click&quot;,function(c){a.moveMenuItem(b(this).parents(&quot;li.menu-item&quot;).find(&quot;a.item-edit&quot;),&quot;down&quot;);c.preventDefault()});b(&quot;.menus-move-top&quot;).on(&quot;click&quot;,function(c){a.moveMenuItem(b(this).parents(&quot;li.menu-item&quot;).find(&quot;a.item-edi
 t&quot;),&quot;top&quot;);c.preventDefault()});b(&quot;.menus-move-left&quot;).on(&quot;click&quot;,function(c){a.moveMenuItem(b(this).parents(&quot;li.menu-item&quot;).find(&quot;a.item-edit&quot;),&quot;left&quot;);c.preventDefault()});b(&quot;.menus-move-right&quot;).on(&quot;click&quot;,function(c){a.moveMenuItem(b(this).parents(&quot;li.menu-item&quot;).find(&quot;a.item-edit&quot;),&quot;right&quot;);c.preventDefault()})},refreshAdvancedAccessibility:function(){b(&quot;.menu-item-settings .field-move a&quot;).hide();b(&quot;.item-edit&quot;).each(function(){var j=b(this),p=[],v=&quot;&quot;,h=j.parents(&quot;li.menu-item&quot;).first(),u=h.menuItemDepth(),m=(0===u),s=j.parents(&quot;.menu-item-handle&quot;).find(&quot;.menu-item-title&quot;).text(),t=parseInt(h.index()),i=(m)?u:parseInt(u-1),d=h.prevAll(&quot;.menu-item-depth-&quot;+i).first().find(&quot;.menu-item-title&quot;).text(),l=h.prevAll(&quot;.menu-item-depth-&quot;+u).first().find(&quot;.menu-item-title&quot
 ;).text(),k=b(&quot;#menu-to-edit li&quot;).length,q=h.nextAll(&quot;.menu-item-depth-&quot;+u).length;if(0!==t){var f=h.find(&quot;.menus-move-up&quot;);f.prop(&quot;title&quot;,menus.moveUp).show()}if(0!==t&amp;&amp;m){var f=h.find(&quot;.menus-move-top&quot;);f.prop(&quot;title&quot;,menus.moveToTop).show()}if(t+1!==k&amp;&amp;0!==t){var f=h.find(&quot;.menus-move-down&quot;);f.prop(&quot;title&quot;,menus.moveDown).show()}if(0===t&amp;&amp;0!==q){var f=h.find(&quot;.menus-move-down&quot;);f.prop(&quot;title&quot;,menus.moveDown).show()}if(!m){var f=h.find(&quot;.menus-move-left&quot;),e=menus.outFrom.replace(&quot;%s&quot;,d);f.prop(&quot;title&quot;,menus.moveOutFrom.replace(&quot;%s&quot;,d)).html(e).show()}if(0!==t){if(h.find(&quot;.menu-item-data-parent-id&quot;).val()!==h.prev().find(&quot;.menu-item-data-db-id&quot;).val()){var f=h.find(&quot;.menus-move-right&quot;),e=menus.under.replace(&quot;%s&quot;,l);f.prop(&quot;title&quot;,menus.moveUnder.replace(&quot;%s&q
 uot;,l)).html(e).show()}}if(m){var r=b(&quot;.menu-item-depth-0&quot;),x=r.index(h)+1,k=r.length,w=menus.menuFocus.replace(&quot;%1$s&quot;,s).replace(&quot;%2$d&quot;,x).replace(&quot;%3$d&quot;,k)}else{var o=h.prevAll(&quot;.menu-item-depth-&quot;+parseInt(u-1)).first(),c=o.find(&quot;.menu-item-data-db-id&quot;).val(),n=o.find(&quot;.menu-item-title&quot;).text(),g=b('.menu-item .menu-item-data-parent-id[value=&quot;'+c+'&quot;]'),x=b(g.parents(&quot;.menu-item&quot;).get().reverse()).index(h)+1;w=menus.subMenuFocus.replace(&quot;%1$s&quot;,s).replace(&quot;%2$d&quot;,x).replace(&quot;%3$s&quot;,n)}j.prop(&quot;title&quot;,w).html(w)})},refreshKeyboardAccessibility:function(){b(&quot;.item-edit&quot;).off(&quot;focus&quot;).on(&quot;focus&quot;,function(){b(this).off(&quot;keydown&quot;).on(&quot;keydown&quot;,function(f){var d=b(this);if(37!=f.which&amp;&amp;38!=f.which&amp;&amp;39!=f.which&amp;&amp;40!=f.which){return}d.off(&quot;keydown&quot;);if(1===b(&quot;#menu-to-e
 dit li&quot;).length){return}var c={&quot;38&quot;:&quot;up&quot;,&quot;40&quot;:&quot;down&quot;,&quot;37&quot;:&quot;left&quot;,&quot;39&quot;:&quot;right&quot;};if(b(&quot;body&quot;).hasClass(&quot;rtl&quot;)){c={&quot;38&quot;:&quot;up&quot;,&quot;40&quot;:&quot;down&quot;,&quot;39&quot;:&quot;left&quot;,&quot;37&quot;:&quot;right&quot;}}switch(c[f.which]){case&quot;up&quot;:a.moveMenuItem(d,&quot;up&quot;);break;case&quot;down&quot;:a.moveMenuItem(d,&quot;down&quot;);break;case&quot;left&quot;:a.moveMenuItem(d,&quot;left&quot;);break;case&quot;right&quot;:a.moveMenuItem(d,&quot;right&quot;);break}b(&quot;#edit-&quot;+thisItemData[&quot;menu-item-db-id&quot;]).focus();return false})})},initToggles:function(){postboxes.add_postbox_toggles(&quot;nav-menus&quot;);columns.useCheckboxesForHidden();columns.checked=function(c){b(&quot;.field-&quot;+c).removeClass(&quot;hidden-field&quot;)};columns.unchecked=function(c){b(&quot;.field-&quot;+c).addClass(&quot;hidden-field&quot;
 )};a.menuList.hideAdvancedMenuItemFields();b(&quot;.hide-postbox-tog&quot;).click(function(){a.initAccordion();var c=b(&quot;.accordion-container li.accordion-section&quot;).filter(&quot;:hidden&quot;).map(function(){return this.id}).get().join(&quot;,&quot;);b.post(ajaxurl,{action:&quot;closed-postboxes&quot;,hidden:c,closedpostboxesnonce:jQuery(&quot;#closedpostboxesnonce&quot;).val(),page:&quot;nav-menus&quot;})})},initSortables:function(){var p=0,e,t,d,l,o,f,c,i,s,m=a.menuList.offset().left,h=b(&quot;body&quot;),q,n=r();if(0!=b(&quot;#menu-to-edit li&quot;).length){b(&quot;.drag-instructions&quot;).show()}m+=a.isRTL?a.menuList.width():0;a.menuList.sortable({handle:&quot;.menu-item-handle&quot;,placeholder:&quot;sortable-placeholder&quot;,start:function(A,z){var u,x,w,v,y;if(a.isRTL){z.item[0].style.right=&quot;auto&quot;}s=z.item.children(&quot;.menu-item-transport&quot;);e=z.item.menuItemDepth();j(z,e);w=(z.item.next()[0]==z.placeholder[0])?z.item.next():z.item;v=w.chil
 dMenuItems();s.append(v);u=s.outerHeight();u+=(u&gt;0)?(z.placeholder.css(&quot;margin-top&quot;).slice(0,-2)*1):0;u+=z.helper.outerHeight();i=u;u-=2;z.placeholder.height(u);q=e;v.each(function(){var B=b(this).menuItemDepth();q=(B&gt;q)?B:q});x=z.helper.find(&quot;.menu-item-handle&quot;).outerWidth();x+=a.depthToPx(q-e);x-=2;z.placeholder.width(x);y=z.placeholder.next();y.css(&quot;margin-top&quot;,i+&quot;px&quot;);z.placeholder.detach();b(this).sortable(&quot;refresh&quot;);z.item.after(z.placeholder);y.css(&quot;margin-top&quot;,0);k(z)},stop:function(y,w){var v,u=p-e;v=s.children().insertAfter(w.item);var x=w.item.find(&quot;.item-title .is-submenu&quot;);if(0&lt;p){x.show()}else{x.hide()}if(u!=0){w.item.updateDepthClass(p);v.shiftDepthClass(u);g(u)}a.registerChange();w.item.updateParentMenuItemDBId();w.item[0].style.top=0;if(a.isRTL){w.item[0].style.left=&quot;auto&quot;;w.item[0].style.right=0}a.refreshKeyboardAccessibility();a.refreshAdvancedAccessibility()},change:f
 unction(v,u){if(!u.placeholder.parent().hasClass(&quot;menu&quot;)){(l.length)?l.after(u.placeholder):a.menuList.prepend(u.placeholder)}k(u)},sort:function(w,v){var y=v.helper.offset(),u=a.isRTL?y.left+v.helper.width():y.left,x=a.negateIfRTL*a.pxToDepth(u-m);if(x&gt;d||y.top&lt;f){x=d}else{if(x&lt;t){x=t}}if(x!=p){j(v,x)}if(c&amp;&amp;y.top+i&gt;c){o.after(v.placeholder);k(v);b(this).sortable(&quot;refreshPositions&quot;)}}});function k(u){var v;l=u.placeholder.prev();o=u.placeholder.next();if(l[0]==u.item[0]){l=l.prev()}if(o[0]==u.item[0]){o=o.next()}f=(l.length)?l.offset().top+l.height():0;c=(o.length)?o.offset().top+o.height()/3:0;t=(o.length)?o.menuItemDepth():0;if(l.length){d=((v=l.menuItemDepth()+1)&gt;a.options.globalMaxDepth)?a.options.globalMaxDepth:v}else{d=0}}function j(u,v){u.placeholder.updateDepthClass(v,p);p=v}function r(){if(!h[0].className){return 0}var u=h[0].className.match(/menu-max-depth-(\d+)/);return u&amp;&amp;u[1]?parseInt(u[1]):0}function g(u){var v
 ,w=n;if(u===0){return}else{if(u&gt;0){v=q+u;if(v&gt;n){w=v}}else{if(u&lt;0&amp;&amp;q==n){while(!b(&quot;.menu-item-depth-&quot;+w,a.menuList).length&amp;&amp;w&gt;0){w--}}}}h.removeClass(&quot;menu-max-depth-&quot;+n).addClass(&quot;menu-max-depth-&quot;+w);n=w}},attachMenuEditListeners:function(){var c=this;b(&quot;#update-nav-menu&quot;).bind(&quot;click&quot;,function(d){if(d.target&amp;&amp;d.target.className){if(-1!=d.target.className.indexOf(&quot;item-edit&quot;)){return c.eventOnClickEditLink(d.target)}else{if(-1!=d.target.className.indexOf(&quot;menu-save&quot;)){return c.eventOnClickMenuSave(d.target)}else{if(-1!=d.target.className.indexOf(&quot;menu-delete&quot;)){return c.eventOnClickMenuDelete(d.target)}else{if(-1!=d.target.className.indexOf(&quot;item-delete&quot;)){return c.eventOnClickMenuItemDelete(d.target)}else{if(-1!=d.target.className.indexOf(&quot;item-cancel&quot;)){return c.eventOnClickCancelLink(d.target)}}}}}}});b('#add-custom-links input[type=&quo
 t;text&quot;]').keypress(function(d){if(d.keyCode===13){d.preventDefault();b(&quot;#submit-customlinkdiv&quot;).click()}})},setupInputWithDefaultTitle:function(){var c=&quot;input-with-default-title&quot;;b(&quot;.&quot;+c).each(function(){var f=b(this),e=f.attr(&quot;title&quot;),d=f.val();f.data(c,e);if(&quot;&quot;==d){f.val(e)}else{if(e==d){return}else{f.removeClass(c)}}}).focus(function(){var d=b(this);if(d.val()==d.data(c)){d.val(&quot;&quot;).removeClass(c)}}).blur(function(){var d=b(this);if(&quot;&quot;==d.val()){d.addClass(c).val(d.data(c))}});b(&quot;.blank-slate .input-with-default-title&quot;).focus()},attachThemeLocationsListeners:function(){var d=b(&quot;#nav-menu-theme-locations&quot;),c={};c.action=&quot;menu-locations-save&quot;;c[&quot;menu-settings-column-nonce&quot;]=b(&quot;#menu-settings-column-nonce&quot;).val();d.find('input[type=&quot;submit&quot;]').click(function(){d.find(&quot;select&quot;).each(function(){c[this.name]=b(this).val()});d.find(&quo
 t;.spinner&quot;).show();b.post(ajaxurl,c,function(e){d.find(&quot;.spinner&quot;).hide()});return false})},attachQuickSearchListeners:function(){var c;b(&quot;.quick-search&quot;).keypress(function(f){var d=b(this);if(13==f.which){a.updateQuickSearchResults(d);return false}if(c){clearTimeout(c)}c=setTimeout(function(){a.updateQuickSearchResults(d)},400)}).attr(&quot;autocomplete&quot;,&quot;off&quot;)},updateQuickSearchResults:function(d){var c,g,e=2,f=d.val();if(f.length&lt;e){return}c=d.parents(&quot;.tabs-panel&quot;);g={action:&quot;menu-quick-search&quot;,&quot;response-format&quot;:&quot;markup&quot;,menu:b(&quot;#menu&quot;).val(),&quot;menu-settings-column-nonce&quot;:b(&quot;#menu-settings-column-nonce&quot;).val(),q:f,type:d.attr(&quot;name&quot;)};b(&quot;.spinner&quot;,c).show();b.post(ajaxurl,g,function(h){a.processQuickSearchQueryResponse(h,g,c)})},addCustomLink:function(c){var e=b(&quot;#custom-menu-item-url&quot;).val(),d=b(&quot;#custom-menu-item-name&quot;
 ).val();c=c||a.addMenuItemToBottom;if(&quot;&quot;==e||&quot;http://&quot;==e){return false}b(&quot;.customlinkdiv .spinner&quot;).show();this.addLinkToMenu(e,d,c,function(){b(&quot;.customlinkdiv .spinner&quot;).hide();b(&quot;#custom-menu-item-name&quot;).val(&quot;&quot;).blur();b(&quot;#custom-menu-item-url&quot;).val(&quot;http://&quot;)})},addLinkToMenu:function(e,d,c,f){c=c||a.addMenuItemToBottom;f=f||function(){};a.addItemToMenu({&quot;-1&quot;:{&quot;menu-item-type&quot;:&quot;custom&quot;,&quot;menu-item-url&quot;:e,&quot;menu-item-title&quot;:d}},c,f)},addItemToMenu:function(e,c,g){var f=b(&quot;#menu&quot;).val(),d=b(&quot;#menu-settings-column-nonce&quot;).val();c=c||function(){};g=g||function(){};params={action:&quot;add-menu-item&quot;,menu:f,&quot;menu-settings-column-nonce&quot;:d,&quot;menu-item&quot;:e};b.post(ajaxurl,params,function(h){var i=b(&quot;#menu-instructions&quot;);c(h,params);b(&quot;li.pending&quot;).hide().fadeIn(&quot;slow&quot;);b(&quot;.dr
 ag-instructions&quot;).show();if(!i.hasClass(&quot;menu-instructions-inactive&quot;)&amp;&amp;i.siblings().length){i.addClass(&quot;menu-instructions-inactive&quot;)}g()})},addMenuItemToBottom:function(c,d){b(c).hideAdvancedMenuItemFields().appendTo(a.targetList);a.refreshKeyboardAccessibility();a.refreshAdvancedAccessibility()},addMenuItemToTop:function(c,d){b(c).hideAdvancedMenuItemFields().prependTo(a.targetList);a.refreshKeyboardAccessibility();a.refreshAdvancedAccessibility()},attachUnsavedChangesListener:function(){b(&quot;#menu-management input, #menu-management select, #menu-management, #menu-management textarea&quot;).change(function(){a.registerChange()});if(0!=b(&quot;#menu-to-edit&quot;).length){window.onbeforeunload=function(){if(a.menusChanged){return navMenuL10n.saveAlert}}}else{b(&quot;#menu-settings-column&quot;).find(&quot;input,select&quot;).end().find(&quot;a&quot;).attr(&quot;href&quot;,&quot;#&quot;).unbind(&quot;click&quot;)}},registerChange:function()
 {a.menusChanged=true},attachTabsPanelListeners:function(){b(&quot;#menu-settings-column&quot;).bind(&quot;click&quot;,function(h){var f,d,i,c,g=b(h.target);if(g.hasClass(&quot;nav-tab-link&quot;)){d=g.data(&quot;type&quot;);i=g.parents(&quot;.accordion-section-content&quot;).first();b(&quot;input&quot;,i).removeAttr(&quot;checked&quot;);b(&quot;.tabs-panel-active&quot;,i).removeClass(&quot;tabs-panel-active&quot;).addClass(&quot;tabs-panel-inactive&quot;);b(&quot;#&quot;+d,i).removeClass(&quot;tabs-panel-inactive&quot;).addClass(&quot;tabs-panel-active&quot;);b(&quot;.tabs&quot;,i).removeClass(&quot;tabs&quot;);g.parent().addClass(&quot;tabs&quot;);b(&quot;.quick-search&quot;,i).focus();h.preventDefault()}else{if(g.hasClass(&quot;select-all&quot;)){f=/#(.*)$/.exec(h.target.href);if(f&amp;&amp;f[1]){c=b(&quot;#&quot;+f[1]+&quot; .tabs-panel-active .menu-item-title input&quot;);if(c.length===c.filter(&quot;:checked&quot;).length){c.removeAttr(&quot;checked&quot;)}else{c.prop(&
 quot;checked&quot;,true)}return false}}else{if(g.hasClass(&quot;submit-add-to-menu&quot;)){a.registerChange();if(h.target.id&amp;&amp;&quot;submit-customlinkdiv&quot;==h.target.id){a.addCustomLink(a.addMenuItemToBottom)}else{if(h.target.id&amp;&amp;-1!=h.target.id.indexOf(&quot;submit-&quot;)){b(&quot;#&quot;+h.target.id.replace(/submit-/,&quot;&quot;)).addSelectedToMenu(a.addMenuItemToBottom)}}return false}else{if(g.hasClass(&quot;page-numbers&quot;)){b.post(ajaxurl,h.target.href.replace(/.*\?/,&quot;&quot;).replace(/action=([^&amp;]*)/,&quot;&quot;)+&quot;&amp;action=menu-get-metabox&quot;,function(m){if(-1==m.indexOf(&quot;replace-id&quot;)){return}var l=b.parseJSON(m),e=document.getElementById(l[&quot;replace-id&quot;]),k=document.createElement(&quot;div&quot;),j=document.createElement(&quot;div&quot;);if(!l.markup||!e){return}j.innerHTML=l.markup?l.markup:&quot;&quot;;e.parentNode.insertBefore(k,e);k.parentNode.removeChild(e);k.parentNode.insertBefore(j,k);k.parentNode.
 removeChild(k)});return false}}}}})},eventOnClickEditLink:function(d){var c,e,f=/#(.*)$/.exec(d.href);if(f&amp;&amp;f[1]){c=b(&quot;#&quot;+f[1]);e=c.parent();if(0!=e.length){if(e.hasClass(&quot;menu-item-edit-inactive&quot;)){if(!c.data(&quot;menu-item-data&quot;)){c.data(&quot;menu-item-data&quot;,c.getItemData())}c.slideDown(&quot;fast&quot;);e.removeClass(&quot;menu-item-edit-inactive&quot;).addClass(&quot;menu-item-edit-active&quot;)}else{c.slideUp(&quot;fast&quot;);e.removeClass(&quot;menu-item-edit-active&quot;).addClass(&quot;menu-item-edit-inactive&quot;)}return false}}},eventOnClickCancelLink:function(e){var d=b(e).closest(&quot;.menu-item-settings&quot;),c=b(e).closest(&quot;.menu-item&quot;);c.removeClass(&quot;menu-item-edit-active&quot;).addClass(&quot;menu-item-edit-inactive&quot;);d.setItemData(d.data(&quot;menu-item-data&quot;)).hide();return false},eventOnClickMenuSave:function(e){var f=&quot;&quot;,c=b(&quot;#menu-name&quot;),d=c.val();if(!d||d==c.attr(&qu
 ot;title&quot;)||!d.replace(/\s+/,&quot;&quot;)){c.parent().addClass(&quot;form-invalid&quot;);return false}b(&quot;#nav-menu-theme-locations select&quot;).each(function(){f+='&lt;input type=&quot;hidden&quot; name=&quot;'+this.name+'&quot; value=&quot;'+b(this).val()+'&quot; /&gt;'});b(&quot;#update-nav-menu&quot;).append(f);a.menuList.find(&quot;.menu-item-data-position&quot;).val(function(g){return g+1});window.onbeforeunload=null;return true},eventOnClickMenuDelete:function(c){if(confirm(navMenuL10n.warnDeleteMenu)){window.onbeforeunload=null;return true}return false},eventOnClickMenuItemDelete:function(c){var d=parseInt(c.id.replace(&quot;delete-&quot;,&quot;&quot;),10);a.removeMenuItem(b(&quot;#menu-item-&quot;+d));a.registerChange();return false},processQuickSearchQueryResponse:function(g,k,c){var e,i,f={},d=document.getElementById(&quot;nav-menu-meta&quot;),j=new RegExp(&quot;menu-item\\[([^\\]]*)&quot;,&quot;g&quot;),h=b(&quot;&lt;div&gt;&quot;).html(g).find(&quot;l
 i&quot;),l;if(!h.length){b(&quot;.categorychecklist&quot;,c).html(&quot;&lt;li&gt;&lt;p&gt;&quot;+navMenuL10n.noResultsFound+&quot;&lt;/p&gt;&lt;/li&gt;&quot;);b(&quot;.spinner&quot;,c).hide();return}h.each(function(){l=b(this);e=j.exec(l.html());if(e&amp;&amp;e[1]){i=e[1];while(d.elements[&quot;menu-item[&quot;+i+&quot;][menu-item-type]&quot;]||f[i]){i--}f[i]=true;if(i!=e[1]){l.html(l.html().replace(new RegExp(&quot;menu-item\\[&quot;+e[1]+&quot;\\]&quot;,&quot;g&quot;),&quot;menu-item[&quot;+i+&quot;]&quot;))}}});b(&quot;.categorychecklist&quot;,c).html(h);b(&quot;.spinner&quot;,c).hide()},removeMenuItem:function(d){var c=d.childMenuItems();d.addClass(&quot;deleting&quot;).animate({opacity:0,height:0},350,function(){var e=b(&quot;#menu-instructions&quot;);d.remove();c.shiftDepthClass(-1).updateParentMenuItemDBId();if(0==b(&quot;#menu-to-edit li&quot;).length){b(&quot;.drag-instructions&quot;).hide();e.removeClass(&quot;menu-instructions-inactive&quot;)}})},depthToPx:functi
 on(c){return c*a.options.menuItemDepthPerLevel},pxToDepth:function(c){return Math.floor(c/a.options.menuItemDepthPerLevel)}};b(document).ready(function(){wpNavMenu.init()})})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesversionphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/version.php (23761 => 23762)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/version.php        2013-03-20 05:49:29 UTC (rev 23761)
+++ trunk/wp-includes/version.php        2013-03-20 06:13:30 UTC (rev 23762)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">  *
</span><span class="cx">  * @global string $wp_version
</span><span class="cx">  */
</span><del>-$wp_version = '3.6-alpha-23754';
</del><ins>+$wp_version = '3.6-alpha-23762';
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
</span></span></pre>
</div>
</div>

</body>
</html>