PageSourceSearch

https://goggin.co.uk/Origin_files/preform.moment_2_29_4.bundle-4fdd3f639b.js.download

js goggin.co.uk collected 2026-09-27 15:18:18 UTC 583,927 bytes, 50 lines download raw bytes

vendor: 86,039 bytes, lines 1-2
1/*! jQuery v3.6.2 | (c) OpenJS Foundation and other contributors | jquery.org/license */
2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(k,e){"use strict";var t=[],n=Object.getPrototypeOf,a=t.slice,m=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},l=t.push,s=t.indexOf,i={},r=i.toString,g=i.hasOwnProperty,o=g.toString,u=o.call(Object),v={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},b=function(e){return null!=e&&e===e.window},D=k.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,i){var n,s,r=(i=i||D).createElement("script");if(r.text=e,t)for(n in c)(s=t[n]||t.getAttribute&&t.getAttribute(n))&&r.setAttribute(n,s);i.head.appendChild(r).parentNode.removeChild(r)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?i[r.call(e)]||"object":typeof e}var h="3.6.2",C=function(e,t){return new C.fn.init(e,t)};function d(e){var t=!!e&&"length"in e&&e.length,i=w(e);return!y(e)&&!b(e)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e)}C.fn=C.prototype={jquery:h,constructor:C,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(i){return this.pushStack(C.map(this,function(e,t){return i.call(e,t,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(C.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(0<=i&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:t.sort,splice:t.splice},C.extend=C.fn.extend=function(){var e,t,i,n,s,r,o=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[a]||{},a++),"object"==typeof o||y(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)n=e[t],"__proto__"!==t&&o!==n&&(u&&n&&(C.isPlainObject(n)||(s=Array.isArray(n)))?(i=o[t],r=s&&!Array.isArray(i)?[]:s||C.isPlainObject(i)?i:{},s=!1,o[t]=C.extend(u,r,n)):void 0!==n&&(o[t]=n));return o},C.extend({expando:"jQuery"+(h+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,i;return!(!e||"[object Object]"!==r.call(e))&&(!(t=n(e))||"function"==typeof(i=g.call(t,"constructor")&&t.constructor)&&o.call(i)===u)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,i){_(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(d(e)){for(i=e.length;n<i;n++)if(!1===t.call(e[n],n,e[n]))break}else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){var i=t||[];return null!=e&&(d(Object(e))?C.merge(i,"string"==typeof e?[e]:e):l.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:s.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,s=e.length;n<i;n++)e[s++]=t[n];return e.length=s,e},grep:function(e,t,i){for(var n=[],s=0,r=e.length,o=!i;s<r;s++)!t(e[s],s)!==o&&n.push(e[s]);return n},map:function(e,t,i){var n,s,r=0,o=[];if(d(e))for(n=e.length;r<n;r++)null!=(s=t(e[r],r,i))&&o.push(s);else for(r in e)null!=(s=t(e[r],r,i))&&o.push(s);return m(o)},guid:1,support:v}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=t[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){i["[object "+t+"]"]=t.toLowerCase()});var p=function(i){var e,p,_,r,s,f,h,m,w,l,u,x,k,o,D,g,a,c,v,C="sizzle"+1*new Date,d=i.document,S=0,n=0,y=le(),b=le(),T=le(),M=le(),P=function(e,t){return e===t&&(u=!0),0},I={}.hasOwnProperty,t=[],O=t.pop,A=t.push,E=t.push,H=t.slice,N=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",z="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",L="\\["+R+"*("+z+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+z+"))|)"+R+"*\\]",Y=":("+z+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+L+")*)|.*)\\)|)",W=new RegExp(R+"+","g"),F=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),q=new RegExp("^"+R+"*,"+R+"*"),B=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),U=new RegExp(R+"|>"),V=new RegExp(Y),Q=new RegExp("^"+z+"$"),$={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),TAG:new RegExp("^("+z+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+Y),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("^(?:"+j+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),ie=function(e,t){var i="0x"+e.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,se=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){x()},oe=_e(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{E.apply(t=H.call(d.childNodes),d.childNodes),t[d.childNodes.length].nodeType}catch(e){E={apply:t.length?function(e,t){A.apply(e,H.call(t))}:function(e,t){var i=e.length,n=0;while(e[i++]=t[n++]);e.length=i-1}}}function ae(e,t,i,n){var s,r,o,a,l,u,c,h=t&&t.ownerDocument,d=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return i;if(!n&&(x(t),t=t||k,D)){if(11!==d&&(l=J.exec(e)))if(s=l[1]){if(9===d){if(!(o=t.getElementById(s)))return i;if(o.id===s)return i.push(o),i}else if(h&&(o=h.getElementById(s))&&v(t,o)&&o.id===s)return i.push(o),i}else{if(l[2])return E.apply(i,t.getElementsByTagName(e)),i;if((s=l[3])&&p.getElementsByClassName&&t.getElementsByClassName)return E.apply(i,t.getElementsByClassName(s)),i}if(p.qsa&&!M[e+" "]&&(!g||!g.test(e))&&(1!==d||"object"!==t.nodeName.toLowerCase())){if(c=e,h=t,1===d&&(U.test(e)||B.test(e))){(h=ee.test(e)&&ve(t.parentNode)||t)===t&&p.scope||((a=t.getAttribute("id"))?a=a.replace(ne,se):t.setAttribute("id",a=C)),r=(u=f(e)).length;while(r--)u[r]=(a?"#"+a:":scope")+" "+be(u[r]);c=u.join(",")}try{if(p.cssSupportsSelector&&!CSS.supports("selector("+c+")"))throw new Error;return E.apply(i,h.querySelectorAll(c)),i}catch(t){M(e,!0)}finally{a===C&&t.removeAttribute("id")}}}return m(e.replace(F,"$1"),t,i,n)}function le(){var n=[];return function e(t,i){return n.push(t+" ")>_.cacheLength&&delete e[n.shift()],e[t+" "]=i}}function ue(e){return e[C]=!0,e}function ce(e){var t=k.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){var i=e.split("|"),n=i.length;while(n--)_.attrHandle[i[n]]=t}function de(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(i)while(i=i.nextSibling)if(i===t)return-1;return e?1:-1}function pe(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function fe(i){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===i}}function me(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&oe(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ge(o){return ue(function(r){return r=+r,ue(function(e,t){var i,n=o([],e.length,r),s=n.length;while(s--)e[i=n[s]]&&(e[i]=!(t[i]=e[i]))})})}function ve(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in p=ae.support={},s=ae.isXML=function(e){var t=e&&e.namespaceURI,i=e&&(e.ownerDocument||e).documentElement;return!G.test(t||i&&i.nodeName||"HTML")},x=ae.setDocument=function(e){var t,i,n=e?e.ownerDocument||e:d;return n!=k&&9===n.nodeType&&n.documentElement&&(o=(k=n).documentElement,D=!s(k),d!=k&&(i=k.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),p.scope=ce(function(e){return o.appendChild(e).appendChild(k.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),p.cssSupportsSelector=ce(function(){return CSS.supports("selector(*)")&&k.querySelectorAll(":is(:jqfake)")&&!CSS.supports("selector(:is(*,:jqfake))")}),p.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=ce(function(e){return e.appendChild(k.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=Z.test(k.getElementsByClassName),p.getById=ce(function(e){return o.appendChild(e).id=C,!k.getElementsByName||!k.getElementsByName(C).length}),p.getById?(_.filter.ID=function(e){var t=e.replace(te,ie);return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&D){var i=t.getElementById(e);return i?[i]:[]}}):(_.filter.ID=function(e){var i=e.replace(te,ie);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===i}},_.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&D){var i,n,s,r=t.getElementById(e);if(r){if((i=r.getAttributeNode("id"))&&i.value===e)return[r];s=t.getElementsByName(e),n=0;while(r=s[n++])if((i=r.getAttributeNode("id"))&&i.value===e)return[r]}return[]}}),_.find.TAG=p.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],s=0,r=t.getElementsByTagName(e);if("*"===e){while(i=r[s++])1===i.nodeType&&n.push(i);return n}return r},_.find.CLASS=p.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&D)return t.getElementsByClassName(e)},a=[],g=[],(p.qsa=Z.test(k.querySelectorAll))&&(ce(function(e){var t;o.appendChild(e).innerHTML="<a id='"+C+"'></a><select id='"+C+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+C+"-]").length||g.push("~="),(t=k.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=k.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),o.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(p.matchesSelector=Z.test(c=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ce(function(e){p.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),a.push("!=",Y)}),p.cssSupportsSelector||g.push(":has"),g=g.length&&new RegExp(g.join("|")),a=a.length&&new RegExp(a.join("|")),t=Z.test(o.compareDocumentPosition),v=t||Z.test(o.contains)?function(e,t){var i=9===e.nodeType&&e.documentElement||e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},P=t?function(e,t){if(e===t)return u=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===i?e==k||e.ownerDocument==d&&v(d,e)?-1:t==k||t.ownerDocument==d&&v(d,t)?1:l?N(l,e)-N(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return u=!0,0;var i,n=0,s=e.parentNode,r=t.parentNode,o=[e],a=[t];if(!s||!r)return e==k?-1:t==k?1:s?-1:r?1:l?N(l,e)-N(l,t):0;if(s===r)return de(e,t);i=e;while(i=i.parentNode)o.unshift(i);i=t;while(i=i.parentNode)a.unshift(i);while(o[n]===a[n])n++;return n?de(o[n],a[n]):o[n]==d?-1:a[n]==d?1:0}),k},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(x(e),p.matchesSelector&&D&&!M[t+" "]&&(!a||!a.test(t))&&(!g||!g.test(t)))try{var i=c.call(e,t);if(i||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){M(t,!0)}return 0<ae(t,k,null,[e]).length},ae.contains=function(e,t){return(e.ownerDocument||e)!=k&&x(e),v(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=k&&x(e);var i=_.attrHandle[t.toLowerCase()],n=i&&I.call(_.attrHandle,t.toLowerCase())?i(e,t,!D):void 0;return void 0!==n?n:p.attributes||!D?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},ae.escape=function(e){return(e+"").replace(ne,se)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,i=[],n=0,s=0;if(u=!p.detectDuplicates,l=!p.sortStable&&e.slice(0),e.sort(P),u){while(t=e[s++])t===e[s]&&(n=i.push(s));while(n--)e.splice(i[n],1)}return l=null,e},r=ae.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+=r(e)}else if(3===s||4===s)return e.nodeValue}else while(t=e[n++])i+=r(t);return i},(_=ae.selectors={cacheLength:50,createPseudo:ue,match:$,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(te,ie),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ie),"~="===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]||ae.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]&&ae.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&V.test(i)&&(t=f(i,!0))&&(t=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(te,ie).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=y[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&y(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(i,n,s){return function(e){var t=ae.attr(e,i);return null==t?"!="===n:!n||(t+="","="===n?t===s:"!="===n?t!==s:"^="===n?s&&0===t.indexOf(s):"*="===n?s&&-1<t.indexOf(s):"$="===n?s&&t.slice(-s.length)===s:"~="===n?-1<(" "+t.replace(W," ")+" ").indexOf(s):"|="===n&&(t===s||t.slice(0,s.length+1)===s+"-"))}},CHILD:function(f,e,t,m,g){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),b="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,i){var n,s,r,o,a,l,u=v!==y?"nextSibling":"previousSibling",c=e.parentNode,h=b&&e.nodeName.toLowerCase(),d=!i&&!b,p=!1;if(c){if(v){while(u){o=e;while(o=o[u])if(b?o.nodeName.toLowerCase()===h:1===o.nodeType)return!1;l=u="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&d){p=(a=(n=(s=(r=(o=c)[C]||(o[C]={}))[o.uniqueID]||(r[o.uniqueID]={}))[f]||[])[0]===S&&n[1])&&n[2],o=a&&c.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||l.pop())if(1===o.nodeType&&++p&&o===e){s[f]=[S,a,p];break}}else if(d&&(p=a=(n=(s=(r=(o=e)[C]||(o[C]={}))[o.uniqueID]||(r[o.uniqueID]={}))[f]||[])[0]===S&&n[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||l.pop())if((b?o.nodeName.toLowerCase()===h:1===o.nodeType)&&++p&&(d&&((s=(r=o[C]||(o[C]={}))[o.uniqueID]||(r[o.uniqueID]={}))[f]=[S,p]),o===e))break;return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(e,r){var t,o=_.pseudos[e]||_.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return o[C]?o(r):1<o.length?(t=[e,e,"",r],_.setFilters.hasOwnProperty(e.toLowerCase())?ue(function(e,t){var i,n=o(e,r),s=n.length;while(s--)e[i=N(e,n[s])]=!(t[i]=n[s])}):function(e){return o(e,0,t)}):o}},pseudos:{not:ue(function(e){var n=[],s=[],a=h(e.replace(F,"$1"));return a[C]?ue(function(e,t,i,n){var s,r=a(e,null,n,[]),o=e.length;while(o--)(s=r[o])&&(e[o]=!(t[o]=s))}):function(e,t,i){return n[0]=e,a(n,null,i,s),n[0]=null,!s.pop()}}),has:ue(function(t){return function(e){return 0<ae(t,e).length}}),contains:ue(function(t){return t=t.replace(te,ie),function(e){return-1<(e.textContent||r(e)).indexOf(t)}}),lang:ue(function(i){return Q.test(i||"")||ae.error("unsupported lang: "+i),i=i.replace(te,ie).toLowerCase(),function(e){var t;do{if(t=D?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=i.location&&i.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===o},focus:function(e){return e===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),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 X.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,i){return[i<0?i+t:i]}),even:ge(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:ge(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:ge(function(e,t,i){for(var n=i<0?i+t:t<i?t:i;0<=--n;)e.push(n);return e}),gt:ge(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]=pe(e);for(e in{submit:!0,reset:!0})_.pseudos[e]=fe(e);function ye(){}function be(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function _e(a,e,t){var l=e.dir,u=e.next,c=u||l,h=t&&"parentNode"===c,d=n++;return e.first?function(e,t,i){while(e=e[l])if(1===e.nodeType||h)return a(e,t,i);return!1}:function(e,t,i){var n,s,r,o=[S,d];if(i){while(e=e[l])if((1===e.nodeType||h)&&a(e,t,i))return!0}else while(e=e[l])if(1===e.nodeType||h)if(s=(r=e[C]||(e[C]={}))[e.uniqueID]||(r[e.uniqueID]={}),u&&u===e.nodeName.toLowerCase())e=e[l]||e;else{if((n=s[c])&&n[0]===S&&n[1]===d)return o[2]=n[2];if((s[c]=o)[2]=a(e,t,i))return!0}return!1}}function we(s){return 1<s.length?function(e,t,i){var n=s.length;while(n--)if(!s[n](e,t,i))return!1;return!0}:s[0]}function xe(e,t,i,n,s){for(var r,o=[],a=0,l=e.length,u=null!=t;a<l;a++)(r=e[a])&&(i&&!i(r,n,s)||(o.push(r),u&&t.push(a)));return o}function ke(p,f,m,g,v,e){return g&&!g[C]&&(g=ke(g)),v&&!v[C]&&(v=ke(v,e)),ue(function(e,t,i,n){var s,r,o,a=[],l=[],u=t.length,c=e||function(e,t,i){for(var n=0,s=t.length;n<s;n++)ae(e,t[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),h=!p||!e&&f?c:xe(c,a,p,i,n),d=m?v||(e?p:u||g)?[]:t:h;if(m&&m(h,d,i,n),g){s=xe(d,l),g(s,[],i,n),r=s.length;while(r--)(o=s[r])&&(d[l[r]]=!(h[l[r]]=o))}if(e){if(v||p){if(v){s=[],r=d.length;while(r--)(o=d[r])&&s.push(h[r]=o);v(null,d=[],s,n)}r=d.length;while(r--)(o=d[r])&&-1<(s=v?N(e,o):a[r])&&(e[s]=!(t[s]=o))}}else d=xe(d===t?d.splice(u,d.length):d),v?v(null,t,d,n):E.apply(t,d)})}function De(e){for(var s,t,i,n=e.length,r=_.relative[e[0].type],o=r||_.relative[" "],a=r?1:0,l=_e(function(e){return e===s},o,!0),u=_e(function(e){return-1<N(s,e)},o,!0),c=[function(e,t,i){var n=!r&&(i||t!==w)||((s=t).nodeType?l(e,t,i):u(e,t,i));return s=null,n}];a<n;a++)if(t=_.relative[e[a].type])c=[_e(we(c),t)];else{if((t=_.filter[e[a].type].apply(null,e[a].matches))[C]){for(i=++a;i<n;i++)if(_.relative[e[i].type])break;return ke(1<a&&we(c),1<a&&be(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(F,"$1"),t,a<i&&De(e.slice(a,i)),i<n&&De(e=e.slice(i)),i<n&&be(e))}c.push(t)}return we(c)}return ye.prototype=_.filters=_.pseudos,_.setFilters=new ye,f=ae.tokenize=function(e,t){var i,n,s,r,o,a,l,u=b[e+" "];if(u)return t?0:u.slice(0);o=e,a=[],l=_.preFilter;while(o){for(r in i&&!(n=q.exec(o))||(n&&(o=o.slice(n[0].length)||o),a.push(s=[])),i=!1,(n=B.exec(o))&&(i=n.shift(),s.push({value:i,type:n[0].replace(F," ")}),o=o.slice(i.length)),_.filter)!(n=$[r].exec(o))||l[r]&&!(n=l[r](n))||(i=n.shift(),s.push({value:i,type:r,matches:n}),o=o.slice(i.length));if(!i)break}return t?o.length:o?ae.error(e):b(e,a).slice(0)},h=ae.compile=function(e,t){var i,g,v,y,b,n,s=[],r=[],o=T[e+" "];if(!o){t||(t=f(e)),i=t.length;while(i--)(o=De(t[i]))[C]?s.push(o):r.push(o);(o=T(e,(g=r,y=0<(v=s).length,b=0<g.length,n=function(e,t,i,n,s){var r,o,a,l=0,u="0",c=e&&[],h=[],d=w,p=e||b&&_.find.TAG("*",s),f=S+=null==d?1:Math.random()||.1,m=p.length;for(s&&(w=t==k||t||s);u!==m&&null!=(r=p[u]);u++){if(b&&r){o=0,t||r.ownerDocument==k||(x(r),i=!D);while(a=g[o++])if(a(r,t||k,i)){n.push(r);break}s&&(S=f)}y&&((r=!a&&r)&&l--,e&&c.push(r))}if(l+=u,y&&u!==l){o=0;while(a=v[o++])a(c,h,t,i);if(e){if(0<l)while(u--)c[u]||h[u]||(h[u]=O.call(n));h=xe(h)}E.apply(n,h),s&&!e&&0<h.length&&1<l+v.length&&ae.uniqueSort(n)}return s&&(S=f,w=d),c},y?ue(n):n))).selector=e}return o},m=ae.select=function(e,t,i,n){var s,r,o,a,l,u="function"==typeof e&&e,c=!n&&f(e=u.selector||e);if(i=i||[],1===c.length){if(2<(r=c[0]=c[0].slice(0)).length&&"ID"===(o=r[0]).type&&9===t.nodeType&&D&&_.relative[r[1].type]){if(!(t=(_.find.ID(o.matches[0].replace(te,ie),t)||[])[0]))return i;u&&(t=t.parentNode),e=e.slice(r.shift().value.length)}s=$.needsContext.test(e)?0:r.length;while(s--){if(o=r[s],_.relative[a=o.type])break;if((l=_.find[a])&&(n=l(o.matches[0].replace(te,ie),ee.test(r[0].type)&&ve(t.parentNode)||t))){if(r.splice(s,1),!(e=n.length&&be(r)))return E.apply(i,n),i;break}}}return(u||h(e,c))(n,t,!D,i,!t||ee.test(e)&&ve(t.parentNode)||t),i},p.sortStable=C.split("").sort(P).join("")===C,p.detectDuplicates=!!u,x(),p.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(k.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||he("type|href|height|width",function(e,t,i){if(!i)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),p.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||he("value",function(e,t,i){if(!i&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||he(j,function(e,t,i){var n;if(!i)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),ae}(k);C.find=p,C.expr=p.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=p.uniqueSort,C.text=p.getText,C.isXMLDoc=p.isXML,C.contains=p.contains,C.escapeSelector=p.escape;var f=function(e,t,i){var n=[],s=void 0!==i;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(s&&C(e).is(i))break;n.push(e)}return n},x=function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i},S=C.expr.match.needsContext;function T(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,i,n){return y(i)?C.grep(e,function(e,t){return!!i.call(e,t,e)!==n}):i.nodeType?C.grep(e,function(e){return e===i!==n}):"string"!=typeof i?C.grep(e,function(e){return-1<s.call(i,e)!==n}):C.filter(i,e,n)}C.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?C.find.matchesSelector(n,e)?[n]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,i,n=this.length,s=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t<n;t++)if(C.contains(s[t],this))return!0}));for(i=this.pushStack([]),t=0;t<n;t++)C.find(e,s[t],i);return 1<n?C.uniqueSort(i):i},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&S.test(e)?C(e):e||[],!1).length}});var I,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,i){var n,s;if(!e)return this;if(i=i||I,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:O.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:D,!0)),M.test(n[1])&&C.isPlainObject(t))for(n in t)y(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(s=D.getElementById(n[2]))&&(this[0]=s,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==i.ready?i.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,I=C(D);var A=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};function H(e,t){while((e=e[t])&&1!==e.nodeType);return e}C.fn.extend({has:function(e){var t=C(e,this),i=t.length;return this.filter(function(){for(var e=0;e<i;e++)if(C.contains(this,t[e]))return!0})},closest:function(e,t){var i,n=0,s=this.length,r=[],o="string"!=typeof e&&C(e);if(!S.test(e))for(;n<s;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(o?-1<o.index(i):1===i.nodeType&&C.find.matchesSelector(i,e))){r.push(i);break}return this.pushStack(1<r.length?C.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?s.call(C(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return f(e,"parentNode")},parentsUntil:function(e,t,i){return f(e,"parentNode",i)},next:function(e){return H(e,"nextSibling")},prev:function(e){return H(e,"previousSibling")},nextAll:function(e){return f(e,"nextSibling")},prevAll:function(e){return f(e,"previousSibling")},nextUntil:function(e,t,i){return f(e,"nextSibling",i)},prevUntil:function(e,t,i){return f(e,"previousSibling",i)},siblings:function(e){return x((e.parentNode||{}).firstChild,e)},children:function(e){return x(e.firstChild)},contents:function(e){return null!=e.contentDocument&&n(e.contentDocument)?e.contentDocument:(T(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},function(n,s){C.fn[n]=function(e,t){var i=C.map(this,s,e);return"Until"!==n.slice(-5)&&(t=e),t&&"string"==typeof t&&(i=C.filter(t,i)),1<this.length&&(E[n]||C.uniqueSort(i),A.test(n)&&i.reverse()),this.pushStack(i)}});var N=/[^\x20\t\r\n\f]+/g;function j(e){return e}function R(e){throw e}function z(e,t,i,n){var s;try{e&&y(s=e.promise)?s.call(e).done(t).fail(i):e&&y(s=e.then)?s.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}C.Callbacks=function(n){var e,i;n="string"==typeof n?(e=n,i={},C.each(e.match(N)||[],function(e,t){i[t]=!0}),i):C.extend({},n);var s,t,r,o,a=[],l=[],u=-1,c=function(){for(o=o||n.once,r=s=!0;l.length;u=-1){t=l.shift();while(++u<a.length)!1===a[u].apply(t[0],t[1])&&n.stopOnFalse&&(u=a.length,t=!1)}n.memory||(t=!1),s=!1,o&&(a=t?[]:"")},h={add:function(){return a&&(t&&!s&&(u=a.length-1,l.push(t)),function i(e){C.each(e,function(e,t){y(t)?n.unique&&h.has(t)||a.push(t):t&&t.length&&"string"!==w(t)&&i(t)})}(arguments),t&&!s&&c()),this},remove:function(){return C.each(arguments,function(e,t){var i;while(-1<(i=C.inArray(t,a,i)))a.splice(i,1),i<=u&&u--}),this},has:function(e){return e?-1<C.inArray(e,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return o=l=[],a=t="",this},disabled:function(){return!a},lock:function(){return o=l=[],t||s||(a=t=""),this},locked:function(){return!!o},fireWith:function(e,t){return o||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),s||c()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!r}};return h},C.extend({Deferred:function(e){var r=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],s="pending",o={state:function(){return s},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var s=arguments;return C.Deferred(function(n){C.each(r,function(e,t){var i=y(s[t[4]])&&s[t[4]];a[t[1]](function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[t[0]+"With"](this,i?[e]:arguments)})}),s=null}).promise()},then:function(t,i,n){var l=0;function u(s,r,o,a){return function(){var i=this,n=arguments,e=function(){var e,t;if(!(s<l)){if((e=o.apply(i,n))===r.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,y(t)?a?t.call(e,u(l,r,j,a),u(l,r,R,a)):(l++,t.call(e,u(l,r,j,a),u(l,r,R,a),u(l,r,j,r.notifyWith))):(o!==j&&(i=void 0,n=[e]),(a||r.resolveWith)(i,n))}},t=a?e:function(){try{e()}catch(e){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(e,t.stackTrace),l<=s+1&&(o!==R&&(i=void 0,n=[e]),r.rejectWith(i,n))}};s?t():(C.Deferred.getStackHook&&(t.stackTrace=C.Deferred.getStackHook()),k.setTimeout(t))}}return C.Deferred(function(e){r[0][3].add(u(0,e,y(n)?n:j,e.notifyWith)),r[1][3].add(u(0,e,y(t)?t:j)),r[2][3].add(u(0,e,y(i)?i:R))}).promise()},promise:function(e){return null!=e?C.extend(e,o):o}},a={};return C.each(r,function(e,t){var i=t[2],n=t[5];o[t[1]]=i.add,n&&i.add(function(){s=n},r[3-e][2].disable,r[3-e][3].disable,r[0][2].lock,r[0][3].lock),i.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=i.fireWith}),o.promise(a),e&&e.call(a,a),a},when:function(e){var i=arguments.length,t=i,n=Array(t),s=a.call(arguments),r=C.Deferred(),o=function(t){return function(e){n[t]=this,s[t]=1<arguments.length?a.call(arguments):e,--i||r.resolveWith(n,s)}};if(i<=1&&(z(e,r.done(o(t)).resolve,r.reject,!i),"pending"===r.state()||y(s[t]&&s[t].then)))return r.then();while(t--)z(s[t],o(t),r.reject);return r.promise()}});var L=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){k.console&&k.console.warn&&e&&L.test(e.name)&&k.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){k.setTimeout(function(){throw e})};var Y=C.Deferred();function W(){D.removeEventListener("DOMContentLoaded",W),k.removeEventListener("load",W),C.ready()}C.fn.ready=function(e){return Y.then(e)["catch"](function(e){C.readyException(e)}),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0)!==e&&0<--C.readyWait||Y.resolveWith(D,[C])}}),C.ready.then=Y.then,"complete"===D.readyState||"loading"!==D.readyState&&!D.documentElement.doScroll?k.setTimeout(C.ready):(D.addEventListener("DOMContentLoaded",W),k.addEventListener("load",W));var F=function(e,t,i,n,s,r,o){var a=0,l=e.length,u=null==i;if("object"===w(i))for(a in s=!0,i)F(e,t,a,i[a],!0,r,o);else if(void 0!==n&&(s=!0,y(n)||(o=!0),u&&(o?(t.call(e,n),t=null):(u=t,t=function(e,t,i){return u.call(C(e),i)})),t))for(;a<l;a++)t(e[a],i,o?n:n.call(e[a],a,t(e[a],i)));return s?e:u?t.call(e):l?t(e[0],i):r},q=/^-ms-/,B=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function V(e){return e.replace(q,"ms-").replace(B,U)}var Q=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function $(){this.expando=C.expando+$.uid++}$.uid=1,$.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,s=this.cache(e);if("string"==typeof t)s[V(t)]=i;else for(n in t)s[V(n)]=t[n];return s},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][V(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(V):(t=V(t))in n?[t]:t.match(N)||[]).length;while(i--)delete n[t[i]]}(void 0===t||C.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var G=new $,K=new $,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Z=/[A-Z]/g;function J(e,t,i){var n,s;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(Z,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===(s=i)||"false"!==s&&("null"===s?null:s===+s+""?+s:X.test(s)?JSON.parse(s):s)}catch(e){}K.set(e,t,i)}else i=void 0;return i}C.extend({hasData:function(e){return K.hasData(e)||G.hasData(e)},data:function(e,t,i){return K.access(e,t,i)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,i){return G.access(e,t,i)},_removeData:function(e,t){G.remove(e,t)}}),C.fn.extend({data:function(i,e){var t,n,s,r=this[0],o=r&&r.attributes;if(void 0===i){if(this.length&&(s=K.get(r),1===r.nodeType&&!G.get(r,"hasDataAttrs"))){t=o.length;while(t--)o[t]&&0===(n=o[t].name).indexOf("data-")&&(n=V(n.slice(5)),J(r,n,s[n]));G.set(r,"hasDataAttrs",!0)}return s}return"object"==typeof i?this.each(function(){K.set(this,i)}):F(this,function(e){var t;if(r&&void 0===e)return void 0!==(t=K.get(r,i))?t:void 0!==(t=J(r,i))?t:void 0;this.each(function(){K.set(this,i,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),C.extend({queue:function(e,t,i){var n;if(e)return t=(t||"fx")+"queue",n=G.get(e,t),i&&(!n||Array.isArray(i)?n=G.access(e,t,C.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=C.queue(e,t),n=i.length,s=i.shift(),r=C._queueHooks(e,t);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===t&&i.unshift("inprogress"),delete r.stop,s.call(e,function(){C.dequeue(e,t)},r)),!n&&r&&r.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return G.get(e,i)||G.access(e,i,{empty:C.Callbacks("once memory").add(function(){G.remove(e,[t+"queue",i])})})}}),C.fn.extend({queue:function(t,i){var e=2;return"string"!=typeof t&&(i=t,t="fx",e--),arguments.length<e?C.queue(this[0],t):void 0===i?this:this.each(function(){var e=C.queue(this,t,i);C._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&C.dequeue(this,t)})},dequeue:function(e){return this.each(function(){C.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,s=C.Deferred(),r=this,o=this.length,a=function(){--n||s.resolveWith(r,[r])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(o--)(i=G.get(r[o],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),s.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ne=D.documentElement,se=function(e){return C.contains(e.ownerDocument,e)},re={composed:!0};ne.getRootNode&&(se=function(e){return C.contains(e.ownerDocument,e)||e.getRootNode(re)===e.ownerDocument});var oe=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===C.css(e,"display")};function ae(e,t,i,n){var s,r,o=20,a=n?function(){return n.cur()}:function(){return C.css(e,t,"")},l=a(),u=i&&i[3]||(C.cssNumber[t]?"":"px"),c=e.nodeType&&(C.cssNumber[t]||"px"!==u&&+l)&&te.exec(C.css(e,t));if(c&&c[3]!==u){l/=2,u=u||c[3],c=+l||1;while(o--)C.style(e,t,c+u),(1-r)*(1-(r=a()/l||.5))<=0&&(o=0),c/=r;c*=2,C.style(e,t,c+u),i=i||[]}return i&&(c=+c||+l||0,s=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=u,n.start=c,n.end=s)),s}var le={};function ue(e,t){for(var i,n,s,r,o,a,l,u=[],c=0,h=e.length;c<h;c++)(n=e[c]).style&&(i=n.style.display,t?("none"===i&&(u[c]=G.get(n,"display")||null,u[c]||(n.style.display="")),""===n.style.display&&oe(n)&&(u[c]=(l=o=r=void 0,o=(s=n).ownerDocument,a=s.nodeName,(l=le[a])||(r=o.body.appendChild(o.createElement(a)),l=C.css(r,"display"),r.parentNode.removeChild(r),"none"===l&&(l="block"),le[a]=l)))):"none"!==i&&(u[c]="none",G.set(n,"display",i)));for(c=0;c<h;c++)null!=u[c]&&(e[c].style.display=u[c]);return e}C.fn.extend({show:function(){return ue(this,!0)},hide:function(){return ue(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){oe(this)?C(this).show():C(this).hide()})}});var ce,he,de=/^(?:checkbox|radio)$/i,pe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,fe=/^$|^module$|\/(?:java|ecma)script/i;ce=D.createDocumentFragment().appendChild(D.createElement("div")),(he=D.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),ce.appendChild(he),v.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",v.option=!!ce.lastChild;var me={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(e,t){var i;return i="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&T(e,t)?C.merge([e],i):i}function ve(e,t){for(var i=0,n=e.length;i<n;i++)G.set(e[i],"globalEval",!t||G.get(t[i],"globalEval"))}me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td,v.option||(me.optgroup=me.option=[1,"<select multiple='multiple'>","</select>"]);var ye=/<|&#?\w+;/;function be(e,t,i,n,s){for(var r,o,a,l,u,c,h=t.createDocumentFragment(),d=[],p=0,f=e.length;p<f;p++)if((r=e[p])||0===r)if("object"===w(r))C.merge(d,r.nodeType?[r]:r);else if(ye.test(r)){o=o||h.appendChild(t.createElement("div")),a=(pe.exec(r)||["",""])[1].toLowerCase(),l=me[a]||me._default,o.innerHTML=l[1]+C.htmlPrefilter(r)+l[2],c=l[0];while(c--)o=o.lastChild;C.merge(d,o.childNodes),(o=h.firstChild).textContent=""}else d.push(t.createTextNode(r));h.textContent="",p=0;while(r=d[p++])if(n&&-1<C.inArray(r,n))s&&s.push(r);else if(u=se(r),o=ge(h.appendChild(r),"script"),u&&ve(o),i){c=0;while(r=o[c++])fe.test(r.type||"")&&i.push(r)}return h}var _e=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function xe(){return!1}function ke(e,t){return e===function(){try{return D.activeElement}catch(e){}}()==("focus"===t)}function De(e,t,i,n,s,r){var o,a;if("object"==typeof t){for(a in"string"!=typeof i&&(n=n||i,i=void 0),t)De(e,a,i,n,t[a],r);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=xe;else if(!s)return e;return 1===r&&(o=s,(s=function(e){return C().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=C.guid++)),e.each(function(){C.event.add(this,t,s,n,i)})}function Ce(e,s,r){r?(G.set(e,s,!1),C.event.add(e,s,{namespace:!1,handler:function(e){var t,i,n=G.get(this,s);if(1&e.isTrigger&&this[s]){if(n.length)(C.event.special[s]||{}).delegateType&&e.stopPropagation();else if(n=a.call(arguments),G.set(this,s,n),t=r(this,s),this[s](),n!==(i=G.get(this,s))||t?G.set(this,s,!1):i={},n!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else n.length&&(G.set(this,s,{value:C.event.trigger(C.extend(n[0],C.Event.prototype),n.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===G.get(e,s)&&C.event.add(e,s,we)}C.event={global:{},add:function(t,e,i,n,s){var r,o,a,l,u,c,h,d,p,f,m,g=G.get(t);if(Q(t)){i.handler&&(i=(r=i).handler,s=r.selector),s&&C.find.matchesSelector(ne,s),i.guid||(i.guid=C.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(e){return"undefined"!=typeof C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(N)||[""]).length;while(u--)p=m=(a=_e.exec(e[u])||[])[1],f=(a[2]||"").split(".").sort(),p&&(h=C.event.special[p]||{},p=(s?h.delegateType:h.bindType)||p,h=C.event.special[p]||{},c=C.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&C.expr.match.needsContext.test(s),namespace:f.join(".")},r),(d=l[p])||((d=l[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,f,o)||t.addEventListener&&t.addEventListener(p,o)),h.add&&(h.add.call(t,c),c.handler.guid||(c.handler.guid=i.guid)),s?d.splice(d.delegateCount++,0,c):d.push(c),C.event.global[p]=!0)}},remove:function(e,t,i,n,s){var r,o,a,l,u,c,h,d,p,f,m,g=G.hasData(e)&&G.get(e);if(g&&(l=g.events)){u=(t=(t||"").match(N)||[""]).length;while(u--)if(p=m=(a=_e.exec(t[u])||[])[1],f=(a[2]||"").split(".").sort(),p){h=C.event.special[p]||{},d=l[p=(n?h.delegateType:h.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=r=d.length;while(r--)c=d[r],!s&&m!==c.origType||i&&i.guid!==c.guid||a&&!a.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(d.splice(r,1),c.selector&&d.delegateCount--,h.remove&&h.remove.call(e,c));o&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,f,g.handle)||C.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)C.event.remove(e,p+t[u],i,n,!0);C.isEmptyObject(l)&&G.remove(e,"handle events")}},dispatch:function(e){var t,i,n,s,r,o,a=new Array(arguments.length),l=C.event.fix(e),u=(G.get(this,"events")||Object.create(null))[l.type]||[],c=C.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){o=C.event.handlers.call(this,l,u),t=0;while((s=o[t++])&&!l.isPropagationStopped()){l.currentTarget=s.elem,i=0;while((r=s.handlers[i++])&&!l.isImmediatePropagationStopped())l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(n=((C.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,a))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var i,n,s,r,o,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&1<=e.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(r=[],o={},i=0;i<l;i++)void 0===o[s=(n=t[i]).selector+" "]&&(o[s]=n.needsContext?-1<C(s,this).index(u):C.find(s,this,null,[u]).length),o[s]&&r.push(n);r.length&&a.push({elem:u,handlers:r})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(t,e){Object.defineProperty(C.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return de.test(t.type)&&t.click&&T(t,"input")&&Ce(t,"click",we),!1},trigger:function(e){var t=this||e;return de.test(t.type)&&t.click&&T(t,"input")&&Ce(t,"click"),!0},_default:function(e){var t=e.target;return de.test(t.type)&&t.click&&T(t,"input")&&G.get(t,"click")||T(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?we:xe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:xe,isPropagationStopped:xe,isImmediatePropagationStopped:xe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=we,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},function(t,e){C.event.special[t]={setup:function(){return Ce(this,t,ke),!1},trigger:function(){return Ce(this,t),!0},_default:function(e){return G.get(e.target,t)},delegateType:e}}),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,s){C.event.special[e]={delegateType:s,bindType:s,handle:function(e){var t,i=e.relatedTarget,n=e.handleObj;return i&&(i===this||C.contains(this,i))||(e.type=n.origType,t=n.handler.apply(this,arguments),e.type=s),t}}}),C.fn.extend({on:function(e,t,i,n){return De(this,e,t,i,n)},one:function(e,t,i,n){return De(this,e,t,i,n,1)},off:function(e,t,i){var n,s;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,C(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(s in e)this.off(s,t,e[s]);return this}return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=xe),this.each(function(){C.event.remove(this,e,i,t)})}});var Se=/<script|<style|<link/i,Te=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Pe(e,t){return T(e,"table")&&T(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ae(e,t){var i,n,s,r,o,a;if(1===t.nodeType){if(G.hasData(e)&&(a=G.get(e).events))for(s in G.remove(t,"handle events"),a)for(i=0,n=a[s].length;i<n;i++)C.event.add(t,s,a[s][i]);K.hasData(e)&&(r=K.access(e),o=C.extend({},r),K.set(t,o))}}function Ee(i,n,s,r){n=m(n);var e,t,o,a,l,u,c=0,h=i.length,d=h-1,p=n[0],f=y(p);if(f||1<h&&"string"==typeof p&&!v.checkClone&&Te.test(p))return i.each(function(e){var t=i.eq(e);f&&(n[0]=p.call(this,e,t.html())),Ee(t,n,s,r)});if(h&&(t=(e=be(n,i[0].ownerDocument,!1,i,r)).firstChild,1===e.childNodes.length&&(e=t),t||r)){for(a=(o=C.map(ge(e,"script"),Ie)).length;c<h;c++)l=e,c!==d&&(l=C.clone(l,!0,!0),a&&C.merge(o,ge(l,"script"))),s.call(i[c],l,c);if(a)for(u=o[o.length-1].ownerDocument,C.map(o,Oe),c=0;c<a;c++)l=o[c],fe.test(l.type||"")&&!G.access(l,"globalEval")&&C.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?C._evalUrl&&!l.noModule&&C._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):_(l.textContent.replace(Me,""),l,u))}return i}function He(e,t,i){for(var n,s=t?C.filter(t,e):e,r=0;null!=(n=s[r]);r++)i||1!==n.nodeType||C.cleanData(ge(n)),n.parentNode&&(i&&se(n)&&ve(ge(n,"script")),n.parentNode.removeChild(n));return e}C.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,s,r,o,a,l,u,c=e.cloneNode(!0),h=se(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(o=ge(c),n=0,s=(r=ge(e)).length;n<s;n++)a=r[n],l=o[n],void 0,"input"===(u=l.nodeName.toLowerCase())&&de.test(a.type)?l.checked=a.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=a.defaultValue);if(t)if(i)for(r=r||ge(e),o=o||ge(c),n=0,s=r.length;n<s;n++)Ae(r[n],o[n]);else Ae(e,c);return 0<(o=ge(c,"script")).length&&ve(o,!h&&ge(e,"script")),c},cleanData:function(e){for(var t,i,n,s=C.event.special,r=0;void 0!==(i=e[r]);r++)if(Q(i)){if(t=i[G.expando]){if(t.events)for(n in t.events)s[n]?C.event.remove(i,n):C.removeEvent(i,n,t.handle);i[G.expando]=void 0}i[K.expando]&&(i[K.expando]=void 0)}}}),C.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return F(this,function(e){return void 0===e?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ee(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pe(this,e).appendChild(e)})},prepend:function(){return Ee(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Pe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ee(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ee(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return F(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Se.test(e)&&!me[(pe.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(C.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var i=[];return Ee(this,arguments,function(e){var t=this.parentNode;C.inArray(this,i)<0&&(C.cleanData(ge(this)),t&&t.replaceChild(e,this))},i)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,o){C.fn[e]=function(e){for(var t,i=[],n=C(e),s=n.length-1,r=0;r<=s;r++)t=r===s?this:this.clone(!0),C(n[r])[o](t),l.apply(i,t.get());return this.pushStack(i)}});var Ne=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),je=/^--/,Re=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=k),t.getComputedStyle(e)},ze=function(e,t,i){var n,s,r={};for(s in t)r[s]=e.style[s],e.style[s]=t[s];for(s in n=i.call(e),t)e.style[s]=r[s];return n},Le=new RegExp(ie.join("|"),"i"),Ye="[\\x20\\t\\r\\n\\f]",We=new RegExp("^"+Ye+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ye+"+$","g");function Fe(e,t,i){var n,s,r,o,a=je.test(t),l=e.style;return(i=i||Re(e))&&(o=i.getPropertyValue(t)||i[t],a&&o&&(o=o.replace(We,"$1")||void 0),""!==o||se(e)||(o=C.style(e,t)),!v.pixelBoxStyles()&&Ne.test(o)&&Le.test(t)&&(n=l.width,s=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=o,o=i.width,l.width=n,l.minWidth=s,l.maxWidth=r)),void 0!==o?o+"":o}function qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ne.appendChild(l).appendChild(u);var e=k.getComputedStyle(u);i="1%"!==e.top,a=12===t(e.marginLeft),u.style.right="60%",r=36===t(e.right),n=36===t(e.width),u.style.position="absolute",s=12===t(u.offsetWidth/3),ne.removeChild(l),u=null}}function t(e){return Math.round(parseFloat(e))}var i,n,s,r,o,a,l=D.createElement("div"),u=D.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,C.extend(v,{boxSizingReliable:function(){return e(),n},pixelBoxStyles:function(){return e(),r},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),a},scrollboxSize:function(){return e(),s},reliableTrDimensions:function(){var e,t,i,n;return null==o&&(e=D.createElement("table"),t=D.createElement("tr"),i=D.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",ne.appendChild(e).appendChild(t).appendChild(i),n=k.getComputedStyle(t),o=parseInt(n.height,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10)===t.offsetHeight,ne.removeChild(e)),o}}))}();var Be=["Webkit","Moz","ms"],Ue=D.createElement("div").style,Ve={};function Qe(e){var t=C.cssProps[e]||Ve[e];return t||(e in Ue?e:Ve[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),i=Be.length;while(i--)if((e=Be[i]+t)in Ue)return e}(e)||e)}var $e=/^(none|table(?!-c[ea]).+)/,Ge={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function Xe(e,t,i){var n=te.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function Ze(e,t,i,n,s,r){var o="width"===t?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(l+=C.css(e,i+ie[o],!0,s)),n?("content"===i&&(l-=C.css(e,"padding"+ie[o],!0,s)),"margin"!==i&&(l-=C.css(e,"border"+ie[o]+"Width",!0,s))):(l+=C.css(e,"padding"+ie[o],!0,s),"padding"!==i?l+=C.css(e,"border"+ie[o]+"Width",!0,s):a+=C.css(e,"border"+ie[o]+"Width",!0,s));return!n&&0<=r&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-a-.5))||0),l}function Je(e,t,i){var n=Re(e),s=(!v.boxSizingReliable()||i)&&"border-box"===C.css(e,"boxSizing",!1,n),r=s,o=Fe(e,t,n),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ne.test(o)){if(!i)return o;o="auto"}return(!v.boxSizingReliable()&&s||!v.reliableTrDimensions()&&T(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===C.css(e,"display",!1,n))&&e.getClientRects().length&&(s="border-box"===C.css(e,"boxSizing",!1,n),(r=a in e)&&(o=e[a])),(o=parseFloat(o)||0)+Ze(e,t,i||(s?"border":"content"),r,n,o)+"px"}function et(e,t,i,n,s){return new et.prototype.init(e,t,i,n,s)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=Fe(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,r,o,a=V(t),l=je.test(t),u=e.style;if(l||(t=Qe(a)),o=C.cssHooks[t]||C.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(s=o.get(e,!1,n))?s:u[t];"string"===(r=typeof i)&&(s=te.exec(i))&&s[1]&&(i=ae(e,t,s),r="number"),null!=i&&i==i&&("number"!==r||l||(i+=s&&s[3]||(C.cssNumber[a]?"":"px")),v.clearCloneStyle||""!==i||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(i=o.set(e,i,n))||(l?u.setProperty(t,i):u[t]=i))}},css:function(e,t,i,n){var s,r,o,a=V(t);return je.test(t)||(t=Qe(a)),(o=C.cssHooks[t]||C.cssHooks[a])&&"get"in o&&(s=o.get(e,!0,i)),void 0===s&&(s=Fe(e,t,n)),"normal"===s&&t in Ke&&(s=Ke[t]),""===i||i?(r=parseFloat(s),!0===i||isFinite(r)?r||0:s):s}}),C.each(["height","width"],function(e,l){C.cssHooks[l]={get:function(e,t,i){if(t)return!$e.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Je(e,l,i):ze(e,Ge,function(){return Je(e,l,i)})},set:function(e,t,i){var n,s=Re(e),r=!v.scrollboxSize()&&"absolute"===s.position,o=(r||i)&&"border-box"===C.css(e,"boxSizing",!1,s),a=i?Ze(e,l,i,o,s):0;return o&&r&&(a-=Math.ceil(e["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(s[l])-Ze(e,l,"border",!1,s)-.5)),a&&(n=te.exec(t))&&"px"!==(n[3]||"px")&&(e.style[l]=t,t=C.css(e,l)),Xe(0,t,a)}}}),C.cssHooks.marginLeft=qe(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-ze(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(s,r){C.cssHooks[s+r]={expand:function(e){for(var t=0,i={},n="string"==typeof e?e.split(" "):[e];t<4;t++)i[s+ie[t]+r]=n[t]||n[t-2]||n[0];return i}},"margin"!==s&&(C.cssHooks[s+r].set=Xe)}),C.fn.extend({css:function(e,t){return F(this,function(e,t,i){var n,s,r={},o=0;if(Array.isArray(t)){for(n=Re(e),s=t.length;o<s;o++)r[t[o]]=C.css(e,t[o],!1,n);return r}return void 0!==i?C.style(e,t,i):C.css(e,t)},e,t,1<arguments.length)}}),((C.Tween=et).prototype={constructor:et,init:function(e,t,i,n,s,r){this.elem=e,this.prop=i,this.easing=s||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=r||(C.cssNumber[i]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,i=et.propHooks[this.prop];return this.options.duration?this.pos=t=C.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.set(this):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||!C.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=et.prototype.init,C.fx.step={};var tt,it,nt,st,rt=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){it&&(!1===D.hidden&&k.requestAnimationFrame?k.requestAnimationFrame(at):k.setTimeout(at,C.fx.interval),C.fx.tick())}function lt(){return k.setTimeout(function(){tt=void 0}),tt=Date.now()}function ut(e,t){var i,n=0,s={height:e};for(t=t?1:0;n<4;n+=2-t)s["margin"+(i=ie[n])]=s["padding"+i]=e;return t&&(s.opacity=s.width=e),s}function ct(e,t,i){for(var n,s=(ht.tweeners[t]||[]).concat(ht.tweeners["*"]),r=0,o=s.length;r<o;r++)if(n=s[r].call(i,t,e))return n}function ht(r,e,t){var i,o,n=0,s=ht.prefilters.length,a=C.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=tt||lt(),t=Math.max(0,u.startTime+u.duration-e),i=1-(t/u.duration||0),n=0,s=u.tweens.length;n<s;n++)u.tweens[n].run(i);return a.notifyWith(r,[u,i,t]),i<1&&s?t:(s||a.notifyWith(r,[u,1,0]),a.resolveWith(r,[u]),!1)},u=a.promise({elem:r,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},t),originalProperties:e,originalOptions:t,startTime:tt||lt(),duration:t.duration,tweens:[],createTween:function(e,t){var i=C.Tween(r,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var t=0,i=e?u.tweens.length:0;if(o)return this;for(o=!0;t<i;t++)u.tweens[t].run(1);return e?(a.notifyWith(r,[u,1,0]),a.resolveWith(r,[u,e])):a.rejectWith(r,[u,e]),this}}),c=u.props;for(!function(e,t){var i,n,s,r,o;for(i in e)if(s=t[n=V(i)],r=e[i],Array.isArray(r)&&(s=r[1],r=e[i]=r[0]),i!==n&&(e[n]=r,delete e[i]),(o=C.cssHooks[n])&&"expand"in o)for(i in r=o.expand(r),delete e[n],r)i in e||(e[i]=r[i],t[i]=s);else t[n]=s}(c,u.opts.specialEasing);n<s;n++)if(i=ht.prefilters[n].call(u,r,c,u.opts))return y(i.stop)&&(C._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return C.map(c,ct,u),y(u.opts.start)&&u.opts.start.call(r,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),C.fx.timer(C.extend(l,{elem:r,anim:u,queue:u.opts.queue})),u}C.Animation=C.extend(ht,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return ae(i.elem,e,te.exec(t),i),i}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(N);for(var i,n=0,s=e.length;n<s;n++)i=e[n],ht.tweeners[i]=ht.tweeners[i]||[],ht.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,s,r,o,a,l,u,c,h="width"in t||"height"in t,d=this,p={},f=e.style,m=e.nodeType&&oe(e),g=G.get(e,"fxshow");for(n in i.queue||(null==(o=C._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,d.always(function(){d.always(function(){o.unqueued--,C.queue(e,"fx").length||o.empty.fire()})})),t)if(s=t[n],rt.test(s)){if(delete t[n],r=r||"toggle"===s,s===(m?"hide":"show")){if("show"!==s||!g||void 0===g[n])continue;m=!0}p[n]=g&&g[n]||C.style(e,n)}if((l=!C.isEmptyObject(t))||!C.isEmptyObject(p))for(n in h&&1===e.nodeType&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],null==(u=g&&g.display)&&(u=G.get(e,"display")),"none"===(c=C.css(e,"display"))&&(u?c=u:(ue([e],!0),u=e.style.display||u,c=C.css(e,"display"),ue([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===C.css(e,"float")&&(l||(d.done(function(){f.display=u}),null==u&&(c=f.display,u="none"===c?"":c)),f.display="inline-block")),i.overflow&&(f.overflow="hidden",d.always(function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]})),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=G.access(e,"fxshow",{display:u}),r&&(g.hidden=!m),m&&ue([e],!0),d.done(function(){for(n in m||ue([e]),G.remove(e,"fxshow"),p)C.style(e,n,p[n])})),l=ct(m?g[n]:0,n,d),n in g||(g[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?ht.prefilters.unshift(e):ht.prefilters.push(e)}}),C.speed=function(e,t,i){var n=e&&"object"==typeof e?C.extend({},e):{complete:i||!i&&t||y(e)&&e,duration:e,easing:i&&t||t&&!y(t)&&t};return C.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in C.fx.speeds?n.duration=C.fx.speeds[n.duration]:n.duration=C.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){y(n.old)&&n.old.call(this),n.queue&&C.dequeue(this,n.queue)},n},C.fn.extend({fadeTo:function(e,t,i,n){return this.filter(oe).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(t,e,i,n){var s=C.isEmptyObject(t),r=C.speed(e,i,n),o=function(){var e=ht(this,C.extend({},t),r);(s||G.get(this,"finish"))&&e.stop(!0)};return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(s,e,r){var o=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof s&&(r=e,e=s,s=void 0),e&&this.queue(s||"fx",[]),this.each(function(){var e=!0,t=null!=s&&s+"queueHooks",i=C.timers,n=G.get(this);if(t)n[t]&&n[t].stop&&o(n[t]);else for(t in n)n[t]&&n[t].stop&&ot.test(t)&&o(n[t]);for(t=i.length;t--;)i[t].elem!==this||null!=s&&i[t].queue!==s||(i[t].anim.stop(r),e=!1,i.splice(t,1));!e&&r||C.dequeue(this,s)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var e,t=G.get(this),i=t[o+"queue"],n=t[o+"queueHooks"],s=C.timers,r=i?i.length:0;for(t.finish=!0,C.queue(this,o,[]),n&&n.stop&&n.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===o&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<r;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete t.finish})}}),C.each(["toggle","show","hide"],function(e,n){var s=C.fn[n];C.fn[n]=function(e,t,i){return null==e||"boolean"==typeof e?s.apply(this,arguments):this.animate(ut(n,!0),e,t,i)}}),C.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){C.fn[e]=function(e,t,i){return this.animate(n,e,t,i)}}),C.timers=[],C.fx.tick=function(){var e,t=0,i=C.timers;for(tt=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||C.fx.stop(),tt=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){it||(it=!0,at())},C.fx.stop=function(){it=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(n,e){return n=C.fx&&C.fx.speeds[n]||n,e=e||"fx",this.queue(e,function(e,t){var i=k.setTimeout(e,n);t.stop=function(){k.clearTimeout(i)}})},nt=D.createElement("input"),st=D.createElement("select").appendChild(D.createElement("option")),nt.type="checkbox",v.checkOn=""!==nt.value,v.optSelected=st.selected,(nt=D.createElement("input")).value="t",nt.type="radio",v.radioValue="t"===nt.value;var dt,pt=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return F(this,C.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,i){var n,s,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"==typeof e.getAttribute?C.prop(e,t,i):(1===r&&C.isXMLDoc(e)||(s=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?dt:void 0)),void 0!==i?null===i?void C.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))?n:null==(n=C.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&T(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n=0,s=t&&t.match(N);if(s&&1===e.nodeType)while(i=s[n++])e.removeAttribute(i)}}),dt={set:function(e,t,i){return!1===t?C.removeAttr(e,i):e.setAttribute(i,i),i}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var o=pt[t]||C.find.attr;pt[t]=function(e,t,i){var n,s,r=t.toLowerCase();return i||(s=pt[r],pt[r]=n,n=null!=o(e,t,i)?r:null,pt[r]=s),n}});var ft=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function gt(e){return(e.match(N)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function yt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}C.fn.extend({prop:function(e,t){return F(this,C.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,i){var n,s,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&C.isXMLDoc(e)||(t=C.propFix[t]||t,s=C.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=C.find.attr(e,"tabindex");return t?parseInt(t,10):ft.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(t){var e,i,n,s,r,o;return y(t)?this.each(function(e){C(this).addClass(t.call(this,e,vt(this)))}):(e=yt(t)).length?this.each(function(){if(n=vt(this),i=1===this.nodeType&&" "+gt(n)+" "){for(r=0;r<e.length;r++)s=e[r],i.indexOf(" "+s+" ")<0&&(i+=s+" ");o=gt(i),n!==o&&this.setAttribute("class",o)}}):this},removeClass:function(t){var e,i,n,s,r,o;return y(t)?this.each(function(e){C(this).removeClass(t.call(this,e,vt(this)))}):arguments.length?(e=yt(t)).length?this.each(function(){if(n=vt(this),i=1===this.nodeType&&" "+gt(n)+" "){for(r=0;r<e.length;r++){s=e[r];while(-1<i.indexOf(" "+s+" "))i=i.replace(" "+s+" "," ")}o=gt(i),n!==o&&this.setAttribute("class",o)}}):this:this.attr("class","")},toggleClass:function(t,i){var e,n,s,r,o=typeof t,a="string"===o||Array.isArray(t);return y(t)?this.each(function(e){C(this).toggleClass(t.call(this,e,vt(this),i),i)}):"boolean"==typeof i&&a?i?this.addClass(t):this.removeClass(t):(e=yt(t),this.each(function(){if(a)for(r=C(this),s=0;s<e.length;s++)n=e[s],r.hasClass(n)?r.removeClass(n):r.addClass(n);else void 0!==t&&"boolean"!==o||((n=vt(this))&&G.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":G.get(this,"__className__")||""))}))},hasClass:function(e){var t,i,n=0;t=" "+e+" ";while(i=this[n++])if(1===i.nodeType&&-1<(" "+gt(vt(i))+" ").indexOf(t))return!0;return!1}});var bt=/\r/g;C.fn.extend({val:function(i){var n,e,s,t=this[0];return arguments.length?(s=y(i),this.each(function(e){var t;1===this.nodeType&&(null==(t=s?i.call(this,e,C(this).val()):i)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=C.map(t,function(e){return null==e?"":e+""})),(n=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,t,"value")||(this.value=t))})):t?(n=C.valHooks[t.type]||C.valHooks[t.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(bt,""):null==e?"":e:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:gt(C.text(e))}},select:{get:function(e){var t,i,n,s=e.options,r=e.selectedIndex,o="select-one"===e.type,a=o?null:[],l=o?r+1:s.length;for(n=r<0?l:o?r:0;n<l;n++)if(((i=s[n]).selected||n===r)&&!i.disabled&&(!i.parentNode.disabled||!T(i.parentNode,"optgroup"))){if(t=C(i).val(),o)return t;a.push(t)}return a},set:function(e,t){var i,n,s=e.options,r=C.makeArray(t),o=s.length;while(o--)((n=s[o]).selected=-1<C.inArray(C.valHooks.option.get(n),r))&&(i=!0);return i||(e.selectedIndex=-1),r}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<C.inArray(C(e).val(),t)}},v.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in k;var _t=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,i,n){var s,r,o,a,l,u,c,h,d=[i||D],p=g.call(e,"type")?e.type:e,f=g.call(e,"namespace")?e.namespace.split("."):[];if(r=h=o=i=i||D,3!==i.nodeType&&8!==i.nodeType&&!_t.test(p+C.event.triggered)&&(-1<p.indexOf(".")&&(p=(f=p.split(".")).shift(),f.sort()),l=p.indexOf(":")<0&&"on"+p,(e=e[C.expando]?e:new C.Event(p,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:C.makeArray(t,[e]),c=C.event.special[p]||{},n||!c.trigger||!1!==c.trigger.apply(i,t))){if(!n&&!c.noBubble&&!b(i)){for(a=c.delegateType||p,_t.test(a+p)||(r=r.parentNode);r;r=r.parentNode)d.push(r),o=r;o===(i.ownerDocument||D)&&d.push(o.defaultView||o.parentWindow||k)}s=0;while((r=d[s++])&&!e.isPropagationStopped())h=r,e.type=1<s?a:c.bindType||p,(u=(G.get(r,"events")||Object.create(null))[e.type]&&G.get(r,"handle"))&&u.apply(r,t),(u=l&&r[l])&&u.apply&&Q(r)&&(e.result=u.apply(r,t),!1===e.result&&e.preventDefault());return e.type=p,n||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!Q(i)||l&&y(i[p])&&!b(i)&&((o=i[l])&&(i[l]=null),C.event.triggered=p,e.isPropagationStopped()&&h.addEventListener(p,wt),i[p](),e.isPropagationStopped()&&h.removeEventListener(p,wt),C.event.triggered=void 0,o&&(i[l]=o)),e.result}},simulate:function(e,t,i){var n=C.extend(new C.Event,i,{type:e,isSimulated:!0});C.event.trigger(n,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return C.event.trigger(e,t,i,!0)}}),v.focusin||C.each({focus:"focusin",blur:"focusout"},function(i,n){var s=function(e){C.event.simulate(n,e.target,C.event.fix(e))};C.event.special[n]={setup:function(){var e=this.ownerDocument||this.document||this,t=G.access(e,n);t||e.addEventListener(i,s,!0),G.access(e,n,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=G.access(e,n)-1;t?G.access(e,n,t):(e.removeEventListener(i,s,!0),G.remove(e,n))}}});var xt=k.location,kt={guid:Date.now()},Dt=/\?/;C.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{t=(new k.DOMParser).parseFromString(e,"text/xml")}catch(e){}return i=t&&t.getElementsByTagName("parsererror")[0],t&&!i||C.error("Invalid XML: "+(i?C.map(i.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Ct=/\[\]$/,St=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Mt=/^(?:input|select|textarea|keygen)/i;function Pt(i,e,n,s){var t;if(Array.isArray(e))C.each(e,function(e,t){n||Ct.test(i)?s(i,t):Pt(i+"["+("object"==typeof t&&null!=t?e:"")+"]",t,n,s)});else if(n||"object"!==w(e))s(i,e);else for(t in e)Pt(i+"["+t+"]",e[t],n,s)}C.param=function(e,t){var i,n=[],s=function(e,t){var i=y(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==i?"":i)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){s(this.name,this.value)});else for(i in e)Pt(i,e[i],t,s);return n.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&Mt.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!de.test(e))}).map(function(e,t){var i=C(this).val();return null==i?null:Array.isArray(i)?C.map(i,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:i.replace(St,"\r\n")}}).get()}});var It=/%20/g,Ot=/#.*$/,At=/([?&])_=[^&]*/,Et=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:GET|HEAD)$/,Nt=/^\/\//,jt={},Rt={},zt="*/".concat("*"),Lt=D.createElement("a");function Yt(r){return function(e,t){"string"!=typeof e&&(t=e,e="*");var i,n=0,s=e.toLowerCase().match(N)||[];if(y(t))while(i=s[n++])"+"===i[0]?(i=i.slice(1)||"*",(r[i]=r[i]||[]).unshift(t)):(r[i]=r[i]||[]).push(t)}}function Wt(t,s,r,o){var a={},l=t===Rt;function u(e){var n;return a[e]=!0,C.each(t[e]||[],function(e,t){var i=t(s,r,o);return"string"!=typeof i||l||a[i]?l?!(n=i):void 0:(s.dataTypes.unshift(i),u(i),!1)}),n}return u(s.dataTypes[0])||!a["*"]&&u("*")}function Ft(e,t){var i,n,s=C.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((s[i]?e:n||(n={}))[i]=t[i]);return n&&C.extend(!0,e,n),e}Lt.href=xt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,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":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ft(Ft(e,C.ajaxSettings),t):Ft(C.ajaxSettings,e)},ajaxPrefilter:Yt(jt),ajaxTransport:Yt(Rt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,h,d,i,p,n,f,m,s,r,g=C.ajaxSetup({},t),v=g.context||g,y=g.context&&(v.nodeType||v.jquery)?C(v):C.event,b=C.Deferred(),_=C.Callbacks("once memory"),w=g.statusCode||{},o={},a={},l="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(f){if(!i){i={};while(t=Et.exec(d))i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return f?d:null},setRequestHeader:function(e,t){return null==f&&(e=a[e.toLowerCase()]=a[e.toLowerCase()]||e,o[e]=t),this},overrideMimeType:function(e){return null==f&&(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(f)x.always(e[x.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||l;return c&&c.abort(t),u(0,t),this}};if(b.promise(x),g.url=((e||g.url||xt.href)+"").replace(Nt,xt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(N)||[""],null==g.crossDomain){n=D.createElement("a");try{n.href=g.url,n.href=n.href,g.crossDomain=Lt.protocol+"//"+Lt.host!=n.protocol+"//"+n.host}catch(e){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=C.param(g.data,g.traditional)),Wt(jt,g,t,x),f)return x;for(s in(m=C.event&&g.global)&&0==C.active++&&C.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Ht.test(g.type),h=g.url.replace(Ot,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(It,"+")):(r=g.url.slice(h.length),g.data&&(g.processData||"string"==typeof g.data)&&(h+=(Dt.test(h)?"&":"?")+g.data,delete g.data),!1===g.cache&&(h=h.replace(At,"$1"),r=(Dt.test(h)?"&":"?")+"_="+kt.guid+++r),g.url=h+r),g.ifModified&&(C.lastModified[h]&&x.setRequestHeader("If-Modified-Since",C.lastModified[h]),C.etag[h]&&x.setRequestHeader("If-None-Match",C.etag[h])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&x.setRequestHeader("Content-Type",g.contentType),x.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+zt+"; q=0.01":""):g.accepts["*"]),g.headers)x.setRequestHeader(s,g.headers[s]);if(g.beforeSend&&(!1===g.beforeSend.call(v,x,g)||f))return x.abort();if(l="abort",_.add(g.complete),x.done(g.success),x.fail(g.error),c=Wt(Rt,g,t,x)){if(x.readyState=1,m&&y.trigger("ajaxSend",[x,g]),f)return x;g.async&&0<g.timeout&&(p=k.setTimeout(function(){x.abort("timeout")},g.timeout));try{f=!1,c.send(o,u)}catch(e){if(f)throw e;u(-1,e)}}else u(-1,"No Transport");function u(e,t,i,n){var s,r,o,a,l,u=t;f||(f=!0,p&&k.clearTimeout(p),c=void 0,d=n||"",x.readyState=0<e?4:0,s=200<=e&&e<300||304===e,i&&(a=function(e,t,i){var n,s,r,o,a=e.contents,l=e.dataTypes;while("*"===l[0])l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){l.unshift(s);break}if(l[0]in i)r=l[0];else{for(s in i){if(!l[0]||e.converters[s+" "+l[0]]){r=s;break}o||(o=s)}r=r||o}if(r)return r!==l[0]&&l.unshift(r),i[r]}(g,x,i)),!s&&-1<C.inArray("script",g.dataTypes)&&C.inArray("json",g.dataTypes)<0&&(g.converters["text script"]=function(){}),a=function(e,t,i,n){var s,r,o,a,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];r=c.shift();while(r)if(e.responseFields[r]&&(i[e.responseFields[r]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=u[l+" "+r]||u["* "+r]))for(s in u)if((a=s.split(" "))[1]===r&&(o=u[l+" "+a[0]]||u["* "+a[0]])){!0===o?o=u[s]:!0!==u[s]&&(r=a[0],c.unshift(a[1]));break}if(!0!==o)if(o&&e["throws"])t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(g,a,x,s),s?(g.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(C.lastModified[h]=l),(l=x.getResponseHeader("etag"))&&(C.etag[h]=l)),204===e||"HEAD"===g.type?u="nocontent":304===e?u="notmodified":(u=a.state,r=a.data,s=!(o=a.error))):(o=u,!e&&u||(u="error",e<0&&(e=0))),x.status=e,x.statusText=(t||u)+"",s?b.resolveWith(v,[r,u,x]):b.rejectWith(v,[x,u,o]),x.statusCode(w),w=void 0,m&&y.trigger(s?"ajaxSuccess":"ajaxError",[x,g,s?r:o]),_.fireWith(v,[x,u]),m&&(y.trigger("ajaxComplete",[x,g]),--C.active||C.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,i){return C.get(e,t,i,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,s){C[s]=function(e,t,i,n){return y(t)&&(n=n||i,i=t,t=void 0),C.ajax(C.extend({url:e,type:s,dataType:n,data:t,success:i},C.isPlainObject(e)&&e))}}),C.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),C._evalUrl=function(e,t,i){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){C.globalEval(e,t,i)}})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(i){return y(i)?this.each(function(e){C(this).wrapInner(i.call(this,e))}):this.each(function(){var e=C(this),t=e.contents();t.length?t.wrapAll(i):e.append(i)})},wrap:function(t){var i=y(t);return this.each(function(e){C(this).wrapAll(i?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new k.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},Bt=C.ajaxSettings.xhr();v.cors=!!Bt&&"withCredentials"in Bt,v.ajax=Bt=!!Bt,C.ajaxTransport(function(s){var r,o;if(v.cors||Bt&&!s.crossDomain)return{send:function(e,t){var i,n=s.xhr();if(n.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(i in s.xhrFields)n[i]=s.xhrFields[i];for(i in s.mimeType&&n.overrideMimeType&&n.overrideMimeType(s.mimeType),s.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)n.setRequestHeader(i,e[i]);r=function(e){return function(){r&&(r=o=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null,"abort"===e?n.abort():"error"===e?"number"!=typeof n.status?t(0,"error"):t(n.status,n.statusText):t(qt[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=r(),o=n.onerror=n.ontimeout=r("error"),void 0!==n.onabort?n.onabort=o:n.onreadystatechange=function(){4===n.readyState&&k.setTimeout(function(){r&&o()})},r=r("abort");try{n.send(s.hasContent&&s.data||null)}catch(e){if(r)throw e}},abort:function(){r&&r()}}}),C.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),C.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 C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(i){var n,s;if(i.crossDomain||i.scriptAttrs)return{send:function(e,t){n=C("<script>").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",s=function(e){n.remove(),s=null,e&&t("error"===e.type?404:200,e.type)}),D.head.appendChild(n[0])},abort:function(){s&&s()}}});var Ut,Vt=[],Qt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Vt.pop()||C.expando+"_"+kt.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",function(e,t,i){var n,s,r,o=!1!==e.jsonp&&(Qt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return n=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(Qt,"$1"+n):!1!==e.jsonp&&(e.url+=(Dt.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return r||C.error(n+" was not called"),r[0]},e.dataTypes[0]="json",s=k[n],k[n]=function(){r=arguments},i.always(function(){void 0===s?C(k).removeProp(n):k[n]=s,e[n]&&(e.jsonpCallback=t.jsonpCallback,Vt.push(n)),r&&y(s)&&s(r[0]),r=s=void 0}),"script"}),v.createHTMLDocument=((Ut=D.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ut.childNodes.length),C.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(v.createHTMLDocument?((n=(t=D.implementation.createHTMLDocument("")).createElement("base")).href=D.location.href,t.head.appendChild(n)):t=D),r=!i&&[],(s=M.exec(e))?[t.createElement(s[1])]:(s=be([e],t,r),r&&r.length&&C(r).remove(),C.merge([],s.childNodes)));var n,s,r},C.fn.load=function(e,t,i){var n,s,r,o=this,a=e.indexOf(" ");return-1<a&&(n=gt(e.slice(a)),e=e.slice(0,a)),y(t)?(i=t,t=void 0):t&&"object"==typeof t&&(s="POST"),0<o.length&&C.ajax({url:e,type:s||"GET",dataType:"html",data:t}).done(function(e){r=arguments,o.html(n?C("<div>").append(C.parseHTML(e)).find(n):e)}).always(i&&function(e,t){o.each(function(){i.apply(this,r||[e.responseText,t,e])})}),this},C.expr.pseudos.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(e,t,i){var n,s,r,o,a,l,u=C.css(e,"position"),c=C(e),h={};"static"===u&&(e.style.position="relative"),a=c.offset(),r=C.css(e,"to
2p"),l=C.css(e,"left"),("absolute"===u||"fixed"===u)&&-1<(r+l).indexOf("auto")?(o=(n=c.position()).top,s=n.left):(o=parseFloat(r)||0,s=parseFloat(l)||0),y(t)&&(t=t.call(e,i,C.extend({},a))),null!=t.top&&(h.top=t.top-a.top+o),null!=t.left&&(h.left=t.left-a.left+s),"using"in t?t.using.call(e,h):c.css(h)}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){C.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],s={top:0,left:0};if("fixed"===C.css(n,"position"))t=n.getBoundingClientRect();else{t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;while(e&&(e===i.body||e===i.documentElement)&&"static"===C.css(e,"position"))e=e.parentNode;e&&e!==n&&1===e.nodeType&&((s=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),s.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-s.top-C.css(n,"marginTop",!0),left:t.left-s.left-C.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===C.css(e,"position"))e=e.offsetParent;return e||ne})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,s){var r="pageYOffset"===s;C.fn[t]=function(e){return F(this,function(e,t,i){var n;if(b(e)?n=e:9===e.nodeType&&(n=e.defaultView),void 0===i)return n?n[s]:e[t];n?n.scrollTo(r?n.pageXOffset:i,r?i:n.pageYOffset):e[t]=i},t,e,arguments.length)}}),C.each(["top","left"],function(e,i){C.cssHooks[i]=qe(v.pixelPosition,function(e,t){if(t)return t=Fe(e,i),Ne.test(t)?C(e).position()[i]+"px":t})}),C.each({Height:"height",Width:"width"},function(o,a){C.each({padding:"inner"+o,content:a,"":"outer"+o},function(n,r){C.fn[r]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),s=n||(!0===e||!0===t?"margin":"border");return F(this,function(e,t,i){var n;return b(e)?0===r.indexOf("outer")?e["inner"+o]: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?C.css(e,t,s):C.style(e,t,i,s)},a,i?e:void 0,i)}})}),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){C.fn[t]=function(e){return this.on(t,e)}}),C.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)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,i){C.fn[i]=function(e,t){return 0<arguments.length?this.on(i,null,e,t):this.trigger(i)}});var $t=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;C.proxy=function(e,t){var i,n,s;if("string"==typeof t&&(i=e[t],t=e,e=i),y(e))return n=a.call(arguments,2),(s=function(){return e.apply(t||this,n.concat(a.call(arguments)))}).guid=e.guid=e.guid||C.guid++,s},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=T,C.isFunction=y,C.isWindow=b,C.camelCase=V,C.type=w,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},C.trim=function(e){return null==e?"":(e+"").replace($t,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return C});var Gt=k.jQuery,Kt=k.$;return C.noConflict=function(e){return k.$===C&&(k.$=Kt),e&&k.jQuery===C&&(k.jQuery=Gt),C},"undefined"==typeof e&&(k.jQuery=k.$=C),C});
3/*! jQuery Migrate v3.4.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(a,n){"use strict";function e(e){return 0<=function(e,t){for(var i=/^(\d+)\.(\d+)\.(\d+)/,n=i.exec(e)||[],s=i.exec(t)||[],r=1;r<=3;r++){if(+n[r]>+s[r])return 1;if(+n[r]<+s[r])return-1}return 0}(a.fn.jquery,e)}a.migrateVersion="3.4.0";var t=Object.create(null),s=(a.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},a.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},a.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(a&&e("3.0.0")||n.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),a.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(a.migrateMute?"":" with logging active")+", version "+a.migrateVersion)),{});function o(e,t){var i=n.console;!a.migrateIsPatchEnabled(e)||a.migrateDeduplicateWarnings&&s[t]||(s[t]=!0,a.migrateWarnings.push(t+" ["+e+"]"),i&&i.warn&&!a.migrateMute&&(i.warn("JQMIGRATE: "+t),a.migrateTrace&&i.trace&&i.trace()))}function i(e,t,i,n,s){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return o(n,s),i},set:function(e){o(n,s),i=e}})}function r(e,t,i,n,s){var r=e[t];e[t]=function(){return s&&o(n,s),(a.migrateIsPatchEnabled(n)?i:r||a.noop).apply(this,arguments)}}function l(e,t,i,n,s){if(!s)throw new Error("No warning message provided");r(e,t,i,n,s)}function u(e,t,i,n){r(e,t,i,n)}a.migrateDeduplicateWarnings=!0,a.migrateWarnings=[],void 0===a.migrateTrace&&(a.migrateTrace=!0),a.migrateReset=function(){s={},a.migrateWarnings.length=0}
3,"BackCompat"===n.document.compatMode&&o("quirks","jQuery is not compatible with Quirks Mode");var c,h,d,p={},f=a.fn.init,m=a.find,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,v=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,y=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;for(c in u(a.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return a.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(o("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),f.apply(this,t)},"selector-empty-id"),a.fn.init.prototype=a.fn,u(a,"find",function(t){var i=Array.prototype.slice.call(arguments);if("string"==typeof t&&g.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(v,function(e,t,i,n){return"["+t+i+'"'+n+'"]'});try{n.document.querySelector(t),o("selector-hash","Attribute selector with '#' must be quoted: "+i[0]),i[0]=t}catch(e){o("selector-hash","Attribute selector with '#' was not fixed: "+i[0])}}return m.apply(this,i)},"selector-hash"),m)Object.prototype.hasOwnProperty.call(m,c)&&(a.find[c]=m[c]);l(a.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),l(a,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),l(a,"holdReady",a.holdReady,"holdReady","jQuery.holdReady is deprecated"),l(a,"unique",a.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),i(a.expr,"filters",a.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),i(a.expr,":",a.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&l(a,"trim",function(e){return null==e?"":(e+"").replace(y,"")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(l(a,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),l(a,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(l(a,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),a.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){p["[object "+t+"]"]=t.toLowerCase()}),l(a,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),l(a,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),l(a,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),a.ajax&&(h=a.ajax,d=/(=)\?(?=&|$)|\?\?/,u(a,"ajax",function(){var e=h.apply(this,arguments);return e.promise&&(l(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),l(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),l(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||a.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(d.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&d.test(e.data))&&o("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var b=a.fn.removeAttr,_=a.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}u(a.fn,"removeAttr",function(e){var i=this;return a.each(e.match(w),function(e,t){a.expr.match.bool.test(t)&&(o("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),i.prop(t,!1))}),b.apply(this,arguments)},"removeAttr-bool"),u(a.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?_.apply(this,arguments):(o("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&a.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&a.data(this,"__className__")||"")}))},"toggleClass-bool");var k,D=!1,C=/^[a-z]/,S=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;a.swap&&a.each(["height","width","reliableMarginRight"],function(e,t){var i=a.cssHooks[t]&&a.cssHooks[t].get;i&&(a.cssHooks[t].get=function(){var e;return D=!0,e=i.apply(this,arguments),D=!1,e})}),u(a,"swap",function(e,t,i,n){var s,r={};for(s in D||o("swap","jQuery.swap() is undocumented and deprecated"),t)r[s]=e.style[s],e.style[s]=t[s];for(s in i=i.apply(e,n||[]),t)e.style[s]=r[s];return i},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(a.cssProps=new Proxy(a.cssProps||{},{set:function(){return o("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")&&"undefined"!=typeof Proxy&&(a.cssNumber=new Proxy({animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},{get:function(){return o("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return o("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}})),k=a.fn.css,u(a.fn,"css",function(e,t){var i,n=this;return e&&"object"==typeof e&&!Array.isArray(e)?(a.each(e,function(e,t){a.fn.css.call(n,e,t)}),this):("number"==typeof t&&(t=x(e),i=t,C.test(i)&&S.test(i[0].toUpperCase()+i.slice(1))||a.cssNumber[t]||o("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),k.apply(this,arguments))},"css-number");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var M,P,I,O,A,E,H,N=a.data,j=(u(a,"data",function(e,t,i){var n,s,r;if(t&&"object"==typeof t&&2===arguments.length){for(r in n=a.hasData(e)&&N.call(this,e),s={},t)r!==x(r)?(o("data-camelCase","jQuery.data() always sets/gets camelCased names: "+r),n[r]=t[r]):s[r]=t[r];return N.call(this,e,s),t}return t&&"string"==typeof t&&t!==x(t)&&(n=a.hasData(e)&&N.call(this,e))&&t in n?(o("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=i),n[t]):N.apply(this,arguments)},"data-camelCase"),a.fx&&(I=a.Tween.prototype.run,O=function(e){return e},u(a.Tween.prototype,"run",function(){1<a.easing[this.easing].length&&(o("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),a.easing[this.easing]=O),I.apply(this,arguments)},"easing-one-arg"),M=a.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(a.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||o("fx-interval",P),a.migrateIsPatchEnabled("fx-interval")&&void 0===M?13:M},set:function(e){o("fx-interval",P),M=e}}
3)),a.fn.load),R=a.event.add,z=a.event.fix,L=(a.event.props=[],a.event.fixHooks={},i(a.event.props,"concat",a.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),u(a.event,"fix",function(e){var t=e.type,i=this.fixHooks[t],n=a.event.props;if(n.length){o("event-old-patch","jQuery.event.props are deprecated and removed: "+n.join());while(n.length)a.event.addProp(n.pop())}if(i&&!i._migrated_&&(i._migrated_=!0,o("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+t),(n=i.props)&&n.length))while(n.length)a.event.addProp(n.pop());return t=z.call(this,e),i&&i.filter?i.filter(t,e):t},"event-old-patch"),u(a.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&o("load-after-event","jQuery(window).on('load'...) called after load event occurred"),R.apply(this,arguments)},"load-after-event"),a.each(["load","unload","error"],function(e,t){u(a.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?j.apply(this,e):(o("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),a.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,i){l(a.fn,i,function(e,t){return 0<arguments.length?this.on(i,null,e,t):this.trigger(i)},"shorthand-deprecated-v3","jQuery.fn."+i+"() event shorthand is deprecated")}),a(function(){a(n.document).triggerHandler("ready")}),a.event.special.ready={setup:function(){this===n.document&&o("ready-event","'ready' event is deprecated")}},l(a.fn,"bind",function(e,t,i){return this.on(e,null,t,i)},"pre-on-methods","jQuery.fn.bind() is deprecated"),l(a.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),l(a.fn,"delegate",function(e,t,i,n){return this.on(t,e,i,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),l(a.fn,"undelegate",function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),l(a.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated"),/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi),Y=(a.UNSAFE_restoreLegacyHtmlPrefilter=function(){a.migrateEnablePatches("self-closed-tags")},u(a,"htmlPrefilter",function(e){var t,i;return(i=(t=e).replace(L,"<$1></$2>"))!==t&&T(t)!==T(i)&&o("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(L,"<$1></$2>")},"self-closed-tags"),a.migrateDisablePatches("self-closed-tags"),a.fn.offset);return u(a.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?Y.apply(this,arguments):(o("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),a.ajax&&(A=a.param,u(a,"param",function(e,t){var i=a.ajaxSettings&&a.ajaxSettings.traditional;return void 0===t&&i&&(o("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=i),A.call(this,e,t)},"param-ajax-traditional")),l(a.fn,"andSelf",a.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),a.Deferred&&(E=a.Deferred,H=[["resolve","done",a.Callbacks("once memory"),a.Callbacks("once memory"),"resolved"],["reject","fail",a.Callbacks("once memory"),a.Callbacks("once memory"),"rejected"],["notify","progress",a.Callbacks("memory"),a.Callbacks("memory")]],u(a,"Deferred",function(e){var r=E(),o=r.promise();function t(){var s=arguments;return a.Deferred(function(n){a.each(H,function(e,t){var i="function"==typeof s[e]&&s[e];r[t[1]](function(){var e=i&&i.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===o?n.promise():this,i?[e]:arguments)})}),s=null}).promise()}return l(r,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),l(o,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(r,r),r},"deferred-pipe"),a.Deferred.exceptionHook=E.exceptionHook),a});
4/*
5Respond.js v1.4.2
6Copyright (c) 2014 Scott Jehl
7
8Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
10The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
12THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13*/!function(e){"use strict";e.matchMedia=e.matchMedia||function(e){var t,i=e.documentElement,n=i.firstElementChild||i.firstChild,s=e.createElement("body"),r=e.createElement("div");return r.id="mq-test-1",r.style.cssText="position:absolute;top:-100em",s.style.background="none",s.appendChild(r),function(e){return r.innerHTML='&shy;<style media="'+e+'"> #mq-test-1 { width: 42px; }</style>',i.insertBefore(s,n),t=42===r.offsetWidth,i.removeChild(s),{matches:t,media:e}}}(e.document)}(this),function(y){"use strict";function e(){O(!0)}var p={};y.respond=p,p.update=function(){};var r=[],n=function(){var t=!1;try{t=new y.XMLHttpRequest}catch(e){t=new y.ActiveXObject("Microsoft.XMLHTTP")}return function(){return t}}(),i=function(e,t){var i=n();i&&(i.open("GET",e,!0),i.onreadystatechange=function(){4!==i.readyState||200!==i.status&&304!==i.status||t(i.responseText)},4!==i.readyState&&i.send(null))},f=function(e){return e.replace(p.regex.minmaxwh,"").match(p.regex.other)};if(p.ajax=i,p.queue=r,p.unsupportedmq=f,p.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},p.mediaQueriesSupported=y.matchMedia&&null!==y.matchMedia("only all")&&y.matchMedia("only all").matches,!p.mediaQueriesSupported){var b,_,w,x=y.document,k=x.documentElement,D=[],C=[],S=[],o={},T=30,M=x.getElementsByTagName("head")[0]||k,a=x.getElementsByTagName("base")[0],P=M.getElementsByTagName("link"),I=function(){var e,t=x.createElement("div"),i=x.body,n=k.style.fontSize,s=i&&i.style.fontSize,r=!1;return t.style.cssText="position:absolute;font-size:1em;width:1em",i||(i=r=x.createElement("body"),i.style.background="none"),k.style.fontSize="100%",i.style.fontSize="100%",i.appendChild(t),r&&k.insertBefore(i,k.firstChild),e=t.offsetWidth,r?k.removeChild(i):i.removeChild(t),k.style.fontSize=n,s&&(i.style.fontSize=s),e=w=parseFloat(e)}
vendor: 4,308 bytes, lines 13-25
13,O=function(e){var t="clientWidth",i=k[t],n="CSS1Compat"===x.compatMode&&i||x.body[t]||i,s={},r=P[P.length-1],o=(new Date).getTime();if(e&&b&&T>o-b)return y.clearTimeout(_),_=y.setTimeout(O,T),void 0;b=o;for(var a in D)if(D.hasOwnProperty(a)){var l=D[a],u=l.minw,c=l.maxw,h=null===u,d=null===c,p="em";u&&(u=parseFloat(u)*(u.indexOf(p)>-1?w||I():1)),c&&(c=parseFloat(c)*(c.indexOf(p)>-1?w||I():1)),l.hasquery&&(h&&d||!(h||n>=u)||!(d||c>=n))||(s[l.media]||(s[l.media]=[]),s[l.media].push(C[l.rules]))}for(var f in S)S.hasOwnProperty(f)&&S[f]&&S[f].parentNode===M&&M.removeChild(S[f]);S.length=0;for(var m in s)if(s.hasOwnProperty(m)){var g=x.createElement("style"),v=s[m].join("\n");g.type="text/css",g.media=m,M.insertBefore(g,r.nextSibling),g.styleSheet?g.styleSheet.cssText=v:g.appendChild(x.createTextNode(v)),S.push(g)}},l=function(e,t,i){var n=e.replace(p.regex.comments,"").replace(p.regex.keyframes,"").match(p.regex.media),s=n&&n.length||0;t=t.substring(0,t.lastIndexOf("/"));var r=function(e){return e.replace(p.regex.urls,"$1"+t+"$2$3")},o=!s&&i;t.length&&(t+="/"),o&&(s=1);for(var a=0;s>a;a++){var l,u,c,h;o?(l=i,C.push(r(e))):(l=n[a].match(p.regex.findStyles)&&RegExp.$1,C.push(RegExp.$2&&r(RegExp.$2))),c=l.split(","),h=c.length;for(var d=0;h>d;d++)u=c[d],f(u)||D.push({media:u.split("(")[0].match(p.regex.only)&&RegExp.$2||"all",rules:C.length-1,hasquery:u.indexOf("(")>-1,minw:u.match(p.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:u.match(p.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}O()},u=function(){if(r.length){var t=r.shift();i(t.href,function(e){l(e,t.href,t.media),o[t.href]=!0,y.setTimeout(function(){u()},0)})}},t=function(){for(var e=0;e<P.length;e++){var t=P[e],i=t.href,n=t.media,s=t.rel&&"stylesheet"===t.rel.toLowerCase();i&&s&&!o[i]&&(t.styleSheet&&t.styleSheet.rawCssText?(l(t.styleSheet.rawCssText,i,n),o[i]=!0):(!/^([a-zA-Z:]*\/\/)/.test(i)&&!a||i.replace(RegExp.$1,"").split("/")[0]===y.location.host)&&("//"===i.substring(0,2)&&(i=y.location.protocol+i),r.push({href:i,media:n})))}u()};t(),p.update=t,p.getEmValue=I,y.addEventListener?y.addEventListener("resize",e,!1):y.attachEvent&&y.attachEvent("onresize",e)}}(this);
14/*
15Underscore.js 1.13.4
16https://underscorejs.org
17Copyright (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
18Underscore may be freely distributed under the MIT license.
19
20Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
21
22The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
23
24THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25*/!function(i,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define("underscore",n):(i="undefined"!=typeof globalThis?globalThis:i||self,function(){var e=i._,t=i._=n();t.noConflict=function(){return i._=e,t}}())}(this,function(){var e="1.13.4",t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},n=Array.prototype,o=Object.prototype,d="undefined"!=typeof Symbol?Symbol.prototype:null,s=n.push,l=n.slice,p=o.toString,i=o.hasOwnProperty,r="undefined"!=typeof ArrayBuffer,a="undefined"!=typeof DataView,u=Array.isArray,c=Object.keys,h=Object.create,f=r&&ArrayBuffer.isView,m=isNaN,g=isFinite,v=!{toString:null}.propertyIsEnumerable("toString"),y=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
25ing"],b=Math.pow(2,53)-1;function _(s,r){return r=null==r?s.length-1:+r,function(){for(var e=Math.max(arguments.length-r,0),t=Array(e),i=0;i<e;i++)t[i]=arguments[i+r];switch(r){case 0:return s.call(this,t);case 1:return s.call(this,arguments[0],t);case 2:return s.call(this,arguments[0],arguments[1],t)}var n=Array(r+1);for(i=0;i<r;i++)n[i]=arguments[i];return n[r]=t,s.apply(this,n)}}function w(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function x(e){return void 0===e}function k(e){return!0===e||!1===e||"[object Boolean]"===p.call(e)}function D(e){var t="[object "+e+"]";return function(e){return p.call(e)===t}}var C=D("String"),S=D("Number"),T=D("Date"),M=D("RegExp"),P=D("Error"),I=D("Symbol"),O=D("ArrayBuffer"),A=D("Function"),E=t.document&&t.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof E&&(A=function(e){return"function"==typeof e||!1});var H=A,N=D("Object"),j=a&&N(new DataView(new ArrayBuffer(8))),R="undefined"!=typeof Map&&N(new Map),z=D("DataView");var L=j?function(e){return null!=e&&H(e.getInt8)&&O(e.buffer)}:z,Y=u||D("Array");function W(e,t){return null!=e&&i.call(e,t)}var F=D("Arguments");!function(){F(arguments)||(F=function(e){return W(e,"callee")})}();var q=F;function B(e){return S(e)&&m(e)}function U(e){return function(){return e}}function V(i){return function(e){var t=i(e);return"number"==typeof t&&t>=0&&t<=b}}function Q(t){return function(e){return null==e?void 0:e[t]}}var $=Q("byteLength"),G=V($),K=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var X=r?function(e){return f?f(e)&&!L(e):G(e)&&K.test(p.call(e))}:U(!1),Z=Q("length");function J(e,t){t=function(t){for(var i={},e=t.length,n=0;n<e;++n)i[t[n]]=!0;return{contains:function(e){return!0===i[e]},push:function(e){return i[e]=!0,t.push(e)}}}(t);var i=y.length,n=e.constructor,s=H(n)&&n.prototype||o,r="constructor";for(W(e,r)&&!t.contains(r)&&t.push(r);i--;)(r=y[i])in e&&e[r]!==s[r]&&!t.contains(r)&&t.push(r)}function ee(e){if(!w(e))return[];if(c)return c(e);var t=[];for(var i in e)W(e,i)&&t.push(i);return v&&J(e,t),t}function te(e,t){var i=ee(t),n=i.length;if(null==e)return!n;for(var s=Object(e),r=0;r<n;r++){var o=i[r];if(t[o]!==s[o]||!(o in s))return!1}return!0}function ie(e){return e instanceof ie?e:this instanceof ie?void(this._wrapped=e):new ie(e)}function ne(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,$(e))}ie.VERSION=e,ie.prototype.value=function(){return this._wrapped},ie.prototype.valueOf=ie.prototype.toJSON=ie.prototype.value,ie.prototype.toString=function(){return String(this._wrapped)};var se="[object DataView]";function re(e,t,i,n){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var s=typeof e;return("function"===s||"object"===s||"object"==typeof t)&&function e(t,i,n,s){t instanceof ie&&(t=t._wrapped);i instanceof ie&&(i=i._wrapped);var r=p.call(t);if(r!==p.call(i))return!1;if(j&&"[object Object]"==r&&L(t)){if(!L(i))return!1;r=se}switch(r){case"[object RegExp]":case"[object String]":return""+t==""+i;case"[object Number]":return+t!=+t?+i!=+i:0==+t?1/+t==1/i:+t==+i;case"[object Date]":case"[object Boolean]":return+t==+i;case"[object Symbol]":return d.valueOf.call(t)===d.valueOf.call(i);case"[object ArrayBuffer]":case se:return e(ne(t),ne(i),n,s)}var o="[object Array]"===r;if(!o&&X(t)){if($(t)!==$(i))return!1;if(t.buffer===i.buffer&&t.byteOffset===i.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof i)return!1;var a=t.constructor,l=i.constructor;if(a!==l&&!(H(a)&&a instanceof a&&H(l)&&l instanceof l)&&"constructor"in t&&"constructor"in i)return!1}s=s||[];var u=(n=n||[]).length;for(;u--;)if(n[u]===t)return s[u]===i;if(n.push(t),s.push(i),o){if((u=t.length)!==i.length)return!1;for(;u--;)if(!re(t[u],i[u],n,s))return!1}else{var c,h=ee(t);if(u=h.length,ee(i).length!==u)return!1;for(;u--;)if(c=h[u],!W(i,c)||!re(t[c],i[c],n,s))return!1}return n.pop(),s.pop(),!0}(e,t,i,n)}function oe(e){if(!w(e))return[];var t=[];for(var i in e)t.push(i);return v&&J(e,t),t}function ae(n){var s=Z(n);return function(e){if(null==e)return!1;var t=oe(e);if(Z(t))return!1;for(var i=0;i<s;i++)if(!H(e[n[i]]))return!1;return n!==pe||!H(e[le])}}var le="forEach",ue="has",ce=["clear","delete"],he=["get",ue,"set"],de=ce.concat(le,he),pe=ce.concat(he),fe=["add"].concat(ce,le,ue),me=R?ae(de):D("Map"),ge=R?ae(pe):D("WeakMap"),ve=R?ae(fe):D("Set"),ye=D("WeakSet");function be(e){for(var t=ee(e),i=t.length,n=Array(i),s=0;s<i;s++)n[s]=e[t[s]];return n}function _e(e){for(var t={},i=ee(e),n=0,s=i.length;n<s;n++)t[e[i[n]]]=i[n];return t}function we(e){var t=[];
vendor: 5,276 bytes, line 25
25for(var i in e)H(e[i])&&t.push(i);return t.sort()}function xe(l,u){return function(e){var t=arguments.length;if(u&&(e=Object(e)),t<2||null==e)return e;for(var i=1;i<t;i++)for(var n=arguments[i],s=l(n),r=s.length,o=0;o<r;o++){var a=s[o];u&&void 0!==e[a]||(e[a]=n[a])}return e}}var ke=xe(oe),De=xe(ee),Ce=xe(oe,!0);function Se(e){if(!w(e))return{};if(h)return h(e);var t=function(){};t.prototype=e;var i=new t;return t.prototype=null,i}function Te(e){return Y(e)?e:[e]}function Me(e){return ie.toPath(e)}function Pe(e,t){for(var i=t.length,n=0;n<i;n++){if(null==e)return;e=e[t[n]]}return i?e:void 0}function Ie(e,t,i){var n=Pe(e,Me(t));return x(n)?i:n}function Oe(e){return e}function Ae(t){return t=De({},t),function(e){return te(e,t)}}function Ee(t){return t=Me(t),function(e){return Pe(e,t)}}function He(s,r,e){if(void 0===r)return s;switch(null==e?3:e){case 1:return function(e){return s.call(r,e)};case 3:return function(e,t,i){return s.call(r,e,t,i)};case 4:return function(e,t,i,n){return s.call(r,e,t,i,n)}}return function(){return s.apply(r,arguments)}}function Ne(e,t,i){return null==e?Oe:H(e)?He(e,t,i):w(e)&&!Y(e)?Ae(e):Ee(e)}function je(e,t){return Ne(e,t,1/0)}function Re(e,t,i){return ie.iteratee!==je?ie.iteratee(e,t):Ne(e,t,i)}function ze(){}function Le(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}ie.toPath=Te,ie.iteratee=je;var Ye=Date.now||function(){return(new Date).getTime()};function We(t){var i=function(e){return t[e]},e="(?:"+ee(t).join("|")+")",n=RegExp(e),s=RegExp(e,"g");return function(e){return e=null==e?"":""+e,n.test(e)?e.replace(s,i):e}}var Fe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},qe=We(Fe),Be=We(_e(Fe)),Ue=ie.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ve=/(.)^/,Qe={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},$e=/\\|'|\r|\n|\u2028|\u2029/g;function Ge(e){return"\\"+Qe[e]}var Ke=/^\s*(\w|\$)+\s*$/;var Xe=0;function Ze(e,t,i,n,s){if(!(n instanceof t))return e.apply(i,s);var r=Se(e.prototype),o=e.apply(r,s);return w(o)?o:r}var Je=_(function(s,r){var o=Je.placeholder,a=function(){for(var e=0,t=r.length,i=Array(t),n=0;n<t;n++)i[n]=r[n]===o?arguments[e++]:r[n];for(;e<arguments.length;)i.push(arguments[e++]);return Ze(s,a,this,this,i)};return a});Je.placeholder=ie;var et=_(function(t,i,n){if(!H(t))throw new TypeError("Bind must be called on a function");var s=_(function(e){return Ze(t,s,i,this,n.concat(e))});return s}),tt=V(Z);function it(e,t,i,n){if(n=n||[],t||0===t){if(t<=0)return n.concat(e)}else t=1/0;for(var s=n.length,r=0,o=Z(e);r<o;r++){var a=e[r];if(tt(a)&&(Y(a)||q(a)))if(t>1)it(a,t-1,i,n),s=n.length;else for(var l=0,u=a.length;l<u;)n[s++]=a[l++];else i||(n[s++]=a)}return n}var nt=_(function(e,t){var i=(t=it(t,!1,!1)).length;if(i<1)throw new Error("bindAll must be passed function names");for(;i--;){var n=t[i];e[n]=et(e[n],e)}return e});var st=_(function(e,t,i){return setTimeout(function(){return e.apply(null,i)},t)}),rt=Je(st,ie,1);function ot(e){return function(){return!e.apply(this,arguments)}}function at(e,t){var i;return function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=null),i}}var lt=Je(at,2);function ut(e,t,i){t=Re(t,i);for(var n,s=ee(e),r=0,o=s.length;r<o;r++)if(t(e[n=s[r]],n,e))return n}function ct(r){return function(e,t,i){t=Re(t,i);for(var n=Z(e),s=r>0?0:n-1;s>=0&&s<n;s+=r)if(t(e[s],s,e))return s;return-1}}var ht=ct(1),dt=ct(-1);function pt(e,t,i,n){for(var s=(i=Re(i,n,1))(t),r=0,o=Z(e);r<o;){var a=Math.floor((r+o)/2);i(e[a])<s?r=a+1:o=a}return r}function ft(r,o,a){return function(e,t,i){var n=0,s=Z(e);if("number"==typeof i)r>0?n=i>=0?i:Math.max(i+s,n):s=i>=0?Math.min(i+1,s):i+s+1;else if(a&&i&&s)return e[i=a(e,t)]===t?i:-1;if(t!=t)return(i=o(l.call(e,n,s),B))>=0?i+n:-1;for(i=r>0?n:s-1;i>=0&&i<s;i+=r)if(e[i]===t)return i;return-1}}var mt=ft(1,ht,pt),gt=ft(-1,dt);function vt(e,t,i){var n=(tt(e)?ht:ut)(e,t,i);if(void 0!==n&&-1!==n)return e[n]}function yt(e,t,i){var n,s;if(t=He(t,i),tt(e))for(n=0,s=e.length;n<s;n++)t(e[n],n,e);else{var r=ee(e);for(n=0,s=r.length;n<s;n++)t(e[r[n]],r[n],e)}return e}function bt(e,t,i){t=Re(t,i);for(var n=!tt(e)&&ee(e),s=(n||e).length,r=Array(s),o=0;o<s;o++){var a=n?n[o]:o;r[o]=t(e[a],a,e)}return r}function _t(l){var r=function(e,t,i,n){var s=!tt(e)&&ee(e),r=(s||e).length,o=l>0?0:r-1;for(n||(i=e[s?s[o]:o],o+=l);o>=0&&o<r;o+=l){var a=s?s[o]:o;i=t(i,e[a],a,e)}return i};return function(e,t,i,n){var s=arguments.length>=3;return r(e,He(t,n,4),i,s)}}var wt=_t(1),xt=_t(-1);function kt(e,n,t){var s=[];return n=Re(n,t),yt(e,function(e,t,i){n(e,t,i)&&s.push(e)}),s}function Dt(e,t,i){t=Re(t,i);for(var n=!tt(e)&&ee(e),s=(n||e).length,r=0;r<s;r++){var o=n?n[r]:r;if(!t(e[o],o,e))return!1}return!0}function Ct(e,t,i){t=Re(t,i);for(var n=!tt(e)&&ee(e),s=(n||e).length,r=0;r<s;r++){var o=n?n[r]:r;if(t(e[o],o,e))return!0}return!1}function St(e,t,i,n){return tt(e)||(e=be(e)),("number"!=typeof i||n)&&(i=0),mt(e,t,i)>=0}var Tt=_(function(e,i,n){var s,r;return H(i)?r=i:(i=Me(i),s=i.slice(0,-1),i=i[i.length-1]),bt(e,function(e){var t=r;if(!t){if(s&&s.length&&(e=Pe(e,s)),null==e)return;t=e[i]}return null==t?t:t.apply(e,n)})});function Mt(e,t){return bt(e,Ee(t))}function Pt(e,n,t){var i,s,r=-1/0,o=-1/0;
vendor: 7,908 bytes, line 25
25if(null==n||"number"==typeof n&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=tt(e)?e:be(e)).length;a<l;a++)null!=(i=e[a])&&i>r&&(r=i);else n=Re(n,t),yt(e,function(e,t,i){((s=n(e,t,i))>o||s===-1/0&&r===-1/0)&&(r=e,o=s)});return r}var It=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Ot(e){return e?Y(e)?l.call(e):C(e)?e.match(It):tt(e)?bt(e,Oe):be(e):[]}function At(e,t,i){if(null==t||i)return tt(e)||(e=be(e)),e[Le(e.length-1)];var n=Ot(e),s=Z(n);t=Math.max(Math.min(t,s),0);for(var r=s-1,o=0;o<t;o++){var a=Le(o,r),l=n[o];n[o]=n[a],n[a]=l}return n.slice(0,t)}function Et(o,t){return function(n,s,e){var r=t?[[],[]]:{};return s=Re(s,e),yt(n,function(e,t){var i=s(e,t,n);o(r,e,i)}),r}}var Ht=Et(function(e,t,i){W(e,i)?e[i].push(t):e[i]=[t]}),Nt=Et(function(e,t,i){e[i]=t}),jt=Et(function(e,t,i){W(e,i)?e[i]++:e[i]=1}),Rt=Et(function(e,t,i){e[i?0:1].push(t)},!0);function zt(e,t,i){return t in i}var Lt=_(function(e,t){var i={},n=t[0];if(null==e)return i;H(n)?(t.length>1&&(n=He(n,t[1])),t=oe(e)):(n=zt,t=it(t,!1,!1),e=Object(e));for(var s=0,r=t.length;s<r;s++){var o=t[s],a=e[o];n(a,o,e)&&(i[o]=a)}return i}),Yt=_(function(e,i){var t,n=i[0];return H(n)?(n=ot(n),i.length>1&&(t=i[1])):(i=bt(it(i,!1,!1),String),n=function(e,t){return!St(i,t)}),Lt(e,n,t)});function Wt(e,t,i){return l.call(e,0,Math.max(0,e.length-(null==t||i?1:t)))}function Ft(e,t,i){return null==e||e.length<1?null==t||i?void 0:[]:null==t||i?e[0]:Wt(e,e.length-t)}function qt(e,t,i){return l.call(e,null==t||i?1:t)}var Bt=_(function(e,t){return t=it(t,!0,!0),kt(e,function(e){return!St(t,e)})}),Ut=_(function(e,t){return Bt(e,t)});function Vt(e,t,i,n){k(t)||(n=i,i=t,t=!1),null!=i&&(i=Re(i,n));for(var s=[],r=[],o=0,a=Z(e);o<a;o++){var l=e[o],u=i?i(l,o,e):l;t&&!i?(o&&r===u||s.push(l),r=u):i?St(r,u)||(r.push(u),s.push(l)):St(s,l)||s.push(l)}return s}var Qt=_(function(e){return Vt(it(e,!0,!0))});function $t(e){for(var t=e&&Pt(e,Z).length||0,i=Array(t),n=0;n<t;n++)i[n]=Mt(e,n);return i}var Gt=_($t);function Kt(e,t){return e._chain?ie(t).chain():t}function Xt(i){return yt(we(i),function(e){var t=ie[e]=i[e];ie.prototype[e]=function(){var e=[this._wrapped];return s.apply(e,arguments),Kt(this,t.apply(ie,e))}}),ie}yt(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var i=n[t];ie.prototype[t]=function(){var e=this._wrapped;return null!=e&&(i.apply(e,arguments),"shift"!==t&&"splice"!==t||0!==e.length||delete e[0]),Kt(this,e)}}),yt(["concat","join","slice"],function(e){var t=n[e];ie.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Kt(this,e)}});var Zt=Xt({__proto__:null,VERSION:e,restArguments:_,isObject:w,isNull:function(e){return null===e},isUndefined:x,isBoolean:k,isElement:function(e){return!(!e||1!==e.nodeType)},isString:C,isNumber:S,isDate:T,isRegExp:M,isError:P,isSymbol:I,isArrayBuffer:O,isDataView:L,isArray:Y,isFunction:H,isArguments:q,isFinite:function(e){return!I(e)&&g(e)&&!isNaN(parseFloat(e))},isNaN:B,isTypedArray:X,isEmpty:function(e){if(null==e)return!0;var t=Z(e);return"number"==typeof t&&(Y(e)||C(e)||q(e))?0===t:0===Z(ee(e))},isMatch:te,isEqual:function(e,t){return re(e,t)},isMap:me,isWeakMap:ge,isSet:ve,isWeakSet:ye,keys:ee,allKeys:oe,values:be,pairs:function(e){for(var t=ee(e),i=t.length,n=Array(i),s=0;s<i;s++)n[s]=[t[s],e[t[s]]];return n},invert:_e,functions:we,methods:we,extend:ke,extendOwn:De,assign:De,defaults:Ce,create:function(e,t){var i=Se(e);return t&&De(i,t),i},clone:function(e){return w(e)?Y(e)?e.slice():ke({},e):e},tap:function(e,t){return t(e),e},get:Ie,has:function(e,t){for(var i=(t=Me(t)).length,n=0;n<i;n++){var s=t[n];if(!W(e,s))return!1;e=e[s]}return!!i},mapObject:function(e,t,i){t=Re(t,i);for(var n=ee(e),s=n.length,r={},o=0;o<s;o++){var a=n[o];r[a]=t(e[a],a,e)}return r},identity:Oe,constant:U,noop:ze,toPath:Te,property:Ee,propertyOf:function(t){return null==t?ze:function(e){return Ie(t,e)}},matcher:Ae,matches:Ae,times:function(e,t,i){var n=Array(Math.max(0,e));t=He(t,i,1);for(var s=0;s<e;s++)n[s]=t(s);return n},random:Le,now:Ye,escape:qe,unescape:Be,templateSettings:Ue,template:function(r,e,t){!e&&t&&(e=t),e=Ce({},e,ie.templateSettings);var i=RegExp([(e.escape||Ve).source,(e.interpolate||Ve).source,(e.evaluate||Ve).source].join("|")+"|$","g"),o=0,a="__p+='";r.replace(i,function(e,t,i,n,s){return a+=r.slice(o,s).replace($e,Ge),o=s+e.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":i?a+="'+\n((__t=("+i+"))==null?'':__t)+\n'":n&&(a+="';\n"+n+"\n__p+='"),e}),a+="';\n";var n,s=e.variable;if(s){if(!Ke.test(s))throw new Error("variable is not a bare identifier: "+s)}else a="with(obj||{}){\n"+a+"}\n",s="obj";a="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{n=new Function(s,"_",a)}catch(r){throw r.source=a,r}var l=function(e){return n.call(this,e,ie)};return l.source="function("+s+"){\n"+a+"}",l},result:function(e,t,i){var n=(t=Me(t)).length;if(!n)return H(i)?i.call(e):i;for(var s=0;s<n;s++){var r=null==e?void 0:e[t[s]];void 0===r&&(r=i,s=n),e=H(r)?r.call(e):r}return e},uniqueId:function(e){var t=++Xe+"";return e?e+t:t},chain:function(e){var t=ie(e);return t._chain=!0,t},iteratee:je,partial:Je,bind:et,bindAll:nt,memoize:function(n,s){var r=function(e){var t=r.cache,i=""+(s?s.apply(this,arguments):e);return W(t,i)||(t[i]=n.apply(this,arguments)),t[i]};return r.cache={},r},delay:st,defer:rt,throttle:function(i,n,s){var r,o,a,l,u=0;s||(s={});var c=function(){u=!1===s.leading?0:Ye(),r=null,l=i.apply(o,a),r||(o=a=null)},e=function(){var e=Ye();u||!1!==s.leading||(u=e);var t=n-(e-u);return o=this,a=arguments,t<=0||t>n?(r&&(clearTimeout(r),r=null),u=e,l=i.apply(o,a),r||(o=a=null)):r||!1===s.trailing||(r=setTimeout(c,t)),l};return e.cancel=function(){clearTimeout(r),u=0,r=o=a=null},e},debounce:function(t,i,n){var s,r,o,a,l,u=function(){var e=Ye()-r;i>e?s=setTimeout(u,i-e):(s=null,n||(a=t.apply(l,o)),s||(o=l=null))},e=_(function(e){return l=this,o=e,r=Ye(),s||(s=setTimeout(u,i),n&&(a=t.apply(l,o))),a});return e.cancel=function(){clearTimeout(s),s=o=l=null},e},wrap:function(e,t){return Je(t,e)},negate:ot,compose:function(){var i=arguments,n=i.length-1;return function(){for(var e=n,t=i[n].apply(this,arguments);e--;)t=i[e].call(this,t);return t}},after:function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},before:at,once:lt,findKey:ut,findIndex:ht,findLastIndex:dt,sortedIndex:pt,indexOf:mt,lastIndexOf:gt,find:vt,detect:vt,findWhere:function(e,t){return vt(e,Ae(t))},each:yt,forEach:yt,map:bt,collect:bt,reduce:wt,foldl:wt,inject:wt,reduceRight:xt,foldr:xt,filter:kt,select:kt,reject:function(e,t,i){return kt(e,ot(Re(t)),i)},every:Dt,all:Dt,some:Ct,any:Ct,contains:St,includes:St,include:St,invoke:Tt,pluck:Mt,where:function(e,t){return kt(e,Ae(t))},max:Pt,min:function(e,n,t){var i,s,r=1/0,o=1/0;if(null==n||"number"==typeof n&&"object"!=typeof e[0]&&null!=e)for(var a=0,l=(e=tt(e)?e:be(e)).length;a<l;a++)null!=(i=e[a])&&i<r&&(r=i);else n=Re(n,t),yt(e,function(e,t,i){((s=n(e,t,i))<o||s===1/0&&r===1/0)&&(r=e,o=s)});return r},shuffle:function(e){return At(e,1/0)},sample:At,sortBy:function(e,n,t){var s=0;return n=Re(n,t),Mt(bt(e,function(e,t,i){return{value:e,index:s++,criteria:n(e,t,i)}}).sort(function(e,t){var i=e.criteria,n=t.criteria;if(i!==n){if(i>n||void 0===i)return 1;if(i<n||void 0===n)return-1}return e.index-t.index}),"value")},groupBy:Ht,indexBy:Nt,countBy:jt,partition:Rt,toArray:Ot,size:function(e){return null==e?0:tt(e)?e.length:ee(e).length},pick:Lt,omit:Yt,first:Ft,head:Ft,take:Ft,initial:Wt,last:function(e,t,i){return null==e||e.length<1?null==t||i?void 0:[]:null==t||i?e[e.length-1]:qt(e,Math.max(0,e.length-t))},rest:qt,tail:qt,drop:qt,compact:function(e){return kt(e,Boolean)},flatten:function(e,t){return it(e,t,!1)},without:Ut,uniq:Vt,unique:Vt,union:Qt,intersection:function(e){for(var t=[],i=arguments.length,n=0,s=Z(e);n<s;
25n++){var r=e[n];if(!St(t,r)){var o;for(o=1;o<i&&St(arguments[o],r);o++);o===i&&t.push(r)}}return t},difference:Bt,unzip:$t,transpose:$t,zip:Gt,object:function(e,t){for(var i={},n=0,s=Z(e);n<s;n++)t?i[e[n]]=t[n]:i[e[n][0]]=e[n][1];return i},range:function(e,t,i){null==t&&(t=e||0,e=0),i||(i=t<e?-1:1);for(var n=Math.max(Math.ceil((t-e)/i),0),s=Array(n),r=0;r<n;r++,e+=i)s[r]=e;return s},chunk:function(e,t){if(null==t||t<1)return[];for(var i=[],n=0,s=e.length;n<s;)i.push(l.call(e,n,n+=t));return i},mixin:Xt,default:ie});return Zt._=Zt,Zt});!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e;function p(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(d(e,t))return;return 1}function u(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){for(var i=[],n=e.length,s=0;s<n;++s)i.push(t(e[s],s));return i}function m(e,t){for(var i in t)d(t,i)&&(e[i]=t[i]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function g(e,t,i,n){return Mt(e,t,i,n,!0).utc()}function v(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function y(e){if(null==e._isValid){var t=v(e),i=n.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function b(e){var t=g(NaN);return null!=e?m(v(t),e):v(t).userInvalidated=!0,t}var n=Array.prototype.some||function(e){for(var t=Object(this),i=t.length>>>0,n=0;n<i;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1},_=p.momentProperties=[],t=!1;function w(e,t){var i,n,s,r=_.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=v(t)),u(t._locale)||(e._locale=t._locale),0<r)for(i=0;i<r;i++)u(s=t[n=_[i]])||(e[n]=s);return e}function x(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,p.updateOffset(this),t=!1)}function k(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function D(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function i(r,o){var a=!0;return m(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,r),a){for(var e,t,i=[],n=arguments.length,s=0;s<n;s++){if(e="","object"==typeof arguments[s]){for(t in e+="\n["+s+"] ",arguments[0])d(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[s];i.push(e)}D(r+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),a=!1}return o.apply(this,arguments)},o)}var s={};function r(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),s[e]||(D(t),s[e]=!0)}function C(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e,t){var i,n=m({},e);for(i in t)d(t,i)&&(a(e[i])&&a(t[i])?(n[i]={},m(n[i],e[i]),m(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)d(e,i)&&!d(t,i)&&a(e[i])&&(n[i]=m({},n[i]));return n}function T(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var M=Object.keys||function(e){var t,i=[];for(t in e)d(e,t)&&i.push(t);return i};function P(e,t,i){var n=""+Math.abs(e);return(0<=e?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
vendor: 4,438 bytes, line 25
25|x|X|zz?|ZZ?|.)/g,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},E={};function H(e,t,i,n){var s="string"==typeof n?function(){return this[n]()}:n;e&&(E[e]=s),t&&(E[t[0]]=function(){return P(s.apply(this,arguments),t[1],t[2])}),i&&(E[i]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=j(t,e.localeData()),A[t]=A[t]||function(n){for(var e,s=n.match(I),t=0,r=s.length;t<r;t++)E[s[t]]?s[t]=E[s[t]]:s[t]=(e=s[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",i=0;i<r;i++)t+=C(s[i])?s[i].call(e,n):s[i];return t}}(t),A[t](e)):e.localeData().invalidDate()}function j(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(O.lastIndex=0;0<=i&&O.test(e);)e=e.replace(O,n),O.lastIndex=0,--i;return e}var R={};function z(e,t){var i=e.toLowerCase();R[i]=R[i+"s"]=R[t]=e}function L(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function Y(e){var t,i,n={};for(i in e)d(e,i)&&(t=L(i))&&(n[t]=e[i]);return n}var W={};function F(e,t){W[e]=t}function q(e){return e%4==0&&e%100!=0||e%400==0}function B(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function U(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?B(e):t}function V(t,i){return function(e){return null!=e?($(this,t,e),p.updateOffset(this,i),this):Q(this,t)}}function Q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function $(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&q(e.year())&&1===e.month()&&29===e.date()?(i=U(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Me(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}var G=/\d/,K=/\d\d/,X=/\d{3}/,Z=/\d{4}/,J=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,ne=/\d{1,3}/,se=/\d{1,4}/,re=/[+-]?\d{1,6}/,oe=/\d+/,ae=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,i,n){fe[e]=C(i)?i:function(e,t){return e&&n?n:i}}function de(e,t){return d(fe,e)?fe[e](t._strict,t._locale):new RegExp(pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,s){return t||i||n||s})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={},me={};function ge(e,i){var t,n,s=i;for("string"==typeof e&&(e=[e]),c(i)&&(s=function(e,t){t[i]=U(e)}),n=e.length,t=0;t<n;t++)me[e[t]]=s}function ve(e,s){ge(e,function(e,t,i,n){i._w=i._w||{},s(e,i._w,i,n)})}var ye,be=0,_e=1,we=2,xe=3,ke=4,De=5,Ce=6,Se=7,Te=8;function Me(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=(t%(i=12)+i)%i;return e+=(t-i)/12,1==i?q(e)?29:28:31-i%7%2}ye=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",function(){return this.month()+1}),H("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),H("MMMM",0,0,function(e){return this.localeData().months(this,e)}),z("month","M"),F("month",8),he("M",ee),he("MM",ee,K),he("MMM",function(e,t){return t.monthsShortRegex(e)}),he("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[_e]=U(e)-1}),ge(["MMM","MMMM"],function(e,t,i,n){n=i._locale.monthsParse(e,n,i._strict);null!=n?t[_e]=n:v(i).invalidMonth=e});var Pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ie="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ae=ce,Ee=ce;function He(e,t){var i;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=U(t);else if(!c(t=e.localeData().monthsParse(t)))return;i=Math.min(e.date(),Me(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i)}}function Ne(e){return null!=e?(He(this,e),p.updateOffset(this,!0),this):Q(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,i=[],n=[],s=[],r=0;r<12;r++)t=g([2e3,r]),i.push(this.monthsShort(t,"")),n.push(this.months(t,"")),s.push(this.months(t,"")),s.push(this.monthsShort(t,""));for(i.sort(e),n.sort(e),s.sort(e),r=0;r<12;r++)i[r]=pe(i[r]),n[r]=pe(n[r]);for(r=0;r<24;r++)s[r]=pe(s[r]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Re(e){return q(e)?366:365}H("Y",0,0,function(){var e=this.year();
vendor: 22,056 bytes, line 25
25return e<=9999?P(e,4):"+"+e}),H(0,["YY",2],0,function(){return this.year()%100}),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),z("year","y"),F("year",1),he("Y",ae),he("YY",ee,K),he("YYYY",se,Z),he("YYYYY",re,J),he("YYYYYY",re,J),ge(["YYYYY","YYYYYY"],be),ge("YYYY",function(e,t){t[be]=2===e.length?p.parseTwoDigitYear(e):U(e)}),ge("YY",function(e,t){t[be]=p.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[be]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return U(e)+(68<U(e)?1900:2e3)};var ze=V("FullYear",!0);function Le(e,t,i,n,s,r,o){var a;return e<100&&0<=e?(a=new Date(e+400,t,i,n,s,r,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,i,n,s,r,o),a}function Ye(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function We(e,t,i){i=7+t-i;return i-(7+Ye(e,0,i).getUTCDay()-t)%7-1}function Fe(e,t,i,n,s){var r,t=1+7*(t-1)+(7+i-n)%7+We(e,n,s),i=t<=0?Re(r=e-1)+t:t>Re(e)?(r=e+1,t-Re(e)):(r=e,t);return{year:r,dayOfYear:i}}function qe(e,t,i){var n,s,r=We(e.year(),t,i),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?n=r+Be(s=e.year()-1,t,i):r>Be(e.year(),t,i)?(n=r-Be(e.year(),t,i),s=e.year()+1):(s=e.year(),n=r),{week:n,year:s}}function Be(e,t,i){var n=We(e,t,i),t=We(e+1,t,i);return(Re(e)-n+t)/7}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),z("week","w"),z("isoWeek","W"),F("week",5),F("isoWeek",5),he("w",ee),he("ww",ee,K),he("W",ee),he("WW",ee,K),ve(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=U(e)});function Ue(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),H("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),H("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),z("day","d"),z("weekday","e"),z("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),he("d",ee),he("e",ee),he("E",ee),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),ve(["dd","ddd","dddd"],function(e,t,i,n){n=i._locale.weekdaysParse(e,n,i._strict);null!=n?t.d=n:v(i).invalidWeekday=e}),ve(["d","e","E"],function(e,t,i,n){t[n]=U(e)});var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ge=ce,Ke=ce,Xe=ce;function Ze(){function e(e,t){return t.length-e.length}for(var t,i,n,s=[],r=[],o=[],a=[],l=0;l<7;l++)n=g([2e3,1]).day(l),t=pe(this.weekdaysMin(n,"")),i=pe(this.weekdaysShort(n,"")),n=pe(this.weekdays(n,"")),s.push(t),r.push(i),o.push(n),a.push(t),a.push(i),a.push(n);s.sort(e),r.sort(e),o.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Je(){return this.hours()%12||12}function et(e,t){H(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Je),H("k",["kk",2],0,function(){return this.hours()||24}),H("hmm",0,0,function(){return""+Je.apply(this)+P(this.minutes(),2)}),H("hmmss",0,0,function(){return""+Je.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)}),H("Hmm",0,0,function(){return""+this.hours()+P(this.minutes(),2)}),H("Hmmss",0,0,function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)}),et("a",!0),et("A",!1),z("hour","h"),F("hour",13),he("a",tt),he("A",tt),he("H",ee),he("h",ee),he("k",ee),he("HH",ee,K),he("hh",ee,K),he("kk",ee,K),he("hmm",te),he("hmmss",ie),he("Hmm",te),he("Hmmss",ie),ge(["H","HH"],xe),ge(["k","kk"],function(e,t,i){e=U(e);t[xe]=24===e?0:e}),ge(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),ge(["h","hh"],function(e,t,i){t[xe]=U(e),v(i).bigHour=!0}),ge("hmm",function(e,t,i){var n=e.length-2;t[xe]=U(e.substr(0,n)),t[ke]=U(e.substr(n)),v(i).bigHour=!0}),ge("hmmss",function(e,t,i){var n=e.length-4,s=e.length-2;t[xe]=U(e.substr(0,n)),t[ke]=U(e.substr(n,2)),t[De]=U(e.substr(s)),v(i).bigHour=!0}),ge("Hmm",function(e,t,i){var n=e.length-2;t[xe]=U(e.substr(0,n)),t[ke]=U(e.substr(n))}),ge("Hmmss",function(e,t,i){var n=e.length-4,s=e.length-2;t[xe]=U(e.substr(0,n)),t[ke]=U(e.substr(n,2)),t[De]=U(e.substr(s))});ce=V("Hours",!0);var it,nt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Pe,monthsShort:Ie,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:$e,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},st={},rt={};function ot(e){return e&&e.toLowerCase().replace("_","-")}function at(e){for(var t,i,n,s,r=0;r<e.length;){for(t=(s=ot(e[r]).split("-")).length,i=(i=ot(e[r+1]))?i.split("-"):null;0<t;){if(n=lt(s.slice(0,t).join("-")))return n;if(i&&i.length>=t&&function(e,t){for(var i=Math.min(e.length,t.length),n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}(s,i)>=t-1)break;t--}r++}return it}function lt(e){var t;if(void 0===st[e]&&"undefined"!=typeof module&&module&&module.exports&&null!=e.match("^[^/\\\\]*$"))try{t=it._abbr,require("./locale/"+e),ut(t)}catch(t){st[e]=null}return st[e]}function ut(e,t){return e&&((t=u(t)?ht(e):ct(e,t))?it=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),it._abbr}function ct(e,t){if(null===t)return delete st[e],null;var i,n=nt;if(t.abbr=e,null!=st[e])r("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])n=st[t.parentLocale]._config;else{if(null==(i=lt(t.parentLocale)))return rt[t.parentLocale]||(rt[t.parentLocale]=[]),rt[t.parentLocale].push({name:e,config:t}),null;n=i._config}return st[e]=new T(S(n,t)),rt[e]&&rt[e].forEach(function(e){ct(e.name,e.config)}),ut(e),st[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return it;if(!o(e)){if(t=lt(e))return t;e=[e]}return at(e)}function dt(e){var t=e._a;return t&&-2===v(e).overflow&&(t=t[_e]<0||11<t[_e]?_e:t[we]<1||t[we]>Me(t[be],t[_e])?we:t[xe]<0||24<t[xe]||24===t[xe]&&(0!==t[ke]||0!==t[De]||0!==t[Ce])?xe:t[ke]<0||59<t[ke]?ke:t[De]<0||59<t[De]?De:t[Ce]<0||999<t[Ce]?Ce:-1,v(e)._overflowDayOfYear&&(t<be||we<t)&&(t=we),v(e)._overflowWeeks&&-1===t&&(t=Se),v(e)._overflowWeekday&&-1===t&&(t=Te),v(e).overflow=t),e}var pt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],yt=/^\/?Date\((-?\d+)/i,bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function wt(e){var t,i,n,s,r,o,a=e._i,l=pt.exec(a)||ft.exec(a),a=gt.length,u=vt.length;if(l){for(v(e).iso=!0,t=0,i=a;t<i;t++)if(gt[t][1].exec(l[1])){s=gt[t][0],n=!1!==gt[t][2];break}if(null==s)e._isValid=!1;else{if(l[3]){for(t=0,i=u;t<i;t++)if(vt[t][1].exec(l[3])){r=(l[2]||" ")+vt[t][0];break}if(null==r)return void(e._isValid=!1)}if(n||null==r){if(l[4]){if(!mt.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=s+(r||"")+(o||""),St(e)}else e._isValid=!1}}else e._isValid=!1}function xt(e,t,i,n,s,r){e=[function(e){e=parseInt(e,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(e),Ie.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(s,10)];return r&&e.push(parseInt(r,10)),e}function kt(e){var t,i,n,s,r=bt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=xt(r[4],r[3],r[2],r[5],r[6],r[7]),i=r[1],n=t,s=e,i&&Qe.indexOf(i)!==new Date(n[0],n[1],n[2]).getDay()?(v(s).weekdayMismatch=!0,s._isValid=!1):(e._a=t,e._tzm=(i=r[8],n=r[9],s=r[10],i?_t[i]:n?0:60*(((i=parseInt(s,10))-(n=i%100))/100)+n),e._d=Ye.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0)):e._isValid=!1}function Dt(e,t,i){return null!=e?e:null!=t?t:i}function Ct(e){var t,i,n,s,r,o,a,l,u,c,h,d=[];if(!e._d){for(n=e,s=new Date(p.now()),i=n._useUTC?[s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate()]:[s.getFullYear(),s.getMonth(),s.getDate()],e._w&&null==e._a[we]&&null==e._a[_e]&&(null!=(s=(n=e)._w).GG||null!=s.W||null!=s.E?(l=1,u=4,r=Dt(s.GG,n._a[be],qe(Pt(),1,4).year),o=Dt(s.W,1),((a=Dt(s.E,1))<1||7<a)&&(c=!0)):(l=n._locale._week.dow,u=n._locale._week.doy,h=qe(Pt(),l,u),r=Dt(s.gg,n._a[be],h.year),o=Dt(s.w,h.week),null!=s.d?((a=s.d)<0||6<a)&&(c=!0):null!=s.e?(a=s.e+l,(s.e<0||6<s.e)&&(c=!0)):a=l),o<1||o>Be(r,l,u)?v(n)._overflowWeeks=!0:null!=c?v(n)._overflowWeekday=!0:(h=Fe(r,o,a,l,u),n._a[be]=h.year,n._dayOfYear=h.dayOfYear)),null!=e._dayOfYear&&(s=Dt(e._a[be],i[be]),(e._dayOfYear>Re(s)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),c=Ye(s,0,e._dayOfYear),e._a[_e]=c.getUTCMonth(),e._a[we]=c.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=i[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[xe]&&0===e._a[ke]&&0===e._a[De]&&0===e._a[Ce]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?Ye:Le).apply(null,d),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[xe]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(v(e).weekdayMismatch=!0)}}function St(e){if(e._f===p.ISO_8601)wt(e);else if(e._f===p.RFC_2822)kt(e);else{e._a=[],v(e).empty=!0;for(var t,i,n,s,r,o=""+e._i,a=o.length,l=0,u=j(e._f,e._locale).match(I)||[],c=u.length,h=0;h<c;h++)i=u[h],(t=(o.match(de(i,e))||[])[0])&&(0<(n=o.substr(0,o.indexOf(t))).length&&v(e).unusedInput.push(n),o=o.slice(o.indexOf(t)+t.length),l+=t.length),E[i]?(t?v(e).empty=!1:v(e).unusedTokens.push(i),n=i,r=e,null!=(s=t)&&d(me,n)&&me[n](s,r._a,r,n)):e._strict&&!t&&v(e).unusedTokens.push(i);v(e).charsLeftOver=a-l,0<o.length&&v(e).unusedInput.push(o),e._a[xe]<=12&&!0===v(e).bigHour&&0<e._a[xe]&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[xe]=function(e,t,i){if(null==i)return t;return null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((e=e.isPM(i))&&t<12&&(t+=12),t=e||12!==t?t:0):t}(e._locale,e._a[xe],e._meridiem),null!==(a=v(e).era)&&(e._a[be]=e._locale.erasConvertYear(a,e._a[be])),Ct(e),dt(e)}}function Tt(e){var t,i,n,s=e._i,r=e._f;if(e._locale=e._locale||ht(e._l),null===s||void 0===r&&""===s)return b({nullInput:!0});if("string"==typeof s&&(e._i=s=e._locale.preparse(s)),k(s))return new x(dt(s));if(h(s))e._d=s;else if(o(r))!function(e){var t,i,n,s,r,o,a=!1,l=e._f.length;if(0===l)return v(e).invalidFormat=!0,e._d=new Date(NaN);for(s=0;s<l;s++)r=0,o=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],St(t),y(t)&&(o=!0),r=(r+=v(t).charsLeftOver)+10*v(t).unusedTokens.length,v(t).score=r,a?r<n&&(n=r,i=t):(null==n||r<n||o)&&(n=r,i=t,o&&(a=!0));m(e,i||t)}(e);else if(r)St(e);else if(u(r=(s=e)._i))s._d=new Date(p.now());else h(r)?s._d=new Date(r.valueOf()):"string"==typeof r?(i=s,null!==(t=yt.exec(i._i))?i._d=new Date(+t[1]):(wt(i),!1===i._isValid&&(delete i._isValid,kt(i),!1===i._isValid&&(delete i._isValid,i._strict?i._isValid=!1:p.createFromInputFallback(i))))):o(r)?(s._a=f(r.slice(0),function(e){return parseInt(e,10)}),Ct(s)):a(r)?(t=s)._d||(n=void 0===(i=Y(t._i)).day?i.date:i.day,t._a=f([i.year,i.month,n,i.hour,i.minute,i.second,i.millisecond],function(e){return e&&parseInt(e,10)}),Ct(t)):c(r)?s._d=new Date(r):p.createFromInputFallback(s);return y(e)||(e._d=null),e}function Mt(e,t,i,n,s){var r={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(a(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=s,r._l=i,r._i=e,r._f=t,r._strict=n,(s=new x(dt(Tt(s=r))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Pt(e,t,i,n){return Mt(e,t,i,n,!1)}p.createFromInputFallback=i("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};te=i("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()}),ie=i("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:b()});function It(e,t){var i,n;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return Pt();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function At(e){var e=Y(e),t=e.year||0,i=e.quarter||0,n=e.month||0,s=e.week||e.isoWeek||0,r=e.day||0,o=e.hour||0,a=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=function(e){var t,i,n=!1,s=Ot.length;for(t in e)if(d(e,t)&&(-1===ye.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<s;++i)if(e[Ot[i]]){if(n)return!1;parseFloat(e[Ot[i]])!==U(e[Ot[i]])&&(n=!0)}return!0}(e),this._milliseconds=+u+1e3*l+6e4*a+1e3*o*60*60,this._days=+r+7*s,this._months=+n+3*i+12*t,this._data={},this._locale=ht(),this._bubble()}function Et(e){return e instanceof At}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Nt(e,i){H(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+P(~~(e/60),2)+i+P(~~e%60,2)})}Nt("Z",":"),Nt("ZZ",""),he("Z",ue),he("ZZ",ue),ge(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Rt(ue,e)});var jt=/([\+\-]|\d\d)/gi;function Rt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(jt)||["-",0,0])[1]+U(e[2]))?0:"+"===e[0]?t:-t}function zt(e,t){var i;return t._isUTC?(t=t.clone(),i=(k(e)||h(e)?e:Pt(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+i),p.updateOffset(t,!1),t):Pt(e).local()}function Lt(e){return-Math.round(e._d.getTimezoneOffset())}function Yt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}p.updateOffset=function(){};var Wt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ft=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function qt(e,t){var i,n=e,s=null;return Et(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(s=Wt.exec(e))?(i="-"===s[1]?-1:1,n={y:0,d:U(s[we])*i,h:U(s[xe])*i,m:U(s[ke])*i,s:U(s[De])*i,ms:U(Ht(1e3*s[Ce]))*i}):(s=Ft.exec(e))?(i="-"===s[1]?-1:1,n={y:Bt(s[2],i),M:Bt(s[3],i),w:Bt(s[4],i),d:Bt(s[5],i),h:Bt(s[6],i),m:Bt(s[7],i),s:Bt(s[8],i)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(t=function(e,t){var i;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=zt(t,e),e.isBefore(t)?i=Ut(e,t):((i=Ut(t,e)).milliseconds=-i.milliseconds,i.months=-i.months);return i}(Pt(n.from),Pt(n.to)),(n={}).ms=t.milliseconds,n.M=t.months),s=new At(n),Et(e)&&d(e,"_locale")&&(s._locale=e._locale),Et(e)&&d(e,"_isValid")&&(s._isValid=e._isValid),s}function Bt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Ut(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Vt(n,s){return function(e,t){var i;return null===t||isNaN(+t)||(r(s,"moment()."+s+"(period, number) is deprecated. Please use moment()."+s+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=t,t=i),Qt(this,qt(e,t),n),this}}function Qt(e,t,i,n){var s=t._milliseconds,r=Ht(t._days),t=Ht(t._months);e.isValid()&&(n=null==n||n,t&&He(e,Q(e,"Month")+t*i),r&&$(e,"Date",Q(e,"Date")+r*i),s&&e._d.setTime(e._d.valueOf()+s*i),n&&p.updateOffset(e,r||t))}qt.fn=At.prototype,qt.invalid=function(){return qt(NaN)};Pe=Vt(1,"add"),Ve=Vt(-1,"subtract");function $t(e){return"string"==typeof e||e instanceof String}function Gt(e){return k(e)||h(e)||$t(e)||c(e)||function(t){var e=o(t),i=!1;e&&(i=0===t.filter(function(e){return!c(e)&&$t(t)}).length);return e&&i}(e)||function(e){var t,i,n=a(e)&&!l(e),s=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=r.length;for(t=0;t<o;t+=1)i=r[t],s=s||d(e,i);return n&&s}(e)||null==e}function Kt(e,t){if(e.date()<t.date())return-Kt(t,e);var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months"),t=t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(1+i,"months")-n);return-(i+t)||0}function Xt(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";$e=i("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Zt(){return this._locale}var Jt=126227808e5;function ei(e,t){return(e%t+t)%t}function ti(e,t,i){return e<100&&0<=e?new Date(e+400,t,i)-Jt:new Date(e,t,i).valueOf()}function ii(e,t,i){return e<100&&0<=e?Date.UTC(e+400,t,i)-Jt:Date.UTC(e,t,i)}function ni(e,t){return t.erasAbbrRegex(e)}function si(){for(var e=[],t=[],i=[],n=[],s=this.eras(),r=0,o=s.length;r<o;++r)t.push(pe(s[r].name)),e.push(pe(s[r].abbr)),i.push(pe(s[r].narrow)),n.push(pe(s[r].name)),n.push(pe(s[r].abbr)),n.push(pe(s[r].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ri(e,t){H(0,[e,e.length],0,t)}function oi(e,t,i,n,s){var r;return null==e?qe(this,n,s).year:(r=Be(e,n,s),function(e,t,i,n,s){e=Fe(e,t,i,n,s),t=Ye(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t=r<t?r:t,i,n,s))}H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),he("N",ni),he("NN",ni),he("NNN",ni),he("NNNN",function(e,t){return t.erasNameRegex(e)}),he("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){n=i._locale.erasParse(e,n,i._strict);n?v(i).era=n:v(i).invalidEra=e}),he("y",oe),he("yy",oe),he("yyy",oe),he("yyyy",oe),he("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ge(["y","yy","yyy","yyyy"],be),ge(["yo"],function(e,t,i,n){var s;i._locale._eraYearOrdinalRegex&&(s=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[be]=i._locale.eraYearOrdinalParse(e,s):t[be]=parseInt(e,10)}),H(0,["gg",2],0,function(){return this.weekYear()%100}),H(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ri("gggg","weekYear"),ri("ggggg","weekYear"),ri("GGGG","isoWeekYear"),ri("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),he("G",ae),he("g",ae),he("GG",ee,K),he("gg",ee,K),he("GGGG",se,Z),he("gggg",se,Z),he("GGGGG",re,J),he("ggggg",re,J),ve(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=U(e)}),ve(["gg","GG"],function(e,t,i,n){t[n]=p.parseTwoDigitYear(e)}),H("Q",0,"Qo","quarter"),z("quarter","Q"),F("quarter",7),he("Q",G),ge("Q",function(e,t){t[_e]=3*(U(e)-1)}),H("D",["DD",2],"Do","date"),z("date","D"),F("date",9),he("D",ee),he("DD",ee,K),he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],we),ge("Do",function(e,t){t[we]=U(e.match(ee)[0])});se=V("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),F("dayOfYear",4),he("DDD",ne),he("DDDD",X),ge(["DD
25D","DDDD"],function(e,t,i){i._dayOfYear=U(e)}),H("m",["mm",2],0,"minute"),z("minute","m"),F("minute",14),he("m",ee),he("mm",ee,K),ge(["m","mm"],ke);var ai,Z=V("Minutes",!1),re=(H("s",["ss",2],0,"second"),z("second","s"),F("second",15),he("s",ee),he("ss",ee,K),ge(["s","ss"],De),V("Seconds",!1));for(H("S",0,0,function(){return~~(this.millisecond()/100)}),H(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,function(){return 10*this.millisecond()}),H(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),H(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),H(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),H(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),H(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),z("millisecond","ms"),F("millisecond",16),he("S",ne,G),he("SS",ne,K),he("SSS",ne,X),ai="SSSS";ai.length<=9;ai+="S")he(ai,oe);function li(e,t){t[Ce]=U(1e3*("0."+e))}for(ai="S";ai.length<=9;ai+="S")ge(ai,li);J=V("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");G=x.prototype;function ui(e){return e}G.add=Pe,G.calendar=function(e,t){1===arguments.length&&(arguments[0]?Gt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!l(e),i=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s=0;s<n.length;s+=1)i=i||d(e,n[s]);return t&&i}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||Pt(),i=zt(e,this).startOf("day"),i=p.calendarFormat(this,i)||"sameElse",t=t&&(C(t[i])?t[i].call(this,e):t[i]);return this.format(t||this.localeData().calendar(i,this,Pt(e)))},G.clone=function(){return new x(this)},G.diff=function(e,t,i){var n,s,r;if(!this.isValid())return NaN;if(!(n=zt(e,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),t=L(t)){case"year":r=Kt(this,n)/12;break;case"month":r=Kt(this,n);break;case"quarter":r=Kt(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-s)/864e5;break;case"week":r=(this-n-s)/6048e5;break;default:r=this-n}return i?r:B(r)},G.endOf=function(e){var t,i;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?ii:ti,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-ei(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ei(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ei(t,1e3)-1;break}return this._d.setTime(t),p.updateOffset(this,!0),this},G.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=N(this,e),this.localeData().postformat(e)},G.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Pt(e).isValid())?qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},G.fromNow=function(e){return this.from(Pt(),e)},G.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Pt(e).isValid())?qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},G.toNow=function(e){return this.to(Pt(),e)},G.get=function(e){return C(this[e=L(e)])?this[e]():this},G.invalidAt=function(){return v(this).overflow},G.isAfter=function(e,t){return e=k(e)?e:Pt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},G.isBefore=function(e,t){return e=k(e)?e:Pt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},G.isBetween=function(e,t,i,n){return e=k(e)?e:Pt(e),t=k(t)?t:Pt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&(("("===(n=n||"()")[0]?this.isAfter(e,i):!this.isBefore(e,i))&&
vendor: 4,830 bytes, line 25
25(")"===n[1]?this.isBefore(t,i):!this.isAfter(t,i)))},G.isSame=function(e,t){var e=k(e)?e:Pt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},G.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},G.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},G.isValid=function(){return y(this)},G.lang=$e,G.locale=Xt,G.localeData=Zt,G.max=ie,G.min=te,G.parsingFlags=function(){return m({},v(this))},G.set=function(e,t){if("object"==typeof e)for(var i=function(e){var t,i=[];for(t in e)d(e,t)&&i.push({unit:t,priority:W[t]});return i.sort(function(e,t){return e.priority-t.priority}),i}(e=Y(e)),n=i.length,s=0;s<n;s++)this[i[s].unit](e[i[s].unit]);else if(C(this[e=L(e)]))return this[e](t);return this},G.startOf=function(e){var t,i;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?ii:ti,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ei(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ei(t,6e4);break;case"second":t=this._d.valueOf(),t-=ei(t,1e3);break}return this._d.setTime(t),p.updateOffset(this,!0),this},G.subtract=Ve,G.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},G.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},G.toDate=function(){return new Date(this.valueOf())},G.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.year()<0||9999<t.year()?N(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(t,"Z")):N(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},G.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",i="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(i+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(G[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),G.toJSON=function(){return this.isValid()?this.toISOString():null},G.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},G.unix=function(){return Math.floor(this.valueOf()/1e3)},G.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},G.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},G.eraName=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].name;if(t[i].until<=e&&e<=t[i].since)return t[i].name}return""},G.eraNarrow=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].narrow;if(t[i].until<=e&&e<=t[i].since)return t[i].narrow}return""},G.eraAbbr=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].abbr;if(t[i].until<=e&&e<=t[i].since)return t[i].abbr}return""},G.eraYear=function(){for(var e,t,i=this.localeData().eras(),n=0,s=i.length;n<s;++n)if(e=i[n].since<=i[n].until?1:-1,t=this.clone().startOf("day").valueOf(),i[n].since<=t&&t<=i[n].until||i[n].until<=t&&t<=i[n].since)return(this.year()-p(i[n].since).year())*e+i[n].offset;return this.year()},G.year=ze,G.isLeapYear=function(){return q(this.year())},G.weekYear=function(e){return oi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},G.isoWeekYear=function(e){return oi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},G.quarter=G.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},G.month=Ne,G.daysInMonth=function(){return Me(this.year(),this.month())},G.week=G.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}
vendor: 6,788 bytes, line 25
25,G.isoWeek=G.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},G.weeksInYear=function(){var e=this.localeData()._week;return Be(this.year(),e.dow,e.doy)},G.weeksInWeekYear=function(){var e=this.localeData()._week;return Be(this.weekYear(),e.dow,e.doy)},G.isoWeeksInYear=function(){return Be(this.year(),1,4)},G.isoWeeksInISOWeekYear=function(){return Be(this.isoWeekYear(),1,4)},G.date=se,G.day=G.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,i,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,i=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=i.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-n,"d")):n},G.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},G.isoWeekday=function(e){return this.isValid()?null!=e?(t=e,i=this.localeData(),i="string"==typeof t?i.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?i:i-7)):this.day()||7:null!=e?this:NaN;var t,i},G.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},G.hour=G.hours=ce,G.minute=G.minutes=Z,G.second=G.seconds=re,G.millisecond=G.milliseconds=J,G.utcOffset=function(e,t,i){var n,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?s:Lt(this);if("string"==typeof e){if(null===(e=Rt(ue,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=Lt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?Qt(this,qt(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},G.utc=function(e){return this.utcOffset(0,e)},G.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Lt(this),"m")),this},G.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Rt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},G.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Pt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},G.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},G.isLocal=function(){return!!this.isValid()&&!this._isUTC},G.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},G.isUtc=Yt,G.isUTC=Yt,G.zoneAbbr=function(){return this._isUTC?"UTC":""},G.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},G.dates=i("dates accessor is deprecated. Use date instead.",se),G.months=i("months accessor is deprecated. Use month instead",Ne),G.years=i("years accessor is deprecated. Use year instead",ze),G.zone=i("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),G.isDSTShifted=i("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=Tt(t))._a?(e=(t._isUTC?g:Pt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,i){for(var n=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),r=0,o=0;o<n;o++)(i&&e[o]!==t[o]||!i&&U(e[o])!==U(t[o]))&&r++;return r+s}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=T.prototype;function ci(e,t,i,n){var s=ht(),n=g().set(n,t);return s[i](n,e)}function hi(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return ci(e,t,i,"month");for(var n=[],s=0;s<12;s++)n[s]=ci(e,s,i,"month");return n}function di(e,t,i,n){t=("boolean"==typeof e?c(t)&&(i=t,t=void 0):(t=e,e=!1,c(i=t)&&(i=t,t=void 0)),t||"");var s,r=ht(),o=e?r._week.dow:0,a=[];if(null!=i)return ci(t,(i+o)%7,n,"day");for(s=0;s<7;s++)a[s]=ci(t,(s+o)%7,n,"day");return a}K.calendar=function(e,t,i){return C(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,i):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(I).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=ui,K.postformat=ui,K.relativeTime=function(e,t,i,n){var s=this._relativeTime[i];return C(s)?s(e,t,i,n):s.replace(/%d/i,e)},K.pastFuture=function(e,t){return C(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,i;for(i in e)d(e,i)&&(C(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(e,t){for(var i,n=this._eras||ht("en")._eras,s=0,r=n.length;s<r;++s){switch(typeof n[s].since){case"string":i=p(n[s].since).startOf("day"),n[s].since=i.valueOf();break}switch(typeof n[s].until){case"undefined":n[s].until=1/0;break;case"string":i=p(n[s].until).startOf("day").valueOf(),n[s].until=i.valueOf();break}}return n},K.erasParse=function(e,t,i){var n,s,r,o,a,l=this.eras();for(e=e.toUpperCase(),n=0,s=l.length;n<s;++n)if(r=l[n].name.toUpperCase(),o=l[n].abbr.toUpperCase(),a=l[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[n];break;case"NNNN":if(r===e)return l[n];break;case"NNNNN":if(a===e)return l[n];break}else if(0<=[r,o,a].indexOf(e))return l[n]},K.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*i},K.erasAbbrRegex=function(e){return d(this,"_erasAbbrRegex")||si.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return d(this,"_erasNameRegex")||si.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return d(this,"_erasNarrowRegex")||si.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Oe.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,i){var n,s;if(this._monthsParseExact)return function(e,t,i){var n,s,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;
vendor: 5,782 bytes, line 25
25++n)r=g([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(r,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(s=ye.call(this._shortMonthsParse,e))?s:null:-1!==(s=ye.call(this._longMonthsParse,e))?s:null:"MMM"===t?-1!==(s=ye.call(this._shortMonthsParse,e))||-1!==(s=ye.call(this._longMonthsParse,e))?s:null:-1!==(s=ye.call(this._longMonthsParse,e))||-1!==(s=ye.call(this._shortMonthsParse,e))?s:null}.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=g([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(s="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},K.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ee),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Ae),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return qe(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ue(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?Ue(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?Ue(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,i){var n,s;if(this._weekdaysParseExact)return function(e,t,i){var n,s,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=g([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(s=ye.call(this._weekdaysParse,e))?s:null:"ddd"===t?-1!==(s=ye.call(this._shortWeekdaysParse,e))?s:null:-1!==(s=ye.call(this._minWeekdaysParse,e))?s:null:"dddd"===t?-1!==(s=ye.call(this._weekdaysParse,e))||-1!==(s=ye.call(this._shortWeekdaysParse,e))||-1!==(s=ye.call(this._minWeekdaysParse,e))?s:null:"ddd"===t?-1!==(s=ye.call(this._shortWeekdaysParse,e))||-1!==(s=ye.call(this._weekdaysParse,e))||-1!==(s=ye.call(this._minWeekdaysParse,e))?s:null:-1!==(s=ye.call(this._minWeekdaysParse,e))||-1!==(s=ye.call(this._weekdaysParse,e))||-1!==(s=ye.call(this._shortWeekdaysParse,e))?s:null}.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=g([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Ge),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,i){return 11<e?i?"pm":"PM":i?"am":"AM"},ut("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===U(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=i("moment.lang is deprecated. Use moment.locale instead.",ut),p.langData=i("moment.langData is deprecated. Use moment.localeData instead.",ht);var pi=Math.abs;
vendor: 5,586 bytes, line 25
25function fi(e,t,i,n){t=qt(t,i);return e._milliseconds+=n*t._milliseconds,e._days+=n*t._days,e._months+=n*t._months,e._bubble()}function mi(e){return e<0?Math.floor(e):Math.ceil(e)}function gi(e){return 4800*e/146097}function vi(e){return 146097*e/4800}function yi(e){return function(){return this.as(e)}}ne=yi("ms"),X=yi("s"),Pe=yi("m"),ie=yi("h"),te=yi("d"),Ve=yi("w"),ce=yi("M"),Z=yi("Q"),re=yi("y");function bi(e){return function(){return this.isValid()?this._data[e]:NaN}}var J=bi("milliseconds"),se=bi("seconds"),ze=bi("minutes"),K=bi("hours"),_i=bi("days"),wi=bi("months"),xi=bi("years");var ki=Math.round,Di={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ci(e,t,i,n){var s=qt(e).abs(),r=ki(s.as("s")),o=ki(s.as("m")),a=ki(s.as("h")),l=ki(s.as("d")),u=ki(s.as("M")),c=ki(s.as("w")),s=ki(s.as("y")),r=(r<=i.ss?["s",r]:r<i.s&&["ss",r])||o<=1&&["m"]||o<i.m&&["mm",o]||a<=1&&["h"]||a<i.h&&["hh",a]||l<=1&&["d"]||l<i.d&&["dd",l];return(r=(r=null!=i.w?r||c<=1&&["w"]||c<i.w&&["ww",c]:r)||u<=1&&["M"]||u<i.M&&["MM",u]||s<=1&&["y"]||["yy",s])[2]=t,r[3]=0<+e,r[4]=n,function(e,t,i,n,s){return s.relativeTime(t||1,!!i,e,n)}.apply(null,r)}var Si=Math.abs;function Ti(e){return(0<e)-(e<0)||+e}function Mi(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i,n,s,r,o,a=Si(this._milliseconds)/1e3,l=Si(this._days),u=Si(this._months),c=this.asSeconds();return c?(e=B(a/60),t=B(e/60),a%=60,e%=60,i=B(u/12),u%=12,n=a?a.toFixed(3).replace(/\.?0+$/,""):"",s=Ti(this._months)!==Ti(c)?"-":"",r=Ti(this._days)!==Ti(c)?"-":"",o=Ti(this._milliseconds)!==Ti(c)?"-":"",(c<0?"-":"")+"P"+(i?s+i+"Y":"")+(u?s+u+"M":"")+(l?r+l+"D":"")+(t||e||a?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(a?o+n+"S":"")):"P0D"}var Pi=At.prototype;return Pi.isValid=function(){return this._isValid},Pi.abs=function(){var e=this._data;return this._milliseconds=pi(this._milliseconds),this._days=pi(this._days),this._months=pi(this._months),e.milliseconds=pi(e.milliseconds),e.seconds=pi(e.seconds),e.minutes=pi(e.minutes),e.hours=pi(e.hours),e.months=pi(e.months),e.years=pi(e.years),this},Pi.add=function(e,t){return fi(this,e,t,1)},Pi.subtract=function(e,t){return fi(this,e,t,-1)},Pi.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=L(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+gi(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(vi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Pi.asMilliseconds=ne,Pi.asSeconds=X,Pi.asMinutes=Pe,Pi.asHours=ie,Pi.asDays=te,Pi.asWeeks=Ve,Pi.asMonths=ce,Pi.asQuarters=Z,Pi.asYears=re,Pi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*U(this._months/12):NaN},Pi._bubble=function(){var e=this._milliseconds,t=this._days,i=this._months,n=this._data;return 0<=e&&0<=t&&0<=i||e<=0&&t<=0&&i<=0||(e+=864e5*mi(vi(i)+t),i=t=0),n.milliseconds=e%1e3,e=B(e/1e3),n.seconds=e%60,e=B(e/60),n.minutes=e%60,e=B(e/60),n.hours=e%24,t+=B(e/24),i+=e=B(gi(t)),t-=mi(vi(e)),e=B(i/12),i%=12,n.days=t,n.months=i,n.years=e,this},Pi.clone=function(){return qt(this)},Pi.get=function(e){return e=L(e),this.isValid()?this[e+"s"]():NaN},Pi.milliseconds=J,Pi.seconds=se,Pi.minutes=ze,Pi.hours=K,Pi.days=_i,Pi.weeks=function(){return B(this.days()/7)},Pi.months=wi,Pi.years=xi,Pi.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var i=!1,n=Di;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(n=Object.assign({},Di,t),null!=t.s&&null==t.ss&&(n.ss=t.s-1)),e=this.localeData(),t=Ci(this,!i,n,e),i&&(t=e.pastFuture(+this,t)),e.postformat(t)},Pi.toISOString=Mi,Pi.toString=Mi,Pi.toJSON=Mi,Pi.locale=Xt,Pi.localeData=Zt,Pi.toIsoString=i("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mi),Pi.lang=$e,H("X",0,0,"unix"),H("x",0,0,"valueOf"),he("x",ae),he("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,i){i._d=new Date(U(e))}),p.version="2.29.4",e=Pt,p.fn=G,p.min=function(){return It("isBefore",[].slice.call(arguments,0))},p.max=function(){return It("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=g,p.unix=function(e){return Pt(1e3*e)},p.months=function(e,t){return hi(e,t,"months")},p.isDate=h,p.locale=ut,p.invalid=b,p.duration=qt,p.isMoment=k,p.weekdays=function(e,t,i){return di(e,t,i,"weekdays")},p.parseZone=function(){return Pt.apply(null,arguments).parseZone()},p.localeData=ht,p.isDuration=Et,p.monthsShort=function(e,t){return hi(e,t,"monthsShort")},p.weekdaysMin=function(e,t,i){return di(e,t,i,"weekdaysMin")},p.defineLocale=ct,p.updateLocale=function(e,t){var i,n;return null!=t?(n=nt,null!=st[e]&&null!=st[e].parentLocale?st[e].set(S(st[e]._config,t)):(t=S(n=null!=(i=lt(e))?i._config:n,t),null==i&&(t.abbr=e),(n=new T(t)).parentLocale=st[e],st[e]=n),ut(e)):null!=st[e]&&(null!=st[e].parentLocale?(st[e]=st[e].parentLocale,e===ut()&&ut(e)):null!=st[e]&&delete st[e]),st[e]},p.locales=function(){return M(st)},p.weekdaysShort=function(e,t,i){return di(e,t,i,"weekdaysShort")},p.normalizeUnits=L,p.relativeTimeRounding=function(e){return void 0===e?ki:"function"==typeof e&&(ki=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Di[e]&&(void 0===t?Di[e]:(Di[e]=t,"
25s"===e&&(Di.ss=t-1),!0))},p.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=G,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p});var dateFormatConverter;(function(e){if(!String.prototype.replaceAll){String.prototype.replaceAll=function(e,t){return this.split(e).join(t)}}if(!String.prototype.contains){String.prototype.contains=function(e){return this.indexOf(e)>=0}}if(!Array.prototype.first){Array.prototype.first=function(e){if(!e)return this.length?this[0]:null;for(var t=0;t<this.length;t++){var i=this[t];if(e(i)){return i}}return null}}if(!Array.prototype.map){Array.prototype.map=function(e,t){var i,n,s;if(this==null){throw new TypeError(" this is null or not defined")}var r=Object(this);var o=r.length>>>0;if(typeof e!=="function"){throw new TypeError(e+" is not a function")}if(arguments.length>1){i=t}n=new Array(o);s=0;while(s<o){var a,l;if(s in r){a=r[s];l=e.call(i,a,s,r);n[s]=l}s++}return n}}if(!Object.keys){Object.keys=function(){"use strict";var s=Object.prototype.hasOwnProperty,r=!{toString:null}.propertyIsEnumerable("toString"),o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=o.length;return function(e){if(typeof e!=="object"&&(typeof e!=="function"||e===null)){throw new TypeError("Object.keys called on non-object")}var t=[],i,n;for(i in e){if(s.call(e,i)){t.push(i)}}if(r){for(n=0;n<a;n++){if(s.call(e,o[n])){t.push(o[n])}}}return t}}()}function t(e,t,i){if(t==i)return e;e=e||"";var n="";var s=0;var r=u(i);var o=c(u(t));while(s<e.length){var a=l(t,e,s);if(a.literal.length>0)n+=i.MakeLiteral(a.literal);if(a.token.length>0)n+=r[o[a.token]];s=a.nextBegin}return n}e.convert=t;function l(e,t,i){var n="";var s=i;var r=h(c(u(e)));while(s<t.length){var o=e.ReadEscapedPart(t,s);if(o.length>0){n+=o.value;s+=o.length;continue}var a=r.first(function(e){return t.indexOf(e,s)==s});if(!a){n+=t.charAt(s);s++;continue}return{token:a,literal:n,nextBegin:s+a.length}}return{token:"",literal:n,nextBegin:s}}function u(e){return[e.DayOfMonthShort,e.DayOfMonthLong,e.DayOfWeekShort,e.DayOfWeekLong,e.DayOfYearShort,e.DayOfYearLong,e.MonthOfYearShort,e.MonthOfYearLong,e.MonthNameShort,e.MonthNameLong,e.YearShort,e.YearLong,e.AmPm,e.Hour24Short,e.Hour24Long,e.Hour12Short,e.Hour12Long,e.MinuteShort,e.MinuteLong,e.SecondShort,e.SecondLong,e.FractionalSecond1,e.FractionalSecond2,e.FractionalSecond3,e.TimeZone,e.UnixTimestamp].map(function(e){return e||""})}function c(e){var t={};for(var i=0;i<e.length;i++){var n=e[i];if(n){t[n]=i}}return t}function h(e){var t=Object.keys(e);t.sort(function(e,t){return t.length-e.length});return t}function r(e,t){for(var i=0;i<e.length;i++){var n=e.charAt(i);for(var s=0;s<t.length;s++){if(n===t.charAt(s))return i}}return-1}e.standard={DayOfMonthShort:"d",DayOfMonthLong:"dd",DayOfWeekShort:"ddd",DayOfWeekLong:"dddd",DayOfYearShort:"D",DayOfYearLong:"DD",MonthOfYearShort:"M",MonthOfYearLong:"MM",MonthNameShort:"MMM",MonthNameLong:"MMMM",YearShort:"yy",YearLong:"yyyy",AmPm:"tt",Hour24Short:"H",Hour24Long:"H
25H",Hour12Short:"h",Hour12Long:"hh",MinuteShort:"m",MinuteLong:"mm",SecondShort:"s",SecondLong:"ss",FractionalSecond1:"f",FractionalSecond2:"ff",FractionalSecond3:"fff",TimeZone:"Z",UnixTimestamp:"X",MakeLiteral:function(e){var t="dDMytHhmsfZX";if(r(e,t)<0)return e;var i="";for(var n=0;n<e.length;n++){var s=e.charAt(n);if(t.contains(s))i+="\\";i+=s}return i},ReadEscapedPart:function(e,t){var i="";var n=t;while(n<e.length){var s=e.charAt(n);if(s=="\\"){i+=n==e.length-1?"\\":e[++n];n++;continue}break}return{value:i,length:n-t}}};e.dotNet={DayOfMonthShort:"d",DayOfMonthLong:"dd",DayOfWeekShort:"ddd",DayOfWeekLong:"dddd",DayOfYearShort:null,DayOfYearLong:null,MonthOfYearShort:"M",MonthOfYearLong:"MM",MonthNameShort:"MMM",MonthNameLong:"MMMM",YearShort:"yy",YearLong:"yyyy",AmPm:"tt",Hour24Short:"H",Hour24Long:"HH",Hour12Short:"h",Hour12Long:"hh",MinuteShort:"m",MinuteLong:"mm",SecondShort:"s",SecondLong:"ss",FractionalSecond1:"f",FractionalSecond2:"ff",FractionalSecond3:"fff",TimeZone:"zzz",UnixTimestamp:null,MakeLiteral:function(e){var t="dfFghHKmMstyz'\"";if(r(e,t)<0)return e;var i="";for(var n=0;n<e.length;n++){var s=e.charAt(n);if(t.contains(s))i+="\\";i+=s}return i},ReadEscapedPart:function(e,t){var i="";var n=t;while(n<e.length){var s=e.charAt(n);if(s=="\\"){i+=n==e.length-1?"\\":e[++n];n++;continue}if(s=='"'){while(++n<e.length){var r=e.charAt(n);if(r=='"')break;if(r=="\\"){i+=n==e.length-1?"\\":e[++n]}else{i+=r}}n++;continue}if(s=="'"){while(++n<e.length){var r=e.charAt(n);if(r=="'")break;if(r=="\\"){i+=n==e.length-1?"\\":e[++n]}else{i+=r}}n++;continue}break}return{value:i,length:n-t}}};e.momentJs={DayOfMonthShort:"D",DayOfMonthLong:"DD",DayOfWeekShort:"ddd",DayOfWeekLong:"dddd",DayOfYearShort:"DDD",DayOfYearLong:"DDDD",MonthOfYearShort:"M",MonthOfYearLong:"MM",MonthNameShort:"MMM",MonthNameLong:"MMMM",YearShort:"YY",YearLong:"YYYY",AmPm:"A",Hour24Short:"H",Hour24Long:"H
vendor: 5,037 bytes, lines 25-38
25H",Hour12Short:"h",Hour12Long:"hh",MinuteShort:"m",MinuteLong:"mm",SecondShort:"s",SecondLong:"ss",FractionalSecond1:"S",FractionalSecond2:"SS",FractionalSecond3:"SSS",TimeZone:"Z",UnixTimestamp:"X",MakeLiteral:function(e){var t="MoDdeEwWYgGAaHhmsSzZX";e=e.replaceAll("[","(").replaceAll("]",")");if(r(e,t)<0)return e;return"["+e+"]"},ReadEscapedPart:function(e,t){if(e.charAt(t)!="[")return{value:"",length:0};var i="";var n=t;while(n<e.length){var s=e.charAt(n);if(s=="]"){break}i+=s}return{value:i,length:n-t}}}})(dateFormatConverter||(dateFormatConverter={}));$(document).ready(function(){$.each($("h3>a"),function(e,t){var i=$(t).attr("title");if(i!=null&&!i.trim()){$(t).attr("title",$(t).text())}})});
26/*
27URI.js v1.19.11 
28http://medialize.github.io/URI.js
29build contains: IPv6.js, punycode.js, SecondLevelDomains.js, URI.js, URITemplate.js
30Copyright (c) 2011 Rodney Rehm
31
32Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
33
34The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
35
36THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37*/
38(function(e,t){"object"===typeof module&&module.exports?module.exports=t():"function"===typeof define&&define.amd?define(t):e.IPv6=t(e)})(this,function(e){var t=e&&e.IPv6;return{best:function(e){e=e.toLowerCase().split(":");var t=e.length,i=8;""===e[0]&&""===e[1]&&""===e[2]?(e.shift(),e.shift()):""===e[0]&&""===e[1]?e.shift():""===e[t-1]&&""===e[t-2]&&e.pop();t=e.length;-1!==e[t-1].indexOf(".")&&(i=7);var n;for(n=0;n<t&&""!==e[n];n++);if(n<i)for(e.splice(n,1,"0000");e.length<i;)e.splice(n,0,"0000");for(n=0;n<i;n++){t=e[n].split("");for(var s=0;3>s;s++)if("0"===t[0]&&1<t.length)t.splice(0,1);else break;e[n]=t.join("")}t=-1;var r=s=0,o=-1,a=!1;for(n=0;n<i;n++)a?"0"===e[n]?r+=1:(a=!1,r>s&&(t=o,s=r)):"0"===e[n]&&(a=!0,o=n,r=1);r>s&&(t=o,s=r);1<s&&e.splice(t,s,"");t=e.length;i="";""===e[0]&&(i=":");for(n=0;n<t;n++){i+=e[n];if(n===t-1)break;i+=":"}""===e[t-1]&&(i+=":");return i},noConflict:function(){e.IPv6===this&&(e.IPv6=t);return this}}});(function(e){function m(e){throw new RangeError(h[e])}function s(e,t){for(var i=e.length,n=[];i--;)n[i]=t(e[i]);return n}function t(e,t){var i=e.split("@"),n="";1<i.length&&(n=i[0]+"@",e=i[1]);e=e.replace(c,".");i=e.split(".");i=s(i,t).join(".");return n+i}function g(e){for(var t=[],i=0,n=e.length,s,r;i<n;)s=e.charCodeAt(i++),55296<=s&&56319>=s&&i<n?(r=e.charCodeAt(i++),56320==(r&64512)?t.push(((s&1023)<<10)+(r&1023)+65536):(t.push(s),i--)):t.push(s);return t}function d(e){return s(e,function(e){var t="";65535<e&&(e-=65536,t+=b(e>>>10&1023|55296),e=56320|e&1023);return t+=b(e)}).join("")}function v(e,t,i){var n=0;e=i?y(e/700):e>>1;for(e+=y(e/t);455<e;n+=36)e=y(e/35);return y(n+36*e/(e+38))}function i(e){var t=[],i=e.length,n=0,s=128,r=72,o,a;var l=e.lastIndexOf("-");0>l&&(l=0);for(o=0;o<l;++o)128<=e.charCodeAt(o)&&m("not-basic"),t.push(e.charCodeAt(o));for(l=0<l?l+1:0;l<i;){o=n;var u=1;for(a=36;;a+=36){l>=i&&m("invalid-input");var c=e.charCodeAt(l++);c=10>c-48?c-22:26>c-65?c-65:26>c-97?c-97:36;(36<=c||c>y((2147483647-n)/u))&&m("overflow");n+=c*u;var h=a<=r?1:a>=r+26?26:a-r;if(c<h)break;c=36-h;u>y(2147483647/c)&&m("overflow");u*=c}u=t.length+1;r=v(n-o,u,0==o);y(n/u)>2147483647-s&&m("overflow");s+=y(n/u);n%=u;t.splice(n++,0,s)}return d(t)}function n(e){var t,i,n,s=[];e=g(e);var r=e.length;var o=128;var a=0;var l=72;for(n=0;n<r;++n){var u=e[n];128>u&&s.push(b(u))}for((t=i=s.length)&&s.push("-");t<r;){var c=2147483647;for(n=0;n<r;++n)u=e[n],u>=o&&u<c&&(c=u);var h=t+1;c-o>y((2147483647-a)/h)&&m("overflow");a+=(c-o)*h;o=c;for(n=0;n<r;++n)if(u=e[n],u<o&&2147483647<++a&&m("overflow"),u==o){var d=a;for(c=36;;c+=36){u=c<=l?1:c>=l+26?26:c-l;if(d<u)break;var p=d-u;d=36-u;var f=s;u+=p%d;f.push.call(f,b(u+22+75*(26>u)-0));d=y(p/d)}s.push(b(d+22+75*(26>d)-0));l=v(a,h,t==i);a=0;++t}++a;++o}return s.join("")}var r="object"==typeof exports&&exports&&!exports.nodeType&&exports,o="object"==typeof module&&module&&!module.nodeType&&module,a="object"==typeof global&&global;if(a.global===a||a.window===a||a.self===a)e=a;var l=/^xn--/,u=/[^\x20-\x7E]/,c=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
38= 0x80 (not a basic code point)","invalid-input":"Invalid input"},y=Math.floor,b=String.fromCharCode,p;var f={version:"1.3.2",ucs2:{decode:g,encode:d},decode:i,encode:n,toASCII:function(e){return t(e,function(e){return u.test(e)?"xn--"+n(e):e})},toUnicode:function(e){return t(e,function(e){return l.test(e)?i(e.slice(4).toLowerCase()):e})}};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return f});else if(r&&o)if(module.exports==r)o.exports=f;else for(p in f)f.hasOwnProperty(p)&&(r[p]=f[p]);else e.punycode=f})(this);(function(e,t){"object"===typeof module&&module.exports?module.exports=t():"function"===typeof define&&define.amd?define(t):e.SecondLevelDomains=t(e)})(this,function(e){var t=e&&e.SecondLevelDomains,s={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" c
38om edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(e){var t=e.lastIndexOf(".");if(0>=t||t>=e.length-1)return!1;var i=e.lastIndexOf(".",t-1);if(0>=i||i>=t-1)return!1;var n=s.list[e.slice(t+1)];return n?0<=n.indexOf(" "+e.slice(i+1,t)+" "):!1},is:function(e){var t=e.lastIndexOf(".");if(0>=t||t>=e.length-1||0<=e.lastIndexOf(".",t-1))return!1;var i=s.list[e.slice(t+1)];return i?0<=i.indexOf(" "+e.slice(0,t)+" "):!1},get:function(e){var t=e.lastIndexOf(".");if(0>=t||t>=e.length-1)return null;var i=e.lastIndexOf(".",t-1);if(0>=i||i>=t-1)return null;var n=s.list[e.slice(t+1)];return!n||0>n.indexOf(" "+e.slice(i+1,t)+" ")?null:e.slice(i+1)},noConflict:function(){e.SecondLevelDomains===this&&(e.SecondLevelDomains=t);return this}};return s});(function(e,t){"object"===typeof module&&module.exports?module.exports=t(require("./punycode"),require("./IPv6"),require("./SecondLevelDomains")):"function"===typeof define&&define.amd?define(["./punycode","./IPv6","./SecondLevelDomains"],t):e.URI=t(e.punycode,e.IPv6,e.SecondLevelDomains,e)}
vendor: 5,979 bytes, line 38
38)(this,function(a,t,u,i){function p(e,t){var i=1<=arguments.length,n=2<=arguments.length;if(!(this instanceof p))return i?n?new p(e,t):new p(e):new p;if(void 0===e){if(i)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!==typeof location?location.href+"":""}if(null===e&&i)throw new TypeError("null is not a valid argument for URI");this.href(e);return void 0!==t?this.absoluteTo(t):this}function s(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function o(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function l(e){return"Array"===o(e)}function r(e,t){var i={},n;if("RegExp"===o(t))i=null;else if(l(t)){var s=0;for(n=t.length;s<n;s++)i[t[s]]=!0}else i[t]=!0;s=0;for(n=e.length;s<n;s++)if(i&&void 0!==i[e[s]]||!i&&t.test(e[s]))e.splice(s,1),n--,s--;return e}function c(e,t){var i;if(l(t)){var n=0;for(i=t.length;n<i;n++)if(!c(e,t[n]))return!1;return!0}var s=o(t);n=0;for(i=e.length;n<i;n++)if("RegExp"===s){if("string"===typeof e[n]&&e[n].match(t))return!0}else if(e[n]===t)return!0;return!1}function h(e,t){if(!l(e)||!l(t)||e.length!==t.length)return!1;e.sort();t.sort();for(var i=0,n=e.length;i<n;i++)if(e[i]!==t[i])return!1;return!0}function d(e){return e.replace(/^\/+|\/+$/g,"")}function n(e){return escape(e)}function f(e){return encodeURIComponent(e).replace(/[!'()*]/g,n).replace(/\*/g,"%2A")}function e(i){return function(e,t){if(void 0===e)return this._parts[i]||"";this._parts[i]=e||null;this.build(!t);return this}}function m(i,n){return function(e,t){if(void 0===e)return this._parts[i]||"";null!==e&&(e+="",e.charAt(0)===n&&(e=e.substring(1)));this._parts[i]=e;this.build(!t);return this}}var g=i&&i.URI;p.version="1.19.11";var v=p.prototype,y=Object.prototype.hasOwnProperty;p._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:p.preventInvalidHostname,duplicateQueryParameters:p.duplicateQueryParameters,escapeQuerySpace:p.escapeQuerySpace}};p.preventInvalidHostname=!1;p.duplicateQueryParameters=!1;p.escapeQuerySpace=!0;p.protocol_expression=/^[a-z][a-z0-9.+-]*$/i;p.idn_expression=/[^a-z0-9\._-]/i;p.punycode_expression=/(xn--)/i;p.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/;p.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;p.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\u00ab\u00bb\u201c\u201d\u2018\u2019]))/gi;p.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\u00ab\u00bb\u201c\u201d\u201e\u2018\u2019]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g};p.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/;p.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g;p.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"};p.hostProtocols=["http","https"];p.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/;p.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"};p.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return p.domAttributes[t]}};p.encode=f;p.decode=decodeURIComponent;p.iso8859=function(){p.encode=escape;p.decode=unescape};p.unicode=function(){p.encode=f;p.decode=decodeURIComponent};p.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}};p.encodeQuery=function(e,t){var i=p.encode(e+"");void 0===t&&(t=p.escapeQuerySpace);return t?i.replace(/%20/g,"+"):i};p.decodeQuery=function(t,e){t+="";void 0===e&&(e=p.escapeQuerySpace);try{return p.decode(e?t.replace(/\+/g,"%20"):t)}catch(e){return t}};var b={encode:"encode",decode:"decode"},_,w=function(i,n){return function(t){try{return p[n](t+"").replace(p.characters[i][n].expression,function(e){return p.characters[i][n].map[e]})}catch(e){return t}}};for(_ in b)p[_+"PathSegment"]=w("pathname",b[_]),p[_+"UrnPathSegment"]=w("ur
38npath",b[_]);b=function(s,r,o){return function(e){var t=o?function(e){return p[r](p[o](e))}:p[r];e=(e+"").split(s);for(var i=0,n=e.length;i<n;i++)e[i]=t(e[i]);return e.join(s)}};p.decodePath=b("/","decodePathSegment");p.decodeUrnPath=b(":","decodeUrnPathSegment");p.recodePath=b("/","encodePathSegment","decode");p.recodeUrnPath=b(":","encodeUrnPathSegment","decode");p.encodeReserved=w("reserved","encode");p.parse=function(e,t){t||(t={preventInvalidHostname:p.preventInvalidHostname});e=e.replace(p.leading_whitespace_expression,"");e=e.replace(p.ascii_tab_whitespace,"");var i=e.indexOf("#");-1<i&&(t.fragment=e.substring(i+1)||null,e=e.substring(0,i));i=e.indexOf("?");-1<i&&(t.query=e.substring(i+1)||null,e=e.substring(0,i));e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://");e=e.replace(/^[/\\]{2,}/i,"//");"//"===e.substring(0,2)?(t.protocol=null,e=e.substring(2),e=p.parseAuthority(e,t)):(i=e.indexOf(":"),-1<i&&(t.protocol=e.substring(0,i)||null,t.protocol&&!t.protocol.match(p.protocol_expression)?t.protocol=void 0:"//"===e.substring(i+1,i+3).replace(/\\/g,"/")?(e=e.substring(i+3),e=p.parseAuthority(e,t)):(e=e.substring(i+1),t.urn=!0)));t.path=e;return t};p.parseHost=function(e,t){e||(e="");e=e.replace(/\\/g,"/");var i=e.indexOf("/");-1===i&&(i=e.length);if("["===e.charAt(0)){var n=e.indexOf("]");t.hostname=e.substring(1,n)||null;t.port=e.substring(n+2,i)||null;"/"===t.port&&(t.port=null)}else{var s=e.indexOf(":");n=e.indexOf("/");s=e.indexOf(":",s+1);-1!==s&&(-1===n||s<n)?(t.hostname=e.substring(0,i)||null,t.port=null):(n=e.substring(0,i).split(":"),t.hostname=n[0]||null,t.port=n[1]||null)}t.hostname&&"/"!==e.substring(i).charAt(0)&&(i++,e="/"+e);t.preventInvalidHostname&&p.ensureValidHostname(t.hostname,t.protocol);t.port&&p.ensureValidPort(t.port);return e.substring(i)||"/"};p.parseAuthority=function(e,t){e=p.parseUserinfo(e,t);return p.parseHost(e,t)};p.parseUserinfo=function(e,t){var i=e;-1!==e.indexOf("\\")&&(e=e.replace(/\\/g,"/"));var n=e.indexOf("/"),s=e.lastIndexOf("@",-1<n?n:e.length-1);-1<s&&(-1===n||s<n)?(n=e.substring(0,s).split(":"),t.username=n[0]?p.decode(n[0]):null,n.shift(),t.password=n[0]?p.decode(n.join(":")):null,e=i.substring(s+1)):(t.username=null,t.password=null);return e};p.parseQuery=function(e,t){if(!e)return{};e=e.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"");if(!e)return{};for(var i={},n=e.split("&"),s=n.length,r,o,a=0;a<s;a++)if(r=n[a].split("="),o=p.decodeQuery(r.shift(),t),r=r.length?p.decodeQuery(r.join("="),t):null,"__proto__"!==o)if(y.call(i,o)){if("string"===typeof i[o]||null===i[o])i[o]=[i[o]];i[o].push(r)}else i[o]=r;return i};p.build=function(e){var t="",i=!1;e.protocol&&(t+=e.protocol+":");e.urn||!t&&!e.hostname||(t+="//",i=!0);t+=p.buildAuthority(e)||"";"string"===typeof e.path&&("/"!==e.path.charAt(0)&&i&&(t+="/"),t+=e.path);"string"===typeof e.query&&e.query&&(t+="?"+e.query);"string"===typeof e.fragment&&e.fragment&&(t+="#"+e.fragment);return t};p.buildHost=function(e){var t="";if(e.hostname)t=p.ip6_expression.test(e.hostname)?t+("["+e.hostname+"]"):t+e.hostname;else return"";e.port&&(t+=":"+e.port);return t};p.buildAuthority=function(e){return p.buildUserinfo(e)+p.buildHost(e)};p.buildUserinfo=function(e){var t="";e.username&&(t+=p.encode(e.username));e.password&&(t+=":"+p.encode(e.password));t&&(t+="@");return t};p.buildQuery=function(e,t,i){var n="",s,r;for(s in e)if("__proto__"!==s&&y.call(e,s))if(l(e[s])){var o={};var a=0;for(r=e[s].length;a<r;a++)void 0!==e[s][a]&&void 0===o[e[s][a]+""]&&(n+="&"+p.buildQueryParameter(s,e[s][a],i),!0!==t&&(o[e[s][a]+""]=!0))}else void 0!==e[s]&&(n+="&"+p.buildQueryParameter(s,e[s],i));return n.substring(1)};p.buildQueryParameter=function(e,t,i){return p.encodeQuery(e,i)+(null!==t?"="+p.encodeQuery(t,i):"")};p.addQuery=function(e,t,i){if("object"===typeof t)for(var n in t)y.call(t,n)&&p.addQuery(e,n,t[n]);else if("string"===typeof t)void 0===e[t]?e[t]=i:("string"===typeof e[t]&&(e[t]=[e[t]]),l(i)||(i=[i]),e[t]=(e[t]||[]).concat(i));else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter")};p.setQuery=function(e,t,i){if("object"===typeof t)for(var n in t)y.call(t,n)&&p.setQuery(e,n,t[
vendor: 22,842 bytes, line 38
38n]);else if("string"===typeof t)e[t]=void 0===i?null:i;else throw new TypeError("URI.setQuery() accepts an object, string as the name parameter")};p.removeQuery=function(e,t,i){var n;if(l(t))for(i=0,n=t.length;i<n;i++)e[t[i]]=void 0;else if("RegExp"===o(t))for(n in e)t.test(n)&&(e[n]=void 0);else if("object"===typeof t)for(n in t)y.call(t,n)&&p.removeQuery(e,n,t[n]);else if("string"===typeof t)void 0!==i?"RegExp"===o(i)?!l(e[t])&&i.test(e[t])?e[t]=void 0:e[t]=r(e[t],i):e[t]!==String(i)||l(i)&&1!==i.length?l(e[t])&&(e[t]=r(e[t],i)):e[t]=void 0:e[t]=void 0;else throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter")};p.hasQuery=function(e,t,i,n){switch(o(t)){case"String":break;case"RegExp":for(var s in e)if(y.call(e,s)&&t.test(s)&&(void 0===i||p.hasQuery(e,s,i)))return!0;return!1;case"Object":for(var r in t)if(y.call(t,r)&&!p.hasQuery(e,r,t[r]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(o(i)){case"Undefined":return t in e;case"Boolean":return e=!(l(e[t])?!e[t].length:!e[t]),i===e;case"Function":return!!i(e[t],t,e);case"Array":return l(e[t])?(n?c:h)(e[t],i):!1;case"RegExp":return l(e[t])?n?c(e[t],i):!1:!(!e[t]||!e[t].match(i));case"Number":i=String(i);case"String":return l(e[t])?n?c(e[t],i):!1:e[t]===i;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}};p.joinPaths=function(){for(var e=[],t=[],i=0,n=0;n<arguments.length;n++){var s=new p(arguments[n]);e.push(s);s=s.segment();for(var r=0;r<s.length;r++)"string"===typeof s[r]&&t.push(s[r]),s[r]&&i++}if(!t.length||!i)return new p("");t=new p("").segment(t);""!==e[0].path()&&"/"!==e[0].path().slice(0,1)||t.path("/"+t.path());return t.normalize()};p.commonPath=function(e,t){var i=Math.min(e.length,t.length),n;for(n=0;n<i;n++)if(e.charAt(n)!==t.charAt(n)){n--;break}if(1>n)return e.charAt(0)===t.charAt(0)&&"/"===e.charAt(0)?"/":"";if("/"!==e.charAt(n)||"/"!==t.charAt(n))n=e.substring(0,n).lastIndexOf("/");return e.substring(0,n+1)};p.withinString=function(e,t,i){i||(i={});var n=i.start||p.findUri.start,s=i.end||p.findUri.end,r=i.trim||p.findUri.trim,o=i.parens||p.findUri.parens,a=/[a-z0-9-]=["']?$/i;for(n.lastIndex=0;;){var l=n.exec(e);if(!l)break;var u=l.index;if(i.ignoreHtml){var c=e.slice(Math.max(u-3,0),u);if(c&&a.test(c))continue}var h=u+e.slice(u).search(s);c=e.slice(u,h);for(h=-1;;){var d=o.exec(c);if(!d)break;h=Math.max(h,d.index+d[0].length)}c=-1<h?c.slice(0,h)+c.slice(h).replace(r,""):c.replace(r,"");c.length<=l[0].length||i.ignore&&i.ignore.test(c)||(h=u+c.length,l=t(c,u,h,e),void 0===l?n.lastIndex=h:(l=String(l),e=e.slice(0,u)+l+e.slice(h),n.lastIndex=u+l.length))}n.lastIndex=0;return e};p.ensureValidHostname=function(e,t){var i=!!e,n=!1;t&&(n=c(p.hostProtocols,t));if(n&&!i)throw new TypeError("Hostname cannot be empty, if protocol is "+t);if(e&&e.match(p.invalid_hostname_characters)){if(!a)throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(a.toASCII(e).match(p.invalid_hostname_characters))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_]')}};p.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&0<t&&65536>t))throw new TypeError('Port "'+e+'" is not a valid port')}};p.noConflict=function(e){if(e)return e={URI:this.noConflict()},i.URITemplate&&"function"===typeof i.URITemplate.noConflict&&(e.URITemplate=i.URITemplate.noConflict()),i.IPv6&&"function"===typeof i.IPv6.noConflict&&(e.IPv6=i.IPv6.noConflict()),i.SecondLevelDomains&&"function"===typeof i.SecondLevelDomains.noConflict&&(e.SecondLevelDomains=i.SecondLevelDomains.noConflict()),e;i.URI===this&&(i.URI=g);return this};v.build=function(e){if(!0===e)this._deferred_build=!0;else if(void 0===e||this._deferred_build)this._string=p.build(this._parts),this._deferred_build=!1;return this};v.clone=function(){return new p(this)};v.valueOf=v.toString=function(){return this.build(!1)._string};v.protocol=e("protocol");v.username=e("username");v.password=e("password");v.hostname=e("hostname");v.port=e("port");v.query=m("query","?");v.fragment=m("fragment","#");v.search=function(e,t){var i=this.query(e,t);return"string"===typeof i&&i.length?"?"+i:i};v.hash=function(e,t){var i=this.fragment(e,t);return"string"===typeof i&&i.length?"#"+i:i};v.pathname=function(e,t){if(void 0===e||!0===e){var i=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?p.decodeUrnPath:p.decodePath)(i):i}this._parts.path=this._parts.urn?e?p.recodeUrnPath(e):"":e?p.recodePath(e):"/";this.build(!t);return this};v.path=v.pathname;v.href=function(e,t){var i;if(void 0===e)return this.toString();this._string="";this._parts=p._parts();var n=e instanceof p,s="object"===typeof e&&(e.hostname||e.path||e.pathname);e.nodeName&&(s=p.getDomAttribute(e),e=e[s]||"",s=!1);!n&&s&&void 0!==e.pathname&&(e=e.toString());if("string"===typeof e||e instanceof String)this._parts=p.parse(String(e),this._parts);else if(n||s){n=n?e._parts:e;for(i in n)"query"!==i&&y.call(this._parts,i)&&(this._parts[i]=n[i]);n.query&&this.query(n.query,!1)}else throw new TypeError("invalid input");this.build(!t);return this};v.is=function(e){var t=!1,i=!1,n=!1,s=!1,r=!1,o=!1,a=!1,l=!this._parts.urn;this._parts.hostname&&(l=!1,i=p.ip4_expression.test(this._parts.hostname),n=p.ip6_expression.test(this._parts.hostname),t=i||n,r=(s=!t)&&u&&u.has(this._parts.hostname),o=s&&p.idn_expression.test(this._parts.hostname),a=s&&p.punycode_expression.test(this._parts.hostname));switch(e.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return s;case"sld":return r;case"ip":return t;case"ip4":case"ipv4":case"inet4":return i;case"ip6":case"ipv6":case"inet6":return n;case"idn":return o;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return a}return null};var x=v.protocol,k=v.port,D=v.hostname;v.protocol=function(e,t){if(e&&(e=e.replace(/:(\/\/)?$/,""),!e.match(p.protocol_expression)))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return x.call(this,e,t)};v.scheme=v.protocol;v.port=function(e,t){if(this._parts.urn)return void 0===e?"":this;void 0!==e&&(0===e&&(e=null),e&&(e+="",":"===e.charAt(0)&&(e=e.substring(1)),p.ensureValidPort(e)));return k.call(this,e,t)};v.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var i={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==p.parseHost(e,i))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=i.hostname;this._parts.preventInvalidHostname&&p.ensureValidHostname(e,this._parts.protocol)}return D.call(this,e,t)};v.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var i=this.protocol();return this.authority()?(i?i+"://":"")+this.authority():""}i=p(e);this.protocol(i.protocol()).authority(i.authority()).build(!t);return this};v.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?p.buildHost(this._parts):"";if("/"!==p.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');this.build(!t);return this};v.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?p.buildAuthority(this._parts):"";if("/"!==p.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');this.build(!t);return this};v.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var i=p.buildUserinfo(this._parts);return i?i.substring(0,i.length-1):i}"@"!==e[e.length-1]&&(e+="@");p.parseUserinfo(e,this._parts);this.build(!t);return this};v.resource=function(e,t){if(void 0===e)return this.path()+this.search()+this.hash();var i=p.parse(e);this._parts.path=i.path;this._parts.query=i.query;this._parts.fragment=i.fragment;this.build(!t);return this};v.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var i=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,i)||""}i=this._parts.hostname.length-this.domain().length;i=this._parts.hostname.substring(0,i);i=new RegExp("^"+s(i));e&&"."!==e.charAt(e.length-1)&&(e+=".");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");e&&p.ensureValidHostname(e,this._parts.protocol);this._parts.hostname=this._parts.hostname.replace(i,e);this.build(!t);return this};v.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;"boolean"===typeof e&&(t=e,e=void 0);if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var i=this._parts.hostname.match(/\./g);if(i&&2>i.length)return this._parts.hostname;i=this._parts.hostname.length-this.tld(t).length-1;i=this._parts.hostname.lastIndexOf(".",i-1)+1;return this._parts.hostname.substring(i)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");p.ensureValidHostname(e,this._parts.protocol);!this._parts.hostname||this.is("IP")?this._parts.hostname=e:(i=new RegExp(s(this.domain())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e));this.build(!t);return this};v.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;"boolean"===typeof e&&(t=e,e=void 0);if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var i=this._parts.hostname.lastIndexOf(".");i=this._parts.hostname.substring(i+1);return!0!==t&&u&&u.list[i.toLowerCase()]?u.get(this._parts.hostname)||i:i}if(e)if(e.match(/[^a-zA-Z0-9-]/))if(u&&u.is(e))i=new RegExp(s(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e);else throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(s(this.tld())+"$");this._parts.hostname=this._parts.hostname.replace(i,e)}else throw new TypeError("cannot set TLD empty");this.build(!t);return this};v.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var i=this._parts.path.length-this.filename().length-1;i=this._parts.path.substring(0,i)||(this._parts.hostname?"/":"");return e?p.decodePath(i):i}i=this._parts.path.length-this.filename().length;i=this._parts.path.substring(0,i);i=new RegExp("^"+s(i));this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e));e&&"/"!==e.charAt(e.length-1)&&(e+="/");e=p.recodePath(e);this._parts.path=this._parts.path.replace(i,e);this.build(!t);return this};v.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!==typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var i=this._parts.path.lastIndexOf("/");i=this._parts.path.substring(i+1);return e?p.decodePathSegment(i):i}i=!1;"/"===e.charAt(0)&&(e=e.substring(1));e.match(/\.?\//)&&(i=!0);var n=new RegExp(s(this.filename())+"$");e=p.recodePath(e);this._parts.path=this._parts.path.replace(n,e);i?this.normalizePath(t):this.build(!t);return this};v.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var i=this.filename(),n=i.lastIndexOf(".");if(-1===n)return"";i=i.substring(n+1);i=/^[a-z0-9%]+$/i.test(i)?i:"";return e?p.decodePathSegment(i):i}"."===e.charAt(0)&&(e=e.substring(1));if(i=this.suffix())n=e?new RegExp(s(i)+"$"):new RegExp(s("."+i)+"$");else{if(!e)return this;this._parts.path+="."+p.recodePath(e)}n&&(e=p.recodePath(e),this._parts.path=this._parts.path.replace(n,e));this.build(!t);return this};v.segment=function(e,t,i){var n=this._parts.urn?":":"/",s=this.path(),r="/"===s.substring(0,1);s=s.split(n);void 0!==e&&"number"!==typeof e&&(i=t,t=e,e=void 0);if(void 0!==e&&"number"!==typeof e)throw Error('Bad segment "'+e+'", must be 0-based integer');r&&s.shift();0>e&&(e=Math.max(s.length+e,0));if(void 0===t)return void 0===e?s:s[e];if(null===e||void 0===s[e])if(l(t)){s=[];e=0;for(var o=t.length;e<o;e++)if(t[e].length||s.length&&s[s.length-1].length)s.length&&!s[s.length-1].length&&s.pop(),s.push(d(t[e]))}else{if(t||"string"===typeof t)t=d(t),""===s[s.length-1]?s[s.length-1]=t:s.push(t)}else t?s[e]=d(t):s.splice(e,1);r&&s.unshift("");return this.path(s.join(n),i)};v.segmentCoded=function(e,t,i){var n;"number"!==typeof e&&(i=t,t=e,e=void 0);if(void 0===t){e=this.segment(e,t,i);if(l(e)){var s=0;for(n=e.length;s<n;s++)e[s]=p.decode(e[s])}else e=void 0!==e?p.decode(e):void 0;return e}if(l(t))for(s=0,n=t.length;s<n;s++)t[s]=p.encode(t[s]);else t="string"===typeof t||t instanceof String?p.encode(t):t;return this.segment(e,t,i)};var C=v.query;v.query=function(e,t){if(!0===e)return p.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"===typeof e){var i=p.parseQuery(this._parts.query,this._parts.escapeQuerySpace),n=e.call(this,i);this._parts.query=p.buildQuery(n||i,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);this.build(!t);return this}return void 0!==e&&"string"!==typeof e?(this._parts.query=p.buildQuery(e,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!t),this):C.call(this,e,t)};v.setQuery=function(e,t,i){var n=p.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"===typeof e||e instanceof String)n[e]=void 0!==t?t:null;else if("object"===typeof e)for(var s in e)y.call(e,s)&&(n[s]=e[s]);else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");this._parts.query=p.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);"string"!==typeof e&&(i=t);this.build(!i);return this};v.addQuery=function(e,t,i){var n=p.parseQuery(this._parts.query,this._parts.escapeQuerySpace);p.addQuery(n,e,void 0===t?null:t);this._parts.query=p.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);"string"!==typeof e&&(i=t);this.build(!i);return this};v.removeQuery=function(e,t,i){var n=p.parseQuery(this._parts.query,this._parts.escapeQuerySpace);p.removeQuery(n,e,t);this._parts.query=p.buildQuery(n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace);"string"!==typeof e&&(i=t);this.build(!i);return this};v.hasQuery=function(e,t,i){var n=p.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return p.hasQuery(n,e,t,i)};v.setSearch=v.setQuery;v.addSearch=v.addQuery;v.removeSearch=v.removeQuery;v.hasSearch=v.hasQuery;v.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()};v.normalizeProtocol=function(e){"string"===typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!e));return this};v.normalizeHostname=function(e){this._parts.hostname&&(this.is("IDN")&&a?this._parts.hostname=a.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!e));return this};v.normalizePort=function(e){"string"===typeof this._parts.protocol&&this._parts.port===p.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!e));return this};v.normalizePath=function(e){var t=this._parts.path;if(!t)return this;if(this._parts.urn)return this._parts.path=p.recodeUrnPath(this._parts.path),this.build(!e),this;if("/"===this._parts.path)return this;t=p.recodePath(t);var i="";if("/"!==t.charAt(0)){var n=!0;t="/"+t}if("/.."===t.slice(-3)||"/."===t.slice(-2))t+="/";t=t.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/");n&&(i=t.substring(1).match(/^(\.\.\/)+/)||"")&&(i=i[0]);for(;;){var s=t.search(/\/\.\.(\/|$)/);if(-1===s)break;else if(0===s){t=t.substring(3);continue}var r=t.substring(0,s).lastIndexOf("/");-1===r&&(r=s);t=t.substring(0,r)+t.substring(s+3)}n&&this.is("relative")&&(t=i+t.substring(1));this._parts.path=t;this.build(!e);return this};v.normalizePathname=v.normalizePath;v.normalizeQuery=function(e){"string"===typeof this._parts.query&&(this._parts.query.length?this.query(p.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!e));return this};v.normalizeFragment=function(e){this._parts.fragment||(this._parts.fragment=null,this.build(!e));return this};v.normalizeSearch=v.normalizeQuery;v.normalizeHash=v.normalizeFragment;v.iso8859=function(){var e=p.encode,t=p.decode;p.encode=escape;p.decode=decodeURIComponent;try{this.normalize()}finally{p.encode=e,p.decode=t}return this};v.unicode=function(){var e=p.encode,t=p.decode;p.encode=f;p.decode=unescape;try{this.normalize()}finally{p.encode=e,p.decode=t}return this};v.readable=function(){var e=this.clone();e.username("").password("").normalize();var t="";e._parts.protocol&&(t+=e._parts.protocol+"://");e._parts.hostname&&(e.is("punycode")&&a?(t+=a.toUnicode(e._parts.hostname),e._parts.port&&(t+=":"+e._parts.port)):t+=e.host());e._parts.hostname&&e._parts.path&&"/"!==e._parts.path.charAt(0)&&(t+="/");t+=e.path(!0);if(e._parts.query){for(var i="",n=0,s=e._parts.query.split("&"),r=s.length;n<r;n++){var o=(s[n]||"").split("=");i+="&"+p.decodeQuery(o[0],this._parts.escapeQuerySpace).replace(/&/g,"%26");void 0!==o[1]&&(i+="="+p.decodeQuery(o[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}t+="?"+i.substring(1)}return t+=p.decodeQuery(e.hash(),!0)};v.absoluteTo=function(e){var t=this.clone(),i=["protocol","username","password","hostname","port"],n,s;if(this._parts.urn)throw Error("URNs do not have any generally defined hierarchical components");e instanceof p||(e=new p(e));if(t._parts.protocol)return t;t._parts.protocol=e._parts.protocol;if(this._parts.hostname)return t;for(n=0;s=i[n];n++)t._parts[s]=e._parts[s];t._parts.path?(".."===t._parts.path.substring(-2)&&(t._parts.path+="/"),"/"!==t.path().charAt(0)&&(i=(i=e.directory())?i:0===e.path().indexOf("/")?"/":"",t._parts.path=(i?i+"/":"")+t._parts.path,t.normalizePath())):(t._parts.path=e._parts.path,t._parts.query||(t._parts.query=e._parts.query));t.build();return t};v.relativeTo=function(e){var t=this.clone().normalize();if(t._parts.urn)throw Error("URNs do not have any generally defined hierarchical components");e=new p(e).normalize();var i=t._parts;var n=e._parts;var s=t.path();e=e.path();if("/"!==s.charAt(0))throw Error("URI is already relative");if("/"!==e.charAt(0))throw Error("Cannot calculate a URI relative to another relative URI");i.protocol===n.protocol&&(i.protocol=null);if(i.username===n.username&&i.password===n.password&&null===i.protocol&&null===i.username&&null===i.password&&i.hostname===n.hostname&&i.port===n.port)i.hostname=null,i.port=null;else return t.build();if(s===e)return i.path="",t.build();s=p.commonPath(s,e);if(!s)return t.build();n=n.path.substring(s.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");i.path=n+i.path.substring(s.length)||"./";return t.build()};v.equals=function(e){var t=this.clone(),i=new p(e);e={};var n;t.normalize();i.normalize();if(t.toString()===i.toString())return!0;var s=t.query();var r=i.query();t.query("");i.query("");if(t.toString()!==i.toString()||s.length!==r.length)return!1;t=p.parseQuery(s,this._parts.escapeQuerySpace);r=p.parseQuery(r,this._parts.escapeQuerySpace);for(n in t)if(y.call(t,n)){if(!l(t[n])){if(t[n]!==r[n])return!1}else if(!h(t[n],r[n]))return!1;e[n]=!0}for(n in r)if(y.call(r,n)&&!e[n])return!1;return!0};v.preventInvalidHostname=function(e){this._parts.preventInvalidHostname=!!e;return this};v.duplicateQueryParameters=function(e){this._parts.duplicateQueryParameters=!!e;return this};v.escapeQuerySpace=function(e){this._parts.escapeQuerySpace=!!e;return this};return p});(function(e,t){"object"===typeof module&&module.exports?module.exports=t(require("./URI")):"function"===typeof define&&define.amd?define(["./URI"],t):e.URITemplate=t(e.URI,e)})(this,function(p,e){function f(e){if(f._cache[e])return f._cache[e];if(!(this instanceof f))return new f(e);this.expression=e;f._cache[e]=this;return this}function r(e){this.data=e;this.cache={}}var t=e&&e.URITemplate,s=Object.prototype.hasOwnProperty,i=f.prototype,m={"":{prefix:"",separator:",",named:!1,empty_name_separator:!1,encode:"encode"},"+":{prefix:"",separator:",",named:!1,empty_name_separator:!1,encode:"encodeReserved"},"#":{prefix:"#",separator:",",named:!1,empty_name_separator:!1,encode:"encodeReserved"},".":{prefix:".",separator:".",named:!1,empty_name_separator:!1,encode:"encode"},"/":{prefix:"/",separator:"/",named:!1,empty_name_separator:!1,encode:"encode"},";":{prefix:";",separator:";",named:!0,empty_name_separator:!1,encode:"encode"},"?":{prefix:"?",separator:"&",named:!0,empty_name_separator:!0,encode:"encode"},"&":{prefix:"&",separator:"&",named:!0,empty_name_separator:!0,encode:"encode"}};f._cache={};f.EXPRESSION_PATTERN=/\{([^a-zA-Z0-9%_]?)([^\}]+)(\}|$)/g;f.VARIABLE_PATTERN=/^([^*:.](?:\.?[^*:.])*)((\*)|:(\d+))?$/;f.VARIABLE_NAME_PATTERN=/[^a-zA-Z0-9%_.]/;f.LITERAL_PATTERN=/[<>{}"`^| \\]/;f.expand=function(e,t,i){var n=m[e.operator],s=n.named?"Named":"Unnamed";e=e.variables;var r=[],o,a;for(a=0;o=e[a];a++){var l=t.get(o.name);if(0===l.type&&i&&i.strict)throw Error('Missing expansion value for variable "'+o.name+'"');if(l.val.length){if(1<l.type&&o.maxlength)throw Error('Invalid expression: Prefix modifier not applicable to variable "'+o.name+'"');r.push(f["expand"+s](l,n,o.explode,o.explode&&n.separator||",",o.maxlength,o.name))}else l.type&&r.push("")}return r.length?n.prefix+r.join(n.separator):""};f.expandNamed=function(e,t,i,n,s,r){var o="",a=t.encode;t=t.empty_name_separator;var l=!e[a].length,u=2===e.type?"":p[a](r),c;var h=0;for(c=e.val.length;h<c;h++){if(s){var d=p[a](e.val[h][1].substring(0,s));2===e.type&&(u=p[a](e.val[h][0].substring(0,s)))}else l?(d=p[a](e.val[h][1]),2===e.type?(u=p[a](e.val[h][0]),e[a].push([u,d])):e[a].push([void 0,d])):(d=e[a][h][1],2===e.type&&(u=e[a][h][0]));o&&(o+=n);i?o+=u+(t||d?"=":"")+d:(h||(o+=p[a](r)+(t||d?"=":"")),2===e.type&&(o+=u+","),o+=d)}return o};f.expandUnnamed=function(e,t,i,n,s){var r="",o=t.encode;t=t.empty_name_separator;var a=!e[o].length,l;var u=0;for(l=e.val.length;u<l;u++){if(s)var c=p[o](e.val[u][1].substring(0,s));else a?(c=p[o](e.val[u][1]),e[o].push([2===e.type?p[o](e.val[u][0]):void 0,c])):c=e[o][u][1];r&&(r+=n);if(2===e.type){var h=s?p[o](e.val[u][0].substring(0,s)):e[o][u][0];r+=h;r=i?r+(t||c?"=":""):r+","}r+=c}return r};
38f.noConflict=function(){e.URITemplate===f&&(e.URITemplate=t);return f};i.expand=function(e,t){var i="";this.parts&&this.parts.length||this.parse();e instanceof r||(e=new r(e));for(var n=0,s=this.parts.length;n<s;n++)i+="string"===typeof this.parts[n]?this.parts[n]:f.expand(this.parts[n],e,t);return i};i.parse=function(){var e=this.expression,t=f.EXPRESSION_PATTERN,i=f.VARIABLE_PATTERN,n=f.VARIABLE_NAME_PATTERN,s=f.LITERAL_PATTERN,r=[],o=0,a=function(e){if(e.match(s))throw Error('Invalid Literal "'+e+'"');return e};for(t.lastIndex=0;;){var l=t.exec(e);if(null===l){r.push(a(e.substring(o)));break}else r.push(a(e.substring(o,l.index))),o=l.index+l[0].length;if(!m[l[1]])throw Error('Unknown Operator "'+l[1]+'" in "'+l[0]+'"');if(!l[3])throw Error('Unclosed Expression "'+l[0]+'"');var u=l[2].split(",");for(var c=0,h=u.length;c<h;c++){var d=u[c].match(i);if(null===d)throw Error('Invalid Variable "'+u[c]+'" in "'+l[0]+'"');if(d[1].match(n))throw Error('Invalid Variable Name "'+d[1]+'" in "'+l[0]+'"');u[c]={name:d[1],explode:!!d[3],maxlength:d[4]&&parseInt(d[4],10)}}if(!u.length)throw Error('Expression Missing Variable(s) "'+l[0]+'"');r.push({expression:l[0],operator:l[1],variables:u})}r.length||r.push(a(e));this.parts=r;return this};r.prototype.get=function(e){var t=this.data,i={type:0,val:[],encode:[],encodeReserved:[]};if(void 0!==this.cache[e])return this.cache[e];this.cache[e]=i;t="[object Function]"===String(Object.prototype.toString.call(t))?t(e):"[object Function]"===String(Object.prototype.toString.call(t[e]))?t[e](e):t[e];if(void 0!==t&&null!==t)if("[object Array]"===String(Object.prototype.toString.call(t))){var n=0;for(e=t.length;n<e;n++)void 0!==t[n]&&null!==t[n]&&i.val.push([void 0,String(t[n])]);i.val.length&&(i.type=3)}else if("[object Object]"===String(Object.prototype.toString.call(t))){for(n in t)s.call(t,n)&&void 0!==t[n]&&null!==t[n]&&i.val.push([n,String(t[n])]);i.val.length&&(i.type=2)}else i.type=1,i.val.push([void 0,String(t)]);return i};p.expand=function(e,t){var i=new f(e).expand(t);return new p(i)};return f});
39/*! version : 4.17.47
40 =========================================================
41 bootstrap-datetimejs
42 https://github.com/Eonasdan/bootstrap-datetimepicker
43 Copyright (c) 2015 Jonathan Peterson
44 =========================================================
45 */
46(function(e){"use strict";if(typeof define=="function"&&define.amd)define(["jquery","moment"],e);else if(typeof exports=="object")module.exports=e(require("jquery"),require("moment"));else{if(typeof jQuery=="undefined")throw"bootstrap-datetimepicker requires jQuery to be loaded first";if(typeof moment=="undefined")throw"bootstrap-datetimepicker requires Moment.js to be loaded first";e(jQuery,moment)}})(function(me,ge){"use strict";if(!ge)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var o=function(r,h){var c={},d,p,f=!0,i,o=!1,m=!1,a,n=0,s,l,u,t=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],g=["days","months","years","decades"],v=["top","bottom","auto"],y=["left","right","auto"],b=["default","top","bottom"],_={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},w={},x=function(){return ge.tz!==undefined&&h.timeZone!==undefined&&h.timeZone!==null&&h.timeZone!==""},k=function(e){var t;return t=e===undefined||e===null?ge():ge.isDate(e)||ge.isMoment(e)?ge(e):x()?ge.tz(e,l,h.useStrict,h.timeZone):ge(e,l,h.useStrict),x()&&t.tz(h.timeZone),t},D=function(e){if(typeof e!="string"||e.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(e){case"y":return s.indexOf("Y")!==-1;case"M":return s.indexOf("M")!==-1;case"d":return s.toLowerCase().indexOf("d")!==-1;case"h":case"H":return s.toLowerCase().indexOf("h")!==-1;case"m":return s.indexOf("m")!==-1;case"s":return s.indexOf("s")!==-1;default:return!1}},C=function(){return D("h")||D("m")||D("s")},S=function(){return D("y")||D("M")||D("d")},T=function(){var e=me("<thead>").append(me("<tr>").append(me("<th>").addClass("prev").attr("data-action","previous").append(me("<button>").attr("type","button").append(me("<span>").addClass(h.icons.previous).attr("aria-hidden","true")))).append(me("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("aria-live","polite").attr("colspan",h.calendarWeeks?"6":"5").append(me("<button>").attr("type","button"))).append(me("<th>").addClass("next").attr("data-action","next").append(me("<button>").attr("type","button").append(me("<span>").addClass(h.icons.next).attr("aria-hidden","true"))))),t=me("<tbody>").append(me("<tr>").append(me("<td>").attr("colspan",h.calendarWeeks?"8":"7")));return[me("<div>").addClass("datepicker-days").append(me('<table role="application">').addClass("table-condensed").append(e).append(me("<tbody>"))),me("<div>").addClass("datepicker-months").append(me('<table role="application">').addClass("table-condensed").append(e.clone()).append(t.clone())),me("<div>").addClass("datepicker-years").append(me('<table role="application">').addClass("table-condensed").append(e.clone()).append(t.clone())),me("<div>").addClass("datepicker-decades").append(me('<table role="application">').addClass("table-condensed").append(e.clone()).append(t.clone()))]},M=function(){var t=me("<tr>"),i=me("<tr>"),n=me("<tr>");if(D("h")&&(t.append(me('<td role="application">').append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.incrementHour,role:"button"}).attr("data-action","incrementHours").append(me("<span>").addClass(h.icons.up)))),i.append(me("<td>").append(me("<a>
46").attr("data-action","showHours").attr({href:"#",title:h.tooltips.pickHour,tabindex:"-1",role:"button"}).append(me("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours","aria-live":"polite"})))),n.append(me("<td>").append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.decrementHour,role:"button"}).attr("data-action","decrementHours").append(me("<span>").addClass(h.icons.down))))),D("m")&&(D("h")&&(t.append(me("<td>").addClass("separator")),i.append(me("<td>").addClass("separator").html(":")),n.append(me("<td>").addClass("separator"))),t.append(me('<td role="application">').append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.incrementMinute,role:"button"}).attr("data-action","incrementMinutes").append(me("<span>").addClass(h.icons.up)))),i.append(me("<td>").append(me("<a>").attr("data-action","showMinutes").attr({href:"#",title:h.tooltips.pickMinute,tabindex:"-1",role:"button"}).append(me("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes","aria-live":"polite"})))),n.append(me("<td>").append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.decrementMinute,role:"button"}).attr("data-action","decrementMinutes").append(me("<span>").addClass(h.icons.down))))),D("s")&&(D("m")&&(t.append(me("<td>").addClass("separator")),i.append(me("<td>").addClass("separator").html(":")),n.append(me("<td>").addClass("separator"))),t.append(me('<td role="application">').append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.incrementSecond,role:"button"}).attr("data-action","incrementSeconds").append(me("<span>").addClass(h.icons.up)))),i.append(me("<td>").append(me("<a>").attr("data-action","showSeconds").attr({href:"#",title:h.tooltips.pickSecond,tabindex:"-1",role:"button"}).append(me("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds","aria-live":"polite"})))),n.append(me("<td>").append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.decrementSecond,role:"button"}).attr("data-action","decrementSeconds").append(me("<span>").addClass(h.icons.down))))),!a){t.append(me("<td>").addClass("separator"));let e=navigator.userAgentData&&navigator.userAgentData.brands&&navigator.userAgentData.brands.some(e=>e.brand==="Google Chrome");e!=undefined&&e!=null&&e?i.append(me("<td>").attr("aria-live","polite").append(me("<button>").attr("type","button").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:h.tooltips.togglePeriod}))):i.append(me("<td>").append(me("<button>").attr("type","button").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:h.tooltips.togglePeriod})));n.append(me("<td>").addClass("separator"))}return me("<div>").addClass("timepicker-picker").append(me('<table role="alert">').addClass("table-condensed").append([t,i,n]))},P=function(){var e=me("<div>").addClass("timepicker-hours").append(me('<table role="application">').addClass("table-condensed")),t=me("<div>").addClass("timepicker-minutes").append(me('<table role="application">').addClass("table-condensed")),i=me("<div>").addClass("timepicker-seconds").append(me('<table role="application">').addClass("table-condensed")),n=[M()];return D("h")&&n.push(e),D("m")&&n.push(t),D("s")&&n.push(i),n},I=function(){var e=[];return h.showTodayButton&&e.push(me("<td>").append(me("<a>").attr({"data-action":"today",title:h.tooltips.today}).append(me("<span>").addClass(h.icons.today)))),!h.sideBySide&&S()&&C()&&e.push(me("<td>").append(me("<a>").attr({href:"#",tabindex:"-1","data-action":"togglePicker",title:h.tooltips.selectTime,role:"button"}).append(me("<span>").attr("aria-hidden","true").addClass(h.icons.time)))),h.showClear&&e.push(me("<td>").append(me("<a>").attr({"data-action":"clear",title:h.tooltips.clear}).append(me("<span>").addClass(h.icons.clear)))),h.showClose&&e.push(me("<td>").append(me("<a>").attr({"data-action":"close",title:h.tooltips.close}).append(me("<span>").addClass(h.icons.close)))),me('<table role="application">').addClass("table-condensed").append(me("<tbody>").append(me("<tr>").append(e)))},O=function(){var e=me("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),t=me("<div>").addClass("datepicker").append(T()),i=me("<div>").addClass("timepicker").append(P()),n=me('<ul role="list">').addClass("list-unstyled"),s=me("<li>").addClass("picker-switch"+(h.collapse?" accordion-toggle":"")).append(I());
46return(h.inline&&e.removeClass("dropdown-menu"),a&&e.addClass("usetwentyfour"),D("s")&&!a&&e.addClass("wider"),h.sideBySide&&S()&&C())?(e.addClass("timepicker-sbs"),h.toolbarPlacement==="top"&&e.append(s),e.append(me("<div>").addClass("row").append(t.addClass("col-md-6")).append(i.addClass("col-md-6"))),h.toolbarPlacement==="bottom"&&e.append(s),e):(h.toolbarPlacement==="top"&&n.append(s),S()&&n.append(me("<li>").addClass(h.collapse&&C()?"collapse in":"").append(t)),h.toolbarPlacement==="default"&&n.append(s),C()&&n.append(me("<li>").addClass(h.collapse&&S()?"collapse":"").append(i)),h.toolbarPlacement==="bottom"&&n.append(s),e.append(n))},e=function(){var i,n={};return i=r.is("input")||h.inline?r.data():r.find("input").data(),i.dateOptions&&i.dateOptions instanceof Object&&(n=me.extend(!0,n,i.dateOptions)),me.each(h,function(e){var t="date"+e.charAt(0).toUpperCase()+e.slice(1);i[t]!==undefined&&(n[e]=i[t])}),n},A=function(){var e=(o||r).position(),t=(o||r).offset(),i=h.widgetPositioning.vertical,n=h.widgetPositioning.horizontal,s;if(h.widgetParent)s=h.widgetParent.append(m);else if(r.is("input"))s=r.after(m).parent();else{if(h.inline){s=r.append(m);return}s=r;r.children().first().next().after(m)}if(i==="auto"&&(i=t.top+m.height()*1.5>=me(window).height()+me(window).scrollTop()&&m.height()+r.outerHeight()<t.top?"top":"bottom"),n==="auto"&&(n=s.width()<t.left+m.outerWidth()/2&&t.left+m.outerWidth()>me(window).width()?"right":"left"),i==="top"?m.addClass("top").removeClass("bottom"):m.addClass("bottom").removeClass("top"),n==="right"?m.addClass("pull-right"):m.removeClass("pull-right"),s.css("position")==="static"&&(s=s.parents().filter(function(){return me(this).css("position")!=="static"}).first()),s.length===0)throw new Error("datetimepicker component should be placed within a non-static positioned container");m.css({top:i==="top"?"auto":e.top+r.outerHeight(),bottom:i==="top"?s.outerHeight()-(s===r?0:e.top):"auto",left:n==="left"?s===r?0:e.left:"auto",right:n==="left"?"auto":s.outerWidth()-r.outerWidth()-(s===r?0:e.left)})},E=function(e){(e.type!=="dp.change"||(!e.date||!e.date.isSame(e.oldDate))&&(e.date||e.oldDate))&&(e.type==="dp.error"&&e.oldDate&&i.parent().parent().find(".date-error").length>0&&i.parent().parent().find(".date-error").remove(),r.trigger(e))},H=function(e){e==="y"&&(e="YYYY");
46E({type:"dp.update",change:e,viewDate:p.clone()})},N=function(e){m&&(e&&(u=Math.max(n,Math.min(3,u+e))),m.find(".datepicker > div").hide().filter(".datepicker-"+t[u].clsName).show(),m.find(".datepicker-"+t[u].clsName+' [data-action="pickerSwitch"] button').trigger("focus"))},j=function(){var e=me("<tr>"),t=p.clone().startOf("w").startOf("d");for(h.calendarWeeks===!0&&e.append(me("<th>").addClass("cw").text("#"));t.isBefore(p.clone().endOf("w"));)e.append(me("<th>").addClass("dow").text(t.format("dd"))),t.add(1,"d");m.find(".datepicker-days thead").append(e)},R=function(e){return h.disabledDates[e.format("YYYY-MM-DD")]===!0},z=function(e){return h.enabledDates[e.format("YYYY-MM-DD")]===!0},L=function(e){return h.disabledHours[e.format("H")]===!0},Y=function(e){return h.enabledHours[e.format("H")]===!0},W=function(e,t){if(!e.isValid()||h.disabledDates&&t==="d"&&R(e)||h.enabledDates&&t==="d"&&!z(e)||h.minDate&&e.isBefore(h.minDate,t)||h.maxDate&&e.isAfter(h.maxDate,t)||h.daysOfWeekDisabled&&t==="d"&&h.daysOfWeekDisabled.indexOf(e.day())!==-1||h.disabledHours&&(t==="h"||t==="m"||t==="s")&&L(e)||h.enabledHours&&(t==="h"||t==="m"||t==="s")&&!Y(e))return!1;if(h.disabledTimeIntervals&&(t==="h"||t==="m"||t==="s")){var i=!1;if(me.each(h.disabledTimeIntervals,function(){if(e.isBetween(this[0],this[1]))return i=!0,!1}),i)return!1}return!0},F=function(){for(var e=[],t=p.clone().startOf("y").startOf("d");t.isSame(p,"y");)e.push(me("<span>").attr("data-action","selectMonth").addClass("month").append(me("<button>").attr("type","button").attr("role","application").attr("aria-label",t.format("MMMM")).text(t.format("MMM")))),t.add(1,"M");m.find(".datepicker-months td").empty().append(e)},q=function(){var e=m.find(".datepicker-months"),t=e.find("th"),i=e.find("tbody").find("span");t.eq(0).find("button").attr("title",h.tooltips.prevYear);t.eq(1).find("button").attr("title",h.tooltips.selectYear);t.eq(2).find("button").attr("title",h.tooltips.nextYear);e.find(".disabled").removeClass("disabled");W(p.clone().subtract(1,"y"),"y")||t.eq(0).addClass("disabled");t.eq(1).find("button").text(p.year());W(p.clone().add(1,"y"),"y")||t.eq(2).addClass("disabled");i.removeClass("active");d.isSame(p,"y")&&!f&&i.eq(d.month()).addClass("active");i.each(function(e){W(p.clone().month(e),"M")||me(this).addClass("disabled")})},B=function(){var e=m.find(".datepicker-years"),t=e.find("th"),i=p.clone().subtract(5,"y"),n=p.clone().add(6,"y"),s="";for(t.eq(0).find("button").attr("title",h.tooltips.prevDecade),t.eq(1).find("button").attr("title",h.tooltips.selectDecade),t.eq(2).find("button").attr("title",h.tooltips.nextDecade),e.find(".disabled").removeClass("disabled"),h.minDate&&h.minDate.isAfter(i,"y")&&t.eq(0).addClass("disabled"),t.eq(1).find("button").text(i.year()+"-"+n.year()),h.maxDate&&h.maxDate.isBefore(n,"y")&&t.eq(2).addClass("disabled");!i.isAfter(n,"y");)s+='<span data-action="selectYear" class="year'+(i.isSame(d,"y")&&!f?" active":"")+(W(i,"y")?"":" disabled")+'"><button type="button" role="application" aria-label="'+i.year()+'">'+i.year()+"</button></span>",i.add(1,"y");e.find("td").html(s)},U=function(){var e=m.find(".datepicker-decades"),t=e.find("th"),i=ge({y:p.year()-p.year()%100-1}),n=i.clone().add(100,"y"),s=i.clone(),r=!1,o=!1,a,l="";for(t.eq(0).find("button").attr("title",h.tooltips.prevCentury),t.eq(2).find("button").attr("title",h.tooltips.nextCentury),e.find(".disabled").removeClass("disabled"),(i.isSame(ge({y:1900}))||h.minDate&&h.minDate.isAfter(i,"y"))&&t.eq(0).addClass("disabled"),t.eq(1).find("button").text(i.year()+"-"+n.year()),(i.isSame(ge({y:2e3}))||h.maxDate&&h.maxDate.isBefore(n,"y"))&&t.eq(2).addClass("disabled");!i.isAfter(n,"y");)a=i.year()+12,r=h.minDate&&h.minDate.isAfter(i,"y")&&h.minDate.year()<=a,o=h.maxDate&&h.maxDate.isAfter(i,"y")&&h.maxDate.year()<=a,l+='<span data-action="selectDecade" class="decade'+(d.isAfter(i)&&d.year()<=a?" active":"")+(!W(i,"y")&&!r&&!o?" disabled":"")+'" data-selection="'+(i.year()+6)+'"><button type="button" role="application" aria-label="'+(i.year()+1)+" - "+(i.year()+12)+'">'+(i.year()+1)+" - "+(i.year()+12)+"</button></span>",i.add(12,"y");l+="<span></span><span></span><span></span>";e.find("td").html(l);t.eq(1).find("button").text(s.year()+1+"-"+i.year())},V=function(){var i=m.find(".datepicker-days"),n=i.find("th"),s,r=[],o,a=[],l,u,c;if(S()){n.eq(0).find("button").attr("title",h.tooltips.prevMonth);n.eq(1).find("button").attr("title",h.tooltips.selectMonth);n.eq(2).find("button").attr("title",h.tooltips.nextMonth);i.find(".disabled").removeClass("disabled");h.locale=="ja-JP"?n.eq(1).find("button").text(p.format("YYYY MMMM")):n.eq(1).find("button").text(p.format(h.dayViewHeaderFormat));W(p.clone().subtract(1,"M"),"M")||(n.eq(0).addClass("disabled"),n.eq(0).find("button").attr("aria-disabled","true"));W(p.clone().add(1,"M"),"M")||(n.eq(2).addClass("disabled"),n.eq(2).find("button").attr("aria-disabled","true"));s=p.clone().startOf("M").startOf("w").startOf("d");let e=0,t=0;for(u="",c="",l=0;l<42;l++)s.weekday()===0&&(t=0,e++,o=me("<tr>"),h.calendarWeeks&&o.append('<td class="cw">'+s.week()+"</td>"),r.push(o)),t++,a=["day"],s.isBefore(p,"M")&&a.push("old"),s.isAfter(p,"M")&&a.push("new"),s.isSame(d,"d")&&!f&&(a.push("active"),c=window.ResourceManager.Selected_Date),W(s,"d")||a.push("disabled"),s.isSame(k(),"d")&&(a.push("today"),u=window.ResourceManager.Today_Date),(s.day()===0||s.day()===6)&&a.push("weekend"),E({type:"dp.classify",date:s,classNames:a}),o.append('<td data-action="selectDay" data-day="'+s.format("L")+'"  class="'+a.join(" ")+'" role="application"><button type="button" aria-label="column '+t+" row "+e+" "+c+" "+s.format("dddd")+" "+s.format("LL")+" "+u+'">'+s.date()+"</button></td>"),s.add(1,"d"),u="",c="";i.find("tbody").empty().append(r);q();B();U()}},Q=function(){var e=m.find(".timepicker-hours table"),t=p.clone().startOf("d"),i=[],n=me("<tr>");for(p.hour()>11&&!a&&t.hour(12);t.isSame(p,"d")&&(a||p.hour()<12&&t.hour()<12||p.hour()>11);)t.hour()%4==0&&(n=me("<tr>"),i.push(n)),n.append('<td><a data-action="selectHour" href="#" role="button" tabindex="-1" class="hour'+(t.hour()==p.hour()?" active ":"")+(W(t,"h")?"":" disabled")+'"><span>'+t.format(a?"HH":"hh")+"</span></a></td>"),t.add(1,"h");e.empty().append(i)},$=function(){for(var e=m.find(".timepicker-minutes table"),t=p.clone().startOf("h"),i=[],n=me("<tr>"),s=h.stepping===1?5:h.stepping;p.isSame(t,"h");)t.minute()%(s*4)==0&&(n=me("<tr>"),i.push(n)),n.append('<td><a data-action="selectMinute" href="#" role="button" tabindex="-1" class="minute'+(t.minute()=="00"?" active ":"")+(W(t,"m")?"":" disabled")+'"><span>'+t.format("mm")+"</span></a></td>"),t.add(s,"m");e.empty().append(i)},G=function(){for(var e=m.find(".timepicker-seconds table"),t=p.clone().startOf("m"),i=[],n=me("<tr>");p.isSame(t,"m");)t.second()%20==0&&(n=me("<tr>"),i.push(n)),n.append('<td><a data-action="selectSecond" href="#" role="button" tabindex="-1" class="second'+(t.second()=="00"?" active ":"")+(W(t,"s")?"":" disabled")+'"><span>'+t.format("ss")+"</span></a></td>"),t.add(5,"s");e.empty().append(i)},K=function(){var e,t,i=m.find(".timepicker span[data-time-component]");a||(e=m.find(".timepicker [data-action=togglePeriod]"),t=d.clone().add(d.hours()>=12?-12:12,"h"),e.text(d.format("A")),W(t,"h")?e.removeClass("disabled"):e.addClass("disabled"));i.filter("[data-time-component=hours]").text(d.format(a?"HH":"hh"));i.filter("[data-time-component=minutes]").text(d.format("mm"));i.filter("[data-time-component=seconds]").text(d.format("ss"));Q();$();G()},X=function(){m&&(V(),K())},Z=function(e){var t=f?null:d;if(e||!i.prop("readonly")){if(!e){f=!0;
46i.val("");r.data("date","");E({type:"dp.change",date:!1,oldDate:t});X();return}if(e=e.clone().locale(h.locale),x()&&e.tz(h.timeZone),h.stepping!==1)for(e.minutes(Math.round(e.minutes()/h.stepping)*h.stepping).seconds(0);h.minDate&&e.isBefore(h.minDate);)e.add(h.stepping,"minutes");W(e)?(d=e,p=d.clone(),i.val(d.format(s)),r.data("date",d.format(s)),f=!1,X(),E({type:"dp.change",date:d.clone(),oldDate:t})):(h.keepInvalid?E({type:"dp.change",date:e,oldDate:t}):i.val(f?"":d.format(s)),E({type:"dp.error",date:e,oldDate:t}))}},J=function(){var t=!1;return m?(m.find(".collapse").each(function(){var e=me(this).data("collapse");return e&&e.transitioning?(t=!0,!1):!0}),t)?c:(o&&o.hasClass("btn")&&o.toggleClass("active"),m.hide(),me(window).off("resize",A),m.off("click","[data-action]"),m.off("mousedown",!1),m.remove(),m=!1,E({type:"dp.hide",date:d.clone()}),p=d.clone(),u=0,c):c},ee=function(){Z(null)},te=function(e){return h.parseInputDate===undefined?(!ge.isMoment(e)||e instanceof Date)&&(e=k(e)):e=h.parseInputDate(e),e},ie={next:function(){var e=t[u].navFnc;p.add(t[u].navStep,e);V();H(e)},previous:function(){var e=t[u].navFnc;p.subtract(t[u].navStep,e);V();H(e)},pickerSwitch:function(){N(1)},selectMonth:function(e){var t=me(e.target).closest("tbody").find("span").find("button").index(me(e.target));p.month(t);u===n?(Z(d.clone().year(p.year()).month(p.month())),h.inline||J()):(N(-1),V());H("M");m.find('.datepicker-days [data-action="pickerSwitch"] button').trigger("focus")},selectYear:function(e){var t=parseInt(me(e.target).text(),10)||0;p.year(t);u===n?(Z(d.clone().year(p.year())),h.inline||J()):(N(-1),V());H("YYYY");m.find('.datepicker-months [data-action="pickerSwitch"] button').trigger("focus")},selectDecade:function(e){var t=parseInt(me(e.target).parent().data("selection"),10)||0;p.year(t);u===n?(Z(d.clone().year(p.year())),h.inline||J()):(N(-1),V());H("YYYY");m.find('.datepicker-years [data-action="pickerSwitch"] button').trigger("focus")},selectDay:function(e){var t=p.clone();(me(e.target).parent("td").is(".old")||me(e.target).is(".old"))&&t.subtract(1,"M");(me(e.target).parent("td").is(".new")||me(e.target).is(".new"))&&t.add(1,"M");Z(t.date(parseInt(me(e.target).text(),10)));h.keepOpen||h.inline||J()},incrementHours:function(){var e=d.clone().add(1,"h");W(e,"h")&&Z(e)},incrementMinutes:function(){var e=d.clone().add(h.stepping,"m");W(e,"m")&&Z(e)},incrementSeconds:function(){var e=d.clone().add(1,"s");W(e,"s")&&Z(e)},decrementHours:function(){var e=d.clone().subtract(1,"h");W(e,"h")&&Z(e)},decrementMinutes:function(){var e=d.clone().subtract(h.stepping,"m");W(e,"m")&&Z(e)},decrementSeconds:function(){var e=d.clone().subtract(1,"s");W(e,"s")&&Z(e)},togglePeriod:function(){Z(d.clone().add(d.hours()>=12?-12:12,"h"))},togglePicker:function(e){var t=me(e.target),i=t.closest("ul"),n=i.find(".in"),s=i.find(".collapse:not(.in)"),r;
46if(n&&n.length){if(r=n.data("collapse"),r&&r.transitioning)return;n.collapse?(n.collapse("hide"),s.collapse("show")):(n.removeClass("in"),s.addClass("in"));t.is("span")?(t.hasClass("icon-time")?t.parent().attr("title",h.tooltips.selectDate):t.parent().attr("title",h.tooltips.selectTime),t.toggleClass(h.icons.time+" "+h.icons.date)):(t.find("span").hasClass("icon-time")?t.attr("title",h.tooltips.selectDate):t.attr("title",h.tooltips.selectTime),t.find("span").toggleClass(h.icons.time+" "+h.icons.date))}},showPicker:function(){m.find(".timepicker > div:not(.timepicker-picker)").hide();m.find(".timepicker .timepicker-picker").show()},showHours:function(){m.find(".timepicker .timepicker-picker").hide();m.find(".timepicker .timepicker-hours").show();m.find("a.hour.active").trigger("focus")},showMinutes:function(){m.find(".timepicker .timepicker-picker").hide();m.find(".timepicker .timepicker-minutes").show();m.find("a.minute").first().trigger("focus")},showSeconds:function(){m.find(".timepicker .timepicker-picker").hide();m.find(".timepicker .timepicker-seconds").show();m.find("a.second").first().trigger("focus")},selectHour:function(e){var t=parseInt(me(e.target).text(),10);a||(d.hours()>=12?t!==12&&(t+=12):t===12&&(t=0));Z(d.clone().hours(t));ie.showPicker.call(c);m.find('a[data-action="showHours"]').trigger("focus")},selectMinute:function(e){Z(d.clone().minutes(parseInt(me(e.target).text(),10)));ie.showPicker.call(c);m.find('a[data-action="showMinutes"]').trigger("focus")},selectSecond:function(e){Z(d.clone().seconds(parseInt(me(e.target).text(),10)));ie.showPicker.call(c);m.find('a[data-action="showSeconds"]').trigger("focus")},clear:ee,today:function(){var e=k();W(e,"d")&&Z(e)},close:J},ne=function(e){return me(e.currentTarget).is(".disabled")?!1:(ie[me(e.currentTarget).data("action")].apply(c,arguments),!1)},se=function(){var e,t={year:function(e){return e.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(e){return e.date(1).hours(0).seconds(0).minutes(0)},day:function(e){return e.hours(0).seconds(0).minutes(0)},hour:function(e){return e.seconds(0).minutes(0)},minute:function(e){return e.seconds(0)}};if(i.prop("disabled")||!h.ignoreReadonly&&i.prop("readonly")||m)return c;i.val()!==undefined&&i.val().trim().length!==0?Z(te(i.val().trim())):f&&h.useCurrent&&(h.inline||i.is("input")&&i.val().trim().length===0)&&(e=k(),typeof h.useCurrent=="string"&&(e=t[h.useCurrent](e)),Z(e));m=O();j();F();m.find(".timepicker-hours").hide();m.find(".timepicker-minutes").hide();m.find(".timepicker-seconds").hide();X();N();me(window).on("resize",A);m.on("click","[data-action]",ne);m.on("mousedown",!1);return o&&o.hasClass("btn")&&o.toggleClass("active"),A(),m.show(),E({type:"dp.show"}),c},re=function(){return m.length>0?J():se()},oe=function(e){var t=h.keyBinds[e.which];t.call(c,m);e.stopPropagation();e.preventDefault()},ae=function(e){var t=null,i,n,s=[],r={},o=e.which,a,l,u="p";w[o]=u;for(i in w)w.hasOwnProperty(i)&&w[i]===u&&(s.push(i),parseInt(i,10)!==o&&(r[i]=!0));for(i in h.keyBinds)if(h.keyBinds.hasOwnProperty(i)&&typeof h.keyBinds[i]=="function"&&(a=i.split(" "),a.length===s.length&&_[o]===a[a.length-1])){for(l=!0,n=a.length-2;n>=0;n--)if(!(_[a[n]]in r)){l=!1;break}if(l){t=h.keyBinds[i];break}}t&&(t.call(c,m),e.stopPropagation(),e.preventDefault())},le=function(e){w[e.which]="r";e.stopPropagation();e.preventDefault()},ue=function(t){var e=me(t.target).val().trim(),i=e?te(e):null,n=Page_Validators.find(e=>e.id=="DateFormatValidator"+t.target.id.split("_datepicker_description")[0]),s=Page_Validators.find(e=>e.id=="RequiredFieldValidator"+t.target.id.split("_datepicker_description")[0]),r;return n.evaluationfunction=function(){var e=this.id.split("DateFormatValidator")[1]+"_datepicker_description",t=document.getElementById(e).value.trim();return t?te(t).isValid():!0},r=ge(new Date).format(t.target.placeholder),n.errormessage=n.errormessage.replace("{1}",r),s&&(s.evaluationfunction=function(){var e=this.id.split("RequiredFieldValidator")[1]+"_datepicker_description",t=document.getElementById(e).value.trim();return t!==""}),i||(f=!1),h.keepInvalid=!0,Z(i),t.stopImmediatePropagation(),!1},ce=function(){i.on({change:ue,blur:h.debug?"":J,keydown:ae,customKeydown:oe,keyup:le,focus:h.allowInputToggle?se:""});
46if(r.is("input"))i.on({focus:se});else if(o){o.on("click",re);o.on("mousedown",!1)}},he=function(){i.off({change:ue,blur:blur,keydown:ae,customKeydown:oe,keyup:le,focus:h.allowInputToggle?J:""});r.is("input")?i.off({focus:se}):o&&(o.off("click",re),o.off("mousedown",!1))},de=function(e){var t={};return me.each(e,function(){var e=te(this);e.isValid()&&(t[e.format("YYYY-MM-DD")]=!0)}),Object.keys(t).length?t:!1},pe=function(e){var t={};return me.each(e,function(){t[this]=!0}),Object.keys(t).length?t:!1},fe=function(){var e=h.format||"L LT";s=e.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(e){var t=d.localeData().longDateFormat(e)||e;return t.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(e){return d.localeData().longDateFormat(e)||e})});l=h.extraFormats?h.extraFormats.slice():[];l.indexOf(e)<0&&l.indexOf(s)<0&&l.push(s);a=s.toLowerCase().indexOf("a")<1&&s.replace(/\[.*?\]/g,"").indexOf("h")<1;D("y")&&(n=2);D("M")&&(n=1);D("d")&&(n=0);u=Math.max(n,u);f||Z(d)};if(c.destroy=function(){J();he();r.removeData("DateTimePicker");r.removeData("date")},c.toggle=re,c.show=se,c.hide=J,c.disable=function(){return J(),o&&o.hasClass("btn")&&o.addClass("disabled"),i.prop("disabled",!0),c},c.enable=function(){return o&&o.hasClass("btn")&&o.removeClass("disabled"),i.prop("disabled",!1),c},c.ignoreReadonly=function(e){if(arguments.length===0)return h.ignoreReadonly;if(typeof e!="boolean")throw new TypeError("ignoreReadonly () expects a boolean parameter");return h.ignoreReadonly=e,c},c.options=function(e){if(arguments.length===0)return me.extend(!0,{},h);if(!(e instanceof Object))throw new TypeError("options() options parameter should be an object");return me.extend(!0,h,e),me.each(h,function(e,t){if(c[e]!==undefined)c[e](t);else throw new TypeError("option "+e+" is not recognized!")}),c},c.date=function(e){if(arguments.length===0)return f?null:d.clone();if(e!==null&&typeof e!="string"&&!ge.isMoment(e)&&!(e instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return Z(e===null?null:te(e)),c},c.format=function(e){if(arguments.length===0)return h.format;if(typeof e!="string"&&(typeof e!="boolean"||e!==!1))throw new TypeError("format() expects a string or boolean:false parameter "+e);return h.format=e,s&&fe(),c},c.timeZone=function(e){if(arguments.length===0)return h.timeZone;if(typeof e!="string")throw new TypeError("newZone() expects a string parameter");return h.timeZone=e,c},c.dayViewHeaderFormat=function(e){if(arguments.length===0)return h.dayViewHeaderFormat;if(typeof e!="string")throw new TypeError("dayViewHeaderFormat() expects a string parameter");return h.dayViewHeaderFormat=e,c},c.extraFormats=function(e){if(arguments.length===0)return h.extraFormats;if(e!==!1&&!(e instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return h.extraFormats=e,l&&fe(),c},c.disabledDates=function(e){if(arguments.length===0)return h.disabledDates?me.extend({},h.disabledDates):h.disabledDates;if(!e)return h.disabledDates=!1,X(),c;if(!(e instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return h.disabledDates=de(e),h.enabledDates=!1,X(),c},c.enabledDates=function(e){if(arguments.length===0)return h.enabledDates?me.extend({},h.enabledDates):h.enabledDates;if(!e)return h.enabledDates=!1,X(),c;if(!(e instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return h.enabledDates=de(e),h.disabledDates=!1,X(),c},c.daysOfWeekDisabled=function(e){if(arguments.length===0)return h.daysOfWeekDisabled.splice(0);if(typeof e=="boolean"&&!e)return h.daysOfWeekDisabled=!1,X(),c;if(!(e instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(h.daysOfWeekDisabled=e.reduce(function(e,t){return(t=parseInt(t,10),t>6||t<0||isNaN(t))?e:(e.indexOf(t)===-1&&e.push(t),e)},[]).sort(),h.useCurrent&&!h.keepInvalid){for(var t=0;!W(d,"d");){if(d.add(1,"d"),t===31)throw"Tried 31 times to find a valid date";t++}Z(d)}return X(),c},c.maxDate=function(e){if(arguments.length===0)return h.maxDate?h.maxDate.clone():h.maxDate;if(typeof e=="boolean"&&e===!1)return h.maxDate=!1,X(),c;typeof e=="string"&&(e==="now"||e==="moment")&&(e=k());var t=te(e);if(!t.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+e);if(h.minDate&&t.isBefore(h.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+t.format(s));return h.maxDate=t,h.useCurrent&&!h.keepInvalid&&d.isAfter(e)&&Z(h.maxDate),p.isAfter(t)&&(p=t.clone().subtract(h.stepping,"m")),X(),c},c.minDate=function(e){if(arguments.length===0)return h.minDate?h.minDate.clone():h.minDate;if(typeof e=="boolean"&&e===!1)return h.minDate=!1,X(),c;typeof e=="string"&&(e==="now"||e==="moment")&&(e=k());var t=te(e);
46if(!t.isValid())throw new TypeError("minDate() Could not parse date parameter: "+e);if(h.maxDate&&t.isAfter(h.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+t.format(s));return h.minDate=t,h.useCurrent&&!h.keepInvalid&&d.isBefore(e)&&Z(h.minDate),p.isBefore(t)&&(p=t.clone().add(h.stepping,"m")),X(),c},c.defaultDate=function(e){if(arguments.length===0)return h.defaultDate?h.defaultDate.clone():h.defaultDate;if(!e)return h.defaultDate=!1,c;typeof e=="string"&&(e=e==="now"||e==="moment"?k():k(e));var t=te(e);if(!t.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+e);if(!W(t))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return h.defaultDate=t,(h.defaultDate&&h.inline||i.val().trim()==="")&&Z(h.defaultDate),c},c.locale=function(e){if(arguments.length===0)return h.locale;if(!ge.localeData(e))throw new TypeError("locale() locale "+e+" is not loaded from moment locales!");return h.locale=e,d.locale(h.locale),p.locale(h.locale),s&&fe(),m&&(J(),se()),c},c.stepping=function(e){return arguments.length===0?h.stepping:(e=parseInt(e,10),(isNaN(e)||e<1)&&(e=1),h.stepping=e,c)},c.useCurrent=function(e){var t=["year","month","day","hour","minute"];if(arguments.length===0)return h.useCurrent;if(typeof e!="boolean"&&typeof e!="string")throw new TypeError("useCurrent() expects a boolean or string parameter");if(typeof e=="string"&&t.indexOf(e.toLowerCase())===-1)throw new TypeError("useCurrent() expects a string parameter of "+t.join(", "));return h.useCurrent=e,c},c.collapse=function(e){if(arguments.length===0)return h.collapse;if(typeof e!="boolean")throw new TypeError("collapse() expects a boolean parameter");return h.collapse===e?c:(h.collapse=e,m&&(J(),se()),c)},c.icons=function(e){if(arguments.length===0)return me.extend({},h.icons);if(!(e instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return me.extend(h.icons,e),m&&(J(),se()),c},c.tooltips=function(e){if(arguments.length===0)return me.extend({},h.tooltips);if(!(e instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return me.extend(h.tooltips,e),m&&(J(),se()),c},c.useStrict=function(e){if(arguments.length===0)return h.useStrict;if(typeof e!="boolean")throw new TypeError("useStrict() expects a boolean parameter");return h.useStrict=e,c},c.sideBySide=function(e){if(arguments.length===0)return h.sideBySide;if(typeof e!="boolean")throw new TypeError("sideBySide() expects a boolean parameter");return h.sideBySide=e,m&&(J(),se()),c},c.viewMode=function(e){if(arguments.length===0)return h.viewMode;if(typeof e!="string")throw new TypeError("viewMode() expects a string parameter");if(g.indexOf(e)===-1)throw new TypeError("viewMode() parameter must be one of ("+g.join(", ")+") value");return h.viewMode=e,u=Math.max(g.indexOf(e),n),N(),c},c.toolbarPlacement=function(e){if(arguments.length===0)return h.toolbarPlacement;if(typeof e!="string")throw new TypeError("toolbarPlacement() expects a string parameter");if(b.indexOf(e)===-1)throw new TypeError("toolbarPlacement() parameter must be one of ("+b.join(", ")+") value");return h.toolbarPlacement=e,m&&(J(),se()),c},c.widgetPositioning=function(e){if(arguments.length===0)return me.extend({},h.widgetPositioning);if({}.toString.call(e)!=="[object Object]")throw new TypeError("widgetPositioning() expects an object variable");if(e.horizontal){if(typeof e.horizontal!="string")throw new TypeError("widgetPositioning() horizontal variable must be a string");if(e.horizontal=e.horizontal.toLowerCase(),y.indexOf(e.horizontal)===-1)throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+y.join(", ")+")");h.widgetPositioning.horizontal=e.horizontal}if(e.vertical){if(typeof e.vertical!="string")throw new TypeError("widgetPositioning() vertical variable must be a string");if(e.vertical=e.vertical.toLowerCase(),v.indexOf(e.vertical)===-1)throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+v.join(", ")+")");h.widgetPositioning.vertical=e.vertical}return X(),c},c.calendarWeeks=function(e){if(arguments.length===0)return h.calendarWeeks;if(typeof e!="boolean")throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return h.calendarWeeks=e,X(),c},c.showTodayButton=function(e){if(arguments.length===0)return h.showTodayButton;if(typeof e!="boolean")throw new TypeError("showTodayButton() expects a boolean parameter");return h.showTodayButton=e,m&&(J(),se()),c},c.showClear=function(e){if(arguments.length===0)return h.showClear;if(typeof e!="boolean")throw new TypeError("showClear() expects a boolean parameter");return h.showClear=e,m&&(J(),se()),c},c.widgetParent=function(e){if(arguments.length===0)return h.widgetParent;if(typeof e=="string"&&(e=me(e)),e!==null&&typeof e!="string"&&!(e instanceof me))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return h.widgetParent=e,m&&(J(),se()),c},c.keepOpen=function(e){if(arguments.length===0)return h.keepOpen;if(typeof e!="boolean")throw new TypeError("keepOpen() expects a boolean parameter");return h.keepOpen=e,c},c.focusOnShow=function(e){if(arguments.length===0)return h.focusOnShow;if(typeof e!="boolean")throw new TypeError("focusOnShow() expects a boolean parameter");return h.focusOnShow=e,c},c.inline=function(e){if(arguments.length===0)return h.inline;if(typeof e!="boolean")throw new TypeError("inline() expects a boolean parameter");return h.inline=e,c},c.clear=function(){return ee(),c},c.keyBinds=function(e){return arguments.length===0?h.keyBinds:(h.
46keyBinds=e,c)},c.getMoment=function(e){return k(e)},c.debug=function(e){if(typeof e!="boolean")throw new TypeError("debug() expects a boolean parameter");return h.debug=e,c},c.allowInputToggle=function(e){if(arguments.length===0)return h.allowInputToggle;if(typeof e!="boolean")throw new TypeError("allowInputToggle() expects a boolean parameter");return h.allowInputToggle=e,c},c.showClose=function(e){if(arguments.length===0)return h.showClose;if(typeof e!="boolean")throw new TypeError("showClose() expects a boolean parameter");return h.showClose=e,c},c.keepInvalid=function(e){if(arguments.length===0)return h.keepInvalid;if(typeof e!="boolean")throw new TypeError("keepInvalid() expects a boolean parameter");return h.keepInvalid=e,c},c.datepickerInput=function(e){if(arguments.length===0)return h.datepickerInput;if(typeof e!="string")throw new TypeError("datepickerInput() expects a string parameter");return h.datepickerInput=e,c},c.parseInputDate=function(e){if(arguments.length===0)return h.parseInputDate;if(typeof e!="function")throw new TypeError("parseInputDate() sholud be as function");return h.parseInputDate=e,c},c.disabledTimeIntervals=function(e){if(arguments.length===0)return h.disabledTimeIntervals?me.extend({},h.disabledTimeIntervals):h.disabledTimeIntervals;if(!e)return h.disabledTimeIntervals=!1,X(),c;if(!(e instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return h.disabledTimeIntervals=e,X(),c},c.disabledHours=function(e){if(arguments.length===0)return h.disabledHours?me.extend({},h.disabledHours):h.disabledHours;if(!e)return h.disabledHours=!1,X(),c;if(!(e instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(h.disabledHours=pe(e),h.enabledHours=!1,h.useCurrent&&!h.keepInvalid){for(var t=0;!W(d,"h");){if(d.add(1,"h"),t===24)throw"Tried 24 times to find a valid date";t++}Z(d)}return X(),c},c.enabledHours=function(e){if(arguments.length===0)return h.enabledHours?me.extend({},h.enabledHours):h.enabledHours;if(!e)return h.enabledHours=!1,X(),c;if(!(e instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(h.enabledHours=pe(e),h.disabledHours=!1,h.useCurrent&&!h.keepInvalid){for(var t=0;!W(d,"h");){if(d.add(1,"h"),t===24)throw"Tried 24 times to find a valid date";t++}Z(d)}return X(),c},c.viewDate=function(e){if(arguments.length===0)return p.clone();if(!e)return p=d.clone(),c;if(typeof e!="string"&&!ge.isMoment(e)&&!(e instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return p=te(e),H(),c},r.is("input"))i=r;else if(i=r.find(h.datepickerInput),i.length===0)i=r.find("input");else if(!i.is("input"))throw new Error('CSS class "'+h.datepickerInput+'" cannot be applied to non input element');if(r.hasClass("input-group")&&(o=r.find(".datepickerbutton").length===0?r.find(".input-group-addon"):r.find(".datepickerbutton")),!h.inline&&!i.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return d=k(),p=d.clone(),me.extend(!0,h,e()),c.options(h),fe(),ce(),i.prop("disabled")&&c.disable(),i.is("input")&&i.val().trim().length!==0?Z(te(i.val().trim())):h.defaultDate&&i.attr("placeholder")===undefined&&Z(h.defaultDate),h.inline&&se(),c};return me.fn.datetimepicker=function(i){i=i||{};var n=Array.prototype.slice.call(arguments,1),s=!0,r;if(typeof i=="object")return this.each(function(){var e=me(this),t;e.data("DateTimePicker")||(t=me.extend(!0,{},me.fn.datetimepicker.defaults,i),e.data("DateTimePicker",o(e,t)))});if(typeof i=="string")return(this.each(function(){var e=me(this),t=e.data("DateTimePicker");if(!t)throw new Error('bootstrap-datetimepicker("'+i+'") method was called on an element that is not using DateTimePicker');r=t[i].apply(t,n);s=r===t}),s||me.inArray(i,["destroy","hide","show","toggle"])>-1)?this:r;throw new TypeError("Invalid arguments for DateTimePicker: "+i)},me.fn.datetimepicker.defaults={timeZone:"",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:ge.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:window.ResourceManager.Go_To_Today,clear:window.ResourceManager.Clear_Selection,close:window.ResourceManager.Close_The_Picker,selectMonth:window.ResourceManager.Select_Month,prevMonth:window.ResourceManager.Previous_Month,nextMonth:window.ResourceManager.Next_Month,selectYear:window.ResourceManager.Select_Year,prevYear:window.ResourceManager.Previous_Year,nextYear:window.ResourceManager.Next_Year,selectDecade:window.ResourceManager.Select_Decade,prevDecade:window.ResourceManager.Previous_Decade,nextDecade:window.ResourceManager.Next_Decade,prevCentury:window.ResourceManager.Previous_Century,nextCentury:window.ResourceManager.Next_Century,pickHour:window.ResourceManager.Pick_Hour,incrementHour:window.ResourceManager.Increment_Hour,decrementHour:window.ResourceManager.Decrement_Hour,pickMinute:window.ResourceManager.Pick_Minute,incrementMinute:window.ResourceManager.Increment_Minute,decrementMinute:window.ResourceManager.Decrement_Minute,pickSecond:window.ResourceManager.Pick_Second,incrementSecond:window.ResourceManager.Increment_Second,decrementSecond:window.ResourceManager.Decrement_Second,togglePeriod:window.ResourceManager.Toggle_Perio
46d_AM_PM,selectTime:window.ResourceManager.Select_Time,selectDate:window.ResourceManager.Select_Date},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().subtract(7,"d")):this.date(t.clone().add(this.stepping(),"m"))}},down:function(e){if(!e){this.show();return}var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().add(7,"d")):this.date(t.clone().subtract(this.stepping(),"m"))},"control up":function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().subtract(1,"y")):this.date(t.clone().add(1,"h"))}},"control down":function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().add(1,"y")):this.date(t.clone().subtract(1,"h"))}},left:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"d"))}},right:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"d"))}},pageUp:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"M"))}},pageDown:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(e){e&&e.find(".timepicker").is(":visible")&&e.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment(this.viewDate()))},delete:function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1},me.fn.datetimepicker});(function(e){"use strict";if(typeof define=="function"&&define.amd)define(["jquery","moment"],e);else if(typeof exports=="object")module.exports=e(require("jquery"),require("moment"));else{if(typeof jQuery=="undefined")throw"bootstrap-datetimepicker requires jQuery to be loaded first";if(typeof moment=="undefined")throw"bootstrap-datetimepicker requires Moment.js to be loaded first";e(jQuery,moment)}})(function(me,ge){"use strict";if(!ge)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var o=function(r,h){var c={},d,p,f=!0,i,o=!1,m=!1,a,n=0,s,l,u,t=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],g=["days","months","years","decades"],v=["top","bottom","auto"],y=["left","right","auto"],b=["default","top","bottom"],_={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},w={},x=function(){return ge.tz!==undefined&&h.timeZone!==undefined&&h.timeZone!==null&&h.timeZone!==""},k=function(e){var t;return t=e===undefined||e===null?ge():ge.isDate(e)||ge.isMoment(e)?ge(e):x()?ge.tz(e,l,h.useStrict,h.timeZone):ge(e,l,h.useStrict),x()&&t.tz(h.timeZone),t},D=function(e){if(typeof e!="string"||e.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(e){case"y":return s.indexOf("Y")!==-1;case"M":return s.indexOf("M")!==-1;case"d":return s.toLowerCase().indexOf("d")!==-1;case"h":case"H":return s.toLowerCase().indexOf("h")!==-1;case"m":return s.indexOf("m")!==-1;case"s":return s.indexOf("s")!==-1;default:return!1}},C=function(){return D("h")||D("m")||D("s")},S=function(){return D("y")||D("M")||D("d")},T=function(){var e=me("<thead>").append(me("<tr>").append(me("<th>").addClass("prev").attr("data-action","previous").append(me("<button>").attr("type","button").append(me("<span>").addClass(h.icons.previous).attr("aria-hidden","true")))).append(me("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("aria-live","polite").attr("colspan",h.calendarWeeks?"6":"5").append(me("<button>").attr("type","button"))).append(me("<th>").addClass("next").attr("data-action","next").append(me("<button>").attr("type","button").append(me("<span>").addClass(h.icons.next).attr("aria-hidden","true"))))),t=me("<tbody>").append(me("<tr>").append(me("<td>").attr("colspan",h.calendarWeeks?"8":"7")));return[me("<div>").addClass("datepicker-days").append(me('<table role="application">').addClass("table-condensed").append(e).append(me("<tbody>"))),me("<div>").addClass("datepicker-months").append(me('<table role="application">').addClass("table-condensed").append(e.clone()).append(t.clone())),me("<div>").addClass("datepicker-years").append(me('<table role="application">').addClass("table-condensed").append(e.clone()).append(t.clone())),me("<div>").addClass("datepicker-decades").append(me('<table role="application">').addClass("table-condensed").append(e.clone()).append(t.clone()))]},M=function(){var t=me("<tr>"),i=me("<tr>"),n=me("<tr>");if(D("h")&&(t.append(me('<td role="application">').append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.incrementHour,role:"button"}).attr("data-action","incrementHours").append(me("<span>").attr("aria-hidden","true").addClass(h.icons.up)))),i.append(me("<td>").append(me("<a>
46").attr("data-action","showHours").attr({href:"#",title:h.tooltips.pickHour,tabindex:"-1",role:"button"}).append(me("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours","aria-live":"polite"})))),n.append(me("<td>").append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.decrementHour,role:"button"}).attr("data-action","decrementHours").append(me("<span>").attr("aria-hidden","true").addClass(h.icons.down))))),D("m")&&(D("h")&&(t.append(me("<td>").addClass("separator")),i.append(me("<td>").addClass("separator").html(":")),n.append(me("<td>").addClass("separator"))),t.append(me('<td role="application">').append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.incrementMinute,role:"button"}).attr("data-action","incrementMinutes").append(me("<span>").attr("aria-hidden","true").addClass(h.icons.up)))),i.append(me("<td>").append(me("<a>").attr("data-action","showMinutes").attr({href:"#",title:h.tooltips.pickMinute,tabindex:"-1",role:"button"}).append(me("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes","aria-live":"polite"})))),n.append(me("<td>").append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.decrementMinute,role:"button"}).attr("data-action","decrementMinutes").append(me("<span>").attr("aria-hidden","true").addClass(h.icons.down))))),D("s")&&(D("m")&&(t.append(me("<td>").addClass("separator")),i.append(me("<td>").addClass("separator").html(":")),n.append(me("<td>").addClass("separator"))),t.append(me('<td role="application">').append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.incrementSecond,role:"button"}).attr("data-action","incrementSeconds").append(me("<span>").attr("aria-hidden","true").addClass(h.icons.up)))),i.append(me("<td>").append(me("<a>").attr("data-action","showSeconds").attr({href:"#",title:h.tooltips.pickSecond,tabindex:"-1",role:"button"}).append(me("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds","aria-live":"polite"})))),n.append(me("<td>").append(me("<a>").attr({href:"#",tabindex:"-1",title:h.tooltips.decrementSecond,role:"button"}).attr("data-action","decrementSeconds").append(me("<span>").attr("aria-hidden","true").addClass(h.icons.down))))),!a){t.append(me("<td>").addClass("separator"));let e=navigator.userAgentData&&navigator.userAgentData.brands&&navigator.userAgentData.brands.some(e=>e.brand==="Google Chrome");e!=undefined&&e!=null&&e?i.append(me("<td>").attr("aria-live","polite").append(me("<button>").attr("type","button").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:h.tooltips.togglePeriod}))):i.append(me("<td>").append(me("<button>").attr("type","button").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:h.tooltips.togglePeriod})));n.append(me("<td>").addClass("separator"))}return me("<div>").addClass("timepicker-picker").append(me('<table role="alert">').addClass("table-condensed").append([t,i,n]))},P=function(){var e=me("<div>").addClass("timepicker-hours").append(me('<table role="application">').addClass("table-condensed")),t=me("<div>").addClass("timepicker-minutes").append(me('<table role="application">').addClass("table-condensed")),i=me("<div>").addClass("timepicker-seconds").append(me('<table role="application">').addClass("table-condensed")),n=[M()];return D("h")&&n.push(e),D("m")&&n.push(t),D("s")&&n.push(i),n},I=function(){var e=[];return h.showTodayButton&&e.push(me("<td>").append(me("<a>").attr({"data-action":"today",title:h.tooltips.today}).append(me("<span>").addClass(h.icons.today)))),!h.sideBySide&&S()&&C()&&e.push(me("<td>").append(me("<a>").attr({href:"#",tabindex:"-1","data-action":"togglePicker",title:h.tooltips.selectTime,role:"button"}).append(me("<span>").attr("aria-hidden","true").addClass(h.icons.time)))),h.showClear&&e.push(me("<td>").append(me("<a>").attr({"data-action":"clear",title:h.tooltips.clear}).append(me("<span>").addClass(h.icons.clear)))),h.showClose&&e.push(me("<td>").append(me("<a>").attr({"data-action":"close",title:h.tooltips.close}).append(me("<span>").addClass(h.icons.close)))),me('<table role="application">').addClass("table-condensed").append(me("<tbody>").append(me("<tr>").append(e)))},O=function(){var e=me("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),t=me("<div>").addClass("datepicker").append(T()),i=me("<div>").addClass("timepicker").append(P()),n=me('<ul role="list">').addClass("list-unstyled"),s=me("<li>").addClass("picker-switch"+(h.collapse?" accordion-toggle":"")).append(I());
46return(h.inline&&e.removeClass("dropdown-menu"),a&&e.addClass("usetwentyfour"),D("s")&&!a&&e.addClass("wider"),h.sideBySide&&S()&&C())?(e.addClass("timepicker-sbs"),h.toolbarPlacement==="top"&&e.append(s),e.append(me("<div>").addClass("row").append(t.addClass("col-md-6")).append(i.addClass("col-md-6"))),h.toolbarPlacement==="bottom"&&e.append(s),e):(h.toolbarPlacement==="top"&&n.append(s),S()&&n.append(me("<li>").addClass(h.collapse&&C()?"collapse in":"").append(t)),h.toolbarPlacement==="default"&&n.append(s),C()&&n.append(me("<li>").addClass(h.collapse&&S()?"collapse":"").append(i)),h.toolbarPlacement==="bottom"&&n.append(s),e.append(n))},e=function(){var i,n={};return i=r.is("input")||h.inline?r.data():r.find("input").data(),i.dateOptions&&i.dateOptions instanceof Object&&(n=me.extend(!0,n,i.dateOptions)),me.each(h,function(e){var t="date"+e.charAt(0).toUpperCase()+e.slice(1);i[t]!==undefined&&(n[e]=i[t])}),n},A=function(){var e=(o||r).position(),t=(o||r).offset(),i=h.widgetPositioning.vertical,n=h.widgetPositioning.horizontal,s;if(h.widgetParent)s=h.widgetParent.append(m);else if(r.is("input"))s=r.after(m).parent();else{if(h.inline){s=r.append(m);return}s=r;r.children().first().next().after(m)}if(i==="auto"&&(i=t.top+m.height()*1.5>=me(window).height()+me(window).scrollTop()&&m.height()+r.outerHeight()<t.top?"top":"bottom"),n==="auto"&&(n=s.width()<t.left+m.outerWidth()/2&&t.left+m.outerWidth()>me(window).width()?"right":"left"),i==="top"?m.addClass("top").removeClass("bottom"):m.addClass("bottom").removeClass("top"),n==="right"?m.addClass("pull-right"):m.removeClass("pull-right"),s.css("position")==="static"&&(s=s.parents().filter(function(){return me(this).css("position")!=="static"}).first()),s.length===0)throw new Error("datetimepicker component should be placed within a non-static positioned container");m.css({top:i==="top"?"auto":e.top+r.outerHeight(),bottom:i==="top"?s.outerHeight()-(s===r?0:e.top):"auto",left:n==="left"?s===r?0:e.left:"auto",right:n==="left"?"auto":s.outerWidth()-r.outerWidth()-(s===r?0:e.left)})},E=function(e){(e.type!=="dp.change"||(!e.date||!e.date.isSame(e.oldDate))&&(e.date||e.oldDate))&&(e.type==="dp.error"&&e.oldDate&&i.parent().parent().find(".date-error").length>0&&i.parent().parent().find(".date-error").remove(),r.trigger(e))},H=function(e){e==="y"&&(e="YYYY");
46E({type:"dp.update",change:e,viewDate:p.clone()})},N=function(e){m&&(e&&(u=Math.max(n,Math.min(3,u+e))),m.find(".datepicker > div").hide().filter(".datepicker-"+t[u].clsName).show(),m.find(".datepicker-"+t[u].clsName+' [data-action="pickerSwitch"] button').trigger("focus"))},j=function(){var e=me("<tr>"),t=p.clone().startOf("w").startOf("d");for(h.calendarWeeks===!0&&e.append(me("<th>").addClass("cw").text("#"));t.isBefore(p.clone().endOf("w"));)e.append(me("<th>").addClass("dow").text(t.format("dd"))),t.add(1,"d");m.find(".datepicker-days thead").append(e)},R=function(e){return h.disabledDates[e.format("YYYY-MM-DD")]===!0},z=function(e){return h.enabledDates[e.format("YYYY-MM-DD")]===!0},L=function(e){return h.disabledHours[e.format("H")]===!0},Y=function(e){return h.enabledHours[e.format("H")]===!0},W=function(e,t){if(!e.isValid()||h.disabledDates&&t==="d"&&R(e)||h.enabledDates&&t==="d"&&!z(e)||h.minDate&&e.isBefore(h.minDate,t)||h.maxDate&&e.isAfter(h.maxDate,t)||h.daysOfWeekDisabled&&t==="d"&&h.daysOfWeekDisabled.indexOf(e.day())!==-1||h.disabledHours&&(t==="h"||t==="m"||t==="s")&&L(e)||h.enabledHours&&(t==="h"||t==="m"||t==="s")&&!Y(e))return!1;if(h.disabledTimeIntervals&&(t==="h"||t==="m"||t==="s")){var i=!1;if(me.each(h.disabledTimeIntervals,function(){if(e.isBetween(this[0],this[1]))return i=!0,!1}),i)return!1}return!0},F=function(){for(var e=[],t=p.clone().startOf("y").startOf("d");t.isSame(p,"y");)e.push(me("<span>").attr("data-action","selectMonth").addClass("month").append(me("<button>").attr("type","button").attr("role","button").attr("aria-label",t.format("MMMM")).text(t.format("MMM")))),t.add(1,"M");m.find(".datepicker-months td").empty().append(e)},q=function(){var e=m.find(".datepicker-months"),t=e.find("th"),i=e.find("tbody").find("span");t.eq(0).find("button").attr("title",h.tooltips.prevYear);t.eq(1).find("button").attr("title",h.tooltips.selectYear);t.eq(2).find("button").attr("title",h.tooltips.nextYear);e.find(".disabled").removeClass("disabled");W(p.clone().subtract(1,"y"),"y")||t.eq(0).addClass("disabled");t.eq(1).find("button").text(p.year());W(p.clone().add(1,"y"),"y")||t.eq(2).addClass("disabled");i.removeClass("active");d.isSame(p,"y")&&!f&&i.eq(d.month()).addClass("active");i.each(function(e){W(p.clone().month(e),"M")||me(this).addClass("disabled")})},B=function(){var e=m.find(".datepicker-years"),t=e.find("th"),i=p.clone().subtract(5,"y"),n=p.clone().add(6,"y"),s="";for(t.eq(0).find("button").attr("title",h.tooltips.prevDecade),t.eq(1).find("button").attr("title",h.tooltips.selectDecade),t.eq(2).find("button").attr("title",h.tooltips.nextDecade),e.find(".disabled").removeClass("disabled"),h.minDate&&h.minDate.isAfter(i,"y")&&t.eq(0).addClass("disabled"),t.eq(1).find("button").text(i.year()+"-"+n.year()),h.maxDate&&h.maxDate.isBefore(n,"y")&&t.eq(2).addClass("disabled");!i.isAfter(n,"y");)s+='<span data-action="selectYear" class="year'+(i.isSame(d,"y")&&!f?" active":"")+(W(i,"y")?"":" disabled")+'"><button type="button" role="button" aria-label="'+i.year()+'">'+i.year()+"</button></span>",i.add(1,"y");e.find("td").html(s)},U=function(){var e=m.find(".datepicker-decades"),t=e.find("th"),i=ge({y:p.year()-p.year()%100-1}),n=i.clone().add(100,"y"),s=i.clone(),r=!1,o=!1,a,l="";for(t.eq(0).find("button").attr("title",h.tooltips.prevCentury),t.eq(2).find("button").attr("title",h.tooltips.nextCentury),e.find(".disabled").removeClass("disabled"),(i.isSame(ge({y:1900}))||h.minDate&&h.minDate.isAfter(i,"y"))&&t.eq(0).addClass("disabled"),t.eq(1).find("button").text(i.year()+"-"+n.year()),(i.isSame(ge({y:2e3}))||h.maxDate&&h.maxDate.isBefore(n,"y"))&&t.eq(2).addClass("disabled");!i.isAfter(n,"y");)a=i.year()+12,r=h.minDate&&h.minDate.isAfter(i,"y")&&h.minDate.year()<=a,o=h.maxDate&&h.maxDate.isAfter(i,"y")&&h.maxDate.year()<=a,l+='<span data-action="selectDecade" class="decade'+(d.isAfter(i)&&d.year()<=a?" active":"")+(!W(i,"y")&&!r&&!o?" disabled":"")+'" data-selection="'+(i.year()+6)+'"><button type="button" role="button" aria-label="'+(i.year()+1)+" - "+(i.year()+12)+'">'+(i.year()+1)+" - "+(i.year()+12)+"</button></span>",i.add(12,"y");l+="<span></span><span></span><span></span>";e.find("td").html(l);t.eq(1).find("button").text(s.year()+1+"-"+i.year())},V=function(){var i=m.find(".datepicker-days"),n=i.find("th"),s,r=[],o,a=[],l,u,c;if(S()){n.eq(0).find("button").attr("title",h.tooltips.prevMonth);n.eq(1).find("button").attr("title",h.tooltips.selectMonth);n.eq(2).find("button").attr("title",h.tooltips.nextMonth);i.find(".disabled").removeClass("disabled");h.locale=="ja-JP"?n.eq(1).find("button").text(p.format("YYYY MMMM")):n.eq(1).find("button").text(p.format(h.dayViewHeaderFormat));W(p.clone().subtract(1,"M"),"M")||(n.eq(0).addClass("disabled"),n.eq(0).find("button").attr("aria-disabled","true"));W(p.clone().add(1,"M"),"M")||(n.eq(2).addClass("disabled"),n.eq(2).find("button").attr("aria-disabled","true"));s=p.clone().startOf("M").startOf("w").startOf("d");let e=0,t=0;for(u="",c="",l=0;l<42;l++)s.weekday()===0&&(t=0,e++,o=me("<tr>"),h.calendarWeeks&&o.append('<td class="cw">'+s.week()+"</td>"),r.push(o)),t++,a=["day"],s.isBefore(p,"M")&&a.push("old"),s.isAfter(p,"M")&&a.push("new"),s.isSame(d,"d")&&!f&&(a.push("active"),c=window.ResourceManager.Selected_Date),W(s,"d")||a.push("disabled"),s.isSame(k(),"d")&&(a.push("today"),u=window.ResourceManager.Today_Date),(s.day()===0||s.day()===6)&&a.push("weekend"),E({type:"dp.classify",date:s,classNames:a}),o.append('<td data-action="selectDay" data-day="'+s.format("L")+'"  class="'+a.join(" ")+'" role="application"><button type="button" aria-label="column '+t+" row "+e+" "+c+" "+s.format("dddd")+" "+s.format("LL")+" "+u+'">'+s.date()+"</button></td>"),s.add(1,"d"),u="",c="";i.find("tbody").empty().append(r);q();B();U()}},Q=function(){var e=m.find(".timepicker-hours table"),t=p.clone().startOf("d"),i=[],n=me("<tr>");for(p.hour()>11&&!a&&t.hour(12);t.isSame(p,"d")&&(a||p.hour()<12&&t.hour()<12||p.hour()>11);)t.hour()%4==0&&(n=me("<tr>"),i.push(n)),n.append('<td><a data-action="selectHour" href="#" role="button" tabindex="-1" class="hour'+(t.hour()==p.hour()?" active ":"")+(W(t,"h")?"":" disabled")+'"><span>'+t.format(a?"HH":"hh")+"</span></a></td>"),t.add(1,"h");e.empty().append(i)},$=function(){for(var e=m.find(".timepicker-minutes table"),t=p.clone().startOf("h"),i=[],n=me("<tr>"),s=h.stepping===1?5:h.stepping;p.isSame(t,"h");)t.minute()%(s*4)==0&&(n=me("<tr>"),i.push(n)),n.append('<td><a data-action="selectMinute" href="#" role="button" tabindex="-1" class="minute'+(t.minute()=="00"?" active ":"")+(W(t,"m")?"":" disabled")+'"><span>'+t.format("mm")+"</span></a></td>"),t.add(s,"m");e.empty().append(i)},G=function(){for(var e=m.find(".timepicker-seconds table"),t=p.clone().startOf("m"),i=[],n=me("<tr>");p.isSame(t,"m");)t.second()%20==0&&(n=me("<tr>"),i.push(n)),n.append('<td><a data-action="selectSecond" href="#" role="button" tabindex="-1" class="second'+(t.second()=="00"?" active ":"")+(W(t,"s")?"":" disabled")+'"><span>'+t.format("ss")+"</span></a></td>"),t.add(5,"s");e.empty().append(i)},K=function(){var e,t,i=m.find(".timepicker span[data-time-component]");a||(e=m.find(".timepicker [data-action=togglePeriod]"),t=d.clone().add(d.hours()>=12?-12:12,"h"),e.text(d.format("A")),W(t,"h")?e.removeClass("disabled"):e.addClass("disabled"));i.filter("[data-time-component=hours]").text(d.format(a?"HH":"hh"));i.filter("[data-time-component=minutes]").text(d.format("mm"));i.filter("[data-time-component=seconds]").text(d.format("ss"));Q();$();G()},X=function(){m&&(V(),K())},Z=function(e){var t=f?null:d;if(e||!i.prop("readonly")){if(!e){f=!0;
46i.val("");r.data("date","");E({type:"dp.change",date:!1,oldDate:t});X();return}if(e=e.clone().locale(h.locale),x()&&e.tz(h.timeZone),h.stepping!==1)for(e.minutes(Math.round(e.minutes()/h.stepping)*h.stepping).seconds(0);h.minDate&&e.isBefore(h.minDate);)e.add(h.stepping,"minutes");W(e)?(d=e,p=d.clone(),i.val(d.format(s)),r.data("date",d.format(s)),f=!1,X(),E({type:"dp.change",date:d.clone(),oldDate:t})):(h.keepInvalid?E({type:"dp.change",date:e,oldDate:t}):i.val(f?"":d.format(s)),E({type:"dp.error",date:e,oldDate:t}))}},J=function(){var t=!1;return m?(m.find(".collapse").each(function(){var e=me(this).data("collapse");return e&&e.transitioning?(t=!0,!1):!0}),t)?c:(o&&o.hasClass("btn")&&o.toggleClass("active"),m.hide(),me(window).off("resize",A),m.off("click","[data-action]"),m.off("mousedown",!1),m.remove(),m=!1,E({type:"dp.hide",date:d.clone()}),p=d.clone(),u=0,c):c},ee=function(){Z(null)},te=function(e){return h.parseInputDate===undefined?(!ge.isMoment(e)||e instanceof Date)&&(e=k(e)):e=h.parseInputDate(e),e},ie={next:function(){var e=t[u].navFnc;p.add(t[u].navStep,e);V();H(e)},previous:function(){var e=t[u].navFnc;p.subtract(t[u].navStep,e);V();H(e)},pickerSwitch:function(){N(1)},selectMonth:function(e){var t=me(e.target).closest("tbody").find("span").find("button").index(me(e.target));p.month(t);u===n?(Z(d.clone().year(p.year()).month(p.month())),h.inline||J()):(N(-1),V());H("M");m.find('.datepicker-days [data-action="pickerSwitch"] button').trigger("focus")},selectYear:function(e){var t=parseInt(me(e.target).text(),10)||0;p.year(t);u===n?(Z(d.clone().year(p.year())),h.inline||J()):(N(-1),V());H("YYYY");m.find('.datepicker-months [data-action="pickerSwitch"] button').trigger("focus")},selectDecade:function(e){var t=parseInt(me(e.target).parent().data("selection"),10)||0;p.year(t);u===n?(Z(d.clone().year(p.year())),h.inline||J()):(N(-1),V());H("YYYY");m.find('.datepicker-years [data-action="pickerSwitch"] button').trigger("focus")},selectDay:function(e){var t=p.clone();(me(e.target).parent("td").is(".old")||me(e.target).is(".old"))&&t.subtract(1,"M");(me(e.target).parent("td").is(".new")||me(e.target).is(".new"))&&t.add(1,"M");Z(t.date(parseInt(me(e.target).text(),10)));h.keepOpen||h.inline||J()},incrementHours:function(){var e=d.clone().add(1,"h");W(e,"h")&&Z(e)},incrementMinutes:function(){var e=d.clone().add(h.stepping,"m");W(e,"m")&&Z(e)},incrementSeconds:function(){var e=d.clone().add(1,"s");W(e,"s")&&Z(e)},decrementHours:function(){var e=d.clone().subtract(1,"h");W(e,"h")&&Z(e)},decrementMinutes:function(){var e=d.clone().subtract(h.stepping,"m");W(e,"m")&&Z(e)},decrementSeconds:function(){var e=d.clone().subtract(1,"s");W(e,"s")&&Z(e)},togglePeriod:function(){Z(d.clone().add(d.hours()>=12?-12:12,"h"))},togglePicker:function(e){var t=me(e.target),i=t.closest("ul"),n=i.find(".in"),s=i.find(".collapse:not(.in)"),r;
46if(n&&n.length){if(r=n.data("collapse"),r&&r.transitioning)return;n.collapse?(n.collapse("hide"),s.collapse("show")):(n.removeClass("in"),s.addClass("in"));t.is("span")?(t.hasClass("icon-time")?t.parent().attr("title",h.tooltips.selectDate):t.parent().attr("title",h.tooltips.selectTime),t.toggleClass(h.icons.time+" "+h.icons.date)):(t.find("span").hasClass("icon-time")?t.attr("title",h.tooltips.selectDate):t.attr("title",h.tooltips.selectTime),t.find("span").toggleClass(h.icons.time+" "+h.icons.date))}},showPicker:function(){m.find(".timepicker > div:not(.timepicker-picker)").hide();m.find(".timepicker .timepicker-picker").show()},showHours:function(){m.find(".timepicker .timepicker-picker").hide();m.find(".timepicker .timepicker-hours").show();m.find("a.hour.active").trigger("focus")},showMinutes:function(){m.find(".timepicker .timepicker-picker").hide();m.find(".timepicker .timepicker-minutes").show();m.find("a.minute").first().trigger("focus")},showSeconds:function(){m.find(".timepicker .timepicker-picker").hide();m.find(".timepicker .timepicker-seconds").show();m.find("a.second").first().trigger("focus")},selectHour:function(e){var t=parseInt(me(e.target).text(),10);a||(d.hours()>=12?t!==12&&(t+=12):t===12&&(t=0));Z(d.clone().hours(t));ie.showPicker.call(c);m.find('a[data-action="showHours"]').trigger("focus")},selectMinute:function(e){Z(d.clone().minutes(parseInt(me(e.target).text(),10)));ie.showPicker.call(c);m.find('a[data-action="showMinutes"]').trigger("focus")},selectSecond:function(e){Z(d.clone().seconds(parseInt(me(e.target).text(),10)));ie.showPicker.call(c);m.find('a[data-action="showSeconds"]').trigger("focus")},clear:ee,today:function(){var e=k();W(e,"d")&&Z(e)},close:J},ne=function(e){return me(e.currentTarget).is(".disabled")?!1:(ie[me(e.currentTarget).data("action")].apply(c,arguments),!1)},se=function(){var e,t={year:function(e){return e.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(e){return e.date(1).hours(0).seconds(0).minutes(0)},day:function(e){return e.hours(0).seconds(0).minutes(0)},hour:function(e){return e.seconds(0).minutes(0)},minute:function(e){return e.seconds(0)}};if(i.prop("disabled")||!h.ignoreReadonly&&i.prop("readonly")||m)return c;i.val()!==undefined&&i.val().trim().length!==0?Z(te(i.val().trim())):f&&h.useCurrent&&(h.inline||i.is("input")&&i.val().trim().length===0)&&(e=k(),typeof h.useCurrent=="string"&&(e=t[h.useCurrent](e)),Z(e));m=O();j();F();m.find(".timepicker-hours").hide();m.find(".timepicker-minutes").hide();m.find(".timepicker-seconds").hide();X();N();me(window).on("resize",A);m.on("click","[data-action]",ne);m.on("mousedown",!1);return o&&o.hasClass("btn")&&o.toggleClass("active"),A(),m.show(),E({type:"dp.show"}),c},re=function(){return m.length>0?J():se()},oe=function(e){var t=h.keyBinds[e.which];t.call(c,m);e.stopPropagation();e.preventDefault()},ae=function(e){var t=null,i,n,s=[],r={},o=e.which,a,l,u="p";w[o]=u;for(i in w)w.hasOwnProperty(i)&&w[i]===u&&(s.push(i),parseInt(i,10)!==o&&(r[i]=!0));for(i in h.keyBinds)if(h.keyBinds.hasOwnProperty(i)&&typeof h.keyBinds[i]=="function"&&(a=i.split(" "),a.length===s.length&&_[o]===a[a.length-1])){for(l=!0,n=a.length-2;n>=0;n--)if(!(_[a[n]]in r)){l=!1;break}if(l){t=h.keyBinds[i];break}}t&&(t.call(c,m),e.stopPropagation(),e.preventDefault())},le=function(e){w[e.which]="r";e.stopPropagation();e.preventDefault()},ue=function(t){var e=me(t.target).val().trim(),i=e?te(e):null,n=Page_Validators.find(e=>e.id=="DateFormatValidator"+t.target.id.split("_datepicker_description")[0]),s=Page_Validators.find(e=>e.id=="RequiredFieldValidator"+t.target.id.split("_datepicker_description")[0]),r;return n.evaluationfunction=function(){var e=this.id.split("DateFormatValidator")[1]+"_datepicker_description",t=document.getElementById(e).value.trim();return t?te(t).isValid():!0},r=ge(new Date).format(t.target.placeholder),n.errormessage=n.errormessage.replace("{1}",r),s&&(s.evaluationfunction=function(){var e=this.id.split("RequiredFieldValidator")[1]+"_datepicker_description",t=document.getElementById(e).value.trim();return t!==""}),i||(f=!1),h.keepInvalid=!0,Z(i),t.stopImmediatePropagation(),!1},ce=function(){i.on({change:ue,blur:h.debug?"":J,keydown:ae,customKeydown:oe,keyup:le,focus:h.allowInputToggle?se:""});
46if(r.is("input"))i.on({focus:se});else if(o){o.on("click",re);o.on("mousedown",!1)}},he=function(){i.off({change:ue,blur:blur,keydown:ae,customKeydown:oe,keyup:le,focus:h.allowInputToggle?J:""});r.is("input")?i.off({focus:se}):o&&(o.off("click",re),o.off("mousedown",!1))},de=function(e){var t={};return me.each(e,function(){var e=te(this);e.isValid()&&(t[e.format("YYYY-MM-DD")]=!0)}),Object.keys(t).length?t:!1},pe=function(e){var t={};return me.each(e,function(){t[this]=!0}),Object.keys(t).length?t:!1},fe=function(){var e=h.format||"L LT";s=e.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(e){var t=d.localeData().longDateFormat(e)||e;return t.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(e){return d.localeData().longDateFormat(e)||e})});l=h.extraFormats?h.extraFormats.slice():[];l.indexOf(e)<0&&l.indexOf(s)<0&&l.push(s);a=s.toLowerCase().indexOf("a")<1&&s.replace(/\[.*?\]/g,"").indexOf("h")<1;D("y")&&(n=2);D("M")&&(n=1);D("d")&&(n=0);u=Math.max(n,u);f||Z(d)};if(c.destroy=function(){J();he();r.removeData("DateTimePicker");r.removeData("date")},c.toggle=re,c.show=se,c.hide=J,c.disable=function(){return J(),o&&o.hasClass("btn")&&o.addClass("disabled"),i.prop("disabled",!0),c},c.enable=function(){return o&&o.hasClass("btn")&&o.removeClass("disabled"),i.prop("disabled",!1),c},c.ignoreReadonly=function(e){if(arguments.length===0)return h.ignoreReadonly;if(typeof e!="boolean")throw new TypeError("ignoreReadonly () expects a boolean parameter");return h.ignoreReadonly=e,c},c.options=function(e){if(arguments.length===0)return me.extend(!0,{},h);if(!(e instanceof Object))throw new TypeError("options() options parameter should be an object");return me.extend(!0,h,e),me.each(h,function(e,t){if(c[e]!==undefined)c[e](t);else throw new TypeError("option "+e+" is not recognized!")}),c},c.date=function(e){if(arguments.length===0)return f?null:d.clone();if(e!==null&&typeof e!="string"&&!ge.isMoment(e)&&!(e instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return Z(e===null?null:te(e)),c},c.format=function(e){if(arguments.length===0)return h.format;if(typeof e!="string"&&(typeof e!="boolean"||e!==!1))throw new TypeError("format() expects a string or boolean:false parameter "+e);return h.format=e,s&&fe(),c},c.timeZone=function(e){if(arguments.length===0)return h.timeZone;if(typeof e!="string")throw new TypeError("newZone() expects a string parameter");return h.timeZone=e,c},c.dayViewHeaderFormat=function(e){if(arguments.length===0)return h.dayViewHeaderFormat;if(typeof e!="string")throw new TypeError("dayViewHeaderFormat() expects a string parameter");return h.dayViewHeaderFormat=e,c},c.extraFormats=function(e){if(arguments.length===0)return h.extraFormats;if(e!==!1&&!(e instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return h.extraFormats=e,l&&fe(),c},c.disabledDates=function(e){if(arguments.length===0)return h.disabledDates?me.extend({},h.disabledDates):h.disabledDates;if(!e)return h.disabledDates=!1,X(),c;if(!(e instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return h.disabledDates=de(e),h.enabledDates=!1,X(),c},c.enabledDates=function(e){if(arguments.length===0)return h.enabledDates?me.extend({},h.enabledDates):h.enabledDates;if(!e)return h.enabledDates=!1,X(),c;if(!(e instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return h.enabledDates=de(e),h.disabledDates=!1,X(),c},c.daysOfWeekDisabled=function(e){if(arguments.length===0)return h.daysOfWeekDisabled.splice(0);if(typeof e=="boolean"&&!e)return h.daysOfWeekDisabled=!1,X(),c;if(!(e instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(h.daysOfWeekDisabled=e.reduce(function(e,t){return(t=parseInt(t,10),t>6||t<0||isNaN(t))?e:(e.indexOf(t)===-1&&e.push(t),e)},[]).sort(),h.useCurrent&&!h.keepInvalid){for(var t=0;!W(d,"d");){if(d.add(1,"d"),t===31)throw"Tried 31 times to find a valid date";t++}Z(d)}return X(),c},c.maxDate=function(e){if(arguments.length===0)return h.maxDate?h.maxDate.clone():h.maxDate;if(typeof e=="boolean"&&e===!1)return h.maxDate=!1,X(),c;typeof e=="string"&&(e==="now"||e==="moment")&&(e=k());var t=te(e);if(!t.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+e);if(h.minDate&&t.isBefore(h.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+t.format(s));return h.maxDate=t,h.useCurrent&&!h.keepInvalid&&d.isAfter(e)&&Z(h.maxDate),p.isAfter(t)&&(p=t.clone().subtract(h.stepping,"m")),X(),c},c.minDate=function(e){if(arguments.length===0)return h.minDate?h.minDate.clone():h.minDate;if(typeof e=="boolean"&&e===!1)return h.minDate=!1,X(),c;typeof e=="string"&&(e==="now"||e==="moment")&&(e=k());var t=te(e);
46if(!t.isValid())throw new TypeError("minDate() Could not parse date parameter: "+e);if(h.maxDate&&t.isAfter(h.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+t.format(s));return h.minDate=t,h.useCurrent&&!h.keepInvalid&&d.isBefore(e)&&Z(h.minDate),p.isBefore(t)&&(p=t.clone().add(h.stepping,"m")),X(),c},c.defaultDate=function(e){if(arguments.length===0)return h.defaultDate?h.defaultDate.clone():h.defaultDate;if(!e)return h.defaultDate=!1,c;typeof e=="string"&&(e=e==="now"||e==="moment"?k():k(e));var t=te(e);if(!t.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+e);if(!W(t))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return h.defaultDate=t,(h.defaultDate&&h.inline||i.val().trim()==="")&&Z(h.defaultDate),c},c.locale=function(e){if(arguments.length===0)return h.locale;if(!ge.localeData(e))throw new TypeError("locale() locale "+e+" is not loaded from moment locales!");return h.locale=e,d.locale(h.locale),p.locale(h.locale),s&&fe(),m&&(J(),se()),c},c.stepping=function(e){return arguments.length===0?h.stepping:(e=parseInt(e,10),(isNaN(e)||e<1)&&(e=1),h.stepping=e,c)},c.useCurrent=function(e){var t=["year","month","day","hour","minute"];if(arguments.length===0)return h.useCurrent;if(typeof e!="boolean"&&typeof e!="string")throw new TypeError("useCurrent() expects a boolean or string parameter");if(typeof e=="string"&&t.indexOf(e.toLowerCase())===-1)throw new TypeError("useCurrent() expects a string parameter of "+t.join(", "));return h.useCurrent=e,c},c.collapse=function(e){if(arguments.length===0)return h.collapse;if(typeof e!="boolean")throw new TypeError("collapse() expects a boolean parameter");return h.collapse===e?c:(h.collapse=e,m&&(J(),se()),c)},c.icons=function(e){if(arguments.length===0)return me.extend({},h.icons);if(!(e instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return me.extend(h.icons,e),m&&(J(),se()),c},c.tooltips=function(e){if(arguments.length===0)return me.extend({},h.tooltips);if(!(e instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return me.extend(h.tooltips,e),m&&(J(),se()),c},c.useStrict=function(e){if(arguments.length===0)return h.useStrict;if(typeof e!="boolean")throw new TypeError("useStrict() expects a boolean parameter");return h.useStrict=e,c},c.sideBySide=function(e){if(arguments.length===0)return h.sideBySide;if(typeof e!="boolean")throw new TypeError("sideBySide() expects a boolean parameter");return h.sideBySide=e,m&&(J(),se()),c},c.viewMode=function(e){if(arguments.length===0)return h.viewMode;if(typeof e!="string")throw new TypeError("viewMode() expects a string parameter");if(g.indexOf(e)===-1)throw new TypeError("viewMode() parameter must be one of ("+g.join(", ")+") value");return h.viewMode=e,u=Math.max(g.indexOf(e),n),N(),c},c.toolbarPlacement=function(e){if(arguments.length===0)return h.toolbarPlacement;if(typeof e!="string")throw new TypeError("toolbarPlacement() expects a string parameter");if(b.indexOf(e)===-1)throw new TypeError("toolbarPlacement() parameter must be one of ("+b.join(", ")+") value");return h.toolbarPlacement=e,m&&(J(),se()),c},c.widgetPositioning=function(e){if(arguments.length===0)return me.extend({},h.widgetPositioning);if({}.toString.call(e)!=="[object Object]")throw new TypeError("widgetPositioning() expects an object variable");if(e.horizontal){if(typeof e.horizontal!="string")throw new TypeError("widgetPositioning() horizontal variable must be a string");if(e.horizontal=e.horizontal.toLowerCase(),y.indexOf(e.horizontal)===-1)throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+y.join(", ")+")");h.widgetPositioning.horizontal=e.horizontal}if(e.vertical){if(typeof e.vertical!="string")throw new TypeError("widgetPositioning() vertical variable must be a string");if(e.vertical=e.vertical.toLowerCase(),v.indexOf(e.vertical)===-1)throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+v.join(", ")+")");h.widgetPositioning.vertical=e.vertical}return X(),c},c.calendarWeeks=function(e){if(arguments.length===0)return h.calendarWeeks;if(typeof e!="boolean")throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return h.calendarWeeks=e,X(),c},c.showTodayButton=function(e){if(arguments.length===0)return h.showTodayButton;if(typeof e!="boolean")throw new TypeError("showTodayButton() expects a boolean parameter");return h.showTodayButton=e,m&&(J(),se()),c},c.showClear=function(e){if(arguments.length===0)return h.showClear;if(typeof e!="boolean")throw new TypeError("showClear() expects a boolean parameter");return h.showClear=e,m&&(J(),se()),c},c.widgetParent=function(e){if(arguments.length===0)return h.widgetParent;if(typeof e=="string"&&(e=me(e)),e!==null&&typeof e!="string"&&!(e instanceof me))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return h.widgetParent=e,m&&(J(),se()),c},c.keepOpen=function(e){if(arguments.length===0)return h.keepOpen;if(typeof e!="boolean")throw new TypeError("keepOpen() expects a boolean parameter");return h.keepOpen=e,c},c.focusOnShow=function(e){if(arguments.length===0)return h.focusOnShow;if(typeof e!="boolean")throw new TypeError("focusOnShow() expects a boolean parameter");return h.focusOnShow=e,c},c.inline=function(e){if(arguments.length===0)return h.inline;if(typeof e!="boolean")throw new TypeError("inline() expects a boolean parameter");return h.inline=e,c},c.clear=function(){return ee(),c},c.keyBinds=function(e){return arguments.length===0?h.keyBinds:(h.
46keyBinds=e,c)},c.getMoment=function(e){return k(e)},c.debug=function(e){if(typeof e!="boolean")throw new TypeError("debug() expects a boolean parameter");return h.debug=e,c},c.allowInputToggle=function(e){if(arguments.length===0)return h.allowInputToggle;if(typeof e!="boolean")throw new TypeError("allowInputToggle() expects a boolean parameter");return h.allowInputToggle=e,c},c.showClose=function(e){if(arguments.length===0)return h.showClose;if(typeof e!="boolean")throw new TypeError("showClose() expects a boolean parameter");return h.showClose=e,c},c.keepInvalid=function(e){if(arguments.length===0)return h.keepInvalid;if(typeof e!="boolean")throw new TypeError("keepInvalid() expects a boolean parameter");return h.keepInvalid=e,c},c.datepickerInput=function(e){if(arguments.length===0)return h.datepickerInput;if(typeof e!="string")throw new TypeError("datepickerInput() expects a string parameter");return h.datepickerInput=e,c},c.parseInputDate=function(e){if(arguments.length===0)return h.parseInputDate;if(typeof e!="function")throw new TypeError("parseInputDate() sholud be as function");return h.parseInputDate=e,c},c.disabledTimeIntervals=function(e){if(arguments.length===0)return h.disabledTimeIntervals?me.extend({},h.disabledTimeIntervals):h.disabledTimeIntervals;if(!e)return h.disabledTimeIntervals=!1,X(),c;if(!(e instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return h.disabledTimeIntervals=e,X(),c},c.disabledHours=function(e){if(arguments.length===0)return h.disabledHours?me.extend({},h.disabledHours):h.disabledHours;if(!e)return h.disabledHours=!1,X(),c;if(!(e instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(h.disabledHours=pe(e),h.enabledHours=!1,h.useCurrent&&!h.keepInvalid){for(var t=0;!W(d,"h");){if(d.add(1,"h"),t===24)throw"Tried 24 times to find a valid date";t++}Z(d)}return X(),c},c.enabledHours=function(e){if(arguments.length===0)return h.enabledHours?me.extend({},h.enabledHours):h.enabledHours;if(!e)return h.enabledHours=!1,X(),c;if(!(e instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(h.enabledHours=pe(e),h.disabledHours=!1,h.useCurrent&&!h.keepInvalid){for(var t=0;!W(d,"h");){if(d.add(1,"h"),t===24)throw"Tried 24 times to find a valid date";t++}Z(d)}return X(),c},c.viewDate=function(e){if(arguments.length===0)return p.clone();if(!e)return p=d.clone(),c;if(typeof e!="string"&&!ge.isMoment(e)&&!(e instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return p=te(e),H(),c},r.is("input"))i=r;else if(i=r.find(h.datepickerInput),i.length===0)i=r.find("input");else if(!i.is("input"))throw new Error('CSS class "'+h.datepickerInput+'" cannot be applied to non input element');if(r.hasClass("input-group")&&(o=r.find(".datepickerbutton").length===0?r.find(".input-group-addon"):r.find(".datepickerbutton")),!h.inline&&!i.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return d=k(),p=d.clone(),me.extend(!0,h,e()),c.options(h),fe(),ce(),i.prop("disabled")&&c.disable(),i.is("input")&&i.val().trim().length!==0?Z(te(i.val().trim())):h.defaultDate&&i.attr("placeholder")===undefined&&Z(h.defaultDate),h.inline&&se(),c};return me.fn.datetimepicker=function(i){i=i||{};var n=Array.prototype.slice.call(arguments,1),s=!0,r;if(typeof i=="object")return this.each(function(){var e=me(this),t;e.data("DateTimePicker")||(t=me.extend(!0,{},me.fn.datetimepicker.defaults,i),e.data("DateTimePicker",o(e,t)))});if(typeof i=="string")return(this.each(function(){var e=me(this),t=e.data("DateTimePicker");if(!t)throw new Error('bootstrap-datetimepicker("'+i+'") method was called on an element that is not using DateTimePicker');r=t[i].apply(t,n);s=r===t}),s||me.inArray(i,["destroy","hide","show","toggle"])>-1)?this:r;throw new TypeError("Invalid arguments for DateTimePicker: "+i)},me.fn.datetimepicker.defaults={timeZone:"",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:ge.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:window.ResourceManager.Go_To_Today,clear:window.ResourceManager.Clear_Selection,close:window.ResourceManager.Close_The_Picker,selectMonth:window.ResourceManager.Select_Month,prevMonth:window.ResourceManager.Previous_Month,nextMonth:window.ResourceManager.Next_Month,selectYear:window.ResourceManager.Select_Year,prevYear:window.ResourceManager.Previous_Year,nextYear:window.ResourceManager.Next_Year,selectDecade:window.ResourceManager.Select_Decade,prevDecade:window.ResourceManager.Previous_Decade,nextDecade:window.ResourceManager.Next_Decade,prevCentury:window.ResourceManager.Previous_Century,nextCentury:window.ResourceManager.Next_Century,pickHour:window.ResourceManager.Pick_Hour,incrementHour:window.ResourceManager.Increment_Hour,decrementHour:window.ResourceManager.Decrement_Hour,pickMinute:window.ResourceManager.Pick_Minute,incrementMinute:window.ResourceManager.Increment_Minute,decrementMinute:window.ResourceManager.Decrement_Minute,pickSecond:window.ResourceManager.Pick_Second,incrementSecond:window.ResourceManager.Increment_Second,decrementSecond:window.ResourceManager.Decrement_Second,togglePeriod:window.ResourceManager.Toggle_Perio
46d_AM_PM,selectTime:window.ResourceManager.Select_Time,selectDate:window.ResourceManager.Select_Date},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().subtract(7,"d")):this.date(t.clone().add(this.stepping(),"m"))}},down:function(e){if(!e){this.show();return}var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().add(7,"d")):this.date(t.clone().subtract(this.stepping(),"m"))},"control up":function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().subtract(1,"y")):this.date(t.clone().add(1,"h"))}},"control down":function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")?this.date(t.clone().add(1,"y")):this.date(t.clone().subtract(1,"h"))}},left:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"d"))}},right:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"d"))}},pageUp:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().subtract(1,"M"))}},pageDown:function(e){if(e){var t=this.date()||this.getMoment();e.find(".datepicker").is(":visible")&&this.date(t.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(e){e&&e.find(".timepicker").is(":visible")&&e.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment(this.viewDate()))},delete:function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1},me.fn.datetimepicker});
47/*! jQuery UI - v1.13.2 - 2022-07-14
48* http://jqueryui.com
49* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
50* Copyright jQuery Foundation and other contributors; Licensed MIT */!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(Q){"use strict";Q.ui=Q.ui||{};Q.ui.version="1.13.2";var s,i=0,o=Array.prototype.hasOwnProperty,a=Array.prototype.slice;Q.cleanData=(s=Q.cleanData,function(e){for(var t,i,n=0;null!=(i=e[n]);n++)(t=Q._data(i,"events"))&&t.remove&&Q(i).triggerHandler("remove");s(e)}),Q.widget=function(e,i,t){var n,s,r,o={},a=e.split(".")[0],l=a+"-"+(e=e.split(".")[1]);return t||(t=i,i=Q.Widget),Array.isArray(t)&&(t=Q.extend.apply(null,[{}].concat(t))),Q.expr.pseudos[l.toLowerCase()]=function(e){return!!Q.data(e,l)},Q[a]=Q[a]||{},n=Q[a][e],s=Q[a][e]=function(e,t){if(!this||!this._createWidget)return new s(e,t);arguments.length&&this._createWidget(e,t)},Q.extend(s,n,{version:t.version,_proto:Q.extend({},t),_childConstructors:[]}),(r=new i).options=Q.widget.extend({},r.options),Q.each(t,function(t,n){function s(){return i.prototype[t].apply(this,arguments)}function r(e){return i.prototype[t].apply(this,e)}o[t]="function"==typeof n?function(){var e,t=this._super,i=this._superApply;return this._super=s,this._superApply=r,e=n.apply(this,arguments),this._super=t,this._superApply=i,e}:n}),s.prototype=Q.widget.extend(r,{widgetEventPrefix:n&&r.widgetEventPrefix||e},o,{constructor:s,namespace:a,widgetName:e,widgetFullName:l}),n?(Q.each(n._childConstructors,function(e,t){var i=t.prototype;Q.widget(i.namespace+"."+i.widgetName,s,t._proto)}),delete n._childConstructors):i._childConstructors.push(s),Q.widget.bridge(e,s),s}
vendor: 6,263 bytes, line 50
50,Q.widget.extend=function(e){for(var t,i,n=a.call(arguments,1),s=0,r=n.length;s<r;s++)for(t in n[s])i=n[s][t],o.call(n[s],t)&&void 0!==i&&(Q.isPlainObject(i)?e[t]=Q.isPlainObject(e[t])?Q.widget.extend({},e[t],i):Q.widget.extend({},i):e[t]=i);return e},Q.widget.bridge=function(r,t){var o=t.prototype.widgetFullName||r;Q.fn[r]=function(i){var e="string"==typeof i,n=a.call(arguments,1),s=this;return e?this.length||"instance"!==i?this.each(function(){var e,t=Q.data(this,o);return"instance"===i?(s=t,!1):t?"function"!=typeof t[i]||"_"===i.charAt(0)?Q.error("no such method '"+i+"' for "+r+" widget instance"):(e=t[i].apply(t,n))!==t&&void 0!==e?(s=e&&e.jquery?s.pushStack(e.get()):e,!1):void 0:Q.error("cannot call methods on "+r+" prior to initialization; attempted to call method '"+i+"'")}):s=void 0:(n.length&&(i=Q.widget.extend.apply(null,[i].concat(n))),this.each(function(){var e=Q.data(this,o);e?(e.option(i||{}),e._init&&e._init()):Q.data(this,o,new t(i,this))})),s}},Q.Widget=function(){},Q.Widget._childConstructors=[],Q.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=Q(t||this.defaultElement||this)[0],this.element=Q(t),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=Q(),this.hoverable=Q(),this.focusable=Q(),this.classesElementLookup={},t!==this&&(Q.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=Q(t.style?t.ownerDocument:t.document||t),this.window=Q(this.document[0].defaultView||this.document[0].parentWindow)),this.options=Q.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:Q.noop,_create:Q.noop,_init:Q.noop,destroy:function(){var i=this;this._destroy(),Q.each(this.classesElementLookup,function(e,t){i._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:Q.noop,widget:function(){return this.element},option:function(e,t){var i,n,s,r=e;if(0===arguments.length)return Q.widget.extend({},this.options);if("string"==typeof e)if(r={},e=(i=e.split(".")).shift(),i.length){for(n=r[e]=Q.widget.extend({},this.options[e]),s=0;s<i.length-1;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];r[e]=t}return this._setOptions(r),this},_setOptions:function(e){for(var t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,i,n;for(t in e)n=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&n&&n.length&&(i=Q(n.get()),this._removeClass(n,t),i.addClass(this._classes({element:i,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(s){var r=[],o=this;function e(e,t){for(var i,n=0;n<e.length;n++)i=o.classesElementLookup[e[n]]||Q(),i=s.add?(function(){var i=[];s.element.each(function(e,t){Q.map(o.classesElementLookup,function(e){return e}).some(function(e){return e.is(t)})||i.push(t)}),o._on(Q(i),{remove:"_untrackClassesElement"})}(),Q(Q.uniqueSort(i.get().concat(s.element.get())))):Q(i.not(s.element).get()),o.classesElementLookup[e[n]]=i,r.push(e[n]),t&&s.classes[e[n]]&&r.push(s.classes[e[n]])}return(s=Q.extend({element:this.element,classes:this.options.classes||{}},s)).keys&&e(s.keys.match(/\S+/g)||[],!0),s.extra&&e(s.extra.match(/\S+/g)||[]),r.join(" ")},_untrackClassesElement:function(i){var n=this;Q.each(n.classesElementLookup,function(e,t){-1!==Q.inArray(i.target,t)&&(n.classesElementLookup[e]=Q(t.not(i.target).get()))}),this._off(Q(i.target))},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){var s="string"==typeof e||null===e,i={extra:s?t:i,keys:s?e:t,element:s?this.element:e,add:n="boolean"==typeof n?n:i};return i.element.toggleClass(this._classes(i),n),this},_on:function(s,r,e){var o,a=this;"boolean"!=typeof s&&(e=r,r=s,s=!1),e?(r=o=Q(r),this.bindings=this.bindings.add(r)):(e=r,r=this.element,o=this.widget()),Q.each(e,function(e,t){function i(){if(s||!0!==a.options.disabled&&!Q(this).hasClass("ui-state-disabled"))return("string"==typeof t?a[t]:t).apply(a,arguments)}"string"!=typeof t&&(i.guid=t.guid=t.guid||i.guid||Q.guid++);var n=e.match(/^([\w:-]*)\s*(.*)$/),e=n[1]+a.eventNamespace,n=n[2];n?o.on(e,n,i):r.on(e,i)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t),this.bindings=Q(this.bindings.not(e).get()),this.focusable=Q(this.focusable.not(e).get()),this.hoverable=Q(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){this._addClass(Q(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(Q(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(Q(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(Q(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,i){var n,s,r=this.options[e];if(i=i||{},(t=Q.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: 4,223 bytes, line 50
50return this.element.trigger(t,i),!("function"==typeof r&&!1===r.apply(this.element[0],[t].concat(i))||t.isDefaultPrevented())}},Q.each({show:"fadeIn",hide:"fadeOut"},function(r,o){Q.Widget.prototype["_"+r]=function(t,e,i){var n,s=(e="string"==typeof e?{effect:e}:e)?!0!==e&&"number"!=typeof e&&e.effect||o:r;"number"==typeof(e=e||{})?e={duration:e}:!0===e&&(e={}),n=!Q.isEmptyObject(e),e.complete=i,e.delay&&t.delay(e.delay),n&&Q.effects&&Q.effects.effect[s]?t[r](e):s!==r&&t[s]?t[s](e.duration,e.easing,i):t.queue(function(e){Q(this)[r](),i&&i.call(t[0]),e()})}});var n,x,k,r,l,u,c,h,D;Q.widget;function C(e,t,i){return[parseFloat(e[0])*(h.test(e[0])?t/100:1),parseFloat(e[1])*(h.test(e[1])?i/100:1)]}function S(e,t){return parseInt(Q.css(e,t),10)||0}function T(e){return null!=e&&e===e.window}x=Math.max,k=Math.abs,r=/left|center|right/,l=/top|center|bottom/,u=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,h=/%$/,D=Q.fn.position,Q.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,t=Q("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),i=t.children()[0];return Q("body").append(t),e=i.offsetWidth,t.css("overflow","scroll"),e===(i=i.offsetWidth)&&(i=t[0].clientWidth),t.remove(),n=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?Q.position.scrollbarWidth():0,height:t?Q.position.scrollbarWidth():0}},getWithinInfo:function(e){var t=Q(e||window),i=T(t[0]),n=!!t[0]&&9===t[0].nodeType;return{element:t,isWindow:i,isDocument:n,offset:!i&&!n?Q(e).offset():{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:t.outerWidth(),height:t.outerHeight()}}},Q.fn.position=function(h){if(!h||!h.of)return D.apply(this,arguments);var d,p,f,m,g,e,v="string"==typeof(h=Q.extend({},h)).of?Q(document).find(h.of):Q(h.of),y=Q.position.getWithinInfo(h.within),b=Q.position.getScrollInfo(y),_=(h.collision||"flip").split(" "),w={},t=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:T(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()};return v[0].preventDefault&&(h.at="left top"),p=t.width,f=t.height,g=Q.extend({},m=t.offset),Q.each(["my","at"],function(){var e,t,i=(h[this]||"").split(" ");(i=1===i.length?r.test(i[0])?i.concat(["center"]):l.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=r.test(i[0])?i[0]:"center",i[1]=l.test(i[1])?i[1]:"center",e=u.exec(i[0]),t=u.exec(i[1]),w[this]=[e?e[0]:0,t?t[0]:0],h[this]=[c.exec(i[0])[0],c.exec(i[1])[0]]}),1===_.length&&(_[1]=_[0]),"right"===h.at[0]?g.left+=p:"center"===h.at[0]&&(g.left+=p/2),"bottom"===h.at[1]?g.top+=f:"center"===h.at[1]&&(g.top+=f/2),d=C(w.at,p,f),g.left+=d[0],g.top+=d[1],this.each(function(){var i,e,o=Q(this),a=o.outerWidth(),l=o.outerHeight(),t=S(this,"marginLeft"),n=S(this,"marginTop"),s=a+t+S(this,"marginRight")+b.width,r=l+n+S(this,"marginBottom")+b.height,u=Q.extend({},g),c=C(w.my,o.outerWidth(),o.outerHeight());"right"===h.my[0]?u.left-=a:"center"===h.my[0]&&(u.left-=a/2),"bottom"===h.my[1]?u.top-=l:"center"===h.my[1]&&(u.top-=l/2),u.left+=c[0],u.top+=c[1],i={marginLeft:t,marginTop:n},Q.each(["left","top"],function(e,t){Q.ui.position[_[e]]&&Q.ui.position[_[e]][t](u,{targetWidth:p,targetHeight:f,elemWidth:a,elemHeight:l,collisionPosition:i,collisionWidth:s,collisionHeight:r,offset:[d[0]+c[0],d[1]+c[1]],my:h.my,at:h.at,within:y,elem:o})}),h.using&&(e=function(e){var t=m.left-u.left,i=t+p-a,n=m.top-u.top,s=n+f-l,r={target:{element:v,left:m.left,top:m.top,width:p,height:f},element:{element:o,left:u.left,top:u.top,width:a,height:l},horizontal:i<0?"left":0<t?"right":"center",vertical:s<0?"top":0<n?"bottom":"middle"};p<a&&k(t+i)<p&&(r.horizontal="center"),f<l&&k(n+s)<f&&(r.vertical="middle"),x(k(t),k(i))>x(k(n),k(s))?r.important="horizontal":r.important="vertical",h.using.call(this,e,r)}
vendor: 4,468 bytes, line 50
50),o.offset(Q.extend(u,{using:e}))})},Q.ui.position={fit:{left:function(e,t){var i=t.within,n=i.isWindow?i.scrollLeft:i.offset.left,s=i.width,r=e.left-t.collisionPosition.marginLeft,o=n-r,a=r+t.collisionWidth-s-n;t.collisionWidth>s?0<o&&a<=0?(i=e.left+o+t.collisionWidth-s-n,e.left+=o-i):e.left=!(0<a&&o<=0)&&a<o?n+s-t.collisionWidth:n:0<o?e.left+=o:0<a?e.left-=a:e.left=x(e.left-r,e.left)},top:function(e,t){var i=t.within,n=i.isWindow?i.scrollTop:i.offset.top,s=t.within.height,r=e.top-t.collisionPosition.marginTop,o=n-r,a=r+t.collisionHeight-s-n;t.collisionHeight>s?0<o&&a<=0?(i=e.top+o+t.collisionHeight-s-n,e.top+=o-i):e.top=!(0<a&&o<=0)&&a<o?n+s-t.collisionHeight:n:0<o?e.top+=o:0<a?e.top-=a:e.top=x(e.top-r,e.top)}},flip:{left:function(e,t){var i=t.within,n=i.offset.left+i.scrollLeft,s=i.width,r=i.isWindow?i.scrollLeft:i.offset.left,o=e.left-t.collisionPosition.marginLeft,a=o-r,l=o+t.collisionWidth-s-r,u="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,i="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,o=-2*t.offset[0];a<0?((n=e.left+u+i+o+t.collisionWidth-s-n)<0||n<k(a))&&(e.left+=u+i+o):0<l&&(0<(r=e.left-t.collisionPosition.marginLeft+u+i+o-r)||k(r)<l)&&(e.left+=u+i+o)},top:function(e,t){var i=t.within,n=i.offset.top+i.scrollTop,s=i.height,r=i.isWindow?i.scrollTop:i.offset.top,o=e.top-t.collisionPosition.marginTop,a=o-r,l=o+t.collisionHeight-s-r,u="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,i="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,o=-2*t.offset[1];a<0?((n=e.top+u+i+o+t.collisionHeight-s-n)<0||n<k(a))&&(e.top+=u+i+o):0<l&&(0<(r=e.top-t.collisionPosition.marginTop+u+i+o-r)||k(r)<l)&&(e.top+=u+i+o)}},flipfit:{left:function(){Q.ui.position.flip.left.apply(this,arguments),Q.ui.position.fit.left.apply(this,arguments)},top:function(){Q.ui.position.flip.top.apply(this,arguments),Q.ui.position.fit.top.apply(this,arguments)}}};Q.ui.position,Q.extend(Q.expr.pseudos,{data:Q.expr.createPseudo?Q.expr.createPseudo(function(t){return function(e){return!!Q.data(e,t)}}):function(e,t,i){return!!Q.data(e,i[3])}}),Q.fn.extend({disableSelection:(e="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(e+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var e,d=Q,p={},t=p.toString,f=/^([\-+])=\s*(\d+\.?\d*)/,m=[{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})([a-f0-9]{2})?/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),e[4]?(parseInt(e[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([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),e[4]?(parseInt(e[4]+e[4],16)/255).toFixed(2):1]}},{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]]}}],g=d.Color=function(e,t,i,n){return new d.Color.fn.parse(e,t,i,n)},v={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"}}}},y={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},b=g.support={},_=d("<p>")[0],w=d.each;function M(e){return null==e?e+"":"object"==typeof e?p[t.call(e)]||"object":typeof e}function P(e,t,i){var n=y[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:Math.min(n.max,Math.max(0,e)))}function I(n){var s=g(),r=s._rgba=[];return n=n.toLowerCase(),w(m,function(e,t){var i=t.re.exec(n),i=i&&t.parse(i),t=t.space||"rgba";if(i)return i=s[t](i),s[v[t].cache]=i[v[t].cache],r=s._rgba=i._rgba,!1}),r.length?("0,0,0,0"===r.join()&&d.extend(r,F.transparent),s):F[n]}function O(e,t,i){return 6*(i=(i+1)%1)<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}_.style.cssText="background-color:rgba(1,1,1,.5)",b.rgba=-1<_.style.backgroundColor.indexOf("rgba"),w(v,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def
vendor: 4,953 bytes, line 50
50:1}}),d.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){p["[object "+t+"]"]=t.toLowerCase()}),(g.fn=d.extend(g.prototype,{parse:function(s,e,t,i){if(void 0===s)return this._rgba=[null,null,null,null],this;(s.jquery||s.nodeType)&&(s=d(s).css(e),e=void 0);var r=this,n=M(s),o=this._rgba=[];return void 0!==e&&(s=[s,e,t,i],n="array"),"string"===n?this.parse(I(s)||F._default):"array"===n?(w(v.rgba.props,function(e,t){o[t.idx]=P(s[t.idx],t)}),this):"object"===n?(w(v,s instanceof g?function(e,t){s[t.cache]&&(r[t.cache]=s[t.cache].slice())}:function(e,i){var n=i.cache;w(i.props,function(e,t){if(!r[n]&&i.to){if("alpha"===e||null==s[e])return;r[n]=i.to(r._rgba)}r[n][t.idx]=P(s[e],t,!0)}),r[n]&&d.inArray(null,r[n].slice(0,3))<0&&(null==r[n][3]&&(r[n][3]=1),i.from&&(r._rgba=i.from(r[n])))}),this):void 0},is:function(e){var s=g(e),r=!0,o=this;return w(v,function(e,t){var i,n=s[t.cache];return n&&(i=o[t.cache]||t.to&&t.to(o._rgba)||[],w(t.props,function(e,t){if(null!=n[t.idx])return r=n[t.idx]===i[t.idx]})),r}),r},_space:function(){var i=[],n=this;return w(v,function(e,t){n[t.cache]&&i.push(e)}),i.pop()},transition:function(e,o){var t=(u=g(e))._space(),i=v[t],e=0===this.alpha()?g("transparent"):this,a=e[i.cache]||i.to(e._rgba),l=a.slice(),u=u[i.cache];return w(i.props,function(e,t){var i=t.idx,n=a[i],s=u[i],r=y[t.type]||{};null!==s&&(null===n?l[i]=s:(r.mod&&(s-n>r.mod/2?n+=r.mod:n-s>r.mod/2&&(n-=r.mod)),l[i]=P((s-n)*o+n,t)))}),this[t](l)},blend:function(e){if(1===this._rgba[3])return this;var t=this._rgba.slice(),i=t.pop(),n=g(e)._rgba;return g(d.map(t,function(e,t){return(1-i)*n[t]+i*e}))},toRgbaString:function(){var e="rgba(",t=d.map(this._rgba,function(e,t){return null!=e?e:2<t?1:0});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=d.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)),"#"+d.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=g.fn,v.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/255,i=e[1]/255,n=e[2]/255,s=e[3],r=Math.max(t,i,n),o=Math.min(t,i,n),a=r-o,l=r+o,e=.5*l,i=o===r?0:t===r?60*(i-n)/a+360:i===r?60*(n-t)/a+120:60*(t-i)/a+240,l=0==a?0:e<=.5?a/l:a/(2-l);return[Math.round(i)%360,l,e,null==s?1:s]},v.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],e=e[3],i=n<=.5?n*(1+i):n+i-n*i,n=2*n-i;return[Math.round(255*O(n,i,t+1/3)),Math.round(255*O(n,i,t)),Math.round(255*O(n,i,t-1/3)),e]},w(v,function(l,e){var t=e.props,r=e.cache,o=e.to,a=e.from;g.fn[l]=function(e){if(o&&!this[r]&&(this[r]=o(this._rgba)),void 0===e)return this[r].slice();var i=M(e),n="array"===i||"object"===i?e:arguments,s=this[r].slice();return w(t,function(e,t){e=n["object"===i?e:t.idx];null==e&&(e=s[t.idx]),s[t.idx]=P(e,t)}),a?((e=g(a(s)))[r]=s,e):g(s)},w(t,function(o,a){g.fn[o]||(g.fn[o]=function(e){var t,i=M(e),n="alpha"===o?this._hsla?"hsla":"rgba":l,s=this[n](),r=s[a.idx];return"undefined"===i?r:("function"===i&&(i=M(e=e.call(this,r))),null==e&&a.empty?this:("string"===i&&(t=f.exec(e))&&(e=r+parseFloat(t[2])*("+"===t[1]?1:-1)),s[a.idx]=e,this[n](s)))})})}),(g.hook=function(e){e=e.split(" ");w(e,function(e,r){d.cssHooks[r]={set:function(e,t){var i,n,s="";if("transparent"!==t&&("string"!==M(t)||(i=I(t)))){if(t=g(i||t),!b.rgba&&1!==t._rgba[3]){for(n="backgroundColor"===r?e.parentNode:e;(""===s||"transparent"===s)&&n&&n.style;)try{s=d.css(n,"backgroundColor"),n=n.parentNode}catch(e){}t=t.blend(s&&"transparent"!==s?s:"_default")}t=t.toRgbaString()}try{e.style[r]=t}catch(e){}}},d.fx.step[r]=function(e){e.colorInit||(e.start=g(e.elem,r),e.end=g(e.end),e.colorInit=!0),d.cssHooks[r].set(e.elem,e.start.transition(e.end,e.pos))}})})("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),d.cssHooks.borderColor={expand:function(i){var n={};return w(["Top","Right","Bottom","Left"],function(e,t){n["border"+t+"Color"]=i}),n}};var A,E,H,N,j,R,z,L,Y,W,F=d.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"},q="ui-effects-",B="ui-effects-style",U="ui-effects-animated";function V(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--;
vendor: 4,527 bytes, line 50
50)"string"==typeof n[t=n[i]]&&(s[t.replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]=n[t]);else for(t in n)"string"==typeof n[t]&&(s[t]=n[t]);return s}function $(e,t,i,n){return e={effect:e=Q.isPlainObject(e)?(t=e).effect:e},"function"==typeof(t=null==t?{}:t)&&(n=t,i=null,t={}),"number"!=typeof t&&!Q.fx.speeds[t]||(n=i,i=t,t={}),"function"==typeof i&&(n=i,i=null),t&&Q.extend(e,t),i=i||t.duration,e.duration=Q.fx.off?0:"number"==typeof i?i:i in Q.fx.speeds?Q.fx.speeds[i]:Q.fx.speeds._default,e.complete=n||t.complete,e}function G(e){return!e||"number"==typeof e||Q.fx.speeds[e]||("string"==typeof e&&!Q.effects.effect[e]||("function"==typeof e||"object"==typeof e&&!e.effect))}function K(e,t){var i=t.outerWidth(),t=t.outerHeight(),e=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,i,t,0];return{top:parseFloat(e[1])||0,right:"auto"===e[2]?i:parseFloat(e[2]),bottom:"auto"===e[3]?t:parseFloat(e[3]),left:parseFloat(e[4])||0}}Q.effects={effect:{}},N=["add","remove","toggle"],j={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},Q.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,t){Q.fx.step[t]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(d.style(e.elem,t,e.end),e.setAttr=!0)}}),Q.fn.addBack||(Q.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),Q.effects.animateClass=function(s,e,t,i){var r=Q.speed(e,t,i);return this.queue(function(){var i=Q(this),e=i.attr("class")||"",t=(t=r.children?i.find("*").addBack():i).map(function(){return{el:Q(this),start:V(this)}}),n=function(){Q.each(N,function(e,t){s[t]&&i[t+"Class"](s[t])})};n(),t=t.map(function(){return this.end=V(this.el[0]),this.diff=function(e,t){var i,n,s={};for(i in t)n=t[i],e[i]!==n&&(j[i]||!Q.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=Q.Deferred(),i=Q.extend({},r,{queue:!1,complete:function(){t.resolve(e)}});return this.el.animate(this.diff,i),t.promise()}),Q.when.apply(Q,t.get()).done(function(){n(),Q.each(arguments,function(){var t=this.el;Q.each(this.diff,function(e){t.css(e,"")})}),r.complete.call(i[0])})})},Q.fn.extend({addClass:(H=Q.fn.addClass,function(e,t,i,n){return t?Q.effects.animateClass.call(this,{add:e},t,i,n):H.apply(this,arguments)}),removeClass:(E=Q.fn.removeClass,function(e,t,i,n){return 1<arguments.length?Q.effects.animateClass.call(this,{remove:e},t,i,n):E.apply(this,arguments)}),toggleClass:(A=Q.fn.toggleClass,function(e,t,i,n,s){return"boolean"==typeof t||void 0===t?i?Q.effects.animateClass.call(this,t?{add:e}:{remove:e},i,n,s):A.apply(this,arguments):Q.effects.animateClass.call(this,{toggle:e},t,i,n)}),switchClass:function(e,t,i,n,s){return Q.effects.animateClass.call(this,{add:t,remove:e},i,n,s)}}),Q.expr&&Q.expr.pseudos&&Q.expr.pseudos.animated&&(Q.expr.pseudos.animated=(R=Q.expr.pseudos.animated,function(e){return!!Q(e).data(U)||R(e)})),!1!==Q.uiBackCompat&&Q.extend(Q.effects,{save:function(e,t){for(var i=0,n=t.length;i<n;i++)null!==t[i]&&e.data(q+t[i],e[0].style[t[i]])},restore:function(e,t){for(var i,n=0,s=t.length;n<s;n++)null!==t[n]&&(i=e.data(q+t[n]),e.css(t[n],i))},setMode:function(e,t){return t="toggle"===t?e.is(":hidden")?"show":"hide":t},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=Q("<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&&!Q.contains(i[0],s)||Q(s).trigger("focus"),e=i.parent(),"static"===i.css("position")?(e.css({position:"relative"}),i.css({position:"relative"})):(Q.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),Q.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&&!Q.contains(e[0],t)||Q(t).trigger("focus")),e}}),Q.extend(Q.effects,{version:"1.13.2",define:function(e,t,i){return i||
vendor: 1,899 bytes, line 50
50(i=t,t="effect"),Q.effects.effect[e]=i,Q.effects.effect[e].mode=t,i},scaledDimensions:function(e,t,i){if(0===t)return{height:0,width:0,outerHeight:0,outerWidth:0};var n="horizontal"!==i?(t||100)/100:1,t="vertical"!==i?(t||100)/100:1;return{height:e.height()*t,width:e.width()*n,outerHeight:e.outerHeight()*t,outerWidth:e.outerWidth()*n}},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,i){var n=e.queue();1<t&&n.splice.apply(n,[1,0].concat(n.splice(t,i))),e.dequeue()},saveStyle:function(e){e.data(B,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(B)||"",e.removeData(B)},mode:function(e,t){e=e.is(":hidden");return"toggle"===t&&(t=e?"show":"hide"),t=(e?"hide"===t:"show"===t)?"none":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}},createPlaceholder:function(e){var t,i=e.css("position"),n=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(i)&&(i="absolute",t=Q("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(q+"placeholder",t)),e.css({position:i,left:n.left,top:n.top}),t},removePlaceholder:function(e){var t=q+"placeholder",i=e.data(t);
vendor: 22,217 bytes, line 50
50i&&(i.remove(),e.removeData(t))},cleanUp:function(e){Q.effects.restoreStyle(e),Q.effects.removePlaceholder(e)},setTransition:function(n,e,s,r){return r=r||{},Q.each(e,function(e,t){var i=n.cssUnit(t);0<i[0]&&(r[t]=i[0]*s+i[1])}),r}}),Q.fn.extend({effect:function(){function e(e){var t=Q(this),i=Q.effects.mode(t,a)||r;t.data(U,!0),l.push(i),r&&("show"===i||i===r&&"hide"===i)&&t.show(),r&&"none"===i||Q.effects.saveStyle(t),"function"==typeof e&&e()}var n=$.apply(this,arguments),s=Q.effects.effect[n.effect],r=s.mode,t=n.queue,i=t||"fx",o=n.complete,a=n.mode,l=[];return Q.fx.off||!s?a?this[a](n.duration,o):this.each(function(){o&&o.call(this)}):!1===t?this.each(e).each(u):this.queue(i,e).queue(i,u);function u(e){var t=Q(this);function i(){"function"==typeof o&&o.call(t[0]),"function"==typeof e&&e()}n.mode=l.shift(),!1===Q.uiBackCompat||r?"none"===n.mode?(t[a](),i()):s.call(t[0],n,function(){t.removeData(U),Q.effects.cleanUp(t),"hide"===n.mode&&t.hide(),i()}):(t.is(":hidden")?"hide"===a:"show"===a)?(t[a](),i()):s.call(t[0],n,i)}},show:(Y=Q.fn.show,function(e){if(G(e))return Y.apply(this,arguments);e=$.apply(this,arguments);return e.mode="show",this.effect.call(this,e)}),hide:(L=Q.fn.hide,function(e){if(G(e))return L.apply(this,arguments);e=$.apply(this,arguments);return e.mode="hide",this.effect.call(this,e)}),toggle:(z=Q.fn.toggle,function(e){if(G(e)||"boolean"==typeof e)return z.apply(this,arguments);e=$.apply(this,arguments);return e.mode="toggle",this.effect.call(this,e)}),cssUnit:function(e){var i=this.css(e),n=[];return Q.each(["em","px","%","pt"],function(e,t){0<i.indexOf(t)&&(n=[parseFloat(i),t])}),n},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):K(this.css("clip"),this)},transfer:function(e,t){var i=Q(this),n=Q(e.to),s="fixed"===n.css("position"),r=Q("body"),o=s?r.scrollTop():0,a=s?r.scrollLeft():0,r=n.offset(),r={top:r.top-o,left:r.left-a,height:n.innerHeight(),width:n.innerWidth()},n=i.offset(),l=Q("<div class='ui-effects-transfer'></div>");l.appendTo("body").addClass(e.className).css({top:n.top-o,left:n.left-a,height:i.innerHeight(),width:i.innerWidth(),position:s?"fixed":"absolute"}).animate(r,e.duration,e.easing,function(){l.remove(),"function"==typeof t&&t()})}}),Q.fx.step.clip=function(e){e.clipInit||(e.start=Q(e.elem).cssClip(),"string"==typeof e.end&&(e.end=K(e.end,e.elem)),e.clipInit=!0),Q(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})},W={},Q.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){W[e]=function(e){return Math.pow(e,t+2)}}),Q.extend(W,{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;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),Q.each(W,function(e,t){Q.easing["easeIn"+e]=t,Q.easing["easeOut"+e]=function(e){return 1-t(1-e)},Q.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}});_=Q.effects,Q.effects.define("blind","hide",function(e,t){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},n=Q(this),s=e.direction||"up",r=n.cssClip(),o={clip:Q.extend({},r)},a=Q.effects.createPlaceholder(n);o.clip[i[s][0]]=o.clip[i[s][1]],"show"===e.mode&&(n.cssClip(o.clip),a&&a.css(Q.effects.clipToBox(o)),o.clip=r),a&&a.animate(Q.effects.clipToBox(o),e.duration,e.easing),n.animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),Q.effects.define("bounce",function(e,t){var i,n,s=Q(this),r=e.mode,o="hide"===r,a="show"===r,l=e.direction||"up",u=e.distance,c=e.times||5,r=2*c+(a||o?1:0),h=e.duration/r,d=e.easing,p="up"===l||"down"===l?"top":"left",f="up"===l||"left"===l,m=0,e=s.queue().length;for(Q.effects.createPlaceholder(s),l=s.css(p),u=u||s["top"==p?"outerHeight":"outerWidth"]()/3,a&&((n={opacity:1})[p]=l,s.css("opacity",0).css(p,f?2*-u:2*u).animate(n,h,d)),o&&(u/=Math.pow(2,c-1)),(n={})[p]=l;m<c;m++)(i={})[p]=(f?"-=":"+=")+u,s.animate(i,h,d).animate(n,h,d),u=o?2*u:u/2;o&&((i={opacity:0})[p]=(f?"-=":"+=")+u,s.animate(i,h,d)),s.queue(t),Q.effects.unshift(s,e,1+r)}),Q.effects.define("clip","hide",function(e,t){var i={},n=Q(this),s=e.direction||"vertical",r="both"===s,o=r||"horizontal"===s,r=r||"vertical"===s,s=n.cssClip();i.clip={top:r?(s.bottom-s.top)/2:s.top,right:o?(s.right-s.left)/2:s.right,bottom:r?(s.bottom-s.top)/2:s.bottom,left:o?(s.right-s.left)/2:s.left},Q.effects.createPlaceholder(n),"show"===e.mode&&(n.cssClip(i.clip),i.clip=s),n.animate(i,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),Q.effects.define("drop","hide",function(e,t){var i=Q(this),n="show"===e.mode,s=e.direction||"left",r="up"===s||"down"===s?"top":"left",o="up"===s||"left"===s?"-=":"+=",a="+="==o?"-=":"+=",l={opacity:0};Q.effects.createPlaceholder(i),s=e.distance||i["top"==r?"outerHeight":"outerWidth"](!0)/2,l[r]=o+s,n&&(i.css(l),l[r]=a+s,l.opacity=1),i.animate(l,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),Q.effects.define("explode","hide",function(e,t){var i,n,s,r,o,a,l=e.pieces?Math.round(Math.sqrt(e.pieces)):3,u=l,c=Q(this),h="show"===e.mode,d=c.show().css("visibility","hidden").offset(),p=Math.ceil(c.outerWidth()/u),f=Math.ceil(c.outerHeight()/l),m=[];function g(){m.push(this),m.length===l*u&&(c.css({visibility:"visible"}),Q(m).remove(),t())}for(i=0;i<l;i++)for(r=d.top+i*f,a=i-(l-1)/2,n=0;n<u;n++)s=d.left+n*p,o=n-(u-1)/2,c.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-n*p,top:-i*f}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:f,left:s+(h?o*p:0),top:r+(h?a*f:0),opacity:h?0:1}).animate({left:s+(h?0:o*p),top:r+(h?0:a*f),opacity:h?1:0},e.duration||500,e.easing,g)}),Q.effects.define("fade","toggle",function(e,t){var i="show"===e.mode;Q(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),Q.effects.define("fold","hide",function(t,e){var i=Q(this),n=t.mode,s="show"===n,r="hide"===n,o=t.size||15,a=/([0-9]+)%/.exec(o),l=!!t.horizFirst?["right","bottom"]:["bottom","right"],u=t.duration/2,c=Q.effects.createPlaceholder(i),h=i.cssClip(),d={clip:Q.extend({},h)},p={clip:Q.extend({},h)},f=[h[l[0]],h[l[1]]],n=i.queue().length;a&&(o=parseInt(a[1],10)/100*f[r?0:1]),d.clip[l[0]]=o,p.clip[l[0]]=o,p.clip[l[1]]=0,s&&(i.cssClip(p.clip),c&&c.css(Q.effects.clipToBox(p)),p.clip=h),i.queue(function(e){c&&c.animate(Q.effects.clipToBox(d),u,t.easing).animate(Q.effects.clipToBox(p),u,t.easing),e()}).animate(d,u,t.easing).animate(p,u,t.easing).queue(e),Q.effects.unshift(i,n,4)}),Q.effects.define("highlight","show",function(e,t){var i=Q(this),n={backgroundColor:i.css("backgroundColor")};"hide"===e.mode&&(n.opacity=0),Q.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(n,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),Q.effects.define("size",function(n,t){var s,i=Q(this),e=["fontSize"],r=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],o=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],a=n.mode,l="effect"!==a,u=n.scale||"both",c=n.origin||["middle","center"],h=i.css("position"),d=i.position(),p=Q.effects.scaledDimensions(i),f=n.from||p,m=n.to||Q.effects.scaledDimensions(i,0);Q.effects.createPlaceholder(i),"show"===a&&(a=f,f=m,m=a),s={from:{y:f.height/p.height,x:f.width/p.width},to:{y:m.height/p.height,x:m.width/p.width}},"box"!==u&&"both"!==u||(s.from.y!==s.to.y&&(f=Q.effects.setTransition(i,r,s.from.y,f),m=Q.effects.setTransition(i,r,s.to.y,m)),s.from.x!==s.to.x&&(f=Q.effects.setTransition(i,o,s.from.x,f),m=Q.effects.setTransition(i,o,s.to.x,m))),"content"!==u&&"both"!==u||s.from.y!==s.to.y&&(f=Q.effects.setTransition(i,e,s.from.y,f),m=Q.effects.setTransition(i,e,s.to.y,m)),c&&(c=Q.effects.getBaseline(c,p),f.top=(p.outerHeight-f.outerHeight)*c.y+d.top,f.left=(p.outerWidth-f.outerWidth)*c.x+d.left,m.top=(p.outerHeight-m.outerHeight)*c.y+d.top,m.left=(p.outerWidth-m.outerWidth)*c.x+d.left),delete f.outerHeight,delete f.outerWidth,i.css(f),"content"!==u&&"both"!==u||(r=r.concat(["marginTop","marginBottom"]).concat(e),o=o.concat(["marginLeft","marginRight"]),i.find("*[width]").each(function(){var e=Q(this),t=Q.effects.scaledDimensions(e),i={height:t.height*s.from.y,width:t.width*s.from.x,outerHeight:t.outerHeight*s.from.y,outerWidth:t.outerWidth*s.from.x},t={height:t.height*s.to.y,width:t.width*s.to.x,outerHeight:t.height*s.to.y,outerWidth:t.width*s.to.x};s.from.y!==s.to.y&&(i=Q.effects.setTransition(e,r,s.from.y,i),t=Q.effects.setTransition(e,r,s.to.y,t)),s.from.x!==s.to.x&&(i=Q.effects.setTransition(e,o,s.from.x,i),t=Q.effects.setTransition(e,o,s.to.x,t)),l&&Q.effects.saveStyle(e),e.css(i),e.animate(t,n.duration,n.easing,function(){l&&Q.effects.restoreStyle(e)})})),i.animate(m,{queue:!1,duration:n.duration,easing:n.easing,complete:function(){var e=i.offset();0===m.opacity&&i.css("opacity",f.opacity),l||(i.css("position","static"===h?"relative":h).offset(e),Q.effects.saveStyle(i)),t()}})}),Q.effects.define("scale",function(e,t){var i=Q(this),n=e.mode,n=parseInt(e.percent,10)||(0===parseInt(e.percent,10)||"effect"!==n?0:100),n=Q.extend(!0,{from:Q.effects.scaledDimensions(i),to:Q.effects.scaledDimensions(i,n,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(n.from.opacity=1,n.to.opacity=0),Q.effects.effect.size.call(this,n,t)}),Q.effects.define("puff","hide",function(e,t){e=Q.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});Q.effects.effect.scale.call(this,e,t)}),Q.effects.define("pulsate","show",function(e,t){var i=Q(this),n=e.mode,s="show"===n,r=2*(e.times||5)+(s||"hide"===n?1:0),o=e.duration/r,a=0,l=1,n=i.queue().length;for(!s&&i.is(":visible")||(i.css("opacity",0).show(),a=1);l<r;l++)i.animate({opacity:a},o,e.easing),a=1-a;i.animate({opacity:a},o,e.easing),i.queue(t),Q.effects.unshift(i,n,1+r)}),Q.effects.define("shake",function(e,t){var i=1,n=Q(this),s=e.direction||"left",r=e.distance||20,o=e.times||3,a=2*o+1,l=Math.round(e.duration/a),u="up"===s||"down"===s?"top":"left",c="up"===s||"left"===s,h={},d={},p={},s=n.queue().length;for(Q.effects.createPlaceholder(n),h[u]=(c?"-=":"+=")+r,d[u]=(c?"+=":"-=")+2*r,p[u]=(c?"-=":"+=")+2*r,n.animate(h,l,e.easing);i<o;i++)n.animate(d,l,e.easing).animate(p,l,e.easing);n.animate(d,l,e.easing).animate(h,l/2,e.easing).queue(t),Q.effects.unshift(n,s,1+a)}),Q.effects.define("slide","show",function(e,t){var i,n,s=Q(this),r={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},o=e.mode,a=e.direction||"left",l="up"===a||"down"===a?"top":"left",u="up"===a||"left"===a,c=e.distance||s["top"==l?"outerHeight":"outerWidth"](!0),h={};Q.effects.createPlaceholder(s),i=s.cssClip(),n=s.position()[l],h[l]=(u?-1:1)*c+n,h.clip=s.cssClip(),h.clip[r[a][1]]=h.clip[r[a][0]],"show"===o&&(s.cssClip(h.clip),s.css(l,h[l]),h.clip=i,h[l]=n),s.animate(h,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),_=!1!==Q.uiBackCompat?Q.effects.define("transfer",function(e,t){Q(this).transfer(e,t)}):_;Q.ui.focusable=function(e,t){var i,n,s,r,o=e.nodeName.toLowerCase();return"area"===o?(n=(i=e.parentNode).name,!(!e.href||!n||"map"!==i.nodeName.toLowerCase())&&(0<(n=Q("img[usemap='#"+n+"']")).length&&n.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(o)?(s=!e.disabled)&&(r=Q(e).closest("fieldset")[0])&&(s=!r.disabled):s="a"===o&&e.href||t,s&&Q(e).is(":visible")&&function(e){var t=e.css("visibility");for(;"inherit"===t;)e=e.parent(),t=e.css("visibility");return"visible"===t}(Q(e)))},Q.extend(Q.expr.pseudos,{focusable:function(e){return Q.ui.focusable(e,null!=Q.attr(e,"tabindex"))}});var X,Z;Q.ui.focusable,Q.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):Q(this[0].form)},Q.ui.formResetMixin={_formResetHandler:function(){var t=Q(this);setTimeout(function(){var e=t.data("ui-form-reset-instances");Q.each(e,function(){this.refresh()})})},_bindFormResetHandler:function(){var e;this.form=this.element._form(),this.form.length&&((e=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e))},_unbindFormResetHandler:function(){var e;this.form.length&&((e=this.form.data("ui-form-reset-instances")).splice(Q.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}};Q.expr.pseudos||(Q.expr.pseudos=Q.expr[":"]),Q.uniqueSort||(Q.uniqueSort=Q.unique),Q.escapeSelector||(X=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,Z=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Q.escapeSelector=function(e){return(e+"").replace(X,Z)}),Q.fn.even&&Q.fn.odd||Q.fn.extend({even:function(){return this.filter(function(e){return e%2==0})},odd:function(){return this.filter(function(e){return e%2==1})}});var J;Q.ui.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},Q.fn.labels=function(){var e,t,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(t=this.eq(0).parents("label"),(e=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),e="label[for='"+Q.escapeSelector(e)+"']",t=t.add(i.find(e).addBack(e))),this.pushStack(t)):this.pushStack([])},Q.fn.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=Q(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:Q(this[0].ownerDocument||document)},Q.extend(Q.expr.pseudos,{tabbable:function(e){var t=Q.attr(e,"tabindex"),i=null!=t;return(!i||0<=t)&&Q.ui.focusable(e,i)}}),Q.fn.extend({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)&&Q(this).removeAttr("id")})}}),Q.widget("ui.accordion",{version:"1.13.2",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(e){return e.find("> li > :first-child").add(e.find("> :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=Q(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.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():Q()}},_createIcons:function(){var e,t=this.options.icons;t&&(e=Q("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+t.header),e.prependTo(this.headers),e=this.active.children(".ui-accordion-header-icon"),this._removeClass(e,t.header)._addClass(e,null,t.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){"active"!==e?("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())):this._activate(t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!e)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=Q.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&&(Q(e.target).attr("tabIndex",-1),Q(s).attr("tabIndex",0),Q(s).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===Q.ui.keyCode.UP&&e.ctrlKey&&Q(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=Q()):!1===e.active?this._activate(0):this.active.length&&!Q.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=Q()):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;"function"==typeof this.options.header?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),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),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=Q(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=Q(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=Q(this).outerHeight(!0)}),this.headers.next().each(function(){Q(this).height(Math.max(0,i-Q(this).innerHeight()+Q(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.headers.next().each(function(){var e=Q(this).is(":visible");e||Q(this).show(),i=Math.max(i,Q(this).css("height","").height()),e||Q(this).hide()}).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:Q.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):Q()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&Q.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=Q(e.currentTarget),s=n[0]===i[0],r=s&&t.collapsible,o=r?Q():n.next(),a=i.next(),o={oldHeader:i,oldPanel:a,newHeader:r?Q():n,newPanel:o};e.preventDefault(),s&&!t.collapsible||!1===this._trigger("beforeActivate",e,o)||(t.active=!r&&this.headers.index(n),this.active=s?Q():n,this._toggle(o),this._removeClass(i,"ui-accordion-header-active","ui-state-active"),t.icons&&(i=i.children(".ui-accordion-header-icon"),this._removeClass(i,null,t.icons.activeHeader)._addClass(i,null,t.icons.header)),s||(this._removeClass(n,"ui-accordion-header-collapsed")._addClass(n,"ui-accordion-header-active","ui-state-active"),t.icons&&(s=n.children(".ui-accordion-header-icon"),this._removeClass(s,null,t.icons.header)._addClass(s,null,t.icons.activeHeader)),this._addClass(n.next(),"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","aria-expanded":"false"}),t.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===parseInt(Q(this).attr("tabIndex"),10)}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,i,t){var n,s,r,o=this,a=0,l=e.css("box-sizing"),u=e.length&&(!i.length||e.index()<i.index()),c=this.options.animate||{},h=u&&c.down||c,u=function(){o._toggleComplete(t)};
vendor: 8,223 bytes, line 50
50return s=(s="string"==typeof h?h:s)||h.easing||c.easing,r=(r="number"==typeof h?h:r)||h.duration||c.duration,i.length?e.length?(n=e.show().outerHeight(),i.animate(this.hideProps,{duration:r,easing:s,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:r,easing:s,complete:u,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?"content-box"===l&&(a+=t.now):"content"!==o.options.heightStyle&&(t.now=Math.round(n-i.outerHeight()-a),a=0)}})):i.animate(this.hideProps,r,s,u):e.animate(this.showProps,r,s,u)},_toggleComplete:function(e){var t=e.oldPanel,i=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),Q.ui.safeActiveElement=function(t){var i;try{i=t.activeElement}catch(e){i=t.body}return i=!(i=i||t.body).nodeName?t.body:i},Q.widget("ui.menu",{version:"1.13.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault(),this._activateItem(e)},"click .ui-menu-item":function(e){var t=Q(e.target),i=Q(Q.ui.safeActiveElement(this.document[0]));!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")&&i.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":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this._menuItems().first();t||this.focus(e,i)},blur:function(e){this._delay(function(){Q.contains(this.element[0],Q.ui.safeActiveElement(this.document[0]))||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e,!0),this.mouseHandled=!1}})},_activateItem:function(e){var t,i;this.previousFilter||e.clientX===this.lastMousePosition.x&&e.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:e.clientX,y:e.clientY},t=Q(e.target).closest(".ui-menu-item"),i=Q(e.currentTarget),t[0]===i[0]&&(i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,i))))},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=Q(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var t,i,n,s=!0;switch(e.keyCode){case Q.ui.keyCode.PAGE_UP:this.previousPage(e);break;case Q.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case Q.ui.keyCode.HOME:this._move("first","first",e);break;case Q.ui.keyCode.END:this._move("last","last",e);break;case Q.ui.keyCode.UP:this.previous(e);break;case Q.ui.keyCode.DOWN:this.next(e);break;case Q.ui.keyCode.LEFT:this.collapse(e);break;case Q.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case Q.ui.keyCode.ENTER:case Q.ui.keyCode.SPACE:this._activate(e);break;case Q.ui.keyCode.ESCAPE:this.collapse(e);break;default:t=this.previousFilter||"",n=s=!1,i=96<=e.keyCode&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),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&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var e,t,n=this,s=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),t=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=Q(this),t=e.prev(),i=Q("<span>").data("ui-menu-submenu-caret",!0);n._addClass(i,"ui-menu-icon","ui-icon "+s),t.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",t.attr("id"))}),this._addClass(t,"ui-menu","ui-widget ui-widget-content ui-front"),(e=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=Q(this);n._isDivider(e)&&n._addClass(e,"ui-menu-divider","ui-widget-content")}),i=(t=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(t,"ui-menu-item")._addClass(i,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!Q.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){var i;"icons"===e&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,t.submenu)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var i;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"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()&&(i=parseFloat(Q.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(Q.css(this.activeMenu[0],"paddingTop"))||0,t=e.offset().top-this.activeMenu.offset().top-i-n,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._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_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=Q.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:Q(t&&t.target).closest(this.element.find(".ui-menu"));e.length||(e=this.element),this._close(e),this.blur(t),this._removeClass(e.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=e},i?0: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
50se")},_closeOnDocumentClick:function(e){return!Q(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._menuItems(this.active.children(".ui-menu")).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},_menuItems:function(e){return(e||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(e,t,i){var n;(n=this.active?"first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").last():this.active[e+"All"](".ui-menu-item").first():n)&&n.length&&this.active||(n=this._menuItems(this.activeMenu)[t]()),this.focus(i,n)},nextPage:function(e){var t,i,n;this.active?this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.innerHeight(),0===Q.fn.jquery.indexOf("3.2.")&&(n+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each(function(){return(t=Q(this)).offset().top-i-n<0}),this.focus(e,t)):this.focus(e,this._menuItems(this.activeMenu)[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var t,i,n;this.active?this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.innerHeight(),0===Q.fn.jquery.indexOf("3.2.")&&(n+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each(function(){return 0<(t=Q(this)).offset().top-i+n}),this.focus(e,t)):this.focus(e,this._menuItems(this.activeMenu).first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||Q(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=new RegExp("^"+e,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return t.test(String.prototype.trim.call(Q(this).children(".ui-menu-item-wrapper").text()))})}});Q.widget("ui.autocomplete",{version:"1.13.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,liveRegionTimer:null,_create:function(){var i,n,s,e=this.element[0].nodeName.toLowerCase(),t="textarea"===e,e="input"===e;this.isMultiLine=t||!e&&this._isContentEditable(this.element),this.valueMethod=this.element[t||e?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.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=Q.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)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||e.preventDefault());if(!n){var t=Q.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){if(s)return s=!1,void e.preventDefault();this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value(
vendor: 7,699 bytes, line 50
50)},blur:function(e){clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=Q("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault()},menufocus:function(e,t){var i,n;if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){Q(e.target).trigger(e.originalEvent)});n=t.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:n})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(n.value),(i=t.item.attr("aria-label")||n.value)&&String.prototype.trim.call(i).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(Q("<div>").text(i))},100))},menuselect:function(e,t){var i=t.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==Q.ui.safeActiveElement(this.document[0])&&(this.element.trigger("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=Q("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.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()},_isEventTargetInWidget:function(e){var t=this.menu.element[0];return e.target===this.element[0]||e.target===t||Q.contains(t,e.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e=!(e=!(e=e&&(e.jquery||e.nodeType?Q(e):this.document.find(e).eq(0)))||!e[0]?this.element.closest(".ui-front, dialog"):e).length?this.document[0].body:e},_initSource:function(){var i,n,s=this;Array.isArray(this.options.source)?(i=this.options.source,this.source=function(e,t){t(Q.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=Q.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._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}.bind(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._off(this.document,"mousedown"),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:Q.map(e,function(e){return"string"==typeof e?{label:e,value:e}:Q.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(Q.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_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;Q.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 Q("<li>").append(Q("<div>").text(t.label)).appendTo(e)},_move:function(e,t){if(this.menu.element.is(":visible"))return 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);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())},_isContentEditable:function(e){if(!e.length)return!1;var t=e.prop("contentEditable");return"inherit"===t?this._isContentEditable(e.parent()):"true"===t}}),Q.extend(Q.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,t){var i=new RegExp(Q.ui.autocomplete.escapeRegex(t),"i");return Q.grep(e,function(e){return i.test(e.label||e.value||e)})}}),Q.widget("ui.autocomplete",Q.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,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(Q("<div>").text(t))},100))}});Q.ui.autocomplete;var ee=/ui-corner-([a-z]){2,6}/g;Q.widget("ui.controlgroup",{version:"1.13.2",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var r=this,o=[];Q.each(this.options.items,function(n,e){var t,s={};if(e)return"controlgroupLabel"===n?((t=r.element.find(e)).each(function(){var e=Q(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),r._addClass(t,null,"ui-widget ui-widget-content ui-state-default"),void(o=o.concat(t.get()))):void(Q.fn[n]&&(s=r["_"+n+"Options"]?r["_"+n+"Options"]("middle"):{classes:{}}
vendor: 4,388 bytes, line 50
50,r.element.find(e).each(function(){var e=Q(this),t=e[n]("instance"),i=Q.widget.extend({},s);"button"===n&&e.parent(".ui-spinner").length||((t=t||e[n]()[n]("instance"))&&(i.classes=r._resolveClassesValues(i.classes,t)),e[n](i),i=e[n]("widget"),Q.data(i[0],"ui-controlgroup-data",t||e[n]("instance")),o.push(i[0]))})))}),this.childWidgets=Q(Q.uniqueSort(o)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var e=Q(this).data("ui-controlgroup-data");e&&e[t]&&e[t]()})},_updateCornerClass:function(e,t){t=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(e,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(e,null,t)},_buildSimpleOptions:function(e,t){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[t]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[e],n},_spinnerOptions:function(e){e=this._buildSimpleOptions(e,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(i,n){var s={};return Q.each(i,function(e){var t=n.options.classes[e]||"",t=String.prototype.trim.call(t.replace(ee,""));s[e]=(t+" "+i[e]).replace(/\s+/g," ")}),s},_setOption:function(e,t){"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"!==e?this.refresh():this._callChildMethod(t?"disable":"enable")},refresh:function(){var s,r=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),s=this.childWidgets,(s=this.options.onlyVisible?s.filter(":visible"):s).length&&(Q.each(["first","last"],function(e,t){var i,n=s[t]().data("ui-controlgroup-data");n&&r["_"+n.widgetName+"Options"]?((i=r["_"+n.widgetName+"Options"](1===s.length?"only":t)).classes=r._resolveClassesValues(i.classes,n),n.element[n.widgetName](i)):r._updateCornerClass(s[t](),t)}),this._callChildMethod("refresh"))}});Q.widget("ui.checkboxradio",[Q.ui.formResetMixin,{version:"1.13.2",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,t=this._super()||{};return this._readType(),e=this.element.labels(),this.label=Q(e[e.length-1]),this.label.length||Q.error("No label found for checkboxradio widget"),this.originalLabel="",(e=this.label.contents().not(this.element[0])).length&&(this.originalLabel+=e.clone().wrapAll("<div></div>").parent().html()),this.originalLabel&&(t.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(t.disabled=e),t},_create:function(){var e=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),e&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();
vendor: 1,426 bytes, line 50
50this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||Q.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e=this.element[0].name,t="input[name='"+Q.escapeSelector(e)+"']";return e?(this.form.length?Q(this.form[0].elements).filter(t):Q(t).filter(function(){return 0===Q(this)._form().length})).not(this.element):Q([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=Q(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,t){if("label"!==e||t){if(this._super(e,t),"disabled"===e)return this._toggleClass(this.label,null,"ui-state-disabled",t),void(this.element[0].disabled=t);this.refresh()}},_updateIcon:function(e){var t="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=Q("<span>"),this.iconSpace=Q("<span> </span>
50"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(t+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):t+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",t),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),(e=this.iconSpace?e.not(this.iconSpace[0]):e).remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),t!==this.options.disabled&&this._setOptions({disabled:t})}}]);var te;Q.ui.checkboxradio;Q.widget("ui.button",{version:"1.13.2",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var e,t=this._super()||{};return this.isInput=this.element.is("input"),null!=(e=this.element[0].disabled)&&(t.disabled=e),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===Q.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,t){var i="iconPosition"!==e,n=i?this.options.iconPosition:t,e="top"===n||"bottom"===n;this.icon?i&&this._removeClass(this.icon,null,this.options.icon):(this.icon=Q("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),i&&this._addClass(this.icon,null,t),this._attachIcon(n),e?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
vendor: 4,777 bytes, line 50
50pace||(this.iconSpace=Q("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(n))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(e){this.icon[/^(?:end|bottom)/.test(e)?"before":"after"](this.iconSpace)},_attachIcon:function(e){this.element[/^(?:end|bottom)/.test(e)?"append":"prepend"](this.icon)},_setOptions:function(e){var t=(void 0===e.showLabel?this.options:e).showLabel,i=(void 0===e.icon?this.options:e).icon;t||i||(e.showLabel=!0),this._super(e)},_setOption:function(e,t){"icon"===e&&(t?this._updateIcon(e,t):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===e&&this._updateIcon(e,t),"showLabel"===e&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),"label"===e&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(e,t),"disabled"===e&&(this._toggleClass(null,"ui-state-disabled",t),(this.element[0].disabled=t)&&this.element.trigger("blur"))},refresh:function(){var e=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOptions({disabled:e}),this._updateTooltip()}}),!1!==Q.uiBackCompat&&(Q.widget("ui.button",Q.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(e,t){"text"!==e?("showLabel"===e&&(this.options.text=t),"icon"===e&&(this.options.icons.primary=t),"icons"===e&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",t)}}),Q.fn.button=(te=Q.fn.button,function(i){var e="string"==typeof i,n=Array.prototype.slice.call(arguments,1),s=this;return e?this.length||"instance"!==i?this.each(function(){var e=Q(this).attr("type"),t=Q.data(this,"ui-"+("checkbox"!==e&&"radio"!==e?"button":"checkboxradio"));return"instance"===i?(s=t,!1):t?"function"!=typeof t[i]||"_"===i.charAt(0)?Q.error("no such method '"+i+"' for button widget instance"):(e=t[i].apply(t,n))!==t&&void 0!==e?(s=e&&e.jquery?s.pushStack(e.get()):e,!1):void 0:Q.error("cannot call methods on button prior to initialization; attempted to call method '"+i+"'")}):s=void 0:(n.length&&(i=Q.widget.extend.apply(null,[i].concat(n))),this.each(function(){var e=Q(this).attr("type"),t="checkbox"!==e&&"radio"!==e?"button":"checkboxradio",e=Q.data(this,"ui-"+t);e?(e.option(i||{}),e._init&&e._init()):"button"!=t?Q(this).checkboxradio(Q.extend({icon:!1},i)):te.call(Q(this),i)})),s}),Q.fn.buttonset=function(){return Q.ui.controlgroup||Q.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});var ie;Q.ui.button;function ne(){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","Frid
vendor: 5,231 bytes, line 50
50ay","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:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},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,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},Q.extend(this._defaults,this.regional[""]),this.regional.en=Q.extend(!0,{},this.regional[""]),this.regional["en-US"]=Q.extend(!0,{},this.regional.en),this.dpDiv=se(Q("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function se(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",t,function(){Q(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&Q(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&Q(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",t,re)}function re(){Q.datepicker._isDisabledDatepicker((ie.inline?ie.dpDiv.parent():ie.input)[0])||(Q(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),Q(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&Q(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&Q(this).addClass("ui-datepicker-next-hover"))}function oe(e,t){for(var i in Q.extend(e,t),t)null==t[i]&&(e[i]=t[i]);return e}Q.extend(Q.ui,{datepicker:{version:"1.13.2"}}),Q.extend(ne.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return oe(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(Q(e),s)).settings=Q.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?se(Q("<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=Q(e);t.append=Q([]),t.trigger=Q([]),i.hasClass(this.markerClassName)||(this._attachments(i,t),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(t),Q.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=Q("<span>").addClass(this._appendClass).text(n),e[s?"before":"after"](t.append)),e.off("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(i=this._get(t,"showOn"))&&"both"!==i||e.on("focus",this._showDatepicker),"button"!==i&&"both"!==i||(n=this._get(t,"buttonText"),i=this._get(t,"buttonImage"),this._get(t,"buttonImageOnly")?t.trigger=Q("<img>").addClass(this._triggerClass).attr({src:i,alt:n,title:n}):(t.trigger=Q("<button type='button'>").addClass(this._triggerClass),i?t.trigger.html(Q("<img>").attr({src:i,alt:n,title:n})):t.trigger.text(n)),e[s?"before":"after"](t.trigger),t.trigger.on("click",function(){return Q.datepicker._datepickerShowing&&Q.datepicker._lastInput===e[0]?Q.datepicker._hideDatepicker():(Q.datepicker._datepickerShowing&&Q.datepicker._lastInput!==e[0]&&Q.datepicker._hideDatepicker(),Q.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){var t,i,n,s,r,o;this._get(e,"autoSize")&&!e.inline&&(r=new Date(2009,11,20),(o=this._get(e,"dateFormat")).match(/[DM]/)&&(t=function(e){for(s=n=i=0;s<e.length;s++)e[s].length>i&&(i=e[s].length,n=s);return n},r.setMonth(t(this._get(e,o.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(t(this._get(e,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),e.input.attr("size",this._formatDate(e,r).length))},_inlineDatepicker:function(e,t){var i=Q(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(t.dpDiv),Q.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 r,o=this._dialogInst;return o||(this.uuid+=1,r="dp"+this.uuid,this._dialogInput=Q("<input type='text' id='"+r+"' style='position: absolute; top: -100px; width: 0px;'/>
50"),this._dialogInput.on("keydown",this._doKeyDown),Q("body").append(this._dialogInput),(o=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},Q.data(this._dialogInput[0],"datepicker",o)),oe(o.settings,n||{}),t=t&&t.constructor===Date?this._formatDate(o,t):t,this._dialogInput.val(t),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(r=document.documentElement.clientWidth,n=document.documentElement.clientHeight,t=document.documentElement.scrollLeft||document.body.scrollLeft,s=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[r/2-100+t,n/2-150+s]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),o.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),Q.blockUI&&Q.blockUI(this.dpDiv),Q.data(this._dialogInput[0],"datepicker",o),this},_destroyDatepicker:function(e){var t,i=Q(e),n=Q.data(e,"datepicker");i.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),Q.removeData(e,"datepicker"),"input"===t?(n.append.remove(),n.trigger.remove(),i.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||i.removeClass(this.markerClassName).empty(),ie===n&&(ie=null,this._curInst=null))},_enableDatepicker:function(t){var e,i=Q(t),n=Q.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||((i=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=Q.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,i=Q(t),n=Q.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||((i=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=Q.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(e){try{return Q.data(e,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,i){var n,s,r=this._getInst(e);if(2===arguments.length&&"string"==typeof t)return"defaults"===t?Q.extend({},Q.datepicker._defaults):r?"all"===t?Q.extend({},r.settings):this._get(r,t):null;n=t||{},"string"==typeof t&&((n={})[t]=i),r&&(this._curInst===r&&this._hideDatepicker(),s=this._getDateDatepicker(e,!0),t=this._getMinMaxDate(r,"min"),i=this._getMinMaxDate(r,"max"),oe(r.settings,n),null!==t&&void 0!==n.dateFormat&&void 0===n.minDate&&(r.settings.minDate=this._formatDate(r,t)),null!==i&&void 0!==n.dateFormat&&void 0===n.maxDate&&(r.settings.maxDate=this._formatDate(r,i)),"disabled"in n&&(n.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(Q(e),r),this._autoSize(r),this._setDate(r,s),this._updateAlternate(r),this._updateDatepicker(r))},_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=Q.datepicker._getInst(e.target),s=!0,r=n.dpDiv.is(".ui-datepicker-rtl");if(n._keyEvent=!0,Q.datepicker._datepickerShowing)switch(e.keyCode){case 9:Q.datepicker._hideDatepicker(),s=!1;break;case 13:return(i=Q("td."+Q.datepicker._dayOverClass+":not(."+Q.datepicker._currentClass+")",n.dpDiv))[0]&&Q.datepicker._selectDay(e.target,n.selectedMonth,n.selectedYear,i[0]),(t=Q.datepicker._get(n,"onSelect"))?(i=Q.datepicker._formatDate(n),t.apply(n.input?n.input[0]:null,[
vendor: 9,053 bytes, line 50
50i,n])):Q.datepicker._hideDatepicker(),!1;case 27:Q.datepicker._hideDatepicker();break;case 33:Q.datepicker._adjustDate(e.target,e.ctrlKey?-Q.datepicker._get(n,"stepBigMonths"):-Q.datepicker._get(n,"stepMonths"),"M");break;case 34:Q.datepicker._adjustDate(e.target,e.ctrlKey?+Q.datepicker._get(n,"stepBigMonths"):+Q.datepicker._get(n,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&Q.datepicker._clearDate(e.target),s=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&Q.datepicker._gotoToday(e.target),s=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&Q.datepicker._adjustDate(e.target,r?1:-1,"D"),s=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&Q.datepicker._adjustDate(e.target,e.ctrlKey?-Q.datepicker._get(n,"stepBigMonths"):-Q.datepicker._get(n,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&Q.datepicker._adjustDate(e.target,-7,"D"),s=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&Q.datepicker._adjustDate(e.target,r?-1:1,"D"),s=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&Q.datepicker._adjustDate(e.target,e.ctrlKey?+Q.datepicker._get(n,"stepBigMonths"):+Q.datepicker._get(n,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&Q.datepicker._adjustDate(e.target,7,"D"),s=e.ctrlKey||e.metaKey;break;default:s=!1}else 36===e.keyCode&&e.ctrlKey?Q.datepicker._showDatepicker(this):s=!1;s&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t,i=Q.datepicker._getInst(e.target);if(Q.datepicker._get(i,"constrainInput"))return t=Q.datepicker._possibleChars(Q.datepicker._get(i,"dateFormat")),i=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||i<" "||!t||-1<t.indexOf(i)},_doKeyUp:function(e){e=Q.datepicker._getInst(e.target);if(e.input.val()!==e.lastVal)try{Q.datepicker.parseDate(Q.datepicker._get(e,"dateFormat"),e.input?e.input.val():null,Q.datepicker._getFormatConfig(e))&&(Q.datepicker._setDateFromField(e),Q.datepicker._updateAlternate(e),Q.datepicker._updateDatepicker(e))}catch(e){}return!0},_showDatepicker:function(e){var t,i,n,s;"input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=Q("input",e.parentNode)[0]),Q.datepicker._isDisabledDatepicker(e)||Q.datepicker._lastInput===e||(s=Q.datepicker._getInst(e),Q.datepicker._curInst&&Q.datepicker._curInst!==s&&(Q.datepicker._curInst.dpDiv.stop(!0,!0),s&&Q.datepicker._datepickerShowing&&Q.datepicker._hideDatepicker(Q.datepicker._curInst.input[0])),!1!==(i=(n=Q.datepicker._get(s,"beforeShow"))?n.apply(e,[e,s]):{})&&(oe(s.settings,i),s.lastVal=null,Q.datepicker._lastInput=e,Q.datepicker._setDateFromField(s),Q.datepicker._inDialog&&(e.value=""),Q.datepicker._pos||(Q.datepicker._pos=Q.datepicker._findPos(e),Q.datepicker._pos[1]+=e.offsetHeight),t=!1,Q(e).parents().each(function(){return!(t|="fixed"===Q(this).css("position"))}),n={left:Q.datepicker._pos[0],top:Q.datepicker._pos[1]},Q.datepicker._pos=null,s.dpDiv.empty(),s.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),Q.datepicker._updateDatepicker(s),n=Q.datepicker._checkOffset(s,n,t),s.dpDiv.css({position:Q.datepicker._inDialog&&Q.blockUI?"static":t?"fixed":"absolute",display:"none",left:n.left+"px",top:n.top+"px"}),s.inline||(i=Q.datepicker._get(s,"showAnim"),n=Q.datepicker._get(s,"duration"),s.dpDiv.css("z-index",function(e){for(var t,i;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}(Q(e))+1),Q.datepicker._datepickerShowing=!0,Q.effects&&Q.effects.effect[i]?s.dpDiv.show(i,Q.datepicker._get(s,"showOptions"),n):s.dpDiv[i||"show"](i?n:null),Q.datepicker._shouldFocusInput(s)&&s.input.trigger("focus"),Q.datepicker._curInst=s)))},_updateDatepicker:function(e){this.maxRows=4,(ie=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"),r=Q.datepicker._get(e,"onUpdateDatepicker");0<s.length&&re.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===Q.datepicker._curInst&&Q.datepicker._datepickerShowing&&Q.datepicker._shouldFocusInput(e)&&e.input.trigger("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)),r&&r.apply(e.input?e.input[0]:null,[e])},_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(),r=e.input?e.input.outerWidth():0,o=e.input?e.input.outerHeight():0,a=document.documentElement.clientWidth+(i?0:Q(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:Q(document).scrollTop());return t.left-=this._get(e,"isRTL")?n-r:0,t.left-=i&&t.left===e.input.offset().left?Q(document).scrollLeft():0,t.top-=i&&t.top===e.input.offset().top+o?Q(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+o):0),t},_findPos:function(e){for(var t=this._getInst(e),i=this._get(t,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||Q.expr.pseudos.hidden(e));)e=e[i?"previousSibling":"nextSibling"];return[(t=Q(e).offset()).left,t.top]},_hideDatepicker:function(e){var t,i,n=this._curInst;!n||e&&n!==Q.data(e,"datepicker")||this._datepickerShowing&&(t=this._get(n,"showAnim"),i=this._get(n,"duration"),e=function(){Q.datepicker._tidyDialog(n)},Q.effects&&(Q.effects.effect[t]||Q.effects[t])?n.dpDiv.hide(t,Q.datepicker._get(n,"showOptions"),i,e):n.dpDiv["slideDown"===t?"slideUp":"fadeIn"===t?"fadeOut":"hide"](t?i:null,e),t||e(),this._datepickerShowing=!1,(e=this._get(n,"onClose"))&&e.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"}),Q.blockUI&&(Q.unblockUI(),Q("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){var t;Q.datepicker._curInst&&(t=Q(e.target),e=Q.datepicker._getInst(t[0]),(t[0].id===Q.datepicker._mainDivId||0!==t.parents("#"+Q.datepicker._mainDivId).length||t.hasClass(Q.datepicker.markerClassName)||t.closest("."+Q.datepicker._triggerClass).length||!Q.datepicker._datepickerShowing||Q.datepicker._inDialog&&Q.blockUI)&&(!t.hasClass(Q.datepicker.markerClassName)||Q.datepicker._curInst===e)||Q.datepicker._hideDatepicker())},_adjustDate:function(e,t,i){var n=Q(e),e=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(e,t,i),this._updateDatepicker(e))},_gotoToday:function(e){var t=Q(e),i=this._getInst(t[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(e=new Date,i.selectedDay=e.getDate(),i.drawMonth=i.selectedMonth=e.getMonth(),i.drawYear=i.selectedYear=e.getFullYear()),this._notifyChange(i),this._adjustDate(t)},_selectMonthYear:function(e,t,i){var n=Q(e),e=this._getInst(n[0]);e["selected"+("M"===i?"Month":"Year")]=e["draw"+("M"===i?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(e),this._adjustDate(n)},_selectDay:function(e,t,i,n){var s=Q(e);Q(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(s[0])||((s=this._getInst(s[0])).selectedDay=s.currentDay=parseInt(Q("a",n).attr("data-date")),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=Q(e);this._selectDate(e,"")},_selectDate:function(e,t){var i=Q(e),e=this._getInst(i[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.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var t,i,n=this._get(e,"altField");n&&(t=this._get(e,"altFormat")||this._get(e,"dateFormat"),i=this._getDate(e),e=this.formatDate(t,i,this._getFormatConfig(e)),Q(document).find(n).val(e))},noWeekends:function(e){e=e.getDay();return[0<e&&e<6,""]},iso8601Week:function(e){var t=new Date(e.getTime());return t.setDate(t.getDate()+4-(t.getDay()||7)),e=t.getTime(),t.setMonth(0),t.setDate(1),Math.floor(Math.round((e-t)/864e5)/7)+1},parseDate:function(t,s,e){if(null==t||null==s)throw"Invalid arguments";if(""===(s="object"==typeof s?s.toString():s+""))return null;for(var i,n,r,o=0,a=(e?e.shortYearCutoff:null)||this._defaults.shortYearCutoff,a="str
50ing"!=typeof a?a:(new Date).getFullYear()%100+parseInt(a,10),l=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,u=(e?e.dayNames:null)||this._defaults.dayNames,c=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,h=(e?e.monthNames:null)||this._defaults.monthNames,d=-1,p=-1,f=-1,m=-1,g=!1,v=function(e){e=w+1<t.length&&t.charAt(w+1)===e;return e&&w++,e},y=function(e){var t=v(e),t="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,t=new RegExp("^\\d{"+("y"===e?t:1)+","+t+"}"),t=s.substring(o).match(t);if(!t)throw"Missing number at position "+o;return o+=t[0].length,parseInt(t[0],10)},b=function(e,t,i){var n=-1,t=Q.map(v(e)?i:t,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(Q.each(t,function(e,t){var i=t[1];if(s.substr(o,i.length).toLowerCase()===i.toLowerCase())return n=t[0],o+=i.length,!1}),-1!==n)return n+1;throw"Unknown name at position "+o},_=function(){if(s.charAt(o)!==t.charAt(w))throw"Unexpected literal at position "+o;o++},w=0;w<t.length;w++)if(g)"'"!==t.charAt(w)||v("'")?_():g=!1;else switch(t.charAt(w)){case"d":f=y("d");break;case"D":b("D",l,u);break;case"o":m=y("o");break;case"m":p=y("m");break;case"M":p=b("M",c,h);break;case"y":d=y("y");break;case"@":d=(r=new Date(y("@"))).getFullYear(),p=r.getMonth()+1,f=r.getDate();break;case"!":d=(r=new Date((y("!")-this._ticksTo1970)/1e4)).getFullYear(),p=r.getMonth()+1,f=r.getDate();break;case"'":v("'")?_():g=!0;break;default:_()}if(o<s.length&&(n=s.substr(o),!/^\s+/.test(n)))throw"Extra/unparsed characters found in date: "+n;if(-1===d?d=(new Date).getFullYear():d<100&&(d+=(new Date).getFullYear()-(new Date).getFullYear()%100+(d<=a?0:-100)),-1<m)for(p=1,f=m;;){if(f<=(i=this._getDaysInMonth(d,p-1)))break;p++,f-=i}if((r=this._daylightSavingAdjust(new Date(d,p-1,f))).getFullYear()!==d||r.getMonth()+1!==p||r.getDate()!==f)throw"Invalid date";return r},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:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,i){if(!e)return"";function n(e,t,i){var n=""+t;if(c(e))for(;n.length<i;)n="0"+n;return n}function s(e,t,i,n){return(c(e)?n:i)[t]}var r,o=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,a=(i?i.dayNames:null)||this._defaults.dayNames,l=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,u=(i?i.monthNames:null)||this._defaults.monthNames,c=function(e){e=r+1<t.length&&t.charAt(r+1)===e;return e&&r++,e},h="",d=!1;if(e)for(r=0;r<t.length;r++)if(d)"'"!==t.charAt(r)||c("'")?h+=t.charAt(r):d=!1;else switch(t.charAt(r)){case"d":h+=n("d",e.getDate(),2);break;case"D":h+=s("D",e.getDay(),o,a);break;case"o":h+=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":h+=n("m",e.getMonth()+1,2);break;case"M":h+=s("M",e.getMonth(),l,u);break;case"y":h+=c("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":h+=e.getTime();break;case"!":h+=1e4*e.getTime()+this._ticksTo1970;break;case"'":c("'")?h+="'":d=!0;break;default:h+=t.charAt(r)}return h},_possibleChars:function(t){for(var e="",i=!1,n=function(e){e=s+1<t.length&&t.charAt(s+1)===e;return e&&s++,e},s=0;s<t.length;s++)if(i)"'"!==t.charAt(s)||n("'")?e+=t.charAt(s):i=!1;else switch(t.charAt(s)){case"d":case"m":case"y":case"@":e+="0123456789";break;case"D":case"M":return null;case"'":n("'")?e+="'":i=!0;break;default:e+=t.charAt(s)}return e},_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),r=s,o=this._getFormatConfig(e);try{r=this.parseDate(i,n,o)||s}catch(e){n=t?"":n}e.selectedDay=r.getDate(),e.drawMonth=e.selectedMonth=r.getMonth(),e.drawYear=e.selectedYear=r.getFullYear(),e.currentDay=n?r.getDate():0,e.currentMonth=n?r.getMonth():0,e.currentYear=n?r.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,e=null==e||""===e?t:"string"==typeof e?function(e){try{return Q.datepicker.parseDate(Q.datepicker._get(a,"dateFormat"),e,Q.datepicker._getFormatConfig(a))}catch(e){}for(var t=(e.toLowerCase().match(/^c/)?Q.datepicker._getDate(a):null)||new Date,i=t.getFullYear(),n=t.getMonth(),s=t.getDate(),r=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,o=r.exec(e);o;){switch(o[2]||"d"){case"d":case"D":s+=parseInt(o[1],10);break;case"w":case"W":s+=7*parseInt(o[1],10);break;case"m":case"M":n+=parseInt(o[1],10),s=Math.min(s,Q.datepicker._getDaysInMonth(i,n));break;case"y":case"Y":i+=parseInt(o[1],10),s=Math.min(s,Q.datepicker._getDaysInMonth(i,n))}o=r.exec(e)}return new Date(i,n,s)}(e):"number"==typeof e?isNaN(e)?t:(i=e,(n=new Date).setDate(n.getDate()+i),n):new Date(e.getTime());return(e=e&&"Invalid Date"===e.toString()?t:e)&&(e.setHours(0),e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0)),this._daylightSavingAdjust(e)},_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,r=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&&r===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,"\\");
vendor: 7,328 bytes, line 50
50e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){Q.datepicker._adjustDate(i,-t,"M")},next:function(){Q.datepicker._adjustDate(i,+t,"M")},hide:function(){Q.datepicker._hideDatepicker()},today:function(){Q.datepicker._gotoToday(i)},selectDay:function(){return Q.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return Q.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return Q.datepicker._selectMonthYear(i,this,"Y"),!1}};Q(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,n,s,r,o,a,l,u,c,h,d,p,f,m,g,v,y,b,_,w,x,k,D,C,S,T,M,P,I,O,A,E=new Date,H=this._daylightSavingAdjust(new Date(E.getFullYear(),E.getMonth(),E.getDate())),N=this._get(e,"isRTL"),j=this._get(e,"showButtonPanel"),R=this._get(e,"hideIfNoPrevNext"),z=this._get(e,"navigationAsDateFormat"),L=this._getNumberOfMonths(e),Y=this._get(e,"showCurrentAtPos"),E=this._get(e,"stepMonths"),W=1!==L[0]||1!==L[1],F=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),q=this._getMinMaxDate(e,"min"),B=this._getMinMaxDate(e,"max"),U=e.drawMonth-Y,V=e.drawYear;if(U<0&&(U+=12,V--),B)for(t=this._daylightSavingAdjust(new Date(B.getFullYear(),B.getMonth()-L[0]*L[1]+1,B.getDate())),t=q&&t<q?q:t;this._daylightSavingAdjust(new Date(V,U,1))>t;)--U<0&&(U=11,V--);for(e.drawMonth=U,e.drawYear=V,Y=this._get(e,"prevText"),Y=z?this.formatDate(Y,this._daylightSavingAdjust(new Date(V,U-E,1)),this._getFormatConfig(e)):Y,i=this._canAdjustMonth(e,-1,V,U)?Q("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:Y}).append(Q("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(N?"e":"w")).text(Y))[0].outerHTML:R?"":Q("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:Y}).append(Q("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(N?"e":"w")).text(Y))[0].outerHTML,Y=this._get(e,"nextText"),Y=z?this.formatDate(Y,this._daylightSavingAdjust(new Date(V,U+E,1)),this._getFormatConfig(e)):Y,n=this._canAdjustMonth(e,1,V,U)?Q("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:Y}).append(Q("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(N?"w":"e")).text(Y))[0].outerHTML:R?"":Q("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:Y}).append(Q("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(N?"w":"e")).text(Y))[0].outerHTML,E=this._get(e,"currentText"),R=this._get(e,"gotoCurrent")&&e.currentDay?F:H,E=z?this.formatDate(E,R,this._getFormatConfig(e)):E,Y="",e.inline||(Y=Q("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(e,"closeText"))[0].outerHTML),z="",j&&(z=Q("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(N?Y:"").append(this._isInRange(e,R)?Q("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(E):"").append(N?"":Y)[0].outerHTML),s=parseInt(this._get(e,"firstDay"),10),s=isNaN(s)?0:s,r=this._get(e,"showWeek"),o=this._get(e,"dayNames"),a=this._get(e,"dayNamesMin"),l=this._get(e,"monthNames"),u=this._get(e,"monthNamesShort"),c=this._get(e,"beforeShowDay"),h=this._get(e,"showOtherMonths"),d=this._get(e,"selectOtherMonths"),p=this._getDefaultDate(e),f="",g=0;g<L[0];g++){for(v="",this.maxRows=4,y=0;y<L[1];y++){if(b=this._daylightSavingAdjust(new Date(V,U,e.selectedDay)),_=" ui-corner-all",w="",W){if(w+="<div class='ui-datepicker-group",1<L[1])switch(y){case 0:w+=" ui-datepicker-group-first",_=" ui-corner-"+(N?"right":"left");break;case L[1]-1:w+=" ui-datepicker-group-last",_=" ui-corner-"+(N?"left":"right");break;default:w+=" ui-datepicker-group-middle",_=""}w+="'>"}for(w+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+_+"'>"+(/all|left/.test(_)&&0===g?N?n:i:"")+(/all|right/.test(_)&&0===g?N?i:n:"")+this._generateMonthYearHeader(e,U,V,q,B,0<g||0<y,l,u)+"</div><table class='ui-datepicker-calendar'><thead><tr>",x=r?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",m=0;m<7;m++)x+="<th scope='col'"+(5<=(m+s+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+o[k=(m+s)%7]+"'>"+a[k]+"</span></th>";for(w+=x+"</tr></thead><tbody>",C=this._getDaysInMonth(V,U),V===e.selectedYear&&U===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,C)),D=(this._getFirstDayOfMonth(V,U)-s+7)%7,C=Math.ceil((D+C)/7),S=W&&this.maxRows>C?this.maxRows:C,this.maxRows=S,T=this._daylightSavingAdjust(new Date(V,U,1-D)),M=0;M<S;M++){for(w+="<tr>",P=r?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(T)+"</td>":"",m=0;m<7;m++)I=c?c.apply(e.input?e.input[0]:null,[T]):[!0,""],A=(O=T.getMonth()!==U)&&!d||!I[0]||q&&T<q||B&&B<T,P+="<td class='"+(5<=(m+s+6)%7?" ui-datepicker-week-end":"")+(O?" ui-datepicker-other-month":"")+(T.getTime()===b.getTime()&&U===e.selectedMonth&&e._keyEvent||p.getTime()===T.getTime()&&p.getTime()===b.getTime()?" "+this._dayOverClass:"")+(A?" "+this._unselectableClass+" ui-state-disabled":"")+(O&&!h?"":" "+I[1]+(T.getTime()===F.getTime()?" "+this._currentClass:"")+(T.getTime()===H.getTime()?" ui-datepicker-today":""))+"'"+(O&&!h||!I[2]?"":" title='"+I[2].replace(/'/g,"&#39;")+"'")+(A?"":" data-handler='selectDay' data-event='click' data-month='"+T.getMonth()+"' data-year='"+T.getFullYear()+"'")+">"+(O&&!h?"&#xa0;":A?"<span class='ui-state-default'>"+T.getDate()+"</span>":"<a class='ui-state-default"+(T.getTime()===H.getTime()?" ui-state-highlight":"")+(T.getTime()===F.getTime()?" ui-state-active":"")+(O?" ui-priority-secondary":"")+"' href='#' aria-current='"+(T.getTime()===F.getTime()?"true":"false")+"' data-date='"+T.getDate()+"'>"+T.getDate()+"</a>")+"</td>",T.setDate(T.getDate()+1),T=this._daylightSavingAdjust(T);w+=P+"</tr>"}11<++U&&(U=0,V++),v+=w+="</tbody></table>"+(W?"</div>"+(0<L[0]&&y===L[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}f+=v}return f+=z,e._keyEvent=!1,f},_generateMonthYearHeader:function(e,t,i,n,s,r,o,a){var l,u,c,h,d,p,f=this._get(e,"changeMonth"),m=this._get(e,"changeYear"),g=this._get(e,"showMonthAfterYear"),v=this._get(e,"selectMonthLabel"),y=this._get(e,"selectYearLabel"),b="<div class='ui-datepicker-title'>",_="";if(r||!f)_+="<span class='ui-datepicker-month'>"+o[t]+"</span>";else{for(l=n&&n.getFullYear()===i,u=s&&s.getFullYear()===i,_+="<select class='ui-datepicker-month' aria-label='"+v+"' data-handler='selectMonth' data-event='change'>",c=0;c<12;c++)(!l||c>=n.getMonth())&&(!u||c<=s.getMonth())&&(_+="<option value='"+c+"'"+(c===t?" selected='selected'":"")+">"+a[c]+"</option>");_+="</select>"}if(g||(b+=_+(!r&&f&&m?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",r||!m)b+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(o=this._get(e,"yearRange").split(":"),h=(new Date).getFullYear(),d=(v=function(e){e=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?h+parseInt(e,10):parseInt(e,10);return isNaN(e)?h:e})(o[0]),p=Math.max(d,v(o[1]||"")),d=n?Math.max(d,n.getFullYear()):d,p=s?Math.min(p,s.getFullYear()):p,e.yearshtml
vendor: 7,160 bytes, line 50
50+="<select class='ui-datepicker-year' aria-label='"+y+"' data-handler='selectYear' data-event='change'>";d<=p;d++)e.yearshtml+="<option value='"+d+"'"+(d===i?" selected='selected'":"")+">"+d+"</option>";e.yearshtml+="</select>",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),g&&(b+=(!r&&f&&m?"":"&#xa0;")+_),b+="</div>"},_adjustInstDate:function(e,t,i){var n=e.selectedYear+("Y"===i?t:0),s=e.selectedMonth+("M"===i?t:0),t=Math.min(e.selectedDay,this._getDaysInMonth(n,s))+("D"===i?t:0),t=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,s,t)));e.selectedDay=t.getDate(),e.drawMonth=e.selectedMonth=t.getMonth(),e.drawYear=e.selectedYear=t.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),e=this._getMinMaxDate(e,"max"),t=i&&t<i?i:t;return e&&e<t?e:t},_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),s=this._daylightSavingAdjust(new Date(i,n+(t<0?t:s[0]*s[1]),1));return t<0&&s.setDate(this._getDaysInMonth(s.getFullYear(),s.getMonth())),this._isInRange(e,s)},_isInRange:function(e,t){var i=this._getMinMaxDate(e,"min"),n=this._getMinMaxDate(e,"max"),s=null,r=null,o=this._get(e,"yearRange");return o&&(e=o.split(":"),o=(new Date).getFullYear(),s=parseInt(e[0],10),r=parseInt(e[1],10),e[0].match(/[+\-].*/)&&(s+=o),e[1].match(/[+\-].*/)&&(r+=o)),(!i||t.getTime()>=i.getTime())&&(!n||t.getTime()<=n.getTime())&&(!s||t.getFullYear()>=s)&&(!r||t.getFullYear()<=r)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="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);t=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"),t,this._getFormatConfig(e))}}),Q.fn.datepicker=function(e){if(!this.length)return this;Q.datepicker.initialized||(Q(document).on("mousedown",Q.datepicker._checkExternalClick),Q.datepicker.initialized=!0),0===Q("#"+Q.datepicker._mainDivId).length&&Q("body").append(Q.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]?Q.datepicker["_"+e+"Datepicker"].apply(Q.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?Q.datepicker["_"+e+"Datepicker"].apply(Q.datepicker,[this].concat(t)):Q.datepicker._attachDatepicker(this,e)})},Q.datepicker=new ne,Q.datepicker.initialized=!1,Q.datepicker.uuid=(new Date).getTime(),Q.datepicker.version="1.13.2";Q.datepicker,Q.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var ae=!1;Q(document).on("mouseup",function(){ae=!1});Q.widget("ui.mouse",{version:"1.13.2",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===Q.data(e.target,t.widgetName+".preventClickEvent"))return Q.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!ae){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var t=this,i=1===e.which,n=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&Q(e.target).closest(this.options.cancel).length;return 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):(!0===Q.data(e.target,this.widgetName+".preventClickEvent")&&Q.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),ae=!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(Q.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)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){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&Q.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,ae=!1,e.preventDefault()},_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}}),Q.ui.plugin={add:function(e,t,i){var n,s=Q.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,r=e.plugins[t];if(r&&(n||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(s=0;s<r.length;s++)e.options[r[s][0]]&&r[s][1].apply(e.element,i)}},Q.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&Q(e).trigger("blur")};Q.widget("ui.draggable",Q.ui.mouse,{version:"1.13.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,
vendor: 10,709 bytes, line 50
50containment:!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._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var t=this.options;return!(this.helper||t.disabled||0<Q(e.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blurActiveElement(e),this._blockFrames(!0===t.iframeFix?"iframe":t.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=Q(this);return Q("<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=Q.ui.safeActiveElement(this.document[0]);Q(e.target).closest(t).length||Q.ui.safeBlur(t)},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),Q.ui.ddmanager&&(Q.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"===Q(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(),Q.ui.ddmanager&&!t.dropBehaviour&&Q.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),Q.ui.ddmanager&&Q.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(new Q.Event("mouseup",e)),!1;this.position=t.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",Q.ui.ddmanager&&Q.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,i=!1;return Q.ui.ddmanager&&!this.options.dropBehaviour&&(i=Q.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||"function"==typeof this.options.revert&&this.options.revert.call(this.element,i)?Q(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(),Q.ui.ddmanager&&Q.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),Q.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new Q.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!Q(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._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var t=this.options,i="function"==typeof t.helper,e=i?Q(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=Array.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&&Q.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(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{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,i,n=this.options,s=this.document[0];this.relativeContainer=null,n.containment?"window"!==n.containment?"document"!==n.containment?n.containment.constructor!==Array?("parent"===n.containment&&(n.containment=this.helper[0].parentNode),(i=(t=Q(n.containment))[0])&&(e=/(scroll|auto)/.test(t.css("overflow")),this.containment=[(parseInt(t.css("borderLeftWidth"),10)||0)+(parseInt(t.css("paddingLeft"),10)||0),(parseInt(t.css("borderTopWidth"),10)||0)+(parseInt(t.css("paddingTop"),10)||0),(e?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(t.css("borderRightWidth"),10)||0)-(parseInt(t.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(t.css("borderBottomWidth"),10)||0)-(parseInt(t.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=t)):this.containment=n.containment:this.containment=[0,0,Q(s).width()-this.helperProportions.width-this.margins.left,(Q(s).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[Q(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,Q(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,Q(window).scrollLeft()+Q(window).width()-this.helperProportions.width-this.margins.left,Q(window).scrollTop()+(Q(window).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(e,t){t=t||this.position;var i="absolute"===e?1:-1,e=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:e?0:this.offset.scroll.top)*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:e?0:this.offset.scroll.left)*i}},_generatePosition:function(e,t){var i,n=this.options,s=this._isRootNode(this.scrollParent[0]),r=e.pageX,o=e.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(i=this.relativeContainer?(i=this.relativeContainer.offset(),[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):this.containment,e.pageX-this.offset.click.left<i[0]&&(r=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(o=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(r=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(o=i[3]+this.offset.click.top)),n.grid&&(e=n.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY,o=!i||e-this.offset.click.top>=i[1]||e-this.offset.click.top>i[3]?e:e-this.offset.click.top>=i[1]?e-n.grid[1]:e+n.grid[1],e=n.grid[0]?this.originalPageX+Math.round((r-this.originalPageX)/n.grid[0])*n.grid[0]:this.originalPageX,r=!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&&(r=this.originalPageX),"x"===n.axis&&(o=this.originalPageY)),{top:o-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:r-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._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,t,i){return i=i||this._uiHash(),Q.ui.plugin.call(this,e,[t,i,this],!0),/^(drag|start|stop
vendor: 4,805 bytes, line 50
50)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),Q.Widget.prototype._trigger.call(this,e,t,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),Q.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,i){var n=Q.extend({},e,{item:i.element});i.sortables=[],Q(i.options.connectToSortable).each(function(){var e=Q(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=Q.extend({},e,{item:i.element});i.cancelHelperRemoval=!1,Q.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){Q.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,Q.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)&&Q.contains(t.element[0],this.element[0])?!1:e})),e?(t.isOver||(t.isOver=1,s._parent=n.helper.parent(),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,Q.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(),n.helper.appendTo(s._parent),s._refreshOffsets(i),n.position=s._generatePosition(i,!0),s._trigger("fromSortable",i),s.dropped=!1,Q.each(s.sortables,function(){this.refreshPositions()}))})}}),Q.ui.plugin.add("draggable","cursor",{start:function(e,t,i){var n=Q("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&&Q("body").css("cursor",i._cursor)}}),Q.ui.plugin.add("draggable","opacity",{start:function(e,t,i){t=Q(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&&Q(t.helper).css("opacity",i._opacity)}}),Q.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,r=i.scrollParentNotHidden[0],o=i.document[0];r!==o&&"HTML"!==r.tagName?(n.axis&&"x"===n.axis||(i.overflowOffset.top+r.offsetHeight-e.pageY<n.scrollSensitivity?r.scrollTop=s=r.scrollTop+n.scrollSpeed:e.pageY-i.overflowOffset.top<n.scrollSensitivity&&(r.scrollTop=s=r.scrollTop-n.scrollSpeed)),n.axis&&"y"===n.axis||(i.overflowOffset.left+r.offsetWidth-e.pageX<n.scrollSensitivity?r.scrollLeft=s=r.scrollLeft+n.scrollSpeed:e.pageX-i.overflowOffset.left<n.scrollSensitivity&&(r.scrollLeft=s=r.scrollLeft-n.scrollSpeed))):(n.axis&&"x"===n.axis||(e.pageY-Q(o).scrollTop()<n.scrollSensitivity?s=Q(o).scrollTop(Q(o).scrollTop()-n.scrollSpeed):Q(window).height()-(e.pageY-Q(o).scrollTop())<n.scrollSensitivity&&(s=Q(o).scrollTop(Q(o).scrollTop()+n.scrollSpeed))),n.axis&&"y"===n.axis||(e.pageX-Q(o).scrollLeft()<n.scrollSensitivity?s=Q(o).scrollLeft(Q(o).scrollLeft()-n.scrollSpeed):Q(window).width()-(e.pageX-Q(o).scrollLeft())<n.scrollSensitivity&&(s=Q(o).scrollLeft(Q(o).scrollLeft()+n.scrollSpeed)))),!1!==s&&Q.ui.ddmanager&&!n.dropBehaviour&&Q.ui.ddmanager.prepareOffsets(i,e)}}),Q.ui.plugin.add("draggable","snap",{start:function(e,t,i){var n=i.options;i.snapElements=[],Q(n.snap.constructor!==String?n.snap.items||":data(ui-draggable)":n.snap).each(function(){var e=Q(this),t=e.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left
vendor: 10,881 bytes, line 50
50:t.left})})},drag:function(e,t,i){for(var n,s,r,o,a,l,u,c,h,d=i.options,p=d.snapTolerance,f=t.offset.left,m=f+i.helperProportions.width,g=t.offset.top,v=g+i.helperProportions.height,y=i.snapElements.length-1;0<=y;y--)l=(a=i.snapElements[y].left-i.margins.left)+i.snapElements[y].width,c=(u=i.snapElements[y].top-i.margins.top)+i.snapElements[y].height,m<a-p||l+p<f||v<u-p||c+p<g||!Q.contains(i.snapElements[y].item.ownerDocument,i.snapElements[y].item)?(i.snapElements[y].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,Q.extend(i._uiHash(),{snapItem:i.snapElements[y].item})),i.snapElements[y].snapping=!1):("inner"!==d.snapMode&&(n=Math.abs(u-v)<=p,s=Math.abs(c-g)<=p,r=Math.abs(a-m)<=p,o=Math.abs(l-f)<=p,n&&(t.position.top=i._convertPositionTo("relative",{top:u-i.helperProportions.height,left:0}).top),s&&(t.position.top=i._convertPositionTo("relative",{top:c,left:0}).top),r&&(t.position.left=i._convertPositionTo("relative",{top:0,left:a-i.helperProportions.width}).left),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l}).left)),h=n||s||r||o,"outer"!==d.snapMode&&(n=Math.abs(u-g)<=p,s=Math.abs(c-v)<=p,r=Math.abs(a-f)<=p,o=Math.abs(l-m)<=p,n&&(t.position.top=i._convertPositionTo("relative",{top:u,left:0}).top),s&&(t.position.top=i._convertPositionTo("relative",{top:c-i.helperProportions.height,left:0}).top),r&&(t.position.left=i._convertPositionTo("relative",{top:0,left:a}).left),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left)),!i.snapElements[y].snapping&&(n||s||r||o||h)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,Q.extend(i._uiHash(),{snapItem:i.snapElements[y].item})),i.snapElements[y].snapping=n||s||r||o||h)}}),Q.ui.plugin.add("draggable","stack",{start:function(e,t,i){var n,i=i.options,i=Q.makeArray(Q(i.stack)).sort(function(e,t){return(parseInt(Q(e).css("zIndex"),10)||0)-(parseInt(Q(t).css("zIndex"),10)||0)});i.length&&(n=parseInt(Q(i[0]).css("zIndex"),10)||0,Q(i).each(function(e){Q(this).css("zIndex",n+e)}),this.css("zIndex",n+i.length))}}),Q.ui.plugin.add("draggable","zIndex",{start:function(e,t,i){t=Q(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&&Q(t.helper).css("zIndex",i._zIndex)}});Q.ui.draggable;Q.widget("ui.resizable",Q.ui.mouse,{version:"1.13.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},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 parseFloat(e)||0},_isNumber:function(e){return!isNaN(parseFloat(e))},_hasScroll:function(e,t){if("hidden"===Q(e).css("overflow"))return!1;var i=t&&"left"===t?"scrollLeft":"scrollTop",t=!1;if(0<e[i])return!0;try{e[i]=1,t=0<e[i],e[i]=0}catch(e){}return t},_create:function(){var e,t=this.options,i=this;this._addClass("ui-resizable"),Q.extend(this,{_aspectRatio:!!t.aspectRatio,aspectRatio:t.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:t.helper||t.ghost||t.animate?t.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(Q("<div class='ui-wrapper'></div>").css({overflow:"hidden",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,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",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(e),this._proportionallyResize()),this._setupHandles(),t.autoHide&&Q(this.element).on("mouseenter",function(){t.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){t.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function e(e){Q(e).removeData("resizable").removeData("ui-resizable").off(".resizable")}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},_setOption:function(e,t){switch(this._super(e,t),e){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!t}},_setupHandles:function(){var e,t,i,n,s,r=this.options,o=this;if(this.handles=r.handles||(Q(".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=Q(),this._addedHandles=Q(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},t=0;t<i.length;t++)n="ui-resizable-"+(e=String.prototype.trim.call(i[t])),s=Q("<div>"),this._addClass(s,"ui-resizable-handle "+n),s.css({zIndex:r.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.children(this.handles[e]).length||(this.element.append(s),this._addedHandles=this._addedHandles.add(s));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.handles[t].jquery||this.handles[t].nodeType)&&(this.handles[t]=Q(this.handles[t]),this._on(this.handles[t],{mousedown:o._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=Q(this.handles[t],this.element),n=/sw|ne|nw|se|n|s/.test(t)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(t)?"Top":/se|sw|s/.test(t)?"Bottom":/^e$/.test(t)?"Right":"Left"].join(""),e.css(i,n),this._proportionallyResize()),this._handles=this._handles.add(this.handles[t])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){o.resizing||(this.className&&(s=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=s&&s[1]?s[1]:"se")}),r.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(e){var t,i,n=!1;for(t in this.handles)(i=Q(this.handles[t])[0])!==e.target&&!Q.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(),t=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),n.containment&&(t+=Q(n.containment).scrollLeft()||0,i+=Q(n.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:t,top:i},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:t,top:i},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof n.aspectRatio?n.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=Q(".ui-resizable-"+this.axis).css("cursor"),Q("body").css("cursor","auto"===n?this.axis+"-resize":n),this._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&&(t=i.apply(this,[e,n,t]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(t=this._updateRatio(t,e)),t=this._respectSize(t,e),this._updateCache(t),this._propagate("resize",e),t=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),Q.isEmptyObject(t)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges())),!1},_mouseStop:function(e){this.resizing=!1;var t,i,n,s=this.options,r=this;return this._helper&&(n=(t=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:r.sizeDiff.height,i=t?0:r.sizeDiff.width,t={width:r.helper.width()-i,height:r.helper.height()-n},i=parseFloat(r.element.css("left"))+(r.position.left-r.originalPosition.left)||null,n=parseFloat(r.element.css("top"))+(r.position.top-r.originalPosition.top)||null,s.animate||this.element.css(Q.extend(t,{top:n,left:i})),r.helper.height(r.size.height),r.helper.width(r.size.width),this._helper&&!s.animate&&this._proportionallyResize()),Q("body").css("cursor","auto"),this._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=this.options,s={minWidth:this._isNumber(n.minWidth)?n.minWidth:0,maxWidth:this._isNumber(n.maxWidth)?n.maxWidth:1/0,minHeight:this._isNumber(n.minHeight)?n.minHeight:0,maxHeight:this._isNumber(n.maxHeight)?n.maxHeight:1/0};(this._aspectRatio||e)&&(t=s.minHeight*this.aspectRatio,i=s.minWidth/this.aspectRatio,n=s.maxHeight*this.aspectRatio,e=s.maxWidth/this.aspectRatio,t>s.minWidth&&(s.minWidth=t),i>s.minHeight&&(s.minHeight=i),n<s.maxWidth&&(s.maxWidth=n),e<s.maxHeight&&(s.maxHeight=e)),this._vBoundaries=s},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left
vendor: 4,176 bytes, line 50
50=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,r=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,o=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,a=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,u=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return r&&(e.width=t.minWidth),o&&(e.height=t.minHeight),n&&(e.width=t.maxWidth),s&&(e.height=t.maxHeight),r&&u&&(e.left=a-t.minWidth),n&&u&&(e.left=a-t.maxWidth),o&&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]=parseFloat(n[t])||0,i[t]+=parseFloat(s[t])||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;t<this._proportionallyResizeElements.length;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||Q("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),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 Q.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},sw:function(e,t,i){return Q.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,t,i]))},ne:function(e,t,i){return Q.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},nw:function(e,t,i){return Q.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,t,i]))}},_propagate:function(e,t){Q.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}}}),Q.ui.plugin.add("resizable","animate",{stop:function(t){var i=Q(this).resizable("instance"),e=i.options,n=i._proportionallyResizeElements,s=n.length&&/textarea/i.test(n[0].nodeName),r=s&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,o=s?0:i.sizeDiff.width,s={width:i.size.width-o,height:i.size.height-r},o=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,r=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(Q.extend(s,r&&o?{top:r,left:o}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var e={
vendor: 24,079 bytes, line 50
50width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&Q(n[0]).css({width:e.width,height:e.height}),i._updateCache(e),i._propagate("resize",t)}})}}),Q.ui.plugin.add("resizable","containment",{start:function(){var i,n,s=Q(this).resizable("instance"),e=s.options,t=s.element,r=e.containment,o=r instanceof Q?r.get(0):/parent/.test(r)?t.parent().get(0):r;o&&(s.containerElement=Q(o),/document/.test(r)||r===document?(s.containerOffset={left:0,top:0},s.containerPosition={left:0,top:0},s.parentData={element:Q(document),left:0,top:0,width:Q(document).width(),height:Q(document).height()||document.body.parentNode.scrollHeight}):(i=Q(o),n=[],Q(["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]},e=s.containerOffset,t=s.containerSize.height,r=s.containerSize.width,r=s._hasScroll(o,"left")?o.scrollWidth:r,t=s._hasScroll(o)?o.scrollHeight:t,s.parentData={element:o,left:e.left,top:e.top,width:r,height:t}))},resize:function(e){var t=Q(this).resizable("instance"),i=t.options,n=t.containerOffset,s=t.position,r=t._aspectRatio||e.shiftKey,o={top:0,left:0},a=t.containerElement,e=!0;a[0]!==document&&/static/.test(a.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),r&&(t.size.height=t.size.width/t.aspectRatio,e=!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),r&&(t.size.width=t.size.height*t.aspectRatio,e=!1),t.position.top=t._helper?n.top:0),i=t.containerElement.get(0)===t.element.parent().get(0),s=/relative|absolute/.test(t.containerElement.css("position")),i&&s?(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)),n=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,r&&(t.size.height=t.size.width/t.aspectRatio,e=!1)),n+t.size.height>=t.parentData.height&&(t.size.height=t.parentData.height-n,r&&(t.size.width=t.size.height*t.aspectRatio,e=!1)),e||(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=Q(this).resizable("instance"),t=e.options,i=e.containerOffset,n=e.containerPosition,s=e.containerElement,r=Q(e.helper),o=r.offset(),a=r.outerWidth()-e.sizeDiff.width,r=r.outerHeight()-e.sizeDiff.height;e._helper&&!t.animate&&/relative/.test(s.css("position"))&&Q(this).css({left:o.left-n.left-i.left,width:a,height:r}),e._helper&&!t.animate&&/static/.test(s.css("position"))&&Q(this).css({left:o.left-n.left-i.left,width:a,height:r})}}),Q.ui.plugin.add("resizable","alsoResize",{start:function(){var e=Q(this).resizable("instance").options;Q(e.alsoResize).each(function(){var e=Q(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var t=Q(this).resizable("instance"),n=t.options,s=t.originalSize,r=t.originalPosition,o={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};Q(n.alsoResize).each(function(){var e=Q(this),n=Q(this).data("ui-resizable-alsoresize"),s={},t=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];Q.each(t,function(e,t){var i=(n[t]||0)+(o[t]||0);i&&0<=i&&(s[t]=i||null)}),e.css(s)})},stop:function(){Q(this).removeData("ui-resizable-alsoresize")}}),Q.ui.plugin.add("resizable","ghost",{start:function(){var e=Q(this).resizable("instance"),t=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:t.height,width:t.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==Q.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=Q(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=Q(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),Q.ui.plugin.add("resizable","grid",{resize:function(){var e,t=Q(this).resizable("instance"),i=t.options,n=t.size,s=t.originalSize,r=t.originalPosition,o=t.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=a[0]||1,u=a[1]||1,c=Math.round((n.width-s.width)/l)*l,h=Math.round((n.height-s.height)/u)*u,d=s.width+c,p=s.height+h,f=i.maxWidth&&i.maxWidth<d,m=i.maxHeight&&i.maxHeight<p,g=i.minWidth&&i.minWidth>d,n=i.minHeight&&i.minHeight>p;i.grid=a,g&&(d+=l),n&&(p+=u),f&&(d-=l),m&&(p-=u),/^(se|s|e)$/.test(o)?(t.size.width=d,t.size.height=p):/^(ne)$/.test(o)?(t.size.width=d,t.size.height=p,t.position.top=r.top-h):/^(sw)$/.test(o)?(t.size.width=d,t.size.height=p,t.position.left=r.left-c):((p-u<=0||d-l<=0)&&(e=t._getPaddingPlusBorderDimensions(this)),0<p-u?(t.size.height=p,t.position.top=r.top-h):(p=u-e.height,t.size.height=p,t.position.top=r.top+s.height-p),0<d-l?(t.size.width=d,t.position.left=r.left-c):(d=l-e.width,t.size.width=d,t.position.left=r.left+s.width-d))}});Q.ui.resizable;Q.widget("ui.dialog",{version:"1.13.2",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",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=Q(this).css(e).offset().top;t<0&&Q(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"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&Q.fn.draggable&&this._makeDraggable(),this.options.resizable&&Q.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)?Q(e):this.document.find(e||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.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:Q.noop,enable:Q.noop,close:function(e){var t=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||Q.ui.safeBlur(Q.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){t._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+Q(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;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=Q(Q.ui.safeActiveElement(this.document[0])),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(),this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;(e=!(e=!(e=!(e=!(e=e||this.element.find("[autofocus]")).length?this.element.find(":tabbable"):e).length?this.uiDialogButtonPane.find(":tabbable"):e).length?this.uiDialogTitlebarClose.filter(":tabbable"):e).length?this.uiDialog:e).eq(0).trigger("focus")},_restoreTabbableFocus:function(){var e=Q.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||Q.contains(this.uiDialog[0],e)||this._focusTabbable()},_keepFocus:function(e){e.preventDefault(),this._restoreTabbableFocus(),this._delay(this._restoreTabbableFocus)},_createWrapper:function(){this.uiDialog=Q("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===Q.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);var t,i,n;e.keyCode!==Q.ui.keyCode.TAB||e.isDefaultPrevented()||(t=this.uiDialog.find(":tabbable"),i=t.first(),n=t.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.trigger("focus")}),e.preventDefault()):(this._delay(function(){i.trigger("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=Q("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){Q(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=Q("<button type='button'></button>").button({label:Q("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),e=Q("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(e){this.options.title?e.text(this.options.title):e.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=Q("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=Q("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var n=this,e=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),Q.isEmptyObject(e)||Array.isArray(e)&&!e.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(Q.each(e,function(e,t){var i;t=Q.extend({type:"button"},t="function"==typeof t?{click:t,text:e}:t),i=t.click,e={icon:t.icon,iconPosition:t.iconPosition,showLabel:t.showLabel,icons:t.icons,text:t.text},delete t.click,delete t.icon,delete t.iconPosition,delete t.showLabel,delete t.icons,"boolean"==typeof t.text&&delete t.text,Q("<button></button>",t).button(e).appendTo(n.uiButtonSet).on("click",function(){i.apply(n.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var s=this,r=this.options;function o(e){return{position:e.position,offset:e.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,t){s._addClass(Q(this),"ui-dialog-dragging"),s._blockFrames(),s._trigger("dragStart",e,o(t))},drag:function(e,t){s._trigger("drag",e,o(t))},stop:function(e,t){var i=t.offset.left-s.document.scrollLeft(),n=t.offset.top-s.document.scrollTop();r.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=n?"+":"")+n,of:s.window},s._removeClass(Q(this),"ui-dialog-dragging"),s._unblockFrames(),s._trigger("dragStop",e,o(t))}})},_makeResizable:function(){var s=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";function o(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}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){s._addClass(Q(this),"ui-dialog-resizing"),s._blockFrames(),s._trigger("resizeStart",e,o(t))},resize:function(e,t){s._trigger("resize",e,o(t))},stop:function(e,t){var i=s.uiDialog.offset(),n=i.left-s.document.scrollLeft(),i=i.top-s.document.scrollTop();r.height=s.uiDialog.height(),r.width=s.uiDialog.width(),r.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=i?"+":"")+i,of:s.window},s._removeClass(Q(this),"ui-dialog-resizing"),s._unblockFrames(),s._trigger("resizeStop",e,o(t))}}).css("position",t)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=Q(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),t=Q.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={};Q.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;"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:Q("<a>").text(""+this.options.closeText).html()}),"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=Q(this);return Q("<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!!Q(e.target).closest(".ui-dialog").length||!!Q(e.target).closest(".ui-datepicker").length},_createOverlay:function(){var i,n;this.options.modal&&(i=Q.fn.jquery.substring(0,4),n=!0,this._delay(function(){n=!1}),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",function(e){var t;n||((t=this._trackingInstances()[0])._allowInteraction(e)||(e.preventDefault(),t._focusTabbable(),"3.4."!==i&&"3.5."!==i||t._delay(t._restoreTabbableFocus)))}.bind(this)),this.overlay=Q("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),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.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null)}}),!1!==Q.uiBackCompat&&Q.widget("ui.dialog",Q.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(e,t){"dialogClass"===e&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}});Q.ui.dialog;function le(e,t,i){return t<=e&&e<t+i}Q.widget("ui.droppable",{version:"1.13.2",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!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="function"==typeof i?i:function(e){return e.is(i)},this.proportions=function(){if(!arguments.length)return e=e||{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};e=arguments[0]},this._addToManager(t.scope),t.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){Q.ui.ddmanager.droppables[e]=Q.ui.ddmanager.droppables[e]||[],Q.ui.ddmanager.droppables[e].push(this)},_splice:function(e){for(var t=0;t<e.length;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var e=Q.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,t){var i;"accept"===e?this.accept="function"==typeof t?t:function(e){return e.is(t)}:"scope"===e&&(i=Q.ui.ddmanager.droppables[this.options.scope],this._splice(i),this._addToManager(t)),this._super(e,t)},_activate:function(e){var t=Q.ui.ddmanager.current;this._addActiveClass(),t&&this._trigger("activate",e,this.ui(t))},_deactivate:function(e){var t=Q.ui.ddmanager.current;this._removeActiveClass(),t&&this._trigger("deactivate",e,this.ui(t))},_over:function(e){var t=Q.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(t)))},_out:function(e){var t=Q.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(t)))},_drop:function(t,e){var i=e||Q.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=Q(this).droppable("instance");if(e.options.greedy&&!e.options.disabled&&e.options.scope===i.options.scope&&e.accept.call(e.element[0],i.currentItem||i.element)&&Q.ui.intersect(i,Q.extend(e,{offset:e.element.offset()}),e.options.tolerance,t))return!(n=!0)}),!n&&(!!this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeActiveClass(),this._removeHoverClass(),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}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}}),Q.ui.intersect=function(e,t,i,n){if(!t.offset)return!1;var s=(e.positionAbs||e.position.absolute).left+e.margins.left,r=(e.positionAbs||e.position.absolute).top+e.margins.top,o=s+e.helperProportions.width,a=r+e.helperProportions.height,l=t.offset.left,u=t.offset.top,c=l+t.proportions().width,h=u+t.proportions().height;switch(i){case"fit":return l<=s&&o<=c&&u<=r&&a<=h;case"intersect":return l<s+e.helperProportions.width/2&&o-e.helperProportions.width/2<c&&u<r+e.helperProportions.height/2&&a-e.helperProportions.height/2<h;case"pointer":return le(n.pageY,u,t.proportions().height)&&le(n.pageX,l,t.proportions().width);case"touch":return(u<=r&&r<=h||u<=a&&a<=h||r<u&&h<a)&&(l<=s&&s<=c||l<=o&&o<=c||s<l&&c<o);default:return!1}},!(Q.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,t){var i,n,s=Q.ui.ddmanager.droppables[e.options.scope]||[],r=t?t.type:null,o=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();e:for(i=0;i<s.length;i++)if(!(s[i].options.disabled||e&&!s[i].accept.call(s[i].element[0],e.currentItem||e.element))){for(n=0;n<o.length;n++)if(o[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"===r&&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 Q.each((Q.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&Q.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").on("scroll.droppable",function(){e.options.refreshPositions||Q.ui.ddmanager.prepareOffsets(e,t)})},drag:function(s,r){s.options.refreshPositions&&Q.ui.ddmanager.prepareOffsets(s,r),Q.each(Q.ui.ddmanager.droppables[s.options.scope]||[],function(){var e,t,i,n;this.options.disabled||this.greedyChild||!this.visible||(n=!(i=Q.ui.intersect(s,this,this.options.tolerance,r))&&this.isover?"isout":i&&!this.isover?"isover":null)&&(this.options.greedy&&(t=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return Q(this).droppable("instance").options.scope===t})).length&&((e=Q(i[0]).droppable("instance")).greedyChild="isover"===n)),e&&"isover"===n&&(e.isover=!1,e.isout=!0,e._out.call(e,r)),this[n]=!0,this["isout"===n?"isover":"isout"]=!1,this["isover"===n?"_over":"_out"].call(this,r),e&&"isout"===n&&(e.isout=!1,e.isover=!0,e._over.call(e,r)))})},dragStop:function(e,t){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||Q.ui.ddmanager.prepareOffsets(e,t)}})!==Q.uiBackCompat&&Q.widget("ui.droppable",Q.ui.droppable,{options:{hoverClass:!1,activeClass:!1}
vendor: 4,678 bytes, line 50
50,_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});Q.ui.droppable,Q.widget("ui.progressbar",{version:"1.13.2",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=Q("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(e){if(void 0===e)return this.options.value;this.options.value=this._constrainedValue(e),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)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_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).width(t.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=Q("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(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")}}),Q.widget("ui.selectable",Q.ui.mouse,{version:"1.13.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 i=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){i.elementPos=Q(i.element[0]).offset(),i.selectees=Q(i.options.filter,i.element[0]),i._addClass(i.selectees,"ui-selectee"),i.selectees.each(function(){var e=Q(this),t=e.offset(),t={left:t.left-i.elementPos.left,top:t.top-i.elementPos.top};Q.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._mouseInit(),this.helper=Q("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(i){var n=this,e=this.options;this.opos=[i.pageX,i.pageY],this.elementPos=Q(this.element[0]).offset(),this.options.disabled||(this.selectees=Q(e.filter,this.element[0]),this._trigger("start",i),Q(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=Q.data(this,"selectable-item");e.startselected=!0,i.metaKey||i.ctrlKey||(n._removeClass(e.$element,"ui-selected"),e.selected=!1,n._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,n._trigger("unselecting",i,{unselecting:e.element}))}),Q(i.target).parents().addBack().each(function(){var e,t=Q.data(this,"selectable-item");if(t)return e=!i.metaKey&&!i.ctrlKey||!t.$element.hasClass("ui-selected"),n._removeClass(t.$element,e?"ui-unselecting":"ui-selected")._addClass(t.$element,e?"ui-selecting":"ui-unselecting"),t.unselecting=!e,t.selecting=e,(t.
vendor: 7,211 bytes, line 50
50selected=e)?n._trigger("selecting",i,{selecting:t.element}):n._trigger("unselecting",i,{unselecting:t.element}),!1}))},_mouseDrag:function(n){if(this.dragged=!0,!this.options.disabled){var e,s=this,r=this.options,o=this.opos[0],a=this.opos[1],l=n.pageX,u=n.pageY;return l<o&&(e=l,l=o,o=e),u<a&&(e=u,u=a,a=e),this.helper.css({left:o,top:a,width:l-o,height:u-a}),this.selectees.each(function(){var e=Q.data(this,"selectable-item"),t=!1,i={};e&&e.element!==s.element[0]&&(i.left=e.left+s.elementPos.left,i.right=e.right+s.elementPos.left,i.top=e.top+s.elementPos.top,i.bottom=e.bottom+s.elementPos.top,"touch"===r.tolerance?t=!(i.left>l||i.right<o||i.top>u||i.bottom<a):"fit"===r.tolerance&&(t=i.left>o&&i.right<l&&i.top>a&&i.bottom<u),t?(e.selected&&(s._removeClass(e.$element,"ui-selected"),e.selected=!1),e.unselecting&&(s._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1),e.selecting||(s._addClass(e.$element,"ui-selecting"),e.selecting=!0,s._trigger("selecting",n,{selecting:e.element}))):(e.selecting&&((n.metaKey||n.ctrlKey)&&e.startselected?(s._removeClass(e.$element,"ui-selecting"),e.selecting=!1,s._addClass(e.$element,"ui-selected"),e.selected=!0):(s._removeClass(e.$element,"ui-selecting"),e.selecting=!1,e.startselected&&(s._addClass(e.$element,"ui-unselecting"),e.unselecting=!0),s._trigger("unselecting",n,{unselecting:e.element}))),e.selected&&(n.metaKey||n.ctrlKey||e.startselected||(s._removeClass(e.$element,"ui-selected"),e.selected=!1,s._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,s._trigger("unselecting",n,{unselecting:e.element})))))}),!1}},_mouseStop:function(t){var i=this;return this.dragged=!1,Q(".ui-unselecting",this.element[0]).each(function(){var e=Q.data(this,"selectable-item");i._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1,e.startselected=!1,i._trigger("unselected",t,{unselected:e.element})}),Q(".ui-selecting",this.element[0]).each(function(){var e=Q.data(this,"selectable-item");i._removeClass(e.$element,"ui-selecting")._addClass(e.$element,"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}}),Q.widget("ui.selectmenu",[Q.ui.formResetMixin,{version:"1.13.2",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,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._bindFormResetHandler(),this._rendered=!1,this.menuItems=Q()},_drawButton:function(){var e,t=this,i=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(e){this.button.trigger("focus"),e.preventDefault()}}),this.element.hide(),this.button=Q("<span>",{tabindex: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",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),e=Q("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(i).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){t._rendered||t._refreshMenu()})},_drawMenu:function(){var i=this;this.menu=Q("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=Q("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},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.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var e=this.element.find("option");this.menu.empty(),this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,e.length&&(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._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e)))},_position:function(){this.menuWrap.position(Q.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},_renderButtonItem:function(e){var t=Q("<span>");return this._setText(t,e.label),this._addClass(t,"ui-selectmenu-text"),t},_renderMenu:function(n,e){var s=this,r="";Q.each(e,function(e,t){var i;t.optgroup!==r&&(i=Q("<li>",{text:t.optgroup}),s._addClass(i,"ui-selectmenu-optgroup","ui-menu-divider"+(t.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),i.appendTo(n),r=t.optgroup),s._renderItemData(n,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(e,t){var i=Q("<li>"),n=Q("<div>",{title:t.element.attr("title")});return t.disabled&&this._addClass(i,null,"ui-state-disabled"),this._setText(n,t.label),i.append(n).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).parent("li"):(i=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),n+=":not(.ui-state-disabled)"),(n="first"===e||"last"===e?i["first"===e?"prevAll":"nextAll"](n).eq(-1):i[e+"All"](n).eq(0)).length&&this.menuInstance.focus(t,n)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")}
vendor: 4,336 bytes, line 50
50,_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.trigger("focus"))},_documentClick:{mousedown:function(e){this.isOpen&&(Q(e.target).closest(".ui-selectmenu-menu, #"+Q.escapeSelector(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 Q.ui.keyCode.TAB:case Q.ui.keyCode.ESCAPE:this.close(e),t=!1;break;case Q.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case Q.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case Q.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case Q.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case Q.ui.keyCode.LEFT:this._move("prev",e);break;case Q.ui.keyCode.RIGHT:this._move("next",e);break;case Q.ui.keyCode.HOME:case Q.ui.keyCode.PAGE_UP:this._move("first",e);break;case Q.ui.keyCode.END:case Q.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).parent("li");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.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(e)),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){var i;"icons"===e&&(i=this.button.find("span.ui-icon"),this._removeClass(i,null,this.options.icons.button)._addClass(i,null,t.button)),this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"width"===e&&this._resizeButton()},_setOptionDisabled:function(e){this._super(e),this.menuInstance.option("disabled",e),this.button.attr("aria-disabled",e),this._toggleClass(this.button,null,"ui-state-disabled",e),this.element.prop("disabled",e),e?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e=!(e=!(e=e&&(e.jquery||e.nodeType?Q(e):this.document.find(e).eq(0)))||!e[0]?this.element.closest(".ui-front, dialog"):e).length?this.document[0].body:e},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var e=this.options.width;!1!==e?(null===e&&(e=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(e)):this.button.css("width","")},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var e=this._super();return e.disabled=this.element.prop("disabled"),e},_parseOptions:function(e){var i=this,n=[];e.each(function(e,t){t.hidden||n.push(i._parseOption(Q(t),e))}),this.items=n},_parseOption:function(e,t){var i=e.parent("optgroup");return{element:e,index:t,value:e.val(),label:e.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||e.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),Q.widget("ui.slider",Q.ui.mouse,{version:"1.13.2",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null}
vendor: 17,151 bytes, line 50
50,numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),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"),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 tabindex='0'></span>");this.handles=i.add(Q(n.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){Q(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:Array.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=Q("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.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._mouseDestroy()},_mouseCapture:function(e){var i,n,s,r,t,o,a=this,l=this.options;return!l.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),o={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(o),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=Q(this),r=e)}),!1!==this._start(e,r)&&(this._mouseSliding=!0,this._handleIndex=r,this._addClass(s,null,"ui-state-active"),s.trigger("focus"),t=s.offset(),o=!Q(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=o?{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,r,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._removeClass(this.handles,null,"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(),t=this._valueMin()+e*t,this._trimAlignValue(t)},_uiHash:function(e,t,i){var n={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(n.value=void 0!==t?t:this.values(e),n.values=i||this.values()),n},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,i){var n,s=this.value(),r=this.values();this._hasMultipleValues()&&(n=this.values(t?0:1),s=this.values(t),2===this.options.values.length&&!0===this.options.range&&(i=0===t?Math.min(n,i):Math.max(n,i)),r[t]=i),i!==s&&!1!==this._trigger("slide",e,this._uiHash(t,i,r))&&(this._hasMultipleValues()?this.values(t,i):this.value(i))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,t){var i,n,s;if(1<arguments.length)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!Array.isArray(e))return this._hasMultipleValues()?this._values(e):this.value();for(i=this.options.values,n=e,s=0;s<i.length;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)),Array.isArray(this.options.values)&&(n=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),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=n-1;0<=i;i--)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}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e)},_values:function(e){var t,i;if(arguments.length)return e=this.options.values[e],e=this._trimAlignValue(e);if(this._hasMultipleValues()){for(t=this.options.values.slice(),i=0;i<t.length;i+=1)t[i]=this._trimAlignValue(t[i]);return t}return[]},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=0<this.options.step?this.options.step:1,i=(e-this._valueMin())%t,e=e-i;return 2*Math.abs(i)>=t&&(e+=0<i?t:-t),parseFloat(e.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),i=this.options.step;(e=Math.round((e-t)/i)*i+t)>this.options.max&&(e-=i),this.max=parseFloat(e.toFixed(this._precision()))},_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 t=e.toString(),e=t.indexOf(".");return-1===e?0:t.length-e-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,i,e,n,s,r=this.options.range,o=this.options,a=this,l=!this._animateOff&&o.animate,u={};this._hasMultipleValues()?this.handles.each(function(e){i=(a.values(e)-a._valueMin())/(a._valueMax()-a._valueMin())*100,u["horizontal"===a.orientation?"left":"bottom"]=i+"%",Q(this).stop(1,1)[l?"animate":"css"](u,o.animate),!0===a.options.range&&("horizontal"===a.orientation?(0===e&&a.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},o.animate),1===e&&a.range[l?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:o.animate})):(0===e&&a.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},o.animate),1===e&&a.range[l?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:o.animate}))),t=i}):(e=this.value(),n=this._valueMin(),s=this._valueMax(),i=s!==n?(e-n)/(s-n)*100:0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](u,o.animate),"min"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},o.animate),"max"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:100-i+"%"},o.animate),"min"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},o.animate),"max"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:100-i+"%"},o.animate))},_handleEvents:{keydown:function(e){var t,i,n,s=Q(e.target).data("ui-slider-handle-index");switch(e.keyCode){case Q.ui.keyCode.HOME:case Q.ui.keyCode.END:case Q.ui.keyCode.PAGE_UP:case Q.ui.keyCode.PAGE_DOWN:case Q.ui.keyCode.UP:case Q.ui.keyCode.RIGHT:case Q.ui.keyCode.DOWN:case Q.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(Q(e.target),null,"ui-state-active"),!1===this._start(e,s)))return}switch(n=this.options.step,t=i=this._hasMultipleValues()?this.values(s):this.value(),e.keyCode){case Q.ui.keyCode.HOME:i=this._valueMin();break;case Q.ui.keyCode.END:i=this._valueMax();break;case Q.ui.keyCode.PAGE_UP:i=this._trimAlignValue(t+(this._valueMax()-this._valueMin())/this.numPages);break;case Q.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(t-(this._valueMax()-this._valueMin())/this.numPages);break;case Q.ui.keyCode.UP:case Q.ui.keyCode.RIGHT:if(t===this._valueMax())return;i=this._trimAlignValue(t+n);break;case Q.ui.keyCode.DOWN:case Q.ui.keyCode.LEFT:if(t===this._valueMin())return;i=this._trimAlignValue(t-n)}this._slide(e,s,i)},keyup:function(e){var t=Q(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,t),this._change(e,t),this._removeClass(Q(e.target),null,"ui-state-active"))}}}),Q.widget("ui.sortable",Q.ui.mouse,{version:"1.13.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(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),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(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),Q.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){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),Q(e.target).parents().each(function(){if(Q.data(this,s.widgetName+"-item")===s)return i=Q(this),!1}),!!(i=Q.data(e.target,s.widgetName+"-item")===s?Q(e.target):i)&&(!(this.options.handle&&!t&&(Q(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,r=this.options;if((this.currentContainer=this).refreshPositions(),this.appendTo=Q("parent"!==r.appendTo?r.appendTo:this.currentItem.parent()),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},Q.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),r.cursorAt&&this._adjustOffsetFromHelper(r.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),Q.extend(this.offset,{parent:this._getParentOffset()}),r.containment&&this._setContainment(),r.cursor&&"auto"!==r.cursor&&(s=this.document.find("body"),this.storedCursor=s.css("cursor"),s.css("cursor",r.cursor),this.storedStylesheet=Q("<style>*{ cursor: "+r.cursor+" !important; }</style>").appendTo(s)),r.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",r.zIndex)),r.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",r.opacity)),this.scrollParent[0]!==this.document[0]&&"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 Q.ui.ddmanager&&(Q.ui.ddmanager.current=this),Q.ui.ddmanager&&!r.dropBehaviour&&Q.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(e),!0},_scroll:function(e){var t=this.options,i=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<t.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+t.scrollSpeed:e.pageY-this.overflowOffset.top<t.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-t.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<t.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+t.scrollSpeed:e.pageX-this.overflowOffset.left<t.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-t.scrollSpeed)):(e.pageY-this.document.scrollTop()<t.scrollSensitivity?i=this.document.scrollTop(this.document.scrollTop()-t.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<t.scrollSensitivity&&(i=this.document.scrollTop(this.document.scrollTop()+t.scrollSpeed)),e.pageX-this.document.scrollLeft()<t.scrollSensitivity?i=this.document.scrollLeft(this.document.scrollLeft()-t.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<t.scrollSensitivity&&(i=this.document.scrollLeft(this.document.scrollLeft()+t.scrollSpeed))),i},_mouseDrag:function(e){var t,i,n,s,r=this.options;for(this.position=this._generatePosition(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"),r.scroll&&!1!==this._scroll(e)&&(this._refreshItemPositions(!0),Q.ui.ddmanager&&!r.dropBehaviour&&Q.ui.ddmanager.prepareOffsets(this,e)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},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||Q.contains(this.placeholder[0],n)||"semi-dynamic"===this.options.type&&Q.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),Q.ui.ddmanager&&Q.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,t){var i,n,s,r;if(e)return Q.ui.ddmanager&&!this.options.dropBehaviour&&Q.ui.ddmanager.drop(this,e),this.options.revert?(n=(i=this).placeholder.offset(),r={},(s=this.options.axis)&&"x"!==s||(r.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),s&&"y"!==s||(r.to
vendor: 7,036 bytes, line 50
50p=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,Q(this.helper).animate(r,parseInt(this.options.revert,10)||500,function(){i._clear(e)})):this._clear(e,t),!1},cancel:function(){if(this.dragging){this._mouseUp(new Q.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"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(),Q.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?Q(this.domPosition.prev).after(this.currentItem):Q(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},Q(e).each(function(){var e=(Q(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(Q(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,r=e.left,o=r+e.width,a=e.top,l=a+e.height,u=this.offset.click.top,c=this.offset.click.left,u="x"===this.options.axis||a<n+u&&n+u<l,c="y"===this.options.axis||r<t+c&&t+c<o;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?u&&c:r<t+this.helperProportions.width/2&&i-this.helperProportions.width/2<o&&a<n+this.helperProportions.height/2&&s-this.helperProportions.height/2<l},_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);return!(!t||!e)&&(t=this.dragDirection.vertical,e=this.dragDirection.horizontal,this.floating?"right"===e||"down"===t?2:1:t&&("down"===t?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),n=this.dragDirection.vertical,e=this.dragDirection.horizontal;return this.floating&&e?"right"===e&&i||"left"===e&&!i:n&&("down"===n&&t||"up"===n&&!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;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(e){var t,i,n,s,r=[],o=[],a=this._connectWith();if(a&&e)for(t=a.length-1;0<=t;t--)for(i=(n=Q(a[t],this.document[0])).length-1;0<=i;i--)(s=Q.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&o.push(["function"==typeof s.options.items?s.options.items.call(s.element):Q(s.options.items,s.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),s]);function l(){r.push(this)}for(o.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):Q(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),t=o.length-1;0<=t;t--)o[t][0].each(l);return Q(r)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=Q.grep(this.items,function(e){for(var t=0;t<i.length;t++)if(i[t]===e.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var t,i,n,s,r,o,a,l,u=this.items,c=[["function"==typeof this.options.items?this.options.items.call(this.element[0],e,{item:this.currentItem}):Q(this.options.items,this.element),this]],h=this._connectWith();if(h&&this.ready)for(t=h.length-1;0<=t;t--)for(i=(n=Q(h[t],this.document[0])).length-1;0<=i;i--)(s=Q.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&(c.push(["function"==typeof s.options.items?s.options.items.call(s.element[0],e,{item:this.currentItem}):Q(s.options.items,s.element),s]),this.containers.push(s));for(t=c.length-1;0<=t;t--)for(r=c[t][1],l=(o=c[t][i=0]).length;i<l;i++)(a=Q(o[i])).data(this.widgetName+"-item",r),u.push({item:a,instance:r,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(e){for(var t,i,n=this.items.length-1;0<=n;n--)t=this.items[n],this.currentContainer&&t.instance!==this.currentContainer&&t.item[0]!==this.currentItem[0]||(i=this.options.toleranceElement?Q(this.options.toleranceElement,t.item):t.item,e||(t.width=i.outerWidth(),t.height=i.outerHeight()),i=i.offset(),t.left=i.left,t.top=i.top)},refreshPositions:function(e){var t,i;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(e),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)i=this.containers[t].element.offset(),this.containers[t].containerCache.left=i.left,this.containers[t].containerCache.top=i.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,r=(i=i||this).options;r.placeholder&&r.placeholder.constructor!==String||(n=r.placeholder,s=i.currentItem[0].nodeName.toLowerCase(),r.placeholder={element:function(){var e=Q("<"+s+">",i.document[0]);return i._addClass(e,"ui-sortable-placeholder",n||i.currentItem[0].className)._removeClass(e,"ui-sortable-helper"),"tbody"===s?i._createTrPlaceholder(i.currentItem.find("tr").eq(0),Q("<tr>",i.document[0]).appendTo(e)):"tr"===s?i._createTrPlaceholder(i.currentItem,e):"img"===s&&e.attr("src",i.currentItem.attr("src")),n||e.css("visibility","hidden"),e},update:function(e,t){n&&!r.forcePlaceholderSize||(t.height()&&(!r.forcePlaceholderSize||"tbody"!==s&&"tr"!==s)||t.height(i.currentItem.innerHe
vendor: 9,886 bytes, line 50
50ight()-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=Q(r.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),r.placeholder.update(i,i.placeholder)},_createTrPlaceholder:function(e,t){var i=this;e.children().each(function(){Q("<td>&#160;</td>",i.document[0]).attr("colspan",Q(this).attr("colspan")||1).appendTo(t)})},_contactContainers:function(e){for(var t,i,n,s,r,o,a,l,u,c=null,h=null,d=this.containers.length-1;0<=d;d--)Q.contains(this.currentItem[0],this.containers[d].element[0])||(this._intersectsWith(this.containers[d].containerCache)?c&&Q.contains(this.containers[d].element[0],c.element[0])||(c=this.containers[d],h=d):this.containers[d].containerCache.over&&(this.containers[d]._trigger("out",e,this._uiHash(this)),this.containers[d].containerCache.over=0));if(c)if(1===this.containers.length)this.containers[h].containerCache.over||(this.containers[h]._trigger("over",e,this._uiHash(this)),this.containers[h].containerCache.over=1);else{for(i=1e4,n=null,s=(l=c.floating||this._isFloating(this.currentItem))?"left":"top",r=l?"width":"height",u=l?"pageX":"pageY",t=this.items.length-1;0<=t;t--)Q.contains(this.containers[h].element[0],this.items[t].item[0])&&this.items[t].item[0]!==this.currentItem[0]&&(o=this.items[t].item.offset()[s],a=!1,e[u]-o>this.items[t][r]/2&&(a=!0),Math.abs(e[u]-o)<i&&(i=Math.abs(e[u]-o),n=this.items[t],this.direction=a?"up":"down"));(n||this.options.dropOnEmpty)&&(this.currentContainer!==this.containers[h]?(n?this._rearrange(e,n,null,!0):this._rearrange(e,null,this.containers[h].element,!0),this._trigger("change",e,this._uiHash()),this.containers[h]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[h],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[h]._trigger("over",e,this._uiHash(this)),this.containers[h].containerCache.over=1):this.currentContainer.containerCache.over||(this.containers[h]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1))}},_createHelper:function(e){var t=this.options,e="function"==typeof t.helper?Q(t.helper.apply(this.element[0],[e,this.currentItem])):"clone"===t.helper?this.currentItem.clone():this.currentItem;return e.parents("body").length||this.appendTo[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=Array.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]!==this.document[0]&&Q.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),{top:(e=this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&Q.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(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_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,"document"===i.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===i.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(e=Q(i.containment)[0],t=Q(i.containment).offset(),i="hidden"!==Q(e).css("overflow"),this.containment=[t.left+(parseInt(Q(e).css("borderLeftWidth"),10)||0)+(parseInt(Q(e).css("paddingLeft"),10)||0)-this.margins.left,t.top+(parseInt(Q(e).css("borderTopWidth"),10)||0)+(parseInt(Q(e).css("paddingTop"),10)||0)-this.margins.top,t.left+(i?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(Q(e).css("borderLeftWidth"),10)||0)-(parseInt(Q(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,t.top+(i?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(Q(e).css("borderTopWidth"),10)||0)-(parseInt(Q(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,t){t=t||this.position;var i="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&Q.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,e=/(html|body)/i.test(n[0].tagName);return{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():e?0:n.scrollTop())*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():e?0:n.scrollLeft())*i}},_generatePosition:function(e){var t=this.options,i=e.pageX,n=e.pageY,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&Q.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(s[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&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():r?0:s.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?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){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function s(t,i,n){return function(e){n._trigger(t,e,i._uiHash(i))}}for(this.fromOutside&&!t&&n.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||n.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(n.push(function(e){this._trigger("remove",e,this._uiHash())}),n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;0<=i;
vendor: 2,165 bytes, line 50
50i--)t||n.push(s("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(s("out",this,this.containers[i])),this.containers[i].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(i=0;i<n.length;i++)n[i].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===Q.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var t=e||this;return{helper:t.helper,placeholder:t.placeholder||Q([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:e?e.element:null}}});function ue(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}Q.widget("ui.spinner",{version:"1.13.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},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=this._super(),s=this.element;return Q.each(["min","max","step"],function(e,t){var i=s.attr(t);null!=i&&i.length&&(n[t]=i)}),n}
vendor: 5,469 bytes, line 50
50,_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",e))},mousewheel:function(e,t){var i=Q.ui.safeActiveElement(this.document[0]);if(this.element[0]===i&&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){var t;function i(){this.element[0]===Q.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=t,this._delay(function(){this.previous=t}))}t=this.element[0]===Q.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),!1!==this._start(e)&&this._repeat(null,Q(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(Q(e.currentTarget).hasClass("ui-state-active"))return!1!==this._start(e)&&void this._repeat(null,Q(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var t=this.options,i=Q.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},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e))&&(this.counter||(this.counter=1),this.spinning=!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?"function"==typeof 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 t=e.toString(),e=t.indexOf(".");return-1===e?0:t.length-e-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&&e<t.min?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;if("culture"===e||"numberFormat"===e)return i=this._parse(this.element.val()),this.options[e]=t,void this.element.val(this._format(i));"max"!==e&&"min"!==e&&"step"!==e||"string"==typeof t&&(t=this._parse(t)),"icons"===e&&(i=this.buttons.first().find(".ui-icon"),this._removeClass(i,null,this.options.icons.up),this._addClass(i,null,t.up),i=this.buttons.last().find(".ui-icon"),this._removeClass(i,null,this.options.icons.down),this._addClass(i,null,t.down)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!e),this.element.prop("disabled",!!e),this.buttons.button(e?"disable":"enable")},_setOptions:ue(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.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:ue(function(e){this._stepUp(e)}
vendor: 16,077 bytes, line 50
50),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:ue(function(e){this._stepDown(e)}),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:ue(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:ue(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){if(!arguments.length)return this._parse(this.element.val());ue(this._value).call(this,e)},widget:function(){return this.uiSpinner}}),!1!==Q.uiBackCompat&&Q.widget("ui.spinner",Q.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}});var ce;Q.ui.spinner;Q.widget("ui.tabs",{version:"1.13.2",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(ce=/#.*$/,function(e){var t=e.href.replace(ce,""),i=location.href.replace(ce,"");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._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,e.collapsible),this._processTabs(),e.active=this._initialActive(),Array.isArray(e.disabled)&&(e.disabled=Q.uniqueSort(e.disabled.concat(Q.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(e.active):this.active=Q(),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 null===i&&(n&&this.tabs.each(function(e,t){if(Q(t).attr("aria-controls")===n)return i=e,!1}),null!==(i=null===i?this.tabs.index(this.tabs.filter(".ui-tabs-active")):i)&&-1!==i||(i=!!this.tabs.length&&0)),!1!==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):Q()}},_tabKeydown:function(e){var t=Q(Q.ui.safeActiveElement(this.document[0])).closest("li"),i=this.tabs.index(t),n=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case Q.ui.keyCode.RIGHT:case Q.ui.keyCode.DOWN:i++;break;case Q.ui.keyCode.UP:case Q.ui.keyCode.LEFT:n=!1,i--;break;case Q.ui.keyCode.END:i=this.anchors.length-1;break;case Q.ui.keyCode.HOME:i=0;break;case Q.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i);case Q.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||e.metaKey||(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===Q.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===Q.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===Q.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){var i=this.tabs.length-1;for(;-1!==Q.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).trigger("focus"),e},_setOption:function(e,t){"active"!==e?(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t)):this._activate(t)},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=Q.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!Q.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=Q()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=Q()),this._refresh()},_refresh:function(){this._setOptionDisabled(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.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),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().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){Q(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){Q(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return Q("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=Q(),this.anchors.each(function(e,t){var i,n,s,r=Q(t).uniqueId().attr("id"),o=Q(t).closest("li"),a=o.attr("aria-controls");l._isLocal(t)?(s=(i=t.hash).substring(1),n=l.element.find(l._sanitizeSelector(i))):(s=o.attr("aria-controls")||Q({}).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&&o.data("ui-tabs-aria-controls",a),o.attr({"aria-controls":s,"aria-labelledby":r}),n.attr("aria-labelledby",r)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),e&&(this._off(e.not(this.tabs)),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 Q("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var t,i;for(Array.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),i=0;t=this.tabs[i];i++)t=Q(t),!0===e||-1!==Q.inArray(i,e)?(t.attr("aria-disabled","true"),this._addClass(t,null,"ui-state-disabled")):(t.removeAttr("aria-disabled"),this._removeClass(t,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var i={};e&&Q.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=Q(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=Q(this).outerHeight(!0)}),this.panels.each(function(){Q(this).height(Math.max(0,i-Q(this).innerHeight()+Q(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,Q(this).height("").height())}).height(i))},_eventHandler:function(e){var t=this.options,i=this.active,n=Q(e.currentTarget).closest("li"),s=n[0]===i[0],r=s&&t.collapsible,o=r?Q():this._getPanelForTab(n),a=i.length?this._getPanelForTab(i):Q(),i={oldTab:i,oldPanel:a,newTab:r?Q():n,newPanel:o};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=!r&&this.tabs.index(n),this.active=s?Q():n,this.xhr&&this.xhr.abort(),a.length||o.length||Q.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(n),e),this._toggle(e,i))},_toggle:function(e,t){var i=this,n=t.newPanel,s=t.oldPanel;function r(){i.running=!1,i._trigger("activate",e,t)}function o(){i._addClass(t.newTab.closest("li"),"ui-tabs-active","ui-state-active"),n.length&&i.options.show?i._show(n,i.options.show,r):(n.show(),r())}this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,function(){i._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o()}):(this._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),s.hide(),o()),s.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),n.length&&s.length?t.oldTab.attr("tabIndex",-1):n.length&&this.tabs.filter(function(){return 0===Q(this).attr("tabIndex")}).attr("tabIndex",-1),n.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?this.active:e).find(".ui-tabs-anchor")[0],this._eventHandler({target:e,currentTarget:e,preventDefault:Q.noop}))},_findActive:function(e){return!1===e?Q():this.tabs.eq(e)},_getIndex:function(e){return e="string"==typeof e?this.anchors.index(this.anchors.filter("[href$='"+Q.escapeSelector(e)+"']")):e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){Q.data(this,"ui-tabs-destroy")?Q(this).remove():Q(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=Q(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),Array.isArray(e)?Q.map(e,function(e){return e!==i?e:null}):Q.map(this.tabs,function(e,t){return t!==i?t:null})),this._setOptionDisabled(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!==Q.inArray(e,t))return;t=Array.isArray(t)?Q.merge([e],t).sort():[e]}this._setOptionDisabled(t)}},load:function(e,n){e=this._getIndex(e);function s(e,t){"abort"===t&&r.panels.stop(!1,!0),r._removeClass(i,"ui-tabs-loading"),o.removeAttr("aria-busy"),e===r.xhr&&delete r.xhr}var r=this,i=this.tabs.eq(e),e=i.find(".ui-tabs-anchor"),o=this._getPanelForTab(i),a={tab:i,panel:o};this._isLocal(e[0])||(this.xhr=Q.ajax(this._ajaxSettings(e,n,a)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(i,"ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.done(function(e,t,i){setTimeout(function(){o.html(e),r._trigger("load",n,a),s(i,t)},1)}).fail(function(e,t){setTimeout(function(){s(e,t)},1)})))},_ajaxSettings:function(e,i,n){var s=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,t){return s._trigger("beforeLoad",i,Q.extend({jqXHR:e,ajaxSettings:t},n))}}},_getPanelForTab:function(e){e=Q(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+e))}}),!1!==Q.uiBackCompat&&Q.widget("ui.tabs",Q.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}});Q.ui.tabs;Q.widget("ui.tooltip",{version:"1.13.2",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=Q(this).attr("title");return Q("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,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",String.prototype.trim.call(i.join(" ")))},_removeDescribedBy:function(e){var t=e.data("ui-tooltip-id"),i=(e.attr("aria-describedby")||"").split(/\s+/),t=Q.inArray(t,i);-1!==t&&i.splice(t,1),e.removeData("ui-tooltip-id"),(i=String.prototype.trim.call(i.join(" ")))?e.attr("aria-describedby",i):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=Q("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=Q([])},_setOption:function(e,t){var i=this;this._super(e,t),"content"===e&&Q.each(this.tooltips,function(e,t){i._updateContent(t.element)})},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var n=this;Q.each(this.tooltips,function(e,t){var i=Q.Event("blur");i.target=i.currentTarget=t.element[0],n.close(i,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=Q(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=Q(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=Q([])},open:function(e){var i=this,t=Q(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=Q(this);t.data("ui-tooltip-open")&&((e=Q.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._registerCloseHandlers(e,t),this._updateContent(t,e))},_updateContent:function(t,i){var e=this.options.content,n=this,s=i?i.type:null;if("string"==typeof e||e.nodeType||e.jquery)return this._open(i,t,e);(e=e.call(t[0],function(e){n._delay(function(){t.data("ui-tooltip-open")&&(i&&(i.type=s),this._open(i,t,e))})}))&&this._open(i,t,e)},_open:function(e,t,i){var n,s,r,o=Q.extend({},this.options.position);function a(e){o.of=e,s.is(":hidden")||s.position(o)}i&&((n=this._find(t))?n.tooltip.find(".ui-tooltip-content").html(i):(t.is("[title]")&&(e&&"mouseover"===e.type?t.attr("title",""):t.removeAttr("title")),n=this._tooltip(t),s=n.tooltip,this._addDescribedBy(t,s.attr("id")),s.find(".ui-tooltip-content").html(i),this.liveRegion.children().hide(),(i=Q("<div>").html(s.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),i.removeAttr("id").find("[id]").removeAttr("id"),i.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:a}),a(e)):s.position(Q.extend({of:t},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(r=this.delayedShow=setInterval(function(){s.is(":visible")&&(a(o.of),clearInterval(r))},13)),this._trigger("open",e,{tooltip:s}
vendor: 2,224 bytes, line 50
50)))},_registerCloseHandlers:function(e,t){var i={keyup:function(e){e.keyCode===Q.ui.keyCode.ESCAPE&&((e=Q.Event(e)).currentTarget=t[0],this.close(e,!0))}};t[0]!==this.element[0]&&(i.remove=function(){var e=this._find(t);e&&this._removeTooltip(e.tooltip)}),e&&"mouseover"!==e.type||(i.mouseleave="close"),e&&"focusin"!==e.type||(i.focusout="close"),this._on(!0,t,i)},close:function(e){var t,i=this,n=Q(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(Q(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&&Q.each(this.parents,function(e,t){Q(t.element).attr("title",t.title),delete i.parents[e]}),s.closing=!0,this._trigger("close",e,{tooltip:t}),s.hiding||(s.closing=!1))):n.removeData("ui-tooltip-open")},_tooltip:function(e){var t=Q("<div>").attr("role","tooltip"),i=Q("<div>").appendTo(t),n=t.uniqueId().attr("id");return this._addClass(i,"ui-tooltip-content"),this._addClass(t,"ui-tooltip","ui-widget ui-widget-content"),t.appendTo(this._appendTo(e)),this.tooltips[n]={element:e,tooltip:t}},_find:function(e){e=e.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(e){clearInterval(this.delayedShow),e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){e=e.closest(".ui-front, dialog");return e=!e.length?this.document[0].body:e},_destroy:function(){var n=this;Q.each(this.tooltips,function(e,t){var i=Q.Event("blur"),t=t.element;i.target=i.currentTarget=t[0],n.close(i,!0),Q("#"+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()}}),!1!==Q.uiBackCompat&&Q.widget("ui.tooltip",Q.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}});Q.ui.tooltip});

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.