Editorial Calendar - Version 1.9.1

Version Description

The calendar is no longer blocking typing in the calendar quick edit dialog.

Download this release

Release Info

Developer zgrossbart
Plugin Icon wp plugin Editorial Calendar
Version 1.9.1
Comparing to
See all releases

Code changes from version 1.9 to 1.9.1

Files changed (4) hide show
  1. edcal.js +1 -1
  2. edcal.php +1 -1
  3. lib/edcallib.min.js +57 -58
  4. readme.txt +5 -1
edcal.js CHANGED
@@ -1733,7 +1733,7 @@ var edcal = {
1733
  }
1734
 
1735
  if (jQuery('#tooltip').is(':visible')) {
1736
- return false;
1737
  }
1738
 
1739
  if ((evt.keyCode === 40 && !(evt.altKey || evt.ctrlKey))) { // down arrow key
1733
  }
1734
 
1735
  if (jQuery('#tooltip').is(':visible')) {
1736
+ return;
1737
  }
1738
 
1739
  if ((evt.keyCode === 40 && !(evt.altKey || evt.ctrlKey))) { // down arrow key
edcal.php CHANGED
@@ -18,7 +18,7 @@
18
  /*
19
  Plugin Name: WordPress Editorial Calendar
20
  Description: The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
21
- Version: 1.9
22
  Author: Colin Vernon, Justin Evans, Joachim Kudish, Mary Vogt, and Zack Grossbart
23
  Author URI: http://www.zackgrossbart.com
24
  Plugin URI: http://stresslimitdesign.com/editorial-calendar-plugin
18
  /*
19
  Plugin Name: WordPress Editorial Calendar
20
  Description: The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
21
+ Version: 1.9.1
22
  Author: Colin Vernon, Justin Evans, Joachim Kudish, Mary Vogt, and Zack Grossbart
23
  Author URI: http://www.zackgrossbart.com
24
  Plugin URI: http://stresslimitdesign.com/editorial-calendar-plugin
lib/edcallib.min.js CHANGED
@@ -1,61 +1,60 @@
1
- var humanMsg={setup:function(b,k,j){humanMsg.msgID="humanMsg";humanMsg.logID="humanMsgLog";b="body";if(k==undefined)k=humanMsg.logTitle==undefined?"Message Log":humanMsg.logTitle;humanMsg.logTop=jQuery("#"+humanMsg.logID).css("top");humanMsg.msgOpacity=0.9;if(j!=undefined)humanMsg.msgOpacity=parseFloat(j);jQuery(b).prepend('<div id="'+humanMsg.msgID+'" class="humanMsg"><div class="round"></div><p></p><div class="round"></div></div>');jQuery(b).append('<div id="'+humanMsg.logID+'"><p>'+k+'</p><a href="#" id="humanMsgClose">x</a><ul></ul></div>');
2
  jQuery("#humanMsgClose").click(function(){jQuery("#"+humanMsg.logID+" p").addClass("minimized");jQuery("#humanMsgClose").hide();return false});jQuery("#"+humanMsg.logID+" p").click(function(){humanMsg.activateLog();if(jQuery("#"+humanMsg.logID+" p").hasClass("minimized")){jQuery("#humanMsgClose").show();jQuery("#"+humanMsg.logID+" p").removeClass("minimized")}else if(jQuery(this).siblings("ul").css("display")!="none"){jQuery("#"+humanMsg.logID).css("top",humanMsg.logTop);jQuery(this).siblings("ul").hide();
3
- jQuery("#humanMsgClose").show()}else{humanMsg.setLogHeight();jQuery(this).siblings("ul").slideToggle();jQuery("#humanMsgClose").slideToggle()}})},setLogTitle:function(b){humanMsg.logTitle=b;jQuery("#"+humanMsg.logID+" > p").text(b)},displayMsg:function(b,k){if(b!=""){humanMsg.activateLog();clearTimeout(humanMsg.t2);jQuery("#"+humanMsg.msgID).css("top",jQuery(window).scrollTop()+75+"px");jQuery("#"+humanMsg.msgID+" p").html(b);jQuery("#"+humanMsg.msgID+"").show().animate({opacity:humanMsg.msgOpacity},
4
- 200,function(){k&&humanMsg.log(b)});humanMsg.t1&&clearTimeout(humanMsg.t1);humanMsg.t2&&clearTimeout(humanMsg.t2);humanMsg.t1=setTimeout(function(){humanMsg.bindEvents()},3000);humanMsg.t2=setTimeout(function(){humanMsg.removeMsg()},5000)}},log:function(b){jQuery("#"+humanMsg.logID).show().children("ul").prepend("<li>"+b+"</li>").children("li:first").slideDown(200);jQuery("#"+humanMsg.logID+" ul").css("display")=="none"?jQuery("#"+humanMsg.logID+" p").animate({bottom:40},200,"linear",function(){jQuery(this).animate({bottom:0},
5
- 300,"swing",function(){jQuery(this).css({bottom:0})})}):humanMsg.setLogHeight();jQuery("#humanMsgClose").show();jQuery("#"+humanMsg.logID+" p").removeClass("minimized")},activateLog:function(){jQuery("#"+humanMsg.logID+" p").removeClass("faded");clearTimeout(humanMsg.t3);humanMsg.t3=setTimeout(humanMsg.fadeLog,15000)},setLogHeight:function(){if(navigator.appName==="Microsoft Internet Explorer"){var b=Math.min(jQuery("#"+humanMsg.logID+" ul").children("li").length*48,112);jQuery("#"+humanMsg.logID+
6
- " ul").css("height",b+10+"px");jQuery("#"+humanMsg.logID).css("top","-"+(b+56+humanMsg.logTop)+"px")}else{b=Math.min(jQuery("#"+humanMsg.logID+" ul").children("li").length*14,56);jQuery("#"+humanMsg.logID+" ul").css("height",b+10+"px");jQuery("#"+humanMsg.logID).css("top","-"+(b+112+humanMsg.logTop)+"px")}},bindEvents:function(){jQuery(window).mousemove(humanMsg.removeMsg).click(humanMsg.removeMsg).keypress(humanMsg.removeMsg)},removeMsg:function(){jQuery(window).unbind("mousemove",humanMsg.removeMsg).unbind("click",
7
- humanMsg.removeMsg).unbind("keypress",humanMsg.removeMsg);jQuery("#"+humanMsg.msgID).fadeOut()},fadeLog:function(){jQuery("#"+humanMsg.logID+" ul").css("display")==="none"&&jQuery("#"+humanMsg.logID+" p").addClass("faded")}};jQuery(document).ready(function(){humanMsg.setup()});(function(b){var k=["DOMMouseScroll","mousewheel"];if(b.event.fixHooks)for(var j=k.length;j;)b.event.fixHooks[k[--j]]=b.event.mouseHooks;b.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=k.length;a;)this.addEventListener(k[--a],i,false);else this.onmousewheel=i},teardown:function(){if(this.removeEventListener)for(var a=k.length;a;)this.removeEventListener(k[--a],i,false);else this.onmousewheel=null}};b.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",
8
- a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}});function i(a){var c=a||window.event,n=[].slice.call(arguments,1),g=0,f=0,h=0;a=b.event.fix(c);a.type="mousewheel";if(c.wheelDelta)g=c.wheelDelta/120;if(c.detail)g=-c.detail/3;h=g;if(c.axis!==undefined&&c.axis===c.HORIZONTAL_AXIS){h=0;f=-1*g}if(c.wheelDeltaY!==undefined)h=c.wheelDeltaY/120;if(c.wheelDeltaX!==undefined)f=-1*c.wheelDeltaX/120;n.unshift(a,g,f,h);return(b.event.dispatch||b.event.handle).apply(this,
9
- n)}})(jQuery);var sprintf=function(){function b(i){return Object.prototype.toString.call(i).slice(8,-1).toLowerCase()}function k(i,a){for(var c=[];a>0;c[--a]=i);return c.join("")}function j(){j.cache.hasOwnProperty(arguments[0])||(j.cache[arguments[0]]=j.parse(arguments[0]));return j.format.call(null,j.cache[arguments[0]],arguments)}j.format=function(i,a){var c=1,n=i.length,g="",f=[],h,m,l,q;for(h=0;h<n;h++){g=b(i[h]);if(g==="string")f.push(i[h]);else if(g==="array"){l=i[h];if(l[2]){g=a[c];for(m=0;m<l[2].length;m++){if(!g.hasOwnProperty(l[2][m]))throw sprintf('[sprintf] property "%s" does not exist',
10
- l[2][m]);g=g[l[2][m]]}}else g=l[1]?a[l[1]]:a[c++];if(/[^s]/.test(l[8])&&b(g)!="number")throw sprintf("[sprintf] expecting number but found %s",b(g));switch(l[8]){case "b":g=g.toString(2);break;case "c":g=String.fromCharCode(g);break;case "d":g=parseInt(g,10);break;case "e":g=l[7]?g.toExponential(l[7]):g.toExponential();break;case "f":g=l[7]?parseFloat(g).toFixed(l[7]):parseFloat(g);break;case "o":g=g.toString(8);break;case "s":g=(g=String(g))&&l[7]?g.substring(0,l[7]):g;break;case "u":g=Math.abs(g);
11
- break;case "x":g=g.toString(16);break;case "X":g=g.toString(16).toUpperCase();break}g=/[def]/.test(l[8])&&l[3]&&g>=0?"+"+g:g;m=l[4]?l[4]=="0"?"0":l[4].charAt(1):" ";q=l[6]-String(g).length;m=l[6]?k(m,q):"";f.push(l[5]?g+m:m+g)}}return f.join("")};j.cache={};j.parse=function(i){var a=i;i=[];for(var c=[],n=0;a;){if((i=/^[^\x25]+/.exec(a))!==null)c.push(i[0]);else if((i=/^\x25{2}/.exec(a))!==null)c.push("%");else if((i=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(a))!==
12
- null){if(i[2]){n|=1;var g=[],f=i[2],h=[];if((h=/^([a-z_][a-z_\d]*)/i.exec(f))!==null)for(g.push(h[1]);(f=f.substring(h[0].length))!=="";)if((h=/^\.([a-z_][a-z_\d]*)/i.exec(f))!==null)g.push(h[1]);else if((h=/^\[(\d+)\]/.exec(f))!==null)g.push(h[1]);else throw"[sprintf] huh?";else throw"[sprintf] huh?";i[2]=g}else n|=2;if(n===3)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";c.push(i)}else throw"[sprintf] huh?";a=a.substring(i[0].length)}return c};return j}();
13
- function vsprintf(b,k){k.unshift(b);return sprintf.apply(null,k)};jQuery.cookie=function(b,k,j){if(typeof k!="undefined"){j=j||{};if(k===null){k="";j.expires=-1}var i="";if(j.expires&&(typeof j.expires=="number"||j.expires.toUTCString)){if(typeof j.expires=="number"){i=new Date;i.setTime(i.getTime()+j.expires*24*60*60*1000)}else i=j.expires;i="; expires="+i.toUTCString()}var a=j.path?"; path="+j.path:"",c=j.domain?"; domain="+j.domain:"";j=j.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(k),i,a,c,j].join("")}else{k=null;if(document.cookie&&document.cookie!=
14
- ""){j=document.cookie.split(";");for(i=0;i<j.length;i++){a=jQuery.trim(j[i]);if(a.substring(0,b.length+1)==b+"="){k=decodeURIComponent(a.substring(b.length+1));break}}}return k}};(function(b){b.fn.bgIframe=b.fn.bgiframe=function(k){if(b.browser.msie&&parseInt(b.browser.version)<=6){k=b.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},k||{});var j=function(a){return a&&a.constructor==Number?a+"px":a},i='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+k.src+'"style="display:block;position:absolute;z-index:-1;'+(k.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(k.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":
15
- j(k.top))+";left:"+(k.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":j(k.left))+";width:"+(k.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":j(k.width))+";height:"+(k.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":j(k.height))+';"/>';return this.each(function(){b("> iframe.bgiframe",this).length==0&&this.insertBefore(document.createElement(i),this.firstChild)})}return this};if(!b.browser.version)b.browser.version=navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1]})(jQuery);(function(b){b.each({focus:"focusin",blur:"focusout"},function(k,j){b.event.special[j]={setup:function(){if(b.browser.msie)return false;this.addEventListener(k,b.event.special[j].handler,true)},teardown:function(){if(b.browser.msie)return false;this.removeEventListener(k,b.event.special[j].handler,true)},handler:function(i){arguments[0]=b.event.fix(i);arguments[0].type=j;return b.event.handle.apply(this,arguments)}}});b.extend(b.fn,{delegate:function(k,j,i){return this.bind(k,function(a){var c=b(a.target);
16
- if(c.is(j))return i.apply(c,arguments)})},triggerEvent:function(k,j){return this.triggerHandler(k,[b.event.fix({type:k,target:j})])}})})(jQuery);(function(b){b.tools=b.tools||{};b.tools.scrollable={version:"1.1.2",conf:{size:5,vertical:false,speed:400,keyboard:true,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:true,activeClass:"active",easing:"swing",loop:false,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",api:false}};var k;function j(i,a){var c=this,n=b(this),g=!a.vertical,f=i.children(),h=0,m;k||(k=c);b.each(a,function(d,e){b.isFunction(e)&&n.bind(d,e)});if(f.length>
17
- 1)f=b(a.items,i);function l(d){var e=b(d);return a.globalNav?e:i.parent().find(d)}i.data("finder",l);var q=l(a.prev),u=l(a.next),r=l(a.prevPage),p=l(a.nextPage);b.extend(c,{getIndex:function(){return h},getClickIndex:function(){var d=c.getItems();return d.index(d.filter("."+a.activeClass))},getConf:function(){return a},getSize:function(){return c.getItems().size()},getPageAmount:function(){return Math.ceil(this.getSize()/a.size)},getPageIndex:function(){return Math.ceil(h/a.size)},getNaviButtons:function(){return q.add(u).add(r).add(p)},
18
- getRoot:function(){return i},getItemWrap:function(){return f},getItems:function(){return f.children(a.item)},getVisibleItems:function(){return c.getItems().slice(h,h+a.size)},seekTo:function(d,e,o){if(d<0)d=0;if(h===d)return c;if(b.isFunction(e))o=e;if(d>c.getSize()-a.size)return a.loop?c.begin():this.end();var t=c.getItems().eq(d);if(!t.length)return c;var v=b.Event("onBeforeSeek");n.trigger(v,[d]);if(v.isDefaultPrevented())return c;if(e===undefined||b.isFunction(e))e=a.speed;function x(){o&&o.call(c,
19
- d);n.trigger("onSeek",[d])}g?f.animate({left:-t.position().left},e,a.easing,x):f.animate({top:-t.position().top},e,a.easing,x);k=c;h=d;v=b.Event("onStart");n.trigger(v,[d]);if(v.isDefaultPrevented())return c;q.add(r).toggleClass(a.disabledClass,d===0);u.add(p).toggleClass(a.disabledClass,d>=c.getSize()-a.size);return c},move:function(d,e,o){m=d>0;return this.seekTo(h+d,e,o)},next:function(d,e){return this.move(1,d,e)},prev:function(d,e){return this.move(-1,d,e)},movePage:function(d,e,o){m=d>0;var t=
20
- a.size*d,v=h%a.size;if(v>0)t+=d>0?-v:a.size-v;return this.move(t,e,o)},prevPage:function(d,e){return this.movePage(-1,d,e)},nextPage:function(d,e){return this.movePage(1,d,e)},setPage:function(d,e,o){return this.seekTo(d*a.size,e,o)},begin:function(d,e){m=false;return this.seekTo(0,d,e)},end:function(d,e){m=true;var o=this.getSize()-a.size;return o>0?this.seekTo(o,d,e):c},reload:function(){n.trigger("onReload");return c},focus:function(){return k=c},click:function(d){var e=c.getItems().eq(d),o=a.activeClass,
21
- t=a.size;if(d<0||d>=c.getSize())return c;if(t==1){if(a.loop)return c.next();if(d===0||d==c.getSize()-1)m=m===undefined?true:!m;return m===false?c.prev():c.next()}if(t==2){d==h&&d--;c.getItems().removeClass(o);e.addClass(o);return c.seekTo(d,time,fn)}if(!e.hasClass(o)){c.getItems().removeClass(o);e.addClass(o);e=Math.floor(t/2);e=d-e;if(e>c.getSize()-t)e=c.getSize()-t;if(e!==d)return c.seekTo(e)}return c},bind:function(d,e){n.bind(d,e);return c},unbind:function(d){n.unbind(d);return c}});b.each("onBeforeSeek,onStart,onSeek,onReload".split(","),
22
- function(d,e){c[e]=function(o){return c.bind(e,o)}});q.addClass(a.disabledClass).click(function(){c.prev()});u.click(function(){c.next()});p.click(function(){c.nextPage()});c.getSize()<a.size&&u.add(p).addClass(a.disabledClass);r.addClass(a.disabledClass).click(function(){c.prevPage()});var s=a.hoverClass,w="keydown."+Math.random().toString().substring(10);c.onReload(function(){s&&c.getItems().hover(function(){b(this).addClass(s)},function(){b(this).removeClass(s)});a.clickable&&c.getItems().each(function(d){b(this).unbind("click.scrollable").bind("click.scrollable",
23
- function(e){if(!b(e.target).is("a"))return c.click(d)})});a.keyboard?b(document).unbind(w).bind(w,function(d){if(!(d.altKey||d.ctrlKey))if(!(a.keyboard!="static"&&k!=c)){var e=a.keyboardSteps;if(g&&(d.keyCode==37||d.keyCode==39)){c.move(d.keyCode==37?-e:e);return d.preventDefault()}if(!g&&(d.keyCode==38||d.keyCode==40)){c.move(d.keyCode==38?-e:e);return d.preventDefault()}return true}}):b(document).unbind(w)});c.reload()}b.fn.scrollable=function(i){var a=this.eq(typeof i=="number"?i:0).data("scrollable");
24
- if(a)return a;var c=b.extend({},b.tools.scrollable.conf);i=b.extend(c,i);i.keyboardSteps=i.keyboardSteps||i.size;this.each(function(){a=new j(b(this),i);b(this).data("scrollable",a)});return i.api?a:this}})(jQuery);
25
- (function(b){var k=b.tools.scrollable;k.plugins=k.plugins||{};k.plugins.autoscroll={version:"1.0.1",conf:{autoplay:true,interval:3000,autopause:true,steps:1,api:false}};b.fn.autoscroll=function(j){if(typeof j=="number")j={interval:j};var i=b.extend({},k.plugins.autoscroll.conf),a;b.extend(i,j);this.each(function(){var c=b(this).scrollable();if(c)a=c;var n,g,f=true;c.play=function(){if(!n){f=false;n=setInterval(function(){c.move(i.steps)},i.interval);c.move(i.steps)}};c.pause=function(){n=clearInterval(n)};
26
- c.stop=function(){c.pause();f=true};i.autopause&&c.getRoot().add(c.getNaviButtons()).hover(function(){c.pause();clearInterval(g)},function(){f||(g=setTimeout(c.play,i.interval))});i.autoplay&&setTimeout(c.play,i.interval)});return i.api?a:this}})(jQuery);
27
- (function(b){var k=b.tools.scrollable;k.plugins=k.plugins||{};k.plugins.navigator={version:"1.0.2",conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,api:false,idPrefix:null}};b.fn.navigator=function(j){var i=b.extend({},k.plugins.navigator.conf),a;if(typeof j=="string")j={navi:j};j=b.extend(i,j);this.each(function(){var c=b(this).scrollable(),n=c.getRoot(),g=n.data("finder").call(null,j.navi),f=null,h=c.getNaviButtons();if(c)a=c;c.getNaviButtons=function(){return h.add(g)};function m(){if(!g.children().length||
28
- g.data("navi")==c){g.empty();g.data("navi",c);for(var l=0;l<c.getPageAmount();l++)g.append(b("<"+(j.naviItem||"a")+"/>"));f=g.children().each(function(q){var u=b(this);u.click(function(r){c.setPage(q);return r.preventDefault()});j.indexed&&u.text(q);j.idPrefix&&u.attr("id",j.idPrefix+q)})}else{f=j.naviItem?g.find(j.naviItem):g.children();f.each(function(q){var u=b(this);u.click(function(r){c.setPage(q);return r.preventDefault()})})}f.eq(0).addClass(j.activeClass)}c.onStart(function(){var l=j.activeClass;
29
- f.removeClass(l).eq(c.getPageIndex()).addClass(l)});c.onReload(function(){m()});m();n=f.filter("[href="+location.hash+"]");n.length&&c.move(f.index(n))});return j.api?a:this}})(jQuery);
30
- (function(b){b.fn.wheel=function(a){return this[a?"bind":"trigger"]("wheel",a)};b.event.special.wheel={setup:function(){b.event.add(this,k,j,{})},teardown:function(){b.event.remove(this,k,j)}};var k=!b.browser.mozilla?"mousewheel":"DOMMouseScroll"+(b.browser.version<"1.9"?" mousemove":"");function j(a){switch(a.type){case "mousemove":return b.extend(a.data,{clientX:a.clientX,clientY:a.clientY,pageX:a.pageX,pageY:a.pageY});case "DOMMouseScroll":b.extend(a,a.data);a.delta=-a.detail/3;break;case "mousewheel":a.delta=
31
- a.wheelDelta/120;break}a.type="wheel";return b.event.handle.call(this,a,a.delta)}var i=b.tools.scrollable;i.plugins=i.plugins||{};i.plugins.mousewheel={version:"1.0.1",conf:{api:false,speed:50}};b.fn.mousewheel=function(a){var c=b.extend({},i.plugins.mousewheel.conf),n;if(typeof a=="number")a={speed:a};a=b.extend(c,a);this.each(function(){var g=b(this).scrollable();if(g)n=g;g.getRoot().wheel(function(f,h){g.move(h<0?1:-1,a.speed||50);return false})});return a.api?n:this}})(jQuery);(function(b){b.fn.timePicker=function(f){var h=b.extend({},b.fn.timePicker.defaults,f);return this.each(function(){b.timePicker(this,h)})};b.timePicker=function(f,h){f=b(f)[0];return f.timePicker||(f.timePicker=new jQuery._timePicker(f,h))};b._timePicker=function(f,h){var m=false,l=false,q=c(h.startTime,h),u=c(h.endTime,h);b(f).attr("autocomplete","OFF");for(var r=[],p=new Date(q);p<=u;){r[r.length]=j(p,h);p=new Date(p.setMinutes(p.getMinutes()+h.step))}var s=b("<div "+(h.tpDivId?'id="'+h.tpDivId+
32
- '" ':"")+'class="time-picker'+(h.show24Hours?"":" time-picker-12hours")+'"></div>'),w=b("<ul></ul>");for(p=0;p<r.length;p++)w.append("<li>"+r[p]+"</li>");s.append(w);r=b(f).offset();s.appendTo("body").css({top:r.top-48+"px",left:r.left,width:b(f).width()+5+"px"}).hide();s.mouseover(function(){m=true}).mouseout(function(){m=false});b("li",w).mouseover(function(){if(!l){b("li.selected",s).removeClass("selected");b(this).addClass("selected")}}).mousedown(function(){m=true}).click(function(){k(f,this,
33
- s,h);m=false});function d(){if(s.is(":visible"))return false;b("li",s).removeClass("selected");var e=b(f).offset();s.css({top:e.top+b(f).height()+10+"px",left:e.left,width:b(f).width()+5+"px"});s.show();var o=f.value?n(f.value,h):q;e=q.getHours()*60+q.getMinutes();o=o.getHours()*60+o.getMinutes()-e;o=Math.round(o/h.step);e=g(new Date(0,0,0,0,o*h.step+e,0));e=q<e&&e<=u?e:q;e=b("li:contains("+j(e,h)+")",s);if(e.length){e.addClass("selected");s[0].scrollTop=e[0].offsetTop}return true}b(f).focus(d).click(d);
34
- b(f).blur(function(){m||s.hide()});r=b.browser.opera||b.browser.mozilla?"keypress":"keydown";b(f)[r](function(e){l=true;var o=s[0].scrollTop;switch(e.keyCode){case 38:if(d())return false;e=b("li.selected",w);var t=e.prev().addClass("selected")[0];if(t){e.removeClass("selected");if(t.offsetTop<o)s[0].scrollTop=o-t.offsetHeight}else{e.removeClass("selected");t=b("li:last",w).addClass("selected")[0];s[0].scrollTop=t.offsetTop-t.offsetHeight}return false;case 40:if(d())return false;e=b("li.selected",
35
- w);if(t=e.next().addClass("selected")[0]){e.removeClass("selected");if(t.offsetTop+t.offsetHeight>o+s[0].offsetHeight)s[0].scrollTop=o+t.offsetHeight}else{e.removeClass("selected");b("li:first",w).addClass("selected");s[0].scrollTop=0}return false;case 13:if(s.is(":visible")){o=b("li.selected",w)[0];k(f,o,s,h)}return false;case 27:s.hide();return false}return true});b(f).keyup(function(){l=false});this.getTime=function(){return n(f.value,h)};this.setTime=function(e){f.value=j(g(e),h);b(f).change()}};
36
- b.fn.timePicker.defaults={step:30,startTime:new Date(0,0,0,0,0,0),endTime:new Date(0,0,0,23,30,0),separator:":",show24Hours:true,timeFormat:"hh:mm tt",amDesignator:"AM",pmDesignator:"PM"};function k(f,h,m){f.value=b(h).text();b(f).change();b.browser.msie||f.focus();m.hide()}function j(f,h){var m=f.getHours(),l=h.show24Hours?m:(m+11)%12+1;l=a(l,h);var q=f.getMinutes();f=h.timeFormat;f=f.replace("hh",l);f=f.replace("h",l);f=f.replace("mm",i(q));return f=h.show24Hours?f.replace(" tt",""):f.replace("tt",
37
- m<12?h.amDesignator:h.pmDesignator)}function i(f){return(f<10?"0":"")+f}function a(f,h){return h.show24Hours?(f<10?"0":"")+f:f}function c(f,h){return typeof f=="object"?g(f):n(f,h)}function n(f,h){if(f){var m=f.split(h.separator),l=parseFloat(m[0]);m=parseFloat(m[1]);if(!h.show24Hours)if(l===12&&f.substr(h.amDesignator)!==-1)l=0;else if(l!==12&&f.indexOf(h.pmDesignator)!==-1)l+=12;f=new Date(0,0,0,l,m,0);return g(f)}return null}function g(f){f.setFullYear(2001);f.setMonth(0);f.setDate(0);return f}
38
- })(jQuery);if(!this.JSON)this.JSON={};
39
- (function(){function b(h){return h<10?"0"+h:h}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+b(this.getUTCMonth()+1)+"-"+b(this.getUTCDate())+"T"+b(this.getUTCHours())+":"+b(this.getUTCMinutes())+":"+b(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var k=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,j=
40
- /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,i,a,c={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},n;function g(h){j.lastIndex=0;return j.test(h)?'"'+h.replace(j,function(m){var l=c[m];return typeof l==="string"?l:"\\u"+("0000"+m.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+h+'"'}function f(h,m){var l,q,u=i,r,p=m[h];if(p&&typeof p==="object"&&typeof p.toJSON==="function")p=p.toJSON(h);
41
- if(typeof n==="function")p=n.call(m,h,p);switch(typeof p){case "string":return g(p);case "number":return isFinite(p)?String(p):"null";case "boolean":case "null":return String(p);case "object":if(!p)return"null";i+=a;r=[];if(Object.prototype.toString.apply(p)==="[object Array]"){q=p.length;for(h=0;h<q;h+=1)r[h]=f(h,p)||"null";m=r.length===0?"[]":i?"[\n"+i+r.join(",\n"+i)+"\n"+u+"]":"["+r.join(",")+"]";i=u;return m}if(n&&typeof n==="object"){q=n.length;for(h=0;h<q;h+=1){l=n[h];if(typeof l==="string")if(m=
42
- f(l,p))r.push(g(l)+(i?": ":":")+m)}}else for(l in p)if(Object.hasOwnProperty.call(p,l))if(m=f(l,p))r.push(g(l)+(i?": ":":")+m);m=r.length===0?"{}":i?"{\n"+i+r.join(",\n"+i)+"\n"+u+"}":"{"+r.join(",")+"}";i=u;return m}}if(typeof JSON.stringify!=="function")JSON.stringify=function(h,m,l){var q;a=i="";if(typeof l==="number")for(q=0;q<l;q+=1)a+=" ";else if(typeof l==="string")a=l;if((n=m)&&typeof m!=="function"&&(typeof m!=="object"||typeof m.length!=="number"))throw new Error("JSON.stringify");return f("",
43
- {"":h})};if(typeof JSON.parseIt!=="function")JSON.parseIt=function(h,m){function l(q,u){var r,p,s=q[u];if(s&&typeof s==="object")for(r in s)if(Object.hasOwnProperty.call(s,r)){p=l(s,r);if(p!==undefined)s[r]=p;else delete s[r]}return m.call(q,u,s)}k.lastIndex=0;if(k.test(h))h=h.replace(k,function(q){return"\\u"+("0000"+q.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(h.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
44
- "]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){h=eval("("+h+")");return typeof m==="function"?l({"":h},""):h}throw new SyntaxError("JSON.parseIt");}})();(function(b){b.tools=b.tools||{};b.tools.scrollable={version:"1.1.2",conf:{size:5,vertical:false,speed:400,keyboard:true,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:true,activeClass:"active",easing:"swing",loop:false,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",api:false}};var k;function j(i,a){var c=this,n=b(this),g=!a.vertical,f=i.children(),h=0,m;k||(k=c);b.each(a,function(d,e){b.isFunction(e)&&n.bind(d,e)});if(f.length>
45
- 1)f=b(a.items,i);function l(d){var e=b(d);return a.globalNav?e:i.parent().find(d)}i.data("finder",l);var q=l(a.prev),u=l(a.next),r=l(a.prevPage),p=l(a.nextPage);b.extend(c,{getIndex:function(){return h},getClickIndex:function(){var d=c.getItems();return d.index(d.filter("."+a.activeClass))},getConf:function(){return a},getSize:function(){return c.getItems().size()},getPageAmount:function(){return Math.ceil(this.getSize()/a.size)},getPageIndex:function(){return Math.ceil(h/a.size)},getNaviButtons:function(){return q.add(u).add(r).add(p)},
46
- getRoot:function(){return i},getItemWrap:function(){return f},getItems:function(){return f.children(a.item)},getVisibleItems:function(){return c.getItems().slice(h,h+a.size)},seekTo:function(d,e,o){if(d<0)d=0;if(h===d)return c;if(b.isFunction(e))o=e;if(d>c.getSize()-a.size)return a.loop?c.begin():this.end();var t=c.getItems().eq(d);if(!t.length)return c;var v=b.Event("onBeforeSeek");n.trigger(v,d>h);if(v.isDefaultPrevented())return c;if(e===undefined||b.isFunction(e))e=a.speed;function x(){o&&o.call(c,
47
- d);n.trigger("onSeek",[d])}g?f.animate({left:-t.position().left},e,a.easing,x):f.animate({top:-t.position().top},e,a.easing,x);k=c;h=d;v=b.Event("onStart");n.trigger(v,[d]);if(v.isDefaultPrevented())return c;q.add(r).toggleClass(a.disabledClass,d===0);u.add(p).toggleClass(a.disabledClass,d>=c.getSize()-a.size);return c},move:function(d,e,o){m=d>0;return this.seekTo(h+d,e,o)},next:function(d,e){return this.move(1,d,e)},prev:function(d,e){return this.move(-1,d,e)},movePage:function(d,e,o){m=d>0;var t=
48
- a.size*d,v=h%a.size;if(v>0)t+=d>0?-v:a.size-v;return this.move(t,e,o)},prevPage:function(d,e){return this.movePage(-1,d,e)},nextPage:function(d,e){return this.movePage(1,d,e)},setPage:function(d,e,o){return this.seekTo(d*a.size,e,o)},begin:function(d,e){m=false;return this.seekTo(0,d,e)},end:function(d,e){m=true;var o=this.getSize()-a.size;return o>0?this.seekTo(o,d,e):c},reload:function(){n.trigger("onReload");return c},focus:function(){return k=c},click:function(d){var e=c.getItems().eq(d),o=a.activeClass,
49
- t=a.size;if(d<0||d>=c.getSize())return c;if(t==1){if(a.loop)return c.next();if(d===0||d==c.getSize()-1)m=m===undefined?true:!m;return m===false?c.prev():c.next()}if(t==2){d==h&&d--;c.getItems().removeClass(o);e.addClass(o);return c.seekTo(d,time,fn)}if(!e.hasClass(o)){c.getItems().removeClass(o);e.addClass(o);e=Math.floor(t/2);e=d-e;if(e>c.getSize()-t)e=c.getSize()-t;if(e!==d)return c.seekTo(e)}return c},bind:function(d,e){n.bind(d,e);return c},unbind:function(d){n.unbind(d);return c}});b.each("onBeforeSeek,onStart,onSeek,onReload".split(","),
50
- function(d,e){c[e]=function(o){return c.bind(e,o)}});q.addClass(a.disabledClass).click(function(){c.prev()});u.click(function(){c.next()});p.click(function(){c.nextPage()});c.getSize()<a.size&&u.add(p).addClass(a.disabledClass);r.addClass(a.disabledClass).click(function(){c.prevPage()});var s=a.hoverClass,w="keydown."+Math.random().toString().substring(10);c.onReload(function(){s&&c.getItems().hover(function(){b(this).addClass(s)},function(){b(this).removeClass(s)});a.clickable&&c.getItems().each(function(d){b(this).unbind("click.scrollable").bind("click.scrollable",
51
- function(e){if(!b(e.target).is("a"))return c.click(d)})});a.keyboard?b(document).unbind(w).bind(w,function(d){if(!(d.altKey||d.ctrlKey))if(!(a.keyboard!="static"&&k!=c)){var e=a.keyboardSteps;if(g&&(d.keyCode==37||d.keyCode==39)){c.move(d.keyCode==37?-e:e);return d.preventDefault()}if(!g&&(d.keyCode==38||d.keyCode==40)){c.move(d.keyCode==38?-e:e);return d.preventDefault()}return true}}):b(document).unbind(w)});c.reload()}b.fn.scrollable=function(i){var a=this.eq(typeof i=="number"?i:0).data("scrollable");
52
- if(a)return a;var c=b.extend({},b.tools.scrollable.conf);i=b.extend(c,i);i.keyboardSteps=i.keyboardSteps||i.size;this.each(function(){a=new j(b(this),i);b(this).data("scrollable",a)});return i.api?a:this}})(jQuery);(function(b){b.fn.wheel=function(a){return this[a?"bind":"trigger"]("wheel",a)};b.event.special.wheel={setup:function(){b.event.add(this,k,j,{})},teardown:function(){b.event.remove(this,k,j)}};var k=!b.browser.mozilla?"mousewheel":"DOMMouseScroll"+(b.browser.version<"1.9"?" mousemove":"");function j(a){switch(a.type){case "mousemove":return b.extend(a.data,{clientX:a.clientX,clientY:a.clientY,pageX:a.pageX,pageY:a.pageY});case "DOMMouseScroll":b.extend(a,a.data);a.delta=-a.detail/3;break;case "mousewheel":a.delta=
53
- a.wheelDelta/120;break}a.type="wheel";return b.event.handle.call(this,a,a.delta)}var i=b.tools.scrollable;i.plugins=i.plugins||{};i.plugins.mousewheel={version:"1.0.1",conf:{api:false,speed:50}};b.fn.mousewheel=function(a){var c=b.extend({},i.plugins.mousewheel.conf),n;if(typeof a=="number")a={speed:a};a=b.extend(c,a);this.each(function(){var g=b(this).scrollable();if(g)n=g;g.getRoot().wheel(function(f,h){g.move(h<0?1:-1,a.speed||50);return false})});return a.api?n:this}})(jQuery);/*
54
  : Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
 
55
  */
56
- (function(){var b=Date,k=b.prototype,j=[];function i(a,c){c||(c=2);return("000"+a).slice(c*-1)}b.normalizeFormat=function(a){j=[];(new Date).$format(a);return j.join("")};b.strftime=function(a,c){return(new Date(c*1000)).$format(a)};b.strtotime=function(a){a=b.parse(a);a.addMinutes(a.getTimezoneOffset()*-1);return Math.round(b.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds())/1000)};k.$format=function(a){var c=this,n;
57
- function g(f){j.push(f);return c.toString(f)}return a?a.replace(/(%|\\)?.|%%/g,function(f){if(f.charAt(0)==="\\"||f.substring(0,2)==="%%")return f.replace("\\","").replace("%%","%");switch(f){case "d":case "%d":return g("dd");case "D":case "%a":return g("ddd");case "j":case "%e":return g("d");case "l":case "%A":return g("dddd");case "N":case "%u":return c.getDay()+1;case "S":return g("S");case "w":case "%w":return c.getDay();case "z":return c.getOrdinalNumber();case "%j":return i(c.getOrdinalNumber(),
58
- 3);case "%U":f=c.clone().set({month:0,day:1}).addDays(-1).moveToDayOfWeek(0);var h=c.clone().addDays(1).moveToDayOfWeek(0,-1);return h<f?"00":i((h.getOrdinalNumber()-f.getOrdinalNumber())/7+1);case "W":case "%V":return c.getISOWeek();case "%W":return i(c.getWeek());case "F":case "%B":return g("MMMM");case "m":case "%m":return g("MM");case "M":case "%b":case "%h":return g("MMM");case "n":return g("M");case "t":return b.getDaysInMonth(c.getFullYear(),c.getMonth());case "L":return b.isLeapYear(c.getFullYear())?
59
- 1:0;case "o":case "%G":return c.setWeek(c.getISOWeek()).toString("yyyy");case "%g":return c.$format("%G").slice(-2);case "Y":case "%Y":return g("yyyy");case "y":case "%y":return g("yy");case "a":case "%p":return g("tt").toLowerCase();case "A":return g("tt").toUpperCase();case "g":case "%I":return g("h");case "G":return g("H");case "h":return g("hh");case "H":case "%H":return g("HH");case "i":case "%M":return g("mm");case "s":case "%S":return g("ss");case "u":return i(c.getMilliseconds(),3);case "I":return c.isDaylightSavingTime()?
60
- 1:0;case "O":return c.getUTCOffset();case "P":n=c.getUTCOffset();return n.substring(0,n.length-2)+":"+n.substring(n.length-2);case "e":case "T":case "%z":case "%Z":return c.getTimezone();case "Z":return c.getTimezoneOffset()*-60;case "B":f=new Date;return Math.floor((f.getHours()*3600+f.getMinutes()*60+f.getSeconds()+(f.getTimezoneOffset()+60)*60)/86.4);case "c":return c.toISOString().replace(/\"/g,"");case "U":return b.strtotime("now");case "%c":return g("d")+" "+g("t");case "%C":return Math.floor(c.getFullYear()/
61
- 100+1);case "%D":return g("MM/dd/yy");case "%n":return"\\n";case "%t":return"\\t";case "%r":return g("hh:mm tt");case "%R":return g("H:mm");case "%T":return g("H:mm:ss");case "%x":return g("d");case "%X":return g("t");default:j.push(f);return f}}):this._toString()};if(!k.format)k.format=k.$format})();
1
+ var humanMsg={setup:function(a,e,g){humanMsg.msgID="humanMsg";humanMsg.logID="humanMsgLog";a="body";void 0==e&&(e=void 0==humanMsg.logTitle?"Message Log":humanMsg.logTitle);humanMsg.logTop=jQuery("#"+humanMsg.logID).css("top");humanMsg.msgOpacity=0.9;void 0!=g&&(humanMsg.msgOpacity=parseFloat(g));jQuery(a).prepend('<div id="'+humanMsg.msgID+'" class="humanMsg"><div class="round"></div><p></p><div class="round"></div></div>');jQuery(a).append('<div id="'+humanMsg.logID+'"><p>'+e+'</p><a href="#" id="humanMsgClose">x</a><ul></ul></div>');
2
  jQuery("#humanMsgClose").click(function(){jQuery("#"+humanMsg.logID+" p").addClass("minimized");jQuery("#humanMsgClose").hide();return false});jQuery("#"+humanMsg.logID+" p").click(function(){humanMsg.activateLog();if(jQuery("#"+humanMsg.logID+" p").hasClass("minimized")){jQuery("#humanMsgClose").show();jQuery("#"+humanMsg.logID+" p").removeClass("minimized")}else if(jQuery(this).siblings("ul").css("display")!="none"){jQuery("#"+humanMsg.logID).css("top",humanMsg.logTop);jQuery(this).siblings("ul").hide();
3
+ jQuery("#humanMsgClose").show()}else{humanMsg.setLogHeight();jQuery(this).siblings("ul").slideToggle();jQuery("#humanMsgClose").slideToggle()}})},setLogTitle:function(a){humanMsg.logTitle=a;jQuery("#"+humanMsg.logID+" > p").text(a)},displayMsg:function(a,e){""!=a&&(humanMsg.activateLog(),clearTimeout(humanMsg.t2),jQuery("#"+humanMsg.msgID).css("top",jQuery(window).scrollTop()+75+"px"),jQuery("#"+humanMsg.msgID+" p").html(a),jQuery("#"+humanMsg.msgID+"").show().animate({opacity:humanMsg.msgOpacity},
4
+ 200,function(){e&&humanMsg.log(a)}),humanMsg.t1&&clearTimeout(humanMsg.t1),humanMsg.t2&&clearTimeout(humanMsg.t2),humanMsg.t1=setTimeout(function(){humanMsg.bindEvents()},3E3),humanMsg.t2=setTimeout(function(){humanMsg.removeMsg()},5E3))},log:function(a){jQuery("#"+humanMsg.logID).show().children("ul").prepend("<li>"+a+"</li>").children("li:first").slideDown(200);"none"==jQuery("#"+humanMsg.logID+" ul").css("display")?jQuery("#"+humanMsg.logID+" p").animate({bottom:40},200,"linear",function(){jQuery(this).animate({bottom:0},
5
+ 300,"swing",function(){jQuery(this).css({bottom:0})})}):humanMsg.setLogHeight();jQuery("#humanMsgClose").show();jQuery("#"+humanMsg.logID+" p").removeClass("minimized")},activateLog:function(){jQuery("#"+humanMsg.logID+" p").removeClass("faded");clearTimeout(humanMsg.t3);humanMsg.t3=setTimeout(humanMsg.fadeLog,15E3)},setLogHeight:function(){if("Microsoft Internet Explorer"===navigator.appName){var a=Math.min(48*jQuery("#"+humanMsg.logID+" ul").children("li").length,112);jQuery("#"+humanMsg.logID+
6
+ " ul").css("height",a+10+"px");jQuery("#"+humanMsg.logID).css("top","-"+(a+56+humanMsg.logTop)+"px")}else a=Math.min(14*jQuery("#"+humanMsg.logID+" ul").children("li").length,56),jQuery("#"+humanMsg.logID+" ul").css("height",a+10+"px"),jQuery("#"+humanMsg.logID).css("top","-"+(a+112+humanMsg.logTop)+"px")},bindEvents:function(){jQuery(window).mousemove(humanMsg.removeMsg).click(humanMsg.removeMsg).keypress(humanMsg.removeMsg)},removeMsg:function(){jQuery(window).unbind("mousemove",humanMsg.removeMsg).unbind("click",
7
+ humanMsg.removeMsg).unbind("keypress",humanMsg.removeMsg);jQuery("#"+humanMsg.msgID).fadeOut()},fadeLog:function(){"none"===jQuery("#"+humanMsg.logID+" ul").css("display")&&jQuery("#"+humanMsg.logID+" p").addClass("faded")}};jQuery(document).ready(function(){humanMsg.setup()});(function(a){function e(b){var f=b||window.event,c=[].slice.call(arguments,1),g=0,d=0,e=0,b=a.event.fix(f);b.type="mousewheel";f.wheelDelta&&(g=f.wheelDelta/120);f.detail&&(g=-f.detail/3);e=g;void 0!==f.axis&&f.axis===f.HORIZONTAL_AXIS&&(e=0,d=-1*g);void 0!==f.wheelDeltaY&&(e=f.wheelDeltaY/120);void 0!==f.wheelDeltaX&&(d=-1*f.wheelDeltaX/120);c.unshift(b,g,d,e);return(a.event.dispatch||a.event.handle).apply(this,c)}var g=["DOMMouseScroll","mousewheel"];if(a.event.fixHooks)for(var d=g.length;d;)a.event.fixHooks[g[--d]]=
8
+ a.event.mouseHooks;a.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var b=g.length;b;)this.addEventListener(g[--b],e,!1);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var b=g.length;b;)this.removeEventListener(g[--b],e,!1);else this.onmousewheel=null}};a.fn.extend({mousewheel:function(b){return b?this.bind("mousewheel",b):this.trigger("mousewheel")},unmousewheel:function(b){return this.unbind("mousewheel",b)}})})(jQuery);var sprintf=function(){function a(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}var e=function(){e.cache.hasOwnProperty(arguments[0])||(e.cache[arguments[0]]=e.parse(arguments[0]));return e.format.call(null,e.cache[arguments[0]],arguments)};e.format=function(g,d){var b=1,f=g.length,c="",m=[],e,k,h,j;for(e=0;e<f;e++)if(c=a(g[e]),"string"===c)m.push(g[e]);else if("array"===c){h=g[e];if(h[2]){c=d[b];for(k=0;k<h[2].length;k++){if(!c.hasOwnProperty(h[2][k]))throw sprintf('[sprintf] property "%s" does not exist',
9
+ h[2][k]);c=c[h[2][k]]}}else c=h[1]?d[h[1]]:d[b++];if(/[^s]/.test(h[8])&&"number"!=a(c))throw sprintf("[sprintf] expecting number but found %s",a(c));switch(h[8]){case "b":c=c.toString(2);break;case "c":c=String.fromCharCode(c);break;case "d":c=parseInt(c,10);break;case "e":c=h[7]?c.toExponential(h[7]):c.toExponential();break;case "f":c=h[7]?parseFloat(c).toFixed(h[7]):parseFloat(c);break;case "o":c=c.toString(8);break;case "s":c=(c=""+c)&&h[7]?c.substring(0,h[7]):c;break;case "u":c=Math.abs(c);break;
10
+ case "x":c=c.toString(16);break;case "X":c=c.toString(16).toUpperCase()}c=/[def]/.test(h[8])&&h[3]&&0<=c?"+"+c:c;k=h[4]?"0"==h[4]?"0":h[4].charAt(1):" ";j=h[6]-(""+c).length;if(h[6]){for(var p=[];0<j;p[--j]=k);k=p.join("")}else k="";m.push(h[5]?c+k:k+c)}return m.join("")};e.cache={};e.parse=function(a){for(var d=[],b=[],f=0;a;){if(null!==(d=/^[^\x25]+/.exec(a)))b.push(d[0]);else if(null!==(d=/^\x25{2}/.exec(a)))b.push("%");else if(null!==(d=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(a))){if(d[2]){var f=
11
+ f|1,c=[],m=d[2],e=[];if(null!==(e=/^([a-z_][a-z_\d]*)/i.exec(m)))for(c.push(e[1]);""!==(m=m.substring(e[0].length));)if(null!==(e=/^\.([a-z_][a-z_\d]*)/i.exec(m)))c.push(e[1]);else if(null!==(e=/^\[(\d+)\]/.exec(m)))c.push(e[1]);else throw"[sprintf] huh?";else throw"[sprintf] huh?";d[2]=c}else f|=2;if(3===f)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";b.push(d)}else throw"[sprintf] huh?";a=a.substring(d[0].length)}return b};return e}(),vsprintf=function(a,e){e.unshift(a);
12
+ return sprintf.apply(null,e)};jQuery.cookie=function(a,e,g){if("undefined"!=typeof e){g=g||{};null===e&&(e="",g.expires=-1);var d="";if(g.expires&&("number"==typeof g.expires||g.expires.toUTCString))"number"==typeof g.expires?(d=new Date,d.setTime(d.getTime()+864E5*g.expires)):d=g.expires,d="; expires="+d.toUTCString();var b=g.path?"; path="+g.path:"",f=g.domain?"; domain="+g.domain:"",g=g.secure?"; secure":"";document.cookie=[a,"=",encodeURIComponent(e),d,b,f,g].join("")}else{e=null;if(document.cookie&&""!=document.cookie){g=
13
+ document.cookie.split(";");for(d=0;d<g.length;d++)if(b=jQuery.trim(g[d]),b.substring(0,a.length+1)==a+"="){e=decodeURIComponent(b.substring(a.length+1));break}}return e}};(function(a){a.fn.bgIframe=a.fn.bgiframe=function(e){if(a.browser.msie&&6>=parseInt(a.browser.version)){var e=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:!0,src:"javascript:false;"},e||{}),g=function(a){return a&&a.constructor==Number?a+"px":a},d='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+e.src+'"style="display:block;position:absolute;z-index:-1;'+(!1!==e.opacity?"filter:Alpha(Opacity='0');":"")+"top:"+("auto"==e.top?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":
14
+ g(e.top))+";left:"+("auto"==e.left?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":g(e.left))+";width:"+("auto"==e.width?"expression(this.parentNode.offsetWidth+'px')":g(e.width))+";height:"+("auto"==e.height?"expression(this.parentNode.offsetHeight+'px')":g(e.height))+';"/>';return this.each(function(){0==a("> iframe.bgiframe",this).length&&this.insertBefore(document.createElement(d),this.firstChild)})}return this};a.browser.version||(a.browser.version=navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1])})(jQuery);(function(a){a.each({focus:"focusin",blur:"focusout"},function(e,g){a.event.special[g]={setup:function(){if(a.browser.msie)return!1;this.addEventListener(e,a.event.special[g].handler,!0)},teardown:function(){if(a.browser.msie)return!1;this.removeEventListener(e,a.event.special[g].handler,!0)},handler:function(d){arguments[0]=a.event.fix(d);arguments[0].type=g;return a.event.handle.apply(this,arguments)}}});a.extend(a.fn,{delegate:function(e,g,d){return this.bind(e,function(b){var f=a(b.target);if(f.is(g))return d.apply(f,
15
+ arguments)})},triggerEvent:function(e,g){return this.triggerHandler(e,[a.event.fix({type:e,target:g})])}})})(jQuery);(function(a){function e(d,b){function f(c){var f=a(c);return b.globalNav?f:d.parent().find(c)}var c=this,e=a(this),q=!b.vertical,k=d.children(),h=0,j;g||(g=c);a.each(b,function(c,b){a.isFunction(b)&&e.bind(c,b)});1<k.length&&(k=a(b.items,d));d.data("finder",f);var p=f(b.prev),i=f(b.next),o=f(b.prevPage),r=f(b.nextPage);a.extend(c,{getIndex:function(){return h},getClickIndex:function(){var a=c.getItems();return a.index(a.filter("."+b.activeClass))},getConf:function(){return b},getSize:function(){return c.getItems().size()},
16
+ getPageAmount:function(){return Math.ceil(this.getSize()/b.size)},getPageIndex:function(){return Math.ceil(h/b.size)},getNaviButtons:function(){return p.add(i).add(o).add(r)},getRoot:function(){return d},getItemWrap:function(){return k},getItems:function(){return k.children(b.item)},getVisibleItems:function(){return c.getItems().slice(h,h+b.size)},seekTo:function(f,d,j){function l(){j&&j.call(c,f);e.trigger("onSeek",[f])}0>f&&(f=0);if(h===f)return c;a.isFunction(d)&&(j=d);if(f>c.getSize()-b.size)return b.loop?
17
+ c.begin():this.end();var n=c.getItems().eq(f);if(!n.length)return c;var s=a.Event("onBeforeSeek");e.trigger(s,[f]);if(s.isDefaultPrevented())return c;if(void 0===d||a.isFunction(d))d=b.speed;q?k.animate({left:-n.position().left},d,b.easing,l):k.animate({top:-n.position().top},d,b.easing,l);g=c;h=f;s=a.Event("onStart");e.trigger(s,[f]);if(s.isDefaultPrevented())return c;p.add(o).toggleClass(b.disabledClass,0===f);i.add(r).toggleClass(b.disabledClass,f>=c.getSize()-b.size);return c},move:function(c,
18
+ a,b){j=0<c;return this.seekTo(h+c,a,b)},next:function(c,a){return this.move(1,c,a)},prev:function(c,a){return this.move(-1,c,a)},movePage:function(c,a,f){j=0<c;var d=b.size*c,e=h%b.size;0<e&&(d+=0<c?-e:b.size-e);return this.move(d,a,f)},prevPage:function(c,a){return this.movePage(-1,c,a)},nextPage:function(c,a){return this.movePage(1,c,a)},setPage:function(c,a,f){return this.seekTo(c*b.size,a,f)},begin:function(c,a){j=!1;return this.seekTo(0,c,a)},end:function(a,f){j=!0;var d=this.getSize()-b.size;
19
+ return 0<d?this.seekTo(d,a,f):c},reload:function(){e.trigger("onReload");return c},focus:function(){return g=c},click:function(a){var f=c.getItems().eq(a),d=b.activeClass,e=b.size;if(0>a||a>=c.getSize())return c;if(1==e){if(b.loop)return c.next();if(0===a||a==c.getSize()-1)j=void 0===j?!0:!j;return!1===j?c.prev():c.next()}return 2==e?(a==h&&a--,c.getItems().removeClass(d),f.addClass(d),c.seekTo(a,time,fn)):!f.hasClass(d)&&(c.getItems().removeClass(d),f.addClass(d),f=a-Math.floor(e/2),f>c.getSize()-
20
+ e&&(f=c.getSize()-e),f!==a)?c.seekTo(f):c},bind:function(a,b){e.bind(a,b);return c},unbind:function(a){e.unbind(a);return c}});a.each(["onBeforeSeek","onStart","onSeek","onReload"],function(a,b){c[b]=function(a){return c.bind(b,a)}});p.addClass(b.disabledClass).click(function(){c.prev()});i.click(function(){c.next()});r.click(function(){c.nextPage()});c.getSize()<b.size&&i.add(r).addClass(b.disabledClass);o.addClass(b.disabledClass).click(function(){c.prevPage()});var n=b.hoverClass,l="keydown."+
21
+ Math.random().toString().substring(10);c.onReload(function(){n&&c.getItems().hover(function(){a(this).addClass(n)},function(){a(this).removeClass(n)});b.clickable&&c.getItems().each(function(b){a(this).unbind("click.scrollable").bind("click.scrollable",function(f){if(!a(f.target).is("a"))return c.click(b)})});b.keyboard?a(document).unbind(l).bind(l,function(a){if(!a.altKey&&!a.ctrlKey&&!("static"!=b.keyboard&&g!=c)){var f=b.keyboardSteps;return q&&(37==a.keyCode||39==a.keyCode)?(c.move(37==a.keyCode?
22
+ -f:f),a.preventDefault()):!q&&(38==a.keyCode||40==a.keyCode)?(c.move(38==a.keyCode?-f:f),a.preventDefault()):!0}}):a(document).unbind(l)});c.reload()}a.tools=a.tools||{};a.tools.scrollable={version:"1.1.2",conf:{size:5,vertical:!1,speed:400,keyboard:!0,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:!0,activeClass:"active",easing:"swing",loop:!1,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",api:!1}};var g;a.fn.scrollable=function(d){var b=
23
+ this.eq("number"==typeof d?d:0).data("scrollable");if(b)return b;var f=a.extend({},a.tools.scrollable.conf),d=a.extend(f,d);d.keyboardSteps=d.keyboardSteps||d.size;this.each(function(){b=new e(a(this),d);a(this).data("scrollable",b)});return d.api?b:this}})(jQuery);
24
+ (function(a){var e=a.tools.scrollable;e.plugins=e.plugins||{};e.plugins.autoscroll={version:"1.0.1",conf:{autoplay:!0,interval:3E3,autopause:!0,steps:1,api:!1}};a.fn.autoscroll=function(g){"number"==typeof g&&(g={interval:g});var d=a.extend({},e.plugins.autoscroll.conf),b;a.extend(d,g);this.each(function(){var f=a(this).scrollable();f&&(b=f);var c,e,g=!0;f.play=function(){c||(g=!1,c=setInterval(function(){f.move(d.steps)},d.interval),f.move(d.steps))};f.pause=function(){c=clearInterval(c)};f.stop=
25
+ function(){f.pause();g=!0};d.autopause&&f.getRoot().add(f.getNaviButtons()).hover(function(){f.pause();clearInterval(e)},function(){g||(e=setTimeout(f.play,d.interval))});d.autoplay&&setTimeout(f.play,d.interval)});return d.api?b:this}})(jQuery);
26
+ (function(a){var e=a.tools.scrollable;e.plugins=e.plugins||{};e.plugins.navigator={version:"1.0.2",conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:!1,api:!1,idPrefix:null}};a.fn.navigator=function(g){var d=a.extend({},e.plugins.navigator.conf),b;"string"==typeof g&&(g={navi:g});g=a.extend(d,g);this.each(function(){function f(){if(!d.children().length||d.data("navi")==c){d.empty();d.data("navi",c);for(var b=0;b<c.getPageAmount();b++)d.append(a("<"+(g.naviItem||"a")+"/>"));e=d.children().each(function(b){var f=
27
+ a(this);f.click(function(a){c.setPage(b);return a.preventDefault()});g.indexed&&f.text(b);g.idPrefix&&f.attr("id",g.idPrefix+b)})}else e=g.naviItem?d.find(g.naviItem):d.children(),e.each(function(b){a(this).click(function(a){c.setPage(b);return a.preventDefault()})});e.eq(0).addClass(g.activeClass)}var c=a(this).scrollable(),d=c.getRoot().data("finder").call(null,g.navi),e=null,k=c.getNaviButtons();c&&(b=c);c.getNaviButtons=function(){return k.add(d)};c.onStart(function(){var a=g.activeClass;e.removeClass(a).eq(c.getPageIndex()).addClass(a)});
28
+ c.onReload(function(){f()});f();var h=e.filter("[href="+location.hash+"]");h.length&&c.move(e.index(h))});return g.api?b:this}})(jQuery);
29
+ (function(a){function e(b){switch(b.type){case "mousemove":return a.extend(b.data,{clientX:b.clientX,clientY:b.clientY,pageX:b.pageX,pageY:b.pageY});case "DOMMouseScroll":a.extend(b,b.data);b.delta=-b.detail/3;break;case "mousewheel":b.delta=b.wheelDelta/120}b.type="wheel";return a.event.handle.call(this,b,b.delta)}a.fn.wheel=function(a){return this[a?"bind":"trigger"]("wheel",a)};a.event.special.wheel={setup:function(){a.event.add(this,g,e,{})},teardown:function(){a.event.remove(this,g,e)}};var g=
30
+ !a.browser.mozilla?"mousewheel":"DOMMouseScroll"+("1.9">a.browser.version?" mousemove":""),d=a.tools.scrollable;d.plugins=d.plugins||{};d.plugins.mousewheel={version:"1.0.1",conf:{api:!1,speed:50}};a.fn.mousewheel=function(b){var f=a.extend({},d.plugins.mousewheel.conf),c;"number"==typeof b&&(b={speed:b});b=a.extend(f,b);this.each(function(){var f=a(this).scrollable();f&&(c=f);f.getRoot().wheel(function(a,c){f.move(0>c?1:-1,b.speed||50);return!1})});return b.api?c:this}})(jQuery);(function(a){function e(b,c,d){b.value=a(c).text();a(b).change();a.browser.msie||b.focus();d.hide()}function g(a,c){var b=a.getHours(),d=c.show24Hours?b:(b+11)%12+1,d=c.show24Hours?(10>d?"0":"")+d:d,e=a.getMinutes(),a=c.timeFormat,a=a.replace("hh",d),a=a.replace("h",d),a=a.replace("mm",(10>e?"0":"")+e);return a=c.show24Hours?a.replace(" tt",""):a.replace("tt",12>b?c.amDesignator:c.pmDesignator)}function d(a,c){if(a){var d=a.split(c.separator),e=parseFloat(d[0]),d=parseFloat(d[1]);c.show24Hours||(12===
31
+ e&&-1!==a.substr(c.amDesignator)?e=0:12!==e&&-1!==a.indexOf(c.pmDesignator)&&(e+=12));return b(new Date(0,0,0,e,d,0))}return null}function b(a){a.setFullYear(2001);a.setMonth(0);a.setDate(0);return a}a.fn.timePicker=function(b){var c=a.extend({},a.fn.timePicker.defaults,b);return this.each(function(){a.timePicker(this,c)})};a.timePicker=function(b,c){var d=a(b)[0];return d.timePicker||(d.timePicker=new jQuery._timePicker(d,c))};a._timePicker=function(f,c){var m=!1,q=!1,k="object"==typeof c.startTime?
32
+ b(c.startTime):d(c.startTime,c),h="object"==typeof c.endTime?b(c.endTime):d(c.endTime,c);a(f).attr("autocomplete","OFF");for(var j=[],p=new Date(k);p<=h;)j[j.length]=g(p,c),p=new Date(p.setMinutes(p.getMinutes()+c.step));for(var i=a("<div "+(c.tpDivId?'id="'+c.tpDivId+'" ':"")+'class="time-picker'+(c.show24Hours?"":" time-picker-12hours")+'"></div>'),o=a("<ul></ul>"),p=0;p<j.length;p++)o.append("<li>"+j[p]+"</li>");i.append(o);j=a(f).offset();i.appendTo("body").css({top:j.top-48+"px",left:j.left,
33
+ width:a(f).width()+5+"px"}).hide();i.mouseover(function(){m=!0}).mouseout(function(){m=!1});a("li",o).mouseover(function(){q||(a("li.selected",i).removeClass("selected"),a(this).addClass("selected"))}).mousedown(function(){m=!0}).click(function(){e(f,this,i,c);m=!1});var r=function(){if(i.is(":visible"))return!1;a("li",i).removeClass("selected");var e=a(f).offset();i.css({top:e.top+a(f).height()+10+"px",left:e.left,width:a(f).width()+5+"px"});i.show();var m=f.value?d(f.value,c):k,e=60*k.getHours()+
34
+ k.getMinutes(),m=60*m.getHours()+m.getMinutes()-e,m=Math.round(m/c.step),e=b(new Date(0,0,0,0,m*c.step+e,0)),e=k<e&&e<=h?e:k,e=a("li:contains("+g(e,c)+")",i);e.length&&(e.addClass("selected"),i[0].scrollTop=e[0].offsetTop);return!0};a(f).focus(r).click(r);a(f).blur(function(){m||i.hide()});j=a.browser.opera||a.browser.mozilla?"keypress":"keydown";a(f)[j](function(b){q=!0;var d=i[0].scrollTop;switch(b.keyCode){case 38:if(r())return!1;var b=a("li.selected",o),g=b.prev().addClass("selected")[0];g?(b.removeClass("selected"),
35
+ g.offsetTop<d&&(i[0].scrollTop=d-g.offsetHeight)):(b.removeClass("selected"),g=a("li:last",o).addClass("selected")[0],i[0].scrollTop=g.offsetTop-g.offsetHeight);return!1;case 40:if(r())return!1;b=a("li.selected",o);(g=b.next().addClass("selected")[0])?(b.removeClass("selected"),g.offsetTop+g.offsetHeight>d+i[0].offsetHeight&&(i[0].scrollTop=d+g.offsetHeight)):(b.removeClass("selected"),a("li:first",o).addClass("selected"),i[0].scrollTop=0);return!1;case 13:return i.is(":visible")&&(d=a("li.selected",
36
+ o)[0],e(f,d,i,c)),!1;case 27:return i.hide(),!1}return!0});a(f).keyup(function(){q=!1});this.getTime=function(){return d(f.value,c)};this.setTime=function(d){f.value=g(b(d),c);a(f).change()}};a.fn.timePicker.defaults={step:30,startTime:new Date(0,0,0,0,0,0),endTime:new Date(0,0,0,23,30,0),separator:":",show24Hours:!0,timeFormat:"hh:mm tt",amDesignator:"AM",pmDesignator:"PM"}})(jQuery);this.JSON||(this.JSON={});
37
+ (function(){function a(a){return a<10?"0"+a:a}function e(a){b.lastIndex=0;return b.test(a)?'"'+a.replace(b,function(a){var c=m[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function g(a,b){var d,m,i,o,r=f,n,l=b[a];l&&typeof l==="object"&&typeof l.toJSON==="function"&&(l=l.toJSON(a));typeof q==="function"&&(l=q.call(b,a,l));switch(typeof l){case "string":return e(l);case "number":return isFinite(l)?""+l:"null";case "boolean":case "null":return""+l;
38
+ case "object":if(!l)return"null";f=f+c;n=[];if(Object.prototype.toString.apply(l)==="[object Array]"){o=l.length;for(d=0;d<o;d=d+1)n[d]=g(d,l)||"null";i=n.length===0?"[]":f?"[\n"+f+n.join(",\n"+f)+"\n"+r+"]":"["+n.join(",")+"]";f=r;return i}if(q&&typeof q==="object"){o=q.length;for(d=0;d<o;d=d+1){m=q[d];if(typeof m==="string")(i=g(m,l))&&n.push(e(m)+(f?": ":":")+i)}}else for(m in l)if(Object.hasOwnProperty.call(l,m))(i=g(m,l))&&n.push(e(m)+(f?": ":":")+i);i=n.length===0?"{}":f?"{\n"+f+n.join(",\n"+
39
+ f)+"\n"+r+"}":"{"+n.join(",")+"}";f=r;return i}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var d=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
40
+ b=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f,c,m={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},q;if(typeof JSON.stringify!=="function")JSON.stringify=function(a,b,d){var e;c=f="";if(typeof d==="number")for(e=0;e<d;e=e+1)c=c+" ";else typeof d==="string"&&(c=d);if((q=b)&&typeof b!=="function"&&(typeof b!=="object"||typeof b.length!=="number"))throw Error("JSON.stringify");return g("",
41
+ {"":a})};if(typeof JSON.parseIt!=="function")JSON.parseIt=function(a,b){function c(a,d){var f,e,g=a[d];if(g&&typeof g==="object")for(f in g)if(Object.hasOwnProperty.call(g,f)){e=c(g,f);e!==void 0?g[f]=e:delete g[f]}return b.call(a,d,g)}var f;d.lastIndex=0;d.test(a)&&(a=a.replace(d,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
42
+ "]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){f=eval("("+a+")");return typeof b==="function"?c({"":f},""):f}throw new SyntaxError("JSON.parseIt");}})();(function(a){function e(d,b){function f(c){var f=a(c);return b.globalNav?f:d.parent().find(c)}var c=this,e=a(this),q=!b.vertical,k=d.children(),h=0,j;g||(g=c);a.each(b,function(c,b){a.isFunction(b)&&e.bind(c,b)});1<k.length&&(k=a(b.items,d));d.data("finder",f);var p=f(b.prev),i=f(b.next),o=f(b.prevPage),r=f(b.nextPage);a.extend(c,{getIndex:function(){return h},getClickIndex:function(){var a=c.getItems();return a.index(a.filter("."+b.activeClass))},getConf:function(){return b},getSize:function(){return c.getItems().size()},
43
+ getPageAmount:function(){return Math.ceil(this.getSize()/b.size)},getPageIndex:function(){return Math.ceil(h/b.size)},getNaviButtons:function(){return p.add(i).add(o).add(r)},getRoot:function(){return d},getItemWrap:function(){return k},getItems:function(){return k.children(b.item)},getVisibleItems:function(){return c.getItems().slice(h,h+b.size)},seekTo:function(d,f,j){function l(){j&&j.call(c,d);e.trigger("onSeek",[d])}0>d&&(d=0);if(h===d)return c;a.isFunction(f)&&(j=f);if(d>c.getSize()-b.size)return b.loop?
44
+ c.begin():this.end();var n=c.getItems().eq(d);if(!n.length)return c;var s=a.Event("onBeforeSeek");e.trigger(s,d>h);if(s.isDefaultPrevented())return c;if(void 0===f||a.isFunction(f))f=b.speed;q?k.animate({left:-n.position().left},f,b.easing,l):k.animate({top:-n.position().top},f,b.easing,l);g=c;h=d;s=a.Event("onStart");e.trigger(s,[d]);if(s.isDefaultPrevented())return c;p.add(o).toggleClass(b.disabledClass,0===d);i.add(r).toggleClass(b.disabledClass,d>=c.getSize()-b.size);return c},move:function(a,
45
+ b,c){j=0<a;return this.seekTo(h+a,b,c)},next:function(a,b){return this.move(1,a,b)},prev:function(a,b){return this.move(-1,a,b)},movePage:function(a,c,d){j=0<a;var f=b.size*a,e=h%b.size;0<e&&(f+=0<a?-e:b.size-e);return this.move(f,c,d)},prevPage:function(a,b){return this.movePage(-1,a,b)},nextPage:function(a,b){return this.movePage(1,a,b)},setPage:function(a,c,d){return this.seekTo(a*b.size,c,d)},begin:function(a,b){j=!1;return this.seekTo(0,a,b)},end:function(a,d){j=!0;var f=this.getSize()-b.size;
46
+ return 0<f?this.seekTo(f,a,d):c},reload:function(){e.trigger("onReload");return c},focus:function(){return g=c},click:function(a){var d=c.getItems().eq(a),f=b.activeClass,e=b.size;if(0>a||a>=c.getSize())return c;if(1==e){if(b.loop)return c.next();if(0===a||a==c.getSize()-1)j=void 0===j?!0:!j;return!1===j?c.prev():c.next()}return 2==e?(a==h&&a--,c.getItems().removeClass(f),d.addClass(f),c.seekTo(a,time,fn)):!d.hasClass(f)&&(c.getItems().removeClass(f),d.addClass(f),d=a-Math.floor(e/2),d>c.getSize()-
47
+ e&&(d=c.getSize()-e),d!==a)?c.seekTo(d):c},bind:function(a,b){e.bind(a,b);return c},unbind:function(a){e.unbind(a);return c}});a.each(["onBeforeSeek","onStart","onSeek","onReload"],function(a,b){c[b]=function(a){return c.bind(b,a)}});p.addClass(b.disabledClass).click(function(){c.prev()});i.click(function(){c.next()});r.click(function(){c.nextPage()});c.getSize()<b.size&&i.add(r).addClass(b.disabledClass);o.addClass(b.disabledClass).click(function(){c.prevPage()});var n=b.hoverClass,l="keydown."+
48
+ Math.random().toString().substring(10);c.onReload(function(){n&&c.getItems().hover(function(){a(this).addClass(n)},function(){a(this).removeClass(n)});b.clickable&&c.getItems().each(function(b){a(this).unbind("click.scrollable").bind("click.scrollable",function(d){if(!a(d.target).is("a"))return c.click(b)})});b.keyboard?a(document).unbind(l).bind(l,function(a){if(!a.altKey&&!a.ctrlKey&&!("static"!=b.keyboard&&g!=c)){var d=b.keyboardSteps;return q&&(37==a.keyCode||39==a.keyCode)?(c.move(37==a.keyCode?
49
+ -d:d),a.preventDefault()):!q&&(38==a.keyCode||40==a.keyCode)?(c.move(38==a.keyCode?-d:d),a.preventDefault()):!0}}):a(document).unbind(l)});c.reload()}a.tools=a.tools||{};a.tools.scrollable={version:"1.1.2",conf:{size:5,vertical:!1,speed:400,keyboard:!0,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:!0,activeClass:"active",easing:"swing",loop:!1,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",api:!1}};var g;a.fn.scrollable=function(d){var b=
50
+ this.eq("number"==typeof d?d:0).data("scrollable");if(b)return b;var f=a.extend({},a.tools.scrollable.conf),d=a.extend(f,d);d.keyboardSteps=d.keyboardSteps||d.size;this.each(function(){b=new e(a(this),d);a(this).data("scrollable",b)});return d.api?b:this}})(jQuery);(function(a){function e(b){switch(b.type){case "mousemove":return a.extend(b.data,{clientX:b.clientX,clientY:b.clientY,pageX:b.pageX,pageY:b.pageY});case "DOMMouseScroll":a.extend(b,b.data);b.delta=-b.detail/3;break;case "mousewheel":b.delta=b.wheelDelta/120}b.type="wheel";return a.event.handle.call(this,b,b.delta)}a.fn.wheel=function(a){return this[a?"bind":"trigger"]("wheel",a)};a.event.special.wheel={setup:function(){a.event.add(this,g,e,{})},teardown:function(){a.event.remove(this,g,e)}};var g=
51
+ !a.browser.mozilla?"mousewheel":"DOMMouseScroll"+("1.9">a.browser.version?" mousemove":""),d=a.tools.scrollable;d.plugins=d.plugins||{};d.plugins.mousewheel={version:"1.0.1",conf:{api:!1,speed:50}};a.fn.mousewheel=function(b){var f=a.extend({},d.plugins.mousewheel.conf),c;"number"==typeof b&&(b={speed:b});b=a.extend(f,b);this.each(function(){var d=a(this).scrollable();d&&(c=d);d.getRoot().wheel(function(a,c){d.move(0>c?1:-1,b.speed||50);return!1})});return b.api?c:this}})(jQuery);/*
 
 
52
  : Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
53
+ @website: http://www.datejs.com/
54
  */
55
+ (function(){var a=Date,e=a.prototype,g=[],d=function(a,d){d||(d=2);return("000"+a).slice(-1*d)};a.normalizeFormat=function(a){g=[];(new Date).$format(a);return g.join("")};a.strftime=function(a,d){return(new Date(1E3*d)).$format(a)};a.strtotime=function(b){b=a.parse(b);b.addMinutes(-1*b.getTimezoneOffset());return Math.round(a.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes(),b.getUTCSeconds(),b.getUTCMilliseconds())/1E3)};e.$format=function(b){var f=this,c,e=
56
+ function(a){g.push(a);return f.toString(a)};return b?b.replace(/(%|\\)?.|%%/g,function(b){if("\\"===b.charAt(0)||"%%"===b.substring(0,2))return b.replace("\\","").replace("%%","%");switch(b){case "d":case "%d":return e("dd");case "D":case "%a":return e("ddd");case "j":case "%e":return e("d");case "l":case "%A":return e("dddd");case "N":case "%u":return f.getDay()+1;case "S":return e("S");case "w":case "%w":return f.getDay();case "z":return f.getOrdinalNumber();case "%j":return d(f.getOrdinalNumber(),
57
+ 3);case "%U":var b=f.clone().set({month:0,day:1}).addDays(-1).moveToDayOfWeek(0),k=f.clone().addDays(1).moveToDayOfWeek(0,-1);return k<b?"00":d((k.getOrdinalNumber()-b.getOrdinalNumber())/7+1);case "W":case "%V":return f.getISOWeek();case "%W":return d(f.getWeek());case "F":case "%B":return e("MMMM");case "m":case "%m":return e("MM");case "M":case "%b":case "%h":return e("MMM");case "n":return e("M");case "t":return a.getDaysInMonth(f.getFullYear(),f.getMonth());case "L":return a.isLeapYear(f.getFullYear())?
58
+ 1:0;case "o":case "%G":return f.setWeek(f.getISOWeek()).toString("yyyy");case "%g":return f.$format("%G").slice(-2);case "Y":case "%Y":return e("yyyy");case "y":case "%y":return e("yy");case "a":case "%p":return e("tt").toLowerCase();case "A":return e("tt").toUpperCase();case "g":case "%I":return e("h");case "G":return e("H");case "h":return e("hh");case "H":case "%H":return e("HH");case "i":case "%M":return e("mm");case "s":case "%S":return e("ss");case "u":return d(f.getMilliseconds(),3);case "I":return f.isDaylightSavingTime()?
59
+ 1:0;case "O":return f.getUTCOffset();case "P":return c=f.getUTCOffset(),c.substring(0,c.length-2)+":"+c.substring(c.length-2);case "e":case "T":case "%z":case "%Z":return f.getTimezone();case "Z":return-60*f.getTimezoneOffset();case "B":return b=new Date,Math.floor((3600*b.getHours()+60*b.getMinutes()+b.getSeconds()+60*(b.getTimezoneOffset()+60))/86.4);case "c":return f.toISOString().replace(/\"/g,"");case "U":return a.strtotime("now");case "%c":return e("d")+" "+e("t");case "%C":return Math.floor(f.getFullYear()/
60
+ 100+1);case "%D":return e("MM/dd/yy");case "%n":return"\\n";case "%t":return"\\t";case "%r":return e("hh:mm tt");case "%R":return e("H:mm");case "%T":return e("H:mm:ss");case "%x":return e("d");case "%X":return e("t");default:return g.push(b),b}}):this._toString()};e.format||(e.format=e.$format)})();
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: cvernon, justinstresslimit, jkudish, MaryVogt, zgrossbart
3
  Tags: posts, post, calendar, AJAX, admin, administration
4
  Requires at least: 2.8.5
5
  Tested up to: 3.3.1
6
- Stable tag: 1.9
7
 
8
  The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
9
 
@@ -167,6 +167,10 @@ Moving published posts can cause problems with some RSS feeds and is generally n
167
 
168
  == Changelog ==
169
 
 
 
 
 
170
  = 1.9 =
171
 
172
  We are now filtering out all posts with a status of inherit from the calendar so we don't show additional revisions.
3
  Tags: posts, post, calendar, AJAX, admin, administration
4
  Requires at least: 2.8.5
5
  Tested up to: 3.3.1
6
+ Stable tag: 1.9.1
7
 
8
  The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
9
 
167
 
168
  == Changelog ==
169
 
170
+ = 1.9.1 =
171
+
172
+ The calendar is no longer blocking typing in the calendar quick edit dialog.
173
+
174
  = 1.9 =
175
 
176
  We are now filtering out all posts with a status of inherit from the calendar so we don't show additional revisions.