PageSourceSearch

https://customsewingin.com/cms_websites/js/dist/shared/external/scripts.min.js

js customsewingin.com collected 2026-09-29 17:02:14 UTC 376,197 bytes, 1 lines download raw bytes

vendor: 11,260 bytes, line 1
1!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(x,O){function j(e,t){return t.toUpperCase()}var c=[],f=x.document,u=c.slice,W=c.concat,F=c.push,L=c.indexOf,R={},B=R.toString,m=R.hasOwnProperty,g={},e="1.12.4",w=function(e,t){return new w.fn.init(e,t)},q=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,Y=/^-ms-/,$=/-([\da-z])/gi;function U(e){var t=!!e&&"length"in e&&e.length,i=w.type(e);return"function"!==i&&!w.isWindow(e)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e)}w.fn=w.prototype={jquery:e,constructor:w,selector:"",length:0,toArray:function(){return u.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:u.call(this)},pushStack:function(e){e=w.merge(this.constructor(),e);return e.prevObject=this,e.context=this.context,e},each:function(e){return w.each(this,e)},map:function(i){return this.pushStack(w.map(this,function(e,t){return i.call(e,t,e)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:F,sort:c.sort,splice:c.splice},w.extend=w.fn.extend=function(){var e,t,i,n,s,o=arguments[0]||{},r=1,a=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[r]||{},r++),"object"==typeof o||w.isFunction(o)||(o={}),r===a&&(o=this,r--);r<a;r++)if(null!=(n=arguments[r]))for(i in n)s=o[i],t=n[i],o!==t&&(l&&t&&(w.isPlainObject(t)||(e=w.isArray(t)))?(s=e?(e=!1,s&&w.isArray(s)?s:[]):s&&w.isPlainObject(s)?s:{},o[i]=w.extend(l,s,t)):void 0!==t&&(o[i]=t));return o},w.extend({expando:"jQuery"+(e+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===w.type(e)},isArray:Array.isArray||function(e){return"array"===w.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!w.isArray(e)&&0<=t-parseFloat(t)+1},isEmptyObject:function(e){for(var t in e)return!1;return!0},isPlainObject:function(e){if(!e||"object"!==w.type(e)||e.nodeType||w.isWindow(e))return!1;try{if(e.constructor&&!m.call(e,"constructor")&&!m.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(!g.ownFirst)for(var t in e)return m.call(e,t);for(t in e);return void 0===t||m.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?R[B.call(e)]||"object":typeof e},globalEval:function(e){e&&w.trim(e)&&(x.execScript||function(e){x.eval.call(x,e)})(e)},camelCase:function(e){return e.replace(Y,"ms-").replace($,j)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var i,n=0;if(U(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},trim:function(e){return null==e?"":(e+"").replace(q,"")},makeArray:function(e,t){t=t||[];return null!=e&&(U(Object(e))?w.merge(t,"string"==typeof e?[e]:e):F.call(t,e)),t},inArray:function(e,t,i){var n;if(t){if(L)return L.call(t,e,i);for(n=t.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in t&&t[i]===e)return i}return-1},merge:function(e,t){for(var i=+t.length,n=0,s=e.length;n<i;)e[s++]=t[n++];if(i!=i)for(;void 0!==t[n];)e[s++]=t[n++];return e.length=s,e},grep:function(e,t,i){for(var n=[],s=0,o=e.length,r=!i;s<o;s++)!t(e[s],s)!=r&&n.push(e[s]);return n},map:function(e,t,i){var n,s,o=0,r=[];if(U(e))for(n=e.length;o<n;o++)null!=(s=t(e[o],o,i))&&r.push(s);else for(o in e)s=t(e[o],o,i),null!=s&&r.push(s);return W.apply([],r)},guid:1,proxy:function(e,t){var i,n;return"string"==typeof t&&(n=e[t],t=e,e=n),w.isFunction(e)?(i=u.call(arguments,2),(n=function(){return e.apply(t||this,i.concat(u.call(arguments)))}).guid=e.guid=e.guid||w.guid++,n):void 0},now:function(){return+new Date},support:g}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=c[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){R["[object "+t+"]"]=t.toLowerCase()});function n(e,t,i){for(var n=[],s=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(s&&w(e).is(i))break;n.push(e)}return n}function Q(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}var e=function(O){function c(e,t,i){var n="0x"+t-65536;return n!=n||i?t:n<0?String.fromCharCode(65536+n):String.fromCharCode(n>>10|55296,1023&n|56320)}function j(){w()}var e,f,_,o,W,m,F,L,x,l,h,w,C,t,k,g,n,s,v,D="sizzle"+ +new Date,b=O.document,T=0,R=0,B=he(),q=he(),y=he(),Y=function(e,t){return e===t&&(h=!0),0},$={}.hasOwnProperty,i=[],U=i.pop,Q=i.push,E=i.push,V=i.slice,S=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",a="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",X="\\["+r+"*("+a+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+a+"))|)"+r+"*\\]",G=":("+a+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+X+")*)|.*)\\)|)",J=new RegExp(r+"+","g"),I=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),Z=new RegExp("^"+r+"*,"+r+"*"),ee=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),te=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),ie=new RegExp(G),ne=new RegExp("^"+a+"$"),d={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a+"|[*])"),ATTR:new RegExp("^"+X),PSEUDO:new RegExp("^"+G),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},se=/^(?:input|select|textarea|button)$/i,oe=/^h\d$/i,u=/^[^{]+\{\s*\[native \w/,re=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ae=/[+~]/,le=/'|\\/g,p=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig");try{E.apply(i=V.call(b.childNodes),b.childNodes),i[b.childNodes.length].nodeType}catch(e){E={apply:i.length?function(e,t){Q.apply(e,V.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function N(e,t,i,n){var s,o,r,a,l,h,u,c,d=t&&t.ownerDocument,p=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return i;if(!n&&((t?t.ownerDocument||t:b)!==C&&w(t),t=t||C,k)){if(11!==p&&(h=re.exec(e)))if(s=h[1]){if(9===p){if(!(r=t.getElementById(s)))return i;if(r.id===s)return i.push(r),i}else if(d&&(r=d.getElementById(s))&&v(t,r)&&r.id===s)return i.push(r),i}else{if(h[2])return E.apply(i,t.getElementsByTagName(e)),i;if((s=h[3])&&f.getElementsByClassName&&t.getElementsByClassName)return E.apply(i,t.getElementsByClassName(s)),i}if(f.qsa&&!y[e+" "]&&(!g||!g.test(e))){if(1!==p)d=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(le,"\\$&"):t.setAttribute("id",a=D),o=(u=m(e)).length,l=ne.test(a)?"#"+a:"[id='"+a+"']";o--;)u[o]=l+" "+H(u[o]);c=u.join(","),d=ae.test(e)&&de(t.parentNode)||t}if(c)try{return E.apply(i,d.querySelectorAll(c)),i}catch(e){}finally{a===D&&t.removeAttribute("id")}}}return L(e.replace(I,"$1"),t,i,n)}function he(){var i=[];function n(e,t){return i.push(e+" ")>_.cacheLength&&delete n[i.shift()],n[e+" "]=t}return n}function A(e){return e[D]=!0,e}function M(e){var t=C.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function ue(e,t){for(var i=e.split("|"),n=i.length;n--;)_.attrHandle[i[n]]=t}function ce(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function P(r){return A(function(o){return o=+o,A(function(e,t){for(var i,n=r([],e.length,o),s=n.length;s--;)e[i=n[s]]&&(e[i]=!(t[i]=e[i]))})})}function de(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=N.support={},W=N.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},w=N.setDocument=function(e){var e=e?e.ownerDocument||e:b;return e!==C&&9===e.nodeType&&e.documentElement&&(t=(C=e).documentElement,k=!W(C),(e=C.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",j,!1):e.attachEvent&&e.attachEvent("onunload",j)),f.attributes=M(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=M(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=u.test(C.getElementsByClassName),f.getById=M(function(e){return t.appendChild(e).id=D,!C.getElementsByName||!C.getElementsByName(D).length}),f.getById?(_.find.ID=function(e,t){if(void 0!==t.getElementById&&k)return(t=t.getElementById(e))?[t]:[]},_.filter.ID=function(e){var t=e.replace(p,c);return function(e){return e.getAttribute("id")===t}}):(delete _.find.ID,_.filter.ID=function(e){var t=e.replace(p,c);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),_.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],s=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;i=o[s++];)1===i.nodeType&&n.push(i);return n},_.find.CLASS=f.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&k?t.getElementsByClassName(e):void 0},n=[],g=[],(f.qsa=u.test(C.querySelectorAll))&&(M(function(e){t.appendChild(e).innerHTML="<a id='"+D+"'></a><select id='"+D+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+r+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+r+"*(?:value|"+K+")"),e.querySelectorAll("[id~="+D+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+D+"+*").length||g.push(".#.+[+~]")}),M(function(e){var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+r+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(f.matchesSelector=u.test(s=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector))&&M(function(e){f.disconnectedMatch=s.call(e,"div"),s.call(e,"[s!='']:x"),n.push("!=",G)}),g=g.length&&new RegExp(g.join("|")),n=n.length&&new RegExp(n.join("|")),e=u.test(t.compareDocumentPosition),v=e||u.test(t.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(i.contains?i.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Y=e?function(e,t){var i;
vendor: 4,087 bytes, line 1
1return e===t?(h=!0,0):(i=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===i?e===C||e.ownerDocument===b&&v(b,e)?-1:t===C||t.ownerDocument===b&&v(b,t)?1:l?S(l,e)-S(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return h=!0,0;var i,n=0,s=e.parentNode,o=t.parentNode,r=[e],a=[t];if(!s||!o)return e===C?-1:t===C?1:s?-1:o?1:l?S(l,e)-S(l,t):0;if(s===o)return ce(e,t);for(i=e;i=i.parentNode;)r.unshift(i);for(i=t;i=i.parentNode;)a.unshift(i);for(;r[n]===a[n];)n++;return n?ce(r[n],a[n]):r[n]===b?-1:a[n]===b?1:0}),C},N.matches=function(e,t){return N(e,null,null,t)},N.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&w(e),t=t.replace(te,"='$1']"),f.matchesSelector&&k&&!y[t+" "]&&(!n||!n.test(t))&&(!g||!g.test(t)))try{var i=s.call(e,t);if(i||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return 0<N(t,C,null,[e]).length},N.contains=function(e,t){return(e.ownerDocument||e)!==C&&w(e),v(e,t)},N.attr=function(e,t){(e.ownerDocument||e)!==C&&w(e);var i=_.attrHandle[t.toLowerCase()],i=i&&$.call(_.attrHandle,t.toLowerCase())?i(e,t,!k):void 0;return void 0!==i?i:f.attributes||!k?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},N.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},N.uniqueSort=function(e){var t,i=[],n=0,s=0;if(h=!f.detectDuplicates,l=!f.sortStable&&e.slice(0),e.sort(Y),h){for(;t=e[s++];)t===e[s]&&(n=i.push(s));for(;n--;)e.splice(i[n],1)}return l=null,e},o=N.getText=function(e){var t,i="",n=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=o(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[n++];)i+=o(t);return i},(_=N.selectors={cacheLength:50,createPseudo:A,match:d,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(p,c),e[3]=(e[3]||e[4]||e[5]||"").replace(p,c),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||N.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&N.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return d.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&ie.test(i)&&(t=(t=m(i,!0))&&i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(p,c).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+r+")"+e+"("+r+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(e){e=N.attr(e,t);return null==e?"!="===i:!i||(e+="","="===i?e===n:"!="===i?e!==n:"^="===i?n&&0===e.indexOf(n):"*="===i?n&&-1<e.indexOf(n):"$="===i?n&&e.slice(-n.length)===n:"~="===i?-1<(" "+e.replace(J," ")+" ").indexOf(n):"|="===i&&(e===n||e.slice(0,n.length+1)===n+"-"))}},CHILD:function(f,e,t,m,g){var v="nth"!==f.slice(0,3),b="last"!==f.slice(-4),y="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,i){var n,s,o,r,a,l,h=v!=b?"nextSibling":"previousSibling",u=e.parentNode,c=y&&e.nodeName.toLowerCase(),d=!i&&!y,p=!1;if(u){if(v){for(;h;){for(r=e;r=r[h];)if(y?r.nodeName.toLowerCase()===c:1===r.nodeType)return!1;l=h="only"===f&&!l&&"nextSibling"}return!0}if(l=[b?u.firstChild:u.lastChild],b&&d){for(p=(a=(n=(s=(o=(r=u)[D]||(r[D]={}))[r.uniqueID]||(o[r.uniqueID]={}))[f]||[])[0]===T&&n[1])&&n[2],r=a&&u.childNodes[a];r=++a&&r&&r[h]||(p=a=0,l.pop());)if(1===r.nodeType&&++p&&r===e){s[f]=[T,a,p];break}}else if(!1===(p=d?a=(n=(s=(o=(r=e)[D]||(r[D]={}))[r.uniqueID]||(o[r.uniqueID]={}))[f]||[])[0]===T&&n[1]:p))for(;
vendor: 12,256 bytes, line 1
1(r=++a&&r&&r[h]||(p=a=0,l.pop()))&&((y?r.nodeName.toLowerCase()!==c:1!==r.nodeType)||!++p||(d&&((s=(o=r[D]||(r[D]={}))[r.uniqueID]||(o[r.uniqueID]={}))[f]=[T,p]),r!==e)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(e,o){var t,r=_.pseudos[e]||_.setFilters[e.toLowerCase()]||N.error("unsupported pseudo: "+e);return r[D]?r(o):1<r.length?(t=[e,e,"",o],_.setFilters.hasOwnProperty(e.toLowerCase())?A(function(e,t){for(var i,n=r(e,o),s=n.length;s--;)e[i=S(e,n[s])]=!(t[i]=n[s])}):function(e){return r(e,0,t)}):r}},pseudos:{not:A(function(e){var n=[],s=[],a=F(e.replace(I,"$1"));return a[D]?A(function(e,t,i,n){for(var s,o=a(e,null,n,[]),r=e.length;r--;)(s=o[r])&&(e[r]=!(t[r]=s))}):function(e,t,i){return n[0]=e,a(n,null,i,s),n[0]=null,!s.pop()}}),has:A(function(t){return function(e){return 0<N(t,e).length}}),contains:A(function(t){return t=t.replace(p,c),function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:A(function(i){return ne.test(i||"")||N.error("unsupported lang: "+i),i=i.replace(p,c).toLowerCase(),function(e){var t;do{if(t=k?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===i||0===t.indexOf(i+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=O.location&&O.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===t},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return oe.test(e.nodeName)},input:function(e){return se.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:P(function(){return[0]}),last:P(function(e,t){return[t-1]}),eq:P(function(e,t,i){return[i<0?i+t:i]}),even:P(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:P(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:P(function(e,t,i){for(var n=i<0?i+t:i;0<=--n;)e.push(n);return e}),gt:P(function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e})}}).pseudos.nth=_.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})_.pseudos[e]=function(i){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===i}}(e);function pe(){}function H(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function fe(r,e,t){var a=e.dir,l=t&&"parentNode"===a,h=R++;return e.first?function(e,t,i){for(;e=e[a];)if(1===e.nodeType||l)return r(e,t,i)}:function(e,t,i){var n,s,o=[T,h];if(i){for(;e=e[a];)if((1===e.nodeType||l)&&r(e,t,i))return!0}else for(;e=e[a];)if(1===e.nodeType||l){if((n=(s=(s=e[D]||(e[D]={}))[e.uniqueID]||(s[e.uniqueID]={}))[a])&&n[0]===T&&n[1]===h)return o[2]=n[2];if((s[a]=o)[2]=r(e,t,i))return!0}}}function me(s){return 1<s.length?function(e,t,i){for(var n=s.length;n--;)if(!s[n](e,t,i))return!1;return!0}:s[0]}function z(e,t,i,n,s){for(var o,r=[],a=0,l=e.length,h=null!=t;a<l;a++)!(o=e[a])||i&&!i(o,n,s)||(r.push(o),h&&t.push(a));return r}function ge(p,f,m,g,v,e){return g&&!g[D]&&(g=ge(g)),v&&!v[D]&&(v=ge(v,e)),A(function(e,t,i,n){var s,o,r,a=[],l=[],h=t.length,u=e||function(e,t,i){for(var n=0,s=t.length;n<s;n++)N(e,t[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),c=!p||!e&&f?u:z(u,a,p,i,n),d=m?v||(e?p:h||g)?[]:t:c;if(m&&m(c,d,i,n),g)for(s=z(d,l),g(s,[],i,n),o=s.length;o--;)(r=s[o])&&(d[l[o]]=!(c[l[o]]=r));if(e){if(v||p){if(v){for(s=[],o=d.length;o--;)(r=d[o])&&s.push(c[o]=r);v(null,d=[],s,n)}for(o=d.length;o--;)(r=d[o])&&-1<(s=v?S(e,r):a[o])&&(e[s]=!(t[s]=r))}}else d=z(d===t?d.splice(h,d.length):d),v?v(null,t,d,n):E.apply(t,d)})}function ve(g,v){function e(e,t,i,n,s){var o,r,a,l=0,h="0",u=e&&[],c=[],d=x,p=e||y&&_.find.TAG("*",s),f=T+=null==d?1:Math.random()||.1,m=p.length;for(s&&(x=t===C||t||s);h!==m&&null!=(o=p[h]);h++){if(y&&o){for(r=0,t||o.ownerDocument===C||(w(o),i=!k);a=g[r++];)if(a(o,t||C,i)){n.push(o);break}s&&(T=f)}b&&((o=!a&&o)&&l--,e)&&u.push(o)}if(l+=h,b&&h!==l){for(r=0;a=v[r++];)a(u,c,t,i);if(e){if(0<l)for(;h--;)u[h]||c[h]||(c[h]=U.call(n));c=z(c)}E.apply(n,c),s&&!e&&0<c.length&&1<l+v.length&&N.uniqueSort(n)}return s&&(T=f,x=d),u}var b=0<v.length,y=0<g.length;return b?A(e):e}return pe.prototype=_.filters=_.pseudos,_.setFilters=new pe,m=N.tokenize=function(e,t){var i,n,s,o,r,a,l,h=q[e+" "];if(h)return t?0:h.slice(0);for(r=e,a=[],l=_.preFilter;r;){for(o in i&&!(n=Z.exec(r))||(n&&(r=r.slice(n[0].length)||r),a.push(s=[])),i=!1,(n=ee.exec(r))&&(i=n.shift(),s.push({value:i,type:n[0].replace(I," ")}),r=r.slice(i.length)),_.filter)!(n=d[o].exec(r))||l[o]&&!(n=l[o](n))||(i=n.shift(),s.push({value:i,type:o,matches:n}),r=r.slice(i.length));if(!i)break}return t?r.length:r?N.error(e):q(e,a).slice(0)},F=N.compile=function(e,t){var i,n=[],s=[],o=y[e+" "];if(!o){for(i=(t=t||m(e)).length;i--;)((o=function e(t){for(var n,i,s,o=t.length,r=_.relative[t[0].type],a=r||_.relative[" "],l=r?1:0,h=fe(function(e){return e===n},a,!0),u=fe(function(e){return-1<S(n,e)},a,!0),c=[function(e,t,i){return e=!r&&(i||t!==x)||((n=t).nodeType?h:u)(e,t,i),n=null,e}];l<o;l++)if(i=_.relative[t[l].type])c=[fe(me(c),i)];else{if((i=_.filter[t[l].type].apply(null,t[l].matches))[D]){for(s=++l;s<o&&!_.relative[t[s].type];s++);return ge(1<l&&me(c),1<l&&H(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(I,"$1"),i,l<s&&e(t.slice(l,s)),s<o&&e(t=t.slice(s)),s<o&&H(t))}c.push(i)}return me(c)}(t[i]))[D]?n:s).push(o);(o=y(e,ve(s,n))).selector=e}return o},L=N.select=function(e,t,i,n){var s,o,r,a,l,h="function"==typeof e&&e,u=!n&&m(e=h.selector||e);if(i=i||[],1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(r=o[0]).type&&f.getById&&9===t.nodeType&&k&&_.relative[o[1].type]){if(!(t=(_.find.ID(r.matches[0].replace(p,c),t)||[])[0]))return i;h&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(s=d.needsContext.test(e)?0:o.length;s--&&(r=o[s],!_.relative[a=r.type]);)if((l=_.find[a])&&(n=l(r.matches[0].replace(p,c),ae.test(o[0].type)&&de(t.parentNode)||t))){if(o.splice(s,1),e=n.length&&H(o))break;return E.apply(i,n),i}}return(h||F(e,u))(n,t,!k,i,!t||ae.test(e)&&de(t.parentNode)||t),i},f.sortStable=D.split("").sort(Y).join("")===D,f.detectDuplicates=!!h,w(),f.sortDetached=M(function(e){return 1&e.compareDocumentPosition(C.createElement("div"))}),M(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ue("type|href|height|width",function(e,t,i){return i?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&M(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ue("value",function(e,t,i){return i||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),M(function(e){return null==e.getAttribute("disabled")})||ue(K,function(e,t,i){return i?void 0:!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),N}(x),V=(w.find=e,w.expr=e.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=e.uniqueSort,w.text=e.getText,w.isXMLDoc=e.isXML,w.contains=e.contains,w.expr.match.needsContext),K=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,X=/^.[^:#\[\.,]*$/;function G(e,i,n){if(w.isFunction(i))return w.grep(e,function(e,t){return!!i.call(e,t,e)!==n});if(i.nodeType)return w.grep(e,function(e){return e===i!==n});if("string"==typeof i){if(X.test(i))return w.filter(i,e,n);i=w.filter(i,e)}return w.grep(e,function(e){return-1<w.inArray(e,i)!==n})}w.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?w.find.matchesSelector(n,e)?[n]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,i=[],n=this,s=n.length;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<s;t++)if(w.contains(n[t],this))return!0}));for(t=0;t<s;t++)w.find(e,n[t],i);return(i=this.pushStack(1<s?w.unique(i):i)).selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(G(this,e||[],!1))},not:function(e){return this.pushStack(G(this,e||[],!0))},is:function(e){return!!G(this,"string"==typeof e&&V.test(e)?w(e):e||[],!1).length}});var J,Z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ee=((w.fn.init=function(e,t,i){if(e){if(i=i||J,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):w.isFunction(e)?void 0!==i.ready?i.ready(e):e(w):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),w.makeArray(e,this));if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:Z.exec(e))||!n[1]&&t)return(!t||t.jquery?t||i:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),K.test(n[1])&&w.isPlainObject(t))for(var n in t)w.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n])}else{if((i=f.getElementById(n[2]))&&i.parentNode){if(i.id!==n[2])return J.find(e);this.length=1,this[0]=i}this.context=f,this.selector=e}}return this}).prototype=w.fn,J=w(f),/^(?:parents|prev(?:Until|All))/),te={children:!0,contents:!0,next:!0,prev:!0};function ie(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t,i=w(e,this),n=i.length;return this.filter(function(){for(t=0;t<n;t++)if(w.contains(this,i[t]))return!0})},closest:function(e,t){for(var i,n=0,s=this.length,o=[],r=V.test(e)||"string"!=typeof e?w(e,t||this.context):0;n<s;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(r?-1<r.index(i):1===i.nodeType&&w.find.matchesSelector(i,e))){o.push(i);break}return this.pushStack(1<o.length?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?w.inArray(this[0],w(e)):w.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return n(e,"parentNode")},parentsUntil:function(e,t,i){return n(e,"parentNode",i)},next:function(e){return ie(e,"nextSibling")},prev:function(e){return ie(e,"previousSibling")},nextAll:function(e){return n(e,"nextSibling")},prevAll:function(e){return n(e,"previousSibling")},nextUntil:function(e,t,i){return n(e,"nextSibling",i)},prevUntil:function(e,t,i){return n(e,"previousSibling",i)},siblings:function(e){return Q((e.parentNode||{}).firstChild,e)},children:function(e){return Q(e.firstChild)},contents:function(e){return w.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:w.merge([],e.childNodes)}},function(n,s){w.fn[n]=function(e,t){var i=w.map(this,s,e);return(t="Until"!==n.slice(-5)?e:t)&&"string"==typeof t&&(i=w.filter(t,i)),1<this.length&&(te[n]||(i=w.uniqueSort(i)),ee.test(n))&&(i=i.reverse()),this.pushStack(i)}});var ne,se,C=/\S+/g;function oe(){f.addEventListener?(f.removeEventListener("DOMContentLoaded",t),x.removeEventListener("load",t)):(f.detachEvent("onreadystatechange",t),x.detachEvent("onload",t))}function t(){!f.addEventListener&&"load"!==x.event.type&&"complete"!==f.readyState||(oe(),w.ready())}for(se in w.Callbacks=function(n){var e,i;n="string"==typeof n?(e=n,i={},w.each(e.match(C)||[],function(e,t){i[t]=!0}),i):w.extend({},n);function s(){for(a=n.once,r=o=!0;h.length;u=-1)for(t=h.shift();++u<l.length;)!1===l[u].apply(t[0],t[1])&&n.stopOnFalse&&(u=l.length,t=!1);n.memory||(t=!1),o=!1,a&&(l=t?[]:"")}var o,t,r,a,l=[],h=[],u=-1,c={add:function(){return l&&(t&&!o&&(u=l.length-1,h.push(t)),function i(e){w.each(e,function(e,t){w.isFunction(t)?n.unique&&c.has(t)||l.push(t):t&&t.length&&"string"!==w.t
1ype(t)&&i(t)})}(arguments),t)&&!o&&s(),this},remove:function(){return w.each(arguments,function(e,t){for(var i;-1<(i=w.inArray(t,l,i));)l.splice(i,1),i<=u&&u--}),this},has:function(e){return e?-1<w.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=h=[],l=t="",this},disabled:function(){return!l},lock:function(){return a=!0,t||c.disable(),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],h.push(t),o)||s(),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},w.extend({Deferred:function(e){var o=[["resolve","done",w.Callbacks("once memory"),"resolved"],["reject","fail",w.Callbacks("once memory"),"rejected"],["notify","progress",w.Callbacks("memory")]],s="pending",r={state:function(){return s},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var s=arguments;return w.Deferred(function(n){w.each(o,function(e,t){var i=w.isFunction(s[e])&&s[e];a[t[1]](function(){var e=i&&i.apply(this,arguments);e&&w.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[t[0]+"With"](this===r?n.promise():this,i?[e]:arguments)})}),s=null}).promise()},promise:function(e){return null!=e?w.extend(e,r):r}},a={};return r.pipe=r.then,w.each(o,function(e,t){var i=t[2],n=t[3];r[t[1]]=i.add,n&&i.add(function(){s=n},o[1^e][2].disable,o[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?r:this,arguments),this},a[t[0]+"With"]=i.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){function t(t,i,n){return function(e){i[t]=this,n[t]=1<arguments.length?u.call(arguments):e,n===s?h.notifyWith(i,n):--l||h.resolveWith(i,n)}}var s,i,n,o=0,r=u.call(arguments),a=r.length,l=1!==a||e&&w.isFunction(e.promise)?a:0,h=1===l?e:w.Deferred();if(1<a)for(s=new Array(a),i=new Array(a),n=new Array(a);o<a;o++)r[o]&&w.isFunction(r[o].promise)?r[o].promise().progress(t(o,i,s)).done(t(o,n,r)).fail(h.reject):--l;return l||h.resolveWith(n,r),h.promise()}}),w.fn.ready=function(e){return w.ready.promise().done(e),this},w.extend({isReady:!1,readyWait:1,holdReady:function(e){e?w.readyWait++:w.ready(!0)},ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0)!==e&&0<--w.readyWait||(ne.resolveWith(f,[w]),w.fn.triggerHandler&&(w(f).triggerHandler("ready"),w(f).off("ready")))}}),w.ready.promise=function(e){if(!ne)if(ne=w.Deferred(),"complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll)x.setTimeout(w.ready);else if(f.addEventListener)f.addEventListener("DOMContentLoaded",t),x.addEventListener("load",t);else{f.attachEvent("onreadystatechange",t),x.attachEvent("onload",t);var i=!1;try{i=null==x.frameElement&&f.documentElement}catch(e){}i&&i.doScroll&&!function t(){if(!w.isReady){try{i.doScroll("left")}catch(e){return x.setTimeout(t,50)}oe(),w.ready()}}()}return ne.promise(e)},w.ready.promise(),w(g))break;g.ownFirst="0"===se,g.inlineBlockNeedsLayout=!1,w(function(){var e,t,i=f.getElementsByTagName("body")[0];i&&i.style&&(e=f.createElement("div"),(t=f.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(t).appendChild(e),void 0!==e.style.zoom&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",g.inlineBlockNeedsLayout=e=3===e.offsetWidth,e)&&(i.style.zoom=1),i.removeChild(t))});e=f.createElement("div");g.deleteExpando=!0;try{delete e.test}catch(e){g.deleteExpando=!1}function v(e){var t=w.noData[(e.nodeName+" ").toLowerCase()],i=+e.nodeType||1;return(1===i||9===i)&&(!t||!0!==t&&e.getAttribute("classid")===t)}var s,re=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ae=/([A-Z])/g;function le(e,t,i){if(void 0===i&&1===e.nodeType){var n="data-"+t.replace(ae,"-$1").toLowerCase();if("string"==typeof(i=e.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:re.test(i)?w.parseJSON(i):i)}catch(e){}w.data(e,t,i)}else i=void 0}return i}function he(e){for(var t in e)if(("data"!==t||!w.isEmptyObject(e[t]))&&"toJSON"!==t)return;return 1}
1function ue(e,t,i,n){if(v(e)){var s,o=w.expando,r=e.nodeType,a=r?w.cache:e,l=r?e[o]:e[o]&&o;if(l&&a[l]&&(n||a[l].data)||void 0!==i||"string"!=typeof t)return a[l=l||(r?e[o]=c.pop()||w.guid++:o)]||(a[l]=r?{}:{toJSON:w.noop}),"object"!=typeof t&&"function"!=typeof t||(n?a[l]=w.extend(a[l],t):a[l].data=w.extend(a[l].data,t)),e=a[l],n||(e.data||(e.data={}),e=e.data),void 0!==i&&(e[w.camelCase(t)]=i),"string"==typeof t?null==(s=e[t])&&(s=e[w.camelCase(t)]):s=e,s}}function ce(e,t,i){if(v(e)){var n,s,o=e.nodeType,r=o?w.cache:e,a=o?e[w.expando]:w.expando;if(r[a]){if(t&&(n=i?r[a]:r[a].data)){s=(t=w.isArray(t)?t.concat(w.map(t,w.camelCase)):t in n||(t=w.camelCase(t))in n?[t]:t.split(" ")).length;for(;s--;)delete n[t[s]];if(i?!he(n):!w.isEmptyObject(n))return}(i||(delete r[a].data,he(r[a])))&&(o?w.cleanData([e],!0):g.deleteExpando||r!=r.window?delete r[a]:r[a]=void 0)}}}w.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?w.cache[e[w.expando]]:e[w.expando])&&!he(e)},data:function(e,t,i){return ue(e,t,i)},removeData:function(e,t){return ce(e,t)},_data:function(e,t,i){return ue(e,t,i,!0)},_removeData:function(e,t){return ce(e,t,!0)}}),w.fn.extend({data:function(e,t){var i,n,s,o=this[0],r=o&&o.attributes;if(void 0!==e)return"object"==typeof e?this.each(function(){w.data(this,e)}):1<arguments.length?this.each(function(){w.data(this,e,t)}):o?le(o,e,w.data(o,e)):void 0;if(this.length&&(s=w.data(o),1===o.nodeType)&&!w._data(o,"parsedAttrs")){for(i=r.length;i--;)r[i]&&0===(n=r[i].name).indexOf("data-")&&le(o,n=w.camelCase(n.slice(5)),s[n]);w._data(o,"parsedAttrs",!0)}return s},removeData:function(e){return this.each(function(){w.removeData(this,e)})}}),w.extend({queue:function(e,t,i){var n;return e?(n=w._data(e,t=(t||"fx")+"queue"),i&&(!n||w.isArray(i)?n=w._data(e,t,w.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(e,t){t=t||"fx";var i=w.queue(e,t),n=i.length,s=i.shift(),o=w._queueHooks(e,t);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===t&&i.unshift("inprogress"),delete o.stop,s.call(e,function(){w.dequeue(e,t)},o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return w._data(e,i)||w._data(e,i,{empty:w.Callbacks("once memory").add(function(){w._removeData(e,t+"queue"),w._removeData(e,i)})})}}),w.fn.extend({queue:function(t,i){var e=2;return"string"!=typeof t&&(i=t,t="fx",e--),arguments.length<e?w.queue(this[0],t):void 0===i?this:this.each(function(){var e=w.queue(this,t,i);w._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&w.dequeue(this,t)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function i(){--s||o.resolveWith(r,[r])}var n,s=1,o=w.Deferred(),r=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=w._data(r[a],e+"queueHooks"))&&n.empty&&(s++,n.empty.add(i));return i(),o.promise(t)}}),g.shrinkWrapBlocks=function(){var e,t,i;return null!=s?s:(s=!1,(t=f.getElementsByTagName("body")[0])&&t.style?(e=f.createElement("div"),(i=f.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(i).appendChild(e),void 0!==e.style.zoom&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(f.createElement("div")).style.width="5px",s=3!==e.offsetWidth),t.removeChild(i),s):void 0)};function de(e,t){return"none"===w.css(e=t||e,"display")||!w.contains(e.ownerDocument,e)}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pe=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),a=["Top","Right","Bottom","Left"];function fe(e,t,i,n){var s,o=1,r=20,a=n?function(){return n.cur()}:function(){return w.css(e,t,"")},l=a(),h=i&&i[3]||(w.cssNumber[t]?"":"px"),u=(w.cssNumber[t]||"px"!==h&&+l)&&pe.exec(w.css(e,t));if(u&&u[3]!==h)for(h=h||u[3],i=i||[],u=+l||1;w.style(e,t,(u/=o=o||".5")+h),o!==(o=a()/l)&&1!==o&&--r;);return i&&(u=+u||+l||0,s=i[1]?u+(i[1]+1)*i[2]:+i[2],n)&&(n.unit=h,n.start=u,n.end=s),s}function d(e,t,i,n,s,o,r){var a=0,l=e.length,h=null==i;if("object"===w.type(i))for(a in s=!0,i)d(e,t,a,i[a],!0,o,r);else if(void 0!==n&&(s=!0,w.isFunction(n)||(r=!0),t=h?r?(t.call(e,n),null):(h=t,function(e,t,i){return h.call(w(e),i)}):t))for(;a<l;a++)t(e[a],i,r?n:n.call(e[a],a,t(e[a],i)));return s?e:h?t.call(e):l?t(e[0],i):o}var me=/^(?:checkbox|radio)$/i,ge=/<([\w:-]+)/,ve=/^$|\/(?:java|ecma)script/i,be=/^\s+/,ye="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function _e(e){var t=ye.split("|"),i=e.createDocumentFragment();if(i.createElement)for(;t.length;)i.createElement(t.pop());return i}E=f.createElement("div"),T=f.createDocumentFragment(),P=f.createElement("input"),E.innerHTML="  <link/><table></table><a href='/a'>a</a>
1<input type='checkbox'/>",g.leadingWhitespace=3===E.firstChild.nodeType,g.tbody=!E.getElementsByTagName("tbody").length,g.htmlSerialize=!!E.getElementsByTagName("link").length,g.html5Clone="<:nav></:nav>"!==f.createElement("nav").cloneNode(!0).outerHTML,P.type="checkbox",P.checked=!0,T.appendChild(P),g.appendChecked=P.checked,E.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!E.cloneNode(!0).lastChild.defaultValue,T.appendChild(E),(P=f.createElement("input")).setAttribute("type","radio"),P.setAttribute("checked","checked"),P.setAttribute("name","t"),E.appendChild(P),g.checkClone=E.cloneNode(!0).cloneNode(!0).lastChild.checked,g.noCloneEvent=!!E.addEventListener,E[w.expando]=1,g.attributes=!E.getAttribute(w.expando);var b={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:g.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};function y(e,t){var i,n,s=0,o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],i=e.childNodes||e;null!=(n=i[s]);s++)!t||w.nodeName(n,t)?o.push(n):w.merge(o,y(n,t));return void 0===t||t&&w.nodeName(e,t)?w.merge([e],o):o}function xe(e,t){for(var i,n=0;null!=(i=e[n]);n++)w._data(i,"globalEval",!t||w._data(t[n],"globalEval"))}b.optgroup=b.option,b.tbody=b.tfoot=b.colgroup=b.caption=b.thead,b.th=b.td;var we=/<|&#?\w+;/,Ce=/<tbody/i;function ke(e){me.test(e.type)&&(e.defaultChecked=e.checked)}function De(e,t,i,n,s){for(var o,r,a,l,h,u,c,d=e.length,p=_e(t),f=[],m=0;m<d;m++)if((r=e[m])||0===r)if("object"===w.type(r))w.merge(f,r.nodeType?[r]:r);else if(we.test(r)){for(l=l||p.appendChild(t.createElement("div")),h=(ge.exec(r)||["",""])[1].toLowerCase(),c=b[h]||b._default,l.innerHTML=c[1]+w.htmlPrefilter(r)+c[2],o=c[0];o--;)l=l.lastChild;if(!g.leadingWhitespace&&be.test(r)&&f.push(t.createTextNode(be.exec(r)[0])),!g.tbody)for(o=(r="table"!==h||Ce.test(r)?"<table>"!==c[1]||Ce.test(r)?0:l:l.firstChild)&&r.childNodes.length;o--;)w.nodeName(u=r.childNodes[o],"tbody")&&!u.childNodes.length&&r.removeChild(u);for(w.merge(f,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=p.lastChild}else f.push(t.createTextNode(r));for(l&&p.removeChild(l),g.appendChecked||w.grep(y(f,"input"),ke),m=0;r=f[m++];)if(n&&-1<w.inArray(r,n))s&&s.push(r);else if(a=w.contains(r.ownerDocument,r),l=y(p.appendChild(r),"script"),a&&xe(l),i)for(o=0;r=l[o++];)ve.test(r.type||"")&&i.push(r);return l=null,p}var Te,Ee,Se=f.createElement("div");for(Te in{submit:!0,change:!0,focusin:!0})Ee="on"+Te,(g[Te]=Ee in x)||(Se.setAttribute(Ee,"t"),g[Te]=!1===Se.attributes[Ee].expando);var Ie=/^(?:input|select|textarea)$/i,Ne=/^key/,Ae=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Me=/^(?:focusinfocus|focusoutblur)$/,Pe=/^([^.]*)(?:\.(.+)|)/;function He(){return!0}function l(){return!1}function ze(){try{return f.activeElement}catch(e){}}function Oe(e,t,i,n,s,o){var r,a;if("object"==typeof t){for(a in"string"!=typeof i&&(n=n||i,i=void 0),t)Oe(e,a,i,n,t[a],o);return e}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=l;else if(!s)return e;return 1===o&&(r=s,(s=function(e){return w().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=w.guid++)),e.each(function(){w.event.add(this,t,s,n,i)})}w.event={global:{},add:function(e,t,i,n,s){var o,r,a,l,h,u,c,d,p,f=w._data(e);if(f)for(i.handler&&(i=(a=i).handler,s=a.selector),i.guid||(i.guid=w.guid++),o=(o=f.events)||(f.events={}),(h=f.handle)||((h=f.handle=function(e){return void 0===w||e&&w.event.triggered===e.type?void 0:w.event.dispatch.apply(h.elem,arguments)}).elem=e),r=(t=(t||"").match(C)||[""]).length;r--;)c=p=(d=Pe.exec(t[r])||[])[1],d=(d[2]||"").split(".").sort(),c&&(l=w.event.special[c]||{},c=(s?l.delegateType:l.bindType)||c,l=w.event.special[c]||{},p=w.extend({type:c,origType:p,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&w.expr.match.needsContext.test(s),namespace:d.join(".")},a),(u=o[c])||((u=o[c]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(e,n,d,h))||(e.addEventListener?e.addEventListener(c,h,!1):e.attachEvent&&e.attachEvent("on"+c,h)),l.add&&(l.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),s?u.splice(u.delegateCount++,0,p):u.push(p),w.event.global[c]=!0)},remove:function(e,t,i,n,s){var o,r,a,l,h,u,c,d,p,f,m,g=w.hasData(e)&&w._data(e);if(g&&(u=g.events)){for(h=(t=(t||"").match(C)||[""]).length;h--;)if(p=m=(a=Pe.exec(t[h])||[])[1],f=(a[2]||"").split(".").sort(),p){for(c=w.event.special[p]||{},d=u[p=(n?c.delegateType:c.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.
vendor: 4,104 bytes, line 1
1join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=d.length;o--;)r=d[o],!s&&m!==r.origType||i&&i.guid!==r.guid||a&&!a.test(r.namespace)||n&&n!==r.selector&&("**"!==n||!r.selector)||(d.splice(o,1),r.selector&&d.delegateCount--,c.remove&&c.remove.call(e,r));l&&!d.length&&(c.teardown&&!1!==c.teardown.call(e,f,g.handle)||w.removeEvent(e,p,g.handle),delete u[p])}else for(p in u)w.event.remove(e,p+t[h],i,n,!0);w.isEmptyObject(u)&&(delete g.handle,w._removeData(e,"events"))}},trigger:function(e,t,i,n){var s,o,r,a,l,h,u=[i||f],c=m.call(e,"type")?e.type:e,d=m.call(e,"namespace")?e.namespace.split("."):[],p=l=i=i||f;if(3!==i.nodeType&&8!==i.nodeType&&!Me.test(c+w.event.triggered)&&(-1<c.indexOf(".")&&(c=(d=c.split(".")).shift(),d.sort()),o=c.indexOf(":")<0&&"on"+c,(e=e[w.expando]?e:new w.Event(c,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=d.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:w.makeArray(t,[e]),a=w.event.special[c]||{},n||!a.trigger||!1!==a.trigger.apply(i,t))){if(!n&&!a.noBubble&&!w.isWindow(i)){for(r=a.delegateType||c,Me.test(r+c)||(p=p.parentNode);p;p=p.parentNode)u.push(p),l=p;l===(i.ownerDocument||f)&&u.push(l.defaultView||l.parentWindow||x)}for(h=0;(p=u[h++])&&!e.isPropagationStopped();)e.type=1<h?r:a.bindType||c,(s=(w._data(p,"events")||{})[e.type]&&w._data(p,"handle"))&&s.apply(p,t),(s=o&&p[o])&&s.apply&&v(p)&&(e.result=s.apply(p,t),!1===e.result)&&e.preventDefault();if(e.type=c,!n&&!e.isDefaultPrevented()&&(!a._default||!1===a._default.apply(u.pop(),t))&&v(i)&&o&&i[c]&&!w.isWindow(i)){(l=i[o])&&(i[o]=null),w.event.triggered=c;try{i[c]()}catch(e){}w.event.triggered=void 0,l&&(i[o]=l)}return e.result}},dispatch:function(e){e=w.event.fix(e);var t,i,n,s,o,r=u.call(arguments),a=(w._data(this,"events")||{})[e.type]||[],l=w.event.special[e.type]||{};if((r[0]=e).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(o=w.event.handlers.call(this,e,a),t=0;(n=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=n.elem,i=0;(s=n.handlers[i++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(s.namespace)||(e.handleObj=s,e.data=s.data,void 0!==(s=((w.event.special[s.origType]||{}).handle||s.handler).apply(n.elem,r))&&!1===(e.result=s)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var i,n,s,o,r=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(n=[],i=0;i<a;i++)void 0===n[s=(o=t[i]).selector+" "]&&(n[s]=o.needsContext?-1<w(s,this).index(l):w.find(s,this,null,[l]).length),n[s]&&n.push(o);n.length&&r.push({elem:l,handlers:n})}return a<t.length&&r.push({elem:this,handlers:t.slice(a)}),r},fix:function(e){if(e[w.expando])return e;var t,i,n,s=e.type,o=e,r=this.fixHooks[s];for(r||(this.fixHooks[s]=r=Ae.test(s)?this.mouseHooks:Ne.test(s)?this.keyHooks:{}),n=r.props?this.props.concat(r.props):this.props,e=new w.Event(o),t=n.length;t--;)e[i=n[t]]=o[i];return e.target||(e.target=o.srcElement||f),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,r.filter?r.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var i,n,s=t.button,o=t.fromElement;return null==e.pageX&&null!=t.clientX&&(n=(i=e.target.ownerDocument||f).documentElement,i=i.body,e.pageX=t.clientX+(n&&n.scrollLeft||i&&i.scrollLeft||0)-(n&&n.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||i&&i.scrollTop||0)-(n&&n.clientTop||i&&i.clientTop||0)),!e.relatedTarget&&o&&(e.relatedTarget=
vendor: 1,876 bytes, line 1
1o===e.target?t.toElement:o),e.which||void 0===s||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ze()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===ze()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return w.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(e){return w.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,i){e=w.extend(new w.Event,i,{type:e,isSimulated:!0});w.event.trigger(e,null,t),e.isDefaultPrevented()&&i.preventDefault()}},w.removeEvent=f.removeEventListener?function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)}:function(e,t,i){t="on"+t;e.detachEvent&&(void 0===e[t]&&(e[t]=null),e.detachEvent(t,i))},w.Event=function(e,t){return this instanceof w.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?He:l):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||w.now(),void(this[w.expando]=!0)):new w.Event(e,t)},w.Event.prototype={constructor:w.Event,isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=He,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=He,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=He,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}}
1,w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,s){w.event.special[e]={delegateType:s,bindType:s,handle:function(e){var t,i=e.relatedTarget,n=e.handleObj;return i&&(i===this||w.contains(this,i))||(e.type=n.origType,t=n.handler.apply(this,arguments),e.type=s),t}}}),g.submit||(w.event.special.submit={setup:function(){return!w.nodeName(this,"form")&&void w.event.add(this,"click._submit keypress._submit",function(e){e=e.target,e=w.nodeName(e,"input")||w.nodeName(e,"button")?w.prop(e,"form"):void 0;e&&!w._data(e,"submit")&&(w.event.add(e,"submit._submit",function(e){e._submitBubble=!0}),w._data(e,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode)&&!e.isTrigger&&w.event.simulate("submit",this.parentNode,e)},teardown:function(){return!w.nodeName(this,"form")&&void w.event.remove(this,"._submit")}}),g.change||(w.event.special.change={setup:function(){return Ie.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(w.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),w.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),w.event.simulate("change",this,e)})),!1):void w.event.add(this,"beforeactivate._change",function(e){e=e.target;Ie.test(e.nodeName)&&!w._data(e,"change")&&(w.event.add(e,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||w.event.simulate("change",this.parentNode,e)}),w._data(e,"change",!0))})},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return w.event.remove(this,"._change"),!Ie.test(this.nodeName)}}),g.focusin||w.each({focus:"focusin",blur:"focusout"},function(i,n){function s(e){w.event.simulate(n,e.target,w.event.fix(e))}w.event.special[n]={setup:function(){var e=this.ownerDocument||this,t=w._data(e,n);t||e.addEventListener(i,s,!0),w._data(e,n,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=w._data(e,n)-1;t?w._data(e,n,t):(e.removeEventListener(i,s,!0),w._removeData(e,n))}}}),w.fn.extend({on:function(e,t,i,n){return Oe(this,e,t,i,n)},one:function(e,t,i,n){return Oe(this,e,t,i,n,1)},off:function(e,t,i){var n,s;if(e&&e.preventDefault&&e.handleObj)n=e.handleObj,w(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=l),this.each(function(){w.event.remove(this,e,i,t)});for(s in e)this.off(s,t,e[s])}return this},trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];return i?w.event.trigger(e,t,i,!0):void 0}});var je=/ jQuery\d+="(?:null|\d+)"/g,We=new RegExp("<(?:"+ye+")[\\s/>]","i"),Fe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Le=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,Be=/^true\/(.*)/,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ye=_e(f).appendChild(f.createElement("div"));function $e(e,t){return w.nodeName(e,"table")&&w.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ue(e){return e.type=(null!==w.find.attr(e,"type"))+"/"+e.type,e}function Qe(e){var t=Be.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ve(e,t){if(1===t.nodeType&&w.hasData(e)){var i,n,s,e=w._data(e),o=w._data(t,e),r=e.events;if(r)for(i in delete o.handle,o.events={},r)for(n=0,s=r[i].length;n<s;n++)w.event.add(t,i,r[i][n]);o.data&&(o.data=w.extend({},o.data))}}function _(i,n,s,o){n=W.apply([],n);var e,t,r,a,l,h,u=0,c=i.length,d=c-1,p=n[0],f=w.isFunction(p);if(f||1<c&&"string"==typeof p&&!g.checkClone&&Re.test(p))return i.each(function(e){var t=i.eq(e);f&&(n[0]=p.call(this,e,t.html())),_(t,n,s,o)});if(c&&(e=(h=De(n,i[0].ownerDocument,!1,i,o)).firstChild,1===h.childNodes.length&&(h=e),e||o)){for(r=(a=w.map(y(h,"script"),Ue)).length;u<c;u++)t=h,u!==d&&(t=w.clone(t,!0,!0),r)&&w.merge(a,y(t,"script")),s.call(i[u],t,u);if(r)for(l=a[a.length-1].ownerDocument,w.map(a,Qe),u=0;u<r;u++)t=a[u],ve.test(t.type||"")&&!w._data(t,"globalEval")&&w.contains(l,t)&&(t.src?w._evalUrl&&w._evalUrl(t.src):w.globalEval((t.text||t.textContent||t.innerHTML||"").replace(qe,"")));h=e=null}return i}function Ke(e,t,i){for(var n,s=t?w.filter(t,e):e,o=0;null!=(n=s[o]);o++)i||1!==n.nodeType||w.cleanData(y(n)),n.parentNode&&(i&&w.contains(n.ownerDocument,n)&&xe(y(n,"script")),n.parentNode.removeChild(n));return e}w.extend({htmlPrefilter:function(e){return e.replace(Fe,"<$1></$2>")}
1,clone:function(e,t,i){var n,s,o,r,a,l,h,u,c=w.contains(e.ownerDocument,e);if(g.html5Clone||w.isXMLDoc(e)||!We.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Ye.innerHTML=e.outerHTML,Ye.removeChild(o=Ye.firstChild)),!(g.noCloneEvent&&g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(n=y(o),a=y(e),r=0;null!=(s=a[r]);++r)if(n[r]){d=void 0;p=void 0;l=void 0;h=void 0;u=void 0;var d=s;var p=n[r];if(1===p.nodeType){if(l=p.nodeName.toLowerCase(),!g.noCloneEvent&&p[w.expando]){for(h in(u=w._data(p)).events)w.removeEvent(p,h,u.handle);p.removeAttribute(w.expando)}"script"===l&&p.text!==d.text?(Ue(p).text=d.text,Qe(p)):"object"===l?(p.parentNode&&(p.outerHTML=d.outerHTML),g.html5Clone&&d.innerHTML&&!w.trim(p.innerHTML)&&(p.innerHTML=d.innerHTML)):"input"===l&&me.test(d.type)?(p.defaultChecked=p.checked=d.checked,p.value!==d.value&&(p.value=d.value)):"option"===l?p.defaultSelected=p.selected=d.defaultSelected:"input"!==l&&"textarea"!==l||(p.defaultValue=d.defaultValue)}}if(t)if(i)for(a=a||y(e),n=n||y(o),r=0;null!=(s=a[r]);r++)Ve(s,n[r]);else Ve(e,o);return 0<(n=y(o,"script")).length&&xe(n,!c&&y(e,"script")),n=a=s=null,o},cleanData:function(e,t){for(var i,n,s,o,r=0,a=w.expando,l=w.cache,h=g.attributes,u=w.event.special;null!=(i=e[r]);r++)if((t||v(i))&&(o=(s=i[a])&&l[s])){if(o.events)for(n in o.events)u[n]?w.event.remove(i,n):w.removeEvent(i,n,o.handle);l[s]&&(delete l[s],h||void 0===i.removeAttribute?i[a]=void 0:i.removeAttribute(a),c.push(s))}}}),w.fn.extend({domManip:_,detach:function(e){return Ke(this,e,!0)},remove:function(e){return Ke(this,e)},text:function(e){return d(this,function(e){return void 0===e?w.text(this):this.empty().append((this[0]&&this[0].ownerDocument||f).createTextNode(e))},null,e,arguments.length)},append:function(){return _(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||$e(this,e).appendChild(e)})},prepend:function(){return _(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=$e(this,e)).insertBefore(e,t.firstChild)})},before:function(){return _(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return _(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&w.cleanData(y(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&w.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return d(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(je,""):void 0;if("string"==typeof e&&!Le.test(e)&&(g.htmlSerialize||!We.test(e))&&(g.leadingWhitespace||!be.test(e))&&!b[(ge.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(w.cleanData(y(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var i=[];return _(this,arguments,function(e){var t=this.parentNode;w.inArray(this,i)<0&&(w.cleanData(y(this)),t)&&t.replaceChild(e,this)},i)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,r){w.fn[e]=function(e){for(var t,i=0,n=[],s=w(e),o=s.length-1;i<=o;i++)t=i===o?this:this.clone(!0),w(s[i])[r](t),F.apply(n,t.get());return this.pushStack(n)}});var Xe,Ge={HTML:"block",BODY:"block"};function Je(e,t){e=w(t.createElement(e)).appendTo(t.body),t=w.css(e[0],"display");return e.detach(),t}function Ze(e){var t=f,i=Ge[e];return i||("none"!==(i=Je(e,t))&&i||((t=((Xe=(Xe||w("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||Xe[0].contentDocument).document).write(),t.close(),i=Je(e,t),Xe.detach()),Ge[e]=i),i}function et(e,t,i,n){var s,o={};for(s in t)o[s]=e.style[s],e.style[s]=t[s];for(s in i=i.apply(e,n||[]),t)e.style[s]=o[s];return i}var i,tt,it,nt,st,ot,rt,o,at=/^margin/,lt=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),ht=f.documentElement;function r(){var e,t=f.documentElement;t.appendChild(rt),o.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i=it=ot=!1,tt=st=!0,x.getComputedStyle&&(e=x.getComputedStyle(o),i="1%"!==(e||{}).top,ot="2px"===(e||{}).marginLeft,it="4px"===(e||{width:"4px"}).width,o.style.marginRight="50%",tt="4px"===(e||{marginRight:"4px"}).marginRight,(e=o.appendChild(f.createElement("div"))).style.cssText=o.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",o.style.width="1px",st=!parseFloat((x.getComputedStyle(e)||{}).marginRight),o.removeChild(e)),o.style.display="none",(nt=0===o.getClientRects().length)&&(o.style.display="",o.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o.childNodes[0].style.borderCollapse="separate",(e=o.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",nt=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",nt=0===e[0].offsetHeight),t.removeChild(rt)}rt=f.createElement("div"),(o=f.createElement("div")).style&&(o.style.cssText="float:left;opacity:.5",g.opacity="0.5"===o.style.opacity,g.cssFloat=!!o.style.cssFloat,o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===o.style.backgroundClip,(rt=f.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.innerHTML="",rt.appendChild(o),g.boxSizing=""===o.style.boxSizing||""===o.style.MozBoxSizing||""===o.style.WebkitBoxSizing,w.extend(g,{reliableHiddenOffsets:function(){return null==i&&r(),nt},boxSizingReliable:function(){return null==i&&r(),it},pixelMarginRight:function(){return null==i&&r(),tt},pixelPosition:function(){return null==i&&r(),i},reliableMarginRight:function(){return null==i&&r(),st},reliableMarginLeft:function(){return null==i&&r(),ot}}));var h,p,ut=/^(top|right|bottom|left)$/;function ct(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}x.getComputedStyle?(h=function(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:x).getComputedStyle(e)},p=function(e,t,i){var n,s,o=e.style;return""!==(s=(i=i||h(e))?i.getPropertyValue(t)||i[t]:void 0)&&void 0!==s||w.contains(e.ownerDocument,e)||(s=w.style(e,t)),i&&!g.pixelMarginRight()&&lt.test(s)&&at.test(t)&&(e=o.width,t=o.minWidth,n=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=i.width,o.width=e,o.minWidth=t,o.maxWidth=n),void 0===s?s:s+""}):ht.currentStyle&&(h=function(e){return e.currentStyle},p=function(e,t,i){var n,s,o,r=e.style;return null==(i=(i=i||h(e))?i[t]:void 0)&&r&&r[t]&&(i=r[t]),lt.test(i)&&!ut.test(t)&&(n=r.left,(o=(s=e.runtimeStyle)&&s.left)&&(s.left
1=e.currentStyle.left),r.left="fontSize"===t?"1em":i,i=r.pixelLeft+"px",r.left=n,o)&&(s.left=o),void 0===i?i:i+""||"auto"});var dt=/alpha\([^)]*\)/i,pt=/opacity\s*=\s*([^)]*)/i,ft=/^(none|table(?!-c[ea]).+)/,mt=new RegExp("^("+e+")(.*)$","i"),gt={position:"absolute",visibility:"hidden",display:"block"},vt={letterSpacing:"0",fontWeight:"400"},bt=["Webkit","O","Moz","ms"],yt=f.createElement("div").style;function _t(e){if(e in yt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),i=bt.length;i--;)if((e=bt[i]+t)in yt)return e}function xt(e,t){for(var i,n,s,o=[],r=0,a=e.length;r<a;r++)(n=e[r]).style&&(o[r]=w._data(n,"olddisplay"),i=n.style.display,t?(o[r]||"none"!==i||(n.style.display=""),""===n.style.display&&de(n)&&(o[r]=w._data(n,"olddisplay",Ze(n.nodeName)))):(s=de(n),(i&&"none"!==i||!s)&&w._data(n,"olddisplay",s?i:w.css(n,"display"))));for(r=0;r<a;r++)!(n=e[r]).style||t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?o[r]||"":"none");return e}function wt(e,t,i){var n=mt.exec(t);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):t}function Ct(e,t,i,n,s){for(var o=i===(n?"border":"content")?4:"width"===t?1:0,r=0;o<4;o+=2)"margin"===i&&(r+=w.css(e,i+a[o],!0,s)),n?("content"===i&&(r-=w.css(e,"padding"+a[o],!0,s)),"margin"!==i&&(r-=w.css(e,"border"+a[o]+"Width",!0,s))):(r+=w.css(e,"padding"+a[o],!0,s),"padding"!==i&&(r+=w.css(e,"border"+a[o]+"Width",!0,s)));return r}function kt(e,t,i){var n=!0,s="width"===t?e.offsetWidth:e.offsetHeight,o=h(e),r=g.boxSizing&&"border-box"===w.css(e,"boxSizing",!1,o);if(s<=0||null==s){if(((s=p(e,t,o))<0||null==s)&&(s=e.style[t]),lt.test(s))return s;n=r&&(g.boxSizingReliable()||s===e.style[t]),s=parseFloat(s)||0}return s+Ct(e,t,i||(r?"border":"content"),n,o)+"px"}function k(e,t,i,n,s){return new k.prototype.init(e,t,i,n,s)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=p(e,"opacity"))?"1":t}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:g.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,o,r,a=w.camelCase(t),l=e.style;if(t=w.cssProps[a]||(w.cssProps[a]=_t(a)||a),r=w.cssHooks[t]||w.cssHooks[a],void 0===i)return r&&"get"in r&&void 0!==(s=r.get(e,!1,n))?s:l[t];if("string"===(o=typeof i)&&(s=pe.exec(i))&&s[1]&&(i=fe(e,t,s),o="number"),null!=i&&i==i&&("number"===o&&(i+=s&&s[3]||(w.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==i||0!==t.indexOf("background")||(l[t]="inherit"),!(r&&"set"in r&&void 0===(i=r.set(e,i,n)))))try{l[t]=i}catch(e){}}},css:function(e,t,i,n){var s,o=w.camelCase(t);return t=w.cssProps[o]||(w.cssProps[o]=_t(o)||o),"normal"===(s=void 0===(s=(o=w.cssHooks[t]||w.cssHooks[o])&&"get"in o?o.get(e,!0,i):s)?p(e,t,n):s)&&t in vt&&(s=vt[t]),(""===i||i)&&(o=parseFloat(s),!0===i||isFinite(o))?o||0:s}}),w.each(["height","width"],function(e,s){w.cssHooks[s]={get:function(e,t,i){return t?ft.test(w.css(e,"display"))&&0===e.offsetWidth?et(e,gt,function(){return kt(e,s,i)}):kt(e,s,i):void 0},set:function(e,t,i){var n=i&&h(e);return wt(0,t,i?Ct(e,s,i,g.boxSizing&&"border-box"===w.css(e,"boxSizing",!1,n),n):0)}}}),g.opacity||(w.cssHooks.opacity={get:function(e,t){return pt.test((t&&e.currentStyle?e.currentStyle:e.style).filter||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var i=e.style,e=e.currentStyle,n=w.isNumeric(t)?"alpha(opacity="+100*t+")":"",s=e&&e.filter||i.filter||"";((i.zoom=1)<=t||""===t)&&""===w.trim(s.replace(dt,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===t||e&&!e.filter)||(i.filter=dt.test(s)?s.replace(dt,n):s+" "+n)}}),w.cssHooks.marginRight=ct(g.reliableMarginRight,function(e,t){return t?et(e,{display:"inline-block"},p,[e,"marginRight"]):void 0}),w.cssHooks.marginLeft=ct(g.reliableMarginLeft,function(e,t){return t?(parseFloat(p(e,"marginLeft"))||(w.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-et(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px":void 0}),w.each({margin:"",padding:"",border:"Width"},function(s,o){w.cssHooks[s+o]={expand:function(e){for(var t=0,i={},n="string"==typeof e?e.split(" "):[e];t<4;t++)i[s+a[t]+o]=n[t]||n[t-2]||n[0];return i}},at.test(s)||(w.cssHooks[s+o].set=wt)}),w.fn.extend({css:function(e,t){return d(this,function(e,t,i){var n,s,o={},r=0;if(w.isArray(t)){for(n=h(e),s=t.length;r<s;r++)o[t[r]]=w.css(e,t[r],!1,n);return o}return void 0!==i?w.style(e,t,i):w.css(e,t)},e,t,1<arguments.length)},show:function(){return xt(this,!0)},hide:function(){return xt(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){de(this)?w(this).show():w(this).hide()})}}),((w.Tween=k).prototype={constructor:k,init:function(e,t,i,n,s,o){this.elem=e,this.prop=i,this.easing=s||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(w.cssNumber[i]?"":"px")},cur:function(){var e=k.propHooks[this.prop];return(e&&e.get?e:k.propHooks._default).get(this)},run:function(e){var t,i=k.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(i&&i.set?i:k.propHooks._default).set(this),this}}).init.prototype=k.prototype,(k.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=w.css(e.elem,e.prop,""))&&"auto"!==e?e:0}
vendor: 8,678 bytes, line 1
1,set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=k.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=k.prototype.init,w.fx.step={};var D,Dt,T,E,Tt=/^(?:toggle|show|hide)$/,Et=/queueHooks$/;function St(){return x.setTimeout(function(){D=void 0}),D=w.now()}function It(e,t){var i,n={height:e},s=0;for(t=t?1:0;s<4;s+=2-t)n["margin"+(i=a[s])]=n["padding"+i]=e;return t&&(n.opacity=n.width=e),n}function Nt(e,t,i){for(var n,s=(S.tweeners[t]||[]).concat(S.tweeners["*"]),o=0,r=s.length;o<r;o++)if(n=s[o].call(i,t,e))return n}function S(s,e,t){var i,o,n,r,a,l,h,u=0,c=S.prefilters.length,d=w.Deferred().always(function(){delete p.elem}),p=function(){if(o)return!1;for(var e=D||St(),e=Math.max(0,f.startTime+f.duration-e),t=1-(e/f.duration||0),i=0,n=f.tweens.length;i<n;i++)f.tweens[i].run(t);return d.notifyWith(s,[f,t,e]),t<1&&n?e:(d.resolveWith(s,[f]),!1)},f=d.promise({elem:s,props:w.extend({},e),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},t),originalProperties:e,originalOptions:t,startTime:D||St(),duration:t.duration,tweens:[],createTween:function(e,t){t=w.Tween(s,f.opts,e,t,f.opts.specialEasing[e]||f.opts.easing);return f.tweens.push(t),t},stop:function(e){var t=0,i=e?f.tweens.length:0;if(!o){for(o=!0;t<i;t++)f.tweens[t].run(1);e?(d.notifyWith(s,[f,1,0]),d.resolveWith(s,[f,e])):d.rejectWith(s,[f,e])}return this}}),m=f.props,g=m,v=f.opts.specialEasing;for(n in g)if(r=w.camelCase(n),a=v[r],l=g[n],w.isArray(l)&&(a=l[1],l=g[n]=l[0]),n!==r&&(g[r]=l,delete g[n]),h=w.cssHooks[r],h&&"expand"in h)for(n in l=h.expand(l),delete g[r],l)n in g||(g[n]=l[n],v[n]=a);else v[r]=a;for(;u<c;u++)if(i=S.prefilters[u].call(f,s,m,f.opts))return w.isFunction(i.stop)&&(w._queueHooks(f.elem,f.opts.queue).stop=w.proxy(i.stop,i)),i;return w.map(m,Nt,f),w.isFunction(f.opts.start)&&f.opts.start.call(s,f),w.fx.timer(w.extend(p,{elem:s,anim:f,queue:f.opts.queue})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}w.Animation=w.extend(S,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return fe(i.elem,e,pe.exec(t),i),i}]},tweener:function(e,t){for(var i,n=0,s=(e=w.isFunction(e)?(t=e,["*"]):e.match(C)).length;n<s;n++)i=e[n],S.tweeners[i]=S.tweeners[i]||[],S.tweeners[i].unshift(t)},prefilters:[function(t,e,i){var n,s,o,r,a,l,h,u=this,c={},d=t.style,p=t.nodeType&&de(t),f=w._data(t,"fxshow");for(n in i.queue||(null==(a=w._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,w.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(i.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===("none"===(h=w.css(t,"display"))?w._data(t,"olddisplay")||Ze(t.nodeName):h))&&"none"===w.css(t,"float")&&(g.inlineBlockNeedsLayout&&"inline"!==Ze(t.nodeName)?d.zoom=1:d.display="inline-block"),i.overflow&&(d.overflow="hidden",g.shrinkWrapBlocks()||u.always(function(){d.overflow=i.overflow[0],d.overflowX=i.overflow[1],d.overflowY=i.overflow[2]})),e)if(s=e[n],Tt.exec(s)){if(delete e[n],o=o||"toggle"===s,s===(p?"hide":"show")){if("show"!==s||!f||void 0===f[n])continue;p=!0}c[n]=f&&f[n]||w.style(t,n)}else h=void 0;if(w.isEmptyObject(c))"inline"===("none"===h?Ze(t.nodeName):h)&&(d.display=h);else for(n in f?"hidden"in f&&(p=f.hidden):f=w._data(t,"fxshow",{}),o&&(f.hidden=!p),p?w(t).show():u.done(function(){w(t).hide()}),u.done(function(){for(var e in w._removeData(t,"fxshow"),c)w.style(t,e,c[e])}),c)r=Nt(p?f[n]:0,n,u),n in f||(f[n]=r.start,p&&(r.end=r.start,r.start="width"===n||"height"===n?1:0))}],prefilter:function(e,t){t?S.prefilters.unshift(e):S.prefilters.push(e)}}),w.speed=function(e,t,i){var n=e&&"object"==typeof e?w.extend({},e):{complete:i||!i&&t||w.isFunction(e)&&e,duration:e,easing:i&&t||t&&!w.isFunction(t)&&t};return n.duration=w.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in w.fx.speeds?w.fx.speeds[n.duration]:w.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){w.isFunction(n.old)&&n.old.call(this),n.queue&&w.dequeue(this,n.queue)},n},w.fn.extend({fadeTo:function(e,t,i,n){return this.filter(de).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(t,e,i,n){function s(){var e=S(this,w.extend({},t),r);(o||w._data(this,"finish"))&&e.stop(!0)}var o=w.isEmptyObject(t),r=w.speed(e,i,n);return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(s,e,o){function r(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof s&&(o=e,e=s,s=void 0),e&&!1!==s&&this.queue(s||"fx",[]),this.each(function(){var e=!0,t=null!=s&&s+"queueHooks",i=w.timers,n=w._data(this);if(t)n[t]&&n[t].stop&&r(n[t]);else for(t in n)n[t]&&n[t].stop&&Et.test(t)&&r(n[t]);for(t=i.length;t--;)i[t].elem!==this||null!=s&&i[t].queue!==s||(i[t].anim.stop(o),e=!1,i.splice(t,1));!e&&o||w.dequeue(this,s)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var e,t=w._data(this),i=t[r+"queue"],n=t[r+"queueHooks"],s=w.timers,o=i?i.length:0;for(t.finish=!0,w.queue(this,r,[]),n&&n.stop&&n.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===r&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<o;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete t.finish})}}),w.each(["toggle","show","hide"],function(e,n){var s=w.fn[n];w.fn[n]=function(e,t,i){return null==e||"boolean"==typeof e?s.apply(this,arguments):this.animate(It(n,!0),e,t,i)}}),w.each({slideDown:It("show"),slideUp:It("hide"),slideToggle:It("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){w.fn[e]=function(e,t,i){return this.animate(n,e,t,i)}}),w.timers=[],w.fx.tick=function(){var e,t=w.timers,i=0;for(D=w.now();i<t.length;i++)(e=t[i])()||t[i]!==e||t.splice(i--,1);t.length||w.fx.stop(),D=void 0},w.fx.timer=function(e){w.timers.push(e),e()?w.fx.start():w.timers.pop()},w.fx.interval=13,w.fx.start=function(){Dt=Dt||x.setInterval(w.fx.tick,w.fx.interval)},w.fx.stop=function(){x.clearInterval(Dt),Dt=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(n,e){return n=w.fx&&w.fx.speeds[n]||n,this.queue(e=e||"fx",function(e,t){var i=x.setTimeout(e,n);t.stop=function(){x.clearTimeout(i)}})},T=f.createElement("input"),P=f.createElement("div"),E=f.createElement("select"),e=E.appendChild(f.createElement("option")),(P=f.createElement("div")).setAttribute("className","t"),P.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",z=P.getElementsByTagName("a")[0],T.setAttribute("type","checkbox"),P.appendChild(T),(z=P.getElementsByTagName("a")[0]).style.cssText="top:1px",g.getSetAttribute="t"!==P.className,g.style=/top/.test(z.getAttribute("style")),g.hrefNormalized="/a"===z.getAttribute("href"),g.checkOn=!!T.value,g.optSelected=e.selected,g.enctype=!!f.createElement("form").enctype,E.disabled=!0,g.optDisabled=!e.disabled,(T=f.createElement("input")).setAttribute("value",""),g.input=""===T.getAttribute("value"),T.value="t",T.setAttribute("type","radio"),g.radioValue="t"===T.value;var At=/\r/g,Mt=/[\x20\t\r\n\f]+/g;w.fn.extend({val:function(t){var i,e,n,s=this[0];return arguments.length?(n=w.isFunction(t),this.each(function(e){1===this.nodeType&&(null==(e=n?t.call(this,e,w(this).val()):t)?e="":"number"==typeof e?e+="":w.isArray(e)&&(e=w.map(e,function(e){return null==e?"":e+""})),(i=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,e,"value")||(this.value=e))})):s?(i=w.valHooks[s.type]||w.valHooks[s.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(s,"value"))?e:"string"==typeof(e=s.value)?e.replace(At,""):null==e?"":e:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:w.trim(w.text(e)).replace(Mt," ")}},select:{get:function(e){for(var t,i=e.options,n=e.selectedIndex,s="select-one"===e.type||n<0,o=s?null:[],r=s?n+1:i.length,a=n<0?r:s?n:0;a<r;a++)if(((t=i[a]).selected||a===n)&&(g.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!w.nodeName(t.parentNode,"optgroup"))){if(t=w(t).val(),s)return t;o.push(t)}return o},set:function(e,t){for(var i,n,s=e.options,o=w.makeArray(t),r=s.length;r--;)if(n=s[r],-1<w.inArray(w.valHooks.option.get(n),o))try{n.selected=i=!0}catch(e){n.scrollHeight}else n.selected=!1;
1return i||(e.selectedIndex=-1),s}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){return w.isArray(t)?e.checked=-1<w.inArray(w(e).val(),t):void 0}},g.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var I,Pt,N=w.expr.attrHandle,Ht=/^(?:checked|selected)$/i,A=g.getSetAttribute,zt=g.input,Ot=(w.fn.extend({attr:function(e,t){return d(this,w.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,i){var n,s,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?w.prop(e,t,i):(1===o&&w.isXMLDoc(e)||(t=t.toLowerCase(),s=w.attrHooks[t]||(w.expr.match.bool.test(t)?Pt:I)),void 0!==i?null===i?void w.removeAttr(e,t):s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:(e.setAttribute(t,i+""),i):!(s&&"get"in s&&null!==(n=s.get(e,t)))&&null==(n=w.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){var i;if(!g.radioValue&&"radio"===t&&w.nodeName(e,"input"))return i=e.value,e.setAttribute("type",t),i&&(e.value=i),t}}},removeAttr:function(e,t){var i,n,s=0,o=t&&t.match(C);if(o&&1===e.nodeType)for(;i=o[s++];)n=w.propFix[i]||i,w.expr.match.bool.test(i)?zt&&A||!Ht.test(i)?e[n]=!1:e[w.camelCase("default-"+i)]=e[n]=!1:w.attr(e,i,""),e.removeAttribute(A?i:n)}}),Pt={set:function(e,t,i){return!1===t?w.removeAttr(e,i):zt&&A||!Ht.test(i)?e.setAttribute(!A&&w.propFix[i]||i,i):e[w.camelCase("default-"+i)]=e[i]=!0,i}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var o=N[t]||w.find.attr;zt&&A||!Ht.test(t)?N[t]=function(e,t,i){var n,s;return i||(s=N[t],N[t]=n,n=null!=o(e,t,i)?t.toLowerCase():null,N[t]=s),n}:N[t]=function(e,t,i){return i?void 0:e[w.camelCase("default-"+t)]?t.toLowerCase():null}}),zt&&A||(w.attrHooks.value={set:function(e,t,i){return w.nodeName(e,"input")?void(e.defaultValue=t):I&&I.set(e,t,i)}}),A||(I={set:function(e,t,i){var n=e.getAttributeNode(i);return n||e.setAttributeNode(n=e.ownerDocument.createAttribute(i)),n.value=t+="","value"===i||t===e.getAttribute(i)?t:void 0}},N.id=N.name=N.coords=function(e,t,i){return i?void 0:(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},w.valHooks.button={get:function(e,t){e=e.getAttributeNode(t);return e&&e.specified?e.value:void 0},set:I.set},w.attrHooks.contenteditable={set:function(e,t,i){I.set(e,""!==t&&t,i)}},w.each(["width","height"],function(e,i){w.attrHooks[i]={set:function(e,t){return""===t?(e.setAttribute(i,"auto"),t):void 0}}})),g.style||(w.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}}),/^(?:input|select|textarea|button|object)$/i),jt=/^(?:a|area)$/i,Wt=(w.fn.extend({prop:function(e,t){return d(this,w.prop,e,t,1<arguments.length)},removeProp:function(e){return e=w.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),w.extend({prop:function(e,t,i){var n,s,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,s=w.propHooks[t]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:e[t]=i:s&&"get"in s&&null!==(n=s.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):Ot.test(e.nodeName)||jt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.hrefNormalized||w.each(["href","src"],function(e,t){w.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),g.optSelected||(w.propHooks.selected={get:function(e){e=e.parentNode;return e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),g.enctype||(w.propFix.enctype="encoding"),/[\t\r\n\f]/g);function M(e){return w.attr(e,"class")||""}w.fn.extend({addClass:function(t){var e,i,n,s,o,r,a=0;if(w.isFunction(t))return this.each(function(e){w(this).addClass(t.call(this,e,M(this)))});if("string"==typeof t&&t)for(e=t.match(C)||[];
1i=this[a++];)if(r=M(i),n=1===i.nodeType&&(" "+r+" ").replace(Wt," ")){for(o=0;s=e[o++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");r!==(r=w.trim(n))&&w.attr(i,"class",r)}return this},removeClass:function(t){var e,i,n,s,o,r,a=0;if(w.isFunction(t))return this.each(function(e){w(this).removeClass(t.call(this,e,M(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(C)||[];i=this[a++];)if(r=M(i),n=1===i.nodeType&&(" "+r+" ").replace(Wt," ")){for(o=0;s=e[o++];)for(;-1<n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");r!==(r=w.trim(n))&&w.attr(i,"class",r)}return this},toggleClass:function(s,t){var o=typeof s;return"boolean"==typeof t&&"string"==o?t?this.addClass(s):this.removeClass(s):w.isFunction(s)?this.each(function(e){w(this).toggleClass(s.call(this,e,M(this),t),t)}):this.each(function(){var e,t,i,n;if("string"==o)for(t=0,i=w(this),n=s.match(C)||[];e=n[t++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==s&&"boolean"!=o||((e=M(this))&&w._data(this,"__className__",e),w.attr(this,"class",!e&&!1!==s&&w._data(this,"__className__")||""))})},hasClass:function(e){for(var t,i=0,n=" "+e+" ";t=this[i++];)if(1===t.nodeType&&-1<(" "+M(t)+" ").replace(Wt," ").indexOf(n))return!0;return!1}}),w.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,i){w.fn[i]=function(e,t){return 0<arguments.length?this.on(i,null,e,t):this.trigger(i)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var P=x.location,Ft=w.now(),Lt=/\?/,Rt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g,Bt=(w.parseJSON=function(e){var s,o,t;return x.JSON&&x.JSON.parse?x.JSON.parse(e+""):(o=null,(t=w.trim(e+""))&&!w.trim(t.replace(Rt,function(e,t,i,n){return 0===(o=s&&t?0:o)?e:(s=i||t,o+=!n-!i,"")}))?Function("return "+t)():w.error("Invalid JSON: "+e))},w.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{x.DOMParser?t=(new x.DOMParser).parseFromString(e,"text/xml"):((t=new x.ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+e),t},/#.*$/),qt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,$t=/^(?:GET|HEAD)$/,Ut=/^\/\//,Qt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Vt={},Kt={},Xt="*/".concat("*"),Gt=P.href,H=Qt.exec(Gt.toLowerCase())||[];function Jt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var i,n=0,s=e.toLowerCase().match(C)||[];if(w.isFunction(t))for(;i=s[n++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(o[i]=o[i]||[]).unshift(t)):(o[i]=o[i]||[]).push(t)}}function Zt(t,n,s,o){var r={},a=t===Kt;function l(e){var i;return r[e]=!0,w.each(t[e]||[],function(e,t){t=t(n,s,o);return"string"!=typeof t||a||r[t]?a?!(i=t):void 0:(n.dataTypes.unshift(t),l(t),!1)}),i}return l(n.dataTypes[0])||!r["*"]&&l("*")}function ei(e,t){var i,n,s=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((s[n]?e:i=i||{})[n]=t[n]);return i&&w.extend(!0,e,i),e}function ti(e){if(!w.contains(e.ownerDocument||f,e))return!0;for(;e&&1===e.nodeType;){if("none"===((t=e).style&&t.style.display||w.css(t,"display"))||"hidden"===e.type)return!0;e=e.parentNode}var t;return!1}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Gt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(H[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":w.parseJSON,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ei(ei(e,w.ajaxSettings),t):ei(w.ajaxSettings,e)},ajaxPrefilter:Jt(Vt),ajaxTransport:Jt(Kt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var i,l,h,u,c,d,n,p=w.ajaxSetup({},t=t||{}),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?w(f):w.event,g=w.Deferred(),v=w.Callbacks("once memory"),b=p.statusCode||{},s={},o={},y=0,r="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(2===y){if(!n)for(n={};t=Yt.exec(h);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===y?h:null},setRequestHeader:function(e,t){var i=e.toLowerCase();return y||(e=o[i]=o[i]||e,s[e]=t),this},overrideMimeType:function(e){return y||(p.mimeType=e),this},statusCode:function(e){if(e)if(y<2)for(var t in e)b[t]=[b[t],e[t]];else _.always(e[_.status]);return this},abort:function(e){e=e||r;return d&&d.abort(e),a(0,e),this}};if(g.promise(_).complete=v.add,_.success=_.done,_.error=_.fail,p.url=((e||p.url||Gt)+"").replace(Bt,"").replace(Ut,H[1]+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=w.trim(p.dataType||"*").toLowerCase().match(C)||[""],null==p.crossDomain&&(e=Qt.exec(p.url.toLowerCase()),p.crossDomain=!(!e||e[1]===H[1]&&e[2]===H[2]&&(e[3]||("http:"===e[1]?"80":"443"))===(H[3]||("http:"===H[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=w.param(p.data,p.traditional)),Zt(Vt,p,t,_),2!==y){for(i in(c=w.event&&p.global)&&0==w.active++&&w.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!$t.test(p.type),l=p.url,p.hasContent||(p.data&&(l=p.url+=(Lt.test(l)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=qt.test(l)?l.replace(qt,"$1_="+Ft++):l+(Lt.test(l)?"&":"?")+"_="+Ft++)),p.ifModified&&(w.lastModified[l]&&_.setRequestHeader("If-Modified-Since",w.lastModified[l]),w.etag[l])&&_.setRequestHeader("If-None-Match",w.etag[l]),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&_.setRequestHeader("Content-Type",p.contentType),_.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Xt+"; q=0.01":""):p.accepts["*"]),p.headers)_.setRequestHeader(i,p.headers[i]);
vendor: 4,803 bytes, line 1
1if(p.beforeSend&&(!1===p.beforeSend.call(f,_,p)||2===y))return _.abort();for(i in r="abort",{success:1,error:1,complete:1})_[i](p[i]);if(d=Zt(Kt,p,t,_)){if(_.readyState=1,c&&m.trigger("ajaxSend",[_,p]),2===y)return _;p.async&&0<p.timeout&&(u=x.setTimeout(function(){_.abort("timeout")},p.timeout));try{y=1,d.send(s,a)}catch(e){if(!(y<2))throw e;a(-1,e)}}else a(-1,"No Transport")}return _;function a(e,t,i,n){var s,o,r,a=t;2!==y&&(y=2,u&&x.clearTimeout(u),d=void 0,h=n||"",_.readyState=0<e?4:0,n=200<=e&&e<300||304===e,i&&(r=function(e,t,i){for(var n,s,o,r,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===s&&(s=e.mimeType||t.getResponseHeader("Content-Type"));if(s)for(r in a)if(a[r]&&a[r].test(s)){l.unshift(r);break}if(l[0]in i)o=l[0];else{for(r in i){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}n=n||r}o=o||n}return o?(o!==l[0]&&l.unshift(o),i[o]):void 0}(p,_,i)),r=function(e,t,i,n){var s,o,r,a,l,h={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)h[r.toLowerCase()]=e.converters[r];for(o=u.shift();o;)if(e.responseFields[o]&&(i[e.responseFields[o]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(r=h[l+" "+o]||h["* "+o]))for(s in h)if(a=s.split(" "),a[1]===o&&(r=h[l+" "+a[0]]||h["* "+a[0]])){!0===r?r=h[s]:!0!==h[s]&&(o=a[0],u.unshift(a[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,r,_,n),n?(p.ifModified&&((i=_.getResponseHeader("Last-Modified"))&&(w.lastModified[l]=i),i=_.getResponseHeader("etag"))&&(w.etag[l]=i),204===e||"HEAD"===p.type?a="nocontent":304===e?a="notmodified":(a=r.state,s=r.data,n=!(o=r.error))):(o=a,!e&&a||(a="error",e<0&&(e=0))),_.status=e,_.statusText=(t||a)+"",n?g.resolveWith(f,[s,a,_]):g.rejectWith(f,[_,a,o]),_.statusCode(b),b=void 0,c&&m.trigger(n?"ajaxSuccess":"ajaxError",[_,p,n?s:o]),v.fireWith(f,[_,a]),c)&&(m.trigger("ajaxComplete",[_,p]),--w.active||w.event.trigger("ajaxStop"))}},getJSON:function(e,t,i){return w.get(e,t,i,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,s){w[s]=function(e,t,i,n){return w.isFunction(t)&&(n=n||i,i=t,t=void 0),w.ajax(w.extend({url:e,type:s,dataType:n,data:t,success:i},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},w.fn.extend({wrapAll:function(t){var e;return w.isFunction(t)?this.each(function(e){w(this).wrapAll(t.call(this,e))}):(this[0]&&(e=w(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)),this)},wrapInner:function(i){return w.isFunction(i)?this.each(function(e){w(this).wrapInner(i.call(this,e))}):this.each(function(){var e=w(this),t=e.contents();t.length?t.wrapAll(i):e.append(i)})},wrap:function(t){var i=w.isFunction(t);return this.each(function(e){w(this).wrapAll(i?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){w.nodeName(this,"body")||w(this).replaceWith(this.childNodes)}).end()}}),w.expr.filters.hidden=function(e){return g.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:ti(e)},w.expr.filters.visible=function(e){return!w.expr.filters.hidden(e)};var ii=/%20/g,ni=/\[\]$/,si=/\r?\n/g,oi=/^(?:submit|button|image|reset|file)$/i,ri=/^(?:input|select|textarea|keygen)/i;w.param=function(e,t){function i(e,t){t=w.isFunction(t)?t():null==t?"":t,s[s.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var n,s=[];if(void 0===t&&(t=w.ajaxSettings&&w.ajaxSettings.traditional),w.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)!function i(n,e,s,o){if(w.isArray(e))w.each(e,function(e,t){s||ni.test(n)?o(n,t):i(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,s,o)});else if(s||"object"!==w.type(e))o(n,e);else for(var t in e)i(n+"["+t+"]",e[t],s,o)}(n,e[n],t,i);return s.join("&").replace(ii,"+")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&ri.test(this.nodeName)&&!oi.test(e)&&(this.checked||!me.test(e))}).map(function(e,t){var i=w(this).val();return null==i?null:w.isArray(i)?w.map(i,function(e){return{name:t.name,value:e.replace(si,"\r\n")}}):{name:t.name,value:i.replace(si,"\r\n")}}).get()}}),w.ajaxSettings.xhr=void 0!==x.ActiveXObject?function(){return this.isLocal?ui():8<f.documentMode?hi():/^(get|post|head|put|delete|options)$/i.test(this.t
1ype)&&hi()||ui()}:hi;var ai=0,li={},z=w.ajaxSettings.xhr();function hi(){try{return new x.XMLHttpRequest}catch(e){}}function ui(){try{return new x.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}x.attachEvent&&x.attachEvent("onunload",function(){for(var e in li)li[e](void 0,!0)}),g.cors=!!z&&"withCredentials"in z,(g.ajax=!!z)&&w.ajaxTransport(function(l){var h;if(!l.crossDomain||g.cors)return{send:function(e,o){var t,r=l.xhr(),a=++ai;if(r.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(t in l.xhrFields)r[t]=l.xhrFields[t];for(t in l.mimeType&&r.overrideMimeType&&r.overrideMimeType(l.mimeType),l.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)void 0!==e[t]&&r.setRequestHeader(t,e[t]+"");r.send(l.hasContent&&l.data||null),h=function(e,t){var i,n,s;if(h&&(t||4===r.readyState))if(delete li[a],h=void 0,r.onreadystatechange=w.noop,t)4!==r.readyState&&r.abort();else{s={},i=r.status,"string"==typeof r.responseText&&(s.text=r.responseText);try{n=r.statusText}catch(e){n=""}i||!l.isLocal||l.crossDomain?1223===i&&(i=204):i=s.text?200:404}s&&o(i,n,s,r.getAllResponseHeaders())},l.async?4===r.readyState?x.setTimeout(h):r.onreadystatechange=li[a]=h:h()},abort:function(){h&&h(void 0,!0)}}}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),w.ajaxTransport("script",function(t){var n,s;if(t.crossDomain)return s=f.head||w("head")[0]||f.documentElement,{send:function(e,i){(n=f.createElement("script")).async=!0,t.scriptCharset&&(n.charset=t.scriptCharset),n.src=t.url,n.onload=n.onreadystatechange=function(e,t){!t&&n.readyState&&!/loaded|complete/.test(n.readyState)||(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t)||i(200,"success")},s.insertBefore(n,s.firstChild)},abort:function(){n&&n.onload(void 0,!0)}}});var ci=[],di=/(=)\?(?=&|$)|\?\?/,pi=(w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ci.pop()||w.expando+"_"+Ft++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(e,t,i){var n,s,o,r=!1!==e.jsonp&&(di.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&di.test(e.data)&&"data");return r||"jsonp"===e.dataTypes[0]?(n=e.jsonpCallback=w.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(di,"$1"+n):!1!==e.jsonp&&(e.url+=(Lt.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return o||w.error(n+" was not called"),o[0]},e.dataTypes[0]="json",s=x[n],x[n]=function(){o=arguments},i.always(function(){void 0===s?w(x).removeProp(n):x[n]=s,e[n]&&(e.jsonpCallback=t.jsonpCallback,ci.push(n)),o&&w.isFunction(s)&&s(o[0]),o=s=void 0}),"script"):void 0}),w.parseHTML=function(e,t,i){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(i=t,t=!1),t=t||f;var n=K.exec(e),i=!i&&[];return n?[t.createElement(n[1])]:(n=De([e],t,i),i&&i.length&&w(i).remove(),w.merge([],n.childNodes))},w.fn.load);function fi(e){return w.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}w.fn.load=function(e,t,i){var n,s,o,r,a;return"string"!=typeof e&&pi?pi.apply(this,arguments):(r=this,-1<(a=e.indexOf(" "))&&(n=w.trim(e.slice(a,e.length)),e=e.slice(0,a)),w.isFunction(t)?(i=t,t=void 0):t&&"object"==typeof t&&(s="POST"),0<r.length&&w.ajax({url:e,type:s||"GET",dataType:"html",data:t}).done(function(e){o=arguments,r.html(n?w("<div>").append(w.parseHTML(e)).find(n):e)}).always(i&&function(e,t){r.each(function(){i.apply(this,o||[e.responseText,t,e])})}),this)},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.filters.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length},w.offset={setOffset:function(e,t,i){var n,s,o,r,a=w.css(e,"position"),l=w(e),h={};
1"static"===a&&(e.style.position="relative"),o=l.offset(),n=w.css(e,"top"),r=w.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<w.inArray("auto",[n,r])?(s=(a=l.position()).top,a.left):(s=parseFloat(n)||0,parseFloat(r)||0),null!=(t=w.isFunction(t)?t.call(e,i,w.extend({},o)):t).top&&(h.top=t.top-o.top+s),null!=t.left&&(h.left=t.left-o.left+a),"using"in t?t.using.call(e,h):l.css(h)}},w.fn.extend({offset:function(t){var e,i,n,s;return arguments.length?void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)}):(i={top:0,left:0},(s=(n=this[0])&&n.ownerDocument)?(e=s.documentElement,w.contains(e,n)?(void 0!==n.getBoundingClientRect&&(i=n.getBoundingClientRect()),n=fi(s),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i):void 0)},position:function(){var e,t,i,n;if(this[0])return i={top:0,left:0},n=this[0],"fixed"===w.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(i=w.nodeName(e[0],"html")?i:e.offset()).top+=w.css(e[0],"borderTopWidth",!0),i.left+=w.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-w.css(n,"marginTop",!0),left:t.left-i.left-w.css(n,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!w.nodeName(e,"html")&&"static"===w.css(e,"position");)e=e.offsetParent;return e||ht})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,s){var o=/Y/.test(s);w.fn[t]=function(e){return d(this,function(e,t,i){var n=fi(e);return void 0===i?n?s in n?n[s]:n.document.documentElement[t]:e[t]:void(n?n.scrollTo(o?w(n).scrollLeft():i,o?i:w(n).scrollTop()):e[t]=i)},t,e,arguments.length,null)}}),w.each(["top","left"],function(e,i){w.cssHooks[i]=ct(g.pixelPosition,function(e,t){return t?(t=p(e,i),lt.test(t)?w(e).position()[i]+"px":t):void 0})}),w.each({Height:"height",Width:"width"},function(o,r){w.each({padding:"inner"+o,content:r,"":"outer"+o},function(n,e){w.fn[e]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),s=n||(!0===e||!0===t?"margin":"border");return d(this,function(e,t,i){var n;return w.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+o],n["scroll"+o],e.body["offset"+o],n["offset"+o],n["client"+o])):void 0===i?w.css(e,t,s):w.style(e,t,i,s)},r,i?e:void 0,i,null)}})}),w.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)}}),w.fn.size=function(){return this.length},w.fn.andSelf=w.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var mi=x.jQuery,gi=x.$;return w.noConflict=function(e){return x.$===w&&(x.$=gi),e&&x.jQuery===w&&(x.jQuery=mi),w},O||(x.jQuery=x.$=w),w}),void 0===jQuery.migrateMute&&(jQuery.migrateMute=!0),function(l,i,r){function h(e){var t=i.console;n[e]||(n[e]=!0,l.migrateWarnings.push(e),t&&t.warn&&!l.migrateMute&&(t.warn("JQMIGRATE: "+e),l.migrateTrace)&&t.trace&&t.trace())}function e(e,t,i,n){if(Object.defineProperty)try{return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return h(n),i},set:function(e){h(n),i=e}})}catch(e){}l._definePropertyBroken=!0,e[t]=i}l.migrateVersion="1.4.1";var n={},a=(l.migrateWarnings=[],i.console&&i.console.log&&i.console.log("JQMIGRATE: Migrate is installed"+(l.migrateMute?"":" with logging active")+", version "+l.migrateVersion),l.migrateTrace===r&&(l.migrateTrace=!0),l.migrateReset=function(){n={},l.migrateWarnings.length=0},"BackCompat"===document.compatMode&&h("jQuery is not compatible with Quirks Mode"),l("<input/>",{size:1}).attr("size")&&l.attrFn),u=l.attr,s=l.attrHooks.value&&l.attrHooks.value.get||function(){return null},o=l.attrHooks.value&&l.attrHooks.value.set||function(){return r},c=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;e(l,"attrFn",a||{},"jQuery.attrFn is deprecated"),l.attr=function(e,t,i,n){var s=t.toLowerCase(),o=e&&e.nodeType;return n&&(u.length<4&&h("jQuery.fn.attr( props, pass ) is deprecated"),e)&&!d.test(o)&&(a?t in a:l.isFunction(l.fn[t]))?l(e)[t](i):("type"===t&&i!==r&&c.test(e.nodeName)&&e.parentNode&&h("Can't change the 'type' of an input or button in IE 6/7/8"),!l.attrHooks[s]&&p.test(s)&&(l.attrHooks[s]={get:function(e,t){var i=l.prop(e,t);return!0===i||"boolean"!=typeof i&&(i=e.getAttributeNode(t))&&!1!==i.nodeValue?t.toLowerCase():r},set:function(e,t,i){return!1===t?l.removeAttr(e,i):((t=l.propFix[i]||i)in e&&(e[t]=!0),e.setAttribute(i,i.toLowerCase())),i}},f.test(s))&&h("jQuery.fn.attr('"+s+"') might use property instead of attribute"),u.call(l,e,t,i))},l.attrHooks.value={get:function(e,t){var i=(e.nodeName||"").toLowerCase();return"button"===i?s.apply(this,arguments):("input"!==i&&"option"!==i&&h("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var i=(e.nodeName||"").toLowerCase();return"button"===i?o.apply(this,arguments):("input"!==i&&"option"!==i&&h("jQuery.fn.attr('value', val) no longer sets properties"),void(e.value=t))}};var t,m,g=l.fn.init,v=l.find,b=l.parseJSON,y=/^\s*</,_=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,x=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,w=/^([^<]*)(<[\w\W]+>)([^>]*)$/;for(m in l.fn.init=function(e,t,i){var n;return e&&"string"==typeof e&&!l.isPlainObject(t)&&(n=w.exec(l.trim(e)))&&n[0]&&(y.test(e)||h("$(html) HTML strings must start with '<' character"),n[3]&&h("$(html) HTML text after last tag is ignored"),"#"===n[0].charAt(0)&&(h("HTML string cannot start with a '#' character"),l.error("JQMIGRATE: Invalid selector string (XSS)")),t&&t.context&&t.context.nodeType&&(t=t.context),l.parseHTML)?g.call(this,l.parseHTML(n[2],t&&t.ownerDocument||t||document,!0),t,i):(n=g.apply(this,arguments),e&&e.selector!==r?(n.selector=e.selector,n.context=e.context):(n.selector="string"==typeof e?e:"",e&&(n.context=e.nodeType?e:t||document)),n)},l.fn.init.prototype=l.fn,l.find=function(t){var i=Array.prototype.slice.call(arguments);if("string"==typeof t&&_.test(t))try{document.querySelector(t)}catch(e){t=t.replace(x,function(e,t,i,n){return"["+t+i+'"'+n+'"]'});try{document.querySelector(t),h("Attribute selector with '#' must be quoted: "+i[0]),i[0]=t}catch(e){h("Attribute selector with '#' was not fixed: "+i[0])}}return v.apply(this,i)},v)Object.prototype.hasOwnProperty.call(v,m)&&(l.find[m]=v[m]);l.parseJSON=function(e){return e?b.apply(this,arguments):(h("jQuery.parseJSON requires a valid JSON string"),null)},l.uaMatch=function(e){e=e.toLowerCase();e=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:e[1]||"",version:e[2]||"0"}},l.browser||(t={},(P=l.uaMatch(navigator.userAgent)).browser&&(t[P.browser]=!0,t.version=P.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),l.browser=t),e(l,"browser",l.browser,"jQuery.browser is deprecated"),l.boxModel=l.support.boxModel="CSS1Compat"===document.compatMode,e(l,"boxModel",l.boxModel,"jQuery.boxModel is deprecated"),e(l.support,"boxModel",l.supp
1ort.boxModel,"jQuery.support.boxModel is deprecated"),l.sub=function(){function i(e,t){return new i.fn.init(e,t)}l.extend(!0,i,this),i.superclass=this,((i.fn=i.prototype=this()).constructor=i).sub=this.sub,i.fn.init=function(e,t){e=l.fn.init.call(this,e,t,n);return e instanceof i?e:i(e)},i.fn.init.prototype=i.fn;var n=i(document);return h("jQuery.sub() is deprecated"),i};function C(e){return"string"!=typeof e||l.event.special.hover?e:(z.test(e)&&h("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),e&&e.replace(z,"mouseenter$1 mouseleave$1"))}var k,D,T=!(l.fn.size=function(){return h("jQuery.fn.size() is deprecated; use the .length property"),this.length}),E=(l.swap&&l.each(["height","width","reliableMarginRight"],function(e,t){var i=l.cssHooks[t]&&l.cssHooks[t].get;i&&(l.cssHooks[t].get=function(){var e;return T=!0,e=i.apply(this,arguments),T=!1,e})}),l.swap=function(e,t,i,n){var s,o={};for(s in T||h("jQuery.swap() is undocumented and deprecated"),t)o[s]=e.style[s],e.style[s]=t[s];for(s in i=i.apply(e,n||[]),t)e.style[s]=o[s];return i},l.ajaxSetup({converters:{"text json":l.parseJSON}}),l.fn.data),S=(l.fn.data=function(e){var t,i=this[0];return i&&"events"===e&&1===arguments.length&&(t=l.data(i,e),i=l._data(i,e),t===r||t===i)&&i!==r?(h("Use of jQuery.fn.data('events') is deprecated"),i):E.apply(this,arguments)},/\/(java|ecma)script/i),I=(l.clean||(l.clean=function(e,t,i,n){t=(t=!(t=t||document).nodeType&&t[0]||t).ownerDocument||t,h("jQuery.clean() is deprecated");var s,o,r,a=[];if(l.merge(a,l.buildFragment(e,t).childNodes),i)for(o=function(e){return!e.type||S.test(e.type)?n?n.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):void 0},s=0;null!=(r=a[s]);s++)l.nodeName(r,"script")&&o(r)||(i.appendChild(r),void 0!==r.getElementsByTagName&&(r=l.grep(l.merge([],r.getElementsByTagName("script")),o),a.splice.apply(a,[s+1,0].concat(r)),s+=r.length));return a}),l.event.add),N=l.event.remove,O=l.event.trigger,j=l.fn.toggle,A=l.fn.live,M=l.fn.die,W=l.fn.load,P="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",H=new RegExp("\\b(?:"+P+")\\b"),z=/(?:^|\s)hover(\.\S+|)\b/,F=(l.event.props&&"attrChange"!==l.event.props[0]&&l.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),l.event.dispatch&&e(l.event,"handle",l.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),l.event.add=function(e,t,i,n,s){e!==document&&H.test(t)&&h("AJAX events should be attached to document: "+t),I.call(this,e,C(t||""),i,n,s)},l.event.remove=function(e,t,i,n,s){N.call(this,e,C(t)||"",i,n,s)},l.each(["load","unload","error"],function(e,t){l.fn[t]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?W.apply(this,e):(h("jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this))}}),l.fn.toggle=function(i,e){if(!l.isFunction(i)||!l.isFunction(e))return j.apply(this,arguments);h("jQuery.fn.toggle(handler, handler...) is deprecated");function t(e){var t=(l._data(this,"lastToggle"+i.guid)||0)%o;return l._data(this,"lastToggle"+i.guid,1+t),e.preventDefault(),n[t].apply(this,arguments)||!1}var n=arguments,s=i.guid||l.guid++,o=0;for(t.guid=s;o<n.length;)n[o++].guid=s;return this.click(t)},l.fn.live=function(e,t,i){return h("jQuery.fn.live() is deprecated"),A?A.apply(this,arguments):(l(this.context).on(e,this.selector,t,i),this)},l.fn.die=function(e,t){return h("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(l(this.context).off(e,this.selector||"**",t),this)},l.event.trigger=function(e,t,i,n){return i||H.test(e)||h("Global events are undocumented and deprecated"),O.call(this,e,t,i||document,n)},l.each(P.split("|"),function(e,t){l.event.special[t]={setup:function(){var e=this;return e!==document&&(l.event.add(document,t+"."+l.guid,function(){l.event.trigger(t,Array.prototype.slice.call(arguments,1),e,!0)}),l._data(this,t,l.guid++)),!1},teardown:function(){return this!==document&&l.event.remove(document,t+"."+l._data(this,t)),!1}}}),l.event.special.ready={setup:function(){this===document&&h("'ready' event is deprecated")}},l.fn.andSelf||l.fn.addBack),L=l.fn.find;l.fn.andSelf=function(){return h("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),F.apply(this,arguments)},l.fn.find=function(e){var t=L.apply(this,arguments);return t.context=this.context,t.selector=this.selector?this.selector+" "+e:e,t},l.Callbacks&&(k=l.Deferred,D=[["resolve","done",l.Callbacks("once memory"),l.Callbacks("once memory"),"resolved"],["reject","fail",l.Callbacks("once memory"),l.Callbacks("once memory"),"rejected"],["notify","progress",l.Callbacks("memory"),l.Callbacks("memory")]],l.Deferred=function(e){var o=k(),r=o.promise();
1return o.pipe=r.pipe=function(){var s=arguments;return h("deferred.pipe() is deprecated"),l.Deferred(function(n){l.each(D,function(e,t){var i=l.isFunction(s[e])&&s[e];o[t[1]](function(){var e=i&&i.apply(this,arguments);e&&l.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===r?n.promise():this,i?[e]:arguments)})}),s=null}).promise()},o.isResolved=function(){return h("deferred.isResolved is deprecated"),"resolved"===o.state()},o.isRejected=function(){return h("deferred.isRejected is deprecated"),"rejected"===o.state()},e&&e.call(o,o),o})}(jQuery,window),!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(w){function n(e,t){var i,n,s,o=e.nodeName.toLowerCase();return"area"===o?(n=(i=e.parentNode).name,!(!e.href||!n||"map"!==i.nodeName.toLowerCase()||!(s=w("img[usemap='#"+n+"']")[0]))&&r(s)):(/input|select|textarea|button|object/.test(o)?!e.disabled:"a"===o&&e.href||t)&&r(e)}function r(e){return w.expr.filters.visible(e)&&!w(e).parents().addBack().filter(function(){return"hidden"===w.css(this,"visibility")}).length}function e(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,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:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,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:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},w.extend(this._defaults,this.regional[""]),this.regional.en=w.extend(!0,{},this.regional[""]),this.regional["en-US"]=w.extend(!0,{},this.regional.en),this.dpDiv=i(w("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function i(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(t,"mouseout",function(){w(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&w(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&w(this).removeClass("ui-datepicker-next-hover")}).delegate(t,"mouseover",o)}function o(){w.datepicker._isDisabledDatepicker((v.inline?v.dpDiv.parent():v.input)[0])||(w(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),w(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&w(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&w(this).addClass("ui-datepicker-next-hover"))}function l(e,t){for(var i in w.extend(e,t),t)null==t[i]&&(e[i]=t[i])}function t(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}w.ui=w.ui||{},w.extend(w.ui,{version:"1.11.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),w.fn.extend({scrollParent:function(e){var t=this.css("position"),i="absolute"===t,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,e=this.parents().filter(function(){var e=w(this);return(!i||"static"!==e.css("position"))&&n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&e.length?e:w(this[0].ownerDocument||document)},uniqueId:(j=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++j)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id
1)&&w(this).removeAttr("id")})}}),w.extend(w.expr[":"],{data:w.expr.createPseudo?w.expr.createPseudo(function(t){return function(e){return!!w.data(e,t)}}):function(e,t,i){return!!w.data(e,i[3])},focusable:function(e){return n(e,!isNaN(w.attr(e,"tabindex")))},tabbable:function(e){var t=w.attr(e,"tabindex"),i=isNaN(t);return(i||0<=t)&&n(e,!i)}}),w("<a>").outerWidth(1).jquery||w.each(["Width","Height"],function(e,i){function n(e,t,i,n){return w.each(s,function(){t-=parseFloat(w.css(e,"padding"+this))||0,i&&(t-=parseFloat(w.css(e,"border"+this+"Width"))||0),n&&(t-=parseFloat(w.css(e,"margin"+this))||0)}),t}var s="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),r={innerWidth:w.fn.innerWidth,innerHeight:w.fn.innerHeight,outerWidth:w.fn.outerWidth,outerHeight:w.fn.outerHeight};w.fn["inner"+i]=function(e){return void 0===e?r["inner"+i].call(this):this.each(function(){w(this).css(o,n(this,e)+"px")})},w.fn["outer"+i]=function(e,t){return"number"!=typeof e?r["outer"+i].call(this,e):this.each(function(){w(this).css(o,n(this,e,!0,t)+"px")})}}),w.fn.addBack||(w.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),w("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(w.fn.removeData=(a=w.fn.removeData,function(e){return arguments.length?a.call(this,w.camelCase(e)):a.call(this)})),w.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),w.fn.extend({focus:(O=w.fn.focus,function(t,i){return"number"==typeof t?this.each(function(){var e=this;setTimeout(function(){w(e).focus(),i&&i.call(e)},t)}):O.apply(this,arguments)}),disableSelection:(s="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.bind(s+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(e){if(void 0!==e)return this.css("zIndex",e);if(this.length)for(var t,i=w(this[0]);i.length&&i[0]!==document;){if(("absolute"===(t=i.css("position"))||"relative"===t||"fixed"===t)&&(t=parseInt(i.css("zIndex"),10),!isNaN(t))&&0!==t)return t;i=i.parent()}return 0}}),w.ui.plugin={add:function(e,t,i){var n,s=w.ui[e].prototype;for(n in i)s.plugins[n]=s.plugins[n]||[],s.plugins[n].push([t,i[n]])},call:function(e,t,i,n){var s,o=e.plugins[t];if(o&&(n||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(s=0;o.length>s;s++)e.options[o[s][0]]&&o[s][1].apply(e.element,i)}};var s,O,a,j,W,F=0,L=Array.prototype.slice,h=(w.cleanData=(W=w.cleanData,function(e){for(var t,i,n=0;null!=(i=e[n]);n++)try{(t=w._data(i,"events"))&&t.remove&&w(i).triggerHandler("remove")}catch(e){}W(e)}),w.widget=function(e,i,t){var n,s,o,r,a={},l=e.split(".")[0];return e=e.split(".")[1],n=l+"-"+e,t||(t=i,i=w.Widget),w.expr[":"][n.toLowerCase()]=function(e){return!!w.data(e,n)},w[l]=w[l]||{},s=w[l][e],o=w[l][e]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new o(e,t)},w.extend(o,s,{version:t.version,_proto:w.extend({},t),_childConstructors:[]}),(r=new i).options=w.widget.extend({},r.options),w.each(t,function(t,n){return w.isFunction(n)?void(a[t]=function(){var e,t=this._super,i=this._superApply;return this._super=s,this._superApply=o,e=n.apply(this,arguments),this._super=t,this._superApply=i,e}):void(a[t]=n);function s(){return i.prototype[t].apply(this,arguments)}function o(e){return i.prototype[t].apply(this,e)}}),o.prototype=w.widget.extend(r,{widgetEventPrefix:s&&r.widgetEventPrefix||e},a,{constructor:o,namespace:l,widgetName:e,widgetFullName:n}),s?(w.each(s._childConstructors,function(e,t){var i=t.prototype;w.widget(i.namespace+"."+i.widgetName,o,t._proto)}),delete s._childConstructors):i._childConstructors.push(o),w.widget.bridge(e,o),o},w.widget.extend=function(e){for(var t,i,n=L.call(arguments,1),s=0,o=n.length;s<o;s++)for(t in n[s])i=n[s][t],n[s].hasOwnProperty(t)&&void 0!==i&&(e[t]=w.isPlainObject(i)?w.isPlainObject(e[t])?w.widget.extend({},e[t],i):w.widget.extend({},i):i);return e},w.widget.bridge=function(o,t){var r=t.prototype.widgetFullName||o;w.fn[o]=function(i){var e="string"==typeof i,n=L.call(arguments,1
vendor: 4,288 bytes, line 1
1),s=this;return i=!e&&n.length?w.widget.extend.apply(null,[i].concat(n)):i,e?this.each(function(){var e,t=w.data(this,r);return"instance"===i?(s=t,!1):t?w.isFunction(t[i])&&"_"!==i.charAt(0)?(e=t[i].apply(t,n))!==t&&void 0!==e?(s=e&&e.jquery?s.pushStack(e.get()):e,!1):void 0:w.error("no such method '"+i+"' for "+o+" widget instance"):w.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):this.each(function(){var e=w.data(this,r);e?(e.option(i||{}),e._init&&e._init()):w.data(this,r,new t(i,this))}),s}},w.Widget=function(){},w.Widget._childConstructors=[],w.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(e,t){t=w(t||this.defaultElement||this)[0],this.element=w(t),this.uuid=F++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=w(),this.hoverable=w(),this.focusable=w(),t!==this&&(w.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=w(t.style?t.ownerDocument:t.document||t),this.window=w(this.document[0].defaultView||this.document[0].parentWindow)),this.options=w.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:w.noop,_getCreateEventData:w.noop,_create:w.noop,_init:w.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(w.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:w.noop,widget:function(){return this.element},option:function(e,t){var i,n,s,o=e;if(0===arguments.length)return w.widget.extend({},this.options);if("string"==typeof e)if(o={},e=(i=e.split(".")).shift(),i.length){for(n=o[e]=w.widget.extend({},this.options[e]),s=0;i.length-1>s;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(e=i.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];o[e]=t}return this._setOptions(o),this},_setOptions:function(e){for(var t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!t),t)&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(s,o,e){var r,a=this;"boolean"!=typeof s&&(e=o,o=s,s=!1),e?(o=r=w(o),this.bindings=this.bindings.add(o)):(e=o,o=this.element,r=this.widget()),w.each(e,function(e,t){function i(){return s||!0!==a.options.disabled&&!w(this).hasClass("ui-state-disabled")?("string"==typeof t?a[t]:t).apply(a,arguments):void 0}"string"!=typeof t&&(i.guid=t.guid=t.guid||i.guid||w.guid++);var e=e.match(/^([\w:-]*)\s*(.*)$/),n=e[1]+a.eventNamespace,e=e[2];e?r.delegate(e,n,i):o.bind(n,i)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t),this.bindings=w(this.bindings.not(e).get()),this.focusable=w(this.focusable.not(e).get()),this.hoverable=w(this.hoverable.not(e).get())},_delay:function(e,t){var i=this;return setTimeout(function(){return("string"==typeof e?i[e]:e).apply(i,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){w(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){w(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){w(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){w(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,t,i){var n,s,o=this.options[e];if(i=i||{},(t=w.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],s=t.originalEvent)for(n in s)n in t||(t[n]=s[n]);
vendor: 7,463 bytes, line 1
1return this.element.trigger(t,i),!(w.isFunction(o)&&!1===o.apply(this.element[0],[t].concat(i))||t.isDefaultPrevented())}},w.each({show:"fadeIn",hide:"fadeOut"},function(o,r){w.Widget.prototype["_"+o]=function(t,e,i){var n=(e="string"==typeof e?{effect:e}:e)?!0!==e&&"number"!=typeof e&&e.effect||r:o,s=!w.isEmptyObject(e="number"==typeof(e=e||{})?{duration:e}:e);e.complete=i,e.delay&&t.delay(e.delay),s&&w.effects&&w.effects.effect[n]?t[o](e):n!==o&&t[n]?t[n](e.duration,e.easing,i):t.queue(function(e){w(this)[o](),i&&i.call(t[0]),e()})}}),w.widget,!1);function R(e,t,i){return[parseFloat(e[0])*(V.test(e[0])?t/100:1),parseFloat(e[1])*(V.test(e[1])?i/100:1)]}function C(e,t){return parseInt(w.css(e,t),10)||0}w(document).mouseup(function(){h=!1}),w.widget("ui.mouse",{version:"1.11.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(e){return!0===w.data(e.target,t.widgetName+".preventClickEvent")?(w.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){var t,i,n;if(!h)return this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),i=1===(this._mouseDownEvent=e).which,n=!("string"!=typeof(t=this).options.cancel||!e.target.nodeName)&&w(e.target).closest(this.options.cancel).length,i&&!n&&this._mouseCapture(e)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?e.preventDefault():(!0===w.data(e.target,this.widgetName+".preventClickEvent")&&w.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),h=!0)),!0},_mouseMove:function(e){if(this._mouseMoved){if(w.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&w.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),h=!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),w.ui=w.ui||{};var u,B,k=Math.max,D=Math.abs,q=Math.round,Y=/left|center|right/,$=/top|center|bottom/,U=/[\+\-]\d+(\.[\d]+)?%?/,Q=/^\w+/,V=/%$/,K=w.fn.position;w.position={scrollbarWidth:function(){var e,t,i;return void 0!==u?u:(i=(t=w("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>")).children()[0],w("body").append(t),e=i.offsetWidth,t.css("overflow","scroll"),e===(i=i.offsetWidth)&&(i=t[0].clientWidth),t.remove(),u=e-i)},getScrollInfo:function(e){var t=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),t="scroll"===t||"auto"===t&&e.width<e.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&e.height<e.element[0].scrollHeight?w.position.scrollbarWidth():0,height:t?w.position.scrollbarWidth():0}},getWithinInfo:function(e){var e=w(e||window),t=w.isWindow(e[0]),i=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:t,isDocument:i,offset:e.offset()||{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:t||i?e.width():e.outerWidth(),height:t||i?e.height():e.outerHeight()}}},w.fn.position=function(c){if(!c||!c.of)return K.apply(this,arguments);c=w.extend({},c);var d,p,f,m,g,e,v=w(c.of),b=w.position.getWithinInfo(c.within),y=w.position.getScrollInfo(b),_=(c.collision||"flip").split(" "),x={},t=9===(t=(e=v)[0]).nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:w.isWindow(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()};return v[0].preventDefault&&(c.at="left top"),p=t.width,f=t.height,g=w.extend({},m=t.offset),w.each(["my","at"],function(){var e,t,i=(c[this]||"").split(" ");(i=1===i.length?Y.test(i[0])?i.concat(["center"]):$.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=Y.test(i[0])?i[0]:"center",i[1]=$.test(i[1])?i[1]:"center",e=U.exec(i[0]),t=U.exec(i[1]),x[this]=[e?e[0]:0,t?t[0]:0],c[this]=[Q.exec(i[0])[0],Q.exec(i[1])[0]]}),1===_.length&&(_[1]=_[0]),"right"===c.at[0]?g.left+=p:"center"===c.at[0]&&(g.left+=p/2),"bottom"===c.at[1]?g.top+=f:"center"===c.at[1]&&(g.top+=f/2),d=R(x.at,p,f),g.left+=d[0],g.top+=d[1],this.each(function(){var i,e,r=w(this),a=r.outerWidth(),l=r.outerHeight(),t=C(this,"marginLeft"),n=C(this,"marginTop"),s=a+t+C(this,"marginRight")+y.width,o=l+n+C(this,"marginBottom")+y.height,h=w.extend({},g),u=R(x.my,r.outerWidth(),r.outerHeight());"right"===c.my[0]?h.left-=a:"center"===c.my[0]&&(h.left-=a/2),"bottom"===c.my[1]?h.top-=l:"center"===c.my[1]&&(h.top-=l/2),h.left+=u[0],h.top+=u[1],B||(h.left=q(h.left),h.top=q(h.top)),i={marginLeft:t,marginTop:n},w.each(["left","top"],function(e,t){w.ui.position[_[e]]&&w.ui.position[_[e]][t](h,{targetWidth:p,targetHeight:f,elemWidth:a,elemHeight:l,collisionPosition:i,collisionWidth:s,collisionHeight:o,offset:[d[0]+u[0],d[1]+u[1]],my:c.my,at:c.at,within:b,elem:r})}),c.using&&(e=function(e){var t=m.left-h.left,i=t+p-a,n=m.top-h.top,s=n+f-l,o={target:{element:v,left:m.left,top:m.top,width:p,height:f},element:{element:r,left:h.left,top:h.top,width:a,height:l},horizontal:i<0?"left":0<t?"right":"center",vertical:s<0?"top":0<n?"bottom":"middle"};p<a&&p>D(t+i)&&(o.horizontal="center"),f<l&&f>D(n+s)&&(o.vertical="middle"),o.important=k(D(t),D(i))>k(D(n),D(s))?"horizontal":"vertical",c.using.call(this,e,o)}),r.offset(w.extend(h,{using:e}))})},w.ui.position={fit:{left:function(e,t){var i,n=t.within,s=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,o=e.left-t.collisionPosition.marginLeft,r=s-o,a=o+t.collisionWidth-n-s;t.collisionWidth>n?0<r&&a<=0?(i=e.left+r+t.collisionWidth-n-s,e.left+=r-i):e.left=!(0<a&&r<=0)&&a<r?s+n-t.collisionWidth:s:0<r?e.left+=r:0<a?e.left-=a:e.left=k(e.left-o,e.left)},top:function(e,t){var i,n=t.within,n=n.isWindow?n.scrollTop:n.offset.top,s=t.
1within.height,o=e.top-t.collisionPosition.marginTop,r=n-o,a=o+t.collisionHeight-s-n;t.collisionHeight>s?0<r&&a<=0?(i=e.top+r+t.collisionHeight-s-n,e.top+=r-i):e.top=!(0<a&&r<=0)&&a<r?n+s-t.collisionHeight:n:0<r?e.top+=r:0<a?e.top-=a:e.top=k(e.top-o,e.top)}},flip:{left:function(e,t){var i=t.within,n=i.offset.left+i.scrollLeft,s=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,o=e.left-t.collisionPosition.marginLeft,r=o-i,o=o+t.collisionWidth-s-i,a="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,l="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,h=-2*t.offset[0];r<0?((s=e.left+a+l+h+t.collisionWidth-s-n)<0||D(r)>s)&&(e.left+=a+l+h):0<o&&(0<(n=e.left-t.collisionPosition.marginLeft+a+l+h-i)||o>D(n))&&(e.left+=a+l+h)},top:function(e,t){var i=t.within,n=i.offset.top+i.scrollTop,s=i.height,i=i.isWindow?i.scrollTop:i.offset.top,o=e.top-t.collisionPosition.marginTop,r=o-i,o=o+t.collisionHeight-s-i,a="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,l="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,h=-2*t.offset[1];r<0?(s=e.top+a+l+h+t.collisionHeight-s-n,e.top+a+l+h>r&&(s<0||D(r)>s)&&(e.top+=a+l+h)):0<o&&(n=e.top-t.collisionPosition.marginTop+a+l+h-i,e.top+a+l+h>o)&&(0<n||o>D(n))&&(e.top+=a+l+h)}},flipfit:{left:function(){w.ui.position.flip.left.apply(this,arguments),w.ui.position.fit.left.apply(this,arguments)},top:function(){w.ui.position.flip.top.apply(this,arguments),w.ui.position.fit.top.apply(this,arguments)}}};var c,d=document.getElementsByTagName("body")[0],p=document.createElement("div"),f=document.createElement(d?"div":"body"),m={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(c in d&&w.extend(m,{position:"absolute",left:"-1000px",top:"-1000px"}),m)f.style[c]=m[c];f.appendChild(p),(d=d||document.documentElement).insertBefore(f,d.firstChild),p.style.cssText="position: absolute; left: 10.7432222px;",p=w(p).offset().left,B=10<p&&p<11,f.innerHTML="",d.removeChild(f),w.ui.position,w.widget("ui.accordion",{version:"1.11.2",options:{active:0,animate:{},collapsible:!1,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},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=w(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():w()}},_createIcons:function(){var e=this.options.icons;e&&(w("<span>").addClass("ui-accordion-header-icon ui-icon "+e.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").css("display","").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){return"active"===e?void this._activate(t):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t)&&this._createIcons(),void("disabled"===e&&(this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t))))},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=w.ui.keyCode,i=this.headers.length,n=this.headers.index(e.target),s=!1;switch(e.keyCode){case t.RIGHT:case t.DOWN:s=this.headers[(n+1)%i];break;case t.LEFT:case t.UP:s=this.headers[(n-1+i)%i];break;case t.SPACE:case t.ENTER:this._eventHandler(e);break;case t.HOME:s=this.headers[0];break;case t.END:s=this.headers[i-1]}s&&(w(e.target).attr("tabIndex",-1),w(s).attr("tabIndex",0),s.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===w.ui.keyCode.UP&&e.ctrlKey&&w(e.currentTarget).prev().focus()},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=w()):!1===e.active?this._activate(0):this.active.length&&!w.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=w()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-state-default ui-corner-all"),this.panels=this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide(),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var i,e=this.options,t=e.heightStyle,n=this.element.parent();this.active=this._findActive(e.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(){var e=w(this),t=e.uniqueId().attr("id"),i=e.next(),n=i.uniqueId().attr("id");e.attr("aria-controls",n),i.attr("aria-labelledby",t)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),"fill"===t?(i=n.height(),this.element.siblings(":visible").each(function(){var e=w(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=w(this).outerHeight(!0)}),this.headers.next().each(function(){w(this).height(Math.max(0,i-w(this).innerHeight()+w(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.headers.next().each(function(){i=Math.max(i,w(this).css("height","").height())}).height(i))},_activate:function(e){e=this._findActive(e)[0];e!==this.active[0]&&(e=e||this.active[0],this._eventHandler({target:e,currentTarget:e,preventDefault:w.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):w()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&w.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var t=this.options,i=this.active,n=w(e.currentTarget),s=n[0]===i[0],o=s&&t.collapsible,r=o?w():n.next(),a=i.next(),a={oldHeader:i,oldPanel:a,newHeader:o?w():n,newPanel:r};e.preventDefault(),s&&!t.collapsible||!1===this._trigger("beforeActivate",e,a)||(t.active=!o&&this.headers.index(n),this.active=s?
vendor: 8,863 bytes, line 1
1w():n,this._toggle(a),i.removeClass("ui-accordion-header-active ui-state-active"),t.icons&&i.children(".ui-accordion-header-icon").removeClass(t.icons.activeHeader).addClass(t.icons.header),s)||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),t.icons&&n.children(".ui-accordion-header-icon").removeClass(t.icons.header).addClass(t.icons.activeHeader),n.next().addClass("ui-accordion-content-active"))},_toggle:function(e){var t=e.newPanel,i=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=t,this.prevHide=i,this.options.animate?this._animate(t,i,e):(i.hide(),t.show(),this._toggleComplete(e)),i.attr({"aria-hidden":"true"}),i.prev().attr("aria-selected","false"),t.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===w(this).attr("tabIndex")}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true",tabIndex:0,"aria-expanded":"true"})},_animate:function(e,i,t){function n(){o._toggleComplete(t)}var s,o=this,r=0,a=e.length&&(!i.length||e.index()<i.index()),l=this.options.animate||{},a=a&&l.down||l,h=(h="string"==typeof a?a:h)||a.easing||l.easing,u=(u="number"==typeof a?a:u)||a.duration||l.duration;return i.length?e.length?(s=e.show().outerHeight(),i.animate(this.hideProps,{duration:u,easing:h,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:u,easing:h,complete:n,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?r+=t.now:"content"!==o.options.heightStyle&&(t.now=Math.round(s-i.outerHeight()-r),r=0)}})):i.animate(this.hideProps,u,h,n):e.animate(this.showProps,u,h,n)},_toggleComplete:function(e){var t=e.oldPanel;t.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),w.widget("ui.menu",{version:"1.11.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},items:"> *",menus:"ul",position:{my:"left-1 top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault()},"click .ui-menu-item":function(e){var t=w(e.target);!this.mouseHandled&&t.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),t.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&w(this.document[0].activeElement).closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active)&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))},"mouseenter .ui-menu-item":function(e){var t;this.previousFilter||((t=w(e.currentTarget)).siblings(".ui-state-active").removeClass("ui-state-active"),this.focus(e,t))},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this.element.find(this.options.items).eq(0);t||this.focus(e,i)},blur:function(e){this._delay(function(){w.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-menu-icons ui-front").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").removeUniqueId().removeClass("ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=w(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){var t,i,n,s=!0;switch(e.keyCode){case w.ui.keyCode.PAGE_UP:this.previousPage(e);break;case w.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case w.ui.keyCode.HOME:this._move("first","first",e);break;case w.ui.keyCode.END:this._move("last","last",e);break;case w.ui.keyCode.UP:this.previous(e);break;case w.ui.keyCode.DOWN:this.next(e);break;case w.ui.keyCode.LEFT:this.collapse(e);break;case w.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case w.ui.keyCode.ENTER:case w.ui.keyCode.SPACE:this._activate(e);break;case w.ui.keyCode.ESCAPE:this.collapse(e);break;default:s=!1,t=this.previousFilter||"",i=String.fromCharCode(e.keyCode),n=!1,clearTimeout(this.filterTimer),i===t?n=!0:i=t+i,t=this._filterMenuItems(i),(t=n&&-1!==t.index(this.active.next())?this.active.nextAll(".ui-menu-item"):t).length||(i=String.fromCharCode(e.keyCode),t=this._filterMenuItems(i)),t.length?(this.focus(e,t),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}s&&e.preventDefault()},_activate:function(e){this.active.is(".ui-state-disabled")||(this.active.is("[aria-haspopup='true']")?this.expand(e):this.select(e))},refresh:function(){var t=this,n=this.options.icons.submenu,e=this.element.find(this.options.menus);this.element.toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length),e.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-front").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=w(this),t=e.parent(),i=w("<span>").addClass("ui-menu-icon ui-icon "+n).data("ui-menu-submenu-carat",!0);t.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",t.attr("id"))}),(e=e.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=w(this);t._isDivider(e)&&e.addClass("ui-widget-content ui-menu-divider")}),e.not(".ui-menu-item, .ui-menu-divider").addClass("ui-menu-item").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!w.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){"icons"===e&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(t.submenu),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},focus:function(e,t){var i;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),i=this.active.addClass("ui-state-focus").removeClass("ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),this.active.parent().closest(".ui-menu-item").addClass("ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,i,n;this._hasScroll()&&(t=parseFloat(w.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(w.css(this.activeMenu[0],"paddingTop"))||0,t=e.offset().top-this.activeMenu.offset().top-t-i,i=this.activeMenu.scrollTop(),n=this.activeMenu.height(),e=e.outerHeight(),t<0?this.activeMenu.scrollTop(i+t):n<t+e&&this.activeMenu.scrollTop(i+t-n+e))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this.active.removeClass("ui-state-focus"),this.active=null,this._trigger("blur",e,{item:this.active}))},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(e){var t=w.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(t)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay(function(){var e=i?this.element:w(t&&t.target).closest(this.element.find(".ui-menu"));e.length||(e=this.element),this._close(e),this.blur(t),this.activeMenu=e},this.delay)},_close:function(e){(e=e||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
1se").end().find(".ui-state-active").not(".ui-state-focus").removeClass("ui-state-active")},_closeOnDocumentClick:function(e){return!w(e.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(e,t,i){var n;(n=this.active?"first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[e+"All"](".ui-menu-item").eq(0):n)&&n.length&&this.active||(n=this.activeMenu.find(this.options.items)[t]()),this.focus(i,n)},nextPage:function(e){var t,i,n;return this.active?void(this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(t=w(this)).offset().top-i-n<0}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]()))):void this.next(e)},previousPage:function(e){var t,i,n;return this.active?void(this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(t=w(this)).offset().top-i+n}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items).first()))):void this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||w(e.target).closest(".ui-menu-item");var t={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,t)},_filterMenuItems:function(e){var e=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),t=RegExp("^"+e,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return t.test(w.trim(w(this).text()))})}}),w.widget("ui.autocomplete",{version:"1.11.2",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,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},requestIndex:0,pending:0,_create:function(){var i,n,s,e=this.element[0].nodeName.toLowerCase(),t="textarea"===e,e="input"===e;this.isMultiLine=t||!e&&this.element.prop("isContentEditable"),this.valueMethod=this.element[t||e?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(e){if(this.element.prop("readOnly"))n=s=i=!0;else{n=s=i=!1;var t=w.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:i=!0,this._move("previousPage",e);break;case t.PAGE_DOWN:i=!0,this._move("nextPage",e);break;case t.UP:i=!0,this._keyEvent("previous",e);break;case t.DOWN:i=!0,this._keyEvent("next",e);break;case t.ENTER:this.menu.active&&(i=!0,e.preventDefault(),this.menu.select(e));break;case t.TAB:this.menu.active&&this.menu.select(e);break;case t.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(e),e.preventDefault());break;default:n=!0,this._searchTimeout(e)}}},keypress:function(e){if(i)i=!1,this.isMultiLine&&!this.menu.element.is(":visible")||e.preventDefault();else if(!n){var t=w.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:this._move("previousPage",e);break;case t.PAGE_DOWN:this._move("nextPage",e);break;case t.UP:this._keyEvent("previous",e);break;case t.DOWN:this._keyEvent("next",e)}}},input:function(e){return s?(s=!1,void e.preventDefault()):void this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(e),void this._change(e))}}),this._initSource(),this.menu=w("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];w(e.target).closest(".ui-menu-item").length||this._delay(function(){var t=this;this.document.one("mousedown",function(e){e.target===t.element[0]||e.target===i||w.contains(i,e.target)||t.close()})})},menufocus:function(e,t){var i;return this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent)&&/^mouse/.test(e.originalEvent.type)?(this.menu.blur(),void this.document.one("mousemove",function(){w(e.target).trigger(e.originalEvent)})):(i=t.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:i}
1)&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(i.value),void((t=t.item.attr("aria-label")||i.value)&&w.trim(t).length&&(this.liveRegion.children().hide(),w("<div>").text(t).appendTo(this.liveRegion))))},menuselect:function(e,t){var i=t.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=i})),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=w("<span>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body),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(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return e=(e=(e=e&&(e.jquery||e.nodeType?w(e):this.document.find(e).eq(0)))&&e[0]?e:this.element.closest(".ui-front")).length?e:this.document[0].body},_initSource:function(){var i,n,s=this;w.isArray(this.options.source)?(i=this.options.source,this.source=function(e,t){t(w.ui.autocomplete.filter(i,e.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(e,t){s.xhr&&s.xhr.abort(),s.xhr=w.ajax({url:n,data:e,dataType:"json",success:function(e){t(e)},error:function(){t([])}})}):this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),t=this.menu.element.is(":visible"),i=n.altKey||n.ctrlKey||n.metaKey||n.shiftKey;e&&(t||i)||(this.selectedItem=null,this.search(null,n))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return w.proxy(function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this.element.removeClass("ui-autocomplete-loading")},this)},__response:function(e){e=e&&this._normalize(e),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:w.map(e,function(e){return"string"==typeof e?{label:e,value:e}:w.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var t=this.menu.element.empty();this._renderMenu(t,e),this.isNewMenu=!0,this.menu.refresh(),t.show(),this._resizeMenu(),t.position(w.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,e){var n=this;w.each(e,function(e,t){n._renderItemData(i,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(e,t){return w("<li>").text(t.label).appendTo(e)},_move:function(e,t){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t):void this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())}}),w.extend(w.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,t){var i=RegExp(w.ui.autocomplete.escapeRegex(t),"i");return w.grep(e,function(e){return i.test(e.label||e.value||e)})}}),w.widget("ui.autocomplete",w.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(1<e?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),w("<div>").text(t).appendTo(this.liveRegion))}}),w.ui.autocomplete;function X(){var e=w(this);setTimeout(function(){e.find(":ui-button").button("refresh")},1)}function G(e){var t=e.name,i=e.form,n=w([]);return t&&(t=t.replace(/'/g,"\\'"),n=i?w(i).find("[name='"+t+"'][type=radio]"):w("[name='"+t+"'][type=radio]",e.ownerDocument).filter(function(){return!this.form})),n}var g,v,J="ui-button ui-widget ui-state-default ui-corner-all",Z="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";function ee(e,t,i){return t<=e&&e<t+i}w.widget("ui.button",{version:"1.11.2",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,X),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var t=this,i=this.options,e="checkbox"===this.type||"radio"===this.type,n=e?"":"ui-state-active";null===i.label&&(i.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(J).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){i.disabled||this===g&&w(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){i.disabled||w(this).removeClass(n)}).bind("click"+this.eventNamespace,function(e){i.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}
1),this._on({focus:function(){this.buttonElement.addClass("ui-state-focus")},blur:function(){this.buttonElement.removeClass("ui-state-focus")}}),e&&this.element.bind("change"+this.eventNamespace,function(){t.refresh()}),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return!i.disabled&&void 0}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(i.disabled)return!1;w(this).addClass("ui-state-active"),t.buttonElement.attr("aria-pressed","true");var e=t.element[0];G(e).not(e).map(function(){return w(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return!i.disabled&&(w(this).addClass("ui-state-active"),g=this,void t.document.one("mouseup",function(){g=null}))}).bind("mouseup"+this.eventNamespace,function(){return!i.disabled&&void w(this).removeClass("ui-state-active")}).bind("keydown"+this.eventNamespace,function(e){return!i.disabled&&void(e.keyCode!==w.ui.keyCode.SPACE&&e.keyCode!==w.ui.keyCode.ENTER||w(this).addClass("ui-state-active"))}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){w(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(e){e.keyCode===w.ui.keyCode.SPACE&&w(this).click()})),this._setOption("disabled",i.disabled),this._resetButton()},_determineButtonType:function(){var e,t;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(t=this.element.parents().last(),e="label[for='"+this.element.attr("id")+"']",this.buttonElement=t.find(e),this.buttonElement.length||(t=(t.length?t:this.element).siblings(),this.buttonElement=t.filter(e),this.buttonElement.length)||(this.buttonElement=t.find(e)),this.element.addClass("ui-helper-hidden-accessible"),(t=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",t)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(J+" ui-state-active "+Z).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(e,t){return this._super(e,t),"disabled"===e?(this.widget().toggleClass("ui-state-disabled",!!t),this.element.prop("disabled",!!t),void(t&&("checkbox"===this.type||"radio"===this.type?this.buttonElement.removeClass("ui-state-focus"):this.buttonElement.removeClass("ui-state-focus ui-state-active")))):void this._resetButton()},refresh:function(){var e=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOption("disabled",e),"radio"===this.type?G(this.element[0]).each(function(){w(this).is(":checked")?w(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):w(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){var e,t,i,n,s;
1"input"===this.type?this.options.label&&this.element.val(this.options.label):(e=this.buttonElement.removeClass(Z),t=w("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(e.empty()).text(),n=(i=this.options.icons).primary&&i.secondary,s=[],i.primary||i.secondary?(this.options.text&&s.push("ui-button-text-icon"+(n?"s":i.primary?"-primary":"-secondary")),i.primary&&e.prepend("<span class='ui-button-icon-primary ui-icon "+i.primary+"'></span>"),i.secondary&&e.append("<span class='ui-button-icon-secondary ui-icon "+i.secondary+"'></span>"),this.options.text||(s.push(n?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle)||e.attr("title",w.trim(t))):s.push("ui-button-text-only"),e.addClass(s.join(" ")))}}),w.widget("ui.buttonset",{version:"1.11.2",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(e,t){"disabled"===e&&this.buttons.button("option",e,t),this._super(e,t)},refresh:function(){var e="rtl"===this.element.css("direction"),t=this.element.find(this.options.items),i=t.filter(":ui-button");t.not(":ui-button").button(),i.button("refresh"),this.buttons=t.map(function(){return w(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(e?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(e?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return w(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}}),w.ui.button,w.extend(w.ui,{datepicker:{version:"1.11.2"}}),w.extend(e.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return l(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var i,n=e.nodeName.toLowerCase(),s="div"===n||"span"===n;e.id||(this.uuid+=1,e.id="dp"+this.uuid),(i=this._newInst(w(e),s)).settings=w.extend({},t||{}),"input"===n?this._connectDatepicker(e,i):s&&this._inlineDatepicker(e,i)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?i(w("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,t){var i=w(e);t.append=w([]),t.trigger=w([]),i.hasClass(this.markerClassName)||(this._attachments(i,t),i.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(t),w.data(e,"datepicker",t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var i,n=this._get(t,"appendText"),s=this._get(t,"isRTL");t.append&&t.append.remove(),n&&(t.append=w("<span class='"+this._appendClass+"'>"+n+"</span>"),e[s?"before":"after"](t.append)),e.unbind("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(n=this._get(t,"showOn"))&&"both"!==n||e.focus(this._showDatepicker),"button"!==n&&"both"!==n||(n=this._get(t,"buttonText"),i=this._get(t,"buttonImage"),t.trigger=w(this._get(t,"buttonImageOnly")?w("<img/>").addClass(this._triggerClass).attr({src:i,alt:n,title:n}):w("<button type='button'></button>").addClass(this._triggerClass).html(i?w("<img/>").attr({src:i,alt:n,title:n}):n)),e[s?"before":"after"](t.trigger),t.trigger.click(function(){return w.datepicker._datepickerShowing&&w.datepicker._lastInput===e[0]?w.datepicker._hideDatepicker():(w.datepicker._datepickerShowing&&w.datepicker._lastInput!==e[0]&&w.datepicker._hideDatepicker(),w.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){var t,i,n,s,o,r;this._get(e,"autoSize")&&!e.inline&&(o=new Date(2009,11,20),(r=this._get(e,"dateFormat")).match(/[DM]/)&&(o.setMonth((t=function(e){for(s=n=i=0;e.length>s;s++)e[s].length>i&&(i=e[s].length,n=s);return n})(this._get(e,r.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(t(this._get(e,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),e.input.attr("size",this._formatDate(e,o).length))},_inlineDatepicker:function(e,t){var i=w(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(t.dpDiv),w.data(e,"datepicker",t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,i,n,s){var o,r=this._dialogInst;return r||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=w("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),w("body").append(this._dialogInput),(r=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},w.data(this._dialogInput[0],"datepicker",r)),l(r.settings,n||{}),t=t&&t.constructor===Date?this._formatDate(r,t):t,this._dialogInput.val(t),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(o=document.documentElement.clientWidth,n=document.documentElement.clientHeight,t=document.documentElement.scrollLeft||document.body.scrollLeft,s=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[o/2-100+t,n/2-150+s]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),r.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),w.blockUI&&w.blockUI(this.dpDiv),w.data(this._dialogInput[0],"datepicker",r),this},_destroyDatepicker:function(e){var t,i=w(e),n=w.data(e,"datepicker");i.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),w.removeData(e,"datepicker"),"input"===t?(n.append.remove(),n.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("
1keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||i.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var e,i=w(t),n=w.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,n.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((n=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=w.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,i=w(t),n=w.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,n.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((n=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=w.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(e)for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(e){try{return w.data(e,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,i){var n,s,o,r,a=this._getInst(e);return 2===arguments.length&&"string"==typeof t?"defaults"===t?w.extend({},w.datepicker._defaults):a?"all"===t?w.extend({},a.settings):this._get(a,t):null:(n=t||{},"string"==typeof t&&((n={})[t]=i),void(a&&(this._curInst===a&&this._hideDatepicker(),s=this._getDateDatepicker(e,!0),o=this._getMinMaxDate(a,"min"),r=this._getMinMaxDate(a,"max"),l(a.settings,n),null!==o&&void 0!==n.dateFormat&&void 0===n.minDate&&(a.settings.minDate=this._formatDate(a,o)),null!==r&&void 0!==n.dateFormat&&void 0===n.maxDate&&(a.settings.maxDate=this._formatDate(a,r)),"disabled"in n&&(n.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(w(e),a),this._autoSize(a),this._setDate(a,s),this._updateAlternate(a),this._updateDatepicker(a))))},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){e=this._getInst(e);e&&this._updateDatepicker(e)},_setDateDatepicker:function(e,t){e=this._getInst(e);e&&(this._setDate(e,t),this._updateDatepicker(e),this._updateAlternate(e))},_getDateDatepicker:function(e,t){e=this._getInst(e);return e&&!e.inline&&this._setDateFromField(e,t),e?this._getDate(e):null},_doKeyDown:function(e){var t,i,n=w.datepicker._getInst(e.target),s=!0,o=n.dpDiv.is(".ui-datepicker-rtl");if(n._keyEvent=!0,w.datepicker._datepickerShowing)switch(e.keyCode){case 9:w.datepicker._hideDatepicker(),s=!1;break;case 13:return(i=w("td."+w.datepicker._dayOverClass+":not(."+w.datepicker._currentClass+")",n.dpDiv))[0]&&w.datepicker._selectDay(e.target,n.selectedMonth,n.selectedYear,i[0]),(i=w.datepicker._get(n,"onSelect"))?(t=w.datepicker._formatDate(n),i.apply(n.input?n.input[0]:null,[t,n])):w.datepicker._hideDatepicker(),!1;case 27:w.datepicker._hideDatepicker();break;case 33:w.datepicker._adjustDate(e.target,e.ctrlKey?-w.datepicker._get(n,"stepBigMonths"):-w.datepicker._get(n,"stepMonths"),"M");break;case 34:w.datepicker._adjustDate(e.target,e.ctrlKey?+w.datepicker._get(n,"stepBigMonths"):+w.datepicker._get(n,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&w.datepicker._clearDate(e.target),s=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&w.datepicker._gotoToday(e.target),s=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&w.datepicker._adjustDate(e.target,o?1:-1,"D"),s=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&w.datepicker._adjustDate(e.target,e.ctrlKey?-w.datepicker._get(n,"stepBigMonths"):-w.datepicker._get(n,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&w.datepicker._adjustDate(e.target,-7,"D"),s=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&w.datepicker._adjustDate(e.target,o?-1:1,"D"),s=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&w.datepicker._adjustDate(e.target,e.ctrlKey?+w.datepicker._get(n,"stepBigMonths"):+w.datepicker._get(n,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&w.datepicker._adjustDate(e.target,7,"D"),s=e.ctrlKey||e.metaKey;break;default:s=!1}else 36===e.keyCode&&e.ctrlKey?w.datepicker._showDatepicker(this):s=!1;s&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t,i=w.datepicker._getInst(e.target);return w.datepicker._get(i,"constrainInput")?(i=w.datepicker._possibleChars(w.datepicker._get(i,"dateFormat")),t=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||t<" "||!i||-1<i.indexOf(t)):void 0},_doKeyUp:function(e){e=w.datepicker._getInst(e.target);if(e.input.val()!==e.lastVal)try{w.datepicker.parseDate(w.datepicker._get(e,"dateFormat"),e.input?e.input.val():null,w.datepicker._getFormatConfig(e))&&(w.datepicker._setDateFromField(e),w.datepicker._updateAlternate(e),w.datepicker._updateDatepicker(e))}catch(e){}return!0},_showDatepicker:function(e){var t,i,n,s;"input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=w("input",e.parentNode)[0]),w.datepicker._isDisabledDatepicker(e)||w.datepicker._lastInput===e||(s=w.datepicker._getInst(e),w.datepicker._curInst&&w.datepicker._curInst!==s&&(w.datepicker._curInst.dpDiv.stop(!0,!0),s)&&w.datepicker._datepickerShowing&&w.datepicker._hideDatepicker(w.datepicker._curInst.input[0]),!1!==(i=(i=w.datepicker._get(s,"beforeShow"))?i.apply(e,[e,s]):{})&&(l(s.settings,i),s.lastVal=null,w.datepicker._lastInput=e,w.datepicker._setDateFromField(s),w.datepicker._inDialog&&(e.value=""),w.datepicker._pos||(w.datepicker._pos=w.datepicker._findPos(e),w.datepicker._pos[1]+=e.offsetHeight),t=!1,w(e).parents().each(function(){return!(t|="fixed"===w(this).css("position"))}),i={left:w.datepicker._pos[0],top:w.datepicker._pos[1]},w.datepicker._pos=null,s.dpDiv.empty(),s.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),w.datepicker._updateDatepicker(s),i=w.datepicker._checkOffset(s,i,t),s.dpDiv.css({position:w.datepicker._inDialog&&w.blockUI?"static":t?"fixed":"absolute",display:"none",left:i.left+"px",to
vendor: 5,213 bytes, line 1
1p:i.top+"px"}),s.inline||(i=w.datepicker._get(s,"showAnim"),n=w.datepicker._get(s,"duration"),s.dpDiv.css("z-index",function(e){for(var t;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(t=parseInt(e.css("zIndex"),10),!isNaN(t))&&0!==t)return t;e=e.parent()}return 0}(w(e))+1),w.datepicker._datepickerShowing=!0,w.effects&&w.effects.effect[i]?s.dpDiv.show(i,w.datepicker._get(s,"showOptions"),n):s.dpDiv[i||"show"](i?n:null),w.datepicker._shouldFocusInput(s)&&s.input.focus(),w.datepicker._curInst=s)))},_updateDatepicker:function(e){this.maxRows=4,(v=e).dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var t,i=this._getNumberOfMonths(e),n=i[1],s=e.dpDiv.find("."+this._dayOverClass+" a");0<s.length&&o.apply(s.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<n&&e.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",17*n+"em"),e.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===w.datepicker._curInst&&w.datepicker._datepickerShowing&&w.datepicker._shouldFocusInput(e)&&e.input.focus(),e.yearshtml&&(t=e.yearshtml,setTimeout(function(){t===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),t=e.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(e,t,i){var n=e.dpDiv.outerWidth(),s=e.dpDiv.outerHeight(),o=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,a=document.documentElement.clientWidth+(i?0:w(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:w(document).scrollTop());return t.left-=this._get(e,"isRTL")?n-o:0,t.left-=i&&t.left===e.input.offset().left?w(document).scrollLeft():0,t.top-=i&&t.top===e.input.offset().top+r?w(document).scrollTop():0,t.left-=Math.min(t.left,t.left+n>a&&n<a?Math.abs(t.left+n-a):0),t.top-=Math.min(t.top,t.top+s>l&&s<l?Math.abs(s+r):0),t},_findPos:function(e){for(var t=this._getInst(e),i=this._get(t,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||w.expr.filters.hidden(e));)e=e[i?"previousSibling":"nextSibling"];return[(t=w(e).offset()).left,t.top]},_hideDatepicker:function(e){var t,i,n=this._curInst;!n||e&&n!==w.data(e,"datepicker")||this._datepickerShowing&&(e=this._get(n,"showAnim"),i=this._get(n,"duration"),t=function(){w.datepicker._tidyDialog(n)},w.effects&&(w.effects.effect[e]||w.effects[e])?n.dpDiv.hide(e,w.datepicker._get(n,"showOptions"),i,t):n.dpDiv["slideDown"===e?"slideUp":"fadeIn"===e?"fadeOut":"hide"](e?i:null,t),e||t(),this._datepickerShowing=!1,(i=this._get(n,"onClose"))&&i.apply(n.input?n.input[0]:null,[n.input?n.input.val():"",n]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),w.blockUI)&&(w.unblockUI(),w("body").append(this.dpDiv)),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(e){var t;w.datepicker._curInst&&(e=w(e.target),t=w.datepicker._getInst(e[0]),!(e[0].id===w.datepicker._mainDivId||0!==e.parents("#"+w.datepicker._mainDivId).length||e.hasClass(w.datepicker.markerClassName)||e.closest("."+w.datepicker._triggerClass).length||!w.datepicker._datepickerShowing||w.datepicker._inDialog&&w.blockUI)||e.hasClass(w.datepicker.markerClassName)&&w.datepicker._curInst!==t)&&w.datepicker._hideDatepicker()},_adjustDate:function(e,t,i){var e=w(e),n=this._getInst(e[0]);this._isDisabledDatepicker(e[0])||(this._adjustInstDate(n,t+("M"===i?this._get(n,"showCurrentAtPos"):0),i),this._updateDatepicker(n))},_gotoToday:function(e){var t,e=w(e),i=this._getInst(e[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(t=new Date,i.selectedDay=t.getDate(),i.drawMonth=i.selectedMonth=t.getMonth(),i.drawYear=i.selectedYear=t.getFullYear()),this._notifyChange(i),this._adjustDate(e)},_selectMonthYear:function(e,t,i){var e=w(e),n=this._getInst(e[0]);n["selected"+("M"===i?"Month":"Year")]=n["draw"+("M"===i?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(n),this._adjustDate(e)},_selectDay:function(e,t,i,n){var s=w(e);w(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(s[0])||((s=this._getInst(s[0])).selectedDay=s.currentDay=w("a",n).html(),s.selectedMonth=s.currentMonth=t,s.selectedYear=s.currentYear=i,this._selectDate(e,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(e){e=w(e);this._selectDate(e,"")},_selectDate:function(e,t){var i,e=w(e),e=this._getInst(e[0]);t=null!=t?t:this._formatDate(e),e.input&&e.input.val(t),this._updateAlternate(e),(i=this._get(e,"onSelect"))?i.apply(e.input?e.input[0]:null,[t,e]):e.input&&e.input.trigger("change"),e.inline?this._updateDatepicker(e):(this._hideDatepicker(),this._lastInput=e.input[0],"object"!=typeof e.input[0]&&e.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var t,i,n,s=this._get(e,"altField");
1s&&(t=this._get(e,"altFormat")||this._get(e,"dateFormat"),i=this._getDate(e),n=this.formatDate(t,i,this._getFormatConfig(e)),w(s).each(function(){w(this).val(n)}))},noWeekends:function(e){e=e.getDay();return[0<e&&e<6,""]},iso8601Week:function(e){var t,e=new Date(e.getTime());return e.setDate(e.getDate()+4-(e.getDay()||7)),t=e.getTime(),e.setMonth(0),e.setDate(1),Math.floor(Math.round((t-e)/864e5)/7)+1},parseDate:function(t,s,e){if(null==t||null==s)throw"Invalid arguments";if(""===(s="object"==typeof s?""+s:s+""))return null;function i(e){var t=y(e),t="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,e=RegExp("^\\d{"+("y"===e?t:1)+","+t+"}");if(t=s.substring(l).match(e))return l+=t[0].length,parseInt(t[0],10);throw"Missing number at position "+l}function n(e,t,i){var n=-1,e=w.map(y(e)?i:t,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(w.each(e,function(e,t){var i=t[1];return s.substr(l,i.length).toLowerCase()===i.toLowerCase()?(n=t[0],l+=i.length,!1):void 0}),-1!==n)return n+1;throw"Unknown name at position "+l}function o(){if(s.charAt(l)!==t.charAt(_))throw"Unexpected literal at position "+l;l++}for(var r,a,l=0,h=(e?e.shortYearCutoff:null)||this._defaults.shortYearCutoff,h="string"!=typeof h?h:(new Date).getFullYear()%100+parseInt(h,10),u=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,c=(e?e.dayNames:null)||this._defaults.dayNames,d=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,p=(e?e.monthNames:null)||this._defaults.monthNames,f=-1,m=-1,g=-1,v=-1,b=!1,y=function(e){e=t.length>_+1&&t.charAt(_+1)===e;return e&&_++,e},_=0;t.length>_;_++)if(b)"'"!==t.charAt(_)||y("'")?o():b=!1;else switch(t.charAt(_)){case"d":g=i("d");break;case"D":n("D",u,c);break;case"o":v=i("o");break;case"m":m=i("m");break;case"M":m=n("M",d,p);break;case"y":f=i("y");break;case"@":f=(a=new Date(i("@"))).getFullYear(),m=a.getMonth()+1,g=a.getDate();break;case"!":f=(a=new Date((i("!")-this._ticksTo1970)/1e4)).getFullYear(),m=a.getMonth()+1,g=a.getDate();break;case"'":y("'")?o():b=!0;break;default:o()}if(s.length>l&&(e=s.substr(l),!/^\s+/.test(e)))throw"Extra/unparsed characters found in date: "+e;if(-1===f?f=(new Date).getFullYear():f<100&&(f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(f<=h?0:-100)),-1<v)for(m=1,g=v;!(g<=(r=this._getDaysInMonth(f,m-1)));)m++,g-=r;if((a=this._daylightSavingAdjust(new Date(f,m-1,g))).getFullYear()!==f||a.getMonth()+1!==m||a.getDate()!==g)throw"Invalid date";return a},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:864e9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(t,e,i){if(!e)return"";function n(e,t,i){var n=""+t;if(u(e))for(;i>n.length;)n="0"+n;return n}function s(e,t,i,n){return(u(e)?n:i)[t]}var o,r=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,a=(i?i.dayNames:null)||this._defaults.dayNames,l=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,h=(i?i.monthNames:null)||this._defaults.monthNames,u=function(e){e=t.length>
vendor: 7,162 bytes, line 1
1o+1&&t.charAt(o+1)===e;return e&&o++,e},c="",d=!1;if(e)for(o=0;t.length>o;o++)if(d)"'"!==t.charAt(o)||u("'")?c+=t.charAt(o):d=!1;else switch(t.charAt(o)){case"d":c+=n("d",e.getDate(),2);break;case"D":c+=s("D",e.getDay(),r,a);break;case"o":c+=n("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":c+=n("m",e.getMonth()+1,2);break;case"M":c+=s("M",e.getMonth(),l,h);break;case"y":c+=u("y")?e.getFullYear():(e.getYear()%100<10?"0":"")+e.getYear()%100;break;case"@":c+=e.getTime();break;case"!":c+=1e4*e.getTime()+this._ticksTo1970;break;case"'":u("'")?c+="'":d=!0;break;default:c+=t.charAt(o)}return c},_possibleChars:function(t){function e(e){return(e=t.length>s+1&&t.charAt(s+1)===e)&&s++,e}for(var i="",n=!1,s=0;t.length>s;s++)if(n)"'"!==t.charAt(s)||e("'")?i+=t.charAt(s):n=!1;else switch(t.charAt(s)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":e("'")?i+="'":n=!0;break;default:i+=t.charAt(s)}return i},_get:function(e,t){return(void 0!==e.settings[t]?e.settings:this._defaults)[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),n=e.lastVal=e.input?e.input.val():null,s=this._getDefaultDate(e),o=s,r=this._getFormatConfig(e);try{o=this.parseDate(i,n,r)||s}catch(e){n=t?"":n}e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),e.currentDay=n?o.getDate():0,e.currentMonth=n?o.getMonth():0,e.currentYear=n?o.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(a,e,t){var i,n=null==e||""===e?t:"string"==typeof e?function(e){try{return w.datepicker.parseDate(w.datepicker._get(a,"dateFormat"),e,w.datepicker._getFormatConfig(a))}catch(e){}for(var t=(e.toLowerCase().match(/^c/)?w.datepicker._getDate(a):null)||new Date,i=t.getFullYear(),n=t.getMonth(),s=t.getDate(),o=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,r=o.exec(e);r;){switch(r[2]||"d"){case"d":case"D":s+=parseInt(r[1],10);break;case"w":case"W":s+=7*parseInt(r[1],10);break;case"m":case"M":n+=parseInt(r[1],10),s=Math.min(s,w.datepicker._getDaysInMonth(i,n));break;case"y":case"Y":i+=parseInt(r[1],10),s=Math.min(s,w.datepicker._getDaysInMonth(i,n))}r=o.exec(e)}return new Date(i,n,s)}(e):"number"==typeof e?isNaN(e)?t:(n=e,(i=new Date).setDate(i.getDate()+n),i):new Date(e.getTime());return(n=n&&"Invalid Date"==""+n?t:n)&&(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0)),this._daylightSavingAdjust(n)},_daylightSavingAdjust:function(e){return e?(e.setHours(12<e.getHours()?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var n=!t,s=e.selectedMonth,o=e.selectedYear,t=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=t.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=t.getMonth(),e.drawYear=e.selectedYear=e.currentYear=t.getFullYear(),s===e.selectedMonth&&o===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(n?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),i="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){w.datepicker._adjustDate(i,-t,"M")},next:function(){w.datepicker._adjustDate(i,+t,"M")},hide:function(){w.datepicker._hideDatepicker()},today:function(){w.datepicker._gotoToday(i)},selectDay:function(){return w.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return w.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return w.datepicker._selectMonthYear(i,this,"Y"),!1}};w(this).bind(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,n,s,o,O,j,W,F,r,a,L,l,h,u,c,d,p,f,m,g,v,R,b,y,_,x,B,q,w,C,k,D=new Date,Y=this._daylightSavingAdjust(new Date(D.getFullYear(),D.getMonth(),D.getDate())),T=this._get(e,"isRTL"),D=this._get(e,"showButtonPanel"),E=this._get(e,"hideIfNoPrevNext"),S=this._get(e,"navigationAsDateFormat"),I=this._getNumberOfMonths(e),N=this._get(e,"showCurrentAtPos"),A=this._get(e,"stepMonths"),$=1!==I[0]||1!==I[1],U=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),M=this._getMinMaxDate(e,"min"),P=this._getMinMaxDate(e,"max"),H=e.drawMonth-N,z=e.drawYear;if(H<0&&(H+=12,z--),P)for(t=this._daylightSavingAdjust(new Date(P.getFullYear(),P.getMonth()-I[0]*I[1]+1,P.getDate())),t=M&&t<M?M:t;this._daylightSavingAdjust(new Date(z,H,1))>t;)--H<0&&(H=11,z--);for(e.drawMonth=H,e.drawYear=z,N=this._get(e,"prevText"),N=S?this.formatDate(N,this._daylightSavingAdjust(new Date(z,H-A,1)),this._getFormatConfig(e)):N,i=this._canAdjustMonth(e,-1,z,H)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+N+"'><span class='ui-icon ui-icon-circle-triangle-"+(T?"e":"w")+"'>"+N+"</span></a>":E?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+N+"'><span class='ui-icon ui-icon-circle-triangle-"+(T?"e":"w")+"'>"+N+"</span></a>",N=this._get(e,"nextText"),N=S?this.formatDate(N,this._daylightSavingAdjust(new Date(z,H+A,1)),this._getFormatConfig(e)):N,n=this._canAdjustMonth(e,1,z,H)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+N+"'><span class='ui-icon ui-icon-circle-triangle-"+(T?"w":"e")+"'>"+N+"</span></a>":E?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+N+"'><span class='ui-icon ui-icon-circle-triangle-"+(T?"w":"e")+"'>"+N+"</span></a>",A=this._get(e,"currentText"),E=this._get(e,"gotoCurrent")&&e.currentDay?U:Y,A=S?this.formatDate(A,E,this._getFormatConfig(e)):A,N=e.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(e,"closeText")+"</button>",S=D?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(T?N:"")+(this._isInRange(e,E)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+A+"</button>":"")+(T?"":N)+"</div>":"",s=parseInt(this._get(e,"firstDay"),10),s=isNaN(s)?0:s,o=this._get(e,"showWeek"),O=this._get(e,"dayNames"),j=this._get(e,"dayNamesMin"),W=this._get(e,"monthNames"),F=this._get(e,"monthNamesShort"),r=this._get(e,"beforeShowDay"),a=this._get(e,"showOtherMonths"),L=this._get(e,"selectOtherMonths"),l=this._getDefaultDate(e),h="",c=0;I[0]>c;c++){for(d="",this.maxRows=4,p=0;I[1]>p;p++){if(f=this._daylightSavingAdjust(new Date(z,H,e.selectedDay)),m=" ui-corner-all",g="",$){if(g+="<div class='ui-datepicker-group",1<I[1])switch(p){case 0:g+=" ui-datepicker-group-first",m=" ui-corner-"+(T?"right":"left");break;case I[1]-1:g+=" ui-datepicker-group-last",m=" ui-corner-"+(T?"left"
vendor: 22,749 bytes, line 1
1:"right");break;default:g+=" ui-datepicker-group-middle",m=""}g+="'>"}for(g+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+m+"'>"+(/all|left/.test(m)&&0===c?T?n:i:"")+(/all|right/.test(m)&&0===c?T?i:n:"")+this._generateMonthYearHeader(e,H,z,M,P,0<c||0<p,W,F)+"</div><table class='ui-datepicker-calendar'><thead><tr>",v=o?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",u=0;u<7;u++)v+="<th scope='col'"+(5<=(u+s+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+O[R=(u+s)%7]+"'>"+j[R]+"</span></th>";for(g+=v+"</tr></thead><tbody>",y=this._getDaysInMonth(z,H),z===e.selectedYear&&H===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,y)),b=(this._getFirstDayOfMonth(z,H)-s+7)%7,y=Math.ceil((b+y)/7),_=$&&this.maxRows>y?this.maxRows:y,this.maxRows=_,x=this._daylightSavingAdjust(new Date(z,H,1-b)),B=0;B<_;B++){for(g+="<tr>",q=o?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(x)+"</td>":"",u=0;u<7;u++)w=r?r.apply(e.input?e.input[0]:null,[x]):[!0,""],k=(C=x.getMonth()!==H)&&!L||!w[0]||M&&x<M||P&&P<x,q+="<td class='"+(5<=(u+s+6)%7?" ui-datepicker-week-end":"")+(C?" ui-datepicker-other-month":"")+(x.getTime()===f.getTime()&&H===e.selectedMonth&&e._keyEvent||l.getTime()===x.getTime()&&l.getTime()===f.getTime()?" "+this._dayOverClass:"")+(k?" "+this._unselectableClass+" ui-state-disabled":"")+(C&&!a?"":" "+w[1]+(x.getTime()===U.getTime()?" "+this._currentClass:"")+(x.getTime()===Y.getTime()?" ui-datepicker-today":""))+"'"+(C&&!a||!w[2]?"":" title='"+w[2].replace(/'/g,"&#39;")+"'")+(k?"":" data-handler='selectDay' data-event='click' data-month='"+x.getMonth()+"' data-year='"+x.getFullYear()+"'")+">"+(C&&!a?"&#xa0;":k?"<span class='ui-state-default'>"+x.getDate()+"</span>":"<a class='ui-state-default"+(x.getTime()===Y.getTime()?" ui-state-highlight":"")+(x.getTime()===U.getTime()?" ui-state-active":"")+(C?" ui-priority-secondary":"")+"' href='#'>"+x.getDate()+"</a>")+"</td>",x.setDate(x.getDate()+1),x=this._daylightSavingAdjust(x);g+=q+"</tr>"}11<++H&&(H=0,z++),d+=g+="</tbody></table>"+($?"</div>"+(0<I[0]&&p===I[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}h+=d}return h+=S,e._keyEvent=!1,h},_generateMonthYearHeader:function(e,t,i,n,s,o,r,a){var l,h,u,c,d,p,f,m=this._get(e,"changeMonth"),g=this._get(e,"changeYear"),v=this._get(e,"showMonthAfterYear"),b="<div class='ui-datepicker-title'>",y="";if(o||!m)y+="<span class='ui-datepicker-month'>"+r[t]+"</span>";else{for(l=n&&n.getFullYear()===i,h=s&&s.getFullYear()===i,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!l||u>=n.getMonth())&&(!h||s.getMonth()>=u)&&(y+="<option value='"+u+"'"+(u===t?" selected='selected'":"")+">"+a[u]+"</option>");y+="</select>"}if(v||(b+=y+(!o&&m&&g?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",o||!g)b+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(r=this._get(e,"yearRange").split(":"),c=(new Date).getFullYear(),p=(d=function(e){e=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?c+parseInt(e,10):parseInt(e,10);return isNaN(e)?c:e})(r[0]),f=Math.max(p,d(r[1]||"")),p=n?Math.max(p,n.getFullYear()):p,f=s?Math.min(f,s.getFullYear()):f,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";p<=f;p++)e.yearshtml+="<option value='"+p+"'"+(p===i?" selected='selected'":"")+">"+p+"</option>";e.yearshtml+="</select>",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),v&&(b+=(!o&&m&&g?"":"&#xa0;")+y),b+"</div>"},_adjustInstDate:function(e,t,i){var n=e.drawYear+("Y"===i?t:0),s=e.drawMonth+("M"===i?t:0),t=Math.min(e.selectedDay,this._getDaysInMonth(n,s))+("D"===i?t:0),n=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,s,t)));e.selectedDay=n.getDate(),e.drawMonth=e.selectedMonth=n.getMonth(),e.drawYear=e.selectedYear=n.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),e=this._getMinMaxDate(e,"max"),i=i&&t<i?i:t;return e&&e<i?e:i},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){e=this._get(e,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,n){var s=this._getNumberOfMonths(e),i=this._daylightSavingAdjust(new Date(i,n+(t<0?t:s[0]*s[1]),1));return t<0&&i.setDate(this._getDaysInMonth(i.getFullYear(),i.getMonth())),this._isInRange(e,i)},_isInRange:function(e,t){var i,n=this._getMinMaxDate(e,"min"),s=this._getMinMaxDate(e,"max"),o=null,r=null,e=this._get(e,"yearRange");return e&&(e=e.split(":"),i=(new Date).getFullYear(),o=parseInt(e[0],10),r=parseInt(e[1],10),e[0].match(/[+\-].*/)&&(o+=i),e[1].match(/[+\-].*/))&&(r+=i),(!n||t.getTime()>=n.getTime())&&(!s||t.getTime()<=s.getTime())&&(!o||t.getFullYear()>=o)&&(!r||r>=t.getFullYear())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:"string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,n){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);n=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(n,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),n,this._getFormatConfig(e))}}),w.fn.datepicker=function(e){if(!this.length)return this;w.datepicker.initialized||(w(document).mousedown(w.datepicker._checkExternalClick),w.datepicker.initialized=!0),0===w("#"+w.datepicker._mainDivId).length&&w("body").append(w.datepicker.dpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"==typeof e&&("isDisabled"===e||"getDate"===e||"widget"===e)||"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?w.datepicker["_"+e+"Datepicker"].apply(w.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?w.datepicker["_"+e+"Datepicker"].apply(w.datepicker,[this].concat(t)):w.datepicker._attachDatepicker(this,e)})},w.datepicker=new e,w.datepicker.initialized=!1,w.datepicker.uuid=(new Date).getTime(),w.datepicker.version="1.11.2",w.datepicker,w.widget("ui.draggable",w.ui.mouse,{version:"1.11.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?void(this.destroyOnClear=!0):(this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._removeHandleClassName(),void this._mouseDestroy())},_mouseCapture:function(e){var t=this.options;return this._blurActiveElement(e),!(this.helper||t.disabled||0<w(e.target).closest(".ui-resizable-handle").length||(this.handle=this._getHandle(e),!this.handle)||(this._blockFrames(!0===t.iframeFix?"iframe":t.iframeFix),0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=w(this);return w("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var t=this.document[0];if(this.handleElement.is(e.target))try{t.activeElement&&"body"!==t.activeElement.nodeName.toLowerCase()&&w(t.activeElement).blur()}catch(e){}},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),w.ui.ddmanager&&(w.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===w(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),w.ui.ddmanager&&!t.dropBehaviour&&w.ui.ddmanager.prepareOffsets(this,e),this._normalizeRightBottom(),this._mouseDrag(e,!0),w.ui.ddmanager&&w.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(e,t){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){t=this._uiHash();if(!1===this._trigger("drag",e,t))return this._mouseUp({}),!1;this.position=t.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",w.ui.ddmanager&&w.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,i=!1;return w.ui.ddmanager&&!this.options.dropBehaviour&&(i=w.ui.ddmanager.drop(this,e)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||w.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?w(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==t._trigger("stop",e)&&t._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),w.ui.ddmanager&&w.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.focus(),w.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!w(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this.handleElement.addClass("ui-draggable-handle")},_removeHandleClassName:function(){this.handleElement.removeClass("ui-draggable-handle")},_createHelper:function(e){var t=this.options,i=w.isFunction(t.helper),e=i?w(t.helper.apply(this.element[0],[e])):"clone"===t.helper?this.element.clone().removeAttr("id"):this.element;return e.parents("body").length||e.appendTo("parent"===t.appendTo?this.element[0].parentNode:t.appendTo),i&&e[0]===this.element[0]&&this._setPositionRelative(),e[0]===this.element[0]||/(fixed|absolute)/.test(e.css("position"))||e.css("position","absolute"),e},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),"left"in(e=w.isArray(e)?{left:+e[0],top:+e[1]||0}:e)&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),t=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==t&&w.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),{top:(e=this._isRootNode(this.offsetParent[0])?{top:0,left:0}:e).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var e,t;return"relative"!==this.cssPosition?{top:0,left:0}:(e=this.element.position(),t=this._isRootNode(this.scrollParent[0]),{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())})},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t=this.options,i=this.document[0];return this.relativeContainer=null,t.containment?"window"===t.containment?void(this.containment=[w(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,w(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,w(window).scrollLeft()+w(window).width()-this.helperProportions.width-this.margins.left,w(window).scrollTop()+(w(window).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===t.containment?void(this.containment=[0,0,w(i).width()-this.helperProportions.width-this.margins.left,(w(i).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):t.containment.constructor===Array?void(this.containment=t.containment):("parent"===t.containment&&(t.containment=this.helper[0].parentNode),void((t=(i=w(t.containment))[0])&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i))):void(this.containment=null)},_convertPositionTo:function(e,t){t=t||this.position;var e="absolute"===e?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*e+this.offset.parent.top*e-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*e,left:t.left+this.offset.relative.left*e+this.offset.parent.left*e-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*e}},_generatePosition:function(e,t){var i,n=this.options,s=this._isRootNode(this.scrollParent[0]),o=e.pageX,r=e.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),{top:(r=t&&(this.containment&&(i=this.relativeContainer?(t=this.relativeContainer.offset(),[this.containment[0]+t.left,this.containment[1]+t.top,this.containment[2]+t.left,this.containment[3]+t.top]):this.containment,e.pageX-this.offset.click.left<i[0]&&(o=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(r=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(o=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3])&&(r=i[3]+this.offset.click.top),n.grid&&(t=n.grid[1]?this.originalPageY+Math.round((r-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY,r=!i||t-this.offset.click.top>=i[1]||t-this.offset.click.top>i[3]?t:t-this.offset.click.top>=i[1]?t-n.grid[1]:t+n.grid[1],e=n.grid[0]?this.originalPageX+Math.round((o-this.originalPageX)/n.grid[0])*n.grid[0]:this.originalPageX,o=!i||e-this.offset.click.left>=i[0]||e-this.offset.click.left>i[2]?e:e-this.offset.click.left>=i[0]?e-n.grid[0]:e+n.grid[0]),"y"===n.axis&&(o=this.originalPageX),"x"===n.axis)?this.originalPageY:r)-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_normalizeRightBottom:function(){"y"!==this.options.axis&&"auto"!==this.helper.css("right")&&(this.helper.width(this.helper.width()),this.helper.css("right","auto")),"x"!==this.options.axis&&"auto"!==this.helper.css("bottom")&&(this.helper.height(this.helper.height()),this.helper.css("bottom","auto"))},_trigger:function(e,t,i){return i=i||this._uiHash(),w.ui.plugin.call(this,e,[t,i,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),w.Widget.prototype._trigger.call(this,e,t,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),w.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,i){var n=w.extend({},e,{item:i.element});i.sortables=[],w(i.options.connectToSortable).each(function(){var e=w(this).sortable("instance");e&&!e.options.disabled&&(i.sortables.push(e),e.refreshPositions(),e._trigger("activate",t,n))})},stop:function(t,e,i){var n=w.extend({},e,{item:i.element});i.cancelHelperRemoval=!1,w.each(i.sortables,function(){var e=this;e.isOver?(e.isOver=0,i.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,n))})},drag:function(i,n,s){w.each(s.sortables,function(){var e=!1,t=this;t.positionAbs=s.positionAbs,t.helperProportions=s.helperProportions,t.offset.click=s.offset.click,t._intersectsWith(t.containerCache)&&(e=!0,w.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,e=this!==t&&this._intersectsWith(this.containerCache)&&w.contains(t.element[0],this.element[0])?!1:e})),e?(t.isOver||(t.isOver=1,t.currentItem=n.helper.appendTo(t.element).data("ui-sortable-item",!0),t.options._helper=t.options.helper,t.options.helper=function(){return n.helper[0]},i.target=t.currentItem[0],t._mouseCapture(i,!0),t._mouseStart(i,!0,!0),t.offset.click.top=s.offset.click.top,t.offset.click.left=s.offset.click.left,t.offset.parent.left-=s.offset.parent.left-t.offset.parent.left,t.offset.parent.top-=s.offset.parent.top-t.offset.parent.top,s._trigger("toSortable",i),s.dropped=t.element,w.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,t.fromOutside=s),t.currentItem&&(t._mouseDrag(i),n.position=t.position)):t.isOver&&(t.isOver=0,t.cancelHelperRemoval=!0,t.options._revert=t.options.revert,t.options.revert=!1,t._trigger("out",i,t._uiHash(t)),t._mouseStop(i,!0),t.options.revert=t.options._revert,t.options.helper=t.options._helper,t.placeholder&&t.placeholder.remove(),s._refreshOffsets(i),n.position=s._generatePosition(i,!0),s._trigger("fromSortable",i),s.dropped=!1,w.each(s.sortables,function(){this.refreshPositions()}))})}}),w.ui.plugin.add("draggable","cursor",{start:function(e,t,i){var n=w("body"),i=i.options;n.css("cursor")&&(i._cursor=n.css("cursor")),n.css("cursor",i.cursor)},stop:function(e,t,i){i=i.options;i._cursor&&w("body").css("cursor",i._cursor)}}),w.ui.plugin.add("draggable","opacity",{start:function(e,t,i){t=w(t.helper),i=i.options;t.css("opacity")&&(i._opacity=t.css("opacity")),t.css("opacity",i.opacity)},stop:function(e,t,i){i=i.options;i._opacity&&w(t.helper).css("opacity",i._opacity)}}),w.ui.plugin.add("draggable","scroll",{start:function(e,t,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,t,i){var n=i.options,s=!1,o=i.scrollParentNotHidden[0],r=i.document[0];o!==r&&"HTML"!==o.tagName?(n.axis&&"x"===n.axis||(i.overflowOffset.top+o.offsetHeight-e.pageY<n.scrollSensitivity?o.scrollTop=s=o.scrollTop+n.scrollSpeed:e.pageY-i.overflowOffset.top<n.scrollSensitivity&&(o.scrollTop=s=o.scrollTop-n.scrollSpeed)),n.axis&&"y"===n.axis||(i.overflowOffset.left+o.offsetWidth-e.pageX<n.scrollSensitivity?o.scrollLeft=s=o.scrollLeft+n.scrollSpeed:e.pageX-i.overflowOffset.left<n.scrollSensitivity&&(o.scrollLeft=s=o.scrollLeft-n.scrollSpeed))):(n.axis&&"x"===n.axis||(e.pageY-w(r).scrollTop()<n.scrollSensitivity?s=w(r).scrollTop(w(r).scrollTop()-n.scrollSpeed):w(window).height()-(e.pageY-w(r).scrollTop())<n.scrollSensitivity&&(s=w(r).scrollTop(w(r).scrollTop()+n.scrollSpeed))),n.axis&&"y"===n.axis||(e.pageX-w(r).scrollLeft()<n.scrollSensitivity?s=w(r).scrollLeft(w(r).scrollLeft()-n.scrollSpeed):w(window).width()-(e.pageX-w(r).scrollLeft())<n.scrollSensitivity&&(s=w(r).scrollLeft(w(r).scrollLeft()+n.scrollSpeed)))),!1!==s&&w.ui.ddmanager&&!n.dropBehaviour&&w.ui.ddmanager.prepareOffsets(i,e)}}),w.ui.plugin.add("draggable","snap",{start:function(e,t,i){var n=i.options;i.snapElements=[],w(n.snap.constructor!==String?n.snap.items||":data(ui-draggable)":n.snap).each(function(){var e=w(this),t=e.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left
1:t.left})})},drag:function(e,t,i){for(var n,s,o,r,a,l,h,u,c,d=i.options,p=d.snapTolerance,f=t.offset.left,m=f+i.helperProportions.width,g=t.offset.top,v=g+i.helperProportions.height,b=i.snapElements.length-1;0<=b;b--)l=(a=i.snapElements[b].left-i.margins.left)+i.snapElements[b].width,u=(h=i.snapElements[b].top-i.margins.top)+i.snapElements[b].height,m<a-p||l+p<f||v<h-p||u+p<g||!w.contains(i.snapElements[b].item.ownerDocument,i.snapElements[b].item)?(i.snapElements[b].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,w.extend(i._uiHash(),{snapItem:i.snapElements[b].item})),i.snapElements[b].snapping=!1):("inner"!==d.snapMode&&(n=p>=Math.abs(h-v),s=p>=Math.abs(u-g),o=p>=Math.abs(a-m),r=p>=Math.abs(l-f),n&&(t.position.top=i._convertPositionTo("relative",{top:h-i.helperProportions.height,left:0}).top),s&&(t.position.top=i._convertPositionTo("relative",{top:u,left:0}).top),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:a-i.helperProportions.width}).left),r)&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l}).left),c=n||s||o||r,"outer"!==d.snapMode&&(n=p>=Math.abs(h-g),s=p>=Math.abs(u-v),o=p>=Math.abs(a-f),r=p>=Math.abs(l-m),n&&(t.position.top=i._convertPositionTo("relative",{top:h,left:0}).top),s&&(t.position.top=i._convertPositionTo("relative",{top:u-i.helperProportions.height,left:0}).top),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:a}).left),r)&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left),!i.snapElements[b].snapping&&(n||s||o||r||c)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,w.extend(i._uiHash(),{snapItem:i.snapElements[b].item})),i.snapElements[b].snapping=n||s||o||r||c)}}),w.ui.plugin.add("draggable","stack",{start:function(e,t,i){var n,i=i.options,i=w.makeArray(w(i.stack)).sort(function(e,t){return(parseInt(w(e).css("zIndex"),10)||0)-(parseInt(w(t).css("zIndex"),10)||0)});i.length&&(n=parseInt(w(i[0]).css("zIndex"),10)||0,w(i).each(function(e){w(this).css("zIndex",n+e)}),this.css("zIndex",n+i.length))}}),w.ui.plugin.add("draggable","zIndex",{start:function(e,t,i){t=w(t.helper),i=i.options;t.css("zIndex")&&(i._zIndex=t.css("zIndex")),t.css("zIndex",i.zIndex)},stop:function(e,t,i){i=i.options;i._zIndex&&w(t.helper).css("zIndex",i._zIndex)}}),w.ui.draggable,w.widget("ui.resizable",w.ui.mouse,{version:"1.11.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return parseInt(e,10)||0},_isNumber:function(e){return!isNaN(parseInt(e,10))},_hasScroll:function(e,t){var i;return"hidden"!==w(e).css("overflow")&&(i=!1,0<e[t=t&&"left"===t?"scrollLeft":"scrollTop"]||(e[t]=1,i=0<e[t],e[t]=0,i))},_create:function(){var e,t,i,n,s=this,o=this.options;if(this.element.addClass("ui-resizable"),w.extend(this,{_aspectRatio:!!o.aspectRatio,aspectRatio:o.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:o.helper||o.ghost||o.animate?o.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(w("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=o.handles||(w(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},t=0;e.length>t;t++)i=w.trim(e[t]),(n=w("<div class='ui-resizable-handle "+("ui-resizable-"+i)+"'></div>")).css({zIndex:o.zIndex}),"se"===i&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[i]=".ui-resizable-"+i,this.element.append(n);this._renderAxis=function(e){var t,i,n;for(t in e=e||this.element,this.handles)this.handles[t].constructor===String&&(this.handles[t]=this.element.children(this.handles[t]).first().show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(n=w(this.handles[t],this.element),n=/sw|ne|nw|se|n|s/.test(t)?n.outerHeight():n.outerWidth(),i=["padding",/ne|nw|n
vendor: 5,027 bytes, line 1
1/.test(t)?"Top":/se|sw|s/.test(t)?"Bottom":/^e$/.test(t)?"Right":"Left"].join(""),e.css(i,n),this._proportionallyResize()),w(this.handles[t]).length},this._renderAxis(this.element),this._handles=w(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){s.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),s.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),w(this.element).addClass("ui-resizable-autohide").mouseenter(function(){o.disabled||(w(this).removeClass("ui-resizable-autohide"),s._handles.show())}).mouseleave(function(){o.disabled||s.resizing||(w(this).addClass("ui-resizable-autohide"),s._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();function e(e){w(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()}var t;return this.elementIsWrapper&&(e(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_mouseCapture:function(e){var t,i,n=!1;for(t in this.handles)i=w(this.handles[t])[0],i!==e.target&&!w.contains(i,e.target)||(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var t,i,n=this.options,s=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),t=this._num(this.helper.css("top")),n.containment&&(i+=w(n.containment).scrollLeft()||0,t+=w(n.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:t},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalPosition={left:i,top:t},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof n.aspectRatio?n.aspectRatio:this.originalSize.width/this.originalSize.height||1,i=w(".ui-resizable-"+this.axis).css("cursor"),w("body").css("cursor","auto"===i?this.axis+"-resize":i),s.addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var t=this.originalMousePosition,i=this.axis,n=e.pageX-t.left||0,t=e.pageY-t.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(i=i.apply(this,[e,n,t]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),w.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges())),!1},_mouseStop:function(e){this.resizing=!1;var t,i,n,s=this.options,o=this;return this._helper&&(i=(t=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,t=t?0:o.sizeDiff.width,t={width:o.helper.width()-t,height:o.helper.height()-i},i=parseInt(o.element.css("left"),10)+(o.position.left-o.originalPosition.left)||null,n=parseInt(o.element.css("top"),10)+(o.position.top-o.originalPosition.top)||null,s.animate||this.element.css(w.extend(t,{top:n,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper)&&!s.animate&&this._proportionallyResize(),w("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px"),this.helper.css(e),e},_updateVirtualBoundaries:function(e){var t,i,n,s=this.options,s={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||e)&&(e=s.minHeight*this.aspectRatio,i=s.minWidth/this.aspectRatio,t=s.maxHeight*this.aspectRatio,n=s.maxWidth/this.aspectRatio,s.minWidth<e&&(s.minWidth=e),s.minHeight<i&&(s.minHeight=i),t<s.maxWidth&&(s.maxWidth=t),n<s.maxHeight)&&(s.maxHeight=n),this._vBoundaries=s},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left
vendor: 4,150 bytes, line 1
1=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,i=this.size,n=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===n&&(e.left=t.left+(i.width-e.width),e.top=null),"nw"===n&&(e.top=t.top+(i.height-e.height),e.left=t.left+(i.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,i=this.axis,n=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,s=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,o=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,r=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,a=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,h=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(e.width=t.minWidth),r&&(e.height=t.minHeight),n&&(e.width=t.maxWidth),s&&(e.height=t.maxHeight),o&&h&&(e.left=a-t.minWidth),n&&h&&(e.left=a-t.maxWidth),r&&i&&(e.top=l-t.minHeight),s&&i&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,i=[],n=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],s=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];t<4;t++)i[t]=parseInt(n[t],10)||0,i[t]+=parseInt(s[t],10)||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,i=this.helper||this.element;this._proportionallyResizeElements.length>t;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,t=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||w("<div style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++t.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var i=this.originalSize;return{left:this.originalPosition.left+t,width:i.width-t}},n:function(e,t,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(e,t,i){return{height:this.originalSize.height+i}},se:function(e,t,i){return w.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},sw:function(e,t,i){return w.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,t,i]))},ne:function(e,t,i){return w.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},nw:function(e,t,i){return w.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,t,i]))}},_propagate:function(e,t){w.ui.plugin.call(this,e,[t,this.ui()]),"resize"!==e&&this._trigger(e,t,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),w.ui.plugin.add("resizable","animate",{stop:function(t){var i=w(this).resizable("instance"),e=i.options,n=i._proportionallyResizeElements,s=n.length&&/textarea/i.test(n[0].nodeName),o=s&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,s=s?0:i.sizeDiff.width,s={width:i.size.width-s,height:i.size.height-o},o=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,r=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(w.extend(s,r&&o?{top:r,left:o}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var e={
vendor: 9,370 bytes, line 1
1width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&w(n[0]).css({width:e.width,height:e.height}),i._updateCache(e),i._propagate("resize",t)}})}}),w.ui.plugin.add("resizable","containment",{start:function(){var i,n,e,t,s=w(this).resizable("instance"),o=s.options,r=s.element,o=o.containment,r=o instanceof w?o.get(0):/parent/.test(o)?r.parent().get(0):o;r&&(s.containerElement=w(r),/document/.test(o)||o===document?(s.containerOffset={left:0,top:0},s.containerPosition={left:0,top:0},s.parentData={element:w(document),left:0,top:0,width:w(document).width(),height:w(document).height()||document.body.parentNode.scrollHeight}):(i=w(r),n=[],w(["Top","Right","Left","Bottom"]).each(function(e,t){n[e]=s._num(i.css("padding"+t))}),s.containerOffset=i.offset(),s.containerPosition=i.position(),s.containerSize={height:i.innerHeight()-n[3],width:i.innerWidth()-n[1]},o=s.containerOffset,t=s.containerSize.height,e=s.containerSize.width,e=s._hasScroll(r,"left")?r.scrollWidth:e,t=s._hasScroll(r)?r.scrollHeight:t,s.parentData={element:r,left:o.left,top:o.top,width:e,height:t}))},resize:function(e){var t=w(this).resizable("instance"),i=t.options,n=t.containerOffset,s=t.position,e=t._aspectRatio||e.shiftKey,o={top:0,left:0},r=t.containerElement,a=!0;r[0]!==document&&/static/.test(r.css("position"))&&(o=n),s.left<(t._helper?n.left:0)&&(t.size.width=t.size.width+(t._helper?t.position.left-n.left:t.position.left-o.left),e&&(t.size.height=t.size.width/t.aspectRatio,a=!1),t.position.left=i.helper?n.left:0),s.top<(t._helper?n.top:0)&&(t.size.height=t.size.height+(t._helper?t.position.top-n.top:t.position.top),e&&(t.size.width=t.size.height*t.aspectRatio,a=!1),t.position.top=t._helper?n.top:0),r=t.containerElement.get(0)===t.element.parent().get(0),i=/relative|absolute/.test(t.containerElement.css("position")),r&&i?(t.offset.left=t.parentData.left+t.position.left,t.offset.top=t.parentData.top+t.position.top):(t.offset.left=t.element.offset().left,t.offset.top=t.element.offset().top),s=Math.abs(t.sizeDiff.width+(t._helper?t.offset.left-o.left:t.offset.left-n.left)),r=Math.abs(t.sizeDiff.height+(t._helper?t.offset.top-o.top:t.offset.top-n.top)),s+t.size.width>=t.parentData.width&&(t.size.width=t.parentData.width-s,e)&&(t.size.height=t.size.width/t.aspectRatio,a=!1),r+t.size.height>=t.parentData.height&&(t.size.height=t.parentData.height-r,e)&&(t.size.width=t.size.height*t.aspectRatio,a=!1),a||(t.position.left=t.prevPosition.left,t.position.top=t.prevPosition.top,t.size.width=t.prevSize.width,t.size.height=t.prevSize.height)},stop:function(){var e=w(this).resizable("instance"),t=e.options,i=e.containerOffset,n=e.containerPosition,s=e.containerElement,o=w(e.helper),r=o.offset(),a=o.outerWidth()-e.sizeDiff.width,o=o.outerHeight()-e.sizeDiff.height;e._helper&&!t.animate&&/relative/.test(s.css("position"))&&w(this).css({left:r.left-n.left-i.left,width:a,height:o}),e._helper&&!t.animate&&/static/.test(s.css("position"))&&w(this).css({left:r.left-n.left-i.left,width:a,height:o})}}),w.ui.plugin.add("resizable","alsoResize",{start:function(){function t(e){w(e).each(function(){var e=w(this);e.data("ui-resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10)})})}var e=w(this).resizable("instance").options;"object"!=typeof e.alsoResize||e.alsoResize.parentNode?t(e.alsoResize):e.alsoResize.length?(e.alsoResize=e.alsoResize[0],t(e.alsoResize)):w.each(e.alsoResize,function(e){t(e)})},resize:function(e,o){function i(e,i){w(e).each(function(){var e=w(this),n=w(this).data("ui-resizable-alsoresize"),s={},t=i&&i.length?i:e.parents(o.originalElement[0]).length?["width","height"]:["width","height","top","left"];w.each(t,function(e,t){var i=(n[t]||0)+(a[t]||0);i&&0<=i&&(s[t]=i||null)}),e.css(s)})}var t=w(this).resizable("instance"),n=t.options,s=t.originalSize,r=t.originalPosition,a={height:t.size.height-s.height||0,width:t.size.width-s.width||0,top:t.position.top-r.top||0,left:t.position.left-r.left||0};"object"!=typeof n.alsoResize||n.alsoResize.nodeType?i(n.alsoResize):w.each(n.alsoResize,function(e,t){i(e,t)})},stop:function(){w(this).removeData("resizable-alsoresize")}}),w.ui.plugin.add("resizable","ghost",{start:function(){var e=w(this).resizable("instance"),t=e.options,i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof t.ghost?t.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=w(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=w(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),w.ui.plugin.add("resizable","grid",{resize:function(){var e,t=w(this).resizable("instance"),i=t.options,n=t.size,s=t.originalSize,o=t.originalPosition,r=t.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=a[0]||1,h=a[1]||1,u=Math.round((n.width-s.width)/l)*l,n=Math.round((n.height-s.height)/h)*h,c=s.width+u,d=s.height+n,p=i.maxWidth&&c>i.maxWidth,f=i.maxHeight&&d>i.maxHeight,m=i.minWidth&&i.minWidth>c,g=i.minHeight&&i.minHeight>d;i.grid=a,m&&(c+=l),g&&(d+=h),p&&(c-=l),f&&(d-=h),/^(se|s|e)$/.test(r)?(t.size.width=c,t.size.height=d):/^(ne)$/.test(r)?(t.size.width=c,t.size.height=d,t.position.top=o.top-n):/^(sw)$/.test(r)?(t.size.width=c,t.size.height=d,t.position.left=o.left-u):((d-h<=0||c-l<=0)&&(e=t._getPaddingPlusBorderDimensions(this)),0<d-h?(t.size.height=d,t.position.top=o.top-n):(d=h-e.height,t.size.height=d,t.position.top=o.top+s.height-d),0<c-l?(t.size.width=c,t.position.left=o.left-u):(c=h-e.height,t.size.width=c,t.position.left=o.left+s.width-c))}}),w.ui.resizable,w.widget("ui.dialog",{version:"1.11.2",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"Close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var t=w(this).css(e).offset().top;t<0&&w(this).css("top",e.top-t)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&w.fn.draggable&&this._makeDraggable(),this.options.resizable&&w.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?w(e):this.document.find(e||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:w.noop,enable:w.noop,close:function(e){var t,i=this;if(this._isOpen&&!1!==this._trigger("beforeClose",e)){if(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),!this.opener.filter(":focusable").focus().length)try{(t=this.document[0].activeElement)&&"body"!==t.nodeName.toLowerCase()&&w(t).blur()}catch(e){}this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)})}},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,t){var i=!1,n=this.uiDialog.siblings(".ui-front:visible").map(function(){return+w(this).css("z-index")}).get(),n=Math.max.apply(null,n);return n>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",n+1),i=!0),i&&!t&&this._trigger("focus",e),i},open:function(){var e=this;return this._isOpen?void(this._moveToTop()&&this._focusTabbable()):(this._isOpen=!0,this.opener=w(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),void this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;
1(e=(e=(e=(e=(e=e||this.element.find("[autofocus]")).length?e:this.element.find(":tabbable")).length?e:this.uiDialogButtonPane.find(":tabbable")).length?e:this.uiDialogTitlebarClose.filter(":tabbable")).length?e:this.uiDialog).eq(0).focus()},_keepFocus:function(e){function t(){var e=this.document[0].activeElement;this.uiDialog[0]===e||w.contains(this.uiDialog[0],e)||this._focusTabbable()}e.preventDefault(),t.call(this),this._delay(t)},_createWrapper:function(){this.uiDialog=w("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(e){var t,i,n;this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===w.ui.keyCode.ESCAPE?(e.preventDefault(),this.close(e)):e.keyCode!==w.ui.keyCode.TAB||e.isDefaultPrevented()||(t=this.uiDialog.find(":tabbable"),i=t.filter(":first"),n=t.filter(":last"),e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==i[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){n.focus()}),e.preventDefault()):(this._delay(function(){i.focus()}),e.preventDefault()))},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=w("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(e){w(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=w("<button type='button'></button>").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),e=w("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(e),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(e){this.options.title||e.html("&#160;"),e.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=w("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=w("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var n=this,e=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),w.isEmptyObject(e)||w.isArray(e)&&!e.length?void this.uiDialog.removeClass("ui-dialog-buttons"):(w.each(e,function(e,t){var i;t=w.isFunction(t)?{click:t,text:e}:t,t=w.extend({type:"button"},t),i=t.click,t.click=function(){i.apply(n.element[0],arguments)},e={icons:t.icons,text:t.showText},delete t.icons,delete t.showText,w("<button></button>",t).button(e).appendTo(n.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),void this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function s(e){return{position:e.position,offset:e.offset}}var o=this,r=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,t){w(this).addClass("ui-dialog-dragging"),o._blockFrames(),o._trigger("dragStart",e,s(t))},drag:function(e,t){o._trigger("drag",e,s(t))},stop:function(e,t){var i=t.offset.left-o.document.scrollLeft(),n=t.offset.top-o.document.scrollTop();r.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=n?"+":"")+n,of:o.window},w(this).removeClass("ui-dialog-dragging"),o._unblockFrames(),o._trigger("dragStop",e,s(t))}})},_makeResizable:function(){function s(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}var o=this,r=this.options,e=r.resizable,t=this.uiDialog.css("position"),e="string"==typeof e?e:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:r.maxWidth,maxHeight:r.maxHeight,minWidth:r.minWidth,minHeight:this._minHeight(),handles:e,start:function(e,t){w(this).addClass("ui-dialog-resizing"),o._blockFrames(),o._trigger("resizeStart",e,s(t))},resize:function(e,t){o._trigger("resize",e,s(t))},stop:function(e,t){var i=o.uiDialog.offset(),n=i.left-o.document.scrollLeft(),i=i.top-o.document.scrollTop();r.height=o.uiDialog.height(),r.width=o.uiDialog.width(),r.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=i?"+":"")+i,of:o.window},w(this).removeClass("ui-dialog-resizing"),o._unblockFrames(),o._trigger("resizeStop",e,s(t))}}).css("position",t)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=w(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),t=w.inArray(this,e);-1!==t&&e.splice(t,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||this.document.data("ui-dialog-instances",e=[]),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(e){var i=this,n=!1,s={};w.each(e,function(e,t){i._setOption(e,t),e in i.sizeRelatedOptions&&(n=!0),e in i.resizableRelatedOptions&&(s[e]=t)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(e,t){var i,n=this.uiDialog;"dialogClass"===e&&n.removeClass(this.options.dialogClass).addClass(t),"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:""+t}),"draggable"===e&&((i=n.is(":data(ui-draggable)"))&&!t&&n.draggable("destroy"),!i)&&t&&this._makeDraggable(),"position"===e&&this._position(),"resizable"===e&&((i=n.is(":data(ui-resizable)"))&&!t&&n.resizable("destroy"),i&&"string"==typeof t&&n.resizable("option","handles",t),i||!1===t||this._makeResizable()),"title"===e)&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title"))},_size:function(){var e,t,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),e=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),t=Math.max(0,n.minHeight-e),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-e):"none","auto"===n.height?this.element.css({minHeight:t,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=w(this);return w("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!w(e.target).closest(".ui-dialog").length||!!w(e.target).closest(".ui-datepicker").length},_createOverlay:function(){var t;this.options.modal&&(t=!0,this._delay(function(){t=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(e){t||this._allowInteraction(e)||(e.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=w("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1))},_destroyOverlay:function(){var e;this.options.modal&&this.overlay&&((e=this.document.data("ui-dialog-overlays")-1)?this.document.data("ui-dialog-overlays",e):this.document.unbind("focusin").removeData("ui-dialog-overlays"),this.overlay.remove(),this.overlay=null)}}),w.widget("ui.droppable",{version:"1.11.2",widgetEventPrefix:"drop",o
1ptions:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,t=this.options,i=t.accept;this.isover=!1,this.isout=!0,this.accept=w.isFunction(i)?i:function(e){return e.is(i)},this.proportions=function(){return arguments.length?void(e=arguments[0]):e=e||{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}},this._addToManager(t.scope),t.addClasses&&this.element.addClass("ui-droppable")},_addToManager:function(e){w.ui.ddmanager.droppables[e]=w.ui.ddmanager.droppables[e]||[],w.ui.ddmanager.droppables[e].push(this)},_splice:function(e){for(var t=0;e.length>t;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var e=w.ui.ddmanager.droppables[this.options.scope];this._splice(e),this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(e,t){var i;"accept"===e?this.accept=w.isFunction(t)?t:function(e){return e.is(t)}:"scope"===e&&(i=w.ui.ddmanager.droppables[this.options.scope],this._splice(i),this._addToManager(t)),this._super(e,t)},_activate:function(e){var t=w.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),t&&this._trigger("activate",e,this.ui(t))},_deactivate:function(e){var t=w.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),t&&this._trigger("deactivate",e,this.ui(t))},_over:function(e){var t=w.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",e,this.ui(t)))},_out:function(e){var t=w.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",e,this.ui(t)))},_drop:function(t,e){var i=e||w.ui.ddmanager.current,n=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0]||(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=w(this).droppable("instance");return e.options.greedy&&!e.options.disabled&&e.options.scope===i.options.scope&&e.accept.call(e.element[0],i.currentItem||i.element)&&w.ui.intersect(i,w.extend(e,{offset:e.element.offset()}),e.options.tolerance,t)?!(n=!0):void 0}),n)||!this.accept.call(this.element[0],i.currentItem||i.element))&&(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",t,this.ui(i)),this.element)},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}}}),w.ui.intersect=function(e,t,i,n){if(!t.offset)return!1;var s=(e.positionAbs||e.position.absolute).left+e.margins.left,o=(e.positionAbs||e.position.absolute).top+e.margins.top,r=s+e.helperProportions.width,a=o+e.helperProportions.height,l=t.offset.left,h=t.offset.top,u=l+t.proportions().width,c=h+t.proportions().height;switch(i){case"fit":return l<=s&&r<=u&&h<=o&&a<=c;case"intersect":return s+e.helperProportions.width/2>l&&u>r-e.helperProportions.width/2&&o+e.helperProportions.height/2>h&&c>a-e.helperProportions.height/2;case"pointer":return ee(n.pageY,h,t.proportions().height)&&ee(n.pageX,l,t.proportions().width);case"touch":return(h<=o&&o<=c||h<=a&&a<=c||o<h&&c<a)&&(l<=s&&s<=u||l<=r&&r<=u||s<l&&u<r);default:return!1}},w.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,t){var i,n,s=w.ui.ddmanager.droppables[e.options.scope]||[],o=t?t.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();e:for(i=0;s.length>i;i++)if(!(s[i].options.disabled||e&&!s[i].accept.call(s[i].element[0],e.currentItem||e.element))){for(n=0;r.length>n;n++)if(r[n]===s[i].element[0]){s[i].proportions().height=0;continue e}s[i].visible="none"!==s[i].element.css("display"),s[i].visible&&("mousedown"===o&&s[i]._activate.call(s[i],t),s[i].offset=s[i].element.offset(),s[i].proportions({width:s[i].element[0].offsetWidth,height:s[i].element[0].offsetHeight}))}},drop:function(e,t){var i=!1;return w.each((w.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&w.ui.intersect(e,this,this.options.tolerance,t)&&(i=this._drop.call(this,t)||i),!this.options.disabled)&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,t))}),i},dragStart:function(e,t){e.element.parentsUntil("body").bind("scroll.droppable",function(){e.options.refreshPositions||w.ui.ddmanager.prepareOffsets(e,t)})},drag:function(s,o){s.options.refreshPositions&&w.ui.ddmanager.prepareOffsets(s,o),w.each(w.ui.ddmanager.droppables[s.options.scope]||[],function(){var e,t,i,n;this.options.disabled||this.greedyChild||!this.visible||(n=!(n=w.ui.intersect(s,this,this.options.tolerance,o))&&this.isover?"isout":n&&!this.isover?"isover":null)&&(this.options.greedy&&(t=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return w(this).droppable("instance").options.scope===t})).length)&&((e=w(i[0]).droppable("instance")).greedyChild="isover"===n),e&&"isover"===n&&(e.isover=!1,e.isout=!0,e._out.call(e,o)),this[n]=!0,this["isout"===n?"isover":"isout"]=!1,this["isover"===n?"_over":"_out"].call(this,o),e)&&"isout"===n&&(e.isout=!1,e.isover=!0,e._over.call(e,o))})},dragStop:function(e,t){e.element.parentsUntil("body").unbind("scroll.droppable"),e.options.refreshPositions||w.ui.ddmanager.prepareOffsets(e,t)}},w.ui.droppable;var b,y,te,ie,ne,se,oe,re,ae,le,_,x,T,he,ue,E,S,I,N,A,ce="ui-effects-",de=w;function M(e,t,i,n){return e={effect:e=w.isPlainObject(e)?(t=e).effect:e},w.isFunction(t=null==t?{}:t)&&(n=t,i=null,t={}),"number"!=typeof t&&!w.fx.speeds[t]||(n=i,i=t,t={}),w.isFunction(i)&&(n=i,i=null),t&&w.extend(e,t),i=i||t.duration,e.duration=w.fx.off?0:"number"==typeof i?i:i in w.fx.speeds?w.fx.speeds[i]:w.fx.speeds._default,e.complete=n||t.complete,e}function P(e){return!e||"number"==typeof e||w.fx.speeds[e]||"string"==typeof e&&!w.effects.effect[e]||w.isFunction(e)||"object"==typeof e&&!e.effect}function pe(e){var t,i,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,s={};if(n&&n.length&&n[0]&&n[n[0]])for(i=n.length;i--;
1)"string"==typeof n[t=n[i]]&&(s[w.camelCase(t)]=n[t]);else for(t in n)"string"==typeof n[t]&&(s[t]=n[t]);return s}function H(e,t,i){var n=I[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:e<0?0:e>n.max?n.max:e)}function fe(n){var s=E(),o=s._rgba=[];return n=n.toLowerCase(),A(ue,function(e,t){var i=t.re.exec(n),i=i&&t.parse(i),t=t.space||"rgba";return i?(i=s[t](i),s[S[t].cache]=i[S[t].cache],o=s._rgba=i._rgba,!1):x}),o.length?("0,0,0,0"===o.join()&&_.extend(o,T.transparent),s):T[n]}function z(e,t,i){return 6*(i=(i+1)%1)<1?e+6*(t-e)*i:2*i<1?t:3*i<2?e+6*(t-e)*(2/3-i):e}w.effects={effect:{}},he=/^([\-+])=\s*(\d+\.?\d*)/,ue=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],E=(_=de).Color=function(e,t,i,n){return new _.Color.fn.parse(e,t,i,n)},S={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},I={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},N=E.support={},p=_("<p>")[0],A=_.each,p.style.cssText="background-color:rgba(1,1,1,.5)",N.rgba=-1<p.style.backgroundColor.indexOf("rgba"),A(S,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),(E.fn=_.extend(E.prototype,{parse:function(s,e,t,i){if(s===x)return this._rgba=[null,null,null,null],this;(s.jquery||s.nodeType)&&(s=_(s).css(e),e=x);var o=this,n=_.type(s),r=this._rgba=[];return e!==x&&(s=[s,e,t,i],n="array"),"string"===n?this.parse(fe(s)||T._default):"array"===n?(A(S.rgba.props,function(e,t){r[t.idx]=H(s[t.idx],t)}),this):"object"===n?(s instanceof E?A(S,function(e,t){s[t.cache]&&(o[t.cache]=s[t.cache].slice())}):A(S,function(e,i){var n=i.cache;A(i.props,function(e,t){if(!o[n]&&i.to){if("alpha"===e||null==s[e])return;o[n]=i.to(o._rgba)}o[n][t.idx]=H(s[e],t,!0)}),o[n]&&_.inArray(null,o[n].slice(0,3))<0&&(o[n][3]=1,i.from)&&(o._rgba=i.from(o[n]))}),this):x},is:function(e){var s=E(e),o=!0,r=this;return A(S,function(e,t){var i,n=s[t.cache];return n&&(i=r[t.cache]||t.to&&t.to(r._rgba)||[],A(t.props,function(e,t){return null!=n[t.idx]?o=n[t.idx]===i[t.idx]:x})),o}),o},_space:function(){var i=[],n=this;return A(S,function(e,t){n[t.cache]&&i.push(e)}),i.pop()},transition:function(e,r){var e=(h=E(e))._space(),t=S[e],i=0===this.alpha()?E("transparent"):this,a=i[t.cache]||t.to(i._rgba),l=a.slice(),h=h[t.cache];return A(t.props,function(e,t){var i=t.idx,n=a[i],s=h[i],o=I[t.type]||{};null!==s&&(null===n?l[i]=s:(o.mod&&(s-n>o.mod/2?n+=o.mod:n-s>o.mod/2&&(n-=o.mod)),l[i]=H((s-n)*r+n,t)))}),this[e](l)},blend:function(e){var t,i,n;return 1===this._rgba[3]?this:(t=this._rgba.slice(),i=t.pop(),n=E(e)._rgba,E(_.map(t,function(e,t){return(1-i)*n[t]+i*e})))},toRgbaString:function(){var e="rgba(",t=_.map(this._rgba,function(e,t){return null==e?2<t?1:0:e});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=_.map(this.hsla(),function(e,t){return null==e&&(e=2<t?1:0),e=t&&t<3?Math.round(100*e)+"%":e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),i=t.pop();return e&&t.push(~~(255*i)),"#"+_.map(t,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}})).parse.prototype=E.fn,S.hsla.to=function(e){var t,i,n,s,o,r,a,l;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/255,i=e[1]/255,n=e[2]/255,e=e[3],a=.5*(l=(s=Math.max(t,i,n))+(o=Math.min(t,i,n))),l=0==(r=s-o)?0:a<=.5?r/l:r/(2-l),[Math.round(o===s?0:t===s?60*(i-n)/r+360:i===s?60*(n-t)/r+120:60*(t-i)/r+240)%360,l,a,null==e?1:e])},S.hsla.from=function(e){var t,i,n;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/360,n=e[1],i=e[2],e=e[3],n=2*i-(i=i<=.5?i*(1+n):i+n-i*n),[Math.round(255*z(n,i,t+1/3)),Math.round(255*z(n,i,t)),Math.round(255*z(n,i,t-1/3)),e])}
1,A(S,function(a,e){var o=e.props,r=e.cache,l=e.to,h=e.from;E.fn[a]=function(e){var t,i,n,s;return l&&!this[r]&&(this[r]=l(this._rgba)),e===x?this[r].slice():(i=_.type(e),n="array"===i||"object"===i?e:arguments,s=this[r].slice(),A(o,function(e,t){e=n["object"===i?e:t.idx];null==e&&(e=s[t.idx]),s[t.idx]=H(e,t)}),h?((t=E(h(s)))[r]=s,t):E(s))},A(o,function(o,r){E.fn[o]||(E.fn[o]=function(e){var t=_.type(e),i="alpha"===o?this._hsla?"hsla":"rgba":a,n=this[i](),s=n[r.idx];return"undefined"===t?s:("function"===t&&(e=e.call(this,s),t=_.type(e)),null==e&&r.empty?this:("string"===t&&(t=he.exec(e))&&(e=s+parseFloat(t[2])*("+"===t[1]?1:-1)),n[r.idx]=e,this[i](n)))})})}),(E.hook=function(e){e=e.split(" ");A(e,function(e,o){_.cssHooks[o]={set:function(e,t){var i,n,s="";if("transparent"!==t&&("string"!==_.type(t)||(i=fe(t)))){if(t=E(i||t),!N.rgba&&1!==t._rgba[3]){for(n="backgroundColor"===o?e.parentNode:e;(""===s||"transparent"===s)&&n&&n.style;)try{s=_.css(n,"backgroundColor"),n=n.parentNode}catch(e){}t=t.blend(s&&"transparent"!==s?s:"_default")}t=t.toRgbaString()}try{e.style[o]=t}catch(e){}}},_.fx.step[o]=function(e){e.colorInit||(e.start=E(e.elem,o),e.end=E(e.end),e.colorInit=!0),_.cssHooks[o].set(e.elem,e.start.transition(e.end,e.pos))}})})("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),_.cssHooks.borderColor={expand:function(i){var n={};return A(["Top","Right","Bottom","Left"],function(e,t){n["border"+t+"Color"]=i}),n}},T=_.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"},ae=["add","remove","toggle"],le={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},w.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,t){w.fx.step[t]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(de.style(e.elem,t,e.end),e.setAttr=!0)}}),w.fn.addBack||(w.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),w.effects.animateClass=function(s,e,t,i){var o=w.speed(e,t,i);return this.queue(function(){var i=w(this),e=i.attr("class")||"",t=(t=o.children?i.find("*").addBack():i).map(function(){return{el:w(this),start:pe(this)}}),n=function(){w.each(ae,function(e,t){s[t]&&i[t+"Class"](s[t])})};n(),t=t.map(function(){return this.end=pe(this.el[0]),this.diff=function(e,t){var i,n,s={};for(i in t)n=t[i],e[i]===n||le[i]||!w.fx.step[i]&&isNaN(parseFloat(n))||(s[i]=n);return s}(this.start,this.end),this}),i.attr("class",e),t=t.map(function(){var e=this,t=w.Deferred(),i=w.extend({},o,{queue:!1,complete:function(){t.resolve(e)}});return this.el.animate(this.diff,i),t.promise()}),w.when.apply(w,t.get()).done(function(){n(),w.each(arguments,function(){var t=this.el;w.each(this.diff,function(e){t.css(e,"")})}),o.complete.call(i[0])})})},w.fn.extend({addClass:(re=w.fn.addClass,function(e,t,i,n){return t?w.effects.animateClass.call(this,{add:e},t,i,n):re.apply(this,arguments)}),removeClass:(oe=w.fn.removeClass,function(e,t,i,n){return 1<arguments.length?w.effects.animateClass.call(this,{remove:e},t,i,n):oe.apply(this,arguments)}),toggleClass:(se=w.fn.toggleClass,function(e,t,i,n,s){return"boolean"==typeof t||void 0===t?i?w.effects.animateClass.call(this,t?{add:e}:{remove:e},i,n,s):se.apply(this,arguments):w.effects.animateClass.call(this,{toggle:e},t,i,n)}),switchClass:function(e,t,i,n,s){return w.effects.animateClass.call(this,{add:t,remove:e},i,n,s)}}),w.extend(w.effects,{version:"1.11.2",save:function(e,t){for(var i=0;t.length>i;i++)null!==t[i]&&e.data(ce+t[i],e[0].style[t[i]])},restore:function(e,t){for(var i,n=0;t.length>n;n++)null!==t[n]&&(i=e.data(ce+t[n]),e.css(t[n],i=void 0===i?"":i))},setMode:function(e,t){return t="toggle"===t?e.is(":hidden")?"show":"hide":t},getBaseline:function(e,t){var i,n;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=e[1]/t.width}return{x:n,y:i}},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var n={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},e=w("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:i.width(),height:i.height()},s=document.activeElement;try{s.id}catch(e){s=document.body}return i.wrap(e),i[0]!==s&&!w.contains(i[0],s)||w(s).focus(),e=i.parent(),"static"===i.css("position")?(e.css({position:"relative"}),i.css({position:"relative"})):(w.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),w.each(["top","left","bottom","right"],function(e,t){n[t]=i.css(t),isNaN(parseInt(n[t],10))&&(n[t]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(t),e.css(n).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),e[0]===t||w.contains(e[0],t))&&w(t).focus(),e},setTransition:function(n,e,s,o){return o=o||{},w.each(e,function(e,t){var i=n.cssUnit(t);0<i[0]&&(o[t]=i[0]*s+i[1])}),o}}),w.fn.extend({effect:function(){function e(e){function t(){w.isFunction(n)&&n.call(i[0]),w.isFunction(e)&&e()}var i=w(this),n=o.complete,s=o.mode;(i.is(":hidden")?"hide"===s:"show"===s)?(i[s](),t()):r.call(i[0],o,t)}var o=M.apply(this,arguments),t=o.mode,i=o.queue,r=w.effects.effect[o.effect];return w.fx.off||!r?t?this[t](o.duration,o.complete):this.each(function(){o.complete&&o.complete.call(this)}):!1===i?this.each(e):this.queue(i||"fx",e)},show:(ne=w.fn.show,function(e){var t;return P(e)?ne.apply(this,arguments):((t=M.apply(this,arguments)).mode="show",this.effect.call(this,t))}),hide:(ie=w.fn.hide,function(e){var t;return P(e)?ie.apply(this,arguments):((t=M.apply(this,arguments)).mode="hide",this.effect.call(this,t))}),toggle:(te=w.fn.toggle,function(e){var t;return P(e)||"boolean"==typeof e?te.apply(this,arguments):((t=M.apply(this,arguments)).mode="toggle",this.effect.call(this,t))}),cssUnit:function(e){var i=this.css(e),n=[];return w.each(["em","px","%","pt"],function(e,t){0<i.indexOf(t)&&(n=[parseFloat(i),t])}),n}}),y={},w.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){y[e]=function(e){return Math.pow(e,t+2)}}),w.extend(y,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),w.each(y,function(e,t){w.easing["easeIn"+e]=t,w.easing["easeOut"+e]=function(e){return 1-t(1-e)},w.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}}),w.effects,w.effects.effect.blind=function(e,t){var i,n,s,o=w(this),r=["position","top","bottom","left","right","height","width"],a=w.effects.setMode(o,e.mode||"hide"),l=e.direction||"up",h=/up|down|vertical/.test(l),u=h?"height":"width",c=h?"top":"left",l=/up|left|vertical|horizontal/.test(l),d={},p="show"===a;o.parent().is(".ui-effects-wrapper")?w.effects.save(o.parent(),r):w.effects.save(o,r),o.show(),n=(i=w.effects.createWrapper(o).css({overflow:"hidden"}))[u](),s=parseFloat(i.css(c))||0,d[u]=p?n:0,l||(o.css(h?"bottom":"right",0).css(h?"top":"left","auto").css({position:"absolute"}),d[c]=p?s:n+s),p&&(i.css(u,0),l||i.css(c,s+n)),i.animate(d,{duration:e.duration,easing:e.easing,queue:!1,complete:function(){"hide"===a&&o.hide(),w.effects.restore(o,r),w.effects.removeWrapper(o),t()}})},w.effects.effect.bounce=function(e,t){var i,n,s,o=w(this),r=["position","top","bottom","left","right","height","width"],a=w.effects.setMode(o,e.mode||"effect"),l="hide"===a,a="show"===a,h=e.direction||"up",u=e.distance,c=e.times||5,d=2*c+(a||l?1:0),p=e.duration/d,f=e.easing,m="up"===h||"down"===h?"to
1p":"left",g="up"===h||"left"===h,e=o.queue(),h=e.length;for((a||l)&&r.push("opacity"),w.effects.save(o,r),o.show(),w.effects.createWrapper(o),u=u||o["top"==m?"outerHeight":"outerWidth"]()/3,a&&((s={opacity:1})[m]=0,o.css("opacity",0).css(m,g?2*-u:2*u).animate(s,p,f)),l&&(u/=Math.pow(2,c-1)),i=(s={})[m]=0;i<c;i++)(n={})[m]=(g?"-=":"+=")+u,o.animate(n,p,f).animate(s,p,f),u=l?2*u:u/2;l&&((n={opacity:0})[m]=(g?"-=":"+=")+u,o.animate(n,p,f)),o.queue(function(){l&&o.hide(),w.effects.restore(o,r),w.effects.removeWrapper(o),t()}),1<h&&e.splice.apply(e,[1,0].concat(e.splice(h,1+d))),o.dequeue()},w.effects.effect.clip=function(e,t){var i,n,s=w(this),o=["position","top","bottom","left","right","height","width"],r="show"===w.effects.setMode(s,e.mode||"hide"),a="vertical"===(e.direction||"vertical"),l=a?"height":"width",a=a?"top":"left",h={};w.effects.save(s,o),s.show(),i=w.effects.createWrapper(s).css({overflow:"hidden"}),n=(i="IMG"===s[0].tagName?i:s)[l](),r&&(i.css(l,0),i.css(a,n/2)),h[l]=r?n:0,h[a]=r?0:n/2,i.animate(h,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){r||s.hide(),w.effects.restore(s,o),w.effects.removeWrapper(s),t()}})},w.effects.effect.drop=function(e,t){var i,n=w(this),s=["position","top","bottom","left","right","opacity","height","width"],o=w.effects.setMode(n,e.mode||"hide"),r="show"===o,a=e.direction||"left",l="up"===a||"down"===a?"top":"left",a="up"===a||"left"===a?"pos":"neg",h={opacity:r?1:0};w.effects.save(n,s),n.show(),w.effects.createWrapper(n),i=e.distance||n["top"==l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(l,"pos"==a?-i:i),h[l]=(r?"pos"==a?"+=":"-=":"pos"==a?"-=":"+=")+i,n.animate(h,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&n.hide(),w.effects.restore(n,s),w.effects.removeWrapper(n),t()}})},w.effects.effect.explode=function(e,t){function i(){m.push(this),m.length===l*h&&(u.css({visibility:"visible"}),w(m).remove(),c||u.hide(),t())}for(var n,s,o,r,a,l=e.pieces?Math.round(Math.sqrt(e.pieces)):3,h=l,u=w(this),c="show"===w.effects.setMode(u,e.mode||"hide"),d=u.show().css("visibility","hidden").offset(),p=Math.ceil(u.outerWidth()/h),f=Math.ceil(u.outerHeight()/l),m=[],g=0;g<l;g++)for(o=d.top+g*f,a=g-(l-1)/2,n=0;n<h;n++)s=d.left+n*p,r=n-(h-1)/2,u.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-n*p,top:-g*f}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:f,left:s+(c?r*p:0),top:o+(c?a*f:0),opacity:c?0:1}).animate({left:s+(c?0:r*p),top:o+(c?0:a*f),opacity:c?1:0},e.duration||500,e.easing,i)},w.effects.effect.fade=function(e,t){var i=w(this),n=w.effects.setMode(i,e.mode||"toggle");i.animate({opacity:n},{queue:!1,duration:e.duration,easing:e.easing,complete:t})},w.effects.effect.fold=function(e,t){var i,n=w(this),s=["position","top","bottom","left","right","height","width"],o=w.effects.setMode(n,e.mode||"hide"),r="show"===o,a="hide"===o,o=e.size||15,l=/([0-9]+)%/.exec(o),h=!!e.horizFirst,u=r!=h,c=u?["width","height"]:["height","width"],d=e.duration/2,p={},f={};w.effects.save(n,s),n.show(),i=w.effects.createWrapper(n).css({overflow:"hidden"}),u=u?[i.width(),i.height()]:[i.height(),i.width()],l&&(o=parseInt(l[1],10)/100*u[a?0:1]),r&&i.css(h?{height:0,width:o}:{height:o,width:0}),p[c[0]]=r?u[0]:o,f[c[1]]=r?u[1]:0,i.animate(p,d,e.easing).animate(f,d,e.easing,function(){a&&n.hide(),w.effects.restore(n,s),w.effects.removeWrapper(n),t()})},w.effects.effect.highlight=function(e,t){var i=w(this),n=["backgroundImage","backgroundColor","opacity"],s=w.effects.setMode(i,e.mode||"show"),o={backgroundColor:i.css("backgroundColor")};"hide"===s&&(o.opacity=0),w.effects.save(i,n),i.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===s&&i.hide(),w.effects.restore(i,n),t()}})},w.effects.effect.size=function(o,e){var t,r,a=w(this),i=["position","top","bottom","left","right","width","height","overflow","opacity"],l=["width","height","overflow"],n=["fontSize"],h=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],u=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],s=w.effects.setMode(a,o.mode||"effect"),c=o.restore||"effect"!==s,d=o.scale||"both",p=o.origin||["middle","center"],f=
vendor: 9,981 bytes, line 1
1a.css("position"),m=c?i:["position","top","bottom","left","right","overflow","opacity"],g={height:0,width:0,outerHeight:0,outerWidth:0};"show"===s&&a.show(),t={height:a.height(),width:a.width(),outerHeight:a.outerHeight(),outerWidth:a.outerWidth()},"toggle"===o.mode&&"show"===s?(a.from=o.to||g,a.to=o.from||t):(a.from=o.from||("show"===s?g:t),a.to=o.to||("hide"===s?g:t)),r={from:{y:a.from.height/t.height,x:a.from.width/t.width},to:{y:a.to.height/t.height,x:a.to.width/t.width}},"box"!==d&&"both"!==d||(r.from.y!==r.to.y&&(m=m.concat(h),a.from=w.effects.setTransition(a,h,r.from.y,a.from),a.to=w.effects.setTransition(a,h,r.to.y,a.to)),r.from.x===r.to.x)||(m=m.concat(u),a.from=w.effects.setTransition(a,u,r.from.x,a.from),a.to=w.effects.setTransition(a,u,r.to.x,a.to)),"content"!==d&&"both"!==d||r.from.y===r.to.y||(m=m.concat(n).concat(l),a.from=w.effects.setTransition(a,n,r.from.y,a.from),a.to=w.effects.setTransition(a,n,r.to.y,a.to)),w.effects.save(a,m),a.show(),w.effects.createWrapper(a),a.css("overflow","hidden").css(a.from),p&&(g=w.effects.getBaseline(p,t),a.from.top=(t.outerHeight-a.outerHeight())*g.y,a.from.left=(t.outerWidth-a.outerWidth())*g.x,a.to.top=(t.outerHeight-a.to.outerHeight)*g.y,a.to.left=(t.outerWidth-a.to.outerWidth)*g.x),a.css(a.from),"content"!==d&&"both"!==d||(h=h.concat(["marginTop","marginBottom"]).concat(n),u=u.concat(["marginLeft","marginRight"]),l=i.concat(h).concat(u),a.find("*[width]").each(function(){var e=w(this),t=e.height(),i=e.width(),n=e.outerHeight(),s=e.outerWidth();c&&w.effects.save(e,l),e.from={height:t*r.from.y,width:i*r.from.x,outerHeight:n*r.from.y,outerWidth:s*r.from.x},e.to={height:t*r.to.y,width:i*r.to.x,outerHeight:t*r.to.y,outerWidth:i*r.to.x},r.from.y!==r.to.y&&(e.from=w.effects.setTransition(e,h,r.from.y,e.from),e.to=w.effects.setTransition(e,h,r.to.y,e.to)),r.from.x!==r.to.x&&(e.from=w.effects.setTransition(e,u,r.from.x,e.from),e.to=w.effects.setTransition(e,u,r.to.x,e.to)),e.css(e.from),e.animate(e.to,o.duration,o.easing,function(){c&&w.effects.restore(e,l)})})),a.animate(a.to,{queue:!1,duration:o.duration,easing:o.easing,complete:function(){0===a.to.opacity&&a.css("opacity",a.from.opacity),"hide"===s&&a.hide(),w.effects.restore(a,m),c||("static"===f?a.css({position:"relative",top:a.to.top,left:a.to.left}):w.each(["top","left"],function(s,e){a.css(e,function(e,t){var i=parseInt(t,10),n=s?a.to.left:a.to.top;return"auto"===t?n+"px":i+n+"px"})})),w.effects.removeWrapper(a),e()}})},w.effects.effect.scale=function(e,t){var i=w(this),n=w.extend(!0,{},e),s=w.effects.setMode(i,e.mode||"effect"),o=parseInt(e.percent,10)||(0===parseInt(e.percent,10)||"hide"===s?0:100),r=e.direction||"both",a=e.origin,l={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()},h="horizontal"!==r?o/100:1,r="vertical"!==r?o/100:1;n.effect="size",n.queue=!1,n.complete=t,"effect"!==s&&(n.origin=a||["middle","center"],n.restore=!0),n.from=e.from||("show"===s?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*h,width:l.width*r,outerHeight:l.outerHeight*h,outerWidth:l.outerWidth*r},n.fade&&("show"===s&&(n.from.opacity=0,n.to.opacity=1),"hide"===s)&&(n.from.opacity=1,n.to.opacity=0),i.effect(n)},w.effects.effect.puff=function(e,t){var i=w(this),n=w.effects.setMode(i,e.mode||"hide"),s="hide"===n,o=parseInt(e.percent,10)||150,r=o/100,a={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};w.extend(e,{effect:"scale",queue:!1,fade:!0,mode:n,complete:t,percent:s?o:100,from:s?a:{height:a.height*r,width:a.width*r,outerHeight:a.outerHeight*r,outerWidth:a.outerWidth*r}}),i.effect(e)},w.effects.effect.pulsate=function(e,t){var i,n=w(this),s=w.effects.setMode(n,e.mode||"show"),o="show"===s,r="hide"===s,a=2*(e.times||5)+(o||"hide"===s?1:0),l=e.duration/a,h=0,s=n.queue(),u=s.length;for(!o&&n.is(":visible")||(n.css("opacity",0).show(),h=1),i=1;i<a;i++)n.animate({opacity:h},l,e.easing),h=1-h;n.animate({opacity:h},l,e.easing),n.queue(function(){r&&n.hide(),t()}),1<u&&s.splice.apply(s,[1,0].concat(s.splice(u,1+a))),n.dequeue()},w.effects.effect.shake=function(e,t){var i,n=w(this),s=["position","top","bottom","left","right","height","width"],o=w.effects.setMode(n,e.mode||"effect"),r=e.direction||"left",a=e.distance||20,l=e.times||3,h=2*l+1,u=Math.round(e.duration/h),c="up"===r||"down"===r?"top":"left",r="up"===r||"left"===r,d={},p={},f={},m=n.queue(),g=m.length;for(w.effects.save(n,s),n.show(),w.effects.createWrapper(n),d[c]=(r?"-=":"+=")+a,p[c]=(r?"+=":"-=")+2*a,f[c]=(r?"-=":"+=")+2*a,n.animate(d,u,e.easing),i=1;i<l;i++)n.animate(p,u,e.easing).animate(f,u,e.easing);n.animate(p,u,e.easing).animate(d,u/2,e.easing).queue(function(){"hide"===o&&n.hide(),w.effects.restore(n,s),w.effects.removeWrapper(n),t()}),1<g&&m.splice.apply(m,[1,0].concat(m.splice(g,1+h))),n.dequeue()},w.effects.effect.slide=function(e,t){var i,n=w(this),s=["position","top","bottom","left","right","width","height"],o=w.effects.setMode(n,e.mode||"show"),r="show"===o,a=e.direction||"left",l="up"===a||"down"===a?"top":"left",a="up"===a||"left"===a,h={};w.effects.save(n,s),n.show(),i=e.distance||n["top"==l?"outerHeight":"outerWidth"](!0),w.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,a?isNaN(i)?"-"+i:-i:i),h[l]=(r?a?"+=":"-=":a?"-=":"+=")+i,n.animate(h,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&n.hide(),w.effects.restore(n,s),w.effects.removeWrapper(n),t()}})},w.effects.effect.transfer=function(e,t){var i=w(this),n=w(e.to),s="fixed"===n.css("position"),o=w("body"),r=s?o.scrollTop():0,o=s?o.scrollLeft():0,a=n.offset(),a={top:a.top-r,left:a.left-o,height:n.innerHeight(),width:n.innerWidth()},n=i.offset(),l=w("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(e.className).css({top:n.top-r,left:n.left-o,height:i.innerHeight(),width:i.innerWidth(),position:s?"fixed":"absolute"}).animate(a,e.duration,e.easing,function(){l.remove(),t()})},w.widget("ui.progressbar",{version:"1.11.2",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=w("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){return void 0===e?this.options.value:(this.options.value=this._constrainedValue(e),void this._refreshValue())},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,t=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(t.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=w("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),w.widget("ui.selectable",w.ui.mouse,{version:"1.11.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e,t=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){(e=w(t.options.filter,t.element[0])).addClass("ui-selectee"),e.each(function(){var e=w(this),t=e.offset();w.data(this,"selectable-item",{element:this,$element:e,left:t.left,top:t.top,right:t.left+e.outerWidth(),bottom:t.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=e.addClass("ui-selectee"),this._mouseInit(),this.helper=w("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(i){var n=this,e=this.options;this.opos=[i.pageX,i.pageY],this.options.disabled||(this.selectees=w(e.filter,this.element[0]),this._trigger("start",i),w(e.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),e.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var e=w.data(this,"selectable-item");e.startselected=!0,i.metaKey||i.ctrlKey||(e.$element.removeClass("ui-selected"),e.selected=!1,e.$element.addClass("ui-unselecting"),e.unselecting=!0,n._trigger("unselecting",i,{unselecting:e.element}))}),w(i.target).parents().addBack().each(function(){var e,t=w.data(this,"selectable-item");return t?(e=!i.metaKey&&!i.ctrlKey||!t.$element.hasClass("ui-selected"),t.$element.removeClass(e?"ui-unselecting":"ui-selected").addClass(e?"ui-selecting":"ui-unselecting"),t.unselecting=!e,t.selecting=e,(t.
vendor: 5,744 bytes, line 1
1selected=e)?n._trigger("selecting",i,{selecting:t.element}):n._trigger("unselecting",i,{unselecting:t.element}),!1):void 0}))},_mouseDrag:function(i){var e,n,s,o,r,a,l;if(this.dragged=!0,!this.options.disabled)return s=(n=this).options,o=this.opos[0],r=this.opos[1],a=i.pageX,l=i.pageY,a<o&&(e=a,a=o,o=e),l<r&&(e=l,l=r,r=e),this.helper.css({left:o,top:r,width:a-o,height:l-r}),this.selectees.each(function(){var e=w.data(this,"selectable-item"),t=!1;e&&e.element!==n.element[0]&&("touch"===s.tolerance?t=!(e.left>a||o>e.right||e.top>l||r>e.bottom):"fit"===s.tolerance&&(t=e.left>o&&a>e.right&&e.top>r&&l>e.bottom),t?(e.selected&&(e.$element.removeClass("ui-selected"),e.selected=!1),e.unselecting&&(e.$element.removeClass("ui-unselecting"),e.unselecting=!1),e.selecting||(e.$element.addClass("ui-selecting"),e.selecting=!0,n._trigger("selecting",i,{selecting:e.element}))):(e.selecting&&((i.metaKey||i.ctrlKey)&&e.startselected?(e.$element.removeClass("ui-selecting"),e.selecting=!1,e.$element.addClass("ui-selected"),e.selected=!0):(e.$element.removeClass("ui-selecting"),e.selecting=!1,e.startselected&&(e.$element.addClass("ui-unselecting"),e.unselecting=!0),n._trigger("unselecting",i,{unselecting:e.element}))),!e.selected||i.metaKey||i.ctrlKey||e.startselected||(e.$element.removeClass("ui-selected"),e.selected=!1,e.$element.addClass("ui-unselecting"),e.unselecting=!0,n._trigger("unselecting",i,{unselecting:e.element}))))}),!1},_mouseStop:function(t){var i=this;return this.dragged=!1,w(".ui-unselecting",this.element[0]).each(function(){var e=w.data(this,"selectable-item");e.$element.removeClass("ui-unselecting"),e.unselecting=!1,e.startselected=!1,i._trigger("unselected",t,{unselected:e.element})}),w(".ui-selecting",this.element[0]).each(function(){var e=w.data(this,"selectable-item");e.$element.removeClass("ui-selecting").addClass("ui-selected"),e.selecting=!1,e.selected=!0,e.startselected=!0,i._trigger("selected",t,{selected:e.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),w.widget("ui.selectmenu",{version:"1.11.2",defaultElement:"<select>",options:{appendTo:null,disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:null,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this.options.disabled&&this.disable()},_drawButton:function(){var e=this,t=this.element.attr("tabindex");this.label=w("label[for='"+this.ids.element+"']").attr("for",this.ids.button),this._on(this.label,{click:function(e){this.button.focus(),e.preventDefault()}}),this.element.hide(),this.button=w("<span>",{class:"ui-selectmenu-button ui-widget ui-state-default ui-corner-all",tabindex:t||this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true"}).insertAfter(this.element),w("<span>",{class:"ui-icon "+this.options.icons.button}).prependTo(this.button),this.buttonText=w("<span>",{class:"ui-selectmenu-text"}).appendTo(this.button),this._setText(this.buttonText,this.element.find("option:selected").text()),this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){e.menuItems||e._refreshMenu()}),this._hoverable(this.button),this._focusable(this.button)},_drawMenu:function(){var i=this;this.menu=w("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=w("<div>",{class:"ui-selectmenu-menu ui-front"}).append(this.menu).appendTo(this._appendTo()),this.menuInstance=this.menu.menu({role:"listbox",select:function(e,t){e.preventDefault(),i._setSelection(),i._select(t.item.data("ui-selectmenu-item"),e)},focus:function(e,t){t=t.item.data("ui-selectmenu-item");null!=i.focusIndex&&t.index!==i.focusIndex&&(i._trigger("focus",e,{item:t}),i.isOpen||i._select(t,e)),i.focusIndex=t.index,i.button.attr("aria-activedescendant",i.menuItems.eq(t.index).attr("id"))}}).menu("instance"),this.menu.addClass("ui-corner-bottom").removeClass("ui-corner-all"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this._setText(this.buttonText,this._getSelectedItem().text()),this.options.width||this._resizeButton()},_refreshMenu:function(){this.menu.empty();var e=this.element.find("option");e.length&&(this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup"),e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){this.options.disabled||(this.menuItems?(this.menu.find(".ui-state-focus").removeClass("ui-state-focus"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e))},_position:function(){this.menuWrap.position(w.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderMenu:function(i,e){var n=this,s="";w.each(e,function(e,t){t.optgroup!==s&&(w("<li>",{class:"ui-selectmenu-optgroup ui-menu-divider"+(t.element.parent("optgroup").prop("disabled")?" ui-state-disabled":""),text:t.optgroup}
1).appendTo(i),s=t.optgroup),n._renderItemData(i,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(e,t){var i=w("<li>");return t.disabled&&i.addClass("ui-state-disabled"),this._setText(i,t.label),i.appendTo(e)},_setText:function(e,t){t?e.text(t):e.html("&#160;")},_move:function(e,t){var i,n=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex):(i=this.menuItems.eq(this.element[0].selectedIndex),n+=":not(.ui-state-disabled)"),(i="first"===e||"last"===e?i["first"===e?"prevAll":"nextAll"](n).eq(-1):i[e+"All"](n).eq(0)).length&&this.menuInstance.focus(t,i)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex)},_toggle:function(e){this[this.isOpen?"close":"open"](e)},_setSelection:function(){var e;this.range&&(window.getSelection?((e=window.getSelection()).removeAllRanges(),e.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(e){!this.isOpen||w(e.target).closest(".ui-selectmenu-menu, #"+this.ids.button).length||this.close(e)}},_buttonEvents:{mousedown:function(){var e;window.getSelection?(e=window.getSelection()).rangeCount&&(this.range=e.getRangeAt(0)):this.range=document.selection.createRange()},click:function(e){this._setSelection(),this._toggle(e)},keydown:function(e){var t=!0;switch(e.keyCode){case w.ui.keyCode.TAB:case w.ui.keyCode.ESCAPE:this.close(e),t=!1;break;case w.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case w.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case w.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case w.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case w.ui.keyCode.LEFT:this._move("prev",e);break;case w.ui.keyCode.RIGHT:this._move("next",e);break;case w.ui.keyCode.HOME:case w.ui.keyCode.PAGE_UP:this._move("first",e);break;case w.ui.keyCode.END:case w.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),t=!1}t&&e.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex);t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this._setText(this.buttonText,e.label),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==i&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){e=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(e,t){"icons"===e&&this.button.find("span.ui-icon").removeClass(this.options.icons.button).addClass(t.button),this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"disabled"===e&&(this.menuInstance.option("disabled",t),this.button.toggleClass("ui-state-disabled",t).attr("aria-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)),"width"===e&&this._resizeButton()},_appendTo:function(){var e=this.options.appendTo;return e=(e=(e=e&&(e.jquery||e.nodeType?w(e):this.document.find(e).eq(0)))&&e[0]?e:this.element.closest(".ui-front")).length?e:this.document[0].body},_toggleAttr:function(){this.button.toggleClass("ui-corner-top",this.isOpen).toggleClass("ui-corner-all",!this.isOpen).attr("aria-expanded",this.isOpen),this.menuWrap.toggleClass("ui-selectmenu-open",this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var e=this.options.width;e||(e=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(e)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){return{disabled:this.element.prop("disabled")}},_parseOptions:function(e){var n=[];e.each(function(e,t){var t=w(t),i=t.parent("optgroup");n.push({element:t,index:e,value:t.attr("value"),label:t.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||t.prop("disabled")})}),this.items=n},_destroy:function(){this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.label.attr("for",this.ids.element)}}),w.widget("ui.slider",w.ui.mouse,{version:"1.11.2",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null}
1,numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,t=this.options,i=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),n=[],s=t.values&&t.values.length||1;for(i.length>s&&(i.slice(s).remove(),i=i.slice(0,s)),e=i.length;e<s;e++)n.push("<span class='ui-slider-handle ui-state-default ui-corner-all' tabindex='0'></span>");this.handles=i.add(w(n.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){w(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,t="";e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:w.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=w("<div></div>").appendTo(this.element),t="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(t+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,n,s,o,t,r,a=this,l=this.options;return!l.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(i-a.values(e));(t<n||n===t&&(e===a._lastChangedValue||a.values(e)===l.min))&&(n=t,s=w(this),o=e)}),!1!==this._start(e,o))&&(this._mouseSliding=!0,this._handleIndex=o,s.addClass("ui-state-active").focus(),t=s.offset(),r=!w(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=r?{left:0,top:0}:{left:e.pageX-t.left-s.width()/2,top:e.pageY-t.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,o,i),this._animateOff=!0)},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},t=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,t),!1},_mouseStop:function(e){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,e="horizontal"===this.orientation?(t=this.elementSize.width,e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),e=e/t;return(e=1<e?1:e)<0&&(e=0),"vertical"===this.orientation&&(e=1-e),t=this._valueMax()-this._valueMin(),e=this._valueMin()+e*t,this._trimAlignValue(e)},_start:function(e,t){var i={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("start",e,i)},_slide:function(e,t,i){var n,s;this.options.values&&this.options.values.length?(n=this.values(t?0:1),(i=2===this.options.values.length&&!0===this.options.range&&(0===t&&n<i||1===t&&i<n)?n:i)!==this.values(t)&&((n=this.values())[t]=i,s=this._trigger("slide",e,{handle:this.handles[t],value:i,values:n}),this.values(t?0:1),!1!==s)&&this.values(t,i)):i!==this.value()&&!1!==(s=this._trigger("slide",e,{handle:this.handles[t],value:i}))&&this.value(i)},_stop:function(e,t){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("stop",e,i)},_change:function(e,t){var i;this._keySliding||this._mouseSliding||(i={handle:this.handles[t],value:this.value()},this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._lastChangedValue=t,this._trigger("change",e,i))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value(
1)},values:function(e,t){var i,n,s;if(1<arguments.length)this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),this._change(null,e);else{if(!arguments.length)return this._values();if(!w.isArray(e))return this.options.values&&this.options.values.length?this._values(e):this.value();for(i=this.options.values,n=e,s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(n[s]),this._change(null,s);this._refreshValue()}},_setOption:function(e,t){var i,n=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),w.isArray(this.options.values)&&(n=this.options.values.length),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t),this._super(e,t),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue(),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=0;i<n;i+=1)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var e=this.options.value;return this._trimAlignValue(e)},_values:function(e){var t,i,n;if(arguments.length)return t=this.options.values[e],this._trimAlignValue(t);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),n=0;i.length>n;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(e){var t,i;return this._valueMin()>=e?this._valueMin():e>=this._valueMax()?this._valueMax():(t=0<this.options.step?this.options.step:1,i=e-(e=(e-this._valueMin())%t),2*Math.abs(e)>=t&&(i+=0<e?t:-t),parseFloat(i.toFixed(5)))},_calculateNewMax:function(){var e=(this.options.max-this._valueMin())%this.options.step;this.max=this.options.max-e},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshValue:function(){var t,i,e,n,s,o=this.options.range,r=this.options,a=this,l=!this._animateOff&&r.animate,h={};this.options.values&&this.options.values.length?this.handles.each(function(e){i=(a.values(e)-a._valueMin())/(a._valueMax()-a._valueMin())*100,h["horizontal"===a.orientation?"left":"bottom"]=i+"%",w(this).stop(1,1)[l?"animate":"css"](h,r.animate),!0===a.options.range&&("horizontal"===a.orientation?(0===e&&a.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===e&&a.range[l?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:r.animate})):(0===e&&a.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===e&&a.range[l?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:r.animate}))),t=i}):(e=this.value(),n=this._valueMin(),s=this._valueMax(),i=s!==n?(e-n)/(s-n)*100:0,h["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](h,r.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===o&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===o&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(e){var t,i,n,s=w(e.target).data("ui-slider-handle-index");switch(e.keyCode){case w.ui.keyCode.HOME:case w.ui.keyCode.END:case w.ui.keyCode.PAGE_UP:case w.ui.keyCode.PAGE_DOWN:case w.ui.keyCode.UP:case w.ui.keyCode.RIGHT:case w.ui.keyCode.DOWN:case w.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,w(e.target).addClass("ui-state-active"),!1===this._start(e,s)))return}switch(n=this.options.step,t=i=this.options.values&&this.options.values.length?this.values(s):this.value(),e.keyCode){case w.ui.keyCode.HOME:i=this._valueMin();break;case w.ui.keyCode.END:i=this._valueMax();break;case w.ui.keyCode.PAGE_UP:i=this._trimAlignValue(t+(this._valueMax()-this._valueMin())/this.numPages);break;case w.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(t-(this._valueMax()-this._valueMin())/this.numPages);break;case w.ui.keyCode.UP:case w.ui.keyCode.RIGHT:if(t===this._valueMax())return;i=this._trimAlignValue(t+n);break;case w.ui.keyCode.DOWN:case w.ui.keyCode.LEFT:if(t===this._valueMin())return;i=this._trimAlignValue(t-n)}this._slide(e,s,i)},keyup:function(e){var t=w(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,t),this._change(e,t),w(e.target).removeClass("ui-state-active"))}}}),w.widget("ui.sortable",w.ui.mouse,{version:"1.11.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,i){return t<=e&&e<t+i},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){var e=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=!!this.items.length&&("x"===e.axis||this._isFloating(this.items[0].item)),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){this.element.find(".ui-sortable-handle").removeClass("ui-sortable-handle"),w.each(this.items,function(){(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item).addClass("ui-sortable-handle")}
vendor: 8,938 bytes, line 1
1)},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").find(".ui-sortable-handle").removeClass("ui-sortable-handle"),this._mouseDestroy();for(var e=this.items.length-1;0<=e;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,t){var i=null,n=!1,s=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(e),w(e.target).parents().each(function(){return w.data(this,s.widgetName+"-item")===s?(i=w(this),!1):void 0}),!(i=w.data(e.target,s.widgetName+"-item")===s?w(e.target):i))||(this.options.handle&&!t&&(w(this.options.handle,i).find("*").addBack().each(function(){this===e.target&&(n=!0)}),!n)||(this.currentItem=i,this._removeCurrentsFromItems(),0)))},_mouseStart:function(e,t,i){var n,s,o=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},w.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(s=this.document.find("body"),this.storedCursor=s.css("cursor"),s.css("cursor",o.cursor),this.storedStylesheet=w("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(s)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(n=this.containers.length-1;0<=n;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return w.ui.ddmanager&&(w.ui.ddmanager.current=this),w.ui.ddmanager&&!o.dropBehaviour&&w.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var t,i,n,s,o=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+o.scrollSpeed:e.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+o.scrollSpeed:e.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(e.pageY-w(document).scrollTop()<o.scrollSensitivity?r=w(document).scrollTop(w(document).scrollTop()-o.scrollSpeed):w(window).height()-(e.pageY-w(document).scrollTop())<o.scrollSensitivity&&(r=w(document).scrollTop(w(document).scrollTop()+o.scrollSpeed)),e.pageX-w(document).scrollLeft()<o.scrollSensitivity?r=w(document).scrollLeft(w(document).scrollLeft()-o.scrollSpeed):w(window).width()-(e.pageX-w(document).scrollLeft())<o.scrollSensitivity&&(r=w(document).scrollLeft(w(document).scrollLeft()+o.scrollSpeed))),!1!==r)&&w.ui.ddmanager&&!o.dropBehaviour&&w.ui.ddmanager.prepareOffsets(this,e),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t=this.items.length-1;0<=t;t--)if(n=(i=this.items[t]).item[0],(s=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===s?"next":"prev"]()[0]!==n&&!w.contains(this.placeholder[0],n)&&("semi-dynamic"!==this.options.type||!w.contains(this.element[0],n))){if(this.direction=1===s?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(e,i),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),w.ui.ddmanager&&w.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,t){var i,n,s,o;if(e)return w.ui.ddmanager&&!this.options.dropBehaviour&&w.ui.ddmanager.drop(this,e),this.options.revert?(n=(i=this).placeholder.offset(),o={},(s=this.options.axis)&&"x"!==s||(o.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),s&&"y"!==s||(o.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,w(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){i._clear(e)})):this._clear(e,t),!1},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var e=this.containers.length-1;0<=e;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),w.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?w(this.domPosition.prev).after(this.currentItem):w(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},w(e).each(function(){var e=(w(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);e&&i.push((t.key||e[1]+"[]")+"="+(t.key&&t.expression?e[1]:e[2]))}),!i.length&&t.key&&i.push(t.key+"="),i.join("&")},toArray:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},t.each(function(){i.push(w(e.item||this).attr(e.attribute||"id")||"")}),i},_intersectsWith:function(e){var t=this.positionAbs.left,i=t+this.helperProportions.width,n=this.positionAbs.top,s=n+this.helperProportions.height,o=e.left,r=o+e.width,a=e.top,l=a+e.height,h=this.offset.click.top,u=this.offset.click.left,h="x"===this.options.axis||a<n+h&&n+h<l,u="y"===this.options.axis||o<t+u&&t+u<r;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?h&&u:t+this.helperProportions.width/2>o&&r>i-this.helperProportions.width/2&&n+this.helperProportions.height/2>a&&l>s-this.helperProportions.height/2},_intersectsWithPointer:function(e){var t="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),e="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width),t=t&&e,e=this._getDragVerticalDirection(),i=this._getDragHorizontalDirection();return!!t&&(this.floating?i&&"right"===i||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),e=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),i=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection();return this.floating&&n?"right"===n&&e||"left"===n&&!e:i&&("down"===i&&t||"up"===i&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!=e&&(0<e?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!=e&&(0<e?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;
1return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(e){function t(){r.push(this)}var i,n,s,o,r=[],a=[],l=this._connectWith();if(l&&e)for(i=l.length-1;0<=i;i--)for(n=(s=w(l[i])).length-1;0<=n;n--)(o=w.data(s[n],this.widgetFullName))&&o!==this&&!o.options.disabled&&a.push([w.isFunction(o.options.items)?o.options.items.call(o.element):w(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(a.push([w.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):w(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=a.length-1;0<=i;i--)a[i][0].each(t);return w(r)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=w.grep(this.items,function(e){for(var t=0;i.length>t;t++)if(i[t]===e.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var t,i,n,s,o,r,a,l,h=this.items,u=[[w.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):w(this.options.items,this.element),this]],c=this._connectWith();if(c&&this.ready)for(t=c.length-1;0<=t;t--)for(i=(n=w(c[t])).length-1;0<=i;i--)(s=w.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&(u.push([w.isFunction(s.options.items)?s.options.items.call(s.element[0],e,{item:this.currentItem}):w(s.options.items,s.element),s]),this.containers.push(s));for(t=u.length-1;0<=t;t--)for(o=u[t][1],l=(r=u[t][i=0]).length;i<l;i++)(a=w(r[i])).data(this.widgetName+"-item",o),h.push({item:a,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var t,i,n,s;for(this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),t=this.items.length-1;0<=t;t--)(i=this.items[t]).instance!==this.currentContainer&&this.currentContainer&&i.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?w(this.options.toleranceElement,i.item):i.item,e||(i.width=n.outerWidth(),i.height=n.outerHeight()),s=n.offset(),i.left=s.left,i.top=s.top);
1if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)s=this.containers[t].element.offset(),this.containers[t].containerCache.left=s.left,this.containers[t].containerCache.top=s.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(i){var n,s=(i=i||this).options;s.placeholder&&s.placeholder.constructor!==String||(n=s.placeholder,s.placeholder={element:function(){var e=i.currentItem[0].nodeName.toLowerCase(),t=w("<"+e+">",i.document[0]).addClass(n||i.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===e?i.currentItem.children().each(function(){w("<td>&#160;</td>",i.document[0]).attr("colspan",w(this).attr("colspan")||1).appendTo(t)}):"img"===e&&t.attr("src",i.currentItem.attr("src")),n||t.css("visibility","hidden"),t},update:function(e,t){n&&!s.forcePlaceholderSize||(t.height()||t.height(i.currentItem.innerHe
vendor: 11,363 bytes, line 1
1ight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),t.width())||t.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10))}}),i.placeholder=w(s.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),s.placeholder.update(i,i.placeholder)},_contactContainers:function(e){for(var t,i,n,s,o,r,a,l,h,u=null,c=null,d=this.containers.length-1;0<=d;d--)if(!w.contains(this.currentItem[0],this.containers[d].element[0]))if(this._intersectsWith(this.containers[d].containerCache)){if(u&&w.contains(this.containers[d].element[0],u.element[0]))continue;u=this.containers[d],c=d}else this.containers[d].containerCache.over&&(this.containers[d]._trigger("out",e,this._uiHash(this)),this.containers[d].containerCache.over=0);if(u)if(1===this.containers.length)this.containers[c].containerCache.over||(this.containers[c]._trigger("over",e,this._uiHash(this)),this.containers[c].containerCache.over=1);else{for(i=1e4,n=null,s=(l=u.floating||this._isFloating(this.currentItem))?"left":"top",o=l?"width":"height",h=l?"clientX":"clientY",t=this.items.length-1;0<=t;t--)w.contains(this.containers[c].element[0],this.items[t].item[0])&&this.items[t].item[0]!==this.currentItem[0]&&(r=this.items[t].item.offset()[s],a=!1,e[h]-r>this.items[t][o]/2&&(a=!0),i>Math.abs(e[h]-r))&&(i=Math.abs(e[h]-r),n=this.items[t],this.direction=a?"up":"down");(n||this.options.dropOnEmpty)&&(this.currentContainer===this.containers[c]?this.currentContainer.containerCache.over||(this.containers[c]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1):(n?this._rearrange(e,n,null,!0):this._rearrange(e,null,this.containers[c].element,!0),this._trigger("change",e,this._uiHash()),this.containers[c]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[c],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[c]._trigger("over",e,this._uiHash(this)),this.containers[c].containerCache.over=1))}},_createHelper:function(e){var t=this.options,e=w.isFunction(t.helper)?w(t.helper.apply(this.element[0],[e,this.currentItem])):"clone"===t.helper?this.currentItem.clone():this.currentItem;return e.parents("body").length||w("parent"!==t.appendTo?t.appendTo:this.currentItem[0].parentNode)[0].appendChild(e[0]),e[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),e[0].style.width&&!t.forceHelperSize||e.width(this.currentItem.width()),e[0].style.height&&!t.forceHelperSize||e.height(this.currentItem.height()),e},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),"left"in(e=w.isArray(e)?{left:+e[0],top:+e[1]||0}:e)&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&w.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),{top:(e=this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&w.ui.ie?{top:0,left:0}:e).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var e;return"relative"===this.cssPosition?{top:(e=this.currentItem.position()).top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}:{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode),"document"!==i.containment&&"window"!==i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,w("document"===i.containment?document:window).width()-this.helperProportions.width-this.margins.left,(w("document"===i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(e=w(i.containment)[0],i=w(i.containment).offset(),t="hidden"!==w(e).css("overflow"),this.containment=[i.left+(parseInt(w(e).css("borderLeftWidth"),10)||0)+(parseInt(w(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(w(e).css("borderTopWidth"),10)||0)+(parseInt(w(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(t?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(w(e).css("borderLeftWidth"),10)||0)-(parseInt(w(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(t?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(w(e).css("borderTopWidth"),10)||0)-(parseInt(w(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,t){t=t||this.position;var e="absolute"===e?1:-1,i="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&w.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,n=/(html|body)/i.test(i[0].tagName);return{top:t.top+this.offset.relative.top*e+this.offset.parent.top*e-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():n?0:i.scrollTop())*e,left:t.left+this.offset.relative.left*e+this.offset.parent.left*e-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():n?0:i.scrollLeft())*e}},_generatePosition:function(e){var t=this.options,i=e.pageX,n=e.pageY,s="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&w.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(n=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3])&&(n=this.containment[3]+this.offset.click.top),t.grid)&&(e=this.originalPageY+Math.round((n-this.originalPageY)/t.grid[1])*t.grid[1],n=!this.containment||e-this.offset.click.top>=this.containment[1]&&e-this.offset.click.top<=this.containment[3]?e:e-this.offset.click.top>=this.containment[1]?e-t.grid[1]:e+t.grid[1],e=this.originalPageX+Math.round((i-this.originalPageX)/t.grid[0])*t.grid[0],i=!this.containment||e-this.offset.click.left>=this.containment[0]&&e-this.offset.click.left<=this.containment[2]?e:e-this.offset.click.left>=this.containment[0]?e-t.grid[0]:e+t.grid[0]),{top:n-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:s.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())}},_rearrange:function(e,t,i,n){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay(function(){s===this.counter&&this.refreshPositions(!n)})},_clear:function(e,t){function i(t,i,n){return function(e){n._trigger(t,e,i._uiHash(i))}}this.reverting=!1;var n,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)"auto"!==this._storedCSS[n]&&"static"!==this._storedCSS[n]||(this._storedCSS[n]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!t&&s.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||s.push(function(e){this._trigger("update",e,this._uiHash())}),this===this.currentContainer||t||(s.push(function(e){this._trigger("remove",e,this._uiHash())}),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer))),n=this.containers.length-1;0<=n;n--)t||s.push(i("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(s.push(i("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(n=0;n<s.length;n++)s[n].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===w.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var t=e||this;return{helper:t.helper,placeholder:t.placeholder||w([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:e?e.element:null}}}),w.widget("ui.spinner",{version:"1.11.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var n={},s=this.element;return w.each(["min","max","step"],function(e,t){var i=s.attr(t);void 0!==i&&i.length&&(n[t]=i)}),n}
1,_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){return this.cancelBlur?void delete this.cancelBlur:(this._stop(),this._refresh(),void(this.previous!==this.element.val()&&this._trigger("change",e)))},mousewheel:function(e,t){if(t){if(!this.spinning&&!this._start(e))return!1;this._spin((0<t?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()}},"mousedown .ui-spinner-button":function(e){function t(){this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=i,this._delay(function(){this.previous=i}))}var i=this.element[0]===this.document[0].activeElement?this.previous:this.element.val();e.preventDefault(),t.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,t.call(this)}),!1!==this._start(e)&&this._repeat(null,w(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return w(e.currentTarget).hasClass("ui-state-active")?!1!==this._start(e)&&void this._repeat(null,w(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e):void 0},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var e=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=e.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*e.height())&&0<e.height()&&e.height(e.height()),this.options.disabled&&this.disable()},_keydown:function(e){var t=this.options,i=w.ui.keyCode;switch(e.keyCode){case i.UP:return this._repeat(null,1,e),!0;case i.DOWN:return this._repeat(null,-1,e),!0;case i.PAGE_UP:return this._repeat(null,t.page,e),!0;case i.PAGE_DOWN:return this._repeat(null,-t.page,e),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>&#9650;</span></a><a class='ui-spinner-button ui-spinner-down ui-corner-br'><span class='ui-icon "+this.options.icons.down+"'>&#9660;</span></a>"},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e)||(this.counter||(this.counter=1),this.spinning=!0,0))},_repeat:function(e,t,i){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,i)},e),this._spin(t*this.options.step,i)},_spin:function(e,t){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:i})||(this._value(i),this.counter++)},_increment:function(e){var t=this.options.incremental;return t?w.isFunction(t)?t(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return e=null!==this.options.min?Math.max(e,this._precisionOf(this.options.min)):e},_precisionOf:function(e){var e=""+e,t=e.indexOf(".");return-1===t?0:e.length-t-1},_adjustValue:function(e){var t=this.options,i=null!==t.min?t.min:0,n=e-i;return e=i+Math.round(n/t.step)*t.step,e=parseFloat(e.toFixed(this._precision())),null!==t.max&&e>t.max?t.max:null!==t.min&&t.min>e?t.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){var i;"culture"===e||"numberFormat"===e?(i=this._parse(this.element.val()),this.options[e]=t,this.element.val(this._format(i))):("max"!==e&&"min"!==e&&"step"!==e||"string"!=typeof t||(t=this._parse(t)),"icons"===e&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(t.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(t.down)),this._super(e,t),"disabled"===e&&(this.widget().toggleClass("ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")))},_setOptions:t(function(e){this._super(e)}),_parse:function(e){return""===(e="string"==typeof e&&""!==e?window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e:e)||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var i;""!==e&&null!==(i=this._parse(e))&&(t||(i=this._adjustValue(i)),e=this._format(i)),this.element.val(e),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:t(function(e){this._stepUp(e)}
1),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:t(function(e){this._stepDown(e)}),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:t(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:t(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){return arguments.length?void t(this._value).call(this,e):this._parse(this.element.val())},widget:function(){return this.uiSpinner}}),w.widget("ui.tabs",{version:"1.11.2",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(b=/#.*$/,function(e){var t=(e=e.cloneNode(!1)).href.replace(b,""),i=location.href.replace(b,"");try{t=decodeURIComponent(t)}catch(e){}try{i=decodeURIComponent(i)}catch(e){}return 1<e.hash.length&&t===i}),_create:function(){var t=this,e=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",e.collapsible),this._processTabs(),e.active=this._initialActive(),w.isArray(e.disabled)&&(e.disabled=w.unique(e.disabled.concat(w.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),this.active=!1!==this.options.active&&this.anchors.length?this._findActive(e.active):w(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var i=this.options.active,e=this.options.collapsible,n=location.hash.substring(1);return!1!==(i=null===i&&(n&&this.tabs.each(function(e,t){return w(t).attr("aria-controls")===n?(i=e,!1):void 0}),null===(i=null===i?this.tabs.index(this.tabs.filter(".ui-tabs-active")):i)||-1===i)?!!this.tabs.length&&0:i)&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!e&&0),i=!e&&!1===i&&this.anchors.length?0:i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):w()}},_tabKeydown:function(e){var t=w(this.document[0].activeElement).closest("li"),i=this.tabs.index(t),n=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case w.ui.keyCode.RIGHT:case w.ui.keyCode.DOWN:i++;break;case w.ui.keyCode.UP:case w.ui.keyCode.LEFT:n=!1,i--;break;case w.ui.keyCode.END:i=this.anchors.length-1;break;case w.ui.keyCode.HOME:i=0;break;case w.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i);case w.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}e.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,n),e.ctrlKey||(t.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===w.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(e){return e.altKey&&e.keyCode===w.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===w.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){for(var i=this.tabs.length-1;-1!==w.inArray(e=(e=i<e?0:e)<0?i:e,this.options.disabled);)e=t?e+1:e-1;return e},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).focus(),e},_setOption:function(e,t){return"active"===e?void this._activate(t):"disabled"===e?void this._setupDisabled(t):(this._super(e,t),"collapsible"===e&&(this.element.toggleClass("ui-tabs-collapsible",t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),void("heightStyle"===e&&this._setupHeightStyle(t)))},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=w.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!w.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=w()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=w()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this,e=this.tabs,t=this.anchors,i=this.panels;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist").delegate("> li","mousedown"+this.eventNamespace,function(e){w(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){w(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return w("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=w(),this.anchors.each(function(e,t){var i,n,s,o=w(t).uniqueId().attr("id"),r=w(t).closest("li"),a=r.attr("aria-controls");l._isLocal(t)?(s=(i=t.hash).substring(1),n=l.element.find(l._sanitizeSelector(i))):(s=r.attr("aria-controls")||w({}).uniqueId()[0].id,(n=l.element.find(i="#"+s)).length||(n=l._createPanel(s)).insertAfter(l.panels[e-1]||l.tablist),n.attr("aria-live","polite")),n.length&&(l.panels=l.panels.add(n)),a&&r.data("ui-tabs-aria-controls",a),r.attr({"aria-controls":s,"aria-labelledby":o}),n.attr("aria-labelledby",o)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel"),e&&(this._off(e.not(this.tabs)
vendor: 4,888 bytes, line 1
1),this._off(t.not(this.anchors)),this._off(i.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol,ul").eq(0)},_createPanel:function(e){return w("<div>").attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(e){w.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var t,i=0;t=this.tabs[i];i++)!0===e||-1!==w.inArray(i,e)?w(t).addClass("ui-state-disabled").attr("aria-disabled","true"):w(t).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=e},_setupEvents:function(e){var i={};e&&w.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,t=this.element.parent();"fill"===e?(i=t.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=w(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=w(this).outerHeight(!0)}),this.panels.each(function(){w(this).height(Math.max(0,i-w(this).innerHeight()+w(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,w(this).height("").height())}).height(i))},_eventHandler:function(e){var t=this.options,i=this.active,n=w(e.currentTarget).closest("li"),s=n[0]===i[0],o=s&&t.collapsible,r=o?w():this._getPanelForTab(n),a=i.length?this._getPanelForTab(i):w(),i={oldTab:i,oldPanel:a,newTab:o?w():n,newPanel:r};e.preventDefault(),n.hasClass("ui-state-disabled")||n.hasClass("ui-tabs-loading")||this.running||s&&!t.collapsible||!1===this._trigger("beforeActivate",e,i)||(t.active=!o&&this.tabs.index(n),this.active=s?w():n,this.xhr&&this.xhr.abort(),a.length||r.length||w.error("jQuery UI Tabs: Mismatching fragment identifier."),r.length&&this.load(this.tabs.index(n),e),this._toggle(e,i))},_toggle:function(e,t){function i(){s.running=!1,s._trigger("activate",e,t)}function n(){t.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),o.length&&s.options.show?s._show(o,s.options.show,i):(o.show(),i())}var s=this,o=t.newPanel,r=t.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r.hide(),n()),r.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),o.length&&r.length?t.oldTab.attr("tabIndex",-1):o.length&&this.tabs.filter(function(){return 0===w(this).attr("tabIndex")}).attr("tabIndex",-1),o.attr("aria-hidden","false"),t.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var e=this._findActive(e);e[0]!==this.active[0]&&(e=(e=e.length?e:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:e,currentTarget:e,preventDefault:w.noop}))},_findActive:function(e){return!1===e?w():this.tabs.eq(e)},_getIndex:function(e){return e="string"==typeof e?this.anchors.index(this.anchors.filter("[href$='"+e+"']")):e},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tablist.unbind(this.eventNamespace),this.tabs.add(this.panels).each(function(){w.data(this,"ui-tabs-destroy")?w(this).remove():w(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var e=w(this),t=e.data("ui-tabs-aria-controls");t?e.attr("aria-controls",t).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var e=this.options.disabled;!1!==e&&(e=void 0!==i&&(i=this._getIndex(i),w.isArray(e)?w.map(e,function(e){return e!==i?e:null}):w.map(this.tabs,function(e,t){return t!==i?t:null})),this._setupDisabled(e))},disable:function(e){var t=this.options.disabled;if(!0!==t){if(void 0===e)t=!0;else{if(e=this._getIndex(e),-1!==w.inArray(e,t))return;
1t=w.isArray(t)?w.merge([e],t).sort():[e]}this._setupDisabled(t)}},load:function(e,t){e=this._getIndex(e);var i=this,n=this.tabs.eq(e),e=n.find(".ui-tabs-anchor"),s=this._getPanelForTab(n),o={tab:n,panel:s};this._isLocal(e[0])||(this.xhr=w.ajax(this._ajaxSettings(e,t,o)),this.xhr&&"canceled"!==this.xhr.statusText&&(n.addClass("ui-tabs-loading"),s.attr("aria-busy","true"),this.xhr.success(function(e){setTimeout(function(){s.html(e),i._trigger("load",t,o)},1)}).complete(function(e,t){setTimeout(function(){"abort"===t&&i.panels.stop(!1,!0),n.removeClass("ui-tabs-loading"),s.removeAttr("aria-busy"),e===i.xhr&&delete i.xhr},1)})))},_ajaxSettings:function(e,i,n){var s=this;return{url:e.attr("href"),beforeSend:function(e,t){return s._trigger("beforeLoad",i,w.extend({jqXHR:e,ajaxSettings:t},n))}}},_getPanelForTab:function(e){e=w(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+e))}}),w.widget("ui.tooltip",{version:"1.11.2",options:{content:function(){var e=w(this).attr("title")||"";return w("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_addDescribedBy:function(e,t){var i=(e.attr("aria-describedby")||"").split(/\s+/);i.push(t),e.data("ui-tooltip-id",t).attr("aria-describedby",w.trim(i.join(" ")))},_removeDescribedBy:function(e){var t=e.data("ui-tooltip-id"),i=(e.attr("aria-describedby")||"").split(/\s+/),t=w.inArray(t,i);-1!==t&&i.splice(t,1),e.removeData("ui-tooltip-id"),(i=w.trim(i.join(" ")))?e.attr("aria-describedby",i):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable(),this.liveRegion=w("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body)},_setOption:function(e,t){var i=this;return"disabled"===e?(this[t?"_disable":"_enable"](),void(this.options[e]=t)):(this._super(e,t),void("content"===e&&w.each(this.tooltips,function(e,t){i._updateContent(t.element)})))},_disable:function(){var n=this;w.each(this.tooltips,function(e,t){var i=w.Event("blur");i.target=i.currentTarget=t.element[0],n.close(i,!0)}),this.element.find(this.options.items).addBack().each(function(){var e=w(this);e.is("[title]")&&e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var e=w(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))})},open:function(e){var i=this,t=w(e?e.target:this.element).closest(this.options.items);t.length&&!t.data("ui-tooltip-id")&&(t.attr("title")&&t.data("ui-tooltip-title",t.attr("title")),t.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&t.parents().each(function(){var e,t=w(this);t.data("ui-tooltip-open")&&((e=w.Event("blur")).target=e.currentTarget=this,i.close(e,!0)),t.attr("title")&&(t.uniqueId(),i.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._updateContent(t,e))},_updateContent:function(t,i){var e=this.options.content,n=this,s=i?i.type:null;return"string"==typeof e?this._open(i,t,e):void((e=e.call(t[0],function(e){t.data("ui-tooltip-open")&&n._delay(function(){i&&(i.type=s),this._open(i,t,e)})}))&&this._open(i,t,e))},_open:function(e,t,i){function n(e){l.of=e,s.is(":hidden")||s.position(l)}var s,o,r,a,l=w.extend({},this.options.position);i&&((o=this._find(t))?o.tooltip.find(".ui-tooltip-content").html(i):(t.is("[title]")&&(e&&"mouseover"===e.type?t.attr("title",""):t.removeAttr("title")),o=this._tooltip(t),s=o.tooltip,this._addDescribedBy(t,s.attr("id")),s.find(".ui-tooltip-content").html(i),this.liveRegion.children().hide(),i.clone?(a=i.clone()).removeAttr("id").find("[id]").removeAttr("id"):a=i,w("<div>").html(a).appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:n}),n(e)):s.position(w.extend({of:t},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.show&&this.options.show.delay&&(r=this.delayedShow=setInterval(function(){s.is(":visible")&&(n(l.of),clearInterval(r))},w.fx.interval)),this._trigger("open",e,{tooltip:s}
1),o={keyup:function(e){e.keyCode===w.ui.keyCode.ESCAPE&&((e=w.Event(e)).currentTarget=t[0],this.close(e,!0))}},t[0]!==this.element[0]&&(o.remove=function(){this._removeTooltip(s)}),e&&"mouseover"!==e.type||(o.mouseleave="close"),e&&"focusin"!==e.type||(o.focusout="close"),this._on(!0,t,o)))},close:function(e){var t,i=this,n=w(e?e.currentTarget:this.element),s=this._find(n);s&&(t=s.tooltip,s.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),s.hiding=!0,t.stop(!0),this._hide(t,this.options.hide,function(){i._removeTooltip(w(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&w.each(this.parents,function(e,t){w(t.element).attr("title",t.title),delete i.parents[e]}),s.closing=!0,this._trigger("close",e,{tooltip:t}),s.hiding)||(s.closing=!1))},_tooltip:function(e){var t=w("<div>").attr("role","tooltip").addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||"")),i=t.uniqueId().attr("id");return w("<div>").addClass("ui-tooltip-content").appendTo(t),t.appendTo(this.document[0].body),this.tooltips[i]={element:e,tooltip:t}},_find:function(e){e=e.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_destroy:function(){var n=this;w.each(this.tooltips,function(e,t){var i=w.Event("blur"),t=t.element;i.target=i.currentTarget=t[0],n.close(i,!0),w("#"+e).remove(),t.data("ui-tooltip-title")&&(t.attr("title")||t.attr("title",t.data("ui-tooltip-title")),t.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}})}),!function(a,h,u){a.fn.sonar=function(e,t){return"boolean"==typeof e&&(t=e,e=void 0),a.sonar(this[0],e,t)};function r(){setTimeout(function(){var e,t,i,n,s,o,r;for(i in f)for(o=0,r=(t=f[i]).length;o<r;o++)e=(n=t[o]).elem,s=p(e,n.px,n.full),(i===d?!s:s)?n.tr||(e[i]?(a(e).trigger(i),n.tr=1):(t.splice(o,1),o--,r--)):n.tr=0},25)}function t(e,t){e[t]=0}function i(e,t){var i=t.px,n=t.full,s=t.evt,t=p(e,i,n),o=0;e[s]=1,(s===d?!t:t)&&(setTimeout(function(){a(e).trigger(s===d?d:l)},0),o=1),f[s].push({elem:e,px:i,full:n,tr:o}),m||(a(h).bind("scroll",r),m=1)}var c=u.body,l="scrollin",d="scrollout",p=function(e,t,i){if(e){var n=e,s=0,o=(c=c||u.body).offsetHeight,r=h.innerHeight||u.documentElement.clientHeight||c.clientHeight||0,a=u.documentElement.scrollTop||h.pageYOffset||c.scrollTop||0,l=e.offsetHeight||0;if(!e.sonarElemTop||e.sonarBodyHeight!==o){if(n.offsetParent)for(;s+=n.offsetTop,n=n.offsetParent;);e.sonarElemTop=s,e.sonarBodyHeight=o}return!(e.sonarElemTop+(i?0:l)<a-(t=void 0===t?0:t)||e.sonarElemTop+(i?l:0)>a+r+t)}},f={},m=0;a.sonar=p,f[l]=[],a.event.special[l]={add:function(e){e=e.data||{};this[l]||i(this,{px:e.distance,full:e.full,evt:l})},remove:function(e){t(this,l)}},f[d]=[],a.event.special[d]={add:function(e){e=e.data||{};this[d]||i(this,{px:e.distance,full:e.full,evt:d})},remove:function(e){t(this,d)}}}(jQuery,window,document),!function(jQuery){var ValidationErrors=new Array;jQuery.fn.validate=function(options){options=jQuery.extend({expression:"return true;",message:"",messageType:"loud",error_class:"ValidationErrors",error_field_class:"ErrorField",live:!0},options);var SelfID=jQuery(this).attr("id"),unix_time=new Date,unix_time=parseInt(unix_time.getTime()/1e3),FormID=(jQuery(this).parents("form:first").attr("id")||jQuery(this).parents("form:first").attr("id","Form_"+unix_time),jQuery(this).parents("form:first").attr("id")),form=jQuery("#"+FormID);function validate_field(id){var self=jQuery(id).attr("id"),expression="function Validate(){"+options.expression.replace(/VAL/g,"jQuery('#"+self+"').val()")+"} Validate()",validation_state=eval(expression),form=jQuery(id).parents("form"),triggerObj={elem:jQuery(id)};if(validation_state){for(var i=0;i<ValidationErrors[FormID].length;i++)ValidationErrors[FormID][i]==id&&ValidationErrors[FormID].splice(i,1);return 1}0==jQuery(id).next("."+options.error_class).length&&("loud"===options.messageType?jQuery(id).after('<span class="'+options.error_class+'">'+options.message+"</span>"):"silent"===options.messageType&&(triggerObj.message=options.message),jQuery(id).addClass(options.error_field_class),form.trigger("validationError",triggerObj)),-1==ValidationErrors[FormID].join("|").search(id)&&ValidationErrors[FormID].push(id)}"object"==typeof ValidationErrors[FormID]&&ValidationErrors[FormID]instanceof Array||(ValidationErrors[FormID]=new Array),options.live&&(0<jQuery(this).find("input").length?(jQuery(this).find("input").bind("blur",function(){validate_field("#"+SelfID,options)?options.callback_success&&options.callback_success(this):options.callback_failure&&options.callback_failure(this)}),jQuery(this).find("input").bind("focus keypress click",function(){jQuery("#"+SelfID).next("."+options.error_class).remove(),jQuery("#"+SelfID).removeClass(options.error_field_class),form.trigger("validationSafe",{elem:jQuery("#"+SelfID)})})):(jQuery(this).bind("blur",function(){validate_field(this)}),jQuery(this).bind("focus keypress",function(){jQuery(this).next("."+options.error_class).fadeOut("fast",function(){jQuery(this).remove()}),jQuery(this).removeClass(options.error_field_class),form.trigger("validationSafe",{elem:jQuery(this)})}))),jQuery(this).parents("form").submit(function(){return!!validate_field("#"+SelfID)})},jQuery.fn.validated=function(e){jQuery(this).each(function(){"FORM"==this.tagName&&jQuery(this).submit(function(){return 0==ValidationErrors[jQuery(this).attr("id")].length&&e(),!1})})}}(jQuery),!function(jQuery){var ValidationErrors=new Array;jQuery.fn.validate=function(options){options=jQuery.extend({expression:"return true;",message:"",messageType:"loud",error_class:"ValidationErrors",error_field_class:"ErrorField",live:!0},options);var SelfID=jQuery(this).attr("id"),unix_time=new Date,unix_time=parseInt(unix_time.getTime()/1e3),FormID=(jQuery(this).parents("form:first").attr("id")||jQuery(this).parents("form:first").attr("id","Form_"+unix_time),jQuery(this).parents("form:first").attr("id")),form=jQuery("#"+FormID);function validate_field(id){var self=jQuery(id).attr("id"),expression="function Validate(){"+options.expression.replace(/VAL/g,"jQuery('#"+self+"').val()")+"} Validate()",validation_state=eval(expression),form=jQuery(id).parents("form"),triggerObj={elem:jQuery(id)};if(validation_state){for(var i=0;i<ValidationErrors[FormID].length;i++)ValidationErrors[FormID][i]==id&&ValidationErrors[FormID].splice(i,1);return 1}0==jQuery(id).next("."+options.error_class).length&&("loud"===options.messageType?jQuery(id).after('<span class="'+options.error_class+'">'+options.message+"</span>"):"silent"===options.messageType&&(triggerObj.message=options.message),jQuery(id).addClass(options.error_field_class),form.trigger("validationError",triggerObj)),-1==ValidationErrors[FormID].join("|").search(id)&&ValidationErrors[FormID].push(id)}"object"==typeof ValidationErrors[FormID]&&ValidationErrors[FormID]instanceof Array||(ValidationErrors[FormID]=new Array),options.live&&(0<jQuery(this).find("input").length?(jQuery(this).find("input").bind("blur",function(){validate_field("#"+SelfID,options)?options.callback_success&&options.callback_success(this):options.callback_failure&&options.callback_failure(this)}),jQuery(this).find("input").bind("focus keypress click",function(){jQuery("#"+SelfID).next("."+options.error_class).remove(),jQuery("#"+SelfID).removeClass(options.error_field_class),form.trigger("validationSafe",{elem:jQuery("#"+SelfID)})})):(jQuery(this).bind("blur",function(){validate_field(this)}),jQuery(this).bind("focus keypress",function(){jQuery(this).next("."+options.error_class).fadeOut("fast",function(){jQuery(this).remove()}),jQuery(this).removeClass(options.error_field_class),form.trigger("validationSafe",{elem:jQuery(this)})}))),jQuery(this).parents("form").submit(function(){return!!validate_field("#"+SelfID)})},jQuery.fn.validated=function(e){jQuery(this).each(function(){"FORM"==this.tagName&&jQuery(this).submit(function(){return 0==ValidationErrors[jQuery(this).attr("id")].length&&e(),!1})})}}(jQuery),!function(d,u,p){function f(e,t){return typeof e===t}function m(e){return"function"!=typeof u.createElement?u.createElement(e):y?u.createElementNS.call(u,"http://www.w3.org/2000/svg",e):u.createElement.apply(u,arguments)}function g(e,t,i,n){var s,o,r,a,l="modernizr",h=m("div");(a=u.body)||((a=m(y?"svg":"body")).fake=!0);if(parseInt(i,10))for(;i--;)(o=m("div")).id=n?n[i]:l+(i+1),h.appendChild(o);return(s=m("style")).type="text/css",s.id="s"+l,(a.fake?a:h).appendChild(s),a.appendChild(h),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(u.createTextNode(e)),h.id=l,a.fake&&(a.style.background="",a.style.overflow="hidden",r=c.style.overflow,c.style.overflow="hidden",c.appendChild(a)),s=t(h,e),a.fake?(a.parentNode.removeChild(a),c.style.overflow=r,c.offsetHeight):h.parentNode.removeChild(h),!!s}function v(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function b(e,t,i,n){function s(){r&&(delete H.style,delete H.modElem)}if(n=void 0!==n&&n,void 0!==i){var o=function(e,t){var i=e.length;if("CSS"in d&&"supports"in d.CSS){for(;i--;)if(d.CSS.supports(v(e[i]),t))return!0;return!1}if("CSSSupportsRule"in d){for(var n=[];i--;)n.push("("+v(e[i])+":"+t+")");return g("@supports ("+(n=n.join(" or "))+") { #modernizr { position: absolute; } }",function(e){return"absolute"==getComputedStyle(e,null).position})}return p}(e,i);if(void 0!==o)return o}for(var r,a,l,h,u,c=["modernizr","tspan","samp"];!H.style&&c.length;)r=!0,H.modElem=m(c.shift()),H.style=H.modElem.style;for(l=e.length,a=0;a<l;a++)if(h=e[a],u=H.style[h],~(""+h).indexOf("-")&&(h=h.replace(/([a-z])-([a-z])/g,function(e,t,i){return t+i.toUpperCase()}).replace(/^-/,"")),H.style[h]!==p){if(n||void 0===i)return s(),"pfx"!=t||h;try{H.style[h]=i}catch(e){}if(H.style[h]!=u)return s(),"pfx"!=t||h}return s(),!1}function O(e,t,i,n,s){var o,r,a=e.charAt(0).toUpperCase()+e.slice(1),l=(e+" "+K.join(a+" ")+a).split(" ");if(f(t,"string")||void 0===t)return b(l,t,n,s);var h=(e+" "+V.join(a+" ")+a).split(" "),u=t,c=i;for(r in h)if(h[r]in u)if(!1===c)return h[r];else{o=u[h[r]];if(f(o,"function")){var d=o;var p=c||u;return function(){return d.apply(p,arguments)};return}else return o}return!1}function t(e,t,i){return O(e,p,p,t,i)}var j=[],n=[],e={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var i=this;setTimeout(function(){t(i[e])},0)},addTest:function(e,t,i){n.push({name:e,fn:t,options:i})},addAsyncTest:function(e){n.push({name:null,fn:e})}},i=function(){},W=(i.prototype=e,i=new i,e._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""]),c=(e._prefixes=W,u.documentElement),y="svg"===c.nodeName.toLowerCase();if(!y){var s,a=u;function F(){var e=C.elements;return"string"==typeof e?e.split(" "):e}function l(e){var t=Y[e[q]];return t||(t={},x++,e[q]=x,Y[x]=t),t}function L(e,t,i){return t=t||a,_?t.createElement(e):!(t=(i=i||l(t)).cache[e]?i.cache[e].cloneNode():B.test(e)?(i.cache[e]=i.createElem(e)).cloneNode():i.createElem(e)).canHaveChildren||R.test(e)||t.tagUrn?t:i.frag.appendChild(t)}function o(e){var t,i,n,s,o,r=l(e=e||a);return!C.shivCSS||h||r.hasCSS||(r.hasCSS=(s="article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{dis
1play:block}mark{background:#FF0;color:#000}template{display:none}",o=(n=e).createElement("p"),n=n.getElementsByTagName("head")[0]||n.documentElement,o.innerHTML="x<style>"+s+"</style>",!!n.insertBefore(o.lastChild,n.firstChild))),_||(t=e,(i=r).cache||(i.cache={},i.createElem=t.createElement,i.createFrag=t.createDocumentFragment,i.frag=i.createFrag()),t.createElement=function(e){return C.shivMethods?L(e,t,i):i.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+F().join().replace(/[\w\-:]+/g,function(e){return i.createElem(e),i.frag.createElement(e),'c("'+e+'")'})+");return n}")(C,i.frag)),e}var h,_,r=(s=void 0!==d?d:this).html5||{},R=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,B=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",x=0,Y={};try{var w=a.createElement("a");w.innerHTML="<xyz></xyz>",h="hidden"in w,_=1==w.childNodes.length||(a.createElement("a"),void 0===(P=a.createDocumentFragment()).cloneNode)||void 0===P.createDocumentFragment||void 0===P.createElement}catch(e){_=h=!0}var C={elements:r.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==r.shivCSS,supportsUnknownElements:_,shivMethods:!1!==r.shivMethods,type:"default",shivDocument:o,createElement:L,createDocumentFragment:function(e,t){if(e=e||a,_)return e.createDocumentFragment();for(var i=(t=t||l(e)).frag.cloneNode(),n=0,s=F(),o=s.length;n<o;n++)i.createElement(s[n]);return i},addElements:function(e,t){var i=C.elements;"string"!=typeof i&&(i=i.join(" ")),"string"!=typeof e&&(e=e.join(" ")),C.elements=i+" "+e,o(t)}};s.html5=C,o(a),"object"==typeof module&&module.exports&&(module.exports=C)}var $,k,D,T,E,S,I,N,U,Q,A,M,w="Moz O ms Webkit",V=e._config.usePrefixes?w.toLowerCase().split(" "):[],P=(e._domPrefixes=V,i.addTest("cssremunit",function(){var e=m("a").style;try{e.fontSize="3rem"}catch(e){}return/rem/.test(e.fontSize)}),i.addTest("rgba",function(){var e=m("a").style;return e.cssText="background-color:rgba(150,255,150,.5)",-1<(""+e.backgroundColor).indexOf("rgba")}),"CSS"in d&&"supports"in d.CSS),r="supportsCSS"in d,s=(i.addTest("supports",P||r),($=d.matchMedia||d.msMatchMedia)?function(e){e=$(e);return e&&e.matches||!1}:function(e){var t=!1;return g("@media "+e+" { #modernizr { position: absolute; } }",function(e){t="absolute"==(d.getComputedStyle?d.getComputedStyle(e,null):e.currentStyle).position}),t}),K=(e.mq=s,i.addTest("mediaqueries",s("only all")),e.testStyles=g,e._config.usePrefixes?w.split(" "):[]),X=(e._cssomPrefixes=K,{elem:m("modernizr")}),H=(i._q.push(function(){delete X.elem}),{style:X.elem.style});for(N in i._q.unshift(function(){delete H.style}),e.testProp=function(e,t,i){return b([e],p,t,i)},e.testAllProps=O,e.testAllProps=t,i.addTest("backgroundsize",t("backgroundSize","100%",!0)),i.addTest("cssfilters",function(){var e;return i.supports?t("filter","blur(2px)"):((e=m("a")).style.cssText=W.join("filter:blur(2px); "),!!e.style.length&&(u.documentMode===p||9<u.documentMode))}),i.addTest("flexbox",t("flexBasis","1px",!0)),i.addTest("flexboxlegacy",t("boxDirection","reverse",!0)),n)if(n.hasOwnProperty(N)){if(k=[],(D=n[N]).name&&(k.push(D.name.toLowerCase()),D.options)&&D.options.aliases&&D.options.aliases.length)for(T=0;T<D.options.aliases.length;T++)k.push(D.options.aliases[T].toLowerCase());for(E=f(D.fn,"function")?D.fn():D.fn,S=0;S<k.length;S++)1===(I=k[S].split(".")).length?i[I[0]]=E:(!i[I[0]]||i[I[0]]instanceof Boolean||(i[I[0]]=new Boolean(i[I[0]])),i[I[0]][I[1]]=E),j.push((E?"":"no-")+I.join("-"))}U=j,A=c.className,M=i._config.classPrefix||"",y&&(A=A.baseVal),i._config.enableJSClass&&(Q=new RegExp("(^|\\s)"+M+"no-js(\\s|$)"),A=A.replace(Q,"$1"+M+"js$2")),i._config.enableClasses&&(A+=" "+M+U.join(" "+M),y?c.className.baseVal=A:c.className=A),delete e.addTest,delete e.addAsyncTest;for(var z=0;z<i._q.length;z++)i._q[z]();d.Modernizr=i}(window,document),!function(e,t){"object"==typeof module&&"object"==typeof exports?module.exports=t:"function"==typeof define&&define.amd?define(t):(e.NW||(e.NW={}),e.NW.Dom=t(e))}(this,function(e){function O(e){return e.replace(ge,function(e,t,i){return i?"\\"+i:/^[0-9a-fA-F]/.test(t)?(i=parseInt(t,16))<1||1114111<i||55295<i&&i<57344?"\\ufffd":i<65536?"\\u"+(n="000"+i.toString(16)).substr(n.length-4):"\\u"+(55296+(i-65536>>10)).toString(16)+"\\u"+((i-65536)%1024+56320).toString(16):/^[\\\x22\x27]/.test(t)?e:t;var n})}
1function j(e){return e.replace(ge,function(e,t,i){return i||(/^[0-9a-fA-F]/.test(t)?(i=parseInt(t,16))<1||1114111<i||55295<i&&i<57344?"�":i<65536?String.fromCharCode(i):String.fromCodePoint?String.fromCodePoint(i):String.fromCharCode(55296+(i-65536>>10),(i-65536)%1024+56320):/^[\\\x22\x27]/.test(t)?e:t)})}function W(e,t){for(var i,n=-1;(i=t[++n])&&i.getAttribute("id")!=e;);return i||null}function F(e,t){return i('[name="'+e.replace(/\\([^\\]{1})/g,"$1")+'"]',t)}function L(){var e="",t=P.SELECTOR3?"-{2}|":"";P.NON_ASCII&&(e+="|"+ue),P.UNICODE16&&(e+="|"+de),P.ESCAPECHR&&(e+="|"+ce),e+=P.UNICODE16||P.ESCAPECHR?"":"|"+le,o=(s=_+"*("+(r="-?(?:"+t+he+e+")(?:-|[0-9]|"+he+e+")*")+":?"+r+")"+_+"*(?:"+se+_+"*"+(o="("+pe+"|"+r+")")+")?"+_+"*").replace(o,"([\\x22\\x27]*)((?:\\\\?.)*?)\\3"),n="(?=[\\x20\\t\\n\\r\\f]*[^>+~(){}<>])(\\*|(?:"+l+r+")|"+oe+"|\\["+s+"\\]|\\("+(V="((?:"+re+"|"+pe+"|"+l+r+"|\\["+s+"\\]|\\(.+\\)|"+_+"*|,)+)")+"\\)|\\{"+be+"\\}|(?:,|"+_+"*))+",X=RegExp("^((?!:not)("+l+r+"|\\([^()]*\\))+|\\["+s+"\\])$"),G=RegExp("("+l+r+"|\\["+s+"\\]|\\("+V+"\\)|\\\\.|[^\\x20\\t\\n\\r\\f>+~])+","g"),K=RegExp(r+"|^$"),Z=RegExp(De&&Te||Se?"^#?"+r+"$":De?"^[.#]?"+r+"$":Te?"^(?:\\*|#"+r+")$":"^(?:\\*|[.#]?"+r+")$"),J=RegExp("(?:\\[[\\x20\\t\\n\\r\\f]*class\\b|\\."+r+")"),f={ID:RegExp("^\\*?#("+r+")|"+ae),TAG:RegExp("^("+r+")|"+ae),CLASS:RegExp("^\\.("+r+"$)|"+ae)},x.id=RegExp("^#("+r+")(.*)"),x.tagName=RegExp("^("+r+")(.*)"),x.className=RegExp("^\\.("+r+")(.*)"),x.attribute=RegExp("^\\["+o+"\\](.*)"),ye.identifier=r,ye.attributes=s,Q=n.replace(V,".*"),p=RegExp(n)}function i(e,t,i){var n,s,o,r,a,l,h=e;if(0===arguments.length)return M("Not enough arguments"),[];if("string"!=typeof e)return[];if(t&&!/1|9|11/.test(t.nodeType))return M("Invalid or illegal context element"),[];if(c!==t&&S(t=t||v),P.CACHING&&(r=H.loadResults(h,t,v,b)))return i?Fe([],r,i):r;if(e=e.replace(me,"").replace(/\x00|\\$/g,"�"),!Ie&&Z.test(e))switch(e.charAt(0)){case"#":P.UNIQUE_ID&&(r=(o=I(e.slice(1),t))?[o]:[]);break;case".":r=A(e.slice(1),t);break;default:r=N(e,t)}else if(!g&&P.USE_QSAPI&&(!te||!J.test(e))&&!Ne.test(e))try{r=t.querySelectorAll(e)}catch(e){}if(r)r=i?Fe([],r,i):Ce?y.call(r):We([],r);else{if(P.SHORTCUTS&&(e=H.shortcuts(e,t)),s=Y!=e){if(!(a=e.match(p))||a[0]!=e)return M('The string "'+e+'", is not a valid CSS selector'),[];B=(a=e.match(fe)).length<2,Y=e,U=a}else a=U;if(11==t.nodeType)r=Le("*",t);else if(!g&&B){if(s&&(l=(a=e.match(G))[a.length-1],u=(u=l.split(":not"))[u.length-1],d=e.length-l.length),P.UNIQUE_ID&&(a=u.match(f.ID))&&(l=a[1])?(o=I(l,t))&&(r=Qe(o,e)?(i&&i(o),[o]):[]):P.UNIQUE_ID&&(a=e.match(f.ID))&&(l=a[1])&&((o=I(l,v))?"#"+l==e?(i&&i(o),r=[o]):t=/[>+~]/.test(e)?o.parentNode:o:r=[]),r)return P.CACHING&&H.saveResults(h,t,v,r),r;if(!we&&(a=u.match(f.TAG))&&(l=a[1])){if(0===(r=N(l,t)).length)return[];e=e.slice(0,d)+e.slice(d).replace(l,"*")}else if((a=u.match(f.CLASS))&&(l=a[1])){if(0===(r=A(l,t)).length)return[];e=e.slice(0,d)+e.slice(d).replace("."+l,K.test(e.charAt(e.indexOf(l)-1))?"":"*")}else if((a=e.match(f.CLASS))&&(l=a[1])){if(0===(r=A(l,t)).length)return[];for(n=0,els=[];r.length>n;++n)els=We(els,r[n].getElementsByTagName("*"));r=els,e=e.slice(0,d)+e.slice(d).replace("."+l,K.test(e.charAt(e.indexOf(l)-1))?"":"*")}else if(we&&(a=u.match(f.TAG))&&(l=a[1])){if(0===(r=N(l,t)).length)return[];e=e.slice(0,d)+e.slice(d).replace(l,"*")}}r=r||(Ae?/^(?:applet|object)$/i.test(t.nodeName)?t.children:Le("*",t):t.getElementsByTagName("*")),Ge[e]&&Xe[e]===t||(Ge[e]=Ye(B?[e]:a,"",!0),Xe[e]=t),r=Ge[e](r,Je,[],v,b,t,i,{})}return P.CACHING&&H.saveResults(h,t,v,r),r}function t(e){return e}var R,B,u,c,d,q,Y,$,U,n,Q,p,s,o,V,K,X,G,f,J,Z,r,ee,te,m,g,a,ie,ne,v=e.document,b=v.documentElement,y=[].slice,l="[#.:]?",se="([~*^$|!]?={1})",_="[\\x20\\t\\n\\r\\f]",oe="\\x20|[>+~](?=[^>+~])",re="(?:[-+]?\\d*n)?[-+]?\\d*",ae="\\[.*\\]|\\(.*\\)|\\{.*\\}",le="\\\\.",he="[_a-zA-Z]",ue="[^\\x00-\\x9f]",ce="\\\\[^\\n\\r\\f0-9a-fA-F]",de="\\\\[0-9a-fA-F]{1,6}(?:\\r\\n|"+_+")?",pe='"[^"\\\\]*(?:\\\\.[^"\\\\]*)*"'+"|'[^'\\\\]*(?:\\\\.[^'\\\\]*)*'",fe=/([^,\\()[\]]+|\[[^[\]]*\]|\[.*\]|\([^()]+\)|\(.*\)|\{[^{}]+\}|\{.*\}|\\.)+/g,me=RegExp("[\\n\\r\\f]|^"+_+"+|"+_+"+$","g"),ge=/\\([0-9a-fA-F]{1,6}[\x20\t\n\r\f]?|.)|([\x22\x27])/g,ve=/[\x20\t\n\r\f]+/g,be=".+",x={spseudos:/^\:(root|empty|(?:first|last|only)(?:-child|-of-type)|nth(?:-last)?(?:-child|-of-type)\
1(\s*(even|odd|(?:[-+]{0,1}\d*n\s*)?[-+]{0,1}\s*\d*)\s*\))?(.*)/i,dpseudos:/^\:(link|visited|target|active|focus|hover|checked|disabled|enabled|selected|lang\(([-\w]{2,})\)|not\(\s*(:nth(?:-last)?(?:-child|-of-type)\(\s*(?:even|odd|(?:[-+]{0,1}\d*n\s*)?[-+]{0,1}\s*\d*)\s*\)|[^()]*)\s*\))?(.*)/i,children:RegExp("^"+_+"*\\>"+_+"*(.*)"),adjacent:RegExp("^"+_+"*\\+"+_+"*(.*)"),relative:RegExp("^"+_+"*\\~"+_+"*(.*)"),ancestor:RegExp("^"+_+"+(.*)"),universal:RegExp("^\\*(.*)")},ye={prefixes:l,identifier:r,attributes:s},h=(ie=/ \w+\(/,ne=String({}.toString).replace(ie," ("),function(e){return e&&"string"!=typeof e&&ne==String(e).replace(ie," (")}),_e=h(v.hasFocus),xe=h(v.querySelector),w=h(v.getElementById),C=h(b.getElementsByTagName),we=h(b.getElementsByClassName),k=h(b.getAttribute),h=h(b.hasAttribute),Ce=function(){var e=!1;try{e=!!y.call(v.childNodes,0)[0]}catch(e){}return e}(),ke="nextElementSibling"in b&&"previousElementSibling"in b,D=!w||(w="x"+String(+new Date),D=v.createElementNS?"a":'<a name="'+w+'">',(D=v.createElement(D)).name=w,b.insertBefore(D,b.firstChild),w=!!v.getElementById(w),b.removeChild(D),w),De=!C||((w=v.createElement("div")).appendChild(v.createComment("")),!!w.getElementsByTagName("*")[0]),Te=!we||((C=v.createElement("div")).appendChild(v.createElement("span")).setAttribute("class","台北abc 台北"),C.appendChild(v.createElement("span")).setAttribute("class","x"),w=!C.getElementsByClassName("台北")[0],C.lastChild.className="台北",w)||2!=C.getElementsByClassName("台北").length,C=!k||((w=v.createElement("input")).setAttribute("value",5),5!=w.defaultValue),w=!h||((k=v.createElement("option")).setAttribute("selected","selected"),!k.hasAttribute("selected")),Ee=((h=v.createElement("select")).appendChild(v.createElement("option")),!h.firstChild.selected),Se=void 0!==e.opera&&/opera/i.test({}.toString.call(e.opera)),Ie=Se&&11<=parseFloat(e.opera.version()),Ne=!xe||(k=[],a=v.implementation&&v.implementation.createDocument?v.implementation.createDocument("","",null).appendChild(v.createElement("html")).appendChild(v.createElement("head")).parentNode.appendChild(v.createElement("body")):v.createElement("div"),(h=v.createElement("div")).innerHTML='<p id="a"></p><br>',z("p#a+*",h,0)&&k.push("\\w+#\\w+.*[+~]"),(h=v.createElement("p")).setAttribute("class",""),z('[class^=""]',h,1)&&k.push("[*^$]=[\\x20\\t\\n\\r\\f]*(?:\"\"|'')"),(h=v.createElement("option")).setAttribute("selected","selected"),z(":checked",h,0)&&k.push(":checked"),(h=v.createElement("input")).setAttribute("type","hidden"),z(":enabled",h,0)&&k.push(":enabled",":disabled"),(h=v.createElement("link")).setAttribute("href","x"),z(":link",h,1)||k.push(":link"),w&&k.push("\\[[\\x20\\t\\n\\r\\f]*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),k.length?RegExp(k.join("|")):{test:function(){return!1}}),Ae="function"!=typeof v.addEventListener,Me={a:1,A:1,area:1,AREA:1,link:1,LINK:1},Pe={checked:1,disabled:1,ismap:1,multiple:1,readonly:1,selected:1},He={value:"defaultValue",checked:"defaultChecked",selected:"defaultSelected"},ze={action:2,cite:2,codebase:2,data:2,href:2,longdesc:2,lowsrc:2,src:2,usemap:2},Oe={class:0,accept:1,"accept-charset":1,align:1,alink:1,axis:1,bgcolor:1,charset:1,checked:1,clear:1,codetype:1,color:1,compact:1,declare:1,defer:1,dir:1,direction:1,disabled:1,enctype:1,face:1,frame:1,hreflang:1,"http-equiv":1,lang:1,language:1,link:1,media:1,method:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,rel:1,rev:1,rules:1,scope:1,scrolling:1,selected:1,shape:1,target:1,text:1,type:1,valign:1,valuetype:1,vlink:1},je={accept:1,"accept-charset":1,alink:1,axis:1,bgcolor:1,charset:1,codetype:1,color:1,enctype:1,face:1,hreflang:1,"http-equiv":1,lang:1,language:1,link:1,media:1,rel:1,rev:1,target:1,text:1,type:1,vlink:1},T={},E={"=":"n=='%m'","^=":"n.indexOf('%m')==0","*=":"n.indexOf('%m')>-1","|=":"(n+'-').indexOf('%m-')==0","~=":"(' '+n+' ').indexOf(' %m ')>-1","$=":"n.substr(n.length-'%m'.length)=='%m'"},We=function(e,t){var i,n=-1;if(!e.length&&Array.slice)return Array.slice(t);for(;i=t[++n];)e[e.length]=i;return e},Fe=function(e,t,i){for(var n,s=-1;(n=t[++s])&&!1!==i(e[e.length]=n););return e},S=function(e,t){var i=v;v=(c=e).ownerDocument||e,(t||i!==v)&&(b=v.documentElement,g="DiV"==v.createElement("DiV").nodeName,m=g||"string"!=typeof v.compatMode?(e=v.createElement("div").style)&&(e.width=1,"1px"==e.width):v.compatMode.indexOf("CSS")<0,(t=v.createElement("div")).appendChild(v.createElement("p")).setAttribute("class","xXx"),t.appendChild(v.createElement("p")).setAttribute("class","xxx"),ee=!g&&we&&m&&(2!=t.getElementsByClassName("xxx").length||2!=t.getElementsByClassName("xXx").length),te=!g&&xe&&m&&(2!=t.querySelectorAll("[class~=xxx]").length||2!=t.querySelectorAll(".xXx").length),P.CACHING)&&H.setCache(!0,v)},I=D?function(e,t){var i;return e=/\\/.test(e)?j(e):e,g||9!=t.nodeType?W(e,t.getElementsByTagName("*")):(i=t.getElementById(e))&&i.name==e&&t.getElementsByName?W(e,t.getElementsByName(e)):i}:function(e,t){return e=/\\/.test(e)?j(e):e,t.getElementById&&t.getElementById(e)||W(e,t.getElementsByTagName("*"))},Le=function(e,t){var i="*"==e,n=t,s=[],o=n.firstChild;for(i||(e=e.toUpperCase());n=o;)if("@"<n.tagName&&(i||n.tagName.toUpperCase()==e)&&(s[s.length]=n),!(o=n.firstChild||n.nextSibling))for(;!o&&(n=n.parentNode)&&n!==t;)o=n.nextSibling;return s},N=!De&&Ce?function(e,t){return g||11==t.nodeType?Le(e,t):y.call(t.getElementsByTagName(e),0)}:function(e,t){var i,n=-1,s=n,o=[],r=g||11==t.nodeType?Le(e,t):t.getElementsByTagName(e);
1if("*"==e)for(;i=r[++n];)"@"<i.nodeName&&(o[++s]=i);else for(;i=r[++n];)o[n]=i;return o},A=function(e,t){if(e=m?e.toLowerCase():e,e=/\\/.test(e)?j(e):e,Te||ee||g||!t.getElementsByClassName){var i,n,s=e,o=-1,r=o,a=[],l=N("*",t);for(s=" "+(m?s.toLowerCase():s)+" ";i=l[++o];)(n=g?i.getAttribute("class"):i.className)&&n.length&&-1<(" "+(m?n.toLowerCase():n).replace(ve," ")+" ").indexOf(s)&&(a[++r]=i);return a}return y.call(t.getElementsByClassName(e))},Re="compareDocumentPosition"in b?function(e,t){return 16==(16&e.compareDocumentPosition(t))}:"contains"in b?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t=t.parentNode;)if(t===e)return!0;return!1},e=C||Ae?function(e,t){return"object"==typeof e[t=t.toLowerCase()]?e.attributes[t]&&e.attributes[t].value:"type"==t?e.getAttribute(t):ze[t]?e.getAttribute(t,2):Pe[t]?e.getAttribute(t)?t:"false":(e=e.getAttributeNode(t))&&e.value}:function(e,t){return e.getAttribute(t)},Be=w||Ae?function(e,t){var i=e.getAttributeNode(t=t.toLowerCase());return He[t]&&"value"!=t?e[He[t]]:i&&i.specified}:function(e,t){return g?!!e.getAttribute(t):e.hasAttribute(t)},M=function(e){if(P.VERBOSITY)throw Error(e);console&&console.log&&console.log(e)},P={CACHING:!1,ESCAPECHR:!0,NON_ASCII:!0,SELECTOR3:!0,UNICODE16:!0,SHORTCUTS:!1,SIMPLENOT:!0,UNIQUE_ID:!0,USE_HTML5:!0,USE_QSAPI:xe,VERBOSITY:!0},qe="r[r.length]=c[k];if(f&&false===f(c[k]))break main;else continue main;",Ye=function(e,t,i){var n="string"==typeof e?e.match(fe):e;if("string"!=typeof t&&(t=""),1==n.length)t+=Ue(n[0],i?qe:"f&&f(k);return true;",i);else for(var s,o=-1,r={};s=n[++o];)r[s=s.replace(me,"")]||(r[s]=!0,t+=Ue(s,i?qe:"f&&f(k);return true;",i));return i?Function("c,s,r,d,h,g,f,v","var N,n,x=0,k=-1,e;main:while((e=c[++k])){"+t+"}return r;"):Function("e,s,r,d,h,g,f,v","var N,n,x=0,k=e;"+t+"return false;")},$e="var z=v[@]||(v[@]=[]),l=z.length-1;while(l>=0&&z[l]!==e)--l;if(l!==-1){break;}z[z.length]=e;",Ue=function(e,t,i){for(var n,s,o,r,a,l,h,u,c,d=0;e;){if(d++,a=e.match(x.universal))r="";else if(a=e.match(x.id))a[1]=/\\/.test(a[1])?O(a[1]):a[1],t="if("+(g?'s.getAttribute(e,"id")':'(e.submit?s.getAttribute(e,"id"):e.id)')+'=="'+a[1]+'"){'+t+"}";else if(a=e.match(x.tagName))t="if(e.nodeName"+(g?'=="'+a[1]+'"':'.toUpperCase()=="'+a[1].toUpperCase()+'"')+"){"+t+"}";else if(a=e.match(x.className))a[1]=/\\/.test(a[1])?O(a[1]):a[1],a[1]=m?a[1].toLowerCase():a[1],t="if((n="+(g?'s.getAttribute(e,"class")':"e.className")+')&&n.length&&(" "+'+(m?"n.toLowerCase()":"n")+".replace(/"+_+'+/g," ")+" ").indexOf(" '+a[1]+' ")>-1){'+t+"}";else if(a=e.match(x.attribute)){if(r=2==(r=a[1].split(":")).length?r[1]:r[0]+"",a[2]&&!E[a[2]])return M('Unsupported operator in attribute selectors "'+e+'"'),"";u="false",a[2]&&a[4]&&(u=E[a[2]])?(a[4]=/\\/.test(a[4])?O(a[4]):a[4],Oe.class=m?1:0,c=(g?je:Oe)[r.toLowerCase()],u=u.replace(/\%m/g,c?a[4].toLowerCase():a[4])):"!="!=a[2]&&"="!=a[2]||(u="n"+a[2]+'=""'),t='if(n=s.hasAttribute(e,"'+a[1]+'")){'+(a[2]?'n=s.getAttribute(e,"'+a[1]+'")':"")+(c&&a[2]?".toLowerCase();":";")+"if("+(a[2]?u:"n")+"){"+t+"}}"}else if(a=e.match(x.adjacent))t=(i?"":$e.replace(/@/g,d))+t,t=ke?"var N"+d+"=e;while(e&&(e=e.previousElementSibling)){"+t+"break;}e=N"+d+";":"var N"+d+'=e;while(e&&(e=e.previousSibling)){if(e.nodeName>"@"){'+t+"break;}}e=N"+d+";";else if(a=e.match(x.relative))t=(i?"":$e.replace(/@/g,d))+t,t=ke?"var N"+d+"=e;e=e.parentNode.firstElementChild;while(e&&e!==N"+d+"){"+t+"e=e.nextElementSibling;}e=N"+d+";":"var N"+d+"=e;e=e.parentNode.firstChild;while(e&&e!==N"+d+'){if(e.nodeName>"@"){'+t+"}e=e.nextSibling;}e=N"+d+";";else if(a=e.match(x.children))t="var N"+d+"=e;while(e&&e!==h&&e!==g&&(e=e.parentNode)){"+(t=(i?"":$e.replace(/@/g,d))+t)+"break;}e=N"+d+";";else if(a=e.match(x.ancestor))t="var N"+d+"=e;while(e&&e!==h&&e!==g&&(e=e.parentNode)){"+(t=(i?"":$e.replace(/@/g,d))+t)+"}e=N"+d+";";else if((a=e.match(x.spseudos))&&a[1])switch(a[1]){case"root":t=a[3]?"if(e===h||s.contains(h,e)){"+t+"}":"if(e===h){"+t+"}";break;case"empty":t="if(s.isEmpty(e)){"+t+"}";break;default:if(a[1]&&a[2]){if("n"==a[2]){t="if(e!==h){"+t+"}";break}
1"even"==a[2]?(n=2,s=0):"odd"==a[2]?(n=2,s=1):(s=(o=a[2].match(/(-?\d+)$/))?parseInt(o[1],10):0,n=(o=a[2].match(/(-?\d*)n/i))?parseInt(o[1],10):0,o&&"-"==o[1]&&(n=-1)),u=1<n?/last/i.test(a[1])?"(n-("+s+"))%"+n+"==0":"n>="+s+"&&(n-("+s+"))%"+n+"==0":n<-1?/last/i.test(a[1])?"(n-("+s+"))%"+n+"==0":"n<="+s+"&&(n-("+s+"))%"+n+"==0":0===n?"n=="+s:-1==n?"n<="+s:"n>="+s,t="if(e!==h){n=s["+(/-of-type/i.test(a[1])?'"nthOfType"':'"nthElement"')+"](e,"+(/last/i.test(a[1])?"true":"false")+");if("+u+"){"+t+"}}"}else n=/first/i.test(a[1])?"previous":"next",o=/only/i.test(a[1])?"previous":"next",s=/first|last/i.test(a[1]),t="if(e!==h){n=e;while((n=n."+n+"Sibling)"+(c=/-of-type/i.test(a[1])?"&&n.nodeName!=e.nodeName":'&&n.nodeName<"@"')+");if(!n){"+(s?t:"n=e;while((n=n."+o+"Sibling)"+c+");if(!n){"+t+"}")+"}}"}else if((a=e.match(x.dpseudos))&&a[1])switch(a[1].match(/^\w+/)[0]){case"not":if(r=a[3].replace(me,""),P.SIMPLENOT&&!X.test(r))return M('Negation pseudo-class only accepts simple selectors "'+e+'"'),"";t="compatMode"in v?"if(!"+Ye(r,"",!1)+"(e,s,r,d,h,g)){"+t+"}":'if(!s.match(e, "'+r.replace(/\x22/g,'\\"')+'",g)){'+t+"}";break;case"checked":t='if((typeof e.form!=="undefined"&&(/^(?:radio|checkbox)$/i).test(e.type)&&e.checked)'+(P.USE_HTML5?"||(/^option$/i.test(e.nodeName)&&(e.selected||e.checked))":"")+"){"+t+"}";break;case"disabled":t='if(((typeof e.form!=="undefined"'+(P.USE_HTML5?"":"&&!(/^hidden$/i).test(e.type)")+")||s.isLink(e))&&e.disabled===true){"+t+"}";break;case"enabled":t='if(((typeof e.form!=="undefined"'+(P.USE_HTML5?"":"&&!(/^hidden$/i).test(e.type)")+")||s.isLink(e))&&e.disabled===false){"+t+"}";break;case"lang":u="",a[2]&&(u=a[2].substr(0,2)+"-"),t='do{(n=e.lang||"").toLowerCase();if((n==""&&h.lang=="'+a[2].toLowerCase()+'")||(n&&(n=="'+a[2].toLowerCase()+'"||n.substr(0,3)=="'+u.toLowerCase()+'"))){'+t+"break;}}while((e=e.parentNode)&&e!==g);";break;case"target":t="if(e.id==d.location.hash.slice(1)){"+t+"}";break;case"link":t="if(s.isLink(e)&&!e.visited){"+t+"}";break;case"visited":t="if(s.isLink(e)&&e.visited){"+t+"}";break;case"active":g||(t="if(e===d.activeElement){"+t+"}");break;case"hover":g||(t="if(e===d.hoverElement){"+t+"}");break;case"focus":g||(t=_e?'if(e===d.activeElement&&d.hasFocus()&&(e.type||e.href||typeof e.tabIndex=="number")){'+t+"}":"if(e===d.activeElement&&(e.type||e.href)){"+t+"}");break;case"selected":t="if(/^option$/i.test(e.nodeName)&&(e.selected||e.checked"+(r=Ee?"||(n=e.parentNode)&&n.options[n.selectedIndex]===e"
1:"")+")){"+t+"}"}else{for(r in h=r=!1,T)if((a=e.match(T[r].Expression))&&a[1]&&("match"in(l=T[r].Callback(a,t))&&(a=l.match),t=l.source,h=l.status))break;if(!h)return M('Unknown pseudo-class selector "'+e+'"'),"";if(!r)return M('Unknown token in selector "'+e+'"'),""}if(!a)return M('Invalid syntax in selector "'+e+'"'),"";e=a&&a[a.length-1]}return t},Qe=function(e,t,i,n){var s;if(!e||1!=e.nodeType)return M("Invalid element argument"),!1;if("string"!=typeof t)return M("Invalid selector argument"),!1;if(i&&1==i.nodeType&&!Re(i,e))return!1;if(c!==i&&S(i=i||e.ownerDocument),t=t.replace(me,"").replace(/\x00|\\$/g,"�"),P.SHORTCUTS&&(t=H.shortcuts(t,e,i)),q!=t){if(!(s=t.match(p))||s[0]!=t)return M('The string "'+t+'", is not a valid CSS selector'),!1;R=(s=t.match(fe)).length<2,q=t,$=s}else s=$;return Ke[t]&&Ve[t]===i||(Ke[t]=Ye(R?[t]:s,"",!1),Ve[t]=i),Ke[t](e,Je,[],v,b,i,n,{})},Ve={},Ke={},Xe={},Ge={},Je={nthElement:function(e,t){for(var i=1,n=t?"nextSibling":"previousSibling";e=e[n];)"@"<e.nodeName&&++i;return i},nthOfType:function(e,t){for(var i=1,n=t?"nextSibling":"previousSibling",s=e.nodeName;e=e[n];)e.nodeName==s&&++i;return i},getAttribute:e,hasAttribute:Be,byClass:A,byName:F,byTag:N,byId:I,contains:Re,isEmpty:function(e){for(e=e.firstChild;e;){if(3==e.nodeType||"@"<e.nodeName)return!1;e=e.nextSibling}return!0},isLink:function(e){return Be(e,"href")&&Me[e.nodeName]},select:i,match:Qe},H={ACCEPT_NODE:qe,byId:function(e,t){return c!==(t=t||v)&&S(t),I(e,t)},byTag:function(e,t){return c!==(t=t||v)&&S(t),N(e,t)},byName:F,byClass:function(e,t){return c!==(t=t||v)&&S(t),A(e,t)},getAttribute:e,hasAttribute:Be,match:Qe,first:function(e,t){return i(e,t,function(){return!1})[0]||null},select:i,compile:Ye,contains:Re,configure:function(e){if("string"==typeof e)return!!P[e];if("object"!=typeof e)return P;for(var t in e)P[t]=!!e[t],"SIMPLENOT"==t?(Ve={},Ke={},Xe={},Ge={},P[t]||(P.USE_QSAPI=!1)):"USE_QSAPI"==t&&(P[t]=!!e[t]&&xe);return L(),p=RegExp(P.SIMPLENOT?n:Q),!0},setCache:t,loadResults:t,saveResults:t,shortcuts:t,emit:M,Config:P,Snapshot:Je,Operators:E,Selectors:T,Tokens:ye,Version:"nwmatcher-1.4.0beta",registerOperator:function(e,t){E[e]||(E[e]=t)},registerSelector:function(e,t,i){T[e]||(T[e]={Expression:t,Callback:i})}};function z(e,t,i){var n=!1;a.appendChild(t);try{n=a.querySelectorAll(e).length==i}catch(e){}for(;a.firstChild;)a.removeChild(a.firstChild);return n}return h=v,L(),S(h,!0),H});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.