hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [11/13] hbase-site git commit: Added hbasecon website at www.hbasecon.com
Date Tue, 21 Mar 2017 16:59:00 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/a90b1b57/www.hbasecon.com/etc/clientlibs/granite/jquery-ui.min.js
----------------------------------------------------------------------
diff --git a/www.hbasecon.com/etc/clientlibs/granite/jquery-ui.min.js b/www.hbasecon.com/etc/clientlibs/granite/jquery-ui.min.js
new file mode 100644
index 0000000..ff6bd09
--- /dev/null
+++ b/www.hbasecon.com/etc/clientlibs/granite/jquery-ui.min.js
@@ -0,0 +1,4952 @@
+/*! jQuery UI - v1.9.2 - 2012-11-23
+ * http://jqueryui.com
+ * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.slider.js, jquery.ui.sortable.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
+ * Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
+(function(b,f){var a=0,e=/^ui-id-\d+$/;
+b.ui=b.ui||{};
+if(b.ui.version){return
+}b.extend(b.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});
+b.fn.extend({_focus:b.fn.focus,focus:function(g,h){return typeof g==="number"?this.each(function(){var i=this;
+setTimeout(function(){b(i).focus();
+if(h){h.call(i)
+}},g)
+}):this._focus.apply(this,arguments)
+},scrollParent:function(){var g;
+if((b.ui.ie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){g=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(b.css(this,"position"))&&(/(auto|scroll)/).test(b.css(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x"))
+}).eq(0)
+}else{g=this.parents().filter(function(){return(/(auto|scroll)/).test(b.css(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x"))
+}).eq(0)
+}return(/fixed/).test(this.css("position"))||!g.length?b(document):g
+},zIndex:function(j){if(j!==f){return this.css("zIndex",j)
+}if(this.length){var h=b(this[0]),g,i;
+while(h.length&&h[0]!==document){g=h.css("position");
+if(g==="absolute"||g==="relative"||g==="fixed"){i=parseInt(h.css("zIndex"),10);
+if(!isNaN(i)&&i!==0){return i
+}}h=h.parent()
+}}return 0
+},uniqueId:function(){return this.each(function(){if(!this.id){this.id="ui-id-"+(++a)
+}})
+},removeUniqueId:function(){return this.each(function(){if(e.test(this.id)){b(this).removeAttr("id")
+}})
+}});
+function d(i,g){var k,j,h,l=i.nodeName.toLowerCase();
+if("area"===l){k=i.parentNode;
+j=k.name;
+if(!i.href||!j||k.nodeName.toLowerCase()!=="map"){return false
+}h=b("img[usemap=#"+j+"]")[0];
+return !!h&&c(h)
+}return(/input|select|textarea|button|object/.test(l)?!i.disabled:"a"===l?i.href||g:g)&&c(i)
+}function c(g){return b.expr.filters.visible(g)&&!b(g).parents().andSelf().filter(function(){return b.css(this,"visibility")==="hidden"
+}).length
+}b.extend(b.expr[":"],{data:b.expr.createPseudo?b.expr.createPseudo(function(g){return function(h){return !!b.data(h,g)
+}
+}):function(j,h,g){return !!b.data(j,g[3])
+},focusable:function(g){return d(g,!isNaN(b.attr(g,"tabindex")))
+},tabbable:function(i){var g=b.attr(i,"tabindex"),h=isNaN(g);
+return(h||g>=0)&&d(i,!h)
+}});
+b(function(){var g=document.body,h=g.appendChild(h=document.createElement("div"));
+h.offsetHeight;
+b.extend(h.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});
+b.support.minHeight=h.offsetHeight===100;
+b.support.selectstart="onselectstart" in h;
+g.removeChild(h).style.display="none"
+});
+if(!b("<a>").outerWidth(1).jquery){b.each(["Width","Height"],function(j,g){var h=g==="Width"?["Left","Right"]:["Top","Bottom"],k=g.toLowerCase(),m={innerWidth:b.fn.innerWidth,innerHeight:b.fn.innerHeight,outerWidth:b.fn.outerWidth,outerHeight:b.fn.outerHeight};
+function l(o,n,i,p){b.each(h,function(){n-=parseFloat(b.css(o,"padding"+this))||0;
+if(i){n-=parseFloat(b.css(o,"border"+this+"Width"))||0
+}if(p){n-=parseFloat(b.css(o,"margin"+this))||0
+}});
+return n
+}b.fn["inner"+g]=function(i){if(i===f){return m["inner"+g].call(this)
+}return this.each(function(){b(this).css(k,l(this,i)+"px")
+})
+};
+b.fn["outer"+g]=function(i,n){if(typeof i!=="number"){return m["outer"+g].call(this,i)
+}return this.each(function(){b(this).css(k,l(this,i,true,n)+"px")
+})
+}
+})
+}if(b("<a>").data("a-b","a").removeData("a-b").data("a-b")){b.fn.removeData=(function(g){return function(h){if(arguments.length){return g.call(this,b.camelCase(h))
+}else{return g.call(this)
+}}
+})(b.fn.removeData)
+}(function(){var g=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[];
+b.ui.ie=g.length?true:false;
+b.ui.ie6=parseFloat(g[1],10)===6
+})();
+b.fn.extend({disableSelection:function(){return this.bind((b.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(g){g.preventDefault()
+})
+},enableSelection:function(){return this.unbind(".ui-disableSelection")
+}});
+b.extend(b.ui,{plugin:{add:function(h,j,l){var g,k=b.ui[h].prototype;
+for(g in l){k.plugins[g]=k.plugins[g]||[];
+k.plugins[g].push([j,l[g]])
+}},call:function(g,j,h){var k,l=g.plugins[j];
+if(!l||!g.element[0].parentNode||g.element[0].parentNode.nodeType===11){return
+}for(k=0;
+k<l.length;
+k++){if(g.options[l[k][0]]){l[k][1].apply(g.element,h)
+}}}},contains:b.contains,hasScroll:function(j,h){if(b(j).css("overflow")==="hidden"){return false
+}var g=(h&&h==="left")?"scrollLeft":"scrollTop",i=false;
+if(j[g]>0){return true
+}j[g]=1;
+i=(j[g]>0);
+j[g]=0;
+return i
+},isOverAxis:function(h,g,i){return(h>g)&&(h<(g+i))
+},isOver:function(l,h,k,j,g,i){return b.ui.isOverAxis(l,k,g)&&b.ui.isOverAxis(h,j,i)
+}})
+})(jQuery);
+(function(b,e){var a=0,d=Array.prototype.slice,c=b.cleanData;
+b.cleanData=function(f){for(var g=0,h;
+(h=f[g])!=null;
+g++){try{b(h).triggerHandler("remove")
+}catch(j){}}c(f)
+};
+b.widget=function(g,j,f){var m,l,i,k,h=g.split(".")[0];
+g=g.split(".")[1];
+m=h+"-"+g;
+if(!f){f=j;
+j=b.Widget
+}b.expr[":"][m.toLowerCase()]=function(n){return !!b.data(n,m)
+};
+b[h]=b[h]||{};
+l=b[h][g];
+i=b[h][g]=function(n,o){if(!this._createWidget){return new i(n,o)
+}if(arguments.length){this._createWidget(n,o)
+}};
+b.extend(i,l,{version:f.version,_proto:b.extend({},f),_childConstructors:[]});
+k=new j();
+k.options=b.widget.extend({},k.options);
+b.each(f,function(o,n){if(b.isFunction(n)){f[o]=(function(){var p=function(){return j.prototype[o].apply(this,arguments)
+},q=function(r){return j.prototype[o].apply(this,r)
+};
+return function(){var t=this._super,r=this._superApply,s;
+this._super=p;
+this._superApply=q;
+s=n.apply(this,arguments);
+this._super=t;
+this._superApply=r;
+return s
+}
+})()
+}});
+i.prototype=b.widget.extend(k,{widgetEventPrefix:l?k.widgetEventPrefix:g},f,{constructor:i,namespace:h,widgetName:g,widgetBaseClass:m,widgetFullName:m});
+if(l){b.each(l._childConstructors,function(o,p){var n=p.prototype;
+b.widget(n.namespace+"."+n.widgetName,i,p._proto)
+});
+delete l._childConstructors
+}else{j._childConstructors.push(i)
+}b.widget.bridge(g,i)
+};
+b.widget.extend=function(k){var g=d.call(arguments,1),j=0,f=g.length,h,i;
+for(;
+j<f;
+j++){for(h in g[j]){i=g[j][h];
+if(g[j].hasOwnProperty(h)&&i!==e){if(b.isPlainObject(i)){k[h]=b.isPlainObject(k[h])?b.widget.extend({},k[h],i):b.widget.extend({},i)
+}else{k[h]=i
+}}}}return k
+};
+b.widget.bridge=function(g,f){var h=f.prototype.widgetFullName||g;
+b.fn[g]=function(k){var i=typeof k==="string",j=d.call(arguments,1),l=this;
+k=!i&&j.length?b.widget.extend.apply(null,[k].concat(j)):k;
+if(i){this.each(function(){var n,m=b.data(this,h);
+if(!m){return b.error("cannot call methods on "+g+" prior to initialization; attempted to call method '"+k+"'")
+}if(!b.isFunction(m[k])||k.charAt(0)==="_"){return b.error("no such method '"+k+"' for "+g+" widget instance")
+}n=m[k].apply(m,j);
+if(n!==m&&n!==e){l=n&&n.jquery?l.pushStack(n.get()):n;
+return false
+}})
+}else{this.each(function(){var m=b.data(this,h);
+if(m){m.option(k||{})._init()
+}else{b.data(this,h,new f(k,this))
+}})
+}return l
+}
+};
+b.Widget=function(){};
+b.Widget._childConstructors=[];
+b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:false,create:null},_createWidget:function(f,g){g=b(g||this.defaultElement||this)[0];
+this.element=b(g);
+this.uuid=a++;
+this.eventNamespace="."+this.widgetName+this.uuid;
+this.options=b.widget.extend({},this.options,this._getCreateOptions(),f);
+this.bindings=b();
+this.hoverable=b();
+this.focusable=b();
+if(g!==this){b.data(g,this.widgetName,this);
+b.data(g,this.widgetFullName,this);
+this._on(true,this.element,{remove:function(h){if(h.target===g){this.destroy()
+}}});
+this.document=b(g.style?g.ownerDocument:g.document||g);
+this.window=b(this.document[0].defaultView||this.document[0].parentWindow)
+}this._create();
+this._trigger("create",null,this._getCreateEventData());
+this._init()
+},_getCreateOptions:b.noop,_getCreateEventData:b.noop,_create:b.noop,_init:b.noop,destroy:function(){this._destroy();
+this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(b.camelCase(this.widgetFullName));
+this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");
+this.bindings.unbind(this.eventNamespace);
+this.hoverable.removeClass("ui-state-hover");
+this.focusable.removeClass("ui-state-focus")
+},_destroy:b.noop,widget:function(){return this.element
+},option:function(j,k){var f=j,l,h,g;
+if(arguments.length===0){return b.widget.extend({},this.options)
+}if(typeof j==="string"){f={};
+l=j.split(".");
+j=l.shift();
+if(l.length){h=f[j]=b.widget.extend({},this.options[j]);
+for(g=0;
+g<l.length-1;
+g++){h[l[g]]=h[l[g]]||{};
+h=h[l[g]]
+}j=l.pop();
+if(k===e){return h[j]===e?null:h[j]
+}h[j]=k
+}else{if(k===e){return this.options[j]===e?null:this.options[j]
+}f[j]=k
+}}this._setOptions(f);
+return this
+},_setOptions:function(f){var g;
+for(g in f){this._setOption(g,f[g])
+}return this
+},_setOption:function(f,g){this.options[f]=g;
+if(f==="disabled"){this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!g).attr("aria-disabled",g);
+this.hoverable.removeClass("ui-state-hover");
+this.focusable.removeClass("ui-state-focus")
+}return this
+},enable:function(){return this._setOption("disabled",false)
+},disable:function(){return this._setOption("disabled",true)
+},_on:function(i,h,g){var j,f=this;
+if(typeof i!=="boolean"){g=h;
+h=i;
+i=false
+}if(!g){g=h;
+h=this.element;
+j=this.widget()
+}else{h=j=b(h);
+this.bindings=this.bindings.add(h)
+}b.each(g,function(p,o){function m(){if(!i&&(f.options.disabled===true||b(this).hasClass("ui-state-disabled"))){return
+}return(typeof o==="string"?f[o]:o).apply(f,arguments)
+}if(typeof o!=="string"){m.guid=o.guid=o.guid||m.guid||b.guid++
+}var n=p.match(/^(\w+)\s*(.*)$/),l=n[1]+f.eventNamespace,k=n[2];
+if(k){j.delegate(k,l,m)
+}else{h.bind(l,m)
+}})
+},_off:function(g,f){f=(f||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;
+g.unbind(f).undelegate(f)
+},_delay:function(i,h){function g(){return(typeof i==="string"?f[i]:i).apply(f,arguments)
+}var f=this;
+return setTimeout(g,h||0)
+},_hoverable:function(f){this.hoverable=this.hoverable.add(f);
+this._on(f,{mouseenter:function(g){b(g.currentTarget).addClass("ui-state-hover")
+},mouseleave:function(g){b(g.currentTarget).removeClass("ui-state-hover")
+}})
+},_focusable:function(f){this.focusable=this.focusable.add(f);
+this._on(f,{focusin:function(g){b(g.currentTarget).addClass("ui-state-focus")
+},focusout:function(g){b(g.currentTarget).removeClass("ui-state-focus")
+}})
+},_trigger:function(f,g,h){var k,j,i=this.options[f];
+h=h||{};
+g=b.Event(g);
+g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();
+g.target=this.element[0];
+j=g.originalEvent;
+if(j){for(k in j){if(!(k in g)){g[k]=j[k]
+}}}this.element.trigger(g,h);
+return !(b.isFunction(i)&&i.apply(this.element[0],[g].concat(h))===false||g.isDefaultPrevented())
+}};
+b.each({show:"fadeIn",hide:"fadeOut"},function(g,f){b.Widget.prototype["_"+g]=function(j,i,l){if(typeof i==="string"){i={effect:i}
+}var k,h=!i?g:i===true||typeof i==="number"?f:i.effect||f;
+i=i||{};
+if(typeof i==="number"){i={duration:i}
+}k=!b.isEmptyObject(i);
+i.complete=l;
+if(i.delay){j.delay(i.delay)
+}if(k&&b.effects&&(b.effects.effect[h]||b.uiBackCompat!==false&&b.effects[h])){j[g](i)
+}else{if(h!==g&&j[h]){j[h](i.duration,i.easing,l)
+}else{j.queue(function(m){b(this)[g]();
+if(l){l.call(j[0])
+}m()
+})
+}}}
+});
+if(b.uiBackCompat!==false){b.Widget.prototype._getCreateOptions=function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]
+}
+}})(jQuery);
+(function(b,c){var a=false;
+b(document).mouseup(function(d){a=false
+});
+b.widget("ui.mouse",{version:"1.9.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var d=this;
+this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)
+}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");
+e.stopImmediatePropagation();
+return false
+}});
+this.started=false
+},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);
+if(this._mouseMoveDelegate){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)
+}},_mouseDown:function(f){if(a){return
+}(this._mouseStarted&&this._mouseUp(f));
+this._mouseDownEvent=f;
+var e=this,g=(f.which===1),d=(typeof this.options.cancel==="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);
+if(!g||d||!this._mouseCapture(f)){return true
+}this.mouseDelayMet=!this.options.delay;
+if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true
+},this.options.delay)
+}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);
+if(!this._mouseStarted){f.preventDefault();
+return true
+}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")
+}this._mouseMoveDelegate=function(h){return e._mouseMove(h)
+};
+this._mouseUpDelegate=function(h){return e._mouseUp(h)
+};
+b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);
+f.preventDefault();
+a=true;
+return true
+},_mouseMove:function(d){if(b.ui.ie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)
+}if(this._mouseStarted){this._mouseDrag(d);
+return d.preventDefault()
+}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);
+(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))
+}return !this._mouseStarted
+},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);
+if(this._mouseStarted){this._mouseStarted=false;
+if(d.target===this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)
+}this._mouseStop(d)
+}return false
+},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)
+},_mouseDelayMet:function(d){return this.mouseDelayMet
+},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true
+}})
+})(jQuery);
+(function(e,c){e.ui=e.ui||{};
+var i,j=Math.max,n=Math.abs,l=Math.round,d=/left|center|right/,g=/top|center|bottom/,a=/[\+\-]\d+%?/,k=/^\w+/,b=/%$/,f=e.fn.position;
+function m(q,p,o){return[parseInt(q[0],10)*(b.test(q[0])?p/100:1),parseInt(q[1],10)*(b.test(q[1])?o/100:1)]
+}function h(o,p){return parseInt(e.css(o,p),10)||0
+}e.position={scrollbarWidth:function(){if(i!==c){return i
+}var p,o,r=e("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),q=r.children()[0];
+e("body").append(r);
+p=q.offsetWidth;
+r.css("overflow","scroll");
+o=q.offsetWidth;
+if(p===o){o=r[0].clientWidth
+}r.remove();
+return(i=p-o)
+},getScrollInfo:function(s){var r=s.isWindow?"":s.element.css("overflow-x"),q=s.isWindow?"":s.element.css("overflow-y"),p=r==="scroll"||(r==="auto"&&s.width<s.element[0].scrollWidth),o=q==="scroll"||(q==="auto"&&s.height<s.element[0].scrollHeight);
+return{width:p?e.position.scrollbarWidth():0,height:o?e.position.scrollbarWidth():0}
+},getWithinInfo:function(p){var q=e(p||window),o=e.isWindow(q[0]);
+return{element:q,isWindow:o,offset:q.offset()||{left:0,top:0},scrollLeft:q.scrollLeft(),scrollTop:q.scrollTop(),width:o?q.width():q.outerWidth(),height:o?q.height():q.outerHeight()}
+}};
+e.fn.position=function(y){if(!y||!y.of){return f.apply(this,arguments)
+}y=e.extend({},y);
+var z,v,s,x,r,u=e(y.of),q=e.position.getWithinInfo(y.within),o=e.position.getScrollInfo(q),t=u[0],w=(y.collision||"flip").split(" "),p={};
+if(t.nodeType===9){v=u.width();
+s=u.height();
+x={top:0,left:0}
+}else{if(e.isWindow(t)){v=u.width();
+s=u.height();
+x={top:u.scrollTop(),left:u.scrollLeft()}
+}else{if(t.preventDefault){y.at="left top";
+v=s=0;
+x={top:t.pageY,left:t.pageX}
+}else{v=u.outerWidth();
+s=u.outerHeight();
+x=u.offset()
+}}}r=e.extend({},x);
+e.each(["my","at"],function(){var C=(y[this]||"").split(" "),B,A;
+if(C.length===1){C=d.test(C[0])?C.concat(["center"]):g.test(C[0])?["center"].concat(C):["center","center"]
+}C[0]=d.test(C[0])?C[0]:"center";
+C[1]=g.test(C[1])?C[1]:"center";
+B=a.exec(C[0]);
+A=a.exec(C[1]);
+p[this]=[B?B[0]:0,A?A[0]:0];
+y[this]=[k.exec(C[0])[0],k.exec(C[1])[0]]
+});
+if(w.length===1){w[1]=w[0]
+}if(y.at[0]==="right"){r.left+=v
+}else{if(y.at[0]==="center"){r.left+=v/2
+}}if(y.at[1]==="bottom"){r.top+=s
+}else{if(y.at[1]==="center"){r.top+=s/2
+}}z=m(p.at,v,s);
+r.left+=z[0];
+r.top+=z[1];
+return this.each(function(){var B,K,D=e(this),F=D.outerWidth(),C=D.outerHeight(),E=h(this,"marginLeft"),A=h(this,"marginTop"),J=F+E+h(this,"marginRight")+o.width,I=C+A+h(this,"marginBottom")+o.height,G=e.extend({},r),H=m(p.my,D.outerWidth(),D.outerHeight());
+if(y.my[0]==="right"){G.left-=F
+}else{if(y.my[0]==="center"){G.left-=F/2
+}}if(y.my[1]==="bottom"){G.top-=C
+}else{if(y.my[1]==="center"){G.top-=C/2
+}}G.left+=H[0];
+G.top+=H[1];
+if(!e.support.offsetFractions){G.left=l(G.left);
+G.top=l(G.top)
+}B={marginLeft:E,marginTop:A};
+e.each(["left","top"],function(M,L){if(e.ui.position[w[M]]){e.ui.position[w[M]][L](G,{targetWidth:v,targetHeight:s,elemWidth:F,elemHeight:C,collisionPosition:B,collisionWidth:J,collisionHeight:I,offset:[z[0]+H[0],z[1]+H[1]],my:y.my,at:y.at,within:q,elem:D})
+}});
+if(e.fn.bgiframe){D.bgiframe()
+}if(y.using){K=function(O){var Q=x.left-G.left,N=Q+v-F,P=x.top-G.top,M=P+s-C,L={target:{element:u,left:x.left,top:x.top,width:v,height:s},element:{element:D,left:G.left,top:G.top,width:F,height:C},horizontal:N<0?"left":Q>0?"right":"center",vertical:M<0?"top":P>0?"bottom":"middle"};
+if(v<F&&n(Q+N)<v){L.horizontal="center"
+}if(s<C&&n(P+M)<s){L.vertical="middle"
+}if(j(n(Q),n(N))>j(n(P),n(M))){L.important="horizontal"
+}else{L.important="vertical"
+}y.using.call(this,O,L)
+}
+}D.offset(e.extend(G,{using:K}))
+})
+};
+e.ui.position={fit:{left:function(s,r){var q=r.within,u=q.isWindow?q.scrollLeft:q.offset.left,w=q.width,t=s.left-r.collisionPosition.marginLeft,v=u-t,p=t+r.collisionWidth-w-u,o;
+if(r.collisionWidth>w){if(v>0&&p<=0){o=s.left+v+r.collisionWidth-w-u;
+s.left+=v-o
+}else{if(p>0&&v<=0){s.left=u
+}else{if(v>p){s.left=u+w-r.collisionWidth
+}else{s.left=u
+}}}}else{if(v>0){s.left+=v
+}else{if(p>0){s.left-=p
+}else{s.left=j(s.left-t,s.left)
+}}}},top:function(r,q){var p=q.within,v=p.isWindow?p.scrollTop:p.offset.top,w=q.within.height,t=r.top-q.collisionPosition.marginTop,u=v-t,s=t+q.collisionHeight-w-v,o;
+if(q.collisionHeight>w){if(u>0&&s<=0){o=r.top+u+q.collisionHeight-w-v;
+r.top+=u-o
+}else{if(s>0&&u<=0){r.top=v
+}else{if(u>s){r.top=v+w-q.collisionHeight
+}else{r.top=v
+}}}}else{if(u>0){r.top+=u
+}else{if(s>0){r.top-=s
+}else{r.top=j(r.top-t,r.top)
+}}}}},flip:{left:function(u,t){var s=t.within,y=s.offset.left+s.scrollLeft,B=s.width,q=s.isWindow?s.scrollLeft:s.offset.left,v=u.left-t.collisionPosition.marginLeft,z=v-q,p=v+t.collisionWidth-B-q,x=t.my[0]==="left"?-t.elemWidth:t.my[0]==="right"?t.elemWidth:0,A=t.at[0]==="left"?t.targetWidth:t.at[0]==="right"?-t.targetWidth:0,r=-2*t.offset[0],o,w;
+if(z<0){o=u.left+x+A+r+t.collisionWidth-B-y;
+if(o<0||o<n(z)){u.left+=x+A+r
+}}else{if(p>0){w=u.left-t.collisionPosition.marginLeft+x+A+r-q;
+if(w>0||n(w)<p){u.left+=x+A+r
+}}}},top:function(t,s){var r=s.within,A=r.offset.top+r.scrollTop,B=r.height,o=r.isWindow?r.scrollTop:r.offset.top,v=t.top-s.collisionPosition.marginTop,x=v-o,u=v+s.collisionHeight-B-o,y=s.my[1]==="top",w=y?-s.elemHeight:s.my[1]==="bottom"?s.elemHeight:0,C=s.at[1]==="top"?s.targetHeight:s.at[1]==="bottom"?-s.targetHeight:0,q=-2*s.offset[1],z,p;
+if(x<0){p=t.top+w+C+q+s.collisionHeight-B-A;
+if((t.top+w+C+q)>x&&(p<0||p<n(x))){t.top+=w+C+q
+}}else{if(u>0){z=t.top-s.collisionPosition.marginTop+w+C+q-o;
+if((t.top+w+C+q)>u&&(z>0||n(z)<u)){t.top+=w+C+q
+}}}}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments);
+e.ui.position.fit.left.apply(this,arguments)
+},top:function(){e.ui.position.flip.top.apply(this,arguments);
+e.ui.position.fit.top.apply(this,arguments)
+}}};
+(function(){var s,u,p,r,q,o=document.getElementsByTagName("body")[0],t=document.createElement("div");
+s=document.createElement(o?"div":"body");
+p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};
+if(o){e.extend(p,{position:"absolute",left:"-1000px",top:"-1000px"})
+}for(q in p){s.style[q]=p[q]
+}s.appendChild(t);
+u=o||document.documentElement;
+u.insertBefore(s,u.firstChild);
+t.style.cssText="position: absolute; left: 10.7432222px;";
+r=e(t).offset().left;
+e.support.offsetFractions=r>10&&r<11;
+s.innerHTML="";
+u.removeChild(s)
+})();
+if(e.uiBackCompat!==false){(function(p){var o=p.fn.position;
+p.fn.position=function(r){if(!r||!r.offset){return o.call(this,r)
+}var s=r.offset.split(" "),q=r.at.split(" ");
+if(s.length===1){s[1]=s[0]
+}if(/^\d/.test(s[0])){s[0]="+"+s[0]
+}if(/^\d/.test(s[1])){s[1]="+"+s[1]
+}if(q.length===1){if(/left|center|right/.test(q[0])){q[1]="center"
+}else{q[1]=q[0];
+q[0]="center"
+}}return o.call(this,p.extend(r,{at:q[0]+s[0]+" "+q[1]+s[1],offset:c}))
+}
+}(jQuery))
+}}(jQuery));
+(function(d,e){var b=0,c={},a={};
+c.height=c.paddingTop=c.paddingBottom=c.borderTopWidth=c.borderBottomWidth="hide";
+a.height=a.paddingTop=a.paddingBottom=a.borderTopWidth=a.borderBottomWidth="show";
+d.widget("ui.accordion",{version:"1.9.2",options:{active:0,animate:{},collapsible:false,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var g=this.accordionId="ui-accordion-"+(this.element.attr("id")||++b),f=this.options;
+this.prevShow=this.prevHide=d();
+this.element.addClass("ui-accordion ui-widget ui-helper-reset");
+this.headers=this.element.find(f.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all");
+this._hoverable(this.headers);
+this._focusable(this.headers);
+this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide();
+if(!f.collapsible&&(f.active===false||f.active==null)){f.active=0
+}if(f.active<0){f.active+=this.headers.length
+}this.active=this._findActive(f.active).addClass("ui-accordion-header-active ui-state-active").toggleClass("ui-corner-all ui-corner-top");
+this.active.next().addClass("ui-accordion-content-active").show();
+this._createIcons();
+this.refresh();
+this.element.attr("role","tablist");
+this.headers.attr("role","tab").each(function(l){var m=d(this),k=m.attr("id"),h=m.next(),j=h.attr("id");
+if(!k){k=g+"-header-"+l;
+m.attr("id",k)
+}if(!j){j=g+"-panel-"+l;
+h.attr("id",j)
+}m.attr("aria-controls",j);
+h.attr("aria-labelledby",k)
+}).next().attr("role","tabpanel");
+this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide();
+if(!this.active.length){this.headers.eq(0).attr("tabIndex",0)
+}else{this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"})
+}this._on(this.headers,{keydown:"_keydown"});
+this._on(this.headers.next(),{keydown:"_panelKeyDown"});
+this._setupEvents(f.event)
+},_getCreateEventData:function(){return{header:this.active,content:!this.active.length?d():this.active.next()}
+},_createIcons:function(){var f=this.options.icons;
+if(f){d("<span>").addClass("ui-accordion-header-icon ui-icon "+f.header).prependTo(this.headers);
+this.active.children(".ui-accordion-header-icon").removeClass(f.header).addClass(f.activeHeader);
+this.headers.addClass("ui-accordion-icons")
+}},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()
+},_destroy:function(){var f;
+this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");
+this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){if(/^ui-accordion/.test(this.id)){this.removeAttribute("id")
+}});
+this._destroyIcons();
+f=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){if(/^ui-accordion/.test(this.id)){this.removeAttribute("id")
+}});
+if(this.options.heightStyle!=="content"){f.css("height","")
+}},_setOption:function(f,g){if(f==="active"){this._activate(g);
+return
+}if(f==="event"){if(this.options.event){this._off(this.headers,this.options.event)
+}this._setupEvents(g)
+}this._super(f,g);
+if(f==="collapsible"&&!g&&this.options.active===false){this._activate(0)
+}if(f==="icons"){this._destroyIcons();
+if(g){this._createIcons()
+}}if(f==="disabled"){this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!g)
+}},_keydown:function(i){if(i.altKey||i.ctrlKey){return
+}var j=d.ui.keyCode,h=this.headers.length,f=this.headers.index(i.target),g=false;
+switch(i.keyCode){case j.RIGHT:case j.DOWN:g=this.headers[(f+1)%h];
+break;
+case j.LEFT:case j.UP:g=this.headers[(f-1+h)%h];
+break;
+case j.SPACE:case j.ENTER:this._eventHandler(i);
+break;
+case j.HOME:g=this.headers[0];
+break;
+case j.END:g=this.headers[h-1];
+break
+}if(g){d(i.target).attr("tabIndex",-1);
+d(g).attr("tabIndex",0);
+g.focus();
+i.preventDefault()
+}},_panelKeyDown:function(f){if(f.keyCode===d.ui.keyCode.UP&&f.ctrlKey){d(f.currentTarget).prev().focus()
+}},refresh:function(){var h,i,f=this.options.heightStyle,g=this.element.parent();
+if(f==="fill"){if(!d.support.minHeight){i=g.css("overflow");
+g.css("overflow","hidden")
+}h=g.height();
+this.element.siblings(":visible").each(function(){var k=d(this),j=k.css("position");
+if(j==="absolute"||j==="fixed"){return
+}h-=k.outerHeight(true)
+});
+if(i){g.css("overflow",i)
+}this.headers.each(function(){h-=d(this).outerHeight(true)
+});
+this.headers.next().each(function(){d(this).height(Math.max(0,h-d(this).innerHeight()+d(this).height()))
+}).css("overflow","auto")
+}else{if(f==="auto"){h=0;
+this.headers.next().each(function(){h=Math.max(h,d(this).css("height","").height())
+}).height(h)
+}}},_activate:function(f){var g=this._findActive(f)[0];
+if(g===this.active[0]){return
+}g=g||this.active[0];
+this._eventHandler({target:g,currentTarget:g,preventDefault:d.noop})
+},_findActive:function(f){return typeof f==="number"?this.headers.eq(f):d()
+},_setupEvents:function(g){var f={};
+if(!g){return
+}d.each(g.split(" "),function(i,h){f[h]="_eventHandler"
+});
+this._on(this.headers,f)
+},_eventHandler:function(f){var n=this.options,i=this.active,j=d(f.currentTarget),l=j[0]===i[0],g=l&&n.collapsible,h=g?d():j.next(),k=i.next(),m={oldHeader:i,oldPanel:k,newHeader:g?d():j,newPanel:h};
+f.preventDefault();
+if((l&&!n.collapsible)||(this._trigger("beforeActivate",f,m)===false)){return
+}n.active=g?false:this.headers.index(j);
+this.active=l?d():j;
+this._toggle(m);
+i.removeClass("ui-accordion-header-active ui-state-active");
+if(n.icons){i.children(".ui-accordion-header-icon").removeClass(n.icons.activeHeader).addClass(n.icons.header)
+}if(!l){j.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top");
+if(n.icons){j.children(".ui-accordion-header-icon").removeClass(n.icons.header).addClass(n.icons.activeHeader)
+}j.next().addClass("ui-accordion-content-active")
+}},_toggle:function(h){var f=h.newPanel,g=this.prevShow.length?this.prevShow:h.oldPanel;
+this.prevShow.add(this.prevHide).stop(true,true);
+this.prevShow=f;
+this.prevHide=g;
+if(this.options.animate){this._animate(f,g,h)
+}else{g.hide();
+f.show();
+this._toggleComplete(h)
+}g.attr({"aria-expanded":"false","aria-hidden":"true"});
+g.prev().attr("aria-selected","false");
+if(f.length&&g.length){g.prev().attr("tabIndex",-1)
+}else{if(f.length){this.headers.filter(function(){return d(this).attr("tabIndex")===0
+}).attr("tabIndex",-1)
+}}f.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})
+},_animate:function(f,n,j){var m,l,i,k=this,o=0,p=f.length&&(!n.length||(f.index()<n.index())),h=this.options.animate||{},q=p&&h.down||h,g=function(){k._toggleComplete(j)
+};
+if(typeof q==="number"){i=q
+}if(typeof q==="string"){l=q
+}l=l||q.easing||h.easing;
+i=i||q.duration||h.duration;
+if(!n.length){return f.animate(a,i,l,g)
+}if(!f.length){return n.animate(c,i,l,g)
+}m=f.show().outerHeight();
+n.animate(c,{duration:i,easing:l,step:function(r,s){s.now=Math.round(r)
+}});
+f.hide().animate(a,{duration:i,easing:l,complete:g,step:function(r,s){s.now=Math.round(r);
+if(s.prop!=="height"){o+=s.now
+}else{if(k.options.heightStyle!=="content"){s.now=Math.round(m-n.outerHeight()-o);
+o=0
+}}}})
+},_toggleComplete:function(g){var f=g.oldPanel;
+f.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all");
+if(f.length){f.parent()[0].className=f.parent()[0].className
+}this._trigger("activate",null,g)
+}});
+if(d.uiBackCompat!==false){(function(g,f){g.extend(f.options,{navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()
+}});
+var h=f._create;
+f._create=function(){if(this.options.navigation){var j=this,l=this.element.find(this.options.header),i=l.next(),k=l.add(i).find("a").filter(this.options.navigationFilter)[0];
+if(k){l.add(i).each(function(m){if(g.contains(this,k)){j.options.active=Math.floor(m/2);
+return false
+}})
+}}h.call(this)
+}
+}(jQuery,jQuery.ui.accordion.prototype));
+(function(h,f){h.extend(f.options,{heightStyle:null,autoHeight:true,clearStyle:false,fillSpace:false});
+var i=f._create,g=f._setOption;
+h.extend(f,{_create:function(){this.options.heightStyle=this.options.heightStyle||this._mergeHeightStyle();
+i.call(this)
+},_setOption:function(j){if(j==="autoHeight"||j==="clearStyle"||j==="fillSpace"){this.options.heightStyle=this._mergeHeightStyle()
+}g.apply(this,arguments)
+},_mergeHeightStyle:function(){var j=this.options;
+if(j.fillSpace){return"fill"
+}if(j.clearStyle){return"content"
+}if(j.autoHeight){return"auto"
+}}})
+}(jQuery,jQuery.ui.accordion.prototype));
+(function(h,g){h.extend(g.options.icons,{activeHeader:null,headerSelected:"ui-icon-triangle-1-s"});
+var f=g._createIcons;
+g._createIcons=function(){if(this.options.icons){this.options.icons.activeHeader=this.options.icons.activeHeader||this.options.icons.headerSelected
+}f.call(this)
+}
+}(jQuery,jQuery.ui.accordion.prototype));
+(function(h,g){g.activate=g._activate;
+var f=g._findActive;
+g._findActive=function(i){if(i===-1){i=false
+}if(i&&typeof i!=="number"){i=this.headers.index(this.headers.filter(i));
+if(i===-1){i=false
+}}return f.call(this,i)
+}
+}(jQuery,jQuery.ui.accordion.prototype));
+jQuery.ui.accordion.prototype.resize=jQuery.ui.accordion.prototype.refresh;
+(function(h,g){h.extend(g.options,{change:null,changestart:null});
+var f=g._trigger;
+g._trigger=function(j,k,l){var i=f.apply(this,arguments);
+if(!i){return false
+}if(j==="beforeActivate"){i=f.call(this,"changestart",k,{oldHeader:l.oldHeader,oldContent:l.oldPanel,newHeader:l.newHeader,newContent:l.newPanel})
+}else{if(j==="activate"){i=f.call(this,"change",k,{oldHeader:l.oldHeader,oldContent:l.oldPanel,newHeader:l.newHeader,newContent:l.newPanel})
+}}return i
+}
+}(jQuery,jQuery.ui.accordion.prototype));
+(function(g,f){g.extend(f.options,{animate:null,animated:"slide"});
+var h=f._create;
+f._create=function(){var i=this.options;
+if(i.animate===null){if(!i.animated){i.animate=false
+}else{if(i.animated==="slide"){i.animate=300
+}else{if(i.animated==="bounceslide"){i.animate={duration:200,down:{easing:"easeOutBounce",duration:1000}}
+}else{i.animate=i.animated
+}}}}h.call(this)
+}
+}(jQuery,jQuery.ui.accordion.prototype))
+}})(jQuery);
+(function(a,b){var c=0;
+a.widget("ui.autocomplete",{version:"1.9.2",defaultElement:"<input>",options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var e,d,f;
+this.isMultiLine=this._isMultiLine();
+this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"];
+this.isNewMenu=true;
+this.element.addClass("ui-autocomplete-input").attr("autocomplete","off");
+this._on(this.element,{keydown:function(g){if(this.element.prop("readOnly")){e=true;
+f=true;
+d=true;
+return
+}e=false;
+f=false;
+d=false;
+var h=a.ui.keyCode;
+switch(g.keyCode){case h.PAGE_UP:e=true;
+this._move("previousPage",g);
+break;
+case h.PAGE_DOWN:e=true;
+this._move("nextPage",g);
+break;
+case h.UP:e=true;
+this._keyEvent("previous",g);
+break;
+case h.DOWN:e=true;
+this._keyEvent("next",g);
+break;
+case h.ENTER:case h.NUMPAD_ENTER:if(this.menu.active){e=true;
+g.preventDefault();
+this.menu.select(g)
+}break;
+case h.TAB:if(this.menu.active){this.menu.select(g)
+}break;
+case h.ESCAPE:if(this.menu.element.is(":visible")){this._value(this.term);
+this.close(g);
+g.preventDefault()
+}break;
+default:d=true;
+this._searchTimeout(g);
+break
+}},keypress:function(g){if(e){e=false;
+g.preventDefault();
+return
+}if(d){return
+}var h=a.ui.keyCode;
+switch(g.keyCode){case h.PAGE_UP:this._move("previousPage",g);
+break;
+case h.PAGE_DOWN:this._move("nextPage",g);
+break;
+case h.UP:this._keyEvent("previous",g);
+break;
+case h.DOWN:this._keyEvent("next",g);
+break
+}},input:function(g){if(f){f=false;
+g.preventDefault();
+return
+}this._searchTimeout(g)
+},focus:function(){this.selectedItem=null;
+this.previous=this._value()
+},blur:function(g){if(this.cancelBlur){delete this.cancelBlur;
+return
+}clearTimeout(this.searching);
+this.close(g);
+this._change(g)
+}});
+this._initSource();
+this.menu=a("<ul>").addClass("ui-autocomplete").appendTo(this.document.find(this.options.appendTo||"body")[0]).menu({input:a(),role:null}).zIndex(this.element.zIndex()+1).hide().data("menu");
+this._on(this.menu.element,{mousedown:function(g){g.preventDefault();
+this.cancelBlur=true;
+this._delay(function(){delete this.cancelBlur
+});
+var h=this.menu.element[0];
+if(!a(g.target).closest(".ui-menu-item").length){this._delay(function(){var i=this;
+this.document.one("mousedown",function(j){if(j.target!==i.element[0]&&j.target!==h&&!a.contains(h,j.target)){i.close()
+}})
+})
+}},menufocus:function(h,i){if(this.isNewMenu){this.isNewMenu=false;
+if(h.originalEvent&&/^mouse/.test(h.originalEvent.type)){this.menu.blur();
+this.document.one("mousemove",function(){a(h.target).trigger(h.originalEvent)
+});
+return
+}}var g=i.item.data("ui-autocomplete-item")||i.item.data("item.autocomplete");
+if(false!==this._trigger("focus",h,{item:g})){if(h.originalEvent&&/^key/.test(h.originalEvent.type)){this._value(g.value)
+}}else{this.liveRegion.text(g.value)
+}},menuselect:function(i,j){var h=j.item.data("ui-autocomplete-item")||j.item.data("item.autocomplete"),g=this.previous;
+if(this.element[0]!==this.document[0].activeElement){this.element.focus();
+this.previous=g;
+this._delay(function(){this.previous=g;
+this.selectedItem=h
+})
+}if(false!==this._trigger("select",i,{item:h})){this._value(h.value)
+}this.term=this._value();
+this.close(i);
+this.selectedItem=h
+}});
+this.liveRegion=a("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element);
+if(a.fn.bgiframe){this.menu.element.bgiframe()
+}this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")
+}})
+},_destroy:function(){clearTimeout(this.searching);
+this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete");
+this.menu.element.remove();
+this.liveRegion.remove()
+},_setOption:function(d,e){this._super(d,e);
+if(d==="source"){this._initSource()
+}if(d==="appendTo"){this.menu.element.appendTo(this.document.find(e||"body")[0])
+}if(d==="disabled"&&e&&this.xhr){this.xhr.abort()
+}},_isMultiLine:function(){if(this.element.is("textarea")){return true
+}if(this.element.is("input")){return false
+}return this.element.prop("isContentEditable")
+},_initSource:function(){var f,d,e=this;
+if(a.isArray(this.options.source)){f=this.options.source;
+this.source=function(h,g){g(a.ui.autocomplete.filter(f,h.term))
+}
+}else{if(typeof this.options.source==="string"){d=this.options.source;
+this.source=function(h,g){if(e.xhr){e.xhr.abort()
+}e.xhr=a.ajax({url:d,data:h,dataType:"json",success:function(i){g(i)
+},error:function(){g([])
+}})
+}
+}else{this.source=this.options.source
+}}},_searchTimeout:function(d){clearTimeout(this.searching);
+this.searching=this._delay(function(){if(this.term!==this._value()){this.selectedItem=null;
+this.search(null,d)
+}},this.options.delay)
+},search:function(e,d){e=e!=null?e:this._value();
+this.term=this._value();
+if(e.length<this.options.minLength){return this.close(d)
+}if(this._trigger("search",d)===false){return
+}return this._search(e)
+},_search:function(d){this.pending++;
+this.element.addClass("ui-autocomplete-loading");
+this.cancelSearch=false;
+this.source({term:d},this._response())
+},_response:function(){var e=this,d=++c;
+return function(f){if(d===c){e.__response(f)
+}e.pending--;
+if(!e.pending){e.element.removeClass("ui-autocomplete-loading")
+}}
+},__response:function(d){if(d){d=this._normalize(d)
+}this._trigger("response",null,{content:d});
+if(!this.options.disabled&&d&&d.length&&!this.cancelSearch){this._suggest(d);
+this._trigger("open")
+}else{this._close()
+}},close:function(d){this.cancelSearch=true;
+this._close(d)
+},_close:function(d){if(this.menu.element.is(":visible")){this.menu.element.hide();
+this.menu.blur();
+this.isNewMenu=true;
+this._trigger("close",d)
+}},_change:function(d){if(this.previous!==this._value()){this._trigger("change",d,{item:this.selectedItem})
+}},_normalize:function(d){if(d.length&&d[0].label&&d[0].value){return d
+}return a.map(d,function(e){if(typeof e==="string"){return{label:e,value:e}
+}return a.extend({label:e.label||e.value,value:e.value||e.label},e)
+})
+},_suggest:function(d){var e=this.menu.element.empty().zIndex(this.element.zIndex()+1);
+this._renderMenu(e,d);
+this.menu.refresh();
+e.show();
+this._resizeMenu();
+e.position(a.extend({of:this.element},this.options.position));
+if(this.options.autoFocus){this.menu.next()
+}},_resizeMenu:function(){var d=this.menu.element;
+d.outerWidth(Math.max(d.width("").outerWidth()+1,this.element.outerWidth()))
+},_renderMenu:function(e,d){var f=this;
+a.each(d,function(g,h){f._renderItemData(e,h)
+})
+},_renderItemData:function(d,e){return this._renderItem(d,e).data("ui-autocomplete-item",e)
+},_renderItem:function(d,e){return a("<li>").append(a("<a>").text(e.label)).appendTo(d)
+},_move:function(e,d){if(!this.menu.element.is(":visible")){this.search(null,d);
+return
+}if(this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)){this._value(this.term);
+this.menu.blur();
+return
+}this.menu[e](d)
+},widget:function(){return this.menu.element
+},_value:function(){return this.valueMethod.apply(this.element,arguments)
+},_keyEvent:function(e,d){if(!this.isMultiLine||this.menu.element.is(":visible")){this._move(e,d);
+d.preventDefault()
+}}});
+a.extend(a.ui.autocomplete,{escapeRegex:function(d){return d.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")
+},filter:function(f,d){var e=new RegExp(a.ui.autocomplete.escapeRegex(d),"i");
+return a.grep(f,function(g){return e.test(g.label||g.value||g)
+})
+}});
+a.widget("ui.autocomplete",a.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(d){return d+(d>1?" results are":" result is")+" available, use up and down arrow keys to navigate."
+}}},__response:function(e){var d;
+this._superApply(arguments);
+if(this.options.disabled||this.cancelSearch){return
+}if(e&&e.length){d=this.options.messages.results(e.length)
+}else{d=this.options.messages.noResults
+}this.liveRegion.text(d)
+}})
+}(jQuery));
+(function(f,b){var k,e,a,h,i="ui-button ui-widget ui-state-default ui-corner-all",c="ui-state-hover ui-state-active ",g="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",j=function(){var l=f(this).find(":ui-button");
+setTimeout(function(){l.button("refresh")
+},1)
+},d=function(m){var l=m.name,n=m.form,o=f([]);
+if(l){if(n){o=f(n).find("[name='"+l+"']")
+}else{o=f("[name='"+l+"']",m.ownerDocument).filter(function(){return !this.form
+})
+}}return o
+};
+f.widget("ui.button",{version:"1.9.2",defaultElement:"<button>",options:{disabled:null,text:true,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,j);
+if(typeof this.options.disabled!=="boolean"){this.options.disabled=!!this.element.prop("disabled")
+}else{this.element.prop("disabled",this.options.disabled)
+}this._determineButtonType();
+this.hasTitle=!!this.buttonElement.attr("title");
+var o=this,m=this.options,p=this.type==="checkbox"||this.type==="radio",n=!p?"ui-state-active":"",l="ui-state-focus";
+if(m.label===null){m.label=(this.type==="input"?this.buttonElement.val():this.buttonElement.html())
+}this._hoverable(this.buttonElement);
+this.buttonElement.addClass(i).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){if(m.disabled){return
+}if(this===k){f(this).addClass("ui-state-active")
+}}).bind("mouseleave"+this.eventNamespace,function(){if(m.disabled){return
+}f(this).removeClass(n)
+}).bind("click"+this.eventNamespace,function(q){if(m.disabled){q.preventDefault();
+q.stopImmediatePropagation()
+}});
+this.element.bind("focus"+this.eventNamespace,function(){o.buttonElement.addClass(l)
+}).bind("blur"+this.eventNamespace,function(){o.buttonElement.removeClass(l)
+});
+if(p){this.element.bind("change"+this.eventNamespace,function(){if(h){return
+}o.refresh()
+});
+this.buttonElement.bind("mousedown"+this.eventNamespace,function(q){if(m.disabled){return
+}h=false;
+e=q.pageX;
+a=q.pageY
+}).bind("mouseup"+this.eventNamespace,function(q){if(m.disabled){return
+}if(e!==q.pageX||a!==q.pageY){h=true
+}})
+}if(this.type==="checkbox"){this.buttonElement.bind("click"+this.eventNamespace,function(){if(m.disabled||h){return false
+}f(this).toggleClass("ui-state-active");
+o.buttonElement.attr("aria-pressed",o.element[0].checked)
+})
+}else{if(this.type==="radio"){this.buttonElement.bind("click"+this.eventNamespace,function(){if(m.disabled||h){return false
+}f(this).addClass("ui-state-active");
+o.buttonElement.attr("aria-pressed","true");
+var q=o.element[0];
+d(q).not(q).map(function(){return f(this).button("widget")[0]
+}).removeClass("ui-state-active").attr("aria-pressed","false")
+})
+}else{this.buttonElement.bind("mousedown"+this.eventNamespace,function(){if(m.disabled){return false
+}f(this).addClass("ui-state-active");
+k=this;
+o.document.one("mouseup",function(){k=null
+})
+}).bind("mouseup"+this.eventNamespace,function(){if(m.disabled){return false
+}f(this).removeClass("ui-state-active")
+}).bind("keydown"+this.eventNamespace,function(q){if(m.disabled){return false
+}if(q.keyCode===f.ui.keyCode.SPACE||q.keyCode===f.ui.keyCode.ENTER){f(this).addClass("ui-state-active")
+}}).bind("keyup"+this.eventNamespace,function(){f(this).removeClass("ui-state-active")
+});
+if(this.buttonElement.is("a")){this.buttonElement.keyup(function(q){if(q.keyCode===f.ui.keyCode.SPACE){f(this).click()
+}})
+}}}this._setOption("disabled",m.disabled);
+this._resetButton()
+},_determineButtonType:function(){var l,n,m;
+if(this.element.is("[type=checkbox]")){this.type="checkbox"
+}else{if(this.element.is("[type=radio]")){this.type="radio"
+}else{if(this.element.is("input")){this.type="input"
+}else{this.type="button"
+}}}if(this.type==="checkbox"||this.type==="radio"){l=this.element.parents().last();
+n="label[for='"+this.element.attr("id")+"']";
+this.buttonElement=l.find(n);
+if(!this.buttonElement.length){l=l.length?l.siblings():this.element.siblings();
+this.buttonElement=l.filter(n);
+if(!this.buttonElement.length){this.buttonElement=l.find(n)
+}}this.element.addClass("ui-helper-hidden-accessible");
+m=this.element.is(":checked");
+if(m){this.buttonElement.addClass("ui-state-active")
+}this.buttonElement.prop("aria-pressed",m)
+}else{this.buttonElement=this.element
+}},widget:function(){return this.buttonElement
+},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");
+this.buttonElement.removeClass(i+" "+c+" "+g).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());
+if(!this.hasTitle){this.buttonElement.removeAttr("title")
+}},_setOption:function(l,m){this._super(l,m);
+if(l==="disabled"){if(m){this.element.prop("disabled",true)
+}else{this.element.prop("disabled",false)
+}return
+}this._resetButton()
+},refresh:function(){var l=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");
+if(l!==this.options.disabled){this._setOption("disabled",l)
+}if(this.type==="radio"){d(this.element[0]).each(function(){if(f(this).is(":checked")){f(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true")
+}else{f(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")
+}})
+}else{if(this.type==="checkbox"){if(this.element.is(":checked")){this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true")
+}else{this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false")
+}}}},_resetButton:function(){if(this.type==="input"){if(this.options.label){this.element.val(this.options.label)
+}return
+}var p=this.buttonElement.removeClass(g),n=f("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(p.empty()).text(),m=this.options.icons,l=m.primary&&m.secondary,o=[];
+if(m.primary||m.secondary){if(this.options.text){o.push("ui-button-text-icon"+(l?"s":(m.primary?"-primary":"-secondary")))
+}if(m.primary){p.prepend("<span class='ui-button-icon-primary ui-icon "+m.primary+"'></span>")
+}if(m.secondary){p.append("<span class='ui-button-icon-secondary ui-icon "+m.secondary+"'></span>")
+}if(!this.options.text){o.push(l?"ui-button-icons-only":"ui-button-icon-only");
+if(!this.hasTitle){p.attr("title",f.trim(n))
+}}}else{o.push("ui-button-text-only")
+}p.addClass(o.join(" "))
+}});
+f.widget("ui.buttonset",{version:"1.9.2",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")
+},_init:function(){this.refresh()
+},_setOption:function(l,m){if(l==="disabled"){this.buttons.button("option",l,m)
+}this._super(l,m)
+},refresh:function(){var l=this.element.css("direction")==="rtl";
+this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return f(this).button("widget")[0]
+}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(l?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(l?"ui-corner-left":"ui-corner-right").end().end()
+},_destroy:function(){this.element.removeClass("ui-buttonset");
+this.buttons.map(function(){return f(this).button("widget")[0]
+}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")
+}})
+}(jQuery));
+(function($,undefined){$.extend($.ui,{datepicker:{version:"1.9.2"}});
+var PROP_NAME="datepicker";
+var dpuuid=new Date().getTime();
+var instActive;
+function Datepicker(){this.debug=false;
+this._curInst=null;
+this._keyEvent=false;
+this._disabledInputs=[];
+this._datepickerShowing=false;
+this._inDialog=false;
+this._mainDivId="ui-datepicker-div";
+this._inlineClass="ui-datepicker-inline";
+this._appendClass="ui-datepicker-append";
+this._triggerClass="ui-datepicker-trigger";
+this._dialogClass="ui-datepicker-dialog";
+this._disableClass="ui-datepicker-disabled";
+this._unselectableClass="ui-datepicker-unselectable";
+this._currentClass="ui-datepicker-current-day";
+this._dayOverClass="ui-datepicker-days-cell-over";
+this.regional=[];
+this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:""};
+this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:"c-10:c+10",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false,disabled:false};
+$.extend(this._defaults,this.regional[""]);
+this.dpDiv=bindHover($('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))
+}$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){if(this.debug){console.log.apply("",arguments)
+}},_widgetDatepicker:function(){return this.dpDiv
+},setDefaults:function(settings){extendRemove(this._defaults,settings||{});
+return this
+},_attachDatepicker:function(target,settings){var inlineSettings=null;
+for(var attrName in this._defaults){var attrValue=target.getAttribute("date:"+attrName);
+if(attrValue){inlineSettings=inlineSettings||{};
+try{inlineSettings[attrName]=eval(attrValue)
+}catch(err){inlineSettings[attrName]=attrValue
+}}}var nodeName=target.nodeName.toLowerCase();
+var inline=(nodeName=="div"||nodeName=="span");
+if(!target.id){this.uuid+=1;
+target.id="dp"+this.uuid
+}var inst=this._newInst($(target),inline);
+inst.settings=$.extend({},settings||{},inlineSettings||{});
+if(nodeName=="input"){this._connectDatepicker(target,inst)
+}else{if(inline){this._inlineDatepicker(target,inst)
+}}},_newInst:function(target,inline){var id=target[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");
+return{id:id,input:target,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:inline,dpDiv:(!inline?this.dpDiv:bindHover($('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')))}
+},_connectDatepicker:function(target,inst){var input=$(target);
+inst.append=$([]);
+inst.trigger=$([]);
+if(input.hasClass(this.markerClassName)){return
+}this._attachments(input,inst);
+input.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value
+}).bind("getData.datepicker",function(event,key){return this._get(inst,key)
+});
+this._autoSize(inst);
+$.data(target,PROP_NAME,inst);
+if(inst.settings.disabled){this._disableDatepicker(target)
+}},_attachments:function(input,inst){var appendText=this._get(inst,"appendText");
+var isRTL=this._get(inst,"isRTL");
+if(inst.append){inst.append.remove()
+}if(appendText){inst.append=$('<span class="'+this._appendClass+'">'+appendText+"</span>");
+input[isRTL?"before":"after"](inst.append)
+}input.unbind("focus",this._showDatepicker);
+if(inst.trigger){inst.trigger.remove()
+}var showOn=this._get(inst,"showOn");
+if(showOn=="focus"||showOn=="both"){input.focus(this._showDatepicker)
+}if(showOn=="button"||showOn=="both"){var buttonText=this._get(inst,"buttonText");
+var buttonImage=this._get(inst,"buttonImage");
+inst.trigger=$(this._get(inst,"buttonImageOnly")?$("<img/>").addClass(this._triggerClass).attr({src:buttonImage,alt:buttonText,title:buttonText}):$('<button type="button"></button>').addClass(this._triggerClass).html(buttonImage==""?buttonText:$("<img/>").attr({src:buttonImage,alt:buttonText,title:buttonText})));
+input[isRTL?"before":"after"](inst.trigger);
+inst.trigger.click(function(){if($.datepicker._datepickerShowing&&$.datepicker._lastInput==input[0]){$.datepicker._hideDatepicker()
+}else{if($.datepicker._datepickerShowing&&$.datepicker._lastInput!=input[0]){$.datepicker._hideDatepicker();
+$.datepicker._showDatepicker(input[0])
+}else{$.datepicker._showDatepicker(input[0])
+}}return false
+})
+}},_autoSize:function(inst){if(this._get(inst,"autoSize")&&!inst.inline){var date=new Date(2009,12-1,20);
+var dateFormat=this._get(inst,"dateFormat");
+if(dateFormat.match(/[DM]/)){var findMax=function(names){var max=0;
+var maxI=0;
+for(var i=0;
+i<names.length;
+i++){if(names[i].length>max){max=names[i].length;
+maxI=i
+}}return maxI
+};
+date.setMonth(findMax(this._get(inst,(dateFormat.match(/MM/)?"monthNames":"monthNamesShort"))));
+date.setDate(findMax(this._get(inst,(dateFormat.match(/DD/)?"dayNames":"dayNamesShort")))+20-date.getDay())
+}inst.input.attr("size",this._formatDate(inst,date).length)
+}},_inlineDatepicker:function(target,inst){var divSpan=$(target);
+if(divSpan.hasClass(this.markerClassName)){return
+}divSpan.addClass(this.markerClassName).append(inst.dpDiv).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value
+}).bind("getData.datepicker",function(event,key){return this._get(inst,key)
+});
+$.data(target,PROP_NAME,inst);
+this._setDate(inst,this._getDefaultDate(inst),true);
+this._updateDatepicker(inst);
+this._updateAlternate(inst);
+if(inst.settings.disabled){this._disableDatepicker(target)
+}inst.dpDiv.css("display","block")
+},_dialogDatepicker:function(input,date,onSelect,settings,pos){var inst=this._dialogInst;
+if(!inst){this.uuid+=1;
+var id="dp"+this.uuid;
+this._dialogInput=$('<input type="text" id="'+id+'" style="position: absolute; top: -100px; width: 0px;"/>');
+this._dialogInput.keydown(this._doKeyDown);
+$("body").append(this._dialogInput);
+inst=this._dialogInst=this._newInst(this._dialogInput,false);
+inst.settings={};
+$.data(this._dialogInput[0],PROP_NAME,inst)
+}extendRemove(inst.settings,settings||{});
+date=(date&&date.constructor==Date?this._formatDate(inst,date):date);
+this._dialogInput.val(date);
+this._pos=(pos?(pos.length?pos:[pos.pageX,pos.pageY]):null);
+if(!this._pos){var browserWidth=document.documentElement.clientWidth;
+var browserHeight=document.documentElement.clientHeight;
+var scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;
+var scrollY=document.documentElement.scrollTop||document.body.scrollTop;
+this._pos=[(browserWidth/2)-100+scrollX,(browserHeight/2)-150+scrollY]
+}this._dialogInput.css("left",(this._pos[0]+20)+"px").css("top",this._pos[1]+"px");
+inst.settings.onSelect=onSelect;
+this._inDialog=true;
+this.dpDiv.addClass(this._dialogClass);
+this._showDatepicker(this._dialogInput[0]);
+if($.blockUI){$.blockUI(this.dpDiv)
+}$.data(this._dialogInput[0],PROP_NAME,inst);
+return this
+},_destroyDatepicker:function(target){var $target=$(target);
+var inst=$.data(target,PROP_NAME);
+if(!$target.hasClass(this.markerClassName)){return
+}var nodeName=target.nodeName.toLowerCase();
+$.removeData(target,PROP_NAME);
+if(nodeName=="input"){inst.append.remove();
+inst.trigger.remove();
+$target.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)
+}else{if(nodeName=="div"||nodeName=="span"){$target.removeClass(this.markerClassName).empty()
+}}},_enableDatepicker:function(target){var $target=$(target);
+var inst=$.data(target,PROP_NAME);
+if(!$target.hasClass(this.markerClassName)){return
+}var nodeName=target.nodeName.toLowerCase();
+if(nodeName=="input"){target.disabled=false;
+inst.trigger.filter("button").each(function(){this.disabled=false
+}).end().filter("img").css({opacity:"1.0",cursor:""})
+}else{if(nodeName=="div"||nodeName=="span"){var inline=$target.children("."+this._inlineClass);
+inline.children().removeClass("ui-state-disabled");
+inline.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",false)
+}}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)
+})
+},_disableDatepicker:function(target){var $target=$(target);
+var inst=$.data(target,PROP_NAME);
+if(!$target.hasClass(this.markerClassName)){return
+}var nodeName=target.nodeName.toLowerCase();
+if(nodeName=="input"){target.disabled=true;
+inst.trigger.filter("button").each(function(){this.disabled=true
+}).end().filter("img").css({opacity:"0.5",cursor:"default"})
+}else{if(nodeName=="div"||nodeName=="span"){var inline=$target.children("."+this._inlineClass);
+inline.children().addClass("ui-state-disabled");
+inline.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",true)
+}}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)
+});
+this._disabledInputs[this._disabledInputs.length]=target
+},_isDisabledDatepicker:function(target){if(!target){return false
+}for(var i=0;
+i<this._disabledInputs.length;
+i++){if(this._disabledInputs[i]==target){return true
+}}return false
+},_getInst:function(target){try{return $.data(target,PROP_NAME)
+}catch(err){throw"Missing instance data for this datepicker"
+}},_optionDatepicker:function(target,name,value){var inst=this._getInst(target);
+if(arguments.length==2&&typeof name=="string"){return(name=="defaults"?$.extend({},$.datepicker._defaults):(inst?(name=="all"?$.extend({},inst.settings):this._get(inst,name)):null))
+}var settings=name||{};
+if(typeof name=="string"){settings={};
+settings[name]=value
+}if(inst){if(this._curInst==inst){this._hideDatepicker()
+}var date=this._getDateDatepicker(target,true);
+var minDate=this._getMinMaxDate(inst,"min");
+var maxDate=this._getMinMaxDate(inst,"max");
+extendRemove(inst.settings,settings);
+if(minDate!==null&&settings.dateFormat!==undefined&&settings.minDate===undefined){inst.settings.minDate=this._formatDate(inst,minDate)
+}if(maxDate!==null&&settings.dateFormat!==undefined&&settings.maxDate===undefined){inst.settings.maxDate=this._formatDate(inst,maxDate)
+}this._attachments($(target),inst);
+this._autoSize(inst);
+this._setDate(inst,date);
+this._updateAlternate(inst);
+this._updateDatepicker(inst)
+}},_changeDatepicker:function(target,name,value){this._optionDatepicker(target,name,value)
+},_refreshDatepicker:function(target){var inst=this._getInst(target);
+if(inst){this._updateDatepicker(inst)
+}},_setDateDatepicker:function(target,date){var inst=this._getInst(target);
+if(inst){this._setDate(inst,date);
+this._updateDatepicker(inst);
+this._updateAlternate(inst)
+}},_getDateDatepicker:function(target,noDefault){var inst=this._getInst(target);
+if(inst&&!inst.inline){this._setDateFromField(inst,noDefault)
+}return(inst?this._getDate(inst):null)
+},_doKeyDown:function(event){var inst=$.datepicker._getInst(event.target);
+var handled=true;
+var isRTL=inst.dpDiv.is(".ui-datepicker-rtl");
+inst._keyEvent=true;
+if($.datepicker._datepickerShowing){switch(event.keyCode){case 9:$.datepicker._hideDatepicker();
+handled=false;
+break;
+case 13:var sel=$("td."+$.datepicker._dayOverClass+":not(."+$.datepicker._currentClass+")",inst.dpDiv);
+if(sel[0]){$.datepicker._selectDay(event.target,inst.selectedMonth,inst.selectedYear,sel[0])
+}var onSelect=$.datepicker._get(inst,"onSelect");
+if(onSelect){var dateStr=$.datepicker._formatDate(inst);
+onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst])
+}else{$.datepicker._hideDatepicker()
+}return false;
+break;
+case 27:$.datepicker._hideDatepicker();
+break;
+case 33:$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,"stepBigMonths"):-$.datepicker._get(inst,"stepMonths")),"M");
+break;
+case 34:$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,"stepBigMonths"):+$.datepicker._get(inst,"stepMonths")),"M");
+break;
+case 35:if(event.ctrlKey||event.metaKey){$.datepicker._clearDate(event.target)
+}handled=event.ctrlKey||event.metaKey;
+break;
+case 36:if(event.ctrlKey||event.metaKey){$.datepicker._gotoToday(event.target)
+}handled=event.ctrlKey||event.metaKey;
+break;
+case 37:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,(isRTL?+1:-1),"D")
+}handled=event.ctrlKey||event.metaKey;
+if(event.originalEvent.altKey){$.datepicker._adjustDate(event.target,(event.ctrlKey?-$.datepicker._get(inst,"stepBigMonths"):-$.datepicker._get(inst,"stepMonths")),"M")
+}break;
+case 38:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,-7,"D")
+}handled=event.ctrlKey||event.metaKey;
+break;
+case 39:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,(isRTL?-1:+1),"D")
+}handled=event.ctrlKey||event.metaKey;
+if(event.originalEvent.altKey){$.datepicker._adjustDate(event.target,(event.ctrlKey?+$.datepicker._get(inst,"stepBigMonths"):+$.datepicker._get(inst,"stepMonths")),"M")
+}break;
+case 40:if(event.ctrlKey||event.metaKey){$.datepicker._adjustDate(event.target,+7,"D")
+}handled=event.ctrlKey||event.metaKey;
+break;
+default:handled=false
+}}else{if(event.keyCode==36&&event.ctrlKey){$.datepicker._showDatepicker(this)
+}else{handled=false
+}}if(handled){event.preventDefault();
+event.stopPropagation()
+}},_doKeyPress:function(event){var inst=$.datepicker._getInst(event.target);
+if($.datepicker._get(inst,"constrainInput")){var chars=$.datepicker._possibleChars($.datepicker._get(inst,"dateFormat"));
+var chr=String.fromCharCode(event.charCode==undefined?event.keyCode:event.charCode);
+return event.ctrlKey||event.metaKey||(chr<" "||!chars||chars.indexOf(chr)>-1)
+}},_doKeyUp:function(event){var inst=$.datepicker._getInst(event.target);
+if(inst.input.val()!=inst.lastVal){try{var date=$.datepicker.parseDate($.datepicker._get(inst,"dateFormat"),(inst.input?inst.input.val():null),$.datepicker._getFormatConfig(inst));
+if(date){$.datepicker._setDateFromField(inst);
+$.datepicker._updateAlternate(inst);
+$.datepicker._updateDatepicker(inst)
+}}catch(err){$.datepicker.log(err)
+}}return true
+},_showDatepicker:function(input){input=input.target||input;
+if(input.nodeName.toLowerCase()!="input"){input=$("input",input.parentNode)[0]
+}if($.datepicker._isDisabledDatepicker(input)||$.datepicker._lastInput==input){return
+}var inst=$.datepicker._getInst(input);
+if($.datepicker._curInst&&$.datepicker._curInst!=inst){$.datepicker._curInst.dpDiv.stop(true,true);
+if(inst&&$.datepicker._datepickerShowing){$.datepicker._hideDatepicker($.datepicker._curInst.input[0])
+}}var beforeShow=$.datepicker._get(inst,"beforeShow");
+var beforeShowSettings=beforeShow?beforeShow.apply(input,[input,inst]):{};
+if(beforeShowSettings===false){return
+}extendRemove(inst.settings,beforeShowSettings);
+inst.lastVal=null;
+$.datepicker._lastInput=input;
+$.datepicker._setDateFromField(inst);
+if($.datepicker._inDialog){input.value=""
+}if(!$.datepicker._pos){$.datepicker._pos=$.datepicker._findPos(input);
+$.datepicker._pos[1]+=input.offsetHeight
+}var isFixed=false;
+$(input).parents().each(function(){isFixed|=$(this).css("position")=="fixed";
+return !isFixed
+});
+var offset={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};
+$.datepicker._pos=null;
+inst.dpDiv.empty();
+inst.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});
+$.datepicker._updateDatepicker(inst);
+offset=$.datepicker._checkOffset(inst,offset,isFixed);
+inst.dpDiv.css({position:($.datepicker._inDialog&&$.blockUI?"static":(isFixed?"fixed":"absolute")),display:"none",left:offset.left+"px",top:offset.top+"px"});
+if(!inst.inline){var showAnim=$.datepicker._get(inst,"showAnim");
+var duration=$.datepicker._get(inst,"duration");
+var postProcess=function(){var cover=inst.dpDiv.find("iframe.ui-datepicker-cover");
+if(!!cover.length){var borders=$.datepicker._getBorders(inst.dpDiv);
+cover.css({left:-borders[0],top:-borders[1],width:inst.dpDiv.outerWidth(),height:inst.dpDiv.outerHeight()})
+}};
+inst.dpDiv.zIndex($(input).zIndex()+1);
+$.datepicker._datepickerShowing=true;
+if($.effects&&($.effects.effect[showAnim]||$.effects[showAnim])){inst.dpDiv.show(showAnim,$.datepicker._get(inst,"showOptions"),duration,postProcess)
+}else{inst.dpDiv[showAnim||"show"]((showAnim?duration:null),postProcess)
+}if(!showAnim||!duration){postProcess()
+}if(inst.input.is(":visible")&&!inst.input.is(":disabled")){inst.input.focus()
+}$.datepicker._curInst=inst
+}},_updateDatepicker:function(inst){this.maxRows=4;
+var borders=$.datepicker._getBorders(inst.dpDiv);
+instActive=inst;
+inst.dpDiv.empty().append(this._generateHTML(inst));
+this._attachHandlers(inst);
+var cover=inst.dpDiv.find("iframe.ui-datepicker-cover");
+if(!!cover.length){cover.css({left:-borders[0],top:-borders[1],width:inst.dpDiv.outerWidth(),height:inst.dpDiv.outerHeight()})
+}inst.dpDiv.find("."+this._dayOverClass+" a").mouseover();
+var numMonths=this._getNumberOfMonths(inst);
+var cols=numMonths[1];
+var width=17;
+inst.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");
+if(cols>1){inst.dpDiv.addClass("ui-datepicker-multi-"+cols).css("width",(width*cols)+"em")
+}inst.dpDiv[(numMonths[0]!=1||numMonths[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");
+inst.dpDiv[(this._get(inst,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");
+if(inst==$.datepicker._curInst&&$.datepicker._datepickerShowing&&inst.input&&inst.input.is(":visible")&&!inst.input.is(":disabled")&&inst.input[0]!=document.activeElement){inst.input.focus()
+}if(inst.yearshtml){var origyearshtml=inst.yearshtml;
+setTimeout(function(){if(origyearshtml===inst.yearshtml&&inst.yearshtml){inst.dpDiv.find("select.ui-datepicker-year:first").replaceWith(inst.yearshtml)
+}origyearshtml=inst.yearshtml=null
+},0)
+}},_getBorders:function(elem){var convert=function(value){return{thin:1,medium:2,thick:3}[value]||value
+};
+return[parseFloat(convert(elem.css("border-left-width"))),parseFloat(convert(elem.css("border-top-width")))]
+},_checkOffset:function(inst,offset,isFixed){var dpWidth=inst.dpDiv.outerWidth();
+var dpHeight=inst.dpDiv.outerHeight();
+var inputWidth=inst.input?inst.input.outerWidth():0;
+var inputHeight=inst.input?inst.input.outerHeight():0;
+var viewWidth=document.documentElement.clientWidth+(isFixed?0:$(document).scrollLeft());
+var viewHeight=document.documentElement.clientHeight+(isFixed?0:$(document).scrollTop());
+offset.left-=(this._get(inst,"isRTL")?(dpWidth-inputWidth):0);
+offset.left-=(isFixed&&offset.left==inst.input.offset().left)?$(document).scrollLeft():0;
+offset.top-=(isFixed&&offset.top==(inst.input.offset().top+inputHeight))?$(document).scrollTop():0;
+offset.left-=Math.min(offset.left,(offset.left+dpWidth>viewWidth&&viewWidth>dpWidth)?Math.abs(offset.left+dpWidth-viewWidth):0);
+offset.top-=Math.min(offset.top,(offset.top+dpHeight>viewHeight&&viewHeight>dpHeight)?Math.abs(dpHeight+inputHeight):0);
+return offset
+},_findPos:function(obj){var inst=this._getInst(obj);
+var isRTL=this._get(inst,"isRTL");
+while(obj&&(obj.type=="hidden"||obj.nodeType!=1||$.expr.filters.hidden(obj))){obj=obj[isRTL?"previousSibling":"nextSibling"]
+}var position=$(obj).offset();
+return[position.left,position.top]
+},_hideDatepicker:function(input){var inst=this._curInst;
+if(!inst||(input&&inst!=$.data(input,PROP_NAME))){return
+}if(this._datepickerShowing){var showAnim=this._get(inst,"showAnim");
+var duration=this._get(inst,"duration");
+var postProcess=function(){$.datepicker._tidyDialog(inst)
+};
+if($.effects&&($.effects.effect[showAnim]||$.effects[showAnim])){inst.dpDiv.hide(showAnim,$.datepicker._get(inst,"showOptions"),duration,postProcess)
+}else{inst.dpDiv[(showAnim=="slideDown"?"slideUp":(showAnim=="fadeIn"?"fadeOut":"hide"))]((showAnim?duration:null),postProcess)
+}if(!showAnim){postProcess()
+}this._datepickerShowing=false;
+var onClose=this._get(inst,"onClose");
+if(onClose){onClose.apply((inst.input?inst.input[0]:null),[(inst.input?inst.input.val():""),inst])
+}this._lastInput=null;
+if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});
+if($.blockUI){$.unblockUI();
+$("body").append(this.dpDiv)
+}}this._inDialog=false
+}},_tidyDialog:function(inst){inst.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")
+},_checkExternalClick:function(event){if(!$.datepicker._curInst){return
+}var $target=$(event.target),inst=$.datepicker._getInst($target[0]);
+if((($target[0].id!=$.datepicker._mainDivId&&$target.parents("#"+$.datepicker._mainDivId).length==0&&!$target.hasClass($.datepicker.markerClassName)&&!$target.closest("."+$.datepicker._triggerClass).length&&$.datepicker._datepickerShowing&&!($.datepicker._inDialog&&$.blockUI)))||($target.hasClass($.datepicker.markerClassName)&&$.datepicker._curInst!=inst)){$.datepicker._hideDatepicker()
+}},_adjustDate:function(id,offset,period){var target=$(id);
+var inst=this._getInst(target[0]);
+if(this._isDisabledDatepicker(target[0])){return
+}this._adjustInstDate(inst,offset+(period=="M"?this._get(inst,"showCurrentAtPos"):0),period);
+this._updateDatepicker(inst)
+},_gotoToday:function(id){var target=$(id);
+var inst=this._getInst(target[0]);
+if(this._get(inst,"gotoCurrent")&&inst.currentDay){inst.selectedDay=inst.currentDay;
+inst.drawMonth=inst.selectedMonth=inst.currentMonth;
+inst.drawYear=inst.selectedYear=inst.currentYear
+}else{var date=new Date();
+inst.selectedDay=date.getDate();
+inst.drawMonth=inst.selectedMonth=date.getMonth();
+inst.drawYear=inst.selectedYear=date.getFullYear()
+}this._notifyChange(inst);
+this._adjustDate(target)
+},_selectMonthYear:function(id,select,period){var target=$(id);
+var inst=this._getInst(target[0]);
+inst["selected"+(period=="M"?"Month":"Year")]=inst["draw"+(period=="M"?"Month":"Year")]=parseInt(select.options[select.selectedIndex].value,10);
+this._notifyChange(inst);
+this._adjustDate(target)
+},_selectDay:function(id,month,year,td){var target=$(id);
+if($(td).hasClass(this._unselectableClass)||this._isDisabledDatepicker(target[0])){return
+}var inst=this._getInst(target[0]);
+inst.selectedDay=inst.currentDay=$("a",td).html();
+inst.selectedMonth=inst.currentMonth=month;
+inst.selectedYear=inst.currentYear=year;
+this._selectDate(id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear))
+},_clearDate:function(id){var target=$(id);
+var inst=this._getInst(target[0]);
+this._selectDate(target,"")
+},_selectDate:function(id,dateStr){var target=$(id);
+var inst=this._getInst(target[0]);
+dateStr=(dateStr!=null?dateStr:this._formatDate(inst));
+if(inst.input){inst.input.val(dateStr)
+}this._updateAlternate(inst);
+var onSelect=this._get(inst,"onSelect");
+if(onSelect){onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst])
+}else{if(inst.input){inst.input.trigger("change")
+}}if(inst.inline){this._updateDatepicker(inst)
+}else{this._hideDatepicker();
+this._lastInput=inst.input[0];
+if(typeof(inst.input[0])!="object"){inst.input.focus()
+}this._lastInput=null
+}},_updateAlternate:function(inst){var altField=this._get(inst,"altField");
+if(altField){var altFormat=this._get(inst,"altFormat")||this._get(inst,"dateFormat");
+var date=this._getDate(inst);
+var dateStr=this.formatDate(altFormat,date,this._getFormatConfig(inst));
+$(altField).each(function(){$(this).val(dateStr)
+})
+}},noWeekends:function(date){var day=date.getDay();
+return[(day>0&&day<6),""]
+},iso8601Week:function(date){var checkDate=new Date(date.getTime());
+checkDate.setDate(checkDate.getDate()+4-(checkDate.getDay()||7));
+var time=checkDate.getTime();
+checkDate.setMonth(0);
+checkDate.setDate(1);
+return Math.floor(Math.round((time-checkDate)/86400000)/7)+1
+},parseDate:function(format,value,settings){if(format==null||value==null){throw"Invalid arguments"
+}value=(typeof value=="object"?value.toString():value+"");
+if(value==""){return null
+}var shortYearCutoff=(settings?settings.shortYearCutoff:null)||this._defaults.shortYearCutoff;
+shortYearCutoff=(typeof shortYearCutoff!="string"?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));
+var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;
+var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;
+var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;
+var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;
+var year=-1;
+var month=-1;
+var day=-1;
+var doy=-1;
+var literal=false;
+var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);
+if(matches){iFormat++
+}return matches
+};
+var getNumber=function(match){var isDoubled=lookAhead(match);
+var size=(match=="@"?14:(match=="!"?20:(match=="y"&&isDoubled?4:(match=="o"?3:2))));
+var digits=new RegExp("^\\d{1,"+size+"}");
+var num=value.substring(iValue).match(digits);
+if(!num){throw"Missing number at position "+iValue
+}iValue+=num[0].length;
+return parseInt(num[0],10)
+};
+var getName=function(match,shortNames,longNames){var names=$.map(lookAhead(match)?longNames:shortNames,function(v,k){return[[k,v]]
+}).sort(function(a,b){return -(a[1].length-b[1].length)
+});
+var index=-1;
+$.each(names,function(i,pair){var name=pair[1];
+if(value.substr(iValue,name.length).toLowerCase()==name.toLowerCase()){index=pair[0];
+iValue+=name.length;
+return false
+}});
+if(index!=-1){return index+1
+}else{throw"Unknown name at position "+iValue
+}};
+var checkLiteral=function(){if(value.charAt(iValue)!=format.charAt(iFormat)){throw"Unexpected literal at position "+iValue
+}iValue++
+};
+var iValue=0;
+for(var iFormat=0;
+iFormat<format.length;
+iFormat++){if(literal){if(format.charAt(iFormat)=="'"&&!lookAhead("'")){literal=false
+}else{checkLiteral()
+}}else{switch(format.charAt(iFormat)){case"d":day=getNumber("d");
+break;
+case"D":getName("D",dayNamesShort,dayNames);
+break;
+case"o":doy=getNumber("o");
+break;
+case"m":month=getNumber("m");
+break;
+case"M":month=getName("M",monthNamesShort,monthNames);
+break;
+case"y":year=getNumber("y");
+break;
+case"@":var date=new Date(getNumber("@"));
+year=date.getFullYear();
+month=date.getMonth()+1;
+day=date.getDate();
+break;
+case"!":var date=new Date((getNumber("!")-this._ticksTo1970)/10000);
+year=date.getFullYear();
+month=date.getMonth()+1;
+day=date.getDate();
+break;
+case"'":if(lookAhead("'")){checkLiteral()
+}else{literal=true
+}break;
+default:checkLiteral()
+}}}if(iValue<value.length){var extra=value.substr(iValue);
+if(!/^\s+/.test(extra)){throw"Extra/unparsed characters found in date: "+extra
+}}if(year==-1){year=new Date().getFullYear()
+}else{if(year<100){year+=new Date().getFullYear()-new Date().getFullYear()%100+(year<=shortYearCutoff?0:-100)
+}}if(doy>-1){month=1;
+day=doy;
+do{var dim=this._getDaysInMonth(year,month-1);
+if(day<=dim){break
+}month++;
+day-=dim
+}while(true)
+}var date=this._daylightSavingAdjust(new Date(year,month-1,day));
+if(date.getFullYear()!=year||date.getMonth()+1!=month||date.getDate()!=day){throw"Invalid date"
+}return date
+},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(((1970-1)*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*10000000),formatDate:function(format,date,settings){if(!date){return""
+}var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;
+var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;
+var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;
+var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;
+var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);
+if(matches){iFormat++
+}return matches
+};
+var formatNumber=function(match,value,len){var num=""+value;
+if(lookAhead(match)){while(num.length<len){num="0"+num
+}}return num
+};
+var formatName=function(match,value,shortNames,longNames){return(lookAhead(match)?longNames[value]:shortNames[value])
+};
+var output="";
+var literal=false;
+if(date){for(var iFormat=0;
+iFormat<format.length;
+iFormat++){if(literal){if(format.charAt(iFormat)=="'"&&!lookAhead("'")){literal=false
+}else{output+=format.charAt(iFormat)
+}}else{switch(format.charAt(iFormat)){case"d":output+=formatNumber("d",date.getDate(),2);
+break;
+case"D":output+=formatName("D",date.getDay(),dayNamesShort,dayNames);
+break;
+case"o":output+=formatNumber("o",Math.round((new Date(date.getFullYear(),date.getMonth(),date.getDate()).getTime()-new Date(date.getFullYear(),0,0).getTime())/86400000),3);
+break;
+case"m":output+=formatNumber("m",date.getMonth()+1,2);
+break;
+case"M":output+=formatName("M",date.getMonth(),monthNamesShort,monthNames);
+break;
+case"y":output+=(lookAhead("y")?date.getFullYear():(date.getYear()%100<10?"0":"")+date.getYear()%100);
+break;
+case"@":output+=date.getTime();
+break;
+case"!":output+=date.getTime()*10000+this._ticksTo1970;
+break;
+case"'":if(lookAhead("'")){output+="'"
+}else{literal=true
+}break;
+default:output+=format.charAt(iFormat)
+}}}}return output
+},_possibleChars:function(format){var chars="";
+var literal=false;
+var lookAhead=function(match){var matches=(iFormat+1<format.length&&format.charAt(iFormat+1)==match);
+if(matches){iFormat++
+}return matches
+};
+for(var iFormat=0;
+iFormat<format.length;
+iFormat++){if(literal){if(format.charAt(iFormat)=="'"&&!lookAhead("'")){literal=false
+}else{chars+=format.charAt(iFormat)
+}}else{switch(format.charAt(iFormat)){case"d":case"m":case"y":case"@":chars+="0123456789";
+break;
+case"D":case"M":return null;
+case"'":if(lookAhead("'")){chars+="'"
+}else{literal=true
+}break;
+default:chars+=format.charAt(iFormat)
+}}}return chars
+},_get:function(inst,name){return inst.settings[name]!==undefined?inst.settings[name]:this._defaults[name]
+},_setDateFromField:function(inst,noDefault){if(inst.input.val()==inst.lastVal){return
+}var dateFormat=this._get(inst,"dateFormat");
+var dates=inst.lastVal=inst.input?inst.input.val():null;
+var date,defaultDate;
+date=defaultDate=this._getDefaultDate(inst);
+var settings=this._getFormatConfig(inst);
+try{date=this.parseDate(dateFormat,dates,settings)||defaultDate
+}catch(event){this.log(event);
+dates=(noDefault?"":dates)
+}inst.selectedDay=date.getDate();
+inst.drawMonth=inst.selectedMonth=date.getMonth();
+inst.drawYear=inst.selectedYear=date.getFullYear();
+inst.currentDay=(dates?date.getDate():0);
+inst.currentMonth=(dates?date.getMonth():0);
+inst.currentYear=(dates?date.getFullYear():0);
+this._adjustInstDate(inst)
+},_getDefaultDate:function(inst){return this._restrictMinMax(inst,this._determineDate(inst,this._get(inst,"defaultDate"),new Date()))
+},_determineDate:function(inst,date,defaultDate){var offsetNumeric=function(offset){var date=new Date();
+date.setDate(date.getDate()+offset);
+return date
+};
+var offsetString=function(offset){try{return $.datepicker.parseDate($.datepicker._get(inst,"dateFormat"),offset,$.datepicker._getFormatConfig(inst))
+}catch(e){}var date=(offset.toLowerCase().match(/^c/)?$.datepicker._getDate(inst):null)||new Date();
+var year=date.getFullYear();
+var month=date.getMonth();
+var day=date.getDate();
+var pattern=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g;
+var matches=pattern.exec(offset);
+while(matches){switch(matches[2]||"d"){case"d":case"D":day+=parseInt(matches[1],10);
+break;
+case"w":case"W":day+=parseInt(matches[1],10)*7;
+break;
+case"m":case"M":month+=parseInt(matches[1],10);
+day=Math.min(day,$.datepicker._getDaysInMonth(year,month));
+break;
+case"y":case"Y":year+=parseInt(matches[1],10);
+day=Math.min(day,$.datepicker._getDaysInMonth(year,month));
+break
+}matches=pattern.exec(offset)
+}return new Date(year,month,day)
+};
+var newDate=(date==null||date===""?defaultDate:(typeof date=="string"?offsetString(date):(typeof date=="number"?(isNaN(date)?defaultDate:offsetNumeric(date)):new Date(date.getTime()))));
+newDate=(newDate&&newDate.toString()=="Invalid Date"?defaultDate:newDate);
+if(newDate){newDate.setHours(0);
+newDate.setMinutes(0);
+newDate.setSeconds(0);
+newDate.setMilliseconds(0)
+}return this._daylightSavingAdjust(newDate)
+},_daylightSavingAdjust:function(date){if(!date){return null
+}date.setHours(date.getHours()>12?date.getHours()+2:0);
+return date
+},_setDate:function(inst,date,noChange){var clear=!date;
+var origMonth=inst.selectedMonth;
+var origYear=inst.selectedYear;
+var newDate=this._restrictMinMax(inst,this._determineDate(inst,date,new Date()));
+inst.selectedDay=inst.currentDay=newDate.getDate();
+inst.drawMonth=inst.selectedMonth=inst.currentMonth=newDate.getMonth();
+inst.drawYear=inst.selectedYear=inst.currentYear=newDate.getFullYear();
+if((origMonth!=inst.selectedMonth||origYear!=inst.selectedYear)&&!noChange){this._notifyChange(inst)
+}this._adjustInstDate(inst);
+if(inst.input){inst.input.val(clear?"":this._formatDate(inst))
+}},_getDate:function(inst){var startDate=(!inst.currentYear||(inst.input&&inst.input.val()=="")?null:this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));
+return startDate
+},_attachHandlers:function(inst){var stepMonths=this._get(inst,"stepMonths");
+var id="#"+inst.id.replace(/\\\\/g,"\\");
+inst.dpDiv.find("[data-handler]").map(function(){var handler={prev:function(){window["DP_jQuery_"+dpuuid].datepicker._adjustDate(id,-stepMonths,"M")
+},next:function(){window["DP_jQuery_"+dpuuid].datepicker._adjustDate(id,+stepMonths,"M")
+},hide:function(){window["DP_jQuery_"+dpuuid].datepicker._hideDatepicker()
+},today:function(){window["DP_jQuery_"+dpuuid].datepicker._gotoToday(id)
+},selectDay:function(){window["DP_jQuery_"+dpuuid].datepicker._selectDay(id,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this);
+return false
+},selectMonth:function(){window["DP_jQuery_"+dpuuid].datepicker._selectMonthYear(id,this,"M");
+return false
+},selectYear:function(){window["DP_jQuery_"+dpuuid].datepicker._selectMonthYear(id,this,"Y");
+return false
+}};
+$(this).bind(this.getAttribute("data-event"),handler[this.getAttribute("data-handler")])
+})
+},_generateHTML:function(inst){var today=new Date();
+today=this._daylightSavingAdjust(new Date(today.getFullYear(),today.getMonth(),today.getDate()));
+var isRTL=this._get(inst,"isRTL");
+var showButtonPanel=this._get(inst,"showButtonPanel");
+var hideIfNoPrevNext=this._get(inst,"hideIfNoPrevNext");
+var navigationAsDateFormat=this._get(inst,"navigationAsDateFormat");
+var numMonths=this._getNumberOfMonths(inst);
+var showCurrentAtPos=this._get(inst,"showCurrentAtPos");
+var stepMonths=this._get(inst,"stepMonths");
+var isMultiMonth=(numMonths[0]!=1||numMonths[1]!=1);
+var currentDate=this._daylightSavingAdjust((!inst.currentDay?new Date(9999,9,9):new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));
+var minDate=this._getMinMaxDate(inst,"min");
+var maxDate=this._getMinMaxDate(inst,"max");
+var drawMonth=inst.drawMonth-showCurrentAtPos;
+var drawYear=inst.drawYear;
+if(drawMonth<0){drawMonth+=12;
+drawYear--
+}if(maxDate){var maxDraw=this._daylightSavingAdjust(new Date(maxDate.getFullYear(),maxDate.getMonth()-(numMonths[0]*numMonths[1])+1,maxDate.getDate()));
+maxDraw=(minDate&&maxDraw<minDate?minDate:maxDraw);
+while(this._daylightSavingAdjust(new Date(drawYear,drawMonth,1))>maxDraw){drawMonth--;
+if(drawMonth<0){drawMonth=11;
+drawYear--
+}}}inst.drawMonth=drawMonth;
+inst.drawYear=drawYear;
+var prevText=this._get(inst,"prevText");
+prevText=(!navigationAsDateFormat?prevText:this.formatDate(prevText,this._daylightSavingAdjust(new Date(drawYear,drawMonth-stepMonths,1)),this._getFormatConfig(inst)));
+var prev=(this._canAdjustMonth(inst,-1,drawYear,drawMonth)?'<a class="ui-datepicker-prev ui-corner-all" data-handler="prev" data-event="click" title="'+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?"e":"w")+'">'+prevText+"</span></a>":(hideIfNoPrevNext?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+prevText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?"e":"w")+'">'+prevText+"</span></a>"));
+var nextText=this._get(inst,"nextText");
+nextText=(!navigationAsDateFormat?nextText:this.formatDate(nextText,this._daylightSavingAdjust(new Date(drawYear,drawMonth+stepMonths,1)),this._getFormatConfig(inst)));
+var next=(this._canAdjustMonth(inst,+1,drawYear,drawMonth)?'<a class="ui-datepicker-next ui-corner-all" data-handler="next" data-event="click" title="'+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?"w":"e")+'">'+nextText+"</span></a>":(hideIfNoPrevNext?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+nextText+'"><span class="ui-icon ui-icon-circle-triangle-'+(isRTL?"w":"e")+'">'+nextText+"</span></a>"));
+var currentText=this._get(inst,"currentText");
+var gotoDate=(this._get(inst,"gotoCurrent")&&inst.currentDay?currentDate:today);
+currentText=(!navigationAsDateFormat?currentText:this.formatDate(currentText,gotoDate,this._getFormatConfig(inst)));
+var controls=(!inst.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" data-handler="hide" data-event="click">'+this._get(inst,"closeText")+"</button>":"");
+var buttonPanel=(showButtonPanel)?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(isRTL?controls:"")+(this._isInRange(inst,gotoDate)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" data-handler="today" data-event="click">'+currentText+"</button>":"")+(isRTL?"":controls)+"</div>":"";
+var firstDay=parseInt(this._get(inst,"firstDay"),10);
+firstDay=(isNaN(firstDay)?0:firstDay);
+var showWeek=this._get(inst,"showWeek");
+var dayNames=this._get(inst,"dayNames");
+var dayNamesShort=this._get(inst,"dayNamesShort");
+var dayNamesMin=this._get(inst,"dayNamesMin");
+var monthNames=this._get(inst,"monthNames");
+var monthNamesShort=this._get(inst,"monthNamesShort");
+var beforeShowDay=this._get(inst,"beforeShowDay");
+var showOtherMonths=this._get(inst,"showOtherMonths");
+var selectOtherMonths=this._get(inst,"selectOtherMonths");
+var calculateWeek=this._get(inst,"calculateWeek")||this.iso8601Week;
+var defaultDate=this._getDefaultDate(in

<TRUNCATED>

Mime
View raw message