((e,t)=>{"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)})("undefined"!=typeof window?window:this,function(h,P){function M(e,t){return t.toUpperCase()}var e=[],c=e.slice,R=e.concat,W=e.push,i=e.indexOf,n={},$=n.toString,B=n.hasOwnProperty,g={},m=h.document,t="2.1.1",w=function(e,t){return new w.fn.init(e,t)},I=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,_=/^-ms-/,z=/-([\da-z])/gi;function X(e){var t=e.length,n=w.type(e);return"function"!==n&&!w.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}w.fn=w.prototype={jquery:t,constructor:w,selector:"",length:0,toArray:function(){return c.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:c.call(this)},pushStack:function(e){e=w.merge(this.constructor(),e);return e.prevObject=this,e.context=this.context,e},each:function(e,t){return w.each(this,e,t)},map:function(n){return this.pushStack(w.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:W,sort:e.sort,splice:e.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o=arguments[0]||{},s=1,a=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[s]||{},s++),"object"==typeof o||w.isFunction(o)||(o={}),s===a&&(o=this,s--);s<a;s++)if(null!=(e=arguments[s]))for(t in e)i=o[t],n=e[t],o!==n&&(u&&n&&(w.isPlainObject(n)||(r=w.isArray(n)))?(i=r?(r=!1,i&&w.isArray(i)?i:[]):i&&w.isPlainObject(i)?i:{},o[t]=w.extend(u,i,n)):void 0!==n&&(o[t]=n));return o},w.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===w.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!w.isArray(e)&&0<=e-parseFloat(e)},isPlainObject:function(e){return!("object"!==w.type(e)||e.nodeType||w.isWindow(e)||e.constructor&&!B.call(e.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(e){for(var t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[$.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=w.trim(e))&&(1===e.indexOf("use strict")?((t=m.createElement("script")).text=e,m.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(_,"ms-").replace(z,M)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,s=X(e);if(n){if(s)for(;i<o&&!1!==(r=t.apply(e[i],n));i++);else for(i in e)if(r=t.apply(e[i],n),!1===r)break}else if(s)for(;i<o&&!1!==(r=t.call(e[i],i,e[i]));i++);else for(i in e)if(r=t.call(e[i],i,e[i]),!1===r)break;return e},trim:function(e){return null==e?"":(e+"").replace(I,"")},makeArray:function(e,t){t=t||[];return null!=e&&(X(Object(e))?w.merge(t,"string"==typeof e?[e]:e):W.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!=s&&r.push(e[i]);return r},map:function(e,t,n){var r,i=0,o=e.length,s=[];if(X(e))for(;i<o;i++)null!=(r=t(e[i],i,n))&&s.push(r);else for(i in e)r=t(e[i],i,n),null!=r&&s.push(r);return R.apply([],s)},guid:1,proxy:function(e,t){var n,r;return"string"==typeof t&&(r=e[t],t=e,e=r),w.isFunction(e)?(n=c.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(c.call(arguments)))}).guid=e.guid=e.guid||w.guid++,r):void 0},now:Date.now,support:g}),w.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var e=(P=>{function f(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(65536+r):String.fromCharCode(r>>10|55296,1023&r|56320)}var e,p,b,o,M,d,R,W,w,l,c,h,T,t,g,m,r,i,v,x="sizzle"+-new Date,y=P.document,C=0,$=0,B=le(),I=le(),_=le(),z=function(e,t){return e===t&&(c=!0),0},n="undefined",X={}.hasOwnProperty,s=[],U=s.pop,V=s.push,N=s.push,Y=s.slice,k=s.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},G="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",a="[\\x20\\t\\r\\n\\f]",u="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",Q=u.replace("w","w#"),J="\\["+a+"*("+u+")(?:"+a+"*([*^$|!~]?=)"+a+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Q+"))|)"+a+"*\\]",K=":("+u+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+J+")*)|.*)\\)|)",E=new RegExp("^"+a+"+|((?:^|[^\\\\])(?:\\\\.)*)"+a+"+$","g"),Z=new RegExp("^"+a+"*,"+a+"*"),ee=new RegExp("^"+a+"*([>+~]|"+a+")"+a+"*"),te=new RegExp("="+a+"*([^\\]'\"]*?)"+a+"*\\]","g"),ne=new RegExp(K),re=new RegExp("^"+Q+"$"),S={ID:new RegExp("^#("+u+")"),CLASS:new RegExp("^\\.("+u+")"),TAG:new RegExp("^("+u.replace("w","w*")+")"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+K),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+a+"*(even|odd|(([+-]|)(\\d*)n|)"+a+"*(?:([+-]|)"+a+"*(\\d+)|))"+a+"*\\)|)","i"),bool:new RegExp("^(?:"+G+")$","i"),needsContext:new RegExp("^"+a+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+a+"*((?:-\\d)?\\d*)"+a+"*\\)|)(?=[^-]|$)","i")},ie=/^(?:input|select|textarea|button)$/i,oe=/^h\d$/i,j=/^[^{]+\{\s*\[native \w/,se=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ae=/[+~]/,ue=/'|\\/g,D=new RegExp("\\\\([\\da-f]{1,6}"+a+"?|("+a+")|.)","ig");try{N.apply(s=Y.call(y.childNodes),y.childNodes),s[y.childNodes.length].nodeType}catch(e){N={apply:s.length?function(e,t){V.apply(e,Y.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function A(e,t,n,r){var i,o,s,a,u,l,c;if((t?t.ownerDocument||t:y)!==T&&h(t),n=n||[],!e||"string"!=typeof e)return n;if(1!==(i=(t=t||T).nodeType)&&9!==i)return[];if(g&&!r){if(l=se.exec(e))if(c=l[1]){if(9===i){if(!(a=t.getElementById(c))||!a.parentNode)return n;if(a.id===c)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(c))&&v(t,a)&&a.id===c)return n.push(a),n}else{if(l[2])return N.apply(n,t.getElementsByTagName(e)),n;if((c=l[3])&&p.getElementsByClassName&&t.getElementsByClassName)return N.apply(n,t.getElementsByClassName(c)),n}if(p.qsa&&(!m||!m.test(e))){if(u=a=x,l=t,c=9===i&&e,1===i&&"object"!==t.nodeName.toLowerCase()){for(s=d(e),(a=t.getAttribute("id"))?u=a.replace(ue,"\\$&"):t.setAttribute("id",u),u="[id='"+u+"'] ",o=s.length;o--;)s[o]=u+O(s[o]);l=ae.test(e)&&pe(t.parentNode)||t,c=s.join(",")}if(c)try{return N.apply(n,l.querySelectorAll(c)),n}catch(e){}finally{a||t.removeAttribute("id")}}}return W(e.replace(E,"$1"),t,n,r)}function le(){var n=[];function r(e,t){return n.push(e+" ")>b.cacheLength&&delete r[n.shift()],r[e+" "]=t}return r}function L(e){return e[x]=!0,e}function q(e){var t=T.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function ce(e,t){for(var n=e.split("|"),r=e.length;r--;)b.attrHandle[n[r]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function H(s){return L(function(o){return o=+o,L(function(e,t){for(var n,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function pe(e){return e&&typeof e.getElementsByTagName!==n&&e}for(e in p=A.support={},M=A.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},h=A.setDocument=function(e){var u=e?e.ownerDocument||e:y,e=u.defaultView;return u!==T&&9===u.nodeType&&u.documentElement?(t=(T=u).documentElement,g=!M(u),e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",function(){h()},!1):e.attachEvent&&e.attachEvent("onunload",function(){h()})),p.attributes=q(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=q(function(e){return e.appendChild(u.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=j.test(u.getElementsByClassName)&&q(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),p.getById=q(function(e){return t.appendChild(e).id=x,!u.getElementsByName||!u.getElementsByName(x).length}),p.getById?(b.find.ID=function(e,t){if(typeof t.getElementById!==n&&g)return(t=t.getElementById(e))&&t.parentNode?[t]:[]},b.filter.ID=function(e){var t=e.replace(D,f);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(D,f);return function(e){e=typeof e.getAttributeNode!==n&&e.getAttributeNode("id");return e&&e.value===t}}),b.find.TAG=p.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==n?t.getElementsByTagName(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=p.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==n&&g?t.getElementsByClassName(e):void 0},r=[],m=[],(p.qsa=j.test(u.querySelectorAll))&&(q(function(e){e.innerHTML="<select msallowclip=''><option selected=''></option></select>",e.querySelectorAll("[msallowclip^='']").length&&m.push("[*^$]="+a+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+a+"*(?:value|"+G+")"),e.querySelectorAll(":checked").length||m.push(":checked")}),q(function(e){var t=u.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+a+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(p.matchesSelector=j.test(i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector))&&q(function(e){p.disconnectedMatch=i.call(e,"div"),i.call(e,"[s!='']:x"),r.push("!=",K)}),m=m.length&&new RegExp(m.join("|")),r=r.length&&new RegExp(r.join("|")),e=j.test(t.compareDocumentPosition),v=e||j.test(t.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},z=e?function(e,t){var n;return e===t?(c=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e===u||e.ownerDocument===y&&v(y,e)?-1:t===u||t.ownerDocument===y&&v(y,t)?1:l?k.call(l,e)-k.call(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===u?-1:t===u?1:i?-1:o?1:l?k.call(l,e)-k.call(l,t):0;if(i===o)return fe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?fe(s[r],a[r]):s[r]===y?-1:a[r]===y?1:0},u):T},A.matches=function(e,t){return A(e,null,null,t)},A.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&h(e),t=t.replace(te,"='$1']"),!(!p.matchesSelector||!g||r&&r.test(t)||m&&m.test(t)))try{var n=i.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<A(t,T,null,[e]).length},A.contains=function(e,t){return(e.ownerDocument||e)!==T&&h(e),v(e,t)},A.attr=function(e,t){(e.ownerDocument||e)!==T&&h(e);var n=b.attrHandle[t.toLowerCase()],n=n&&X.call(b.attrHandle,t.toLowerCase())?n(e,t,!g):void 0;return void 0!==n?n:p.attributes||!g?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},A.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,n=[],r=0,i=0;if(c=!p.detectDuplicates,l=!p.sortStable&&e.slice(0),e.sort(z),c){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return l=null,e},o=A.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=A.selectors={cacheLength:50,createPseudo:L,match:S,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(D,f),e[3]=(e[3]||e[4]||e[5]||"").replace(D,f),"~="===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]||A.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]&&A.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return S.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ne.test(n)&&(t=(t=d(n,!0))&&n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(D,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+a+")"+e+"("+a+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==n&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=A.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1<e.indexOf(r):"$="===n?r&&e.slice(-r.length)===r:"~="===n?-1<(" "+e+" ").indexOf(r):"|="===n&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(d,e,t,h,g){var m="nth"!==d.slice(0,3),v="last"!==d.slice(-4),y="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,s,a,u,l=m!=v?"nextSibling":"previousSibling",c=e.parentNode,f=y&&e.nodeName.toLowerCase(),p=!n&&!y;if(c){if(m){for(;l;){for(o=e;o=o[l];)if(y?o.nodeName.toLowerCase()===f:1===o.nodeType)return!1;u=l="only"===d&&!u&&"nextSibling"}return!0}if(u=[v?c.firstChild:c.lastChild],v&&p){for(a=(r=(i=c[x]||(c[x]={}))[d]||[])[0]===C&&r[1],s=r[0]===C&&r[2],o=a&&c.childNodes[a];o=++a&&o&&o[l]||(s=a=0,u.pop());)if(1===o.nodeType&&++s&&o===e){i[d]=[C,a,s];break}}else if(p&&(r=(e[x]||(e[x]={}))[d])&&r[0]===C)s=r[1];else for(;(o=++a&&o&&o[l]||(s=a=0,u.pop()))&&((y?o.nodeName.toLowerCase()!==f:1!==o.nodeType)||!++s||(p&&((o[x]||(o[x]={}))[d]=[C,s]),o!==e)););return(s-=g)===h||s%h==0&&0<=s/h}}},PSEUDO:function(e,o){var t,s=b.pseudos[e]||b.setFilters[e.toLowerCase()]||A.error("unsupported pseudo: "+e);return s[x]?s(o):1<s.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?L(function(e,t){for(var n,r=s(e,o),i=r.length;i--;)e[n=k.call(e,r[i])]=!(t[n]=r[i])}):function(e){return s(e,0,t)}):s}},pseudos:{not:L(function(e){var r=[],i=[],a=R(e.replace(E,"$1"));return a[x]?L(function(e,t,n,r){for(var i,o=a(e,null,r,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))}):function(e,t,n){return r[0]=e,a(r,null,n,i),!i.pop()}}),has:L(function(t){return function(e){return 0<A(t,e).length}}),contains:L(function(t){return function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:L(function(n){return re.test(n||"")||A.error("unsupported lang: "+n),n=n.replace(D,f).toLowerCase(),function(e){var t;do{if(t=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=P.location&&P.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===t},focus:function(e){return e===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return oe.test(e.nodeName)},input:function(e){return ie.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:H(function(){return[0]}),last:H(function(e,t){return[t-1]}),eq:H(function(e,t,n){return[n<0?n+t:n]}),even:H(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:H(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:H(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:H(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=(t=>function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t})(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=(n=>function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n})(e);function de(){}function O(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function he(s,e,t){var a=e.dir,u=t&&"parentNode"===a,l=$++;return e.first?function(e,t,n){for(;e=e[a];)if(1===e.nodeType||u)return s(e,t,n)}:function(e,t,n){var r,i,o=[C,l];if(n){for(;e=e[a];)if((1===e.nodeType||u)&&s(e,t,n))return!0}else for(;e=e[a];)if(1===e.nodeType||u){if((r=(i=e[x]||(e[x]={}))[a])&&r[0]===C&&r[1]===l)return o[2]=r[2];if((i[a]=o)[2]=s(e,t,n))return!0}}}function ge(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function F(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,l=null!=t;a<u;a++)(o=e[a])&&(!n||n(o,r,i))&&(s.push(o),l)&&t.push(a);return s}function me(d,h,g,m,v,e){return m&&!m[x]&&(m=me(m)),v&&!v[x]&&(v=me(v,e)),L(function(e,t,n,r){var i,o,s,a=[],u=[],l=t.length,c=e||((e,t,n)=>{for(var r=0,i=t.length;r<i;r++)A(e,t[r],n);return n})(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:F(c,a,d,n,r),p=g?v||(e?d:l||m)?[]:t:f;if(g&&g(f,p,n,r),m)for(i=F(p,u),m(i,[],n,r),o=i.length;o--;)(s=i[o])&&(p[u[o]]=!(f[u[o]]=s));if(e){if(v||d){if(v){for(i=[],o=p.length;o--;)(s=p[o])&&i.push(f[o]=s);v(null,p=[],i,r)}for(o=p.length;o--;)(s=p[o])&&-1<(i=v?k.call(e,s):a[o])&&(e[i]=!(t[i]=s))}}else p=F(p===t?p.splice(l,p.length):p),v?v(null,t,p,r):N.apply(t,p)})}function ve(m,v){function e(e,t,n,r,i){var o,s,a,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=C+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t!==T&&t);l!==g&&null!=(o=d[l]);l++){if(x&&o){for(s=0;a=m[s++];)if(a(o,t,n)){r.push(o);break}i&&(C=h)}y&&((o=!a&&o)&&u--,e)&&c.push(o)}if(u+=l,y&&l!==u){for(s=0;a=v[s++];)a(c,f,t,n);if(e){if(0<u)for(;l--;)c[l]||f[l]||(f[l]=U.call(r));f=F(f)}N.apply(r,f),i&&!e&&0<f.length&&1<u+v.length&&A.uniqueSort(r)}return i&&(C=h,w=p),c}var y=0<v.length,x=0<m.length;return y?L(e):e}return de.prototype=b.filters=b.pseudos,b.setFilters=new de,d=A.tokenize=function(e,t){var n,r,i,o,s,a,u,l=I[e+" "];if(l)return t?0:l.slice(0);for(s=e,a=[],u=b.preFilter;s;){for(o in n&&!(r=Z.exec(s))||(r&&(s=s.slice(r[0].length)||s),a.push(i=[])),n=!1,(r=ee.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(E," ")}),s=s.slice(n.length)),b.filter)!(r=S[o].exec(s))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?A.error(e):I(e,a).slice(0)},R=A.compile=function(e,t){var n,r=[],i=[],o=_[e+" "];if(!o){for(n=(t=t||d(e)).length;n--;)((o=function e(t){for(var r,n,i,o=t.length,s=b.relative[t[0].type],a=s||b.relative[" "],u=s?1:0,l=he(function(e){return e===r},a,!0),c=he(function(e){return-1<k.call(r,e)},a,!0),f=[function(e,t,n){return!s&&(n||t!==w)||((r=t).nodeType?l:c)(e,t,n)}];u<o;u++)if(n=b.relative[t[u].type])f=[he(ge(f),n)];else{if((n=b.filter[t[u].type].apply(null,t[u].matches))[x]){for(i=++u;i<o&&!b.relative[t[i].type];i++);return me(1<u&&ge(f),1<u&&O(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(E,"$1"),n,u<i&&e(t.slice(u,i)),i<o&&e(t=t.slice(i)),i<o&&O(t))}f.push(n)}return ge(f)}(t[n]))[x]?r:i).push(o);(o=_(e,ve(i,r))).selector=e}return o},W=A.select=function(e,t,n,r){var i,o,s,a,u,l="function"==typeof e&&e,c=!r&&d(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(s=o[0]).type&&p.getById&&9===t.nodeType&&g&&b.relative[o[1].type]){if(!(t=(b.find.ID(s.matches[0].replace(D,f),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=S.needsContext.test(e)?0:o.length;i--&&(s=o[i],!b.relative[a=s.type]);)if((u=b.find[a])&&(r=u(s.matches[0].replace(D,f),ae.test(o[0].type)&&pe(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&O(o))break;return N.apply(n,r),n}}return(l||R(e,c))(r,t,!g,n,ae.test(e)&&pe(t.parentNode)||t),n},p.sortStable=x.split("").sort(z).join("")===x,p.detectDuplicates=!!c,h(),p.sortDetached=q(function(e){return 1&e.compareDocumentPosition(T.createElement("div"))}),q(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ce("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),p.attributes&&q(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ce("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),q(function(e){return null==e.getAttribute("disabled")})||ce(G,function(e,t,n){return n?void 0:!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),A})(h),U=(w.find=e,w.expr=e.selectors,w.expr[":"]=w.expr.pseudos,w.unique=e.uniqueSort,w.text=e.getText,w.isXMLDoc=e.isXML,w.contains=e.contains,w.expr.match.needsContext),V=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Y=/^.[^:#\[\.,]*$/;function G(e,n,r){if(w.isFunction(n))return w.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return w.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(Y.test(n))return w.filter(n,e,r);n=w.filter(n,e)}return w.grep(e,function(e){return 0<=i.call(n,e)!==r})}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<n;t++)if(w.contains(i[t],this))return!0}));for(t=0;t<n;t++)w.find(e,i[t],r);return(r=this.pushStack(1<n?w.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(G(this,e||[],!1))},not:function(e){return this.pushStack(G(this,e||[],!0))},is:function(e){return!!G(this,"string"==typeof e&&U.test(e)?w(e):e||[],!1).length}});var o,Q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,J=((w.fn.init=function(e,t){var n,r;if(e){if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):w.isFunction(e)?void 0!==o.ready?o.ready(e):e(w):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),w.makeArray(e,this));if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Q.exec(e))||!n[1]&&t)return(!t||t.jquery?t||o:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),V.test(n[1])&&w.isPlainObject(t))for(n in t)w.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n])}else(r=m.getElementById(n[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=m,this.selector=e}return this}).prototype=w.fn,o=w(m),/^(?:parents|prev(?:Until|All))/),K={children:!0,contents:!0,next:!0,prev:!0};function Z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.extend({dir:function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],s=U.test(e)||"string"!=typeof e?w(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?w.unique(o):o)},index:function(e){return e?"string"==typeof e?i.call(w(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.unique(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return w.dir(e,"parentNode")},parentsUntil:function(e,t,n){return w.dir(e,"parentNode",n)},next:function(e){return Z(e,"nextSibling")},prev:function(e){return Z(e,"previousSibling")},nextAll:function(e){return w.dir(e,"nextSibling")},prevAll:function(e){return w.dir(e,"previousSibling")},nextUntil:function(e,t,n){return w.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return w.dir(e,"previousSibling",n)},siblings:function(e){return w.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return w.sibling(e.firstChild)},contents:function(e){return e.contentDocument||w.merge([],e.childNodes)}},function(r,i){w.fn[r]=function(e,t){var n=w.map(this,i,e);return(t="Until"!==r.slice(-5)?e:t)&&"string"==typeof t&&(n=w.filter(t,n)),1<this.length&&(K[r]||w.unique(n),J.test(r))&&n.reverse(),this.pushStack(n)}});var r,T=/\S+/g,ee={};function s(){m.removeEventListener("DOMContentLoaded",s,!1),h.removeEventListener("load",s,!1),w.ready()}w.Callbacks=function(i){var e,n;i="string"==typeof i?ee[i]||(n=ee[e=i]={},w.each(e.match(T)||[],function(e,t){n[t]=!0}),n):w.extend({},i);function r(e){for(t=i.memory&&e,o=!0,l=a||0,a=0,u=c.length,s=!0;c&&l<u;l++)if(!1===c[l].apply(e[0],e[1])&&i.stopOnFalse){t=!1;break}s=!1,c&&(f?f.length&&r(f.shift()):t?c=[]:p.disable())}var t,o,s,a,u,l,c=[],f=!i.once&&[],p={add:function(){var e;return c&&(e=c.length,function r(e){w.each(e,function(e,t){var n=w.type(t);"function"===n?i.unique&&p.has(t)||c.push(t):t&&t.length&&"string"!==n&&r(t)})}(arguments),s?u=c.length:t&&(a=e,r(t))),this},remove:function(){return c&&w.each(arguments,function(e,t){for(var n;-1<(n=w.inArray(t,c,n));)c.splice(n,1),s&&(n<=u&&u--,n<=l)&&l--}),this},has:function(e){return e?-1<w.inArray(e,c):!(!c||!c.length)},empty:function(){return c=[],u=0,this},disable:function(){return c=f=t=void 0,this},disabled:function(){return!c},lock:function(){return f=void 0,t||p.disable(),this},locked:function(){return!f},fireWith:function(e,t){return!c||o&&!f||(t=[e,(t=t||[]).slice?t.slice():t],s?f.push(t):r(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!o}};return p},w.extend({Deferred:function(e){var o=[["resolve","done",w.Callbacks("once memory"),"resolved"],["reject","fail",w.Callbacks("once memory"),"rejected"],["notify","progress",w.Callbacks("memory")]],i="pending",s={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var i=arguments;return w.Deferred(function(r){w.each(o,function(e,t){var n=w.isFunction(i[e])&&i[e];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&w.isFunction(e.promise)?e.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[t[0]+"With"](this===s?r.promise():this,n?[e]:arguments)})}),i=null}).promise()},promise:function(e){return null!=e?w.extend(e,s):s}},a={};return s.pipe=s.then,w.each(o,function(e,t){var n=t[2],r=t[3];s[t[1]]=n.add,r&&n.add(function(){i=r},o[1^e][2].disable,o[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?s:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(e){function t(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?c.call(arguments):e,r===i?l.notifyWith(n,r):--u||l.resolveWith(n,r)}}var i,n,r,o=0,s=c.call(arguments),a=s.length,u=1!==a||e&&w.isFunction(e.promise)?a:0,l=1===u?e:w.Deferred();if(1<a)for(i=new Array(a),n=new Array(a),r=new Array(a);o<a;o++)s[o]&&w.isFunction(s[o].promise)?s[o].promise().done(t(o,r,s)).fail(l.reject).progress(t(o,n,i)):--u;return u||l.resolveWith(r,s),l.promise()}}),w.fn.ready=function(e){return w.ready.promise().done(e),this},w.extend({isReady:!1,readyWait:1,holdReady:function(e){e?w.readyWait++:w.ready(!0)},ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0)!==e&&0<--w.readyWait||(r.resolveWith(m,[w]),w.fn.triggerHandler&&(w(m).triggerHandler("ready"),w(m).off("ready")))}}),w.ready.promise=function(e){return r||(r=w.Deferred(),"complete"===m.readyState?setTimeout(w.ready):(m.addEventListener("DOMContentLoaded",s,!1),h.addEventListener("load",s,!1))),r.promise(e)},w.ready.promise();var a=w.access=function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===w.type(n))for(a in i=!0,n)w.access(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,w.isFunction(r)||(s=!0),t=l?s?(t.call(e,r),null):(l=t,function(e,t,n){return l.call(w(e),n)}):t))for(;a<u;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o};function u(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=w.expando+Math.random()}w.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},u.uid=1,u.accepts=w.acceptData,u.prototype={key:function(t){if(!u.accepts(t))return 0;var n={},r=t[this.expando];if(!r){r=u.uid++;try{n[this.expando]={value:r},Object.defineProperties(t,n)}catch(e){n[this.expando]=r,w.extend(t,n)}}return this.cache[r]||(this.cache[r]={}),r},set:function(e,t,n){var r,e=this.key(e),i=this.cache[e];if("string"==typeof t)i[t]=n;else if(w.isEmptyObject(i))w.extend(this.cache[e],t);else for(r in t)i[r]=t[r];return i},get:function(e,t){e=this.cache[this.key(e)];return void 0===t?e:e[t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(r=this.get(e,t))?r:this.get(e,w.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,e=this.key(e),i=this.cache[e];if(void 0===t)this.cache[e]={};else{n=(r=w.isArray(t)?t.concat(t.map(w.camelCase)):(e=w.camelCase(t),t in i?[t,e]:(r=e)in i?[r]:r.match(T)||[])).length;for(;n--;)delete i[r[n]]}},hasData:function(e){return!w.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var v=new u,l=new u,te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ne=/([A-Z])/g;function re(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ne,"-$1").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:te.test(n)?w.parseJSON(n):n)}catch(e){}l.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return l.hasData(e)||v.hasData(e)},data:function(e,t,n){return l.access(e,t,n)},removeData:function(e,t){l.remove(e,t)},_data:function(e,t,n){return v.access(e,t,n)},_removeData:function(e,t){v.remove(e,t)}}),w.fn.extend({data:function(r,e){var t,n,i,o=this[0],s=o&&o.attributes;if(void 0!==r)return"object"==typeof r?this.each(function(){l.set(this,r)}):a(this,function(t){var e,n=w.camelCase(r);if(o&&void 0===t)return void 0!==(e=l.get(o,r))||void 0!==(e=l.get(o,n))||void 0!==(e=re(o,n,void 0))?e:void 0;this.each(function(){var e=l.get(this,n);l.set(this,n,t),-1!==r.indexOf("-")&&void 0!==e&&l.set(this,r,t)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=l.get(o),1===o.nodeType)&&!v.get(o,"hasDataAttrs")){for(t=s.length;t--;)s[t]&&0===(n=s[t].name).indexOf("data-")&&(n=w.camelCase(n.slice(5)),re(o,n,i[n]));v.set(o,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){l.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;return e?(r=v.get(e,t=(t||"fx")+"queue"),n&&(!r||w.isArray(n)?r=v.access(e,t,w.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){w.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v.get(e,n)||v.access(e,n,{empty:w.Callbacks("once memory").add(function(){v.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?w.queue(this[0],t):void 0===n?this:this.each(function(){var e=w.queue(this,t,n);w._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&w.dequeue(this,t)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(s,[s])}var r,i=1,o=w.Deferred(),s=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(r=v.get(s[a],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});function y(e,t){return"none"===w.css(e=t||e,"display")||!w.contains(e.ownerDocument,e)}var t=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,f=["Top","Right","Bottom","Left"],ie=/^(?:checkbox|radio)$/i,x=(e=m.createDocumentFragment().appendChild(m.createElement("div")),(A=m.createElement("input")).setAttribute("type","radio"),A.setAttribute("checked","checked"),A.setAttribute("name","t"),e.appendChild(A),g.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,"undefined"),oe=(g.focusinBubbles="onfocusin"in h,/^key/),se=/^(?:mouse|pointer|contextmenu)|click/,ae=/^(?:focusinfocus|focusoutblur)$/,ue=/^([^.]*)(?:\.(.+)|)$/;function p(){return!0}function d(){return!1}function le(){try{return m.activeElement}catch(e){}}w.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h=v.get(t);if(h)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=w.guid++),a=(a=h.events)||(h.events={}),s=(s=h.handle)||(h.handle=function(e){return typeof w!=x&&w.event.triggered!==e.type?w.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(T)||[""]).length;u--;)f=d=(p=ue.exec(e[u])||[])[1],p=(p[2]||"").split(".").sort(),f&&(l=w.event.special[f]||{},f=(i?l.delegateType:l.bindType)||f,l=w.event.special[f]||{},d=w.extend({type:f,origType:d,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:p.join(".")},o),(c=a[f])||((c=a[f]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,r,p,s))||t.addEventListener&&t.addEventListener(f,s,!1),l.add&&(l.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),i?c.splice(c.delegateCount++,0,d):c.push(d),w.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,m=v.hasData(e)&&v.get(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(T)||[""]).length;l--;)if(d=g=(a=ue.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||w.removeEvent(e,d,m.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&(delete m.handle,v.remove(e,"events"))}},trigger:function(e,t,n,r){var i,o,s,a,u,l,c=[n||m],f=B.call(e,"type")?e.type:e,p=B.call(e,"namespace")?e.namespace.split("."):[],d=o=n=n||m;if(3!==n.nodeType&&8!==n.nodeType&&!ae.test(f+w.event.triggered)&&(0<=f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),a=f.indexOf(":")<0&&"on"+f,(e=e[w.expando]?e:new w.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:w.makeArray(t,[e]),l=w.event.special[f]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!w.isWindow(n)){for(s=l.delegateType||f,ae.test(s+f)||(d=d.parentNode);d;d=d.parentNode)c.push(d),o=d;o===(n.ownerDocument||m)&&c.push(o.defaultView||o.parentWindow||h)}for(i=0;(d=c[i++])&&!e.isPropagationStopped();)e.type=1<i?s:l.bindType||f,(u=(v.get(d,"events")||{})[e.type]&&v.get(d,"handle"))&&u.apply(d,t),(u=a&&d[a])&&u.apply&&w.acceptData(d)&&(e.result=u.apply(d,t),!1===e.result)&&e.preventDefault();return e.type=f,r||e.isDefaultPrevented()||l._default&&!1!==l._default.apply(c.pop(),t)||!w.acceptData(n)||a&&w.isFunction(n[f])&&!w.isWindow(n)&&((o=n[a])&&(n[a]=null),n[w.event.triggered=f](),w.event.triggered=void 0,o)&&(n[a]=o),e.result}},dispatch:function(e){e=w.event.fix(e);var t,n,r,i,o,s=c.call(arguments),a=(v.get(this,"events")||{})[e.type]||[],u=w.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(o=w.event.handlers.call(this,e,a),t=0;(r=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(i.namespace)||(e.handleObj=i,e.data=i.data,void 0===(i=((w.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,s)))||!1!==(e.result=i)||(e.preventDefault(),e.stopPropagation());return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(!0!==u.disabled||"click"!==e.type){for(r=[],n=0;n<a;n++)void 0===r[i=(o=t[n]).selector+" "]&&(r[i]=o.needsContext?0<=w(i,this).index(u):w.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i=t.button;return null==e.pageX&&null!=t.clientX&&(n=(r=e.target.ownerDocument||m).documentElement,r=r.body,e.pageX=t.clientX+(n&&n.scrollLeft||r&&r.scrollLeft||0)-(n&&n.clientLeft||r&&r.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||r&&r.scrollTop||0)-(n&&n.clientTop||r&&r.clientTop||0)),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e}},fix:function(e){if(e[w.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];for(s||(this.fixHooks[i]=s=se.test(i)?this.mouseHooks:oe.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new w.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=m),3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==le()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===le()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&w.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return w.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){e=w.extend(new w.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?w.event.trigger(e,null,t):w.event.dispatch.call(t,e),e.isDefaultPrevented()&&n.preventDefault()}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},w.Event=function(e,t){return this instanceof w.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?p:d):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||w.now(),void(this[w.expando]=!0)):new w.Event(e,t)},w.Event.prototype={isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=p,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=p,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=p,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){w.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||w.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),g.focusinBubbles||w.each({focus:"focusin",blur:"focusout"},function(n,r){function i(e){w.event.simulate(r,e.target,w.event.fix(e),!0)}w.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=v.access(e,r);t||e.addEventListener(n,i,!0),v.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=v.access(e,r)-1;t?v.access(e,r,t):(e.removeEventListener(n,i,!0),v.remove(e,r))}}}),w.fn.extend({on:function(e,t,n,r,i){var o,s;if("object"==typeof e){for(s in"string"!=typeof t&&(n=n||t,t=void 0),e)this.on(s,t,n,e[s],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),!1===r)r=d;else if(!r)return this;return 1===i&&(o=r,(r=function(e){return w().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=w.guid++)),this.each(function(){w.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=d),this.each(function(){w.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i])}return this},trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?w.event.trigger(e,t,n,!0):void 0}});var ce=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,fe=/<([\w:]+)/,pe=/<|&#?\w+;/,de=/<(?:script|style|link)/i,he=/checked\s*(?:[^=]|=\s*.checked.)/i,ge=/^$|\/(?:java|ecma)script/i,me=/^true\/(.*)/,ve=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,b={option:[1,"<select multiple='multiple'>","</select>"],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 ye(e,t){return w.nodeName(e,"table")&&w.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function xe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function be(e){var t=me.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function we(e,t){for(var n=0,r=e.length;n<r;n++)v.set(e[n],"globalEval",!t||v.get(t[n],"globalEval"))}function Te(e,t){var n,r,i,o,s,a;if(1===t.nodeType){if(v.hasData(e)&&(o=v.access(e),s=v.set(t,o),a=o.events))for(i in delete s.handle,s.events={},a)for(n=0,r=a[i].length;n<r;n++)w.event.add(t,i,a[i][n]);l.hasData(e)&&(o=l.access(e),s=w.extend({},o),l.set(t,s))}}function C(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&w.nodeName(e,t)?w.merge([e],n):n}b.optgroup=b.option,b.tbody=b.tfoot=b.colgroup=b.caption=b.thead,b.th=b.td,w.extend({clone:function(e,t,n){var r,i,o,s,a,u,l,c=e.cloneNode(!0),f=w.contains(e.ownerDocument,e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(s=C(c),r=0,i=(o=C(e)).length;r<i;r++)a=o[r],u=s[r],l=void 0,"input"===(l=u.nodeName.toLowerCase())&&ie.test(a.type)?u.checked=a.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=a.defaultValue);if(t)if(n)for(o=o||C(e),s=s||C(c),r=0,i=o.length;r<i;r++)Te(o[r],s[r]);else Te(e,c);return 0<(s=C(c,"script")).length&&we(s,!f&&C(e,"script")),c},buildFragment:function(e,t,n,r){for(var i,o,s,a,u,l=t.createDocumentFragment(),c=[],f=0,p=e.length;f<p;f++)if((i=e[f])||0===i)if("object"===w.type(i))w.merge(c,i.nodeType?[i]:i);else if(pe.test(i)){for(o=o||l.appendChild(t.createElement("div")),s=(fe.exec(i)||["",""])[1].toLowerCase(),o.innerHTML=(s=b[s]||b._default)[1]+i.replace(ce,"<$1></$2>")+s[2],u=s[0];u--;)o=o.lastChild;w.merge(c,o.childNodes),(o=l.firstChild).textContent=""}else c.push(t.createTextNode(i));for(l.textContent="",f=0;i=c[f++];)if((!r||-1===w.inArray(i,r))&&(a=w.contains(i.ownerDocument,i),o=C(l.appendChild(i),"script"),a&&we(o),n))for(u=0;i=o[u++];)ge.test(i.type||"")&&n.push(i);return l},cleanData:function(e){for(var t,n,r,i,o=w.event.special,s=0;void 0!==(n=e[s]);s++){if(w.acceptData(n)&&(i=n[v.expando])&&(t=v.cache[i])){if(t.events)for(r in t.events)o[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);v.cache[i]&&delete v.cache[i]}delete l.cache[n[l.expando]]}}}),w.fn.extend({text:function(e){return a(this,function(e){return void 0===e?w.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 this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ye(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=ye(this,e)).insertBefore(e,t.firstChild)})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?w.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||w.cleanData(C(n)),n.parentNode&&(t&&w.contains(n.ownerDocument,n)&&we(C(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(C(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return a(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!de.test(e)&&!b[(fe.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(ce,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(C(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,w.cleanData(C(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(n,r){n=R.apply([],n);var e,t,i,o,s,a,u=0,l=this.length,c=this,f=l-1,p=n[0],d=w.isFunction(p);if(d||1<l&&"string"==typeof p&&!g.checkClone&&he.test(p))return this.each(function(e){var t=c.eq(e);d&&(n[0]=p.call(this,e,t.html())),t.domManip(n,r)});if(l&&(t=(e=w.buildFragment(n,this[0].ownerDocument,!1,this)).firstChild,1===e.childNodes.length&&(e=t),t)){for(o=(i=w.map(C(e,"script"),xe)).length;u<l;u++)s=e,u!==f&&(s=w.clone(s,!0,!0),o)&&w.merge(i,C(s,"script")),r.call(this[u],s,u);if(o)for(a=i[i.length-1].ownerDocument,w.map(i,be),u=0;u<o;u++)s=i[u],ge.test(s.type||"")&&!v.access(s,"globalEval")&&w.contains(a,s)&&(s.src?w._evalUrl&&w._evalUrl(s.src):w.globalEval(s.textContent.replace(ve,"")))}return this}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){w.fn[e]=function(e){for(var t,n=[],r=w(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),w(r[o])[s](t),W.apply(n,t.get());return this.pushStack(n)}});var Ce,Ne={};function ke(e,t){e=w(t.createElement(e)).appendTo(t.body),t=h.getDefaultComputedStyle&&(t=h.getDefaultComputedStyle(e[0]))?t.display:w.css(e[0],"display");return e.detach(),t}function Ee(e){var t=m,n=Ne[e];return n||("none"!==(n=ke(e,t))&&n||((t=(Ce=(Ce||w("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=ke(e,t),Ce.detach()),Ne[e]=n),n}function Se(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)}var je,De,N,k,E,Ae=/^margin/,Le=new RegExp("^("+t+")(?!px)[a-z%]+$","i");function S(e,t,n){var r,i,o=e.style;return(n=n||Se(e))&&(i=n.getPropertyValue(t)||n[t]),n&&(""!==i||w.contains(e.ownerDocument,e)||(i=w.style(e,t)),Le.test(i))&&Ae.test(t)&&(e=o.width,t=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=i,i=n.width,o.width=e,o.minWidth=t,o.maxWidth=r),void 0!==i?i+"":i}function qe(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function He(){E.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",E.innerHTML="",N.appendChild(k);var e=h.getComputedStyle(E,null);je="1%"!==e.top,De="4px"===e.width,N.removeChild(k)}N=m.documentElement,k=m.createElement("div"),(E=m.createElement("div")).style&&(E.style.backgroundClip="content-box",E.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===E.style.backgroundClip,k.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",k.appendChild(E),h.getComputedStyle)&&w.extend(g,{pixelPosition:function(){return He(),je},boxSizingReliable:function(){return null==De&&He(),De},reliableMarginRight:function(){var e=E.appendChild(m.createElement("div"));return e.style.cssText=E.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",E.style.width="1px",N.appendChild(k),e=!parseFloat(h.getComputedStyle(e,null).marginRight),N.removeChild(k),e}}),w.swap=function(e,t,n,r){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=n.apply(e,r||[]),t)e.style[i]=o[i];return n};var Oe=/^(none|table(?!-c[ea]).+)/,Fe=new RegExp("^("+t+")(.*)$","i"),Pe=new RegExp("^([+-])=("+t+")","i"),Me={position:"absolute",visibility:"hidden",display:"block"},Re={letterSpacing:"0",fontWeight:"400"},We=["Webkit","O","Moz","ms"];function $e(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),r=t,i=We.length;i--;)if((t=We[i]+n)in e)return t;return r}function Be(e,t,n){var r=Fe.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Ie(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=w.css(e,n+f[o],!0,i)),r?("content"===n&&(s-=w.css(e,"padding"+f[o],!0,i)),"margin"!==n&&(s-=w.css(e,"border"+f[o]+"Width",!0,i))):(s+=w.css(e,"padding"+f[o],!0,i),"padding"!==n&&(s+=w.css(e,"border"+f[o]+"Width",!0,i)));return s}function _e(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Se(e),s="border-box"===w.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=S(e,t,o))<0||null==i)&&(i=e.style[t]),Le.test(i))return i;r=s&&(g.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Ie(e,t,n||(s?"border":"content"),r,o)+"px"}function ze(e,t){for(var n,r,i,o=[],s=0,a=e.length;s<a;s++)(r=e[s]).style&&(o[s]=v.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&y(r)&&(o[s]=v.access(r,"olddisplay",Ee(r.nodeName)))):(i=y(r),"none"===n&&i||v.set(r,"olddisplay",i?n:w.css(r,"display"))));for(s=0;s<a;s++)!(r=e[s]).style||t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none");return e}function j(e,t,n,r,i){return new j.prototype.init(e,t,n,r,i)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=S(e,"opacity"))?"1":t}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){var i,o,s,a,u;if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style)return a=w.camelCase(t),u=e.style,t=w.cssProps[a]||(w.cssProps[a]=$e(u,a)),s=w.cssHooks[t]||w.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:u[t]:("string"===(o=typeof n)&&(i=Pe.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(w.css(e,t)),o="number"),void(null!=n&&n==n&&("number"!==o||w.cssNumber[a]||(n+="px"),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u[t]=n))))},css:function(e,t,n,r){var i,o=w.camelCase(t);return t=w.cssProps[o]||(w.cssProps[o]=$e(e.style,o)),"normal"===(i=void 0===(i=(o=w.cssHooks[t]||w.cssHooks[o])&&"get"in o?o.get(e,!0,n):i)?S(e,t,r):i)&&t in Re&&(i=Re[t]),(""===n||n)&&(o=parseFloat(i),!0===n||w.isNumeric(o))?o||0:i}}),w.each(["height","width"],function(e,i){w.cssHooks[i]={get:function(e,t,n){return t?Oe.test(w.css(e,"display"))&&0===e.offsetWidth?w.swap(e,Me,function(){return _e(e,i,n)}):_e(e,i,n):void 0},set:function(e,t,n){var r=n&&Se(e);return Be(0,t,n?Ie(e,i,n,"border-box"===w.css(e,"boxSizing",!1,r),r):0)}}}),w.cssHooks.marginRight=qe(g.reliableMarginRight,function(e,t){return t?w.swap(e,{display:"inline-block"},S,[e,"marginRight"]):void 0}),w.each({margin:"",padding:"",border:"Width"},function(i,o){w.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+f[t]+o]=r[t]||r[t-2]||r[0];return n}},Ae.test(i)||(w.cssHooks[i+o].set=Be)}),w.fn.extend({css:function(e,t){return a(this,function(e,t,n){var r,i,o={},s=0;if(w.isArray(t)){for(r=Se(e),i=t.length;s<i;s++)o[t[s]]=w.css(e,t[s],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,1<arguments.length)},show:function(){return ze(this,!0)},hide:function(){return ze(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){y(this)?w(this).show():w(this).hide()})}}),((w.Tween=j).prototype={constructor:j,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=j.propHooks[this.prop];return(e&&e.get?e:j.propHooks._default).get(this)},run:function(e){var t=j.propHooks[this.prop];return this.pos=e=this.options.duration?w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(t&&t.set?t:j.propHooks._default).set(this),this}}).init.prototype=j.prototype,(j.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[w.cssProps[e.prop]]||w.cssHooks[e.prop])?w.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}}).scrollTop=j.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},w.fx=j.prototype.init,w.fx.step={};var D,Xe,A,Ue=/^(?:toggle|show|hide)$/,Ve=new RegExp("^(?:([+-])=|)("+t+")([a-z%]*)$","i"),Ye=/queueHooks$/,Ge=[function(t,e,n){var r,i,o,s,a,u,l,c=this,f={},p=t.style,d=t.nodeType&&y(t),h=v.get(t,"fxshow");for(r in n.queue||(null==(a=w._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,w.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=w.css(t,"display"),"inline"===("none"===l?v.get(t,"olddisplay")||Ee(t.nodeName):l))&&"none"===w.css(t,"float")&&(p.display="inline-block"),n.overflow&&(p.overflow="hidden",c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),e)if(i=e[r],Ue.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(d?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;d=!0}f[r]=h&&h[r]||w.style(t,r)}else l=void 0;if(w.isEmptyObject(f))"inline"===("none"===l?Ee(t.nodeName):l)&&(p.display=l);else for(r in h?"hidden"in h&&(d=h.hidden):h=v.access(t,"fxshow",{}),o&&(h.hidden=!d),d?w(t).show():c.done(function(){w(t).hide()}),c.done(function(){for(var e in v.remove(t,"fxshow"),f)w.style(t,e,f[e])}),f)s=Ke(d?h[r]:0,r,c),r in h||(h[r]=s.start,d&&(s.end=s.start,s.start="width"===r||"height"===r?1:0))}],L={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),t=Ve.exec(t),i=t&&t[3]||(w.cssNumber[e]?"":"px"),o=(w.cssNumber[e]||"px"!==i&&+r)&&Ve.exec(w.css(n.elem,e)),s=1,a=20;if(o&&o[3]!==i)for(i=i||o[3],t=t||[],o=+r||1;w.style(n.elem,e,(o/=s=s||".5")+i),s!==(s=n.cur()/r)&&1!==s&&--a;);return t&&(o=n.start=+o||+r||0,n.unit=i,n.end=t[1]?o+(t[1]+1)*t[2]:+t[2]),n}]};function Qe(){return setTimeout(function(){D=void 0}),D=w.now()}function Je(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=f[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Ke(e,t,n){for(var r,i=(L[t]||[]).concat(L["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function Ze(i,e,t){var n,o,r,s,a,u,l,c=0,f=Ge.length,p=w.Deferred().always(function(){delete d.elem}),d=function(){if(o)return!1;for(var e=D||Qe(),e=Math.max(0,h.startTime+h.duration-e),t=1-(e/h.duration||0),n=0,r=h.tweens.length;n<r;n++)h.tweens[n].run(t);return p.notifyWith(i,[h,t,e]),t<1&&r?e:(p.resolveWith(i,[h]),!1)},h=p.promise({elem:i,props:w.extend({},e),opts:w.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:D||Qe(),duration:t.duration,tweens:[],createTween:function(e,t){t=w.Tween(i,h.opts,e,t,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(t),t},stop:function(e){var t=0,n=e?h.tweens.length:0;if(!o){for(o=!0;t<n;t++)h.tweens[t].run(1);e?p.resolveWith(i,[h,e]):p.rejectWith(i,[h,e])}return this}}),g=h.props,m=g,v=h.opts.specialEasing;for(r in m)if(s=w.camelCase(r),a=v[s],u=m[r],w.isArray(u)&&(a=u[1],u=m[r]=u[0]),r!==s&&(m[s]=u,delete m[r]),l=w.cssHooks[s],l&&"expand"in l)for(r in u=l.expand(u),delete m[s],u)r in m||(m[r]=u[r],v[r]=a);else v[s]=a;for(;c<f;c++)if(n=Ge[c].call(h,i,g,h.opts))return n;return w.map(g,Ke,h),w.isFunction(h.opts.start)&&h.opts.start.call(i,h),w.fx.timer(w.extend(d,{elem:i,anim:h,queue:h.opts.queue})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}w.Animation=w.extend(Ze,{tweener:function(e,t){for(var n,r=0,i=(e=w.isFunction(e)?(t=e,["*"]):e.split(" ")).length;r<i;r++)n=e[r],L[n]=L[n]||[],L[n].unshift(t)},prefilter:function(e,t){t?Ge.unshift(e):Ge.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||w.isFunction(e)&&e,duration:e,easing:n&&t||t&&!w.isFunction(t)&&t};return r.duration=w.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in w.fx.speeds?w.fx.speeds[r.duration]:w.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){w.isFunction(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(y).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){function i(){var e=Ze(this,w.extend({},t),s);(o||v.get(this,"finish"))&&e.stop(!0)}var o=w.isEmptyObject(t),s=w.speed(e,n,r);return i.finish=i,o||!1===s.queue?this.each(i):this.queue(s.queue,i)},stop:function(i,e,o){function s(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=w.timers,r=v.get(this);if(t)r[t]&&r[t].stop&&s(r[t]);else for(t in r)r[t]&&r[t].stop&&Ye.test(t)&&s(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||w.dequeue(this,i)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=v.get(this),n=t[s+"queue"],r=t[s+"queueHooks"],i=w.timers,o=n?n.length:0;for(t.finish=!0,w.queue(this,s,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===s&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),w.each(["toggle","show","hide"],function(e,r){var i=w.fn[r];w.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(Je(r,!0),e,t,n)}}),w.each({slideDown:Je("show"),slideUp:Je("hide"),slideToggle:Je("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){w.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(D=w.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),D=void 0},w.fx.timer=function(e){w.timers.push(e),e()?w.fx.start():w.timers.pop()},w.fx.interval=13,w.fx.start=function(){Xe=Xe||setInterval(w.fx.tick,w.fx.interval)},w.fx.stop=function(){clearInterval(Xe),Xe=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(r,e){return r=w.fx&&w.fx.speeds[r]||r,this.queue(e=e||"fx",function(e,t){var n=setTimeout(e,r);t.stop=function(){clearTimeout(n)}})},A=m.createElement("input"),e=m.createElement("select"),t=e.appendChild(m.createElement("option")),A.type="checkbox",g.checkOn=""!==A.value,g.optSelected=t.selected,e.disabled=!0,g.optDisabled=!t.disabled,(A=m.createElement("input")).value="t",A.type="radio",g.radioValue="t"===A.value;var et,q=w.expr.attrHandle,tt=(w.fn.extend({attr:function(e,t){return a(this,w.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute==x?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(t=t.toLowerCase(),r=w.attrHooks[t]||(w.expr.match.bool.test(t)?et:void 0)),void 0===n?!(r&&"get"in r&&null!==(i=r.get(e,t)))&&null==(i=w.find.attr(e,t))?void 0:i:null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void w.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)for(;n=o[i++];)r=w.propFix[n]||n,w.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){var n;if(!g.radioValue&&"radio"===t&&w.nodeName(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}}}}),et={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var o=q[t]||w.find.attr;q[t]=function(e,t,n){var r,i;return n||(i=q[t],q[t]=r,r=null!=o(e,t,n)?t.toLowerCase():null,q[t]=i),r}}),/^(?:input|select|textarea|button)$/i),nt=(w.fn.extend({prop:function(e,t){return a(this,w.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!w.isXMLDoc(e))&&(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||tt.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),g.optSelected||(w.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),/[\t\r\n\f]/g),rt=(w.fn.extend({addClass:function(t){var e,n,r,i,o,s,a="string"==typeof t&&t,u=0,l=this.length;if(w.isFunction(t))return this.each(function(e){w(this).addClass(t.call(this,e,this.className))});if(a)for(e=(t||"").match(T)||[];u<l;u++)if(r=1===(n=this[u]).nodeType&&(n.className?(" "+n.className+" ").replace(nt," "):" ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=w.trim(r),n.className!==s&&(n.className=s)}return this},removeClass:function(t){var e,n,r,i,o,s,a=0===arguments.length||"string"==typeof t&&t,u=0,l=this.length;if(w.isFunction(t))return this.each(function(e){w(this).removeClass(t.call(this,e,this.className))});if(a)for(e=(t||"").match(T)||[];u<l;u++)if(r=1===(n=this[u]).nodeType&&(n.className?(" "+n.className+" ").replace(nt," "):"")){for(o=0;i=e[o++];)for(;0<=r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");s=t?w.trim(r):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(i,t){var o=typeof i;return"boolean"==typeof t&&"string"==o?t?this.addClass(i):this.removeClass(i):this.each(w.isFunction(i)?function(e){w(this).toggleClass(i.call(this,e,this.className,t),t)}:function(){if("string"==o)for(var e,t=0,n=w(this),r=i.match(T)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else o!=x&&"boolean"!=o||(this.className&&v.set(this,"__className__",this.className),this.className=!this.className&&!1!==i&&v.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(nt," ").indexOf(t))return!0;return!1}}),/\r/g),it=(w.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=w.isFunction(t),this.each(function(e){1===this.nodeType&&(null==(e=r?t.call(this,e,w(this).val()):t)?e="":"number"==typeof e?e+="":w.isArray(e)&&(e=w.map(e,function(e){return null==e?"":e+""})),(n=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):i?(n=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(rt,""):null==e?"":e:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:w.trim(w.text(e))}},select:{get:function(e){for(var t,n=e.options,r=e.selectedIndex,i="select-one"===e.type||r<0,o=i?null:[],s=i?r+1:n.length,a=r<0?s:i?r:0;a<s;a++)if(!(!(t=n[a]).selected&&a!==r||(g.optDisabled?t.disabled:null!==t.getAttribute("disabled"))||t.parentNode.disabled&&w.nodeName(t.parentNode,"optgroup"))){if(t=w(t).val(),i)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,o=w.makeArray(t),s=i.length;s--;)((r=i[s]).selected=0<=w.inArray(r.value,o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){return w.isArray(t)?e.checked=0<=w.inArray(w(e).val(),t):void 0}},g.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),w.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){w.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),w.now()),ot=/\?/;w.parseJSON=function(e){return JSON.parse(e+"")},w.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+e),t};var H,O,st=/#.*$/,at=/([?&])_=[^&]*/,ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,lt=/^(?:GET|HEAD)$/,ct=/^\/\//,ft=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,pt={},dt={},ht="*/".concat("*");try{O=location.href}catch(e){(O=m.createElement("a")).href="",O=O.href}function gt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(T)||[];if(w.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function mt(t,r,i,o){var s={},a=t===dt;function u(e){var n;return s[e]=!0,w.each(t[e]||[],function(e,t){t=t(r,i,o);return"string"!=typeof t||a||s[t]?a?!(n=t):void 0:(r.dataTypes.unshift(t),u(t),!1)}),n}return u(r.dataTypes[0])||!s["*"]&&u("*")}function vt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r=r||{})[n]=t[n]);return r&&w.extend(!0,e,r),e}H=ft.exec(O.toLowerCase())||[],w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:O,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(H[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":w.parseJSON,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?vt(vt(e,w.ajaxSettings),t):vt(w.ajaxSettings,e)},ajaxPrefilter:gt(pt),ajaxTransport:gt(dt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var u,l,c,n,f,p,r,d=w.ajaxSetup({},t=t||{}),h=d.context||d,g=d.context&&(h.nodeType||h.jquery)?w(h):w.event,m=w.Deferred(),v=w.Callbacks("once memory"),y=d.statusCode||{},i={},o={},x=0,s="canceled",b={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!n)for(n={};t=ut.exec(c);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?c:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=o[n]=o[n]||e,i[e]=t),this},overrideMimeType:function(e){return x||(d.mimeType=e),this},statusCode:function(e){if(e)if(x<2)for(var t in e)y[t]=[y[t],e[t]];else b.always(e[b.status]);return this},abort:function(e){e=e||s;return u&&u.abort(e),a(0,e),this}};if(m.promise(b).complete=v.add,b.success=b.done,b.error=b.fail,d.url=((e||d.url||O)+"").replace(st,"").replace(ct,H[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=w.trim(d.dataType||"*").toLowerCase().match(T)||[""],null==d.crossDomain&&(e=ft.exec(d.url.toLowerCase()),d.crossDomain=!(!e||e[1]===H[1]&&e[2]===H[2]&&(e[3]||("http:"===e[1]?"80":"443"))===(H[3]||("http:"===H[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=w.param(d.data,d.traditional)),mt(pt,d,t,b),2!==x){for(r in(p=d.global)&&0==w.active++&&w.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!lt.test(d.type),l=d.url,d.hasContent||(d.data&&(l=d.url+=(ot.test(l)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=at.test(l)?l.replace(at,"$1_="+it++):l+(ot.test(l)?"&":"?")+"_="+it++)),d.ifModified&&(w.lastModified[l]&&b.setRequestHeader("If-Modified-Since",w.lastModified[l]),w.etag[l])&&b.setRequestHeader("If-None-Match",w.etag[l]),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&b.setRequestHeader("Content-Type",d.contentType),b.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+ht+"; q=0.01":""):d.accepts["*"]),d.headers)b.setRequestHeader(r,d.headers[r]);if(d.beforeSend&&(!1===d.beforeSend.call(h,b,d)||2===x))return b.abort();for(r in s="abort",{success:1,error:1,complete:1})b[r](d[r]);if(u=mt(dt,d,t,b)){b.readyState=1,p&&g.trigger("ajaxSend",[b,d]),d.async&&0<d.timeout&&(f=setTimeout(function(){b.abort("timeout")},d.timeout));try{x=1,u.send(i,a)}catch(e){if(!(x<2))throw e;a(-1,e)}}else a(-1,"No Transport")}return b;function a(e,t,n,r){var i,o,s,a=t;2!==x&&(x=2,f&&clearTimeout(f),u=void 0,c=r||"",b.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(s=((e,t,n)=>{for(var r,i,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s=s||i}o=o||s}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0})(d,b,n)),s=((e,t,n,r)=>{var i,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=l[u+" "+o]||l["* "+o]))for(i in l)if(a=i.split(" "),a[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}})(d,s,b,r),r?(d.ifModified&&((n=b.getResponseHeader("Last-Modified"))&&(w.lastModified[l]=n),n=b.getResponseHeader("etag"))&&(w.etag[l]=n),204===e||"HEAD"===d.type?a="nocontent":304===e?a="notmodified":(a=s.state,i=s.data,r=!(o=s.error))):(o=a,(e||!a)&&(a="error",e<0)&&(e=0)),b.status=e,b.statusText=(t||a)+"",r?m.resolveWith(h,[i,a,b]):m.rejectWith(h,[b,a,o]),b.statusCode(y),y=void 0,p&&g.trigger(r?"ajaxSuccess":"ajaxError",[b,d,r?i:o]),v.fireWith(h,[b,a]),p)&&(g.trigger("ajaxComplete",[b,d]),--w.active||w.event.trigger("ajaxStop"))}},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,i){w[i]=function(e,t,n,r){return w.isFunction(t)&&(r=r||n,n=t,t=void 0),w.ajax({url:e,type:i,dataType:r,data:t,success:n})}}),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},w.fn.extend({wrapAll:function(t){var e;return w.isFunction(t)?this.each(function(e){w(this).wrapAll(t.call(this,e))}):(this[0]&&(e=w(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(n){return this.each(w.isFunction(n)?function(e){w(this).wrapInner(n.call(this,e))}:function(){var e=w(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=w.isFunction(t);return this.each(function(e){w(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){w.nodeName(this,"body")||w(this).replaceWith(this.childNodes)}).end()}}),w.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},w.expr.filters.visible=function(e){return!w.expr.filters.hidden(e)};var yt=/%20/g,xt=/\[\]$/,bt=/\r?\n/g,wt=/^(?:submit|button|image|reset|file)$/i,Tt=/^(?:input|select|textarea|keygen)/i;w.param=function(e,t){function n(e,t){t=w.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var r,i=[];if(void 0===t&&(t=w.ajaxSettings&&w.ajaxSettings.traditional),w.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){n(this.name,this.value)});else for(r in e)!function n(r,e,i,o){if(w.isArray(e))w.each(e,function(e,t){i||xt.test(r)?o(r,t):n(r+"["+("object"==typeof t?e:"")+"]",t,i,o)});else if(i||"object"!==w.type(e))o(r,e);else for(var t in e)n(r+"["+t+"]",e[t],i,o)}(r,e[r],t,n);return i.join("&").replace(yt,"+")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&Tt.test(this.nodeName)&&!wt.test(e)&&(this.checked||!ie.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:w.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(bt,"\r\n")}}):{name:t.name,value:n.replace(bt,"\r\n")}}).get()}}),w.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var Ct=0,Nt={},kt={0:200,1223:204},F=w.ajaxSettings.xhr(),Et=(h.ActiveXObject&&w(h).on("unload",function(){for(var e in Nt)Nt[e]()}),g.cors=!!F&&"withCredentials"in F,g.ajax=F=!!F,w.ajaxTransport(function(o){var s;return g.cors||F&&!o.crossDomain?{send:function(e,t){var n,r=o.xhr(),i=++Ct;if(r.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)r[n]=o.xhrFields[n];for(n in o.mimeType&&r.overrideMimeType&&r.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);s=function(e){return function(){s&&(delete Nt[i],s=r.onload=r.onerror=null,"abort"===e?r.abort():"error"===e?t(r.status,r.statusText):t(kt[r.status]||r.status,r.statusText,"string"==typeof r.responseText?{text:r.responseText}:void 0,r.getAllResponseHeaders()))}},r.onload=s(),r.onerror=s("error"),s=Nt[i]=s("abort");try{r.send(o.hasContent&&o.data||null)}catch(e){if(s)throw e}},abort:function(){s&&s()}}:void 0}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(n){var r,i;if(n.crossDomain)return{send:function(e,t){r=w("<script>").prop({async:!0,charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),m.head.appendChild(r[0])},abort:function(){i&&i()}}}),[]),St=/(=)\?(?=&|$)|\?\?/,jt=(w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Et.pop()||w.expando+"_"+it++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(St.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&St.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=w.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(St,"$1"+r):!1!==e.jsonp&&(e.url+=(ot.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||w.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=h[r],h[r]=function(){o=arguments},n.always(function(){h[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Et.push(r)),o&&w.isFunction(i)&&i(o[0]),o=i=void 0}),"script"):void 0}),w.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||m;var r=V.exec(e),n=!n&&[];return r?[t.createElement(r[1])]:(r=w.buildFragment([e],t,n),n&&n.length&&w(n).remove(),w.merge([],r.childNodes))},w.fn.load),Dt=(w.fn.load=function(e,t,n){var r,i,o,s,a;return"string"!=typeof e&&jt?jt.apply(this,arguments):(s=this,0<=(a=e.indexOf(" "))&&(r=w.trim(e.slice(a)),e=e.slice(0,a)),w.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<s.length&&w.ajax({url:e,type:i,dataType:"html",data:t}).done(function(e){o=arguments,s.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){s.each(n,o||[e.responseText,t,e])}),this)},w.expr.filters.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length},h.document.documentElement);function At(e){return w.isWindow(e)?e:9===e.nodeType&&e.defaultView}w.offset={setOffset:function(e,t,n){var r,i,o,s,a=w.css(e,"position"),u=w(e),l={};"static"===a&&(e.style.position="relative"),o=u.offset(),r=w.css(e,"top"),s=w.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<(r+s).indexOf("auto")?(i=(a=u.position()).top,a.left):(i=parseFloat(r)||0,parseFloat(s)||0),null!=(t=w.isFunction(t)?t.call(e,n,o):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+a),"using"in t?t.using.call(e,l):u.css(l)}},w.fn.extend({offset:function(t){var e,n,r,i;return arguments.length?void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)}):(r={top:0,left:0},(i=(n=this[0])&&n.ownerDocument)?(e=i.documentElement,w.contains(e,n)?(typeof n.getBoundingClientRect!=x&&(r=n.getBoundingClientRect()),n=At(i),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r):void 0)},position:function(){var e,t,n,r;if(this[0])return n=this[0],r={top:0,left:0},"fixed"===w.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(r=w.nodeName(e[0],"html")?r:e.offset()).top+=w.css(e[0],"borderTopWidth",!0),r.left+=w.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-w.css(n,"marginTop",!0),left:t.left-r.left-w.css(n,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Dt;e&&!w.nodeName(e,"html")&&"static"===w.css(e,"position");)e=e.offsetParent;return e||Dt})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;w.fn[t]=function(e){return a(this,function(e,t,n){var r=At(e);return void 0===n?r?r[i]:e[t]:void(r?r.scrollTo(o?h.pageXOffset:n,o?n:h.pageYOffset):e[t]=n)},t,e,arguments.length,null)}}),w.each(["top","left"],function(e,n){w.cssHooks[n]=qe(g.pixelPosition,function(e,t){return t?(t=S(e,n),Le.test(t)?w(e).position()[n]+"px":t):void 0})}),w.each({Height:"height",Width:"width"},function(o,s){w.each({padding:"inner"+o,content:s,"":"outer"+o},function(r,e){w.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return a(this,function(e,t,n){var r;return w.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?w.css(e,t,i):w.style(e,t,n,i)},s,n?e:void 0,n,null)}})}),w.fn.size=function(){return this.length},w.fn.andSelf=w.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Lt=h.jQuery,qt=h.$;return w.noConflict=function(e){return h.$===w&&(h.$=qt),e&&h.jQuery===w&&(h.jQuery=Lt),w},typeof P==x&&(h.jQuery=h.$=w),w});;
((r,h)=>{function s(t,e){var i,s,n,a=t.nodeName.toLowerCase();return"area"===a?(s=(i=t.parentNode).name,!(!t.href||!s||"map"!==i.nodeName.toLowerCase()||!(n=r("img[usemap=#"+s+"]")[0]))&&o(n)):(/input|select|textarea|button|object/.test(a)?!t.disabled:"a"===a&&t.href||e)&&o(t)}function o(t){return r.expr.filters.visible(t)&&!r(t).parents().andSelf().filter(function(){return"hidden"===r.css(this,"visibility")}).length}var t,e,i=0,n=/^ui-id-\d+$/;r.ui=r.ui||{},r.ui.version||(r.extend(r.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),r.fn.extend({_focus:r.fn.focus,focus:function(e,i){return"number"==typeof e?this.each(function(){var t=this;setTimeout(function(){r(t).focus(),i&&i.call(t)},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var t=(r.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(r.css(this,"position"))&&/(auto|scroll)/.test(r.css(this,"overflow")+r.css(this,"overflow-y")+r.css(this,"overflow-x"))}):this.parents().filter(function(){return/(auto|scroll)/.test(r.css(this,"overflow")+r.css(this,"overflow-y")+r.css(this,"overflow-x"))})).eq(0);return/fixed/.test(this.css("position"))||!t.length?r(document):t},zIndex:function(t){if(t!==h)return this.css("zIndex",t);if(this.length)for(var e,i=r(this[0]);i.length&&i[0]!==document;){if(("absolute"===(e=i.css("position"))||"relative"===e||"fixed"===e)&&(e=parseInt(i.css("zIndex"),10),!isNaN(e))&&0!==e)return e;i=i.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++i)})},removeUniqueId:function(){return this.each(function(){n.test(this.id)&&r(this).removeAttr("id")})}}),r.extend(r.expr[":"],{data:r.expr.createPseudo?r.expr.createPseudo(function(e){return function(t){return!!r.data(t,e)}}):function(t,e,i){return!!r.data(t,i[3])},focusable:function(t){return s(t,!isNaN(r.attr(t,"tabindex")))},tabbable:function(t){var e=r.attr(t,"tabindex"),i=isNaN(e);return(i||0<=e)&&s(t,!i)}}),r(function(){var t=document.body,e=t.appendChild(document.createElement("div"));e.offsetHeight,r.extend(e.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),r.support.minHeight=100===e.offsetHeight,r.support.selectstart="onselectstart"in e,t.removeChild(e).style.display="none"}),r("<a>").outerWidth(1).jquery||r.each(["Width","Height"],function(t,i){function s(t,e,i,s){return r.each(n,function(){e-=parseFloat(r.css(t,"padding"+this))||0,i&&(e-=parseFloat(r.css(t,"border"+this+"Width"))||0),s&&(e-=parseFloat(r.css(t,"margin"+this))||0)}),e}var n="Width"===i?["Left","Right"]:["Top","Bottom"],a=i.toLowerCase(),o={innerWidth:r.fn.innerWidth,innerHeight:r.fn.innerHeight,outerWidth:r.fn.outerWidth,outerHeight:r.fn.outerHeight};r.fn["inner"+i]=function(t){return t===h?o["inner"+i].call(this):this.each(function(){r(this).css(a,s(this,t)+"px")})},r.fn["outer"+i]=function(t,e){return"number"!=typeof t?o["outer"+i].call(this,t):this.each(function(){r(this).css(a,s(this,t,!0,e)+"px")})}}),r("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(r.fn.removeData=(e=r.fn.removeData,function(t){return arguments.length?e.call(this,r.camelCase(t)):e.call(this)})),t=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[],r.ui.ie=!!t.length,r.ui.ie6=6===parseFloat(t[1],10),r.fn.extend({disableSelection:function(){return this.bind((r.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),r.extend(r.ui,{plugin:{add:function(t,e,i){var s,n=r.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i){var s,n=t.plugins[e];if(n&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(s=0;s<n.length;s++)t.options[n[s][0]]&&n[s][1].apply(t.element,i)}},contains:r.contains,hasScroll:function(t,e){var i;return"hidden"!==r(t).css("overflow")&&(i=!1,0<t[e=e&&"left"===e?"scrollLeft":"scrollTop"]||(t[e]=1,i=0<t[e],t[e]=0,i))},isOverAxis:function(t,e,i){return e<t&&t<e+i},isOver:function(t,e,i,s,n,a){return r.ui.isOverAxis(t,i,n)&&r.ui.isOverAxis(e,s,a)}}))})(jQuery),((h,r)=>{var i=0,l=Array.prototype.slice,s=h.cleanData;h.cleanData=function(t){for(var e,i=0;null!=(e=t[i]);i++)try{h(e).triggerHandler("remove")}catch(t){}s(t)},h.widget=function(t,i,o){var e,s,n,a,r=t.split(".")[0];t=t.split(".")[1],e=r+"-"+t,o||(o=i,i=h.Widget),h.expr[":"][e.toLowerCase()]=function(t){return!!h.data(t,e)},h[r]=h[r]||{},s=h[r][t],n=h[r][t]=function(t,e){if(!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},h.extend(n,s,{version:o.version,_proto:h.extend({},o),_childConstructors:[]}),(a=new i).options=h.widget.extend({},a.options),h.each(o,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function a(t){return i.prototype[e].apply(this,t)}h.isFunction(s)&&(o[e]=function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=a,t=s.apply(this,arguments),this._super=e,this._superApply=i,t})}),n.prototype=h.widget.extend(a,{widgetEventPrefix:s?a.widgetEventPrefix:t},o,{constructor:n,namespace:r,widgetName:t,widgetBaseClass:e,widgetFullName:e}),s?(h.each(s._childConstructors,function(t,e){var i=e.prototype;h.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),h.widget.bridge(t,n)},h.widget.extend=function(t){for(var e,i,s=l.call(arguments,1),n=0,a=s.length;n<a;n++)for(e in s[n])i=s[n][e],s[n].hasOwnProperty(e)&&i!==r&&(h.isPlainObject(i)?t[e]=h.isPlainObject(t[e])?h.widget.extend({},t[e],i):h.widget.extend({},i):t[e]=i);return t},h.widget.bridge=function(a,e){var o=e.prototype.widgetFullName||a;h.fn[a]=function(i){var t="string"==typeof i,s=l.call(arguments,1),n=this;return i=!t&&s.length?h.widget.extend.apply(null,[i].concat(s)):i,t?this.each(function(){var t,e=h.data(this,o);return e?h.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,s))!==e&&t!==r?(n=t&&t.jquery?n.pushStack(t.get()):t,!1):void 0:h.error("no such method '"+i+"' for "+a+" widget instance"):h.error("cannot call methods on "+a+" prior to initialization; attempted to call method '"+i+"'")}):this.each(function(){var t=h.data(this,o);t?t.option(i||{})._init():h.data(this,o,new e(i,this))}),n}},h.Widget=function(){},h.Widget._childConstructors=[],h.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,e){e=h(e||this.defaultElement||this)[0],this.element=h(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=h.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=h(),this.hoverable=h(),this.focusable=h(),e!==this&&(h.data(e,this.widgetName,this),h.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=h(e.style?e.ownerDocument:e.document||e),this.window=h(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:h.noop,_getCreateEventData:h.noop,_create:h.noop,_init:h.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(h.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:h.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,a=t;if(0===arguments.length)return h.widget.extend({},this.options);if("string"==typeof t)if(a={},t=(i=t.split(".")).shift(),i.length){for(s=a[t]=h.widget.extend({},this.options[t]),n=0;n<i.length-1;n++)s[i[n]]=s[i[n]]||{},s=s[i[n]];if(t=i.pop(),e===r)return s[t]===r?null:s[t];s[t]=e}else{if(e===r)return this.options[t]===r?null:this.options[t];a[t]=e}return this._setOptions(a),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(n,a,t){var o,r=this;"boolean"!=typeof n&&(t=a,a=n,n=!1),t?(a=o=h(a),this.bindings=this.bindings.add(a)):(t=a,a=this.element,o=this.widget()),h.each(t,function(t,e){function i(){if(n||!0!==r.options.disabled&&!h(this).hasClass("ui-state-disabled"))return("string"==typeof e?r[e]:e).apply(r,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||h.guid++);var t=t.match(/^(\w+)\s*(.*)$/),s=t[1]+r.eventNamespace,t=t[2];t?o.delegate(t,s,i):a.bind(s,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){h(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){h(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){h(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){h(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,e,i){var s,n,a=this.options[t];if(i=i||{},(e=h.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],n=e.originalEvent)for(s in n)s in e||(e[s]=n[s]);return this.element.trigger(e,i),!(h.isFunction(a)&&!1===a.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},h.each({show:"fadeIn",hide:"fadeOut"},function(a,o){h.Widget.prototype["_"+a]=function(e,t,i){var s=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||o:a,n=!h.isEmptyObject(t="number"==typeof(t=t||{})?{duration:t}:t);t.complete=i,t.delay&&e.delay(t.delay),n&&h.effects&&(h.effects.effect[s]||!1!==h.uiBackCompat&&h.effects[s])?e[a](t):s!==a&&e[s]?e[s](t.duration,t.easing,i):e.queue(function(t){h(this)[a](),i&&i.call(e[0]),t()})}}),!1!==h.uiBackCompat&&(h.Widget.prototype._getCreateOptions=function(){return h.metadata&&h.metadata.get(this.element[0])[this.widgetName]})})(jQuery),(n=>{var a=!1;n(document).mouseup(function(t){a=!1}),n.widget("ui.mouse",{version:"1.9.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(t){if(!0===n.data(t.target,e.widgetName+".preventClickEvent"))return n.removeData(t.target,e.widgetName+".preventClickEvent"),t.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&n(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){var e,i,s;if(!a)return this._mouseStarted&&this._mouseUp(t),i=1===(this._mouseDownEvent=t).which,s=!("string"!=typeof(e=this).options.cancel||!t.target.nodeName)&&n(t.target).closest(this.options.cancel).length,i&&!s&&this._mouseCapture(t)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?t.preventDefault():(!0===n.data(t.target,this.widgetName+".preventClickEvent")&&n.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},n(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),a=!0)),!0},_mouseMove:function(t){return!n.ui.ie||9<=document.documentMode||t.button?this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted):this._mouseUp(t)},_mouseUp:function(t){return n(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&n.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(t){return this.mouseDelayMet},_mouseStart:function(t){},_mouseDrag:function(t){},_mouseStop:function(t){},_mouseCapture:function(t){return!0}})})(jQuery),(b=>{b.widget("ui.draggable",b.ui.mouse,{version:"1.9.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){"original"!=this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||b(t.target).is(".ui-resizable-handle")||(this.handle=this._getHandle(t),!this.handle)||(b(!0===e.iframeFix?"iframe":e.iframeFix).each(function(){b('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(b(this).offset()).appendTo("body")}),0))},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),b.ui.ddmanager&&(b.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},b.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),e.containment&&this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),b.ui.ddmanager&&!e.dropBehaviour&&b.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),b.ui.ddmanager&&b.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,e){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),!e){e=this._uiHash();if(!1===this._trigger("drag",t,e))return this._mouseUp({}),!1;this.position=e.position}return 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"),b.ui.ddmanager&&b.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){for(var e,i=!1,s=(b.ui.ddmanager&&!this.options.dropBehaviour&&(i=b.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),this.element[0]),n=!1;s=s&&s.parentNode;)s==document&&(n=!0);return!n&&"original"===this.options.helper||("invalid"==this.options.revert&&!i||"valid"==this.options.revert&&i||!0===this.options.revert||b.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?b((e=this).helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear()),!1},_mouseUp:function(t){return b("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),b.ui.ddmanager&&b.ui.ddmanager.dragStop(this,t),b.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var e=!this.options.handle||!b(this.options.handle,this.element).length;return b(this.options.handle,this.element).find("*").andSelf().each(function(){this==t.target&&(e=!0)}),e},_createHelper:function(t){var e=this.options,t=b.isFunction(e.helper)?b(e.helper.apply(this.element[0],[t])):"clone"==e.helper?this.element.clone().removeAttr("id"):this.element;return t.parents("body").length||t.appendTo("parent"==e.appendTo?this.element[0].parentNode:e.appendTo),t[0]==this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=b.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&b.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&b.ui.ie?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var t;return"relative"==this.cssPosition?{top:(t=this.element.position()).top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}:{top:0,left:0}},_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 t,e,i=this.options;"parent"==i.containment&&(i.containment=this.helper[0].parentNode),"document"!=i.containment&&"window"!=i.containment||(this.containment=["document"==i.containment?0:b(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"==i.containment?0:b(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"==i.containment?0:b(window).scrollLeft())+b("document"==i.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"==i.containment?0:b(window).scrollTop())+(b("document"==i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||i.containment.constructor==Array?i.containment.constructor==Array&&(this.containment=i.containment):(t=(i=b(i.containment))[0])&&(i.offset(),e="hidden"!=b(t).css("overflow"),this.containment=[(parseInt(b(t).css("borderLeftWidth"),10)||0)+(parseInt(b(t).css("paddingLeft"),10)||0),(parseInt(b(t).css("borderTopWidth"),10)||0)+(parseInt(b(t).css("paddingTop"),10)||0),(e?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(b(t).css("borderLeftWidth"),10)||0)-(parseInt(b(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(b(t).css("borderTopWidth"),10)||0)-(parseInt(b(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i)},_convertPositionTo:function(t,e){e=e||this.position;var t="absolute"==t?1:-1,i=(this.options,"absolute"!=this.cssPosition||this.scrollParent[0]!=document&&b.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent),s=/(html|body)/i.test(i[0].tagName);return{top:e.top+this.offset.relative.top*t+this.offset.parent.top*t-("fixed"==this.cssPosition?-this.scrollParent.scrollTop():s?0:i.scrollTop())*t,left:e.left+this.offset.relative.left*t+this.offset.parent.left*t-("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():s?0:i.scrollLeft())*t}},_generatePosition:function(t){var e,i=this.options,s="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&b.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,n=/(html|body)/i.test(s[0].tagName),a=t.pageX,o=t.pageY;return this.originalPosition&&(this.containment&&(e=this.relative_container?(e=this.relative_container.offset(),[this.containment[0]+e.left,this.containment[1]+e.top,this.containment[2]+e.left,this.containment[3]+e.top]):this.containment,t.pageX-this.offset.click.left<e[0]&&(a=e[0]+this.offset.click.left),t.pageY-this.offset.click.top<e[1]&&(o=e[1]+this.offset.click.top),t.pageX-this.offset.click.left>e[2]&&(a=e[2]+this.offset.click.left),t.pageY-this.offset.click.top>e[3])&&(o=e[3]+this.offset.click.top),i.grid)&&(t=i.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/i.grid[1])*i.grid[1]:this.originalPageY,o=e&&(t-this.offset.click.top<e[1]||t-this.offset.click.top>e[3])?t-this.offset.click.top<e[1]?t+i.grid[1]:t-i.grid[1]:t,t=i.grid[0]?this.originalPageX+Math.round((a-this.originalPageX)/i.grid[0])*i.grid[0]:this.originalPageX,a=e&&(t-this.offset.click.left<e[0]||t-this.offset.click.left>e[2])?t-this.offset.click.left<e[0]?t+i.grid[0]:t-i.grid[0]:t),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"==this.cssPosition?-this.scrollParent.scrollTop():n?0:s.scrollTop()),left:a-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():n?0:s.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]==this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(t,e,i){return i=i||this._uiHash(),b.ui.plugin.call(this,t,[e,i]),"drag"==t&&(this.positionAbs=this._convertPositionTo("absolute")),b.Widget.prototype._trigger.call(this,t,e,i)},plugins:{},_uiHash:function(t){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),b.ui.plugin.add("draggable","connectToSortable",{start:function(e,t){var i=b(this).data("draggable"),s=i.options,n=b.extend({},t,{item:i.element});i.sortables=[],b(s.connectToSortable).each(function(){var t=b.data(this,"sortable");t&&!t.options.disabled&&(i.sortables.push({instance:t,shouldRevert:t.options.revert}),t.refreshPositions(),t._trigger("activate",e,n))})},stop:function(t,e){var i=b(this).data("draggable"),s=b.extend({},e,{item:i.element});b.each(i.sortables,function(){this.instance.isOver?(this.instance.isOver=0,i.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,"original"==i.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",t,s))})},drag:function(s,n){var a=b(this).data("draggable"),o=this;b.each(a.sortables,function(t){var e=!1,i=this;this.instance.positionAbs=a.positionAbs,this.instance.helperProportions=a.helperProportions,this.instance.offset.click=a.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(e=!0,b.each(a.sortables,function(){return this.instance.positionAbs=a.positionAbs,this.instance.helperProportions=a.helperProportions,this.instance.offset.click=a.offset.click,e=this!=i&&this.instance._intersectsWith(this.instance.containerCache)&&b.ui.contains(i.instance.element[0],this.instance.element[0])?!1:e})),e?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=b(o).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return n.helper[0]},s.target=this.instance.currentItem[0],this.instance._mouseCapture(s,!0),this.instance._mouseStart(s,!0,!0),this.instance.offset.click.top=a.offset.click.top,this.instance.offset.click.left=a.offset.click.left,this.instance.offset.parent.left-=a.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=a.offset.parent.top-this.instance.offset.parent.top,a._trigger("toSortable",s),a.dropped=this.instance.element,a.currentItem=a.element,this.instance.fromOutside=a),this.instance.currentItem&&this.instance._mouseDrag(s)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",s,this.instance._uiHash(this.instance)),this.instance._mouseStop(s,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),a._trigger("fromSortable",s),a.dropped=!1)})}}),b.ui.plugin.add("draggable","cursor",{start:function(t,e){var i=b("body"),s=b(this).data("draggable").options;i.css("cursor")&&(s._cursor=i.css("cursor")),i.css("cursor",s.cursor)},stop:function(t,e){var i=b(this).data("draggable").options;i._cursor&&b("body").css("cursor",i._cursor)}}),b.ui.plugin.add("draggable","opacity",{start:function(t,e){var e=b(e.helper),i=b(this).data("draggable").options;e.css("opacity")&&(i._opacity=e.css("opacity")),e.css("opacity",i.opacity)},stop:function(t,e){var i=b(this).data("draggable").options;i._opacity&&b(e.helper).css("opacity",i._opacity)}}),b.ui.plugin.add("draggable","scroll",{start:function(t,e){var i=b(this).data("draggable");i.scrollParent[0]!=document&&"HTML"!=i.scrollParent[0].tagName&&(i.overflowOffset=i.scrollParent.offset())},drag:function(t,e){var i=b(this).data("draggable"),s=i.options,n=!1;i.scrollParent[0]!=document&&"HTML"!=i.scrollParent[0].tagName?(s.axis&&"x"==s.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-t.pageY<s.scrollSensitivity?i.scrollParent[0].scrollTop=n=i.scrollParent[0].scrollTop+s.scrollSpeed:t.pageY-i.overflowOffset.top<s.scrollSensitivity&&(i.scrollParent[0].scrollTop=n=i.scrollParent[0].scrollTop-s.scrollSpeed)),s.axis&&"y"==s.axis||(i.overflowOffset.left+i.scrollParent[0].offsetWidth-t.pageX<s.scrollSensitivity?i.scrollParent[0].scrollLeft=n=i.scrollParent[0].scrollLeft+s.scrollSpeed:t.pageX-i.overflowOffset.left<s.scrollSensitivity&&(i.scrollParent[0].scrollLeft=n=i.scrollParent[0].scrollLeft-s.scrollSpeed))):(s.axis&&"x"==s.axis||(t.pageY-b(document).scrollTop()<s.scrollSensitivity?n=b(document).scrollTop(b(document).scrollTop()-s.scrollSpeed):b(window).height()-(t.pageY-b(document).scrollTop())<s.scrollSensitivity&&(n=b(document).scrollTop(b(document).scrollTop()+s.scrollSpeed))),s.axis&&"y"==s.axis||(t.pageX-b(document).scrollLeft()<s.scrollSensitivity?n=b(document).scrollLeft(b(document).scrollLeft()-s.scrollSpeed):b(window).width()-(t.pageX-b(document).scrollLeft())<s.scrollSensitivity&&(n=b(document).scrollLeft(b(document).scrollLeft()+s.scrollSpeed)))),!1!==n&&b.ui.ddmanager&&!s.dropBehaviour&&b.ui.ddmanager.prepareOffsets(i,t)}}),b.ui.plugin.add("draggable","snap",{start:function(t,e){var i=b(this).data("draggable"),s=i.options;i.snapElements=[],b(s.snap.constructor!=String?s.snap.items||":data(draggable)":s.snap).each(function(){var t=b(this),e=t.offset();this!=i.element[0]&&i.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:e.top,left:e.left})})},drag:function(t,e){for(var i=b(this).data("draggable"),s=i.options,n=s.snapTolerance,a=e.offset.left,o=a+i.helperProportions.width,r=e.offset.top,h=r+i.helperProportions.height,l=i.snapElements.length-1;0<=l;l--){var c,u,d,p,f,g=i.snapElements[l].left,m=g+i.snapElements[l].width,v=i.snapElements[l].top,_=v+i.snapElements[l].height;g-n<a&&a<m+n&&v-n<r&&r<_+n||g-n<a&&a<m+n&&v-n<h&&h<_+n||g-n<o&&o<m+n&&v-n<r&&r<_+n||g-n<o&&o<m+n&&v-n<h&&h<_+n?(c=("inner"!=s.snapMode&&(u=Math.abs(v-h)<=n,d=Math.abs(_-r)<=n,p=Math.abs(g-o)<=n,f=Math.abs(m-a)<=n,u&&(e.position.top=i._convertPositionTo("relative",{top:v-i.helperProportions.height,left:0}).top-i.margins.top),d&&(e.position.top=i._convertPositionTo("relative",{top:_,left:0}).top-i.margins.top),p&&(e.position.left=i._convertPositionTo("relative",{top:0,left:g-i.helperProportions.width}).left-i.margins.left),f)&&(e.position.left=i._convertPositionTo("relative",{top:0,left:m}).left-i.margins.left),u||d||p||f),"outer"!=s.snapMode&&(u=Math.abs(v-r)<=n,d=Math.abs(_-h)<=n,p=Math.abs(g-a)<=n,f=Math.abs(m-o)<=n,u&&(e.position.top=i._convertPositionTo("relative",{top:v,left:0}).top-i.margins.top),d&&(e.position.top=i._convertPositionTo("relative",{top:_-i.helperProportions.height,left:0}).top-i.margins.top),p&&(e.position.left=i._convertPositionTo("relative",{top:0,left:g}).left-i.margins.left),f)&&(e.position.left=i._convertPositionTo("relative",{top:0,left:m-i.helperProportions.width}).left-i.margins.left),!i.snapElements[l].snapping&&(u||d||p||f||c)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,t,b.extend(i._uiHash(),{snapItem:i.snapElements[l].item})),i.snapElements[l].snapping=u||d||p||f||c):(i.snapElements[l].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,t,b.extend(i._uiHash(),{snapItem:i.snapElements[l].item})),i.snapElements[l].snapping=!1)}}}),b.ui.plugin.add("draggable","stack",{start:function(t,e){var i,s=b(this).data("draggable").options,s=b.makeArray(b(s.stack)).sort(function(t,e){return(parseInt(b(t).css("zIndex"),10)||0)-(parseInt(b(e).css("zIndex"),10)||0)});s.length&&(i=parseInt(s[0].style.zIndex)||0,b(s).each(function(t){this.style.zIndex=i+t}),this[0].style.zIndex=i+s.length)}}),b.ui.plugin.add("draggable","zIndex",{start:function(t,e){var e=b(e.helper),i=b(this).data("draggable").options;e.css("zIndex")&&(i._zIndex=e.css("zIndex")),e.css("zIndex",i.zIndex)},stop:function(t,e){var i=b(this).data("draggable").options;i._zIndex&&b(e.helper).css("zIndex",i._zIndex)}})})(jQuery),(p=>{p.widget("ui.droppable",{version:"1.9.2",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect"},_create:function(){var t=this.options,e=t.accept;this.isover=0,this.isout=1,this.accept=p.isFunction(e)?e:function(t){return t.is(e)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},p.ui.ddmanager.droppables[t.scope]=p.ui.ddmanager.droppables[t.scope]||[],p.ui.ddmanager.droppables[t.scope].push(this),t.addClasses&&this.element.addClass("ui-droppable")},_destroy:function(){for(var t=p.ui.ddmanager.droppables[this.options.scope],e=0;e<t.length;e++)t[e]==this&&t.splice(e,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(t,e){"accept"==t&&(this.accept=p.isFunction(e)?e:function(t){return t.is(e)}),p.Widget.prototype._setOption.apply(this,arguments)},_activate:function(t){var e=p.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),e&&this._trigger("activate",t,this.ui(e))},_deactivate:function(t){var e=p.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),e&&this._trigger("deactivate",t,this.ui(e))},_over:function(t){var e=p.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!=this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",t,this.ui(e)))},_out:function(t){var e=p.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!=this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",t,this.ui(e)))},_drop:function(t,e){var i,s=e||p.ui.ddmanager.current;return!(!s||(s.currentItem||s.element)[0]==this.element[0]||(i=!1,this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var t=p.data(this,"droppable");if(t.options.greedy&&!t.options.disabled&&t.options.scope==s.options.scope&&t.accept.call(t.element[0],s.currentItem||s.element)&&p.ui.intersect(s,p.extend(t,{offset:t.element.offset()}),t.options.tolerance))return!(i=!0)}),i)||!this.accept.call(this.element[0],s.currentItem||s.element))&&(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",t,this.ui(s)),this.element)},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),p.ui.intersect=function(t,e,i){if(!e.offset)return!1;var s=(t.positionAbs||t.position.absolute).left,n=s+t.helperProportions.width,a=(t.positionAbs||t.position.absolute).top,o=a+t.helperProportions.height,r=e.offset.left,h=r+e.proportions.width,l=e.offset.top,c=l+e.proportions.height;switch(i){case"fit":return r<=s&&n<=h&&l<=a&&o<=c;case"intersect":return r<s+t.helperProportions.width/2&&n-t.helperProportions.width/2<h&&l<a+t.helperProportions.height/2&&o-t.helperProportions.height/2<c;case"pointer":var u=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,d=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top;return p.ui.isOver(d,u,l,r,e.proportions.height,e.proportions.width);case"touch":return(l<=a&&a<=c||l<=o&&o<=c||a<l&&c<o)&&(r<=s&&s<=h||r<=n&&n<=h||s<r&&h<n);default:return!1}},p.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,e){var i=p.ui.ddmanager.droppables[t.options.scope]||[],s=e?e.type:null,n=(t.currentItem||t.element).find(":data(droppable)").andSelf();t:for(var a=0;a<i.length;a++)if(!(i[a].options.disabled||t&&!i[a].accept.call(i[a].element[0],t.currentItem||t.element))){for(var o=0;o<n.length;o++)if(n[o]==i[a].element[0]){i[a].proportions.height=0;continue t}i[a].visible="none"!=i[a].element.css("display"),i[a].visible&&("mousedown"==s&&i[a]._activate.call(i[a],e),i[a].offset=i[a].element.offset(),i[a].proportions={width:i[a].element[0].offsetWidth,height:i[a].element[0].offsetHeight})}},drop:function(t,e){var i=!1;return p.each(p.ui.ddmanager.droppables[t.options.scope]||[],function(){this.options&&(!this.options.disabled&&this.visible&&p.ui.intersect(t,this,this.options.tolerance)&&(i=this._drop.call(this,e)||i),!this.options.disabled)&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=1,this.isover=0,this._deactivate.call(this,e))}),i},dragStart:function(t,e){t.element.parentsUntil("body").bind("scroll.droppable",function(){t.options.refreshPositions||p.ui.ddmanager.prepareOffsets(t,e)})},drag:function(n,a){n.options.refreshPositions&&p.ui.ddmanager.prepareOffsets(n,a),p.each(p.ui.ddmanager.droppables[n.options.scope]||[],function(){var t,e,i,s;this.options.disabled||this.greedyChild||!this.visible||(t=(t=p.ui.intersect(n,this,this.options.tolerance))||1!=this.isover?t&&0==this.isover?"isover":null:"isout")&&(this.options.greedy&&(i=this.options.scope,(s=this.element.parents(":data(droppable)").filter(function(){return p.data(this,"droppable").options.scope===i})).length)&&((e=p.data(s[0],"droppable")).greedyChild="isover"==t?1:0),e&&"isover"==t&&(e.isover=0,e.isout=1,e._out.call(e,a)),this[t]=1,this["isout"==t?"isover":"isout"]=0,this["isover"==t?"_over":"_out"].call(this,a),e)&&"isout"==t&&(e.isout=0,e.isover=1,e._over.call(e,a))})},dragStop:function(t,e){t.element.parentsUntil("body").unbind("scroll.droppable"),t.options.refreshPositions||p.ui.ddmanager.prepareOffsets(t,e)}}})(jQuery),(c=>{c.widget("ui.resizable",c.ui.mouse,{version:"1.9.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var e=this,t=this.options;if(this.element.addClass("ui-resizable"),c.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(c('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=t.handles||(c(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor==String){"all"==this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw");var i=this.handles.split(",");this.handles={};for(var s=0;s<i.length;s++){var n=c.trim(i[s]),a=c('<div class="ui-resizable-handle '+("ui-resizable-"+n)+'"></div>');a.css({zIndex:t.zIndex}),"se"==n&&a.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[n]=".ui-resizable-"+n,this.element.append(a)}}this._renderAxis=function(t){for(var e in t=t||this.element,this.handles){var i,s;this.handles[e].constructor==String&&(this.handles[e]=c(this.handles[e],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=c(this.handles[e],this.element),i=0,i=/sw|ne|nw|se|n|s/.test(e)?s.outerHeight():s.outerWidth(),s=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(s,i),this._proportionallyResize()),c(this.handles[e]).length}},this._renderAxis(this.element),this._handles=c(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){var t;e.resizing||(this.className&&(t=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),e.axis=t&&t[1]?t[1]:"se")}),t.autoHide&&(this._handles.hide(),c(this.element).addClass("ui-resizable-autohide").mouseenter(function(){t.disabled||(c(this).removeClass("ui-resizable-autohide"),e._handles.show())}).mouseleave(function(){t.disabled||e.resizing||(c(this).addClass("ui-resizable-autohide"),e._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();function t(t){c(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_mouseCapture:function(t){var e,i=!1;for(e in this.handles)c(this.handles[e])[0]==t.target&&(i=!0);return!this.options.disabled&&i},_mouseStart:function(t){var e=this.options,i=this.element.position(),s=this.element,i=(this.resizing=!0,this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()},(s.is(".ui-draggable")||/absolute/.test(s.css("position")))&&s.css({position:"absolute",top:i.top,left:i.left}),this._renderProxy(),l(this.helper.css("left"))),n=l(this.helper.css("top")),i=(e.containment&&(i+=c(e.containment).scrollLeft()||0,n+=c(e.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:n},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:i,top:n},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof e.aspectRatio?e.aspectRatio:this.originalSize.width/this.originalSize.height||1,c(".ui-resizable-"+this.axis).css("cursor"));return c("body").css("cursor","auto"==i?this.axis+"-resize":i),s.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.helper,i=(this.options,this.originalMousePosition),s=this.axis,n=t.pageX-i.left||0,s=this._change[s];return s&&(s=s.apply(this,[t,n,t.pageY-i.top||0]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(s=this._updateRatio(s,t)),s=this._respectSize(s,t),this._propagate("resize",t),e.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(s),this._trigger("resize",t,this.ui())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,a=this;return this._helper&&(i=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&c.ui.hasScroll(i[0],"left")?0:a.sizeDiff.height,e=e?0:a.sizeDiff.width,e={width:a.helper.width()-e,height:a.helper.height()-i},i=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left)||null,s=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null,n.animate||this.element.css(c.extend(e,{top:s,left:i})),a.helper.height(a.size.height),a.helper.width(a.size.width),this._helper)&&!n.animate&&this._proportionallyResize(),c("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,i,s,n=this.options,n={minWidth:u(n.minWidth)?n.minWidth:0,maxWidth:u(n.maxWidth)?n.maxWidth:1/0,minHeight:u(n.minHeight)?n.minHeight:0,maxHeight:u(n.maxHeight)?n.maxHeight:1/0};(this._aspectRatio||t)&&(t=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,e=n.maxHeight*this.aspectRatio,s=n.maxWidth/this.aspectRatio,n.minWidth<t&&(n.minWidth=t),n.minHeight<i&&(n.minHeight=i),e<n.maxWidth&&(n.maxWidth=e),s<n.maxHeight)&&(n.maxHeight=s),this._vBoundaries=n},_updateCache:function(t){this.options;this.offset=this.helper.offset(),u(t.left)&&(this.position.left=t.left),u(t.top)&&(this.position.top=t.top),u(t.height)&&(this.size.height=t.height),u(t.width)&&(this.size.width=t.width)},_updateRatio:function(t,e){this.options;var i=this.position,s=this.size,n=this.axis;return u(t.height)?t.width=t.height*this.aspectRatio:u(t.width)&&(t.height=t.width/this.aspectRatio),"sw"==n&&(t.left=i.left+(s.width-t.width),t.top=null),"nw"==n&&(t.top=i.top+(s.height-t.height),t.left=i.left+(s.width-t.width)),t},_respectSize:function(t,e){this.helper;var i=this._vBoundaries,e=(this._aspectRatio||e.shiftKey,this.axis),s=u(t.width)&&i.maxWidth&&i.maxWidth<t.width,n=u(t.height)&&i.maxHeight&&i.maxHeight<t.height,a=u(t.width)&&i.minWidth&&i.minWidth>t.width,o=u(t.height)&&i.minHeight&&i.minHeight>t.height,r=(a&&(t.width=i.minWidth),o&&(t.height=i.minHeight),s&&(t.width=i.maxWidth),n&&(t.height=i.maxHeight),this.originalPosition.left+this.originalSize.width),h=this.position.top+this.size.height,l=/sw|nw|w/.test(e),e=/nw|ne|n/.test(e),a=(a&&l&&(t.left=r-i.minWidth),s&&l&&(t.left=r-i.maxWidth),o&&e&&(t.top=h-i.minHeight),n&&e&&(t.top=h-i.maxHeight),!t.width&&!t.height);return a&&!t.left&&t.top?t.top=null:a&&!t.top&&t.left&&(t.left=null),t},_proportionallyResize:function(){this.options;if(this._proportionallyResizeElements.length)for(var t=this.helper||this.element,e=0;e<this._proportionallyResizeElements.length;e++){var i,s,n=this._proportionallyResizeElements[e];this.borderDif||(i=[n.css("borderTopWidth"),n.css("borderRightWidth"),n.css("borderBottomWidth"),n.css("borderLeftWidth")],s=[n.css("paddingTop"),n.css("paddingRight"),n.css("paddingBottom"),n.css("paddingLeft")],this.borderDif=c.map(i,function(t,e){return(parseInt(t,10)||0)+(parseInt(s[e],10)||0)})),n.css({height:t.height()-this.borderDif[0]-this.borderDif[2]||0,width:t.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var t,e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||c('<div style="overflow:hidden;"></div>'),e=c.ui.ie6?1:0,t=c.ui.ie6?2:-1,this.helper.addClass(this._helper).css({width:this.element.outerWidth()+t,height:this.element.outerHeight()+t,position:"absolute",left:this.elementOffset.left-e+"px",top:this.elementOffset.top-e+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e,i){return{width:this.originalSize.width+e}},w:function(t,e,i){this.options;var s=this.originalSize;return{left:this.originalPosition.left+e,width:s.width-e}},n:function(t,e,i){this.options;var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){c.ui.plugin.call(this,t,[e,this.ui()]),"resize"!=t&&this._trigger(t,e,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}}}),c.ui.plugin.add("resizable","alsoResize",{start:function(t,e){function i(t){c(t).each(function(){var t=c(this);t.data("resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})}var s=c(this).data("resizable").options;"object"!=typeof s.alsoResize||s.alsoResize.parentNode?i(s.alsoResize):s.alsoResize.length?(s.alsoResize=s.alsoResize[0],i(s.alsoResize)):c.each(s.alsoResize,function(t){i(t)})},resize:function(t,a){function i(t,i){c(t).each(function(){var t=c(this),s=c(this).data("resizable-alsoresize"),n={},e=i&&i.length?i:t.parents(a.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(e,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})}var e=c(this).data("resizable"),s=e.options,n=e.originalSize,o=e.originalPosition,r={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-o.top||0,left:e.position.left-o.left||0};"object"!=typeof s.alsoResize||s.alsoResize.nodeType?i(s.alsoResize):c.each(s.alsoResize,function(t,e){i(t,e)})},stop:function(t,e){c(this).removeData("resizable-alsoresize")}}),c.ui.plugin.add("resizable","animate",{stop:function(e,t){var i=c(this).data("resizable"),s=i.options,n=i._proportionallyResizeElements,a=n.length&&/textarea/i.test(n[0].nodeName),o=a&&c.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,a=a?0:i.sizeDiff.width,a={width:i.size.width-a,height:i.size.height-o},o=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,r=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(c.extend(a,r&&o?{top:r,left:o}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var t={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&c(n[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),c.ui.plugin.add("resizable","containment",{start:function(t,e){var i,s,n,a,o=c(this).data("resizable"),r=o.options,h=o.element,r=r.containment,h=r instanceof c?r.get(0):/parent/.test(r)?h.parent().get(0):r;h&&(o.containerElement=c(h),/document/.test(r)||r==document?(o.containerOffset={left:0,top:0},o.containerPosition={left:0,top:0},o.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}):(i=c(h),s=[],c(["Top","Right","Left","Bottom"]).each(function(t,e){s[t]=l(i.css("padding"+e))}),o.containerOffset=i.offset(),o.containerPosition=i.position(),o.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},r=o.containerOffset,a=o.containerSize.height,n=o.containerSize.width,n=c.ui.hasScroll(h,"left")?h.scrollWidth:n,a=c.ui.hasScroll(h)?h.scrollHeight:a,o.parentData={element:h,left:r.left,top:r.top,width:n,height:a}))},resize:function(t,e){var i=c(this).data("resizable"),s=i.options,n=i.containerOffset,a=i.position,t=i._aspectRatio||t.shiftKey,o={top:0,left:0},r=i.containerElement,r=(r[0]!=document&&/static/.test(r.css("position"))&&(o=n),a.left<(i._helper?n.left:0)&&(i.size.width=i.size.width+(i._helper?i.position.left-n.left:i.position.left-o.left),t&&(i.size.height=i.size.width/i.aspectRatio),i.position.left=s.helper?n.left:0),a.top<(i._helper?n.top:0)&&(i.size.height=i.size.height+(i._helper?i.position.top-n.top:i.position.top),t&&(i.size.width=i.size.height*i.aspectRatio),i.position.top=i._helper?n.top:0),i.offset.left=i.parentData.left+i.position.left,i.offset.top=i.parentData.top+i.position.top,Math.abs(i.offset.left-o.left+i.sizeDiff.width)),s=Math.abs((i._helper?i.offset.top-o.top:i.offset.top-n.top)+i.sizeDiff.height),a=i.containerElement.get(0)==i.element.parent().get(0),o=/relative|absolute/.test(i.containerElement.css("position"));a&&o&&(r-=i.parentData.left),r+i.size.width>=i.parentData.width&&(i.size.width=i.parentData.width-r,t)&&(i.size.height=i.size.width/i.aspectRatio),s+i.size.height>=i.parentData.height&&(i.size.height=i.parentData.height-s,t)&&(i.size.width=i.size.height*i.aspectRatio)},stop:function(t,e){var i=c(this).data("resizable"),s=i.options,n=i.containerOffset,a=i.containerPosition,o=i.containerElement,r=c(i.helper),h=r.offset(),l=r.outerWidth()-i.sizeDiff.width,r=r.outerHeight()-i.sizeDiff.height;i._helper&&!s.animate&&/relative/.test(o.css("position"))&&c(this).css({left:h.left-a.left-n.left,width:l,height:r}),i._helper&&!s.animate&&/static/.test(o.css("position"))&&c(this).css({left:h.left-a.left-n.left,width:l,height:r})}}),c.ui.plugin.add("resizable","ghost",{start:function(t,e){var i=c(this).data("resizable"),s=i.options,n=i.size;i.ghost=i.originalElement.clone(),i.ghost.css({opacity:.25,display:"block",position:"relative",height:n.height,width:n.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof s.ghost?s.ghost:""),i.ghost.appendTo(i.helper)},resize:function(t,e){var i=c(this).data("resizable");i.options;i.ghost&&i.ghost.css({position:"relative",height:i.size.height,width:i.size.width})},stop:function(t,e){var i=c(this).data("resizable");i.options;i.ghost&&i.helper&&i.helper.get(0).removeChild(i.ghost.get(0))}}),c.ui.plugin.add("resizable","grid",{resize:function(t,e){var i=c(this).data("resizable"),s=i.options,n=i.size,a=i.originalSize,o=i.originalPosition,r=i.axis,t=(s._aspectRatio||t.shiftKey,s.grid="number"==typeof s.grid?[s.grid,s.grid]:s.grid,Math.round((n.width-a.width)/(s.grid[0]||1))*(s.grid[0]||1)),n=Math.round((n.height-a.height)/(s.grid[1]||1))*(s.grid[1]||1);/^(se|s|e)$/.test(r)?(i.size.width=a.width+t,i.size.height=a.height+n):/^(ne)$/.test(r)?(i.size.width=a.width+t,i.size.height=a.height+n,i.position.top=o.top-n):(/^(sw)$/.test(r)?(i.size.width=a.width+t,i.size.height=a.height+n):(i.size.width=a.width+t,i.size.height=a.height+n,i.position.top=o.top-n),i.position.left=o.left-t)}});var l=function(t){return parseInt(t,10)||0},u=function(t){return!isNaN(parseInt(t,10))}})(jQuery),(l=>{l.widget("ui.selectable",l.ui.mouse,{version:"1.9.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var t,e=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){(t=l(e.options.filter,e.element[0])).addClass("ui-selectee"),t.each(function(){var t=l(this),e=t.offset();l.data(this,"selectable-item",{element:this,$element:t,left:e.left,top:e.top,right:e.left+t.outerWidth(),bottom:e.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=t.addClass("ui-selectee"),this._mouseInit(),this.helper=l("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(i){var t,s=this;this.opos=[i.pageX,i.pageY],this.options.disabled||(t=this.options,this.selectees=l(t.filter,this.element[0]),this._trigger("start",i),l(t.appendTo).append(this.helper),this.helper.css({left:i.clientX,top:i.clientY,width:0,height:0}),t.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var t=l.data(this,"selectable-item");t.startselected=!0,i.metaKey||i.ctrlKey||(t.$element.removeClass("ui-selected"),t.selected=!1,t.$element.addClass("ui-unselecting"),t.unselecting=!0,s._trigger("unselecting",i,{unselecting:t.element}))}),l(i.target).parents().andSelf().each(function(){var t,e=l.data(this,"selectable-item");if(e)return t=!i.metaKey&&!i.ctrlKey||!e.$element.hasClass("ui-selected"),e.$element.removeClass(t?"ui-unselecting":"ui-selected").addClass(t?"ui-selecting":"ui-unselecting"),e.unselecting=!t,e.selecting=t,(e.selected=t)?s._trigger("selecting",i,{selecting:e.element}):s._trigger("unselecting",i,{unselecting:e.element}),!1}))},_mouseDrag:function(i){var s,n,a,t,o,r,h=this;if(this.dragged=!0,!this.options.disabled)return s=this.options,a=this.opos[0],r=this.opos[1],(n=i.pageX)<a&&(t=n,n=a,a=t),(o=i.pageY)<r&&(t=o,o=r,r=t),this.helper.css({left:a,top:r,width:n-a,height:o-r}),this.selectees.each(function(){var t,e=l.data(this,"selectable-item");e&&e.element!=h.element[0]&&(t=!1,"touch"==s.tolerance?t=!(e.left>n||e.right<a||e.top>o||e.bottom<r):"fit"==s.tolerance&&(t=e.left>a&&e.right<n&&e.top>r&&e.bottom<o),t?(e.selected&&(e.$element.removeClass("ui-selected"),e.selected=!1),e.unselecting&&(e.$element.removeClass("ui-unselecting"),e.unselecting=!1),e.selecting||(e.$element.addClass("ui-selecting"),e.selecting=!0,h._trigger("selecting",i,{selecting:e.element}))):(e.selecting&&((i.metaKey||i.ctrlKey)&&e.startselected?(e.$element.removeClass("ui-selecting"),e.selecting=!1,e.$element.addClass("ui-selected"),e.selected=!0):(e.$element.removeClass("ui-selecting"),e.selecting=!1,e.startselected&&(e.$element.addClass("ui-unselecting"),e.unselecting=!0),h._trigger("unselecting",i,{unselecting:e.element}))),!e.selected||i.metaKey||i.ctrlKey||e.startselected||(e.$element.removeClass("ui-selected"),e.selected=!1,e.$element.addClass("ui-unselecting"),e.unselecting=!0,h._trigger("unselecting",i,{unselecting:e.element}))))}),!1},_mouseStop:function(e){var i=this;this.dragged=!1,this.options;return l(".ui-unselecting",this.element[0]).each(function(){var t=l.data(this,"selectable-item");t.$element.removeClass("ui-unselecting"),t.unselecting=!1,t.startselected=!1,i._trigger("unselected",e,{unselected:t.element})}),l(".ui-selecting",this.element[0]).each(function(){var t=l.data(this,"selectable-item");t.$element.removeClass("ui-selecting").addClass("ui-selected"),t.selecting=!1,t.selected=!0,t.startselected=!0,i._trigger("selected",e,{selected:t.element})}),this._trigger("stop",e),this.helper.remove(),!1}})})(jQuery),(d=>{d.widget("ui.sortable",d.ui.mouse,{version:"1.9.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},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=!!this.items.length&&("x"===t.axis||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display"))),this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,e){"disabled"===t?(this.options[t]=e,this.widget().toggleClass("ui-sortable-disabled",!!e)):d.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,e){var i=this;if(this.reverting)return!1;if(this.options.disabled||"static"==this.options.type)return!1;this._refreshItems(t);var s=null;d(t.target).parents().each(function(){if(d.data(this,i.widgetName+"-item")==i)return s=d(this),!1});if(!(s=d.data(t.target,i.widgetName+"-item")==i?d(t.target):s))return!1;if(this.options.handle&&!e){var n=!1;if(d(this.options.handle,s).find("*").andSelf().each(function(){this==t.target&&(n=!0)}),!n)return!1}return this.currentItem=s,this._removeCurrentsFromItems(),!0},_mouseStart:function(t,e,i){var s=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},d.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,s.cursorAt&&this._adjustOffsetFromHelper(s.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),s.containment&&this._setContainment(),s.cursor&&(d("body").css("cursor")&&(this._storedCursor=d("body").css("cursor")),d("body").css("cursor",s.cursor)),s.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",s.opacity)),s.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",s.zIndex)),this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(var n=this.containers.length-1;0<=n;n--)this.containers[n]._trigger("activate",t,this._uiHash(this));return d.ui.ddmanager&&(d.ui.ddmanager.current=this),d.ui.ddmanager&&!s.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var e,i;this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(e=this.options,i=!1,this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-e.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-d(document).scrollTop()<e.scrollSensitivity?i=d(document).scrollTop(d(document).scrollTop()-e.scrollSpeed):d(window).height()-(t.pageY-d(document).scrollTop())<e.scrollSensitivity&&(i=d(document).scrollTop(d(document).scrollTop()+e.scrollSpeed)),t.pageX-d(document).scrollLeft()<e.scrollSensitivity?i=d(document).scrollLeft(d(document).scrollLeft()-e.scrollSpeed):d(window).width()-(t.pageX-d(document).scrollLeft())<e.scrollSensitivity&&(i=d(document).scrollLeft(d(document).scrollLeft()+e.scrollSpeed))),!1!==i)&&d.ui.ddmanager&&!e.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,t),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");for(var s=this.items.length-1;0<=s;s--){var n=this.items[s],a=n.item[0],o=this._intersectsWithPointer(n);if(o&&(n.instance===this.currentContainer&&!(a==this.currentItem[0]||this.placeholder[1==o?"next":"prev"]()[0]==a||d.contains(this.placeholder[0],a)||"semi-dynamic"==this.options.type&&d.contains(this.element[0],a)))){if(this.direction=1==o?"down":"up","pointer"!=this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(t,n),this._trigger("change",t,this._uiHash());break}}return this._contactContainers(t),d.ui.ddmanager&&d.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){var i,s;if(t)return d.ui.ddmanager&&!this.options.dropBehaviour&&d.ui.ddmanager.drop(this,t),this.options.revert?(s=(i=this).placeholder.offset(),this.reverting=!0,d(this.helper).animate({left:s.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:s.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){i._clear(t)})):this._clear(t,e),!1},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"==this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var t=this.containers.length-1;0<=t;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].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(),d.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):d(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},d(t).each(function(){var t=(d(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[-=_](.+)/);t&&i.push((e.key||t[1]+"[]")+"="+(e.key&&e.expression?t[1]:t[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},e.each(function(){i.push(d(t.item||this).attr(t.attribute||"id")||"")}),i},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,a=t.left,o=a+t.width,r=t.top,h=r+t.height,l=this.offset.click.top,c=this.offset.click.left;return"pointer"==this.options.tolerance||this.options.forcePointerForContainers||"pointer"!=this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?r<s+l&&s+l<h&&a<e+c&&e+c<o:a<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<o&&r<s+this.helperProportions.height/2&&n-this.helperProportions.height/2<h},_intersectsWithPointer:function(t){var e="x"===this.options.axis||d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),t="y"===this.options.axis||d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width),e=e&&t,t=this._getDragVerticalDirection(),i=this._getDragHorizontalDirection();return!!e&&(this.floating?i&&"right"==i||"down"==t?2:1:t&&("down"==t?2:1))},_intersectsWithSides:function(t){var e=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),t=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),i=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection();return this.floating&&s?"right"==s&&t||"left"==s&&!t:i&&("down"==i&&e||"up"==i&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!=t&&(0<t?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!=t&&(0<t?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor==String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(t){var e=[],i=[],s=this._connectWith();if(s&&t)for(var n=s.length-1;0<=n;n--)for(var a=d(s[n]),o=a.length-1;0<=o;o--){var r=d.data(a[o],this.widgetName);r&&r!=this&&!r.options.disabled&&i.push([d.isFunction(r.options.items)?r.options.items.call(r.element):d(r.options.items,r.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),r])}i.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(n=i.length-1;0<=n;n--)i[n][0].each(function(){e.push(this)});return d(e)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=d.grep(this.items,function(t){for(var e=0;e<i.length;e++)if(i[e]==t.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var e=this.items,i=[[d.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):d(this.options.items,this.element),this]],s=this._connectWith();if(s&&this.ready)for(var n=s.length-1;0<=n;n--)for(var a=d(s[n]),o=a.length-1;0<=o;o--){var r=d.data(a[o],this.widgetName);r&&r!=this&&!r.options.disabled&&(i.push([d.isFunction(r.options.items)?r.options.items.call(r.element[0],t,{item:this.currentItem}):d(r.options.items,r.element),r]),this.containers.push(r))}for(n=i.length-1;0<=n;n--)for(var h=i[n][1],l=i[n][0],o=0,c=l.length;o<c;o++){var u=d(l[o]);u.data(this.widgetName+"-item",h),e.push({item:u,instance:h,width:0,height:0,left:0,top:0})}},refreshPositions:function(t){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());for(var e=this.items.length-1;0<=e;e--){var i,s=this.items[e];s.instance!=this.currentContainer&&this.currentContainer&&s.item[0]!=this.currentItem[0]||(i=this.options.toleranceElement?d(this.options.toleranceElement,s.item):s.item,t||(s.width=i.outerWidth(),s.height=i.outerHeight()),n=i.offset(),s.left=n.left,s.top=n.top)}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;0<=e;e--){var n=this.containers[e].element.offset();this.containers[e].containerCache.left=n.left,this.containers[e].containerCache.top=n.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight()}return this},_createPlaceholder:function(i){var s,n=(i=i||this).options;n.placeholder&&n.placeholder.constructor!=String||(s=n.placeholder,n.placeholder={element:function(){var t=d(document.createElement(i.currentItem[0].nodeName)).addClass(s||i.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];return s||(t.style.visibility="hidden"),t},update:function(t,e){s&&!n.forcePlaceholderSize||(e.height()||e.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),e.width())||e.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10))}}),i.placeholder=d(n.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),n.placeholder.update(i,i.placeholder)},_contactContainers:function(t){for(var e=null,i=null,s=this.containers.length-1;0<=s;s--)d.contains(this.currentItem[0],this.containers[s].element[0])||(this._intersectsWith(this.containers[s].containerCache)?e&&d.contains(this.containers[s].element[0],e.element[0])||(e=this.containers[s],i=s):this.containers[s].containerCache.over&&(this.containers[s]._trigger("out",t,this._uiHash(this)),this.containers[s].containerCache.over=0));if(e)if(1===this.containers.length)this.containers[i]._trigger("over",t,this._uiHash(this)),this.containers[i].containerCache.over=1;else{for(var n,a,o=1e4,r=null,h=this.containers[i].floating?"left":"top",l=this.containers[i].floating?"width":"height",c=this.positionAbs[h]+this.offset.click[h],u=this.items.length-1;0<=u;u--)d.contains(this.containers[i].element[0],this.items[u].item[0])&&this.items[u].item[0]!=this.currentItem[0]&&(n=this.items[u].item.offset()[h],a=!1,Math.abs(n-c)>Math.abs(n+this.items[u][l]-c)&&(a=!0,n+=this.items[u][l]),Math.abs(n-c)<o)&&(o=Math.abs(n-c),r=this.items[u],this.direction=a?"up":"down");(r||this.options.dropOnEmpty)&&(this.currentContainer=this.containers[i],r?this._rearrange(t,r,null,!0):this._rearrange(t,null,this.containers[i].element,!0),this._trigger("change",t,this._uiHash()),this.containers[i]._trigger("change",t,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[i]._trigger("over",t,this._uiHash(this)),this.containers[i].containerCache.over=1)}},_createHelper:function(t){var e=this.options,t=d.isFunction(e.helper)?d(e.helper.apply(this.element[0],[t,this.currentItem])):"clone"==e.helper?this.currentItem.clone():this.currentItem;return t.parents("body").length||d("parent"!=e.appendTo?e.appendTo:this.currentItem[0].parentNode)[0].appendChild(t[0]),t[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")}),""!=t[0].style.width&&!e.forceHelperSize||t.width(this.currentItem.width()),""!=t[0].style.height&&!e.forceHelperSize||t.height(this.currentItem.height()),t},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=d.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&d.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&d.ui.ie?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var t;return"relative"==this.cssPosition?{top:(t=this.currentItem.position()).top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}:{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,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,d("document"==i.containment?document:window).width()-this.helperProportions.width-this.margins.left,(d("document"==i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(t=d(i.containment)[0],i=d(i.containment).offset(),e="hidden"!=d(t).css("overflow"),this.containment=[i.left+(parseInt(d(t).css("borderLeftWidth"),10)||0)+(parseInt(d(t).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(d(t).css("borderTopWidth"),10)||0)+(parseInt(d(t).css("paddingTop"),10)||0)-this.margins.top,i.left+(e?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(d(t).css("borderLeftWidth"),10)||0)-(parseInt(d(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(e?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(d(t).css("borderTopWidth"),10)||0)-(parseInt(d(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,e){e=e||this.position;var t="absolute"==t?1:-1,i=(this.options,"absolute"!=this.cssPosition||this.scrollParent[0]!=document&&d.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent),s=/(html|body)/i.test(i[0].tagName);return{top:e.top+this.offset.relative.top*t+this.offset.parent.top*t-("fixed"==this.cssPosition?-this.scrollParent.scrollTop():s?0:i.scrollTop())*t,left:e.left+this.offset.relative.left*t+this.offset.parent.left*t-("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():s?0:i.scrollLeft())*t}},_generatePosition:function(t){var e=this.options,i="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&d.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(i[0].tagName),n=("relative"!=this.cssPosition||this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),t.pageX),a=t.pageY;return this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(n=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(a=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(n=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3])&&(a=this.containment[3]+this.offset.click.top),e.grid)&&(t=this.originalPageY+Math.round((a-this.originalPageY)/e.grid[1])*e.grid[1],a=this.containment&&(t-this.offset.click.top<this.containment[1]||t-this.offset.click.top>this.containment[3])?t-this.offset.click.top<this.containment[1]?t+e.grid[1]:t-e.grid[1]:t,t=this.originalPageX+Math.round((n-this.originalPageX)/e.grid[0])*e.grid[0],n=this.containment&&(t-this.offset.click.left<this.containment[0]||t-this.offset.click.left>this.containment[2])?t-this.offset.click.left<this.containment[0]?t+e.grid[0]:t-e.grid[0]:t),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"==this.cssPosition?-this.scrollParent.scrollTop():s?0:i.scrollTop()),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():s?0:i.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"==this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n==this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){this.reverting=!1;var i=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]==this.currentItem[0]){for(var s in this._storedCSS)"auto"!=this._storedCSS[s]&&"static"!=this._storedCSS[s]||(this._storedCSS[s]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!e&&i.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev==this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent==this.currentItem.parent()[0]||e||i.push(function(t){this._trigger("update",t,this._uiHash())}),this===this.currentContainer||e||(i.push(function(t){this._trigger("remove",t,this._uiHash())}),i.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),i.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)));for(s=this.containers.length-1;0<=s;s--)e||i.push(function(e){return function(t){e._trigger("deactivate",t,this._uiHash(this))}}.call(this,this.containers[s])),this.containers[s].containerCache.over&&(i.push(function(e){return function(t){e._trigger("out",t,this._uiHash(this))}}.call(this,this.containers[s])),this.containers[s].containerCache.over=0);if(this._storedCursor&&d("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"==this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){this._trigger("beforeStop",t,this._uiHash());for(s=0;s<i.length;s++)i[s].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1}if(e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!=this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(s=0;s<i.length;s++)i[s].call(this,t);this._trigger("stop",t,this._uiHash())}return!(this.fromOutside=!1)},_trigger:function(){!1===d.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(t){var e=t||this;return{helper:e.helper,placeholder:e.placeholder||d([]),position:e.position,originalPosition:e.originalPosition,offset:e.positionAbs,item:e.currentItem,sender:t?t.element:null}}})})(jQuery),jQuery.effects||(r=>{var i,o,h,l,c,u,t,d,e,p,f,g,m,s,v,n=!1!==r.uiBackCompat,a="ui-effects-";function _(t,e,i,s){return t={effect:t=r.isPlainObject(t)?(e=t).effect:t},r.isFunction(e=null==e?{}:e)&&(s=e,i=null,e={}),"number"!=typeof e&&!r.fx.speeds[e]||(s=i,i=e,e={}),r.isFunction(i)&&(s=i,i=null),e&&r.extend(t,e),i=i||e.duration,t.duration=r.fx.off?0:"number"==typeof i?i:i in r.fx.speeds?r.fx.speeds[i]:r.fx.speeds._default,t.complete=s||e.complete,t}function b(t){return!(t&&"number"!=typeof t&&!r.fx.speeds[t]&&("string"!=typeof t||r.effects.effect[t]||n&&r.effects[t]))}function y(){var t,e,i=this.ownerDocument.defaultView?this.ownerDocument.defaultView.getComputedStyle(this,null):this.currentStyle,s={};if(i&&i.length&&i[0]&&i[i[0]])for(e=i.length;e--;)"string"==typeof i[t=i[e]]&&(s[r.camelCase(t)]=i[t]);else for(t in i)"string"==typeof i[t]&&(s[t]=i[t]);return s}function w(t,e,i){var s=g[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parseFloat(t),isNaN(t)?e.def:s.mod?(t+s.mod)%s.mod:t<0?0:s.max<t?s.max:t)}function x(s){var n=p(),a=n._rgba=[];return s=s.toLowerCase(),v(e,function(t,e){var i=e.re.exec(s),i=i&&e.parse(i),e=e.space||"rgba";if(i)return i=n[e](i),n[f[e].cache]=i[f[e].cache],a=n._rgba=i._rgba,!1}),a.length?("0,0,0,0"===a.join()&&l.extend(a,u.transparent),n):u[s]}function k(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}r.effects={effect:{}},l=jQuery,t="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor".split(" "),d=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],p=l.Color=function(t,e,i,s){return new l.Color.fn.parse(t,e,i,s)},f={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"}}}},g={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},m=p.support={},s=l("<p>")[0],v=l.each,s.style.cssText="background-color:rgba(1,1,1,.5)",m.rgba=-1<s.style.backgroundColor.indexOf("rgba"),v(f,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),p.fn=l.extend(p.prototype,{parse:function(n,t,e,i){if(n===c)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=l(n).css(t),t=c);var a=this,s=l.type(n),o=this._rgba=[];return t!==c&&(n=[n,t,e,i],s="array"),"string"===s?this.parse(x(n)||u._default):"array"===s?(v(f.rgba.props,function(t,e){o[e.idx]=w(n[e.idx],e)}),this):"object"===s?(n instanceof p?v(f,function(t,e){n[e.cache]&&(a[e.cache]=n[e.cache].slice())}):v(f,function(t,i){var s=i.cache;v(i.props,function(t,e){if(!a[s]&&i.to){if("alpha"===t||null==n[t])return;a[s]=i.to(a._rgba)}a[s][e.idx]=w(n[t],e,!0)}),a[s]&&r.inArray(null,a[s].slice(0,3))<0&&(a[s][3]=1,i.from)&&(a._rgba=i.from(a[s]))}),this):void 0},is:function(t){var n=p(t),a=!0,o=this;return v(f,function(t,e){var i,s=n[e.cache];return s&&(i=o[e.cache]||e.to&&e.to(o._rgba)||[],v(e.props,function(t,e){if(null!=s[e.idx])return a=s[e.idx]===i[e.idx]})),a}),a},_space:function(){var i=[],s=this;return v(f,function(t,e){s[e.cache]&&i.push(t)}),i.pop()},transition:function(t,o){var t=(l=p(t))._space(),e=f[t],i=0===this.alpha()?p("transparent"):this,r=i[e.cache]||e.to(i._rgba),h=r.slice(),l=l[e.cache];return v(e.props,function(t,e){var i=e.idx,s=r[i],n=l[i],a=g[e.type]||{};null!==n&&(null===s?h[i]=n:(a.mod&&(n-s>a.mod/2?s+=a.mod:s-n>a.mod/2&&(s-=a.mod)),h[i]=w((n-s)*o+s,e)))}),this[t](h)},blend:function(t){var e,i,s;return 1===this._rgba[3]?this:(e=this._rgba.slice(),i=e.pop(),s=p(t)._rgba,p(l.map(e,function(t,e){return(1-i)*s[e]+i*t})))},toRgbaString:function(){var t="rgba(",e=l.map(this._rgba,function(t,e){return null==t?2<e?1:0:t});return 1===e[3]&&(e.pop(),t="rgb("),t+e.join()+")"},toHslaString:function(){var t="hsla(",e=l.map(this.hsla(),function(t,e){return null==t&&(t=2<e?1:0),t=e&&e<3?Math.round(100*t)+"%":t});return 1===e[3]&&(e.pop(),t="hsl("),t+e.join()+")"},toHexString:function(t){var e=this._rgba.slice(),i=e.pop();return t&&e.push(~~(255*i)),"#"+l.map(e,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),p.fn.parse.prototype=p.fn,f.hsla.to=function(t){var e,i,s,n,a,o;return null==t[0]||null==t[1]||null==t[2]?[null,null,null,t[3]]:(s=t[0]/255,n=t[1]/255,a=t[2]/255,t=t[3],i=(o=Math.max(s,n,a))-(e=Math.min(s,n,a)),a=e===o?0:s===o?60*(n-a)/i+360:n===o?60*(a-s)/i+120:60*(s-n)/i+240,o=0==(n=.5*(s=o+e))||1==n?n:n<=.5?i/s:i/(2-s),[Math.round(a)%360,o,n,null==t?1:t])},f.hsla.from=function(t){var e,i,s;return null==t[0]||null==t[1]||null==t[2]?[null,null,null,t[3]]:(e=t[0]/360,s=t[1],i=t[3],s=2*(t=t[2])-(t=t<=.5?t*(1+s):t+s-t*s),[Math.round(255*k(s,t,e+1/3)),Math.round(255*k(s,t,e)),Math.round(255*k(s,t,e-1/3)),i])},v(f,function(r,t){var e=t.props,a=t.cache,o=t.to,h=t.from;p.fn[r]=function(t){var i,s,n;return o&&!this[a]&&(this[a]=o(this._rgba)),t===c?this[a].slice():(i=l.type(t),s="array"===i||"object"===i?t:arguments,n=this[a].slice(),v(e,function(t,e){t=s["object"===i?t:e.idx];null==t&&(t=n[e.idx]),n[e.idx]=w(t,e)}),h?((t=p(h(n)))[a]=n,t):p(n))},v(e,function(a,o){p.fn[a]||(p.fn[a]=function(t){var e=l.type(t),i="alpha"===a?this._hsla?"hsla":"rgba":r,s=this[i](),n=s[o.idx];return"undefined"===e?n:("function"===e&&(t=t.call(this,n),e=l.type(t)),null==t&&o.empty?this:("string"===e&&(e=d.exec(t))&&(t=n+parseFloat(e[2])*("+"===e[1]?1:-1)),s[o.idx]=t,this[i](s)))})})}),v(t,function(t,a){l.cssHooks[a]={set:function(t,e){var i,s,n="";if("string"!==l.type(e)||(i=x(e))){if(e=p(i||e),!m.rgba&&1!==e._rgba[3]){for(s="backgroundColor"===a?t.parentNode:t;(""===n||"transparent"===n)&&s&&s.style;)try{n=l.css(s,"backgroundColor"),s=s.parentNode}catch(t){}e=e.blend(n&&"transparent"!==n?n:"_default")}e=e.toRgbaString()}try{t.style[a]=e}catch(t){}}},l.fx.step[a]=function(t){t.colorInit||(t.start=p(t.elem,a),t.end=p(t.end),t.colorInit=!0),l.cssHooks[a].set(t.elem,t.start.transition(t.end,t.pos))}}),l.cssHooks.borderColor={expand:function(i){var s={};return v(["Top","Right","Bottom","Left"],function(t,e){s["border"+e+"Color"]=i}),s}},u=l.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"},o=["add","remove","toggle"],h={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},r.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,e){r.fx.step[e]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(jQuery.style(t.elem,e,t.end),t.setAttr=!0)}}),r.effects.animateClass=function(n,t,e,i){var a=r.speed(t,e,i);return this.queue(function(){var i=r(this),t=i.attr("class")||"",e=(e=a.children?i.find("*").andSelf():i).map(function(){return{el:r(this),start:y.call(this)}}),s=function(){r.each(o,function(t,e){n[e]&&i[e+"Class"](n[e])})};s(),e=e.map(function(){return this.end=y.call(this.el[0]),this.diff=((t,e)=>{var i,s,n={};for(i in e)s=e[i],t[i]===s||h[i]||!r.fx.step[i]&&isNaN(parseFloat(s))||(n[i]=s);return n})(this.start,this.end),this}),i.attr("class",t),e=e.map(function(){var t=this,e=r.Deferred(),i=jQuery.extend({},a,{queue:!1,complete:function(){e.resolve(t)}});return this.el.animate(this.diff,i),e.promise()}),r.when.apply(r,e.get()).done(function(){s(),r.each(arguments,function(){var e=this.el;r.each(this.diff,function(t){e.css(t,"")})}),a.complete.call(i[0])})})},r.fn.extend({_addClass:r.fn.addClass,addClass:function(t,e,i,s){return e?r.effects.animateClass.call(this,{add:t},e,i,s):this._addClass(t)},_removeClass:r.fn.removeClass,removeClass:function(t,e,i,s){return e?r.effects.animateClass.call(this,{remove:t},e,i,s):this._removeClass(t)},_toggleClass:r.fn.toggleClass,toggleClass:function(t,e,i,s,n){return"boolean"==typeof e||void 0===e?i?r.effects.animateClass.call(this,e?{add:t}:{remove:t},i,s,n):this._toggleClass(t,e):r.effects.animateClass.call(this,{toggle:t},e,i,s)},switchClass:function(t,e,i,s,n){return r.effects.animateClass.call(this,{add:e,remove:t},i,s,n)}}),r.extend(r.effects,{version:"1.9.2",save:function(t,e){for(var i=0;i<e.length;i++)null!==e[i]&&t.data(a+e[i],t[0].style[e[i]])},restore:function(t,e){for(var i,s=0;s<e.length;s++)null!==e[s]&&(i=t.data(a+e[s]),t.css(e[s],i=void 0===i?"":i))},setMode:function(t,e){return e="toggle"===e?t.is(":hidden")?"show":"hide":e},getBaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var s={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},t=r("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:i.width(),height:i.height()},n=document.activeElement;try{n.id}catch(t){n=document.body}return i.wrap(t),i[0]!==n&&!r.contains(i[0],n)||r(n).focus(),t=i.parent(),"static"===i.css("position")?(t.css({position:"relative"}),i.css({position:"relative"})):(r.extend(s,{position:i.css("position"),zIndex:i.css("z-index")}),r.each(["top","left","bottom","right"],function(t,e){s[e]=i.css(e),isNaN(parseInt(s[e],10))&&(s[e]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(e),t.css(s).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),t[0]===e||r.contains(t[0],e))&&r(e).focus(),t},setTransition:function(s,t,n,a){return a=a||{},r.each(t,function(t,e){var i=s.cssUnit(e);0<i[0]&&(a[e]=i[0]*n+i[1])}),a}}),r.fn.extend({effect:function(){function t(t){function e(){r.isFunction(s)&&s.call(i[0]),r.isFunction(t)&&t()}var i=r(this),s=a.complete,n=a.mode;(i.is(":hidden")?"hide"===n:"show"===n)?e():o.call(i[0],a,e)}var a=_.apply(this,arguments),e=a.mode,i=a.queue,o=r.effects.effect[a.effect],s=!o&&n&&r.effects[a.effect];return r.fx.off||!o&&!s?e?this[e](a.duration,a.complete):this.each(function(){a.complete&&a.complete.call(this)}):o?!1===i?this.each(t):this.queue(i||"fx",t):s.call(this,{options:a,duration:a.duration,callback:a.complete,mode:a.mode})},_show:r.fn.show,show:function(t){return b(t)?this._show.apply(this,arguments):((t=_.apply(this,arguments)).mode="show",this.effect.call(this,t))},_hide:r.fn.hide,hide:function(t){return b(t)?this._hide.apply(this,arguments):((t=_.apply(this,arguments)).mode="hide",this.effect.call(this,t))},__toggle:r.fn.toggle,toggle:function(t){return b(t)||"boolean"==typeof t||r.isFunction(t)?this.__toggle.apply(this,arguments):((t=_.apply(this,arguments)).mode="toggle",this.effect.call(this,t))},cssUnit:function(t){var i=this.css(t),s=[];return r.each(["em","px","%","pt"],function(t,e){0<i.indexOf(e)&&(s=[parseFloat(i),e])}),s}}),i={},r.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,t){i[t]=function(t){return Math.pow(t,e+2)}}),r.extend(i,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),r.each(i,function(t,e){r.easing["easeIn"+t]=e,r.easing["easeOut"+t]=function(t){return 1-e(1-t)},r.easing["easeInOut"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}})})(jQuery),(h=>{var e,n,i,t,s,a,o,r,l,c,u=0,d={},p={};d.height=d.paddingTop=d.paddingBottom=d.borderTopWidth=d.borderBottomWidth="hide",p.height=p.paddingTop=p.paddingBottom=p.borderTopWidth=p.borderBottomWidth="show",h.widget("ui.accordion",{version:"1.9.2",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var a=this.accordionId="ui-accordion-"+(this.element.attr("id")||++u),t=this.options;this.prevShow=this.prevHide=h(),this.element.addClass("ui-accordion ui-widget ui-helper-reset"),this.headers=this.element.find(t.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this._hoverable(this.headers),this._focusable(this.headers),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),t.active<0&&(t.active+=this.headers.length),this.active=this._findActive(t.active).addClass("ui-accordion-header-active ui-state-active").toggleClass("ui-corner-all ui-corner-top"),this.active.next().addClass("ui-accordion-content-active").show(),this._createIcons(),this.refresh(),this.element.attr("role","tablist"),this.headers.attr("role","tab").each(function(t){var e=h(this),i=e.attr("id"),s=e.next(),n=s.attr("id");i||e.attr("id",i=a+"-header-"+t),n||s.attr("id",n=a+"-panel-"+t),e.attr("aria-controls",n),s.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._on(this.headers,{keydown:"_keydown"}),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._setupEvents(t.event)},_getCreateEventData:function(){return{header:this.active,content:this.active.length?this.active.next():h()}},_createIcons:function(){var t=this.options.icons;t&&(h("<span>").addClass("ui-accordion-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){"active"===t?this._activate(e):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e)&&this._createIcons(),"disabled"===t&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e))},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var e=h.ui.keyCode,i=this.headers.length,s=this.headers.index(t.target),n=!1;switch(t.keyCode){case e.RIGHT:case e.DOWN:n=this.headers[(s+1)%i];break;case e.LEFT:case e.UP:n=this.headers[(s-1+i)%i];break;case e.SPACE:case e.ENTER:this._eventHandler(t);break;case e.HOME:n=this.headers[0];break;case e.END:n=this.headers[i-1]}n&&(h(t.target).attr("tabIndex",-1),h(n).attr("tabIndex",0),n.focus(),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===h.ui.keyCode.UP&&t.ctrlKey&&h(t.currentTarget).prev().focus()},refresh:function(){var i,t,e=this.options.heightStyle,s=this.element.parent();"fill"===e?(h.support.minHeight||(t=s.css("overflow"),s.css("overflow","hidden")),i=s.height(),this.element.siblings(":visible").each(function(){var t=h(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),t&&s.css("overflow",t),this.headers.each(function(){i-=h(this).outerHeight(!0)}),this.headers.next().each(function(){h(this).height(Math.max(0,i-h(this).innerHeight()+h(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.headers.next().each(function(){i=Math.max(i,h(this).css("height","").height())}).height(i))},_activate:function(t){t=this._findActive(t)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:h.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):h()},_setupEvents:function(t){var i={};t&&(h.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._on(this.headers,i))},_eventHandler:function(t){var e=this.options,i=this.active,s=h(t.currentTarget),n=s[0]===i[0],a=n&&e.collapsible,o=a?h():s.next(),r=i.next(),r={oldHeader:i,oldPanel:r,newHeader:a?h():s,newPanel:o};t.preventDefault(),n&&!e.collapsible||!1===this._trigger("beforeActivate",t,r)||(e.active=!a&&this.headers.index(s),this.active=n?h():s,this._toggle(r),i.removeClass("ui-accordion-header-active ui-state-active"),e.icons&&i.children(".ui-accordion-header-icon").removeClass(e.icons.activeHeader).addClass(e.icons.header),n)||(s.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),e.icons&&s.children(".ui-accordion-header-icon").removeClass(e.icons.header).addClass(e.icons.activeHeader),s.next().addClass("ui-accordion-content-active"))},_toggle:function(t){var e=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=e,this.prevHide=i,this.options.animate?this._animate(e,i,t):(i.hide(),e.show(),this._toggleComplete(t)),i.attr({"aria-expanded":"false","aria-hidden":"true"}),i.prev().attr("aria-selected","false"),e.length&&i.length?i.prev().attr("tabIndex",-1):e.length&&this.headers.filter(function(){return 0===h(this).attr("tabIndex")}).attr("tabIndex",-1),e.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(t,i,e){function s(){r._toggleComplete(e)}var n,a,o,r=this,h=0,l=t.length&&(!i.length||t.index()<i.index()),c=this.options.animate||{},l=l&&c.down||c;return a=(a="string"==typeof l?l:a)||l.easing||c.easing,o=(o="number"==typeof l?l:o)||l.duration||c.duration,i.length?t.length?(n=t.show().outerHeight(),i.animate(d,{duration:o,easing:a,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(p,{duration:o,easing:a,complete:s,step:function(t,e){e.now=Math.round(t),"height"!==e.prop?h+=e.now:"content"!==r.options.heightStyle&&(e.now=Math.round(n-i.outerHeight()-h),h=0)}})):i.animate(d,o,a,s):t.animate(p,o,a,s)},_toggleComplete:function(t){var e=t.oldPanel;e.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}}),!1!==h.uiBackCompat&&(r=jQuery,l=jQuery.ui.accordion.prototype,r.extend(l.options,{navigation:!1,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}}),c=l._create,l._create=function(){var e,t,i,s;this.options.navigation&&(i=(t=(e=this).element.find(this.options.header)).next(),s=t.add(i).find("a").filter(this.options.navigationFilter)[0])&&t.add(i).each(function(t){if(r.contains(this,s))return e.options.active=Math.floor(t/2),!1}),c.call(this)},l=jQuery,s=jQuery.ui.accordion.prototype,l.extend(s.options,{heightStyle:null,autoHeight:!0,clearStyle:!1,fillSpace:!1}),a=s._create,o=s._setOption,l.extend(s,{_create:function(){this.options.heightStyle=this.options.heightStyle||this._mergeHeightStyle(),a.call(this)},_setOption:function(t){"autoHeight"!==t&&"clearStyle"!==t&&"fillSpace"!==t||(this.options.heightStyle=this._mergeHeightStyle()),o.apply(this,arguments)},_mergeHeightStyle:function(){var t=this.options;return t.fillSpace?"fill":t.clearStyle?"content":t.autoHeight?"auto":void 0}}),l=jQuery,s=jQuery.ui.accordion.prototype,l.extend(s.options.icons,{activeHeader:null,headerSelected:"ui-icon-triangle-1-s"}),t=s._createIcons,s._createIcons=function(){this.options.icons&&(this.options.icons.activeHeader=this.options.icons.activeHeader||this.options.icons.headerSelected),t.call(this)},jQuery,(l=jQuery.ui.accordion.prototype).activate=l._activate,i=l._findActive,l._findActive=function(t){return(t=-1===t?!1:t)&&"number"!=typeof t&&-1===(t=this.headers.index(this.headers.filter(t)))&&(t=!1),i.call(this,t)},jQuery.ui.accordion.prototype.resize=jQuery.ui.accordion.prototype.refresh,l=(s=jQuery).ui.accordion.prototype,s.extend(l.options,{change:null,changestart:null}),n=l._trigger,l._trigger=function(t,e,i){var s=n.apply(this,arguments);return!!s&&("beforeActivate"===t?s=n.call(this,"changestart",e,{oldHeader:i.oldHeader,oldContent:i.oldPanel,newHeader:i.newHeader,newContent:i.newPanel}):"activate"===t&&(s=n.call(this,"change",e,{oldHeader:i.oldHeader,oldContent:i.oldPanel,newHeader:i.newHeader,newContent:i.newPanel})),s)},s=jQuery,l=jQuery.ui.accordion.prototype,s.extend(l.options,{animate:null,animated:"slide"}),e=l._create,l._create=function(){var t=this.options;null===t.animate&&(t.animated?"slide"===t.animated?t.animate=300:"bounceslide"===t.animated?t.animate={duration:200,down:{easing:"easeOutBounce",duration:1e3}}:t.animate=t.animated:t.animate=!1),e.call(this)})})(jQuery),(a=>{var s=0;a.widget("ui.autocomplete",{version:"1.9.2",defaultElement:"<input>",options:{appendTo:"body",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},pending:0,_create:function(){var i,s,n;this.isMultiLine=this._isMultiLine(),this.valueMethod=this.element[this.element.is("input,textarea")?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var e=a.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:case e.NUMPAD_ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)i=!1,t.preventDefault();else if(!s){var e=a.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){n?(n=!1,t.preventDefault()):this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),this._change(t))}}),this._initSource(),this.menu=a("<ul>").addClass("ui-autocomplete").appendTo(this.document.find(this.options.appendTo||"body")[0]).menu({input:a(),role:null}).zIndex(this.element.zIndex()+1).hide().data("menu"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];a(t.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(t){t.target===e.element[0]||t.target===i||a.contains(i,t.target)||e.close()})})},menufocus:function(t,e){this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent)&&/^mouse/.test(t.originalEvent.type)?(this.menu.blur(),this.document.one("mousemove",function(){a(t.target).trigger(t.originalEvent)})):(e=e.item.data("ui-autocomplete-item")||e.item.data("item.autocomplete"),!1!==this._trigger("focus",t,{item:e})?t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(e.value):this.liveRegion.text(e.value))},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item")||e.item.data("item.autocomplete"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=a("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element),a.fn.bgiframe&&this.menu.element.bgiframe(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this.document.find(e||"body")[0]),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isMultiLine:function(){return!!this.element.is("textarea")||!this.element.is("input")&&this.element.prop("isContentEditable")},_initSource:function(){var i,s,n=this;a.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(a.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(s=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=a.ajax({url:s,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=this,i=++s;return function(t){i===s&&e.__response(t),e.pending--,e.pending||e.element.removeClass("ui-autocomplete-loading")}},__response:function(t){t=t&&this._normalize(t),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:a.map(t,function(t){return"string"==typeof t?{label:t,value:t}:a.extend({label:t.label||t.value,value:t.value||t.label},t)})},_suggest:function(t){var e=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(e,t),this.menu.refresh(),e.show(),this._resizeMenu(),e.position(a.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,t){var s=this;a.each(t,function(t,e){s._renderItemData(i,e)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(t,e){return a("<li>").append(a("<a>").text(e.label)).appendTo(t)},_move:function(t,e){this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this._value(this.term),this.menu.blur()):this.menu[t](e):this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())}}),a.extend(a.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(a.ui.autocomplete.escapeRegex(e),"i");return a.grep(t,function(t){return i.test(t.label||t.value||t)})}}),a.widget("ui.autocomplete",a.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1<t?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.text(t))}})})(jQuery),(a=>{function o(){var t=a(this).find(":ui-button");setTimeout(function(){t.button("refresh")},1)}function r(t){var e=t.name,i=t.form,s=a([]);return s=e?i?a(i).find("[name='"+e+"']"):a("[name='"+e+"']",t.ownerDocument).filter(function(){return!this.form}):s}var h,l,c,u,d="ui-button ui-widget ui-state-default ui-corner-all",p="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only";a.widget("ui.button",{version:"1.9.2",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,o),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var e=this,i=this.options,t="checkbox"===this.type||"radio"===this.type,s=t?"":"ui-state-active",n="ui-state-focus";null===i.label&&(i.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(d).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){i.disabled||this===h&&a(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){i.disabled||a(this).removeClass(s)}).bind("click"+this.eventNamespace,function(t){i.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}),this.element.bind("focus"+this.eventNamespace,function(){e.buttonElement.addClass(n)}).bind("blur"+this.eventNamespace,function(){e.buttonElement.removeClass(n)}),t&&(this.element.bind("change"+this.eventNamespace,function(){u||e.refresh()}),this.buttonElement.bind("mousedown"+this.eventNamespace,function(t){i.disabled||(u=!1,l=t.pageX,c=t.pageY)}).bind("mouseup"+this.eventNamespace,function(t){i.disabled||l===t.pageX&&c===t.pageY||(u=!0)})),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(i.disabled||u)return!1;a(this).toggleClass("ui-state-active"),e.buttonElement.attr("aria-pressed",e.element[0].checked)}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(i.disabled||u)return!1;a(this).addClass("ui-state-active"),e.buttonElement.attr("aria-pressed","true");var t=e.element[0];r(t).not(t).map(function(){return a(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){if(i.disabled)return!1;a(this).addClass("ui-state-active"),h=this,e.document.one("mouseup",function(){h=null})}).bind("mouseup"+this.eventNamespace,function(){if(i.disabled)return!1;a(this).removeClass("ui-state-active")}).bind("keydown"+this.eventNamespace,function(t){if(i.disabled)return!1;t.keyCode!==a.ui.keyCode.SPACE&&t.keyCode!==a.ui.keyCode.ENTER||a(this).addClass("ui-state-active")}).bind("keyup"+this.eventNamespace,function(){a(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(t){t.keyCode===a.ui.keyCode.SPACE&&a(this).click()})),this._setOption("disabled",i.disabled),this._resetButton()},_determineButtonType:function(){var t,e;this.element.is("[type=checkbox]")?this.type="checkbox":this.element.is("[type=radio]")?this.type="radio":this.element.is("input")?this.type="input":this.type="button","checkbox"===this.type||"radio"===this.type?(e=this.element.parents().last(),t="label[for='"+this.element.attr("id")+"']",this.buttonElement=e.find(t),this.buttonElement.length||(e=(e.length?e:this.element).siblings(),this.buttonElement=e.filter(t),this.buttonElement.length)||(this.buttonElement=e.find(t)),this.element.addClass("ui-helper-hidden-accessible"),(e=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",e)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(d+" ui-state-hover ui-state-active  "+p).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(t,e){this._super(t,e),"disabled"===t?e?this.element.prop("disabled",!0):this.element.prop("disabled",!1):this._resetButton()},refresh:function(){var t=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOption("disabled",t),"radio"===this.type?r(this.element[0]).each(function(){a(this).is(":checked")?a(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):a(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){var t,e,i,s,n;"input"===this.type?this.options.label&&this.element.val(this.options.label):(t=this.buttonElement.removeClass(p),e=a("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(t.empty()).text(),s=(i=this.options.icons).primary&&i.secondary,n=[],i.primary||i.secondary?(this.options.text&&n.push("ui-button-text-icon"+(s?"s":i.primary?"-primary":"-secondary")),i.primary&&t.prepend("<span class='ui-button-icon-primary ui-icon "+i.primary+"'></span>"),i.secondary&&t.append("<span class='ui-button-icon-secondary ui-icon "+i.secondary+"'></span>"),this.options.text||(n.push(s?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle)||t.attr("title",a.trim(e))):n.push("ui-button-text-only"),t.addClass(n.join(" ")))}}),a.widget("ui.buttonset",{version:"1.9.2",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(t,e){"disabled"===t&&this.buttons.button("option",t,e),this._super(t,e)},refresh:function(){var t="rtl"===this.element.css("direction");this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(t?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(t?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}})})(jQuery),function($,undefined){function Datepicker(){this.debug=!1,this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},$.extend(this._defaults,this.regional[""]),this.dpDiv=bindHover($('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}function bindHover(t){var e="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.delegate(e,"mouseout",function(){$(this).removeClass("ui-state-hover"),-1!=this.className.indexOf("ui-datepicker-prev")&&$(this).removeClass("ui-datepicker-prev-hover"),-1!=this.className.indexOf("ui-datepicker-next")&&$(this).removeClass("ui-datepicker-next-hover")}).delegate(e,"mouseover",function(){$.datepicker._isDisabledDatepicker((instActive.inline?t.parent():instActive.input)[0])||($(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),$(this).addClass("ui-state-hover"),-1!=this.className.indexOf("ui-datepicker-prev")&&$(this).addClass("ui-datepicker-prev-hover"),-1!=this.className.indexOf("ui-datepicker-next")&&$(this).addClass("ui-datepicker-next-hover"))})}function extendRemove(t,e){for(var i in $.extend(t,e),e)null!=e[i]&&e[i]!=undefined||(t[i]=e[i])}$.extend($.ui,{datepicker:{version:"1.9.2"}});var PROP_NAME="datepicker",dpuuid=(new Date).getTime(),instActive;$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return extendRemove(this._defaults,t||{}),this},_attachDatepicker:function(target,settings){var inlineSettings=null,attrName;for(attrName in this._defaults){var attrValue=target.getAttribute("date:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline="div"==nodeName||"span"==nodeName,inst=(target.id||(this.uuid+=1,target.id="dp"+this.uuid),this._newInst($(target),inline));inst.settings=$.extend({},settings||{},inlineSettings||{}),"input"==nodeName?this._connectDatepicker(target,inst):inline&&this._inlineDatepicker(target,inst)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?bindHover($('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')):this.dpDiv}},_connectDatepicker:function(t,s){var e=$(t);s.append=$([]),s.trigger=$([]),e.hasClass(this.markerClassName)||(this._attachments(e,s),e.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(t,e,i){s.settings[e]=i}).bind("getData.datepicker",function(t,e){return this._get(s,e)}),this._autoSize(s),$.data(t,PROP_NAME,s),s.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,e){var i,s=this._get(e,"appendText"),n=this._get(e,"isRTL"),s=(e.append&&e.append.remove(),s&&(e.append=$('<span class="'+this._appendClass+'">'+s+"</span>"),t[n?"before":"after"](e.append)),t.unbind("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),this._get(e,"showOn"));"focus"!=s&&"both"!=s||t.focus(this._showDatepicker),"button"!=s&&"both"!=s||(s=this._get(e,"buttonText"),i=this._get(e,"buttonImage"),e.trigger=$(this._get(e,"buttonImageOnly")?$("<img/>").addClass(this._triggerClass).attr({src:i,alt:s,title:s}):$('<button type="button"></button>').addClass(this._triggerClass).html(""==i?s:$("<img/>").attr({src:i,alt:s,title:s}))),t[n?"before":"after"](e.trigger),e.trigger.click(function(){return $.datepicker._datepickerShowing&&$.datepicker._lastInput==t[0]?$.datepicker._hideDatepicker():($.datepicker._datepickerShowing&&$.datepicker._lastInput!=t[0]&&$.datepicker._hideDatepicker(),$.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(t){var e,i,s;this._get(t,"autoSize")&&!t.inline&&(e=new Date(2009,11,20),(i=this._get(t,"dateFormat")).match(/[DM]/)&&(e.setMonth((s=function(t){for(var e=0,i=0,s=0;s<t.length;s++)t[s].length>e&&(e=t[s].length,i=s);return i})(this._get(t,i.match(/MM/)?"monthNames":"monthNamesShort"))),e.setDate(s(this._get(t,i.match(/DD/)?"dayNames":"dayNamesShort"))+20-e.getDay())),t.input.attr("size",this._formatDate(t,e).length))},_inlineDatepicker:function(t,s){var e=$(t);e.hasClass(this.markerClassName)||(e.addClass(this.markerClassName).append(s.dpDiv).bind("setData.datepicker",function(t,e,i){s.settings[e]=i}).bind("getData.datepicker",function(t,e){return this._get(s,e)}),$.data(t,PROP_NAME,s),this._setDate(s,this._getDefaultDate(s),!0),this._updateDatepicker(s),this._updateAlternate(s),s.settings.disabled&&this._disableDatepicker(t),s.dpDiv.css("display","block"))},_dialogDatepicker:function(t,e,i,s,n){var a,o=this._dialogInst;return o||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=$('<input type="text" id="'+a+'" style="position: absolute; top: -100px; width: 0px;"/>'),this._dialogInput.keydown(this._doKeyDown),$("body").append(this._dialogInput),(o=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},$.data(this._dialogInput[0],PROP_NAME,o)),extendRemove(o.settings,s||{}),e=e&&e.constructor==Date?this._formatDate(o,e):e,this._dialogInput.val(e),this._pos=n?n.length?n:[n.pageX,n.pageY]:null,this._pos||(a=document.documentElement.clientWidth,s=document.documentElement.clientHeight,e=document.documentElement.scrollLeft||document.body.scrollLeft,n=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[a/2-100+e,s/2-150+n]),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]),$.blockUI&&$.blockUI(this.dpDiv),$.data(this._dialogInput[0],PROP_NAME,o),this},_destroyDatepicker:function(t){var e,i=$(t),s=$.data(t,PROP_NAME);i.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),$.removeData(t,PROP_NAME),"input"==e?(s.append.remove(),s.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!=e&&"span"!=e||i.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var t,i=$(e),s=$.data(e,PROP_NAME);i.hasClass(this.markerClassName)&&("input"==(t=e.nodeName.toLowerCase())?(e.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!=t&&"span"!=t||((s=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=$.map(this._disabledInputs,function(t){return t==e?null:t}))},_disableDatepicker:function(e){var t,i=$(e),s=$.data(e,PROP_NAME);i.hasClass(this.markerClassName)&&("input"==(t=e.nodeName.toLowerCase())?(e.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!=t&&"span"!=t||((s=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=$.map(this._disabledInputs,function(t){return t==e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(t)for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]==t)return!0;return!1},_getInst:function(t){try{return $.data(t,PROP_NAME)}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,e,i){var s=this._getInst(t);if(2==arguments.length&&"string"==typeof e)return"defaults"==e?$.extend({},$.datepicker._defaults):s?"all"==e?$.extend({},s.settings):this._get(s,e):null;var n,a=e||{};"string"==typeof e&&((a={})[e]=i),s&&(this._curInst==s&&this._hideDatepicker(),e=this._getDateDatepicker(t,!0),i=this._getMinMaxDate(s,"min"),n=this._getMinMaxDate(s,"max"),extendRemove(s.settings,a),null!==i&&a.dateFormat!==undefined&&a.minDate===undefined&&(s.settings.minDate=this._formatDate(s,i)),null!==n&&a.dateFormat!==undefined&&a.maxDate===undefined&&(s.settings.maxDate=this._formatDate(s,n)),this._attachments($(t),s),this._autoSize(s),this._setDate(s,e),this._updateAlternate(s),this._updateDatepicker(s))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){t=this._getInst(t);t&&this._updateDatepicker(t)},_setDateDatepicker:function(t,e){t=this._getInst(t);t&&(this._setDate(t,e),this._updateDatepicker(t),this._updateAlternate(t))},_getDateDatepicker:function(t,e){t=this._getInst(t);return t&&!t.inline&&this._setDateFromField(t,e),t?this._getDate(t):null},_doKeyDown:function(t){var e=$.datepicker._getInst(t.target),i=!0,s=e.dpDiv.is(".ui-datepicker-rtl");if(e._keyEvent=!0,$.datepicker._datepickerShowing)switch(t.keyCode){case 9:$.datepicker._hideDatepicker(),i=!1;break;case 13:var n,a=$("td."+$.datepicker._dayOverClass+":not(."+$.datepicker._currentClass+")",e.dpDiv),a=(a[0]&&$.datepicker._selectDay(t.target,e.selectedMonth,e.selectedYear,a[0]),$.datepicker._get(e,"onSelect"));return a?(n=$.datepicker._formatDate(e),a.apply(e.input?e.input[0]:null,[n,e])):$.datepicker._hideDatepicker(),!1;case 27:$.datepicker._hideDatepicker();break;case 33:$.datepicker._adjustDate(t.target,t.ctrlKey?-$.datepicker._get(e,"stepBigMonths"):-$.datepicker._get(e,"stepMonths"),"M");break;case 34:$.datepicker._adjustDate(t.target,t.ctrlKey?+$.datepicker._get(e,"stepBigMonths"):+$.datepicker._get(e,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&$.datepicker._clearDate(t.target),i=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&$.datepicker._gotoToday(t.target),i=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&$.datepicker._adjustDate(t.target,s?1:-1,"D"),i=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&$.datepicker._adjustDate(t.target,t.ctrlKey?-$.datepicker._get(e,"stepBigMonths"):-$.datepicker._get(e,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&$.datepicker._adjustDate(t.target,-7,"D"),i=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&$.datepicker._adjustDate(t.target,s?-1:1,"D"),i=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&$.datepicker._adjustDate(t.target,t.ctrlKey?+$.datepicker._get(e,"stepBigMonths"):+$.datepicker._get(e,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&$.datepicker._adjustDate(t.target,7,"D"),i=t.ctrlKey||t.metaKey;break;default:i=!1}else 36==t.keyCode&&t.ctrlKey?$.datepicker._showDatepicker(this):i=!1;i&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var e,i=$.datepicker._getInst(t.target);if($.datepicker._get(i,"constrainInput"))return i=$.datepicker._possibleChars($.datepicker._get(i,"dateFormat")),e=String.fromCharCode(t.charCode==undefined?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||e<" "||!i||-1<i.indexOf(e)},_doKeyUp:function(t){t=$.datepicker._getInst(t.target);if(t.input.val()!=t.lastVal)try{$.datepicker.parseDate($.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,$.datepicker._getFormatConfig(t))&&($.datepicker._setDateFromField(t),$.datepicker._updateAlternate(t),$.datepicker._updateDatepicker(t))}catch(t){$.datepicker.log(t)}return!0},_showDatepicker:function(t){var i,e,s,n,a;"input"!=(t=t.target||t).nodeName.toLowerCase()&&(t=$("input",t.parentNode)[0]),$.datepicker._isDisabledDatepicker(t)||$.datepicker._lastInput==t||(i=$.datepicker._getInst(t),$.datepicker._curInst&&$.datepicker._curInst!=i&&($.datepicker._curInst.dpDiv.stop(!0,!0),i)&&$.datepicker._datepickerShowing&&$.datepicker._hideDatepicker($.datepicker._curInst.input[0]),!1===(s=(s=$.datepicker._get(i,"beforeShow"))?s.apply(t,[t,i]):{}))||(extendRemove(i.settings,s),i.lastVal=null,$.datepicker._lastInput=t,$.datepicker._setDateFromField(i),$.datepicker._inDialog&&(t.value=""),$.datepicker._pos||($.datepicker._pos=$.datepicker._findPos(t),$.datepicker._pos[1]+=t.offsetHeight),e=!1,$(t).parents().each(function(){return!(e|="fixed"==$(this).css("position"))}),s={left:$.datepicker._pos[0],top:$.datepicker._pos[1]},$.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.datepicker._updateDatepicker(i),s=$.datepicker._checkOffset(i,s,e),i.dpDiv.css({position:$.datepicker._inDialog&&$.blockUI?"static":e?"fixed":"absolute",display:"none",left:s.left+"px",top:s.top+"px"}),i.inline)||(s=$.datepicker._get(i,"showAnim"),n=$.datepicker._get(i,"duration"),a=function(){var t,e=i.dpDiv.find("iframe.ui-datepicker-cover");e.length&&(t=$.datepicker._getBorders(i.dpDiv),e.css({left:-t[0],top:-t[1],width:i.dpDiv.outerWidth(),height:i.dpDiv.outerHeight()}))},i.dpDiv.zIndex($(t).zIndex()+1),$.datepicker._datepickerShowing=!0,$.effects&&($.effects.effect[s]||$.effects[s])?i.dpDiv.show(s,$.datepicker._get(i,"showOptions"),n,a):i.dpDiv[s||"show"](s?n:null,a),s&&n||a(),i.input.is(":visible")&&!i.input.is(":disabled")&&i.input.focus(),$.datepicker._curInst=i)},_updateDatepicker:function(t){this.maxRows=4;var e,i=$.datepicker._getBorders(t.dpDiv),s=((instActive=t).dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t),t.dpDiv.find("iframe.ui-datepicker-cover")),s=(s.length&&s.css({left:-i[0],top:-i[1],width:t.dpDiv.outerWidth(),height:t.dpDiv.outerHeight()}),t.dpDiv.find("."+this._dayOverClass+" a").mouseover(),this._getNumberOfMonths(t)),i=s[1];t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<i&&t.dpDiv.addClass("ui-datepicker-multi-"+i).css("width",17*i+"em"),t.dpDiv[(1!=s[0]||1!=s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t==$.datepicker._curInst&&$.datepicker._datepickerShowing&&t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&t.input[0]!=document.activeElement&&t.input.focus(),t.yearshtml&&(e=t.yearshtml,setTimeout(function(){e===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),e=t.yearshtml=null},0))},_getBorders:function(t){function e(t){return{thin:1,medium:2,thick:3}[t]||t}return[parseFloat(e(t.css("border-left-width"))),parseFloat(e(t.css("border-top-width")))]},_checkOffset:function(t,e,i){var s=t.dpDiv.outerWidth(),n=t.dpDiv.outerHeight(),a=t.input?t.input.outerWidth():0,o=t.input?t.input.outerHeight():0,r=document.documentElement.clientWidth+(i?0:$(document).scrollLeft()),h=document.documentElement.clientHeight+(i?0:$(document).scrollTop());return e.left-=this._get(t,"isRTL")?s-a:0,e.left-=i&&e.left==t.input.offset().left?$(document).scrollLeft():0,e.top-=i&&e.top==t.input.offset().top+o?$(document).scrollTop():0,e.left-=Math.min(e.left,r<e.left+s&&s<r?Math.abs(e.left+s-r):0),e.top-=Math.min(e.top,h<e.top+n&&n<h?Math.abs(n+o):0),e},_findPos:function(t){for(var e=this._getInst(t),i=this._get(e,"isRTL");t&&("hidden"==t.type||1!=t.nodeType||$.expr.filters.hidden(t));)t=t[i?"previousSibling":"nextSibling"];e=$(t).offset();return[e.left,e.top]},_hideDatepicker:function(t){var e,i,s=this._curInst;!s||t&&s!=$.data(t,PROP_NAME)||this._datepickerShowing&&(t=this._get(s,"showAnim"),i=this._get(s,"duration"),e=function(){$.datepicker._tidyDialog(s)},$.effects&&($.effects.effect[t]||$.effects[t])?s.dpDiv.hide(t,$.datepicker._get(s,"showOptions"),i,e):s.dpDiv["slideDown"==t?"slideUp":"fadeIn"==t?"fadeOut":"hide"](t?i:null,e),t||e(),this._datepickerShowing=!1,(i=this._get(s,"onClose"))&&i.apply(s.input?s.input[0]:null,[s.input?s.input.val():"",s]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI)&&($.unblockUI(),$("body").append(this.dpDiv)),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){var e;$.datepicker._curInst&&(t=$(t.target),e=$.datepicker._getInst(t[0]),!(t[0].id==$.datepicker._mainDivId||0!=t.parents("#"+$.datepicker._mainDivId).length||t.hasClass($.datepicker.markerClassName)||t.closest("."+$.datepicker._triggerClass).length||!$.datepicker._datepickerShowing||$.datepicker._inDialog&&$.blockUI)||t.hasClass($.datepicker.markerClassName)&&$.datepicker._curInst!=e)&&$.datepicker._hideDatepicker()},_adjustDate:function(t,e,i){var t=$(t),s=this._getInst(t[0]);this._isDisabledDatepicker(t[0])||(this._adjustInstDate(s,e+("M"==i?this._get(s,"showCurrentAtPos"):0),i),this._updateDatepicker(s))},_gotoToday:function(t){var e,t=$(t),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(t,e,i){var t=$(t),s=this._getInst(t[0]);s["selected"+("M"==i?"Month":"Year")]=s["draw"+("M"==i?"Month":"Year")]=parseInt(e.options[e.selectedIndex].value,10),this._notifyChange(s),this._adjustDate(t)},_selectDay:function(t,e,i,s){var n=$(t);$(s).hasClass(this._unselectableClass)||this._isDisabledDatepicker(n[0])||((n=this._getInst(n[0])).selectedDay=n.currentDay=$("a",s).html(),n.selectedMonth=n.currentMonth=e,n.selectedYear=n.currentYear=i,this._selectDate(t,this._formatDate(n,n.currentDay,n.currentMonth,n.currentYear)))},_clearDate:function(t){t=$(t);this._getInst(t[0]);this._selectDate(t,"")},_selectDate:function(t,e){var t=$(t),t=this._getInst(t[0]),i=(e=null!=e?e:this._formatDate(t),t.input&&t.input.val(e),this._updateAlternate(t),this._get(t,"onSelect"));i?i.apply(t.input?t.input[0]:null,[e,t]):t.input&&t.input.trigger("change"),t.inline?this._updateDatepicker(t):(this._hideDatepicker(),this._lastInput=t.input[0],"object"!=typeof t.input[0]&&t.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var e,i,s,n=this._get(t,"altField");n&&(e=this._get(t,"altFormat")||this._get(t,"dateFormat"),i=this._getDate(t),s=this.formatDate(e,i,this._getFormatConfig(t)),$(n).each(function(){$(this).val(s)}))},noWeekends:function(t){t=t.getDay();return[0<t&&t<6,""]},iso8601Week:function(t){var t=new Date(t.getTime()),e=(t.setDate(t.getDate()+4-(t.getDay()||7)),t.getTime());return t.setMonth(0),t.setDate(1),Math.floor(Math.round((e-t)/864e5)/7)+1},parseDate:function(e,n,t){if(null==e||null==n)throw"Invalid arguments";if(""==(n="object"==typeof n?n.toString():n+""))return null;for(var i="string"!=typeof(i=(t?t.shortYearCutoff:null)||this._defaults.shortYearCutoff)?i:(new Date).getFullYear()%100+parseInt(i,10),s=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,a=(t?t.dayNames:null)||this._defaults.dayNames,o=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,r=(t?t.monthNames:null)||this._defaults.monthNames,h=-1,l=-1,c=-1,u=-1,d=!1,p=function(t){t=_+1<e.length&&e.charAt(_+1)==t;return t&&_++,t},f=function(t){var e=p(t),e=new RegExp("^\\d{1,"+("@"==t?14:"!"==t?20:"y"==t&&e?4:"o"==t?3:2)+"}"),t=n.substring(v).match(e);if(t)return v+=t[0].length,parseInt(t[0],10);throw"Missing number at position "+v},g=function(t,e,i){var t=$.map(p(t)?i:e,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)}),s=-1;if($.each(t,function(t,e){var i=e[1];if(n.substr(v,i.length).toLowerCase()==i.toLowerCase())return s=e[0],v+=i.length,!1}),-1!=s)return s+1;throw"Unknown name at position "+v},m=function(){if(n.charAt(v)!=e.charAt(_))throw"Unexpected literal at position "+v;v++},v=0,_=0;_<e.length;_++)if(d)"'"!=e.charAt(_)||p("'")?m():d=!1;else switch(e.charAt(_)){case"d":c=f("d");break;case"D":g("D",s,a);break;case"o":u=f("o");break;case"m":l=f("m");break;case"M":l=g("M",o,r);break;case"y":h=f("y");break;case"@":var b,h=(b=new Date(f("@"))).getFullYear(),l=b.getMonth()+1,c=b.getDate();break;case"!":h=(b=new Date((f("!")-this._ticksTo1970)/1e4)).getFullYear(),l=b.getMonth()+1,c=b.getDate();break;case"'":p("'")?m():d=!0;break;default:m()}if(v<n.length){t=n.substr(v);if(!/^\s+/.test(t))throw"Extra/unparsed characters found in date: "+t}if(-1==h?h=(new Date).getFullYear():h<100&&(h+=(new Date).getFullYear()-(new Date).getFullYear()%100+(h<=i?0:-100)),-1<u)for(l=1,c=u;;){var y=this._getDaysInMonth(h,l-1);if(c<=y)break;l++,c-=y}if((b=this._daylightSavingAdjust(new Date(h,l-1,c))).getFullYear()!=h||b.getMonth()+1!=l||b.getDate()!=c)throw"Invalid date";return b},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(e,t,i){if(!t)return"";function s(t,e,i){var s=""+e;if(l(t))for(;s.length<i;)s="0"+s;return s}function n(t,e,i,s){return(l(t)?s:i)[e]}var a=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,o=(i?i.dayNames:null)||this._defaults.dayNames,r=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,h=(i?i.monthNames:null)||this._defaults.monthNames,l=function(t){t=d+1<e.length&&e.charAt(d+1)==t;return t&&d++,t},c="",u=!1;if(t)for(var d=0;d<e.length;d++)if(u)"'"!=e.charAt(d)||l("'")?c+=e.charAt(d):u=!1;else switch(e.charAt(d)){case"d":c+=s("d",t.getDate(),2);break;case"D":c+=n("D",t.getDay(),a,o);break;case"o":c+=s("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":c+=s("m",t.getMonth()+1,2);break;case"M":c+=n("M",t.getMonth(),r,h);break;case"y":c+=l("y")?t.getFullYear():(t.getYear()%100<10?"0":"")+t.getYear()%100;break;case"@":c+=t.getTime();break;case"!":c+=1e4*t.getTime()+this._ticksTo1970;break;case"'":l("'")?c+="'":u=!0;break;default:c+=e.charAt(d)}return c},_possibleChars:function(e){for(var t="",i=!1,s=function(t){t=n+1<e.length&&e.charAt(n+1)==t;return t&&n++,t},n=0;n<e.length;n++)if(i)"'"!=e.charAt(n)||s("'")?t+=e.charAt(n):i=!1;else switch(e.charAt(n)){case"d":case"m":case"y":case"@":t+="0123456789";break;case"D":case"M":return null;case"'":s("'")?t+="'":i=!0;break;default:t+=e.charAt(n)}return t},_get:function(t,e){return(t.settings[e]!==undefined?t.settings:this._defaults)[e]},_setDateFromField:function(t,e){if(t.input.val()!=t.lastVal){var i,s=this._get(t,"dateFormat"),n=t.lastVal=t.input?t.input.val():null,a=i=this._getDefaultDate(t),o=this._getFormatConfig(t);try{a=this.parseDate(s,n,o)||i}catch(t){this.log(t),n=e?"":n}t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),t.currentDay=n?a.getDate():0,t.currentMonth=n?a.getMonth():0,t.currentYear=n?a.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(r,t,e){var i,s=null==t||""===t?e:"string"==typeof t?(t=>{try{return $.datepicker.parseDate($.datepicker._get(r,"dateFormat"),t,$.datepicker._getFormatConfig(r))}catch(t){}for(var e=(t.toLowerCase().match(/^c/)?$.datepicker._getDate(r):null)||new Date,i=e.getFullYear(),s=e.getMonth(),n=e.getDate(),a=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,o=a.exec(t);o;){switch(o[2]||"d"){case"d":case"D":n+=parseInt(o[1],10);break;case"w":case"W":n+=7*parseInt(o[1],10);break;case"m":case"M":s+=parseInt(o[1],10),n=Math.min(n,$.datepicker._getDaysInMonth(i,s));break;case"y":case"Y":i+=parseInt(o[1],10),n=Math.min(n,$.datepicker._getDaysInMonth(i,s))}o=a.exec(t)}return new Date(i,s,n)})(t):"number"==typeof t?isNaN(t)?e:(s=t,(i=new Date).setDate(i.getDate()+s),i):new Date(t.getTime());return(s=s&&"Invalid Date"==s.toString()?e:s)&&(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0)),this._daylightSavingAdjust(s)},_daylightSavingAdjust:function(t){return t?(t.setHours(12<t.getHours()?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var s=!e,n=t.selectedMonth,a=t.selectedYear,e=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=e.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=e.getMonth(),t.drawYear=t.selectedYear=t.currentYear=e.getFullYear(),n==t.selectedMonth&&a==t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(s?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""==t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(t){var e=this._get(t,"stepMonths"),i="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){window["DP_jQuery_"+dpuuid].datepicker._adjustDate(i,-e,"M")},next:function(){window["DP_jQuery_"+dpuuid].datepicker._adjustDate(i,+e,"M")},hide:function(){window["DP_jQuery_"+dpuuid].datepicker._hideDatepicker()},today:function(){window["DP_jQuery_"+dpuuid].datepicker._gotoToday(i)},selectDay:function(){return window["DP_jQuery_"+dpuuid].datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return window["DP_jQuery_"+dpuuid].datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return window["DP_jQuery_"+dpuuid].datepicker._selectMonthYear(i,this,"Y"),!1}};$(this).bind(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e=new Date,e=this._daylightSavingAdjust(new Date(e.getFullYear(),e.getMonth(),e.getDate())),i=this._get(t,"isRTL"),W=this._get(t,"showButtonPanel"),s=this._get(t,"hideIfNoPrevNext"),n=this._get(t,"navigationAsDateFormat"),a=this._getNumberOfMonths(t),o=this._get(t,"showCurrentAtPos"),r=this._get(t,"stepMonths"),h=1!=a[0]||1!=a[1],l=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),c=this._getMinMaxDate(t,"min"),u=this._getMinMaxDate(t,"max"),d=t.drawMonth-o,p=t.drawYear;if(d<0&&(d+=12,p--),u)for(var f=this._daylightSavingAdjust(new Date(u.getFullYear(),u.getMonth()-a[0]*a[1]+1,u.getDate())),f=c&&f<c?c:f;this._daylightSavingAdjust(new Date(p,d,1))>f;)--d<0&&(d=11,p--);t.drawMonth=d,t.drawYear=p;for(var o=this._get(t,"prevText"),o=n?this.formatDate(o,this._daylightSavingAdjust(new Date(p,d-r,1)),this._getFormatConfig(t)):o,g=this._canAdjustMonth(t,-1,p,d)?'<a class="ui-datepicker-prev ui-corner-all" data-handler="prev" data-event="click" title="'+o+'"><span class="ui-icon ui-icon-circle-triangle-'+(i?"e":"w")+'">'+o+"</span></a>":s?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+o+'"><span class="ui-icon ui-icon-circle-triangle-'+(i?"e":"w")+'">'+o+"</span></a>",o=this._get(t,"nextText"),o=n?this.formatDate(o,this._daylightSavingAdjust(new Date(p,d+r,1)),this._getFormatConfig(t)):o,m=this._canAdjustMonth(t,1,p,d)?'<a class="ui-datepicker-next ui-corner-all" data-handler="next" data-event="click" title="'+o+'"><span class="ui-icon ui-icon-circle-triangle-'+(i?"w":"e")+'">'+o+"</span></a>":s?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+o+'"><span class="ui-icon ui-icon-circle-triangle-'+(i?"w":"e")+'">'+o+"</span></a>",r=this._get(t,"currentText"),s=this._get(t,"gotoCurrent")&&t.currentDay?l:e,r=n?this.formatDate(r,s,this._getFormatConfig(t)):r,o=t.inline?"":'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" data-handler="hide" data-event="click">'+this._get(t,"closeText")+"</button>",n=W?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(i?o:"")+(this._isInRange(t,s)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" data-handler="today" data-event="click">'+r+"</button>":"")+(i?"":o)+"</div>":"",v=parseInt(this._get(t,"firstDay"),10),v=isNaN(v)?0:v,_=this._get(t,"showWeek"),O=this._get(t,"dayNames"),F=(this._get(t,"dayNamesShort"),this._get(t,"dayNamesMin")),R=this._get(t,"monthNames"),j=this._get(t,"monthNamesShort"),b=this._get(t,"beforeShowDay"),y=this._get(t,"showOtherMonths"),L=this._get(t,"selectOtherMonths"),w=(this._get(t,"calculateWeek")||this.iso8601Week,this._getDefaultDate(t)),x="",k=0;k<a[0];k++){var C="";this.maxRows=4;for(var D=0;D<a[1];D++){var P=this._daylightSavingAdjust(new Date(p,d,t.selectedDay)),I=" ui-corner-all",M="";if(h){if(M+='<div class="ui-datepicker-group',1<a[1])switch(D){case 0:M+=" ui-datepicker-group-first",I=" ui-corner-"+(i?"right":"left");break;case a[1]-1:M+=" ui-datepicker-group-last",I=" ui-corner-"+(i?"left":"right");break;default:M+=" ui-datepicker-group-middle",I=""}M+='">'}M+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+I+'">'+(/all|left/.test(I)&&0==k?i?m:g:"")+(/all|right/.test(I)&&0==k?i?g:m:"")+this._generateMonthYearHeader(t,d,p,c,u,0<k||0<D,R,j)+'</div><table class="ui-datepicker-calendar"><thead><tr>';for(var T=_?'<th class="ui-datepicker-week-col">'+this._get(t,"weekHeader")+"</th>":"",S=0;S<7;S++){var Y=(S+v)%7;T+="<th"+(5<=(S+v+6)%7?' class="ui-datepicker-week-end"':"")+'><span title="'+O[Y]+'">'+F[Y]+"</span></th>"}M+=T+"</tr></thead><tbody>";for(var A=this._getDaysInMonth(p,d),B=(p==t.selectedYear&&d==t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,A)),(this._getFirstDayOfMonth(p,d)-v+7)%7),A=Math.ceil((B+A)/7),K=h&&this.maxRows>A?this.maxRows:A,z=(this.maxRows=K,this._daylightSavingAdjust(new Date(p,d,1-B))),q=0;q<K;q++){M+="<tr>";for(var U=_?'<td class="ui-datepicker-week-col">'+this._get(t,"calculateWeek")(z)+"</td>":"",S=0;S<7;S++){var H=b?b.apply(t.input?t.input[0]:null,[z]):[!0,""],N=z.getMonth()!=d,E=N&&!L||!H[0]||c&&z<c||u&&u<z;U+='<td class="'+(5<=(S+v+6)%7?" ui-datepicker-week-end":"")+(N?" ui-datepicker-other-month":"")+(z.getTime()==P.getTime()&&d==t.selectedMonth&&t._keyEvent||w.getTime()==z.getTime()&&w.getTime()==P.getTime()?" "+this._dayOverClass:"")+(E?" "+this._unselectableClass+" ui-state-disabled":"")+(N&&!y?"":" "+H[1]+(z.getTime()==l.getTime()?" "+this._currentClass:"")+(z.getTime()==e.getTime()?" ui-datepicker-today":""))+'"'+(N&&!y||!H[2]?"":' title="'+H[2]+'"')+(E?"":' data-handler="selectDay" data-event="click" data-month="'+z.getMonth()+'" data-year="'+z.getFullYear()+'"')+">"+(N&&!y?"&#xa0;":E?'<span class="ui-state-default">'+z.getDate()+"</span>":'<a class="ui-state-default'+(z.getTime()==e.getTime()?" ui-state-highlight":"")+(z.getTime()==l.getTime()?" ui-state-active":"")+(N?" ui-priority-secondary":"")+'" href="#">'+z.getDate()+"</a>")+"</td>",z.setDate(z.getDate()+1),z=this._daylightSavingAdjust(z)}M+=U+"</tr>"}11<++d&&(d=0,p++),C+=M+="</tbody></table>"+(h?"</div>"+(0<a[0]&&D==a[1]-1?'<div class="ui-datepicker-row-break"></div>':""):"")}x+=C}return x+=n+($.ui.ie6&&!t.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':""),t._keyEvent=!1,x},_generateMonthYearHeader:function(t,e,i,s,n,a,o,r){var h=this._get(t,"changeMonth"),l=this._get(t,"changeYear"),c=this._get(t,"showMonthAfterYear"),u='<div class="ui-datepicker-title">',d="";if(a||!h)d+='<span class="ui-datepicker-month">'+o[e]+"</span>";else{var p=s&&s.getFullYear()==i,f=n&&n.getFullYear()==i;d+='<select class="ui-datepicker-month" data-handler="selectMonth" data-event="change">';for(var g=0;g<12;g++)(!p||g>=s.getMonth())&&(!f||g<=n.getMonth())&&(d+='<option value="'+g+'"'+(g==e?' selected="selected"':"")+">"+r[g]+"</option>");d+="</select>"}if(c||(u+=d+(!a&&h&&l?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",a||!l)u+='<span class="ui-datepicker-year">'+i+"</span>";else{var o=this._get(t,"yearRange").split(":"),m=(new Date).getFullYear(),v=function(t){t=t.match(/c[+-].*/)?i+parseInt(t.substring(1),10):t.match(/[+-].*/)?m+parseInt(t,10):parseInt(t,10);return isNaN(t)?m:t},_=v(o[0]),b=Math.max(_,v(o[1]||"")),_=s?Math.max(_,s.getFullYear()):_,b=n?Math.min(b,n.getFullYear()):b;for(t.yearshtml+='<select class="ui-datepicker-year" data-handler="selectYear" data-event="change">';_<=b;_++)t.yearshtml+='<option value="'+_+'"'+(_==i?' selected="selected"':"")+">"+_+"</option>";t.yearshtml+="</select>",u+=t.yearshtml,t.yearshtml=null}return u+=this._get(t,"yearSuffix"),c&&(u+=(!a&&h&&l?"":"&#xa0;")+d),u+="</div>"},_adjustInstDate:function(t,e,i){var s=t.drawYear+("Y"==i?e:0),n=t.drawMonth+("M"==i?e:0),e=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"==i?e:0),s=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,e)));t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),"M"!=i&&"Y"!=i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),t=this._getMinMaxDate(t,"max"),i=i&&e<i?i:e;return t&&t<i?t:i},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){t=this._get(t,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,s){var n=this._getNumberOfMonths(t),i=this._daylightSavingAdjust(new Date(i,s+(e<0?e:n[0]*n[1]),1));return e<0&&i.setDate(this._getDaysInMonth(i.getFullYear(),i.getMonth())),this._isInRange(t,i)},_isInRange:function(t,e){var i=this._getMinMaxDate(t,"min"),t=this._getMinMaxDate(t,"max");return(!i||e.getTime()>=i.getTime())&&(!t||e.getTime()<=t.getTime())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:"string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);s=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),s,this._getFormatConfig(t))}}),$.fn.datepicker=function(t){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(document.body).append($.datepicker.dpDiv),$.datepicker.initialized=!0);var e=Array.prototype.slice.call(arguments,1);return"string"==typeof t&&("isDisabled"==t||"getDate"==t||"widget"==t)||"option"==t&&2==arguments.length&&"string"==typeof arguments[1]?$.datepicker["_"+t+"Datepicker"].apply($.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?$.datepicker["_"+t+"Datepicker"].apply($.datepicker,[this].concat(e)):$.datepicker._attachDatepicker(this,t)})},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.9.2",window["DP_jQuery_"+dpuuid]=$}(jQuery),(r=>{var h="ui-dialog ui-widget ui-widget-content ui-corner-all ",a={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},o={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};r.widget("ui.dialog",{version:"1.9.2",options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var e=r(this).css(t).offset().top;e<0&&r(this).css("top",t.top-e)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr("title"),"string"!=typeof this.originalTitle&&(this.originalTitle=""),this.oldPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.options.title=this.options.title||this.originalTitle;var t,e,i,s=this,n=this.options,a=n.title||"&#160;",o=(this.uiDialog=r("<div>")).addClass(h+n.dialogClass).css({display:"none",outline:0,zIndex:n.zIndex}).attr("tabIndex",-1).keydown(function(t){n.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===r.ui.keyCode.ESCAPE&&(s.close(t),t.preventDefault())}).mousedown(function(t){s.moveToTop(!1,t)}).appendTo("body");this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(o),t=(this.uiDialogTitlebar=r("<div>")).addClass("ui-dialog-titlebar  ui-widget-header  ui-corner-all  ui-helper-clearfix").bind("mousedown",function(){o.focus()}).prependTo(o),e=r("<a href='#'></a>").addClass("ui-dialog-titlebar-close  ui-corner-all").attr("role","button").click(function(t){t.preventDefault(),s.close(t)}).appendTo(t),(this.uiDialogTitlebarCloseText=r("<span>")).addClass("ui-icon ui-icon-closethick").text(n.closeText).appendTo(e),a=r("<span>").uniqueId().addClass("ui-dialog-title").html(a).prependTo(t),i=(this.uiDialogButtonPane=r("<div>")).addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),(this.uiButtonSet=r("<div>")).addClass("ui-dialog-buttonset").appendTo(i),o.attr({role:"dialog","aria-labelledby":a.attr("id")}),t.find("*").add(t).disableSelection(),this._hoverable(e),this._focusable(e),n.draggable&&r.fn.draggable&&this._makeDraggable(),n.resizable&&r.fn.resizable&&this._makeResizable(),this._createButtons(n.buttons),this._isOpen=!1,r.fn.bgiframe&&o.bgiframe(),this._on(o,{keydown:function(t){var e,i;if(n.modal&&t.keyCode===r.ui.keyCode.TAB)return e=(i=r(":tabbable",o)).filter(":first"),i=i.filter(":last"),t.target!==i[0]||t.shiftKey?t.target===e[0]&&t.shiftKey?(i.focus(1),!1):void 0:(e.focus(1),!1)}})},_init:function(){this.options.autoOpen&&this.open()},_destroy:function(){var t,e=this.oldPosition;this.overlay&&this.overlay.destroy(),this.uiDialog.hide(),this.element.removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},close:function(t){var e,i,s=this;if(this._isOpen&&!1!==this._trigger("beforeClose",t))return this._isOpen=!1,this.overlay&&this.overlay.destroy(),this.options.hide?this._hide(this.uiDialog,this.options.hide,function(){s._trigger("close",t)}):(this.uiDialog.hide(),this._trigger("close",t)),r.ui.dialog.overlay.resize(),this.options.modal&&(e=0,r(".ui-dialog").each(function(){this!==s.uiDialog[0]&&(i=r(this).css("z-index"),isNaN(i)||(e=Math.max(e,i)))}),r.ui.dialog.maxZ=e),this},isOpen:function(){return this._isOpen},moveToTop:function(t,e){var i=this.options;return i.modal&&!t||!i.stack&&!i.modal?this._trigger("focus",e):(i.zIndex>r.ui.dialog.maxZ&&(r.ui.dialog.maxZ=i.zIndex),this.overlay&&(r.ui.dialog.maxZ+=1,r.ui.dialog.overlay.maxZ=r.ui.dialog.maxZ,this.overlay.$el.css("z-index",r.ui.dialog.overlay.maxZ)),t={scrollTop:this.element.scrollTop(),scrollLeft:this.element.scrollLeft()},r.ui.dialog.maxZ+=1,this.uiDialog.css("z-index",r.ui.dialog.maxZ),this.element.attr(t),this._trigger("focus",e),this)},open:function(){var t,e;if(!this._isOpen)return t=this.options,e=this.uiDialog,this._size(),this._position(t.position),e.show(t.show),this.overlay=t.modal?new r.ui.dialog.overlay(this):null,this.moveToTop(!0),(t=(t=this.element.find(":tabbable")).length||(t=this.uiDialogButtonPane.find(":tabbable")).length?t:e).eq(0).focus(),this._isOpen=!0,this._trigger("open"),this},_createButtons:function(t){var s=this,e=!1;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),"object"==typeof t&&null!==t&&r.each(t,function(){return!(e=!0)}),e?(r.each(t,function(t,e){var i;e=r.isFunction(e)?{click:e,text:t}:e,e=r.extend({type:"button"},e),i=e.click,e.click=function(){i.apply(s.element[0],arguments)},t=r("<button></button>",e).appendTo(s.uiButtonSet),r.fn.button&&t.button()}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog)):this.uiDialog.removeClass("ui-dialog-buttons")},_makeDraggable:function(){function i(t){return{position:t.position,offset:t.offset}}var s=this,n=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(t,e){r(this).addClass("ui-dialog-dragging"),s._trigger("dragStart",t,i(e))},drag:function(t,e){s._trigger("drag",t,i(e))},stop:function(t,e){n.position=[e.position.left-s.document.scrollLeft(),e.position.top-s.document.scrollTop()],r(this).removeClass("ui-dialog-dragging"),s._trigger("dragStop",t,i(e)),r.ui.dialog.overlay.resize()}})},_makeResizable:function(t){function i(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}t=void 0===t?this.options.resizable:t;var s=this,n=this.options,e=this.uiDialog.css("position"),t="string"==typeof t?t:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:n.maxWidth,maxHeight:n.maxHeight,minWidth:n.minWidth,minHeight:this._minHeight(),handles:t,start:function(t,e){r(this).addClass("ui-dialog-resizing"),s._trigger("resizeStart",t,i(e))},resize:function(t,e){s._trigger("resize",t,i(e))},stop:function(t,e){r(this).removeClass("ui-dialog-resizing"),n.height=r(this).height(),n.width=r(this).width(),s._trigger("resizeStop",t,i(e)),r.ui.dialog.overlay.resize()}}).css("position",e).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(t){var e,i=[],s=[0,0];t=t?(("string"==typeof t||"object"==typeof t&&"0"in t)&&(1===(i=t.split?t.split(" "):[t[0],t[1]]).length&&(i[1]=i[0]),r.each(["left","top"],function(t,e){+i[t]===i[t]&&(s[t]=i[t],i[t]=e)}),t={my:i[0]+(s[0]<0?s[0]:"+"+s[0])+" "+i[1]+(s[1]<0?s[1]:"+"+s[1]),at:i.join(" ")}),r.extend({},r.ui.dialog.prototype.options.position,t)):r.ui.dialog.prototype.options.position,(e=this.uiDialog.is(":visible"))||this.uiDialog.show(),this.uiDialog.position(t),e||this.uiDialog.hide()},_setOptions:function(t){var i=this,s={},n=!1;r.each(t,function(t,e){i._setOption(t,e),t in a&&(n=!0),t in o&&(s[t]=e)}),n&&this._size(),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(t,e){var i,s=this.uiDialog;switch(t){case"buttons":this._createButtons(e);break;case"closeText":this.uiDialogTitlebarCloseText.text(""+e);break;case"dialogClass":s.removeClass(this.options.dialogClass).addClass(h+e);break;case"disabled":e?s.addClass("ui-dialog-disabled"):s.removeClass("ui-dialog-disabled");break;case"draggable":(i=s.is(":data(draggable)"))&&!e&&s.draggable("destroy"),!i&&e&&this._makeDraggable();break;case"position":this._position(e);break;case"resizable":(i=s.is(":data(resizable)"))&&!e&&s.resizable("destroy"),i&&"string"==typeof e&&s.resizable("option","handles",e),i||!1===e||this._makeResizable(e);break;case"title":r(".ui-dialog-title",this.uiDialogTitlebar).html(""+(e||"&#160;"))}this._super(t,e)},_size:function(){var t,e,i,s=this.options,n=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),"auto"===s.height?r.support.minHeight?this.element.css({minHeight:e,height:"auto"}):(this.uiDialog.show(),i=this.element.css("height","auto").height(),n||this.uiDialog.hide(),this.element.height(Math.max(i,e))):this.element.height(Math.max(s.height-t,0)),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}}),r.extend(r.ui.dialog,{uuid:0,maxZ:0,getTitleId:function(t){t=t.attr("id");return t||(this.uuid+=1,t=this.uuid),"ui-dialog-title-"+t},overlay:function(t){this.$el=r.ui.dialog.overlay.create(t)}}),r.extend(r.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:r.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(t){return t+".dialog-overlay"}).join(" "),create:function(i){0===this.instances.length&&(setTimeout(function(){r.ui.dialog.overlay.instances.length&&r(document).bind(r.ui.dialog.overlay.events,function(t){if(r(t.target).zIndex()<r.ui.dialog.overlay.maxZ)return!1})},1),r(window).bind("resize.dialog-overlay",r.ui.dialog.overlay.resize));var s=this.oldInstances.pop()||r("<div>").addClass("ui-widget-overlay");return r(document).bind("keydown.dialog-overlay",function(t){var e=r.ui.dialog.overlay.instances;0!==e.length&&e[e.length-1]===s&&i.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===r.ui.keyCode.ESCAPE&&(i.close(t),t.preventDefault())}),s.appendTo(document.body).css({width:this.width(),height:this.height()}),r.fn.bgiframe&&s.bgiframe(),this.instances.push(s),s},destroy:function(t){var e=r.inArray(t,this.instances),i=0;-1!==e&&this.oldInstances.push(this.instances.splice(e,1)[0]),0===this.instances.length&&r([document,window]).unbind(".dialog-overlay"),t.height(0).width(0).remove(),r.each(this.instances,function(){i=Math.max(i,this.css("z-index"))}),this.maxZ=i},height:function(){var t;return r.ui.ie?(t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight))<Math.max(document.documentElement.offsetHeight,document.body.offsetHeight)?r(window).height()+"px":t+"px":r(document).height()+"px"},width:function(){var t;return r.ui.ie?(t=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth))<Math.max(document.documentElement.offsetWidth,document.body.offsetWidth)?r(window).width()+"px":t+"px":r(document).width()+"px"},resize:function(){var t=r([]);r.each(r.ui.dialog.overlay.instances,function(){t=t.add(this)}),t.css({width:0,height:0}).css({width:r.ui.dialog.overlay.width(),height:r.ui.dialog.overlay.height()})}}),r.extend(r.ui.dialog.overlay.prototype,{destroy:function(){r.ui.dialog.overlay.destroy(this.$el)}})})(jQuery),(f=>{var g=/up|down|vertical/,m=/up|left|vertical|horizontal/;f.effects.effect.blind=function(t,e){var i,s,n,a=f(this),o=["position","top","bottom","left","right","height","width"],r=f.effects.setMode(a,t.mode||"hide"),h=t.direction||"up",l=g.test(h),c=l?"height":"width",u=l?"top":"left",h=m.test(h),d={},p="show"===r;a.parent().is(".ui-effects-wrapper")?f.effects.save(a.parent(),o):f.effects.save(a,o),a.show(),s=(i=f.effects.createWrapper(a).css({overflow:"hidden"}))[c](),n=parseFloat(i.css(u))||0,d[c]=p?s:0,h||(a.css(l?"bottom":"right",0).css(l?"top":"left","auto").css({position:"absolute"}),d[u]=p?n:s+n),p&&(i.css(c,0),h||i.css(u,n+s)),i.animate(d,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){"hide"===r&&a.hide(),f.effects.restore(a,o),f.effects.removeWrapper(a),e()}})}})(jQuery),(v=>{v.effects.effect.bounce=function(t,e){var i,s,n,a=v(this),o=["position","top","bottom","left","right","height","width"],r=v.effects.setMode(a,t.mode||"effect"),h="hide"===r,r="show"===r,l=t.direction||"up",c=t.distance,u=t.times||5,d=2*u+(r||h?1:0),p=t.duration/d,f=t.easing,g="up"===l||"down"===l?"top":"left",m="up"===l||"left"===l,t=a.queue(),l=t.length;for((r||h)&&o.push("opacity"),v.effects.save(a,o),a.show(),v.effects.createWrapper(a),c=c||a["top"==g?"outerHeight":"outerWidth"]()/3,r&&((n={opacity:1})[g]=0,a.css("opacity",0).css(g,m?2*-c:2*c).animate(n,p,f)),h&&(c/=Math.pow(2,u-1)),i=(n={})[g]=0;i<u;i++)(s={})[g]=(m?"-=":"+=")+c,a.animate(s,p,f).animate(n,p,f),c=h?2*c:c/2;h&&((s={opacity:0})[g]=(m?"-=":"+=")+c,a.animate(s,p,f)),a.queue(function(){h&&a.hide(),v.effects.restore(a,o),v.effects.removeWrapper(a),e()}),1<l&&t.splice.apply(t,[1,0].concat(t.splice(l,1+d))),a.dequeue()}})(jQuery),(c=>{c.effects.effect.clip=function(t,e){var i,s,n=c(this),a=["position","top","bottom","left","right","height","width"],o="show"===c.effects.setMode(n,t.mode||"hide"),r="vertical"===(t.direction||"vertical"),h=r?"height":"width",r=r?"top":"left",l={};c.effects.save(n,a),n.show(),i=c.effects.createWrapper(n).css({overflow:"hidden"}),s=(i="IMG"===n[0].tagName?i:n)[h](),o&&(i.css(h,0),i.css(r,s/2)),l[h]=o?s:0,l[r]=o?0:s/2,i.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){o||n.hide(),c.effects.restore(n,a),c.effects.removeWrapper(n),e()}})}})(jQuery),(c=>{c.effects.effect.drop=function(t,e){var i,s=c(this),n=["position","top","bottom","left","right","opacity","height","width"],a=c.effects.setMode(s,t.mode||"hide"),o="show"===a,r=t.direction||"left",h="up"===r||"down"===r?"top":"left",r="up"===r||"left"===r?"pos":"neg",l={opacity:o?1:0};c.effects.save(s,n),s.show(),c.effects.createWrapper(s),i=t.distance||s["top"==h?"outerHeight":"outerWidth"](!0)/2,o&&s.css("opacity",0).css(h,"pos"==r?-i:i),l[h]=(o?"pos"==r?"+=":"-=":"pos"==r?"-=":"+=")+i,s.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===a&&s.hide(),c.effects.restore(s,n),c.effects.removeWrapper(s),e()}})}})(jQuery),(v=>{v.effects.effect.explode=function(t,e){function i(){g.push(this),g.length===h*l&&(c.css({visibility:"visible"}),v(g).remove(),u||c.hide(),e())}for(var s,n,a,o,r,h=t.pieces?Math.round(Math.sqrt(t.pieces)):3,l=h,c=v(this),u="show"===v.effects.setMode(c,t.mode||"hide"),d=c.show().css("visibility","hidden").offset(),p=Math.ceil(c.outerWidth()/l),f=Math.ceil(c.outerHeight()/h),g=[],m=0;m<h;m++)for(a=d.top+m*f,r=m-(h-1)/2,s=0;s<l;s++)n=d.left+s*p,o=s-(l-1)/2,c.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-s*p,top:-m*f}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:f,left:n+(u?o*p:0),top:a+(u?r*f:0),opacity:u?0:1}).animate({left:n+(u?0:o*p),top:a+(u?0:r*f),opacity:u?1:0},t.duration||500,t.easing,i)}})(jQuery),(n=>{n.effects.effect.fade=function(t,e){var i=n(this),s=n.effects.setMode(i,t.mode||"toggle");i.animate({opacity:s},{queue:!1,duration:t.duration,easing:t.easing,complete:e})}})(jQuery),(g=>{g.effects.effect.fold=function(t,e){var i,s=g(this),n=["position","top","bottom","left","right","height","width"],a=g.effects.setMode(s,t.mode||"hide"),o="show"===a,r="hide"===a,a=t.size||15,h=/([0-9]+)%/.exec(a),l=!!t.horizFirst,c=o!=l,u=c?["width","height"]:["height","width"],d=t.duration/2,p={},f={};g.effects.save(s,n),s.show(),i=g.effects.createWrapper(s).css({overflow:"hidden"}),c=c?[i.width(),i.height()]:[i.height(),i.width()],h&&(a=parseInt(h[1],10)/100*c[r?0:1]),o&&i.css(l?{height:0,width:a}:{height:a,width:0}),p[u[0]]=o?c[0]:a,f[u[1]]=o?c[1]:0,i.animate(p,d,t.easing).animate(f,d,t.easing,function(){r&&s.hide(),g.effects.restore(s,n),g.effects.removeWrapper(s),e()})}})(jQuery),(o=>{o.effects.effect.highlight=function(t,e){var i=o(this),s=["backgroundImage","backgroundColor","opacity"],n=o.effects.setMode(i,t.mode||"show"),a={backgroundColor:i.css("backgroundColor")};"hide"===n&&(a.opacity=0),o.effects.save(i,s),i.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(a,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===n&&i.hide(),o.effects.restore(i,s),e()}})}})(jQuery),(u=>{u.effects.effect.pulsate=function(t,e){var i,s=u(this),n=u.effects.setMode(s,t.mode||"show"),a="show"===n,o="hide"===n,r=2*(t.times||5)+(a||"hide"===n?1:0),h=t.duration/r,l=0,n=s.queue(),c=n.length;for(!a&&s.is(":visible")||(s.css("opacity",0).show(),l=1),i=1;i<r;i++)s.animate({opacity:l},h,t.easing),l=1-l;s.animate({opacity:l},h,t.easing),s.queue(function(){o&&s.hide(),e()}),1<c&&n.splice.apply(n,[1,0].concat(n.splice(c,1+r))),s.dequeue()}})(jQuery),(v=>{v.effects.effect.puff=function(t,e){var i=v(this),s=v.effects.setMode(i,t.mode||"hide"),n="hide"===s,a=parseInt(t.percent,10)||150,o=a/100,r={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};v.extend(t,{effect:"scale",queue:!1,fade:!0,mode:s,complete:e,percent:n?a:100,from:n?r:{height:r.height*o,width:r.width*o,outerHeight:r.outerHeight*o,outerWidth:r.outerWidth*o}}),i.effect(t)},v.effects.effect.scale=function(t,e){var i=v(this),s=v.extend(!0,{},t),n=v.effects.setMode(i,t.mode||"effect"),a=parseInt(t.percent,10)||(0===parseInt(t.percent,10)||"hide"===n?0:100),o=t.direction||"both",r=t.origin,h={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()},l="horizontal"!==o?a/100:1,o="vertical"!==o?a/100:1;s.effect="size",s.queue=!1,s.complete=e,"effect"!==n&&(s.origin=r||["middle","center"],s.restore=!0),s.from=t.from||("show"===n?{height:0,width:0,outerHeight:0,outerWidth:0}:h),s.to={height:h.height*l,width:h.width*o,outerHeight:h.outerHeight*l,outerWidth:h.outerWidth*o},s.fade&&("show"===n&&(s.from.opacity=0,s.to.opacity=1),"hide"===n)&&(s.from.opacity=1,s.to.opacity=0),i.effect(s)},v.effects.effect.size=function(a,t){var e,o,r=v(this),i=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["width","height","overflow"],s=["fontSize"],l=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],n=v.effects.setMode(r,a.mode||"effect"),u=a.restore||"effect"!==n,d=a.scale||"both",p=a.origin||["middle","center"],f=r.css("position"),g=u?i:["position","top","bottom","left","right","overflow","opacity"],m={height:0,width:0,outerHeight:0,outerWidth:0};"show"===n&&r.show(),e={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()},"toggle"===a.mode&&"show"===n?(r.from=a.to||m,r.to=a.from||e):(r.from=a.from||("show"===n?m:e),r.to=a.to||("hide"===n?m:e)),o={from:{y:r.from.height/e.height,x:r.from.width/e.width},to:{y:r.to.height/e.height,x:r.to.width/e.width}},"box"!==d&&"both"!==d||(o.from.y!==o.to.y&&(g=g.concat(l),r.from=v.effects.setTransition(r,l,o.from.y,r.from),r.to=v.effects.setTransition(r,l,o.to.y,r.to)),o.from.x!==o.to.x&&(g=g.concat(c),r.from=v.effects.setTransition(r,c,o.from.x,r.from),r.to=v.effects.setTransition(r,c,o.to.x,r.to))),"content"!==d&&"both"!==d||o.from.y===o.to.y||(g=g.concat(s).concat(h),r.from=v.effects.setTransition(r,s,o.from.y,r.from),r.to=v.effects.setTransition(r,s,o.to.y,r.to)),v.effects.save(r,g),r.show(),v.effects.createWrapper(r),r.css("overflow","hidden").css(r.from),p&&(m=v.effects.getBaseline(p,e),r.from.top=(e.outerHeight-r.outerHeight())*m.y,r.from.left=(e.outerWidth-r.outerWidth())*m.x,r.to.top=(e.outerHeight-r.to.outerHeight)*m.y,r.to.left=(e.outerWidth-r.to.outerWidth)*m.x),r.css(r.from),"content"!==d&&"both"!==d||(l=l.concat(["marginTop","marginBottom"]).concat(s),c=c.concat(["marginLeft","marginRight"]),h=i.concat(l).concat(c),r.find("*[width]").each(function(){var t=v(this),e=t.height(),i=t.width(),s=t.outerHeight(),n=t.outerWidth();u&&v.effects.save(t,h),t.from={height:e*o.from.y,width:i*o.from.x,outerHeight:s*o.from.y,outerWidth:n*o.from.x},t.to={height:e*o.to.y,width:i*o.to.x,outerHeight:e*o.to.y,outerWidth:i*o.to.x},o.from.y!==o.to.y&&(t.from=v.effects.setTransition(t,l,o.from.y,t.from),t.to=v.effects.setTransition(t,l,o.to.y,t.to)),o.from.x!==o.to.x&&(t.from=v.effects.setTransition(t,c,o.from.x,t.from),t.to=v.effects.setTransition(t,c,o.to.x,t.to)),t.css(t.from),t.animate(t.to,a.duration,a.easing,function(){u&&v.effects.restore(t,h)})})),r.animate(r.to,{queue:!1,duration:a.duration,easing:a.easing,complete:function(){0===r.to.opacity&&r.css("opacity",r.from.opacity),"hide"===n&&r.hide(),v.effects.restore(r,g),u||("static"===f?r.css({position:"relative",top:r.to.top,left:r.to.left}):v.each(["top","left"],function(n,t){r.css(t,function(t,e){var i=parseInt(e,10),s=n?r.to.left:r.to.top;return"auto"===e?s+"px":i+s+"px"})})),v.effects.removeWrapper(r),t()}})}})(jQuery),(v=>{v.effects.effect.shake=function(t,e){var i,s=v(this),n=["position","top","bottom","left","right","height","width"],a=v.effects.setMode(s,t.mode||"effect"),o=t.direction||"left",r=t.distance||20,h=t.times||3,l=2*h+1,c=Math.round(t.duration/l),u="up"===o||"down"===o?"top":"left",o="up"===o||"left"===o,d={},p={},f={},g=s.queue(),m=g.length;for(v.effects.save(s,n),s.show(),v.effects.createWrapper(s),d[u]=(o?"-=":"+=")+r,p[u]=(o?"+=":"-=")+2*r,f[u]=(o?"-=":"+=")+2*r,s.animate(d,c,t.easing),i=1;i<h;i++)s.animate(p,c,t.easing).animate(f,c,t.easing);s.animate(p,c,t.easing).animate(d,c/2,t.easing).queue(function(){"hide"===a&&s.hide(),v.effects.restore(s,n),v.effects.removeWrapper(s),e()}),1<m&&g.splice.apply(g,[1,0].concat(g.splice(m,1+l))),s.dequeue()}})(jQuery),(c=>{c.effects.effect.slide=function(t,e){var i,s=c(this),n=["position","top","bottom","left","right","width","height"],a=c.effects.setMode(s,t.mode||"show"),o="show"===a,r=t.direction||"left",h="up"===r||"down"===r?"top":"left",r="up"===r||"left"===r,l={};c.effects.save(s,n),s.show(),i=t.distance||s["top"==h?"outerHeight":"outerWidth"](!0),c.effects.createWrapper(s).css({overflow:"hidden"}),o&&s.css(h,r?isNaN(i)?"-"+i:-i:i),l[h]=(o?r?"+=":"-=":r?"-=":"+=")+i,s.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===a&&s.hide(),c.effects.restore(s,n),c.effects.removeWrapper(s),e()}})}})(jQuery),(l=>{l.effects.effect.transfer=function(t,e){var i=l(this),s=l(t.to),n="fixed"===s.css("position"),a=l("body"),o=n?a.scrollTop():0,a=n?a.scrollLeft():0,r=s.offset(),r={top:r.top-o,left:r.left-a,height:s.innerHeight(),width:s.innerWidth()},s=i.offset(),h=l('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(t.className).css({top:s.top-o,left:s.left-a,height:i.innerHeight(),width:i.innerWidth(),position:n?"fixed":"absolute"}).animate(r,t.duration,t.easing,function(){h.remove(),e()})}})(jQuery),(r=>{var i=!1;r.widget("ui.menu",{version:"1.9.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,r.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(t){var e=r(t.target).closest(".ui-menu-item");!i&&e.not(".ui-state-disabled").length&&(i=!0,this.select(t),e.has(".ui-menu").length?this.expand(t):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var e=r(t.currentTarget);e.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(t,e)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(t){this._delay(function(){r.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){r(t.target).closest(".ui-menu").length||this.collapseAll(t),i=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=r(this);t.data("ui-menu-submenu-carat")&&t.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(t){function e(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var i,s,n,a,o=!0;switch(t.keyCode){case r.ui.keyCode.PAGE_UP:this.previousPage(t);break;case r.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case r.ui.keyCode.HOME:this._move("first","first",t);break;case r.ui.keyCode.END:this._move("last","last",t);break;case r.ui.keyCode.UP:this.previous(t);break;case r.ui.keyCode.DOWN:this.next(t);break;case r.ui.keyCode.LEFT:this.collapse(t);break;case r.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case r.ui.keyCode.ENTER:case r.ui.keyCode.SPACE:this._activate(t);break;case r.ui.keyCode.ESCAPE:this.collapse(t);break;default:o=!1,i=this.previousFilter||"",s=String.fromCharCode(t.keyCode),n=!1,clearTimeout(this.filterTimer),s===i?n=!0:s=i+s,a=new RegExp("^"+e(s),"i"),i=this.activeMenu.children(".ui-menu-item").filter(function(){return a.test(r(this).children("a").text())}),(i=n&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i).length||(s=String.fromCharCode(t.keyCode),a=new RegExp("^"+e(s),"i"),i=this.activeMenu.children(".ui-menu-item").filter(function(){return a.test(r(this).children("a").text())})),i.length&&(this.focus(t,i),1<i.length)?(this.previousFilter=s,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}o&&t.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var s=this.options.icons.submenu,t=this.element.find(this.options.menus);t.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=r(this),e=t.prev("a"),i=r("<span>").addClass("ui-menu-icon ui-icon "+s).data("ui-menu-submenu-carat",!0);e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),(t=t.add(this.element)).children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),t.children(":not(.ui-menu-item)").each(function(){var t=r(this);/[^\-—–\s]/.test(t.text())||t.addClass("ui-widget-content ui-menu-divider")}),t.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!r.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(e=parseFloat(r.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(r.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-e-i,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.height(),e<0?this.activeMenu.scrollTop(i+e):s<e+t&&this.activeMenu.scrollTop(i+e-s+t))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(t){var e=r.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(e)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var t=i?this.element:r(e&&e.target).closest(this.element.find(".ui-menu"));t.length||(t=this.element),this._close(t),this.blur(e),this.activeMenu=t},this.delay)},_close:function(t){(t=t||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;(s=this.active?"first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0):s)&&s.length&&this.active||(s=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,s)},nextPage:function(t){var e,i,s;this.active?this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,s=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(e=r(this)).offset().top-i-s<0}),this.focus(t,e)):this.focus(t,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())):this.next(t)},previousPage:function(t){var e,i,s;this.active?this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,s=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(e=r(this)).offset().top-i+s}),this.focus(t,e)):this.focus(t,this.activeMenu.children(".ui-menu-item").first())):this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||r(t.target).closest(".ui-menu-item");var e={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,e)}})})(jQuery),(x=>{function k(t,e,i){return[parseInt(t[0],10)*(c.test(t[0])?e/100:1),parseInt(t[1],10)*(c.test(t[1])?i/100:1)]}function C(t,e){return parseInt(x.css(t,e),10)||0}x.ui=x.ui||{};var s,n,a,D=Math.max,P=Math.abs,I=Math.round,o=/left|center|right/,r=/top|center|bottom/,h=/[\+\-]\d+%?/,l=/^\w+/,c=/%$/,e=x.fn.position;x.position={scrollbarWidth:function(){var t,e,i;return void 0!==s?s:(i=(e=x("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i)},getScrollInfo:function(t){var e=t.isWindow?"":t.element.css("overflow-x"),i=t.isWindow?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth,i="scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight;return{width:e?x.position.scrollbarWidth():0,height:i?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var t=x(t||window),e=x.isWindow(t[0]);return{element:t,isWindow:e,offset:t.offset()||{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:e?t.width():t.outerWidth(),height:e?t.height():t.outerHeight()}}},x.fn.position=function(u){if(!u||!u.of)return e.apply(this,arguments);u=x.extend({},u);var d,p,f,g=x(u.of),m=x.position.getWithinInfo(u.within),v=x.position.getScrollInfo(m),t=g[0],_=(u.collision||"flip").split(" "),b={},y=9===t.nodeType?(p=g.width(),f=g.height(),{top:0,left:0}):x.isWindow(t)?(p=g.width(),f=g.height(),{top:g.scrollTop(),left:g.scrollLeft()}):t.preventDefault?(u.at="left top",p=f=0,{top:t.pageY,left:t.pageX}):(p=g.outerWidth(),f=g.outerHeight(),g.offset()),w=x.extend({},y);return x.each(["my","at"],function(){var t,e,i=(u[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):r.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=r.test(i[1])?i[1]:"center",t=h.exec(i[0]),e=h.exec(i[1]),b[this]=[t?t[0]:0,e?e[0]:0],u[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===_.length&&(_[1]=_[0]),"right"===u.at[0]?w.left+=p:"center"===u.at[0]&&(w.left+=p/2),"bottom"===u.at[1]?w.top+=f:"center"===u.at[1]&&(w.top+=f/2),d=k(b.at,p,f),w.left+=d[0],w.top+=d[1],this.each(function(){var i,t,o=x(this),r=o.outerWidth(),h=o.outerHeight(),e=C(this,"marginLeft"),s=C(this,"marginTop"),n=r+e+C(this,"marginRight")+v.width,a=h+s+C(this,"marginBottom")+v.height,l=x.extend({},w),c=k(b.my,o.outerWidth(),o.outerHeight());"right"===u.my[0]?l.left-=r:"center"===u.my[0]&&(l.left-=r/2),"bottom"===u.my[1]?l.top-=h:"center"===u.my[1]&&(l.top-=h/2),l.left+=c[0],l.top+=c[1],x.support.offsetFractions||(l.left=I(l.left),l.top=I(l.top)),i={marginLeft:e,marginTop:s},x.each(["left","top"],function(t,e){x.ui.position[_[t]]&&x.ui.position[_[t]][e](l,{targetWidth:p,targetHeight:f,elemWidth:r,elemHeight:h,collisionPosition:i,collisionWidth:n,collisionHeight:a,offset:[d[0]+c[0],d[1]+c[1]],my:u.my,at:u.at,within:m,elem:o})}),x.fn.bgiframe&&o.bgiframe(),u.using&&(t=function(t){var e=y.left-l.left,i=e+p-r,s=y.top-l.top,n=s+f-h,a={target:{element:g,left:y.left,top:y.top,width:p,height:f},element:{element:o,left:l.left,top:l.top,width:r,height:h},horizontal:i<0?"left":0<e?"right":"center",vertical:n<0?"top":0<s?"bottom":"middle"};p<r&&P(e+i)<p&&(a.horizontal="center"),f<h&&P(s+n)<f&&(a.vertical="middle"),D(P(e),P(i))>D(P(s),P(n))?a.important="horizontal":a.important="vertical",u.using.call(this,t,a)}),o.offset(x.extend(l,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,s=s.width,a=t.left-e.collisionPosition.marginLeft,o=n-a,r=a+e.collisionWidth-s-n;s<e.collisionWidth?0<o&&r<=0?(i=t.left+o+e.collisionWidth-s-n,t.left+=o-i):t.left=!(0<r&&o<=0)&&r<o?n+s-e.collisionWidth:n:0<o?t.left+=o:0<r?t.left-=r:t.left=D(t.left-a,t.left)},top:function(t,e){var i,s=e.within,s=s.isWindow?s.scrollTop:s.offset.top,n=e.within.height,a=t.top-e.collisionPosition.marginTop,o=s-a,r=a+e.collisionHeight-n-s;n<e.collisionHeight?0<o&&r<=0?(i=t.top+o+e.collisionHeight-n-s,t.top+=o-i):t.top=!(0<r&&o<=0)&&r<o?s+n-e.collisionHeight:s:0<o?t.top+=o:0<r?t.top-=r:t.top=D(t.top-a,t.top)}},flip:{left:function(t,e){var i=e.within,s=i.offset.left+i.scrollLeft,n=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,a=t.left-e.collisionPosition.marginLeft,o=a-i,a=a+e.collisionWidth-n-i,r="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,h="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,l=-2*e.offset[0];o<0?((n=t.left+r+h+l+e.collisionWidth-n-s)<0||n<P(o))&&(t.left+=r+h+l):0<a&&(0<(s=t.left-e.collisionPosition.marginLeft+r+h+l-i)||P(s)<a)&&(t.left+=r+h+l)},top:function(t,e){var i=e.within,s=i.offset.top+i.scrollTop,n=i.height,i=i.isWindow?i.scrollTop:i.offset.top,a=t.top-e.collisionPosition.marginTop,o=a-i,a=a+e.collisionHeight-n-i,r="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,h="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,l=-2*e.offset[1];o<0?(n=t.top+r+h+l+e.collisionHeight-n-s,o<t.top+r+h+l&&(n<0||n<P(o))&&(t.top+=r+h+l)):0<a&&(s=t.top-e.collisionPosition.marginTop+r+h+l-i,a<t.top+r+h+l)&&(0<s||P(s)<a)&&(t.top+=r+h+l)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}};var t,i=document.getElementsByTagName("body")[0],u=document.createElement("div"),d=document.createElement(i?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(t in i&&x.extend(p,{position:"absolute",left:"-1000px",top:"-1000px"}),p)d.style[t]=p[t];d.appendChild(u),(i=i||document.documentElement).insertBefore(d,i.firstChild),u.style.cssText="position: absolute; left: 10.7432222px;",u=x(u).offset().left,x.support.offsetFractions=10<u&&u<11,d.innerHTML="",i.removeChild(d),!1!==x.uiBackCompat&&(n=jQuery,a=n.fn.position,n.fn.position=function(t){var e,i;return t&&t.offset?(e=t.offset.split(" "),i=t.at.split(" "),1===e.length&&(e[1]=e[0]),/^\d/.test(e[0])&&(e[0]="+"+e[0]),/^\d/.test(e[1])&&(e[1]="+"+e[1]),1===i.length&&(/left|center|right/.test(i[0])?i[1]="center":(i[1]=i[0],i[0]="center")),a.call(this,n.extend(t,{at:i[0]+e[0]+" "+i[1]+e[1],offset:void 0}))):a.call(this,t)})})(jQuery),(t=>{t.widget("ui.progressbar",{version:"1.9.2",options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()}),this.valueDiv=t("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(t){return void 0===t?this._value():(this._setOption("value",t),this)},_setOption:function(t,e){"value"===t&&(this.options.value=e,this._refreshValue(),this._value()===this.options.max)&&this._trigger("complete"),this._super(t,e)},_value:function(){var t=this.options.value;return"number"!=typeof t&&(t=0),Math.min(this.options.max,Math.max(this.min,t))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var t=this.value(),e=this._percentage();this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),this.valueDiv.toggle(t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(e.toFixed(0)+"%"),this.element.attr("aria-valuenow",t)}})})(jQuery),(c=>{c.widget("ui.slider",c.ui.mouse,{version:"1.9.2",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var t,e,i=this.options,s=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),n=[];for(this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"+(i.disabled?" ui-slider-disabled ui-disabled":"")),this.range=c([]),i.range&&(!0===i.range&&(i.values||(i.values=[this._valueMin(),this._valueMin()]),i.values.length)&&2!==i.values.length&&(i.values=[i.values[0],i.values[0]]),this.range=c("<div></div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+("min"===i.range||"max"===i.range?" ui-slider-range-"+i.range:""))),e=i.values&&i.values.length||1,t=s.length;t<e;t++)n.push("<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>");this.handles=s.add(c(n.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter("a").click(function(t){t.preventDefault()}).mouseenter(function(){i.disabled||c(this).addClass("ui-state-hover")}).mouseleave(function(){c(this).removeClass("ui-state-hover")}).focus(function(){i.disabled?c(this).blur():(c(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),c(this).addClass("ui-state-focus"))}).blur(function(){c(this).removeClass("ui-state-focus")}),this.handles.each(function(t){c(this).data("ui-slider-handle-index",t)}),this._on(this.handles,{keydown:function(t){var e,i,s,n=c(t.target).data("ui-slider-handle-index");switch(t.keyCode){case c.ui.keyCode.HOME:case c.ui.keyCode.END:case c.ui.keyCode.PAGE_UP:case c.ui.keyCode.PAGE_DOWN:case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,c(t.target).addClass("ui-state-active"),!1===this._start(t,n)))return}switch(s=this.options.step,e=i=this.options.values&&this.options.values.length?this.values(n):this.value(),t.keyCode){case c.ui.keyCode.HOME:i=this._valueMin();break;case c.ui.keyCode.END:i=this._valueMax();break;case c.ui.keyCode.PAGE_UP:i=this._trimAlignValue(e+(this._valueMax()-this._valueMin())/5);break;case c.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(e-(this._valueMax()-this._valueMin())/5);break;case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:if(e===this._valueMax())return;i=this._trimAlignValue(e+s);break;case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(e===this._valueMin())return;i=this._trimAlignValue(e-s)}this._slide(t,n,i)},keyup:function(t){var e=c(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,e),this._change(t,e),c(t.target).removeClass("ui-state-active"))}}),this._refreshValue(),this._animateOff=!1},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(t){var i,s,n,a,e,o=this,r=this.options;return!r.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e),s=this._valueMax()-this._valueMin()+1,this.handles.each(function(t){var e=Math.abs(i-o.values(t));e<s&&(s=e,n=c(this),a=t)}),!0===r.range&&this.values(1)===r.min&&(a+=1,n=c(this.handles[a])),!1!==this._start(t,a))&&(this._mouseSliding=!0,this._handleIndex=a,n.addClass("ui-state-active").focus(),e=n.offset(),r=!c(t.target).parents().andSelf().is(".ui-slider-handle"),this._clickOffset=r?{left:0,top:0}:{left:t.pageX-e.left-n.width()/2,top:t.pageY-e.top-n.height()/2-(parseInt(n.css("borderTopWidth"),10)||0)-(parseInt(n.css("borderBottomWidth"),10)||0)+(parseInt(n.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,a,i),this._animateOff=!0)},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},e=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,e),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,t="horizontal"===this.orientation?(e=this.elementSize.width,t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),t=t/e;return(t=1<t?1:t)<0&&(t=0),"vertical"===this.orientation&&(t=1-t),e=this._valueMax()-this._valueMin(),t=this._valueMin()+t*e,this._trimAlignValue(t)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var s,n;this.options.values&&this.options.values.length?(s=this.values(e?0:1),(i=2===this.options.values.length&&!0===this.options.range&&(0===e&&s<i||1===e&&i<s)?s:i)!==this.values(e)&&((s=this.values())[e]=i,n=this._trigger("slide",t,{handle:this.handles[e],value:i,values:s}),this.values(e?0:1),!1!==n)&&this.values(e,i,!0)):i!==this.value()&&!1!==(n=this._trigger("slide",t,{handle:this.handles[e],value:i}))&&this.value(i)},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){var i;this._keySliding||this._mouseSliding||(i={handle:this.handles[e],value:this.value()},this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("change",t,i))},value:function(t){if(!arguments.length)return this._value();this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0)},values:function(t,e){var i,s,n;if(1<arguments.length)this.options.values[t]=this._trimAlignValue(e),this._refreshValue(),this._change(null,t);else{if(!arguments.length)return this._values();if(!c.isArray(t))return this.options.values&&this.options.values.length?this._values(t):this.value();for(i=this.options.values,s=t,n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(s[n]),this._change(null,n);this._refreshValue()}},_setOption:function(t,e){var i,s=0;switch(c.isArray(this.options.values)&&(s=this.options.values.length),c.Widget.prototype._setOption.apply(this,arguments),t){case"disabled":e?(this.handles.filter(".ui-state-focus").blur(),this.handles.removeClass("ui-state-hover"),this.handles.prop("disabled",!0),this.element.addClass("ui-disabled")):(this.handles.prop("disabled",!1),this.element.removeClass("ui-disabled"));break;case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=0;i<s;i+=1)this._change(null,i);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1}},_value:function(){var t=this.options.value;return this._trimAlignValue(t)},_values:function(t){var e,i;if(arguments.length)return t=this.options.values[t],this._trimAlignValue(t);for(e=this.options.values.slice(),i=0;i<e.length;i+=1)e[i]=this._trimAlignValue(e[i]);return e},_trimAlignValue:function(t){var e,i;return t<=this._valueMin()?this._valueMin():t>=this._valueMax()?this._valueMax():(e=0<this.options.step?this.options.step:1,i=t-(t=(t-this._valueMin())%e),2*Math.abs(t)>=e&&(i+=0<t?e:-e),parseFloat(i.toFixed(5)))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,t,s,n,a=this.options.range,o=this.options,r=this,h=!this._animateOff&&o.animate,l={};this.options.values&&this.options.values.length?this.handles.each(function(t){i=(r.values(t)-r._valueMin())/(r._valueMax()-r._valueMin())*100,l["horizontal"===r.orientation?"left":"bottom"]=i+"%",c(this).stop(1,1)[h?"animate":"css"](l,o.animate),!0===r.options.range&&("horizontal"===r.orientation?(0===t&&r.range.stop(1,1)[h?"animate":"css"]({left:i+"%"},o.animate),1===t&&r.range[h?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:o.animate})):(0===t&&r.range.stop(1,1)[h?"animate":"css"]({bottom:i+"%"},o.animate),1===t&&r.range[h?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:o.animate}))),e=i}):(t=this.value(),s=this._valueMin(),n=this._valueMax(),i=n!==s?(t-s)/(n-s)*100:0,l["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[h?"animate":"css"](l,o.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({width:i+"%"},o.animate),"max"===a&&"horizontal"===this.orientation&&this.range[h?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:o.animate}),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:i+"%"},o.animate),"max"===a&&"vertical"===this.orientation&&this.range[h?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:o.animate}))}})})(jQuery),(a=>{function e(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}a.widget("ui.spinner",{version:"1.9.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var s={},n=this.element;return a.each(["min","max","step"],function(t,e){var i=n.attr(e);void 0!==i&&i.length&&(s[e]=i)}),s},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t))},mousewheel:function(t,e){if(e)return!(!this.spinning&&!this._start(t))&&(this._spin((0<e?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),void t.preventDefault())},"mousedown .ui-spinner-button":function(t){function e(){this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=i,this._delay(function(){this.previous=i}))}var i=this.element[0]===this.document[0].activeElement?this.previous:this.element.val();t.preventDefault(),e.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,e.call(this)}),!1!==this._start(t)&&this._repeat(null,a(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(a(t.currentTarget).hasClass("ui-state-active"))return!1!==this._start(t)&&void this._repeat(null,a(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var t=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=t.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*t.height())&&0<t.height()&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(t){var e=this.options,i=a.ui.keyCode;switch(t.keyCode){case i.UP:return this._repeat(null,1,t),!0;case i.DOWN:return this._repeat(null,-1,t),!0;case i.PAGE_UP:return this._repeat(null,e.page,t),!0;case i.PAGE_DOWN:return this._repeat(null,-e.page,t),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>&#9650;</span></a><a class='ui-spinner-button ui-spinner-down ui-corner-br'><span class='ui-icon "+this.options.icons.down+"'>&#9660;</span></a>"},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t)||(this.counter||(this.counter=1),this.spinning=!0,0))},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:i})||(this._value(i),this.counter++)},_increment:function(t){var e=this.options.incremental;return e?a.isFunction(e)?e(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return t=null!==this.options.min?Math.max(t,this._precisionOf(this.options.min)):t},_precisionOf:function(t){var t=t.toString(),e=t.indexOf(".");return-1===e?0:t.length-e-1},_adjustValue:function(t){var e=this.options,i=null!==e.min?e.min:0,s=t-i;return t=i+Math.round(s/e.step)*e.step,t=parseFloat(t.toFixed(this._precision())),null!==e.max&&t>e.max?e.max:null!==e.min&&t<e.min?e.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var i;"culture"===t||"numberFormat"===t?(i=this._parse(this.element.val()),this.options[t]=e,this.element.val(this._format(i))):("max"!==t&&"min"!==t&&"step"!==t||"string"!=typeof e||(e=this._parse(e)),this._super(t,e),"disabled"===t&&(e?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable"))))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return""===(t="string"==typeof t&&""!==t?window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t:t)||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(t,e){var i;""!==t&&null!==(i=this._parse(t))&&(e||(i=this._adjustValue(i)),t=this._format(i)),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._spin((t||1)*this.options.step)},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._spin((t||1)*-this.options.step)},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());e(this._value).call(this,t)},widget:function(){return this.uiSpinner}})})(jQuery),((h,o)=>{function l(t){return 1<t.hash.length&&t.href.replace(s,"")===location.href.replace(s,"").replace(/\s/g,"%20")}var i,e=0,s=/#.*$/;h.widget("ui.tabs",{version:"1.9.2",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,t=this.options,i=t.active,s=location.hash.substring(1);this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",t.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(t){h(this).is(".ui-state-disabled")&&t.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){h(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),null===i&&(s&&this.tabs.each(function(t,e){if(h(e).attr("aria-controls")===s)return i=t,!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=!t.collapsible&&0),t.active=i,!t.collapsible&&!1===t.active&&this.anchors.length&&(t.active=0),h.isArray(t.disabled)&&(t.disabled=h.unique(t.disabled.concat(h.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(this.options.active):this.active=h(),this._refresh(),this.active.length&&this.load(t.active)},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):h()}},_tabKeydown:function(t){var e=h(this.document[0].activeElement).closest("li"),i=this.tabs.index(e),s=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case h.ui.keyCode.RIGHT:case h.ui.keyCode.DOWN:i++;break;case h.ui.keyCode.UP:case h.ui.keyCode.LEFT:s=!1,i--;break;case h.ui.keyCode.END:i=this.anchors.length-1;break;case h.ui.keyCode.HOME:i=0;break;case h.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i);case h.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}t.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,s),t.ctrlKey||(e.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(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===h.ui.keyCode.UP&&(t.preventDefault(),this.active.focus())},_handlePageNav:function(t){return t.altKey&&t.keyCode===h.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===h.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,e){for(var i=this.tabs.length-1;-1!==h.inArray(t=(t=i<t?0:t)<0?i:t,this.options.disabled);)t=e?t+1:t-1;return t},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,e){"active"===t?this._activate(e):"disabled"===t?this._setupDisabled(e):(this._super(t,e),"collapsible"!==t||(this.element.toggleClass("ui-tabs-collapsible",e),e)||!1!==this.options.active||this._activate(0),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e))},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+ ++e},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,e=this.tablist.children(":has(a[href])");t.disabled=h.map(e.filter(".ui-state-disabled"),function(t){return e.index(t)}),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!h.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=h()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=h()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var r=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return h("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=h(),this.anchors.each(function(t,e){var i,s,n=h(e).uniqueId().attr("id"),a=h(e).closest("li"),o=a.attr("aria-controls");l(e)?(i=e.hash,s=r.element.find(r._sanitizeSelector(i))):(e=r._tabId(a),(s=r.element.find(i="#"+e)).length||(s=r._createPanel(e)).insertAfter(r.panels[t-1]||r.tablist),s.attr("aria-live","polite")),s.length&&(r.panels=r.panels.add(s)),o&&a.data("ui-tabs-aria-controls",o),a.attr({"aria-controls":i.substring(1),"aria-labelledby":n}),s.attr("aria-labelledby",n)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(t){return h("<div>").attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(t){h.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1);for(var e,i=0;e=this.tabs[i];i++)!0===t||-1!==h.inArray(i,t)?h(e).addClass("ui-state-disabled").attr("aria-disabled","true"):h(e).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=t},_setupEvents:function(t){var i={click:function(t){t.preventDefault()}};t&&h.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),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(t){var i,e,s=this.element.parent();"fill"===t?(h.support.minHeight||(e=s.css("overflow"),s.css("overflow","hidden")),i=s.height(),this.element.siblings(":visible").each(function(){var t=h(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),e&&s.css("overflow",e),this.element.children().not(this.panels).each(function(){i-=h(this).outerHeight(!0)}),this.panels.each(function(){h(this).height(Math.max(0,i-h(this).innerHeight()+h(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,h(this).height("").height())}).height(i))},_eventHandler:function(t){var e=this.options,i=this.active,s=h(t.currentTarget).closest("li"),n=s[0]===i[0],a=n&&e.collapsible,o=a?h():this._getPanelForTab(s),r=i.length?this._getPanelForTab(i):h(),i={oldTab:i,oldPanel:r,newTab:a?h():s,newPanel:o};t.preventDefault(),s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||n&&!e.collapsible||!1===this._trigger("beforeActivate",t,i)||(e.active=!a&&this.tabs.index(s),this.active=n?h():s,this.xhr&&this.xhr.abort(),r.length||o.length||h.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(s),t),this._toggle(t,i))},_toggle:function(t,e){function i(){n.running=!1,n._trigger("activate",t,e)}function s(){e.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),a.length&&n.options.show?n._show(a,n.options.show,i):(a.show(),i())}var n=this,a=e.newPanel,o=e.oldPanel;this.running=!0,o.length&&this.options.hide?this._hide(o,this.options.hide,function(){e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),s()}):(e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),o.hide(),s()),o.attr({"aria-expanded":"false","aria-hidden":"true"}),e.oldTab.attr("aria-selected","false"),a.length&&o.length?e.oldTab.attr("tabIndex",-1):a.length&&this.tabs.filter(function(){return 0===h(this).attr("tabIndex")}).attr("tabIndex",-1),a.attr({"aria-expanded":"true","aria-hidden":"false"}),e.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(t){var t=this._findActive(t);t[0]!==this.active[0]&&(t=(t=t.length?t:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:h.noop}))},_findActive:function(t){return!1===t?h():this.tabs.eq(t)},_getIndex:function(t){return t="string"==typeof t?this.anchors.index(this.anchors.filter("[href$='"+t+"']")):t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeData("href.tabs").removeData("load.tabs").removeUniqueId(),this.tabs.add(this.panels).each(function(){h.data(this,"ui-tabs-destroy")?h(this).remove():h(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var t=h(this),e=t.data("ui-tabs-aria-controls");e?t.attr("aria-controls",e):t.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var t=this.options.disabled;!1!==t&&(t=i!==o&&(i=this._getIndex(i),h.isArray(t)?h.map(t,function(t){return t!==i?t:null}):h.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(t))},disable:function(t){var e=this.options.disabled;if(!0!==e){if(t===o)e=!0;else{if(t=this._getIndex(t),-1!==h.inArray(t,e))return;e=h.isArray(e)?h.merge([t],e).sort():[t]}this._setupDisabled(e)}},load:function(t,e){t=this._getIndex(t);var i=this,s=this.tabs.eq(t),t=s.find(".ui-tabs-anchor"),n=this._getPanelForTab(s),a={tab:s,panel:n};l(t[0])||(this.xhr=h.ajax(this._ajaxSettings(t,e,a)),this.xhr&&"canceled"!==this.xhr.statusText&&(s.addClass("ui-tabs-loading"),n.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){n.html(t),i._trigger("load",e,a)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&i.panels.stop(!1,!0),s.removeClass("ui-tabs-loading"),n.removeAttr("aria-busy"),t===i.xhr&&delete i.xhr},1)})))},_ajaxSettings:function(t,i,s){var n=this;return{url:t.attr("href"),beforeSend:function(t,e){return n._trigger("beforeLoad",i,h.extend({jqXHR:t,ajaxSettings:e},s))}}},_getPanelForTab:function(t){t=h(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),!1!==h.uiBackCompat&&(h.ui.tabs.prototype._ui=function(t,e){return{tab:t,panel:e,index:this.anchors.index(t)}},h.widget("ui.tabs",h.ui.tabs,{url:function(t,e){this.anchors.eq(t).attr("href",e)}}),h.widget("ui.tabs",h.ui.tabs,{options:{ajaxOptions:null,cache:!1},_create:function(){this._super();var i=this;this._on({tabsbeforeload:function(t,e){h.data(e.tab[0],"cache.tabs")?t.preventDefault():e.jqXHR.success(function(){i.options.cache&&h.data(e.tab[0],"cache.tabs",!0)})}})},_ajaxSettings:function(t,e,i){var s=this.options.ajaxOptions;return h.extend({},s,{error:function(t,e){try{s.error(t,e,i.tab.closest("li").index(),i.tab[0])}catch(t){}}},this._superApply(arguments))},_setOption:function(t,e){"cache"===t&&!1===e&&this.anchors.removeData("cache.tabs"),this._super(t,e)},_destroy:function(){this.anchors.removeData("cache.tabs"),this._super()},url:function(t){this.anchors.eq(t).removeData("cache.tabs"),this._superApply(arguments)}}),h.widget("ui.tabs",h.ui.tabs,{abort:function(){this.xhr&&this.xhr.abort()}}),h.widget("ui.tabs",h.ui.tabs,{options:{spinner:"<em>Loading&#8230;</em>"},_create:function(){this._super(),this._on({tabsbeforeload:function(t,e){var i,s;t.target===this.element[0]&&this.options.spinner&&(i=e.tab.find("span"),s=i.html(),i.html(this.options.spinner),e.jqXHR.complete(function(){i.html(s)}))}})}}),h.widget("ui.tabs",h.ui.tabs,{options:{enable:null,disable:null},enable:function(t){var e,i=this.options;(t&&!0===i.disabled||h.isArray(i.disabled)&&-1!==h.inArray(t,i.disabled))&&(e=!0),this._superApply(arguments),e&&this._trigger("enable",null,this._ui(this.anchors[t],this.panels[t]))},disable:function(t){var e,i=this.options;(t&&!1===i.disabled||h.isArray(i.disabled)&&-1===h.inArray(t,i.disabled))&&(e=!0),this._superApply(arguments),e&&this._trigger("disable",null,this._ui(this.anchors[t],this.panels[t]))}}),h.widget("ui.tabs",h.ui.tabs,{options:{add:null,remove:null,tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},add:function(t,e,i){i===o&&(i=this.anchors.length);var s,n,a=this.options,e=h(a.tabTemplate.replace(/#\{href\}/g,t).replace(/#\{label\}/g,e)),t=t.indexOf("#")?this._tabId(e):t.replace("#","");return e.addClass("ui-state-default ui-corner-top").data("ui-tabs-destroy",!0),e.attr("aria-controls",t),s=i>=this.tabs.length,(n=this.element.find("#"+t)).length||(n=this._createPanel(t),s?0<i?n.insertAfter(this.panels.eq(-1)):n.appendTo(this.element):n.insertBefore(this.panels[i])),n.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").hide(),s?e.appendTo(this.tablist):e.insertBefore(this.tabs[i]),a.disabled=h.map(a.disabled,function(t){return i<=t?++t:t}),this.refresh(),1===this.tabs.length&&!1===a.active&&this.option("active",0),this._trigger("add",null,this._ui(this.anchors[i],this.panels[i])),this},remove:function(e){e=this._getIndex(e);var t=this.options,i=this.tabs.eq(e).remove(),s=this._getPanelForTab(i).remove();return i.hasClass("ui-tabs-active")&&2<this.anchors.length&&this._activate(e+(e+1<this.anchors.length?1:-1)),t.disabled=h.map(h.grep(t.disabled,function(t){return t!==e}),function(t){return e<=t?--t:t}),this.refresh(),this._trigger("remove",null,this._ui(i.find("a")[0],s[0])),this}}),h.widget("ui.tabs",h.ui.tabs,{length:function(){return this.anchors.length}}),h.widget("ui.tabs",h.ui.tabs,{options:{idPrefix:"ui-tabs-"},_tabId:function(t){t=(t=t.is("li")?t.find("a[href]"):t)[0];return h(t).closest("li").attr("aria-controls")||t.title&&t.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF\-]/g,"")||this.options.idPrefix+ ++e}}),h.widget("ui.tabs",h.ui.tabs,{options:{panelTemplate:"<div></div>"},_createPanel:function(t){return h(this.options.panelTemplate).attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)}}),h.widget("ui.tabs",h.ui.tabs,{_create:function(){var t=this.options;null===t.active&&t.selected!==o&&(t.active=-1!==t.selected&&t.selected),this._super(),t.selected=t.active,!1===t.selected&&(t.selected=-1)},_setOption:function(t,e){if("selected"!==t)return this._super(t,e);t=this.options;this._super("active",-1!==e&&e),t.selected=t.active,!1===t.selected&&(t.selected=-1)},_eventHandler:function(){this._superApply(arguments),this.options.selected=this.options.active,!1===this.options.selected&&(this.options.selected=-1)}}),h.widget("ui.tabs",h.ui.tabs,{options:{show:null,select:null},_create:function(){this._super(),!1!==this.options.active&&this._trigger("show",null,this._ui(this.active.find(".ui-tabs-anchor")[0],this._getPanelForTab(this.active)[0]))},_trigger:function(t,e,i){var s,n,a=this._superApply(arguments);return!!a&&("beforeActivate"===t?(s=i.newTab.length?i.newTab:i.oldTab,n=i.newPanel.length?i.newPanel:i.oldPanel,a=this._super("select",e,{tab:s.find(".ui-tabs-anchor")[0],panel:n[0],index:s.closest("li").index()})):"activate"===t&&i.newTab.length&&(a=this._super("show",e,{tab:i.newTab.find(".ui-tabs-anchor")[0],panel:i.newPanel[0],index:i.newTab.closest("li").index()})),a)}}),h.widget("ui.tabs",h.ui.tabs,{select:function(t){if(-1===(t=this._getIndex(t))){if(!this.options.collapsible||-1===this.options.selected)return;t=this.options.selected}this.anchors.eq(t).trigger(this.options.event+this.eventNamespace)}}),i=0,h.widget("ui.tabs",h.ui.tabs,{options:{cookie:null},_create:function(){var t,e=this.options;null==e.active&&e.cookie&&(t=parseInt(this._cookie(),10),e.active=t=-1===t?!1:t),this._super()},_cookie:function(t){var e=[this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++i)];return arguments.length&&(e.push(!1===t?-1:t),e.push(this.options.cookie)),h.cookie.apply(null,e)},_refresh:function(){this._super(),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_eventHandler:function(){this._superApply(arguments),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_destroy:function(){this._super(),this.options.cookie&&this._cookie(null,this.options.cookie)}}),h.widget("ui.tabs",h.ui.tabs,{_trigger:function(t,e,i){i=h.extend({},i);return"load"===t&&(i.panel=i.panel[0],i.tab=i.tab.find(".ui-tabs-anchor")[0]),this._super(t,e,i)}}),h.widget("ui.tabs",h.ui.tabs,{options:{fx:null},_getFx:function(){var t,e,i=this.options.fx;return i&&(h.isArray(i)?(t=i[0],e=i[1]):t=e=i),i?{show:e,hide:t}:null},_toggle:function(t,e){function i(){n.running=!1,n._trigger("activate",t,e)}function s(){e.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),a.length&&r.show?a.animate(r.show,r.show.duration,function(){i()}):(a.show(),i())}var n=this,a=e.newPanel,o=e.oldPanel,r=this._getFx();if(!r)return this._super(t,e);n.running=!0,o.length&&r.hide?o.animate(r.hide,r.hide.duration,function(){e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),s()}):(e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),o.hide(),s())}}))})(jQuery),(c=>{var s=0;c.widget("ui.tooltip",{version:"1.9.2",options:{content:function(){return c(this).attr("title")},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(t,e){var i=this;"disabled"===t?(this[e?"_disable":"_enable"](),this.options[t]=e):(this._super(t,e),"content"===t&&c.each(this.tooltips,function(t,e){i._updateContent(e)}))},_disable:function(){var s=this;c.each(this.tooltips,function(t,e){var i=c.Event("blur");i.target=i.currentTarget=e[0],s.close(i,!0)}),this.element.find(this.options.items).andSelf().each(function(){var t=c(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).andSelf().each(function(){var t=c(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var i=this,e=c(t?t.target:this.element).closest(this.options.items);e.length&&!e.data("ui-tooltip-id")&&(e.attr("title")&&e.data("ui-tooltip-title",e.attr("title")),e.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&e.parents().each(function(){var t,e=c(this);e.data("ui-tooltip-open")&&((t=c.Event("blur")).target=t.currentTarget=this,i.close(t,!0)),e.attr("title")&&(e.uniqueId(),i.parents[this.id]={element:this,title:e.attr("title")},e.attr("title",""))}),this._updateContent(e,t))},_updateContent:function(e,i){var t=this.options.content,s=this,n=i?i.type:null;if("string"==typeof t)return this._open(i,e,t);(t=t.call(e[0],function(t){e.data("ui-tooltip-open")&&s._delay(function(){i&&(i.type=n),this._open(i,e,t)})}))&&this._open(i,e,t)},_open:function(t,e,i){function s(t){l.of=t,h.is(":hidden")||h.position(l)}var n,a,o,r,h,l=c.extend({},this.options.position);i&&((h=this._find(e)).length?h.find(".ui-tooltip-content").html(i):(e.is("[title]")&&(t&&"mouseover"===t.type?e.attr("title",""):e.removeAttr("title")),h=this._tooltip(e),a=e,o=h.attr("id"),(r=(a.attr("aria-describedby")||"").split(/\s+/)).push(o),a.data("ui-tooltip-id",o).attr("aria-describedby",c.trim(r.join(" "))),h.find(".ui-tooltip-content").html(i),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:s}),s(t)):h.position(c.extend({of:e},this.options.position)),h.hide(),this._show(h,this.options.show),this.options.show&&this.options.show.delay&&(n=setInterval(function(){h.is(":visible")&&(s(l.of),clearInterval(n))},c.fx.interval)),this._trigger("open",t,{tooltip:h}),a={keyup:function(t){t.keyCode===c.ui.keyCode.ESCAPE&&((t=c.Event(t)).currentTarget=e[0],this.close(t,!0))},remove:function(){this._removeTooltip(h)}},t&&"mouseover"!==t.type||(a.mouseleave="close"),t&&"focusin"!==t.type||(a.focusout="close"),this._on(!0,e,a)))},close:function(t){var e,i,s,n=this,a=c(t?t.currentTarget:this.element),o=this._find(a);this.closing||(a.data("ui-tooltip-title")&&a.attr("title",a.data("ui-tooltip-title")),i=(e=a).data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),-1!==(i=c.inArray(i,s))&&s.splice(i,1),e.removeData("ui-tooltip-id"),(s=c.trim(s.join(" ")))?e.attr("aria-describedby",s):e.removeAttr("aria-describedby"),o.stop(!0),this._hide(o,this.options.hide,function(){n._removeTooltip(c(this))}),a.removeData("ui-tooltip-open"),this._off(a,"mouseleave focusout keyup"),a[0]!==this.element[0]&&this._off(a,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&c.each(this.parents,function(t,e){c(e.element).attr("title",e.title),delete n.parents[t]}),this.closing=!0,this._trigger("close",t,{tooltip:o}),this.closing=!1)},_tooltip:function(t){var e="ui-tooltip-"+s++,i=c("<div>").attr({id:e,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return c("<div>").addClass("ui-tooltip-content").appendTo(i),i.appendTo(this.document[0].body),c.fn.bgiframe&&i.bgiframe(),this.tooltips[e]=t,i},_find:function(t){t=t.data("ui-tooltip-id");return t?c("#"+t):c()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var s=this;c.each(this.tooltips,function(t,e){var i=c.Event("blur");i.target=i.currentTarget=e[0],s.close(i,!0),c("#"+t).remove(),e.data("ui-tooltip-title")&&(e.attr("title",e.data("ui-tooltip-title")),e.removeData("ui-tooltip-title"))})}})})(jQuery);;
jQuery(function(e){e.datepicker.regional.af={closeText:"Selekteer",prevText:"Vorige",nextText:"Volgende",currentText:"Vandag",monthNames:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"],monthNamesShort:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],dayNamesShort:["Son","Maa","Din","Woe","Don","Vry","Sat"],dayNamesMin:["So","Ma","Di","Wo","Do","Vr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.af)}),jQuery(function(e){e.datepicker.regional["ar-DZ"]={closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["ar-DZ"])}),jQuery(function(e){e.datepicker.regional.ar={closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["كانون الثاني","شباط","آذار","نيسان","مايو","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ar)}),jQuery(function(e){e.datepicker.regional.az={closeText:"Bağla",prevText:"&#x3C;Geri",nextText:"İrəli&#x3E;",currentText:"Bugün",monthNames:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],monthNamesShort:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],dayNames:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],dayNamesShort:["B","Be","Ça","Ç","Ca","C","Ş"],dayNamesMin:["B","B","Ç","С","Ç","C","Ş"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.az)}),jQuery(function(e){e.datepicker.regional.bg={closeText:"затвори",prevText:"&#x3C;назад",nextText:"напред&#x3E;",nextBigText:"&#x3E;&#x3E;",currentText:"днес",monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Нов","Дек"],dayNames:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],dayNamesShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Съ"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.bg)}),jQuery(function(e){e.datepicker.regional.bs={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.bs)}),jQuery(function(e){e.datepicker.regional.ca={closeText:"Tanca",prevText:"Anterior",nextText:"Següent",currentText:"Avui",monthNames:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],monthNamesShort:["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des"],dayNames:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],dayNamesShort:["dg","dl","dt","dc","dj","dv","ds"],dayNamesMin:["dg","dl","dt","dc","dj","dv","ds"],weekHeader:"Set",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ca)}),jQuery(function(e){e.datepicker.regional.cs={closeText:"Zavřít",prevText:"&#x3C;Dříve",nextText:"Později&#x3E;",currentText:"Nyní",monthNames:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],monthNamesShort:["led","úno","bře","dub","kvě","čer","čvc","srp","zář","říj","lis","pro"],dayNames:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],dayNamesShort:["ne","po","út","st","čt","pá","so"],dayNamesMin:["ne","po","út","st","čt","pá","so"],weekHeader:"Týd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.cs)}),jQuery(function(e){e.datepicker.regional["cy-GB"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"],monthNamesShort:["Ion","Chw","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tac","Rha"],dayNames:["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"],dayNamesShort:["Sul","Llu","Maw","Mer","Iau","Gwe","Sad"],dayNamesMin:["Su","Ll","Ma","Me","Ia","Gw","Sa"],weekHeader:"Wy",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["cy-GB"])}),jQuery(function(e){e.datepicker.regional.da={closeText:"Luk",prevText:"&#x3C;Forrige",nextText:"Næste&#x3E;",currentText:"Idag",monthNames:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],dayNamesShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayNamesMin:["Sø","Ma","Ti","On","To","Fr","Lø"],weekHeader:"Uge",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.da)}),jQuery(function(e){e.datepicker.regional.de={closeText:"schließen",prevText:"&#x3C;zurück",nextText:"Vor&#x3E;",currentText:"heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.de)}),jQuery(function(e){e.datepicker.regional.el={closeText:"Κλείσιμο",prevText:"Προηγούμενος",nextText:"Επόμενος",currentText:"Τρέχων Μήνας",monthNames:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthNamesShort:["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],dayNames:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],dayNamesShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],dayNamesMin:["Κυ","Δε","Τρ","Τε","Πε","Πα","Σα"],weekHeader:"Εβδ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.el)}),jQuery(function(e){e.datepicker.regional["en-AU"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["en-AU"])}),jQuery(function(e){e.datepicker.regional["en-GB"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["en-GB"])}),jQuery(function(e){e.datepicker.regional["en-NZ"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["en-NZ"])}),jQuery(function(e){e.datepicker.regional.eo={closeText:"Fermi",prevText:"&#x3C;Anta",nextText:"Sekv&#x3E;",currentText:"Nuna",monthNames:["Januaro","Februaro","Marto","Aprilo","Majo","Junio","Julio","Aŭgusto","Septembro","Oktobro","Novembro","Decembro"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aŭg","Sep","Okt","Nov","Dec"],dayNames:["Dimanĉo","Lundo","Mardo","Merkredo","Ĵaŭdo","Vendredo","Sabato"],dayNamesShort:["Dim","Lun","Mar","Mer","Ĵaŭ","Ven","Sab"],dayNamesMin:["Di","Lu","Ma","Me","Ĵa","Ve","Sa"],weekHeader:"Sb",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.eo)}),jQuery(function(e){e.datepicker.regional.es={closeText:"Cerrar",prevText:"&#x3C;Ant",nextText:"Sig&#x3E;",currentText:"Hoy",monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mié","Juv","Vie","Sáb"],dayNamesMin:["Do","Lu","Ma","Mi","Ju","Vi","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.es)}),jQuery(function(e){e.datepicker.regional.et={closeText:"Sulge",prevText:"Eelnev",nextText:"Järgnev",currentText:"Täna",monthNames:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],monthNamesShort:["Jaan","Veebr","Märts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],dayNames:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"],dayNamesShort:["Pühap","Esmasp","Teisip","Kolmap","Neljap","Reede","Laup"],dayNamesMin:["P","E","T","K","N","R","L"],weekHeader:"näd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.et)}),jQuery(function(e){e.datepicker.regional.eu={closeText:"Egina",prevText:"&#x3C;Aur",nextText:"Hur&#x3E;",currentText:"Gaur",monthNames:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"],monthNamesShort:["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe."],dayNames:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],dayNamesShort:["ig.","al.","ar.","az.","og.","ol.","lr."],dayNamesMin:["ig","al","ar","az","og","ol","lr"],weekHeader:"As",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.eu)}),jQuery(function(e){e.datepicker.regional.fa={closeText:"بستن",prevText:"&#x3C;قبلی",nextText:"بعدی&#x3E;",currentText:"امروز",monthNames:["فروردين","ارديبهشت","خرداد","تير","مرداد","شهريور","مهر","آبان","آذر","دی","بهمن","اسفند"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["يکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayNamesShort:["ی","د","س","چ","پ","ج","ش"],dayNamesMin:["ی","د","س","چ","پ","ج","ش"],weekHeader:"هف",dateFormat:"yy/mm/dd",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fa)}),jQuery(function(e){e.datepicker.regional.fi={closeText:"Sulje",prevText:"&#xAB;Edellinen",nextText:"Seuraava&#xBB;",currentText:"Tänään",monthNames:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthNamesShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],dayNamesShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayNames:["Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai"],dayNamesMin:["Su","Ma","Ti","Ke","To","Pe","La"],weekHeader:"Vk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fi)}),jQuery(function(e){e.datepicker.regional.fo={closeText:"Lat aftur",prevText:"&#x3C;Fyrra",nextText:"Næsta&#x3E;",currentText:"Í dag",monthNames:["Januar","Februar","Mars","Apríl","Mei","Juni","Juli","August","September","Oktober","November","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sunnudagur","Mánadagur","Týsdagur","Mikudagur","Hósdagur","Fríggjadagur","Leyardagur"],dayNamesShort:["Sun","Mán","Týs","Mik","Hós","Frí","Ley"],dayNamesMin:["Su","Má","Tý","Mi","Hó","Fr","Le"],weekHeader:"Vk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fo)}),jQuery(function(e){e.datepicker.regional["fr-CH"]={closeText:"Fermer",prevText:"&#x3C;Préc",nextText:"Suiv&#x3E;",currentText:"Courant",monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Jan","Fév","Mar","Avr","Mai","Jun","Jul","Aoû","Sep","Oct","Nov","Déc"],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dayNamesMin:["Di","Lu","Ma","Me","Je","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["fr-CH"])}),jQuery(function(e){e.datepicker.regional.fr={closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Janv.","Févr.","Mars","Avril","Mai","Juin","Juil.","Août","Sept.","Oct.","Nov.","Déc."],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim.","Lun.","Mar.","Mer.","Jeu.","Ven.","Sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fr)}),jQuery(function(e){e.datepicker.regional.gl={closeText:"Pechar",prevText:"&#x3C;Ant",nextText:"Seg&#x3E;",currentText:"Hoxe",monthNames:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],monthNamesShort:["Xan","Feb","Mar","Abr","Mai","Xuñ","Xul","Ago","Set","Out","Nov","Dec"],dayNames:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"],dayNamesMin:["Do","Lu","Ma","Mé","Xo","Ve","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.gl)}),jQuery(function(e){e.datepicker.regional.he={closeText:"סגור",prevText:"&#x3C;הקודם",nextText:"הבא&#x3E;",currentText:"היום",monthNames:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthNamesShort:["ינו","פבר","מרץ","אפר","מאי","יוני","יולי","אוג","ספט","אוק","נוב","דצמ"],dayNames:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],dayNamesShort:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],dayNamesMin:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.he)}),jQuery(function(e){e.datepicker.regional.hi={closeText:"बंद",prevText:"पिछला",nextText:"अगला",currentText:"आज",monthNames:["जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून","जूलाई","अगस्त ","सितम्बर","अक्टूबर","नवम्बर","दिसम्बर"],monthNamesShort:["जन","फर","मार्च","अप्रेल","मई","जून","जूलाई","अग","सित","अक्ट","नव","दि"],dayNames:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],dayNamesShort:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],dayNamesMin:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],weekHeader:"हफ्ता",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hi)}),jQuery(function(e){e.datepicker.regional.hr={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],monthNamesShort:["Sij","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],dayNames:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Tje",dateFormat:"dd.mm.yy.",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hr)}),jQuery(function(e){e.datepicker.regional.hu={closeText:"bezár",prevText:"vissza",nextText:"előre",currentText:"ma",monthNames:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthNamesShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Szep","Okt","Nov","Dec"],dayNames:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],dayNamesShort:["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],dayNamesMin:["V","H","K","Sze","Cs","P","Szo"],weekHeader:"Hét",dateFormat:"yy.mm.dd.",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hu)}),jQuery(function(e){e.datepicker.regional.hy={closeText:"Փակել",prevText:"&#x3C;Նախ.",nextText:"Հաջ.&#x3E;",currentText:"Այսօր",monthNames:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],monthNamesShort:["Հունվ","Փետր","Մարտ","Ապր","Մայիս","Հունիս","Հուլ","Օգս","Սեպ","Հոկ","Նոյ","Դեկ"],dayNames:["կիրակի","եկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ"],dayNamesShort:["կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ"],dayNamesMin:["կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ"],weekHeader:"ՇԲՏ",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hy)}),jQuery(function(e){e.datepicker.regional.id={closeText:"Tutup",prevText:"&#x3C;mundur",nextText:"maju&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agus","Sep","Okt","Nop","Des"],dayNames:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],dayNamesShort:["Min","Sen","Sel","Rab","kam","Jum","Sab"],dayNamesMin:["Mg","Sn","Sl","Rb","Km","jm","Sb"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.id)}),jQuery(function(e){e.datepicker.regional.is={closeText:"Loka",prevText:"&#x3C; Fyrri",nextText:"Næsti &#x3E;",currentText:"Í dag",monthNames:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],dayNames:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"],dayNamesShort:["Sun","Mán","Þri","Mið","Fim","Fös","Lau"],dayNamesMin:["Su","Má","Þr","Mi","Fi","Fö","La"],weekHeader:"Vika",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.is)}),jQuery(function(e){e.datepicker.regional.it={closeText:"Chiudi",prevText:"&#x3C;Prec",nextText:"Succ&#x3E;",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayNamesMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.it)}),jQuery(function(e){e.datepicker.regional.ja={closeText:"閉じる",prevText:"&#x3C;前",nextText:"次&#x3E;",currentText:"今日",monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayNames:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],dayNamesShort:["日","月","火","水","木","金","土"],dayNamesMin:["日","月","火","水","木","金","土"],weekHeader:"週",dateFormat:"yy/mm/dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional.ja)}),jQuery(function(e){e.datepicker.regional.ka={closeText:"დახურვა",prevText:"&#x3c; წინა",nextText:"შემდეგი &#x3e;",currentText:"დღეს",monthNames:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],monthNamesShort:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],dayNames:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],dayNamesShort:["კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],dayNamesMin:["კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],weekHeader:"კვირა",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ka)}),jQuery(function(e){e.datepicker.regional.kk={closeText:"Жабу",prevText:"&#x3C;Алдыңғы",nextText:"Келесі&#x3E;",currentText:"Бүгін",monthNames:["Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан"],monthNamesShort:["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел"],dayNames:["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],dayNamesShort:["жкс","дсн","ссн","срс","бсн","жма","снб"],dayNamesMin:["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],weekHeader:"Не",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.kk)}),jQuery(function(e){e.datepicker.regional.km={closeText:"ធ្វើ​រួច",prevText:"មុន",nextText:"បន្ទាប់",currentText:"ថ្ងៃ​នេះ",monthNames:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],monthNamesShort:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],dayNames:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"],dayNamesShort:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],dayNamesMin:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],weekHeader:"សប្ដាហ៍",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.km)}),jQuery(function(e){e.datepicker.regional.ko={closeText:"닫기",prevText:"이전달",nextText:"다음달",currentText:"오늘",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],dayNamesShort:["일","월","화","수","목","금","토"],dayNamesMin:["일","월","화","수","목","금","토"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"년"},e.datepicker.setDefaults(e.datepicker.regional.ko)}),jQuery(function(e){e.datepicker.regional.lb={closeText:"Fäerdeg",prevText:"Zréck",nextText:"Weider",currentText:"Haut",monthNames:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],dayNamesShort:["Son","Méi","Dën","Mët","Don","Fre","Sam"],dayNamesMin:["So","Mé","Dë","Më","Do","Fr","Sa"],weekHeader:"W",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lb)}),jQuery(function(e){e.datepicker.regional.lt={closeText:"Uždaryti",prevText:"&#x3C;Atgal",nextText:"Pirmyn&#x3E;",currentText:"Šiandien",monthNames:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthNamesShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],dayNames:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],dayNamesShort:["sek","pir","ant","tre","ket","pen","šeš"],dayNamesMin:["Se","Pr","An","Tr","Ke","Pe","Še"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lt)}),jQuery(function(e){e.datepicker.regional.lv={closeText:"Aizvērt",prevText:"Iepr",nextText:"Nāka",currentText:"Šodien",monthNames:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthNamesShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],dayNames:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],dayNamesShort:["svt","prm","otr","tre","ctr","pkt","sst"],dayNamesMin:["Sv","Pr","Ot","Tr","Ct","Pk","Ss"],weekHeader:"Nav",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lv)}),jQuery(function(e){e.datepicker.regional.mk={closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Денес",monthNames:["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],dayNames:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"],dayNamesShort:["Нед","Пон","Вто","Сре","Чет","Пет","Саб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Са"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.mk)}),jQuery(function(e){e.datepicker.regional.ml={closeText:"ശരി",prevText:"മുന്നത്തെ",nextText:"അടുത്തത് ",currentText:"ഇന്ന്",monthNames:["ജനുവരി","ഫെബ്രുവരി","മാര്‍ച്ച്","ഏപ്രില്‍","മേയ്","ജൂണ്‍","ജൂലൈ","ആഗസ്റ്റ്","സെപ്റ്റംബര്‍","ഒക്ടോബര്‍","നവംബര്‍","ഡിസംബര്‍"],monthNamesShort:["ജനു","ഫെബ്","മാര്‍","ഏപ്രി","മേയ്","ജൂണ്‍","ജൂലാ","ആഗ","സെപ്","ഒക്ടോ","നവം","ഡിസ"],dayNames:["ഞായര്‍","തിങ്കള്‍","ചൊവ്വ","ബുധന്‍","വ്യാഴം","വെള്ളി","ശനി"],dayNamesShort:["ഞായ","തിങ്ക","ചൊവ്വ","ബുധ","വ്യാഴം","വെള്ളി","ശനി"],dayNamesMin:["ഞാ","തി","ചൊ","ബു","വ്യാ","വെ","ശ"],weekHeader:"ആ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ml)}),jQuery(function(e){e.datepicker.regional.ms={closeText:"Tutup",prevText:"&#x3C;Sebelum",nextText:"Selepas&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthNamesShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],dayNames:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],dayNamesShort:["Aha","Isn","Sel","Rab","kha","Jum","Sab"],dayNamesMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ms)}),jQuery(function(e){e.datepicker.regional["nl-BE"]={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["nl-BE"])}),jQuery(function(e){e.datepicker.regional.nl={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.nl)}),jQuery(function(e){e.datepicker.regional.no={closeText:"Lukk",prevText:"&#xAB;Forrige",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.no)}),jQuery(function(e){e.datepicker.regional.pl={closeText:"Zamknij",prevText:"&#x3C;Poprzedni",nextText:"Następny&#x3E;",currentText:"Dziś",monthNames:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthNamesShort:["Sty","Lu","Mar","Kw","Maj","Cze","Lip","Sie","Wrz","Pa","Lis","Gru"],dayNames:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],dayNamesShort:["Nie","Pn","Wt","Śr","Czw","Pt","So"],dayNamesMin:["N","Pn","Wt","Śr","Cz","Pt","So"],weekHeader:"Tydz",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.pl)}),jQuery(function(e){e.datepicker.regional["pt-BR"]={closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Próximo&#x3E;",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["pt-BR"])}),jQuery(function(e){e.datepicker.regional.pt={closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Seguinte",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sem",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.pt)}),jQuery(function(e){e.datepicker.regional.rm={closeText:"Serrar",prevText:"&#x3C;Suandant",nextText:"Precedent&#x3E;",currentText:"Actual",monthNames:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],monthNamesShort:["Scha","Fev","Mar","Avr","Matg","Zer","Fan","Avu","Sett","Oct","Nov","Dec"],dayNames:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"],dayNamesShort:["Dum","Gli","Mar","Mes","Gie","Ven","Som"],dayNamesMin:["Du","Gl","Ma","Me","Gi","Ve","So"],weekHeader:"emna",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.rm)}),jQuery(function(e){e.datepicker.regional.ro={closeText:"Închide",prevText:"&#xAB; Luna precedentă",nextText:"Luna următoare &#xBB;",currentText:"Azi",monthNames:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthNamesShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"],dayNamesShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"],dayNamesMin:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],weekHeader:"Săpt",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ro)}),jQuery(function(e){e.datepicker.regional.ru={closeText:"Закрыть",prevText:"&#x3C;Пред",nextText:"След&#x3E;",currentText:"Сегодня",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],dayNamesShort:["вск","пнд","втр","срд","чтв","птн","сбт"],dayNamesMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Нед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ru)}),jQuery(function(e){e.datepicker.regional.sk={closeText:"Zavrieť",prevText:"&#x3C;Predchádzajúci",nextText:"Nasledujúci&#x3E;",currentText:"Dnes",monthNames:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Okt","Nov","Dec"],dayNames:["Nedeľa","Pondelok","Utorok","Streda","Štvrtok","Piatok","Sobota"],dayNamesShort:["Ned","Pon","Uto","Str","Štv","Pia","Sob"],dayNamesMin:["Ne","Po","Ut","St","Št","Pia","So"],weekHeader:"Ty",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sk)}),jQuery(function(e){e.datepicker.regional.sl={closeText:"Zapri",prevText:"&#x3C;Prejšnji",nextText:"Naslednji&#x3E;",currentText:"Trenutni",monthNames:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"],dayNamesShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],dayNamesMin:["Ne","Po","To","Sr","Če","Pe","So"],weekHeader:"Teden",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sl)}),jQuery(function(e){e.datepicker.regional.sq={closeText:"mbylle",prevText:"&#x3C;mbrapa",nextText:"Përpara&#x3E;",currentText:"sot",monthNames:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],monthNamesShort:["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gus","Sht","Tet","Nën","Dhj"],dayNames:["E Diel","E Hënë","E Martë","E Mërkurë","E Enjte","E Premte","E Shtune"],dayNamesShort:["Di","Hë","Ma","Më","En","Pr","Sh"],dayNamesMin:["Di","Hë","Ma","Më","En","Pr","Sh"],weekHeader:"Ja",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sq)}),jQuery(function(e){e.datepicker.regional["sr-SR"]={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sre","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Sed",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["sr-SR"])}),jQuery(function(e){e.datepicker.regional.sr={closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Данас",monthNames:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthNamesShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],dayNames:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],dayNamesShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],dayNamesMin:["Не","По","Ут","Ср","Че","Пе","Су"],weekHeader:"Сед",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sr)}),jQuery(function(e){e.datepicker.regional.sv={closeText:"Stäng",prevText:"&#xAB;Förra",nextText:"Nästa&#xBB;",currentText:"Idag",monthNames:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNamesShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayNames:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],dayNamesMin:["Sö","Må","Ti","On","To","Fr","Lö"],weekHeader:"Ve",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sv)}),jQuery(function(e){e.datepicker.regional.ta={closeText:"மூடு",prevText:"முன்னையது",nextText:"அடுத்தது",currentText:"இன்று",monthNames:["தை","மாசி","பங்குனி","சித்திரை","வைகாசி","ஆனி","ஆடி","ஆவணி","புரட்டாசி","ஐப்பசி","கார்த்திகை","மார்கழி"],monthNamesShort:["தை","மாசி","பங்","சித்","வைகா","ஆனி","ஆடி","ஆவ","புர","ஐப்","கார்","மார்"],dayNames:["ஞாயிற்றுக்கிழமை","திங்கட்கிழமை","செவ்வாய்க்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"],dayNamesShort:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"],dayNamesMin:["ஞா","தி","செ","பு","வி","வெ","ச"],weekHeader:"Не",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ta)}),jQuery(function(e){e.datepicker.regional.th={closeText:"ปิด",prevText:"&#xAB;&#xA0;ย้อน",nextText:"ถัดไป&#xA0;&#xBB;",currentText:"วันนี้",monthNames:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthNamesShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],dayNames:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],dayNamesShort:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],dayNamesMin:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.th)}),jQuery(function(e){e.datepicker.regional.tj={closeText:"Идома",prevText:"&#x3c;Қафо",nextText:"Пеш&#x3e;",currentText:"Имрӯз",monthNames:["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["якшанбе","душанбе","сешанбе","чоршанбе","панҷшанбе","ҷумъа","шанбе"],dayNamesShort:["якш","душ","сеш","чор","пан","ҷум","шан"],dayNamesMin:["Як","Дш","Сш","Чш","Пш","Ҷм","Шн"],weekHeader:"Хф",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.tj)}),jQuery(function(e){e.datepicker.regional.tr={closeText:"kapat",prevText:"&#x3C;geri",nextText:"ileri&#x3e",currentText:"bugün",monthNames:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthNamesShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],dayNames:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],dayNamesShort:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],dayNamesMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.tr)}),jQuery(function(e){e.datepicker.regional.uk={closeText:"Закрити",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Сьогодні",monthNames:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthNamesShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],dayNames:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"],dayNamesShort:["нед","пнд","вів","срд","чтв","птн","сбт"],dayNamesMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Тиж",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.uk)}),jQuery(function(e){e.datepicker.regional.vi={closeText:"Đóng",prevText:"&#x3C;Trước",nextText:"Tiếp&#x3E;",currentText:"Hôm nay",monthNames:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"],monthNamesShort:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayNames:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],dayNamesShort:["CN","T2","T3","T4","T5","T6","T7"],dayNamesMin:["CN","T2","T3","T4","T5","T6","T7"],weekHeader:"Tu",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.vi)}),jQuery(function(e){e.datepicker.regional["zh-CN"]={closeText:"关闭",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-CN"])}),jQuery(function(e){e.datepicker.regional["zh-HK"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"dd-mm-yy",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-HK"])}),jQuery(function(e){e.datepicker.regional["zh-TW"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy/mm/dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-TW"])});;
(t=>{"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(u){u.extend(u.fn,{validate:function(t){var s;if(this.length)return(s=u.data(this[0],"validator"))||(this.attr("novalidate","novalidate"),s=new u.validator(t,this[0]),u.data(this[0],"validator",s),s.settings.onsubmit&&(this.validateDelegate(":submit","click",function(t){s.settings.submitHandler&&(s.submitButton=t.target),u(t.target).hasClass("cancel")&&(s.cancelSubmit=!0),void 0!==u(t.target).attr("formnovalidate")&&(s.cancelSubmit=!0)}),this.submit(function(i){function t(){var t,e;return!s.settings.submitHandler||(s.submitButton&&(t=u("<input type='hidden'/>").attr("name",s.submitButton.name).val(u(s.submitButton).val()).appendTo(s.currentForm)),e=s.settings.submitHandler.call(s,s.currentForm,i),s.submitButton&&t.remove(),void 0!==e&&e)}return s.settings.debug&&i.preventDefault(),s.cancelSubmit?(s.cancelSubmit=!1,t()):s.form()?s.pendingRequest?!(s.formSubmitted=!0):t():(s.focusInvalid(),!1)})),s);t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,e;return u(this[0]).is("form")?t=this.validate().form():(t=!0,e=u(this[0].form).validate(),this.each(function(){t=e.element(this)&&t})),t},removeAttrs:function(t){var i={},s=this;return u.each(t.split(/\s/),function(t,e){i[e]=s.attr(e),s.removeAttr(e)}),i},rules:function(t,e){var i,s,r,n,a,o=this[0];if(t)switch(i=u.data(o.form,"validator").settings,s=i.rules,r=u.validator.staticRules(o),t){case"add":u.extend(r,u.validator.normalizeRule(e)),delete r.messages,s[o.name]=r,e.messages&&(i.messages[o.name]=u.extend(i.messages[o.name],e.messages));break;case"remove":return e?(a={},u.each(e.split(/\s/),function(t,e){a[e]=r[e],delete r[e],"required"===e&&u(o).removeAttr("aria-required")}),a):(delete s[o.name],r)}return(t=u.validator.normalizeRules(u.extend({},u.validator.classRules(o),u.validator.attributeRules(o),u.validator.dataRules(o),u.validator.staticRules(o)),o)).required&&(n=t.required,delete t.required,t=u.extend({required:n},t),u(o).attr("aria-required","true")),t.remote&&(n=t.remote,delete t.remote,t=u.extend(t,{remote:n})),t}}),u.extend(u.expr[":"],{blank:function(t){return!u.trim(""+u(t).val())},filled:function(t){return!!u.trim(""+u(t).val())},unchecked:function(t){return!u(t).prop("checked")}}),u.validator=function(t,e){this.settings=u.extend(!0,{},u.validator.defaults,t),this.currentForm=e,this.init()},u.validator.format=function(i,t){return 1===arguments.length?function(){var t=u.makeArray(arguments);return t.unshift(i),u.validator.format.apply(this,t)}:((t=2<arguments.length&&t.constructor!==Array?u.makeArray(arguments).slice(1):t).constructor!==Array&&(t=[t]),u.each(t,function(t,e){i=i.replace(new RegExp("\\{"+t+"\\}","g"),function(){return e})}),i)},u.extend(u.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:u([]),errorLabelContainer:u([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){9===e.which&&""===this.elementValue(t)||!(t.name in this.submitted||t===this.lastElement)||this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(t,e,i){("radio"===t.type?this.findByName(t.name):u(t)).addClass(e).removeClass(i)},unhighlight:function(t,e,i){("radio"===t.type?this.findByName(t.name):u(t)).removeClass(e).addClass(i)}},setDefaults:function(t){u.extend(u.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date ( ISO ).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:u.validator.format("Please enter no more than {0} characters."),minlength:u.validator.format("Please enter at least {0} characters."),rangelength:u.validator.format("Please enter a value between {0} and {1} characters long."),range:u.validator.format("Please enter a value between {0} and {1}."),max:u.validator.format("Please enter a value less than or equal to {0}."),min:u.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){var e=u.data(this[0].form,"validator"),i="on"+t.type.replace(/^validate/,""),s=e.settings;s[i]&&!this.is(s.ignore)&&s[i].call(e,this[0],t)}this.labelContainer=u(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||u(this.currentForm),this.containers=u(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,s=this.groups={};u.each(this.settings.groups,function(i,t){"string"==typeof t&&(t=t.split(/\s/)),u.each(t,function(t,e){s[e]=i})}),i=this.settings.rules,u.each(i,function(t,e){i[t]=u.validator.normalizeRule(e)}),u(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox']","focusin focusout keyup",t).validateDelegate("select, option, [type='radio'], [type='checkbox']","click",t),this.settings.invalidHandler&&u(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler),u(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),u.extend(this.submitted,this.errorMap),this.invalid=u.extend({},this.errorMap),this.valid()||u(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(t){var e=this.clean(t),i=this.validationTargetFor(e),s=!0;return void 0===(this.lastElement=i)?delete this.invalid[e.name]:(this.prepareElement(i),this.currentElements=u(i),(s=!1!==this.check(i))?delete this.invalid[i.name]:this.invalid[i.name]=!0),u(t).attr("aria-invalid",!s),this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),s},showErrors:function(e){if(e){for(var t in u.extend(this.errorMap,e),this.errorList=[],e)this.errorList.push({message:e[t],element:this.findByName(t)[0]});this.successList=u.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){u.fn.resetForm&&u(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue").removeAttr("aria-invalid")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,i=0;for(e in t)i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{u(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===u.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var t=this,e={};return u(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled], [readonly]").not(this.settings.ignore).filter(function(){return!this.name&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),!(this.name in e||!t.objectLength(u(this).rules())||(e[this.name]=!0,0))})},clean:function(t){return u(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return u(this.settings.errorElement+"."+t,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=u([]),this.toHide=u([]),this.currentElements=u([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(t){var e=u(t),i=t.type;return"radio"===i||"checkbox"===i?u("input[name='"+t.name+"']:checked").val():"number"===i&&void 0!==t.validity?!t.validity.badInput&&e.val():"string"==typeof(i=e.val())?i.replace(/\r/g,""):i},check:function(e){e=this.validationTargetFor(this.clean(e));var t,i,s,r=u(e).rules(),n=u.map(r,function(t,e){return e}).length,a=!1,o=this.elementValue(e);for(i in r){s={method:i,parameters:r[i]};try{if("dependency-mismatch"===(t=u.validator.methods[i].call(this,o,e,s.parameters))&&1===n)a=!0;else{if(a=!1,"pending"===t)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!t)return this.formatAndAdd(e,s),!1}}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+s.method+"' method.",t),t}}if(!a)return this.objectLength(r)&&this.successList.push(e),!0},customDataMessage:function(t,e){return u(t).data("msg"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase())||u(t).data("msg")},customMessage:function(t,e){t=this.settings.messages[t];return t&&(t.constructor===String?t:t[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(t,e){return this.findDefined(this.customMessage(t.name,e),this.customDataMessage(t,e),!this.settings.ignoreTitle&&t.title||void 0,u.validator.messages[e],"<strong>Warning: No message defined for "+t.name+"</strong>")},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e.method),s=/\$?\{(\d+)\}/g;"function"==typeof i?i=i.call(this,e.parameters,t):s.test(i)&&(i=u.validator.format(i.replace(s,"{$1}"),e.parameters)),this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return t=this.settings.wrapper?t.add(t.parent(this.settings.wrapper)):t},defaultShowErrors:function(){for(var t,e,i=0;this.errorList[i];i++)e=this.errorList[i],this.settings.highlight&&this.settings.highlight.call(this,e.element,this.settings.errorClass,this.settings.validClass),this.showLabel(e.element,e.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(i=0;this.successList[i];i++)this.showLabel(this.successList[i]);if(this.settings.unhighlight)for(i=0,t=this.validElements();t[i];i++)this.settings.unhighlight.call(this,t[i],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return u(this.errorList).map(function(){return this.element})},showLabel:function(t,e){var i,s,r=this.errorsFor(t),n=this.idOrName(t),a=u(t).attr("aria-describedby");r.length?(r.removeClass(this.settings.validClass).addClass(this.settings.errorClass),r.html(e)):(s=r=u("<"+this.settings.errorElement+">").attr("id",n+"-error").addClass(this.settings.errorClass).html(e||""),this.settings.wrapper&&(s=r.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(s):this.settings.errorPlacement?this.settings.errorPlacement(s,u(t)):s.insertAfter(t),r.is("label")?r.attr("for",n):0===r.parents("label[for='"+n+"']").length&&(s=r.attr("id").replace(/(:|\.|\[|\])/g,"\\$1"),a?a.match(new RegExp("\\b"+s+"\\b"))||(a+=" "+s):a=s,u(t).attr("aria-describedby",a),i=this.groups[t.name])&&u.each(this.groups,function(t,e){e===i&&u("[name='"+t+"']",this.currentForm).attr("aria-describedby",r.attr("id"))})),!e&&this.settings.success&&(r.text(""),"string"==typeof this.settings.success?r.addClass(this.settings.success):this.settings.success(r,t)),this.toShow=this.toShow.add(r)},errorsFor:function(t){var e=this.idOrName(t),t=u(t).attr("aria-describedby"),e="label[for='"+e+"'], label[for='"+e+"'] *";return t&&(e=e+", #"+t.replace(/\s+/g,", #")),this.errors().filter(e)},idOrName:function(t){return this.groups[t.name]||!this.checkable(t)&&t.id||t.name},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),u(t).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(t){return u(this.currentForm).find("[name='"+t+"']")},getLength:function(t,e){switch(e.nodeName.toLowerCase()){case"select":return u("option:selected",e).length;case"input":if(this.checkable(e))return this.findByName(e.name).filter(":checked").length}return t.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(t,e){return!!u(t,e.form).length},function:function(t,e){return t(e)}},optional:function(t){var e=this.elementValue(t);return!u.validator.methods.required.call(this,e,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,this.pending[t.name]=!0)},stopRequest:function(t,e){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],e&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(u(this.currentForm).submit(),this.formSubmitted=!1):!e&&0===this.pendingRequest&&this.formSubmitted&&(u(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t){return u.data(t,"previousValue")||u.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,e){t.constructor===String?this.classRuleSettings[t]=e:u.extend(this.classRuleSettings,t)},classRules:function(t){var e={},t=u(t).attr("class");return t&&u.each(t.split(" "),function(){this in u.validator.classRuleSettings&&u.extend(e,u.validator.classRuleSettings[this])}),e},attributeRules:function(t){var e,i,s={},r=u(t),n=t.getAttribute("type");for(e in u.validator.methods)i="required"===e?(i=t.getAttribute(e),""===i&&(i=!0),!!i):r.attr(e),/min|max/.test(e)&&(null===n||/number|range|text/.test(n))&&(i=Number(i)),i||0===i?s[e]=i:n===e&&"range"!==n&&(s[e]=!0);return s.maxlength&&/-1|2147483647|524288/.test(s.maxlength)&&delete s.maxlength,s},dataRules:function(t){var e,i,s={},r=u(t);for(e in u.validator.methods)i=r.data("rule"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()),void 0!==i&&(s[e]=i);return s},staticRules:function(t){var e={},i=u.data(t.form,"validator");return e=i.settings.rules?u.validator.normalizeRule(i.settings.rules[t.name])||{}:e},normalizeRules:function(s,r){return u.each(s,function(t,e){if(!1===e)delete s[t];else if(e.param||e.depends){var i=!0;switch(typeof e.depends){case"string":i=!!u(e.depends,r.form).length;break;case"function":i=e.depends.call(r,r)}i?s[t]=void 0===e.param||e.param:delete s[t]}}),u.each(s,function(t,e){s[t]=u.isFunction(e)?e(r):e}),u.each(["minlength","maxlength"],function(){s[this]&&(s[this]=Number(s[this]))}),u.each(["rangelength","range"],function(){var t;s[this]&&(u.isArray(s[this])?s[this]=[Number(s[this][0]),Number(s[this][1])]:"string"==typeof s[this]&&(t=s[this].replace(/[\[\]]/g,"").split(/[\s,]+/),s[this]=[Number(t[0]),Number(t[1])]))}),u.validator.autoCreateRanges&&(null!=s.min&&null!=s.max&&(s.range=[s.min,s.max],delete s.min,delete s.max),null!=s.minlength)&&null!=s.maxlength&&(s.rangelength=[s.minlength,s.maxlength],delete s.minlength,delete s.maxlength),s},normalizeRule:function(t){var e;return"string"==typeof t&&(e={},u.each(t.split(/\s/),function(){e[this]=!0}),t=e),t},addMethod:function(t,e,i){u.validator.methods[t]=e,u.validator.messages[t]=void 0!==i?i:u.validator.messages[t],e.length<3&&u.validator.addClassRules(t,u.validator.normalizeRule(t))},methods:{required:function(t,e,i){return this.depend(i,e)?"select"===e.nodeName.toLowerCase()?(i=u(e).val())&&0<i.length:this.checkable(e)?0<this.getLength(t,e):0<u.trim(t).length:"dependency-mismatch"},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(new Date(t).toString())},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},creditcard:function(t,e){if(this.optional(e))return"dependency-mismatch";if(/[^0-9 \-]+/.test(t))return!1;var i,s,r=0,n=0,a=!1;if((t=t.replace(/\D/g,"")).length<13||19<t.length)return!1;for(i=t.length-1;0<=i;i--)s=t.charAt(i),n=parseInt(s,10),a&&9<(n*=2)&&(n-=9),r+=n,a=!a;return r%10==0},minlength:function(t,e,i){t=u.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||i<=t},maxlength:function(t,e,i){t=u.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||t<=i},rangelength:function(t,e,i){t=u.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||t>=i[0]&&t<=i[1]},min:function(t,e,i){return this.optional(e)||i<=t},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},equalTo:function(t,e,i){i=u(i);return this.settings.onfocusout&&i.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){u(e).valid()}),t===i.val()},remote:function(s,r,t){var n,e,a;return this.optional(r)?"dependency-mismatch":(a=this.previousValue(r),this.settings.messages[r.name]||(this.settings.messages[r.name]={}),a.originalMessage=this.settings.messages[r.name].remote,this.settings.messages[r.name].remote=a.message,t="string"==typeof t?{url:t}:t,a.old===s?a.valid:(a.old=s,(n=this).startRequest(r),(e={})[r.name]=s,u.ajax(u.extend(!0,{url:t,mode:"abort",port:"validate"+r.name,dataType:"json",data:e,context:n.currentForm,success:function(t){var e,i=!0===t||"true"===t;n.settings.messages[r.name].remote=a.originalMessage,i?(e=n.formSubmitted,n.prepareElement(r),n.formSubmitted=e,n.successList.push(r),delete n.invalid[r.name],n.showErrors()):(e={},t=t||n.defaultMessage(r,"remote"),e[r.name]=a.message=u.isFunction(t)?t(s):t,n.invalid[r.name]=!0,n.showErrors(e)),a.valid=i,n.stopRequest(r,i)}},t)),"pending"))}}}),u.format=function(){throw"$.format has been deprecated. Please use $.validator.format instead."};var i,r={};u.ajaxPrefilter?u.ajaxPrefilter(function(t,e,i){var s=t.port;"abort"===t.mode&&(r[s]&&r[s].abort(),r[s]=i)}):(i=u.ajax,u.ajax=function(t){var e=("mode"in t?t:u.ajaxSettings).mode,t=("port"in t?t:u.ajaxSettings).port;return"abort"===e?(r[t]&&r[t].abort(),r[t]=i.apply(this,arguments),r[t]):i.apply(this,arguments)}),u.extend(u.fn,{validateDelegate:function(e,t,i){return this.bind(t,function(t){t=u(t.target);return t.is(e)?i.apply(t,arguments):void 0})}})});;
(s=>{var a,d=s.validator,o="unobtrusiveValidation";function l(a,e,n){a.rules[e]=n,a.message&&(a.messages[e]=a.message)}function m(a){return a.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function n(a){return a.substr(0,a.lastIndexOf(".")+1)}function u(a,e){return a=0===a.indexOf("*.")?a.replace("*.",e):a}function p(){var a=s(this),e="__jquery_unobtrusive_validation_form_reset";if(!a.data(e)){a.data(e,!0);try{a.data("validator").resetForm()}finally{a.removeData(e)}a.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors"),a.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function v(n){function a(a,e){(a=i[a])&&s.isFunction(a)&&a.apply(n,e)}var e=s(n),t=e.data(o),r=s.proxy(p,n),i=d.unobtrusive.options||{};return t||(t={options:{errorClass:i.errorClass||"input-validation-error",errorElement:i.errorElement||"span",errorPlacement:function(){!function(a,e){var e=s(this).find("[data-valmsg-for='"+m(e[0].name)+"']"),n=(n=e.attr("data-valmsg-replace"))?!1!==s.parseJSON(n):null;e.removeClass("field-validation-valid").addClass("field-validation-error"),a.data("unobtrusiveContainer",e),n?(e.empty(),a.removeClass("input-validation-error").appendTo(e)):a.hide()}.apply(n,arguments),a("errorPlacement",arguments)},invalidHandler:function(){!function(a,e){var n=s(this).find("[data-valmsg-summary=true]"),t=n.find("ul");t&&t.length&&e.errorList.length&&(t.empty(),n.addClass("validation-summary-errors").removeClass("validation-summary-valid"),s.each(e.errorList,function(){s("<li />").html(this.message).appendTo(t)}))}.apply(n,arguments),a("invalidHandler",arguments)},messages:{},rules:{},success:function(){!function(a){var e=a.data("unobtrusiveContainer"),n=(n=e.attr("data-valmsg-replace"))?s.parseJSON(n):null;e&&(e.addClass("field-validation-valid").removeClass("field-validation-error"),a.removeData("unobtrusiveContainer"),n)&&e.empty()}.apply(n,arguments),a("success",arguments)}},attachValidation:function(){e.off("reset."+o,r).on("reset."+o,r).validate(this.options)},validate:function(){return e.validate(),e.valid()}},e.data(o,t)),t}d.unobtrusive={adapters:[],parseElement:function(t,a){var e,r,i,d=s(t),o=d.parents("form")[0];o&&((e=v(o)).options.rules[t.name]=r={},e.options.messages[t.name]=i={},s.each(this.adapters,function(){var a="data-val-"+this.name,e=d.attr(a),n={};void 0!==e&&(a+="-",s.each(this.params,function(){n[this]=d.attr(a+this)}),this.adapt({element:t,form:o,message:e,params:n,rules:r,messages:i}))}),s.extend(r,{__dummy__:!0}),a||e.attachValidation())},parse:function(a){var a=s(a),e=a.parents().addBack().filter("form").add(a.find("form")).has("[data-val=true]");a.find("[data-val=true]").each(function(){d.unobtrusive.parseElement(this,!0)}),e.each(function(){var a=v(this);a&&a.attachValidation()})}},(a=d.unobtrusive.adapters).add=function(a,e,n){return n||(n=e,e=[]),this.push({name:a,params:e,adapt:n}),this},a.addBool=function(e,n){return this.add(e,function(a){l(a,n||e,!0)})},a.addMinMax=function(a,t,r,i,e,n){return this.add(a,[e||"min",n||"max"],function(a){var e=a.params.min,n=a.params.max;e&&n?l(a,i,[e,n]):e?l(a,t,e):n&&l(a,r,n)})},a.addSingleVal=function(e,n,t){return this.add(e,[n||"val"],function(a){l(a,t||e,a.params[n])})},d.addMethod("__dummy__",function(){return!0}),d.addMethod("regex",function(a,e,n){return!!this.optional(e)||(e=new RegExp(n).exec(a))&&0===e.index&&e[0].length===a.length}),d.addMethod("nonalphamin",function(a,e,n){var t;return t=n?(t=a.match(/\W/g))&&t.length>=n:t}),d.methods.extension?(a.addSingleVal("accept","mimtype"),a.addSingleVal("extension","extension")):a.addSingleVal("extension","extension","accept"),a.addSingleVal("regex","pattern"),a.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),a.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),a.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),a.add("equalto",["other"],function(a){var e=n(a.element.name),e=u(a.params.other,e);l(a,"equalTo",s(a.form).find(":input").filter("[name='"+m(e)+"']")[0])}),a.add("required",function(a){"INPUT"===a.element.tagName.toUpperCase()&&"CHECKBOX"===a.element.type.toUpperCase()||l(a,"required",!0)}),a.add("remote",["url","type","additionalfields"],function(t){var r={url:t.params.url,type:t.params.type||"GET",data:{}},i=n(t.element.name);s.each((t.params.additionalfields||t.element.name).replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g),function(a,e){var n=u(e,i);r.data[n]=function(){var a=s(t.form).find(":input").filter("[name='"+m(n)+"']");return a.is(":checkbox")?a.filter(":checked").val()||a.filter(":hidden").val()||"":a.is(":radio")?a.filter(":checked").val()||"":a.val()}}),l(t,"remote",r)}),a.add("password",["min","nonalphamin","regex"],function(a){a.params.min&&l(a,"minlength",a.params.min),a.params.nonalphamin&&l(a,"nonalphamin",a.params.nonalphamin),a.params.regex&&l(a,"regex",a.params.regex)}),s(function(){d.unobtrusive.parse(document)})})(jQuery);;
(o=>{var n="unobtrusiveAjaxClick",i="unobtrusiveAjaxClickTarget";function d(t,a){for(var e=window,r=(t||"").split(".");e&&r.length;)e=e[r.shift()];return"function"==typeof e?e:(a.push(t),Function.constructor.apply(null,a))}function c(t){return"GET"===t||"POST"===t}function r(u,t){var e,r,n,a=u.getAttribute("data-ajax-confirm");a&&!window.confirm(a)||(e=o(u.getAttribute("data-ajax-loading")),n=parseInt(u.getAttribute("data-ajax-loading-duration"),10)||0,o.extend(t,{type:u.getAttribute("data-ajax-method")||void 0,url:u.getAttribute("data-ajax-url")||void 0,cache:!!u.getAttribute("data-ajax-cache"),beforeSend:function(t){var a;return t=t,c(a=r)||t.setRequestHeader("X-HTTP-Method-Override",a),!1!==(t=d(u.getAttribute("data-ajax-begin"),["xhr"]).apply(u,arguments))&&e.show(n),t},complete:function(){e.hide(n),d(u.getAttribute("data-ajax-complete"),["xhr","status"]).apply(u,arguments)},success:function(t,a,e){var r,n,i;r=u,n=t,-1===(e.getResponseHeader("Content-Type")||"text/html").indexOf("application/x-javascript")&&(i=(r.getAttribute("data-ajax-mode")||"").toUpperCase(),o(r.getAttribute("data-ajax-update")).each(function(t,a){var e;switch(i){case"BEFORE":e=a.firstChild,o("<div />").html(n).contents().each(function(){a.insertBefore(this,e)});break;case"AFTER":o("<div />").html(n).contents().each(function(){a.appendChild(this)});break;case"REPLACE-WITH":o(a).replaceWith(n);break;default:o(a).html(n)}})),d(u.getAttribute("data-ajax-success"),["data","status","xhr"]).apply(u,arguments)},error:function(){d(u.getAttribute("data-ajax-failure"),["xhr","status","error"]).apply(u,arguments)}}),t.data.push({name:"X-Requested-With",value:"XMLHttpRequest"}),c(r=t.type.toUpperCase())||(t.type="POST",t.data.push({name:"X-HTTP-Method-Override",value:r})),o.ajax(t))}o(document).on("click","a[data-ajax=true]",function(t){t.preventDefault(),r(this,{url:this.href,type:"GET",data:[]})}),o(document).on("click","form[data-ajax=true] input[type=image]",function(t){var a=t.target.name,e=o(t.target),r=o(e.parents("form")[0]),e=e.offset();r.data(n,[{name:a+".x",value:Math.round(t.pageX-e.left)},{name:a+".y",value:Math.round(t.pageY-e.top)}]),setTimeout(function(){r.removeData(n)},0)}),o(document).on("click","form[data-ajax=true] :submit",function(t){var a=t.currentTarget.name,e=o(t.target),r=o(e.parents("form")[0]);r.data(n,a?[{name:a,value:t.currentTarget.value}]:[]),r.data(i,e),setTimeout(function(){r.removeData(n),r.removeData(i)},0)}),o(document).on("submit","form[data-ajax=true]",function(t){var a=o(this).data(n)||[],e=o(this).data(i),e=e&&e.hasClass("cancel");t.preventDefault(),!e&&(t=o(t=this).data("unobtrusiveValidation"))&&t.validate&&!t.validate()||r(this,{url:this.action,type:this.method||"GET",data:a.concat(o(this).serializeArray())})})})(jQuery);;
(C=>{C.fn.extend({ItemSliderTA:function(e,i,s){s=jQuery.extend({padding:0,numberOfLines:1,itemsPerLine:2,itemsPerPage:10,nextButtonSelector:"",previewButtonSelector:"",slideValue:1,slideLoop:!1,frameClass:null},s);var n=this,l=n.children().length,a=function(t){this.$Object.width(t)},r=function(t){this.$Object.height(t)};function t(){this.$Object=C("<div />"),null!=s.frameClass&&"string"==C.type(s.frameClass)&&this.$Object.addClass(s.frameClass),this.Width=(e+s.padding)*s.itemsPerLine-s.padding,this.Height=i*s.numberOfLines,this.Slider=new c,this.SetWidth=a,this.SetHeight=r,this.Slider.$Object.appendTo(this.$Object),this.SetWidth(this.Width),this.SetHeight(this.Height),this.$Object.attr({class:"gallery-container"})}function o(t,e,i,n){this.$Object=t,this.SlideDirection=i,this.SlideSteps=n,this.$Object.click(function(){e.Slide(i,n)}),l<=s.itemsPerPage&&this.$Object.hide()}function c(){Math.floor(s.itemsPerLine/2);this.$Object=C("<div></div>"),this.SliderColumnList=(()=>{var t=new Array;numberofcolumns=Math.floor(l/s.numberOfLines)+(0<l%s.numberOfLines?1:0);for(var e=0;e<numberofcolumns;e++){var i=new u(e);t.push(i)}return t})(),this.SliderPageList=(t=>{var e=new Array;numberofpages=Math.floor(l/s.itemsPerPage)+(0<l%s.itemsPerPage?1:0);for(var i=0;i<numberofpages;i++){var n=new h(i);e.push(n),n.$Object.appendTo(t.$Object)}return e})(this),this.SliderItemList=(t=>{if(null==s.itemsPerPage)for(var e=0,i=0;i<l;i++)new d(i).$Object.appendTo(t.SliderColumnList[e].$Object),(i+1)%s.numberOfLines==0&&e++;else for(var n=0,a=0,i=0;i<l;i++)new p(i).$Object.appendTo(t.SliderPageList[n].$Object),++a>=s.itemsPerPage&&(n++,a=0)})(this),this.Width=this.SliderPageList.length*(e+s.padding)*s.itemsPerLine+20,this.Height=s.numberOfLines*i,this.PageWidth=s.slideValue*(e+s.padding),this.Pages=Math.floor(this.SliderColumnList.length/s.slideValue)+(this.SliderColumnList.length%s.slideValue!=0?1:0),this.CurrentPage=1,this.Position=0,this.MaxPosition=1<s.slideValue?(this.Pages-1)*this.PageWidth*-1:(this.SliderColumnList.length-s.itemsPerLine)*(e+s.padding)*-1,this.SliderButtonNext=null!=s.nextButtonSelector&&""!=s.nextButtonSelector?new o(C(s.nextButtonSelector),this,!0,s.slideValue):null,this.SliderButtonPrevious=null!=s.previewButtonSelector&&""!=s.previewButtonSelector?new o(C(s.previewButtonSelector),this,!1,s.slideValue):null,this.SetWidth=a,this.SetHeight=r,this.Slide=function(t,e){this.Position=t?this.Position-this.PageWidth:this.Position+this.PageWidth,s.slideLoop?this.Position=0<this.Position?this.MaxPosition:this.Position<this.MaxPosition?0:this.Position:this.Position=0<this.Position?0:this.Position<this.MaxPosition?this.MaxPosition:this.Position,this.$Object.animate({marginLeft:this.Position+"px"},"slow")},this.BuildPaging=null,this.SetHeight(this.Height),this.SetWidth(this.Width),this.$Object.attr({class:"array"})}function u(t){this.$Object=C('<div class="column"></div>').attr("sliderColumnIndex",t),this.Index=t,this.Width=e,this.Height=i*s.numberOfLines,this.SetWidth=a,this.SetHeight=r,this.SetHeight(this.Height),this.SetWidth(this.Width)}function h(t){this.$Object=C("<div></div>").attr({class:"paging",sliderPageIndex:t}).css({width:e*s.itemsPerLine,margin:"0"}),this.Index=t}function d(t){this.$Object=C("<div></div>").attr("sliderColumnItem",t),this.Width=e+s.padding,this.Height=i,this.SetWidth=a,this.SetHeight=r,this.SetWidth(this.Width),this.SetHeight(this.Height),-1!=t&&this.$Object.html(n.children("div:eq("+t+")").html())}function p(t){this.$Object=C('<div class="column"></div>').attr("sliderPageItem",t),this.Width=e+s.padding,this.Height=i,this.SetWidth=a,this.SetHeight=r,this.SetWidth(this.Width),this.SetHeight(this.Height),-1!=t&&this.$Object.html(n.children("div:eq("+t+")").html())}var g=C.ItemSliderTA=jQuery.extend({_init:function(){(new t).$Object.insertAfter(n),n.remove()}});return n.each(g._init)},PictureGallery:function(s){s=jQuery.extend({resizePictureToFitCanvas:!0,setMaxWidth:!1,dialogCssClass:null,dialogDraggable:!0,pictureCanvasWidth:null,pictureCanvasHeight:null,tileSize:50,pagingStringPattern:"Picture {0} of {1}",enableNavigationButtons:!0,previousButtonHtml:null,nextButtonHtml:null,pictureCanvasCssClass:null,titleCssClass:null,descriptionCssClass:null,tilesCssClass:null,tileCssClass:null,activeTileCssClass:null,pagerCssClass:null},s),(ValidateSettings=function(){s.pictureCanvasWidth="number"!=C.type(s.pictureCanvasWidth)?"100%":Math.floor(s.pictureCanvasWidth),s.pictureCanvasHeight="number"!=C.type(s.pictureCanvasHeight)?"100%":Math.floor(s.pictureCanvasHeight),s.enableNavigationButtons="boolean"==C.type(s.enableNavigationButtons)&&s.enableNavigationButtons})();var t=this;return C.PictureGallery={Classes:{Base:function(){},Containers:{PopUpWindow:function(){var e=this;e.$Object=C("<div />").addClass("jQueryPictureGalleryPopUpWindow"),e.Dialog=null,e.SetDialog=function(){return e.Dialog=e.$Object.appendTo("body").dialog({autoOpen:!1,modal:!0,resizable:!1,dialogClass:s.dialogCssClass,draggable:s.dialogDraggable,width:"auto",height:"auto",close:function(){C(e.Selector).unbind("keydown")}}),e},e.Build=function(){return C.map(arguments,function(t){e.$Object.append(t)}),e},e.Open=function(){return e.Dialog.dialog("open"),e},e.Close=function(){return e.Dialog.dialog("close"),e},e.IsOpen=function(){return e.Dialog.dialog("isOpen"),e},e.Center=function(){return e.Dialog.dialog("option","position","center"),e},e.Clear=function(){return e.$Object.children().detach(),e},e.Selector=function(){return e.Dialog.dialog("widget"),e}},Picture:function(){var i=this;i.$Object=C("<div />").addClass("jQueryPictureGalleryPicture").addClass(s.pictureCanvasCssClass),s.setMaxWidth||i.$Object.css({width:s.pictureCanvasWidth,height:s.pictureCanvasHeight,"max-width":s.pictureCanvasWidth,"max-height":s.pictureCanvasHeight}),i.$Object.css({width:s.pictureCanvasWidth,height:s.pictureCanvasHeight,"max-width":s.pictureCanvasWidth,"max-height":s.pictureCanvasHeight}),i.$InnerImage=null,i.ResizeInnerImage=function(){i.$InnerImage.css({"min-width":"auto","min-height":"auto"}),s.resizePictureToFitCanvas&&i.$InnerImage.css({"max-width":C(window).width()-200+"px","max-height":C(window).height()-200+"px"})},i.Update=function(t,e){i.$InnerImage=t.clone().click(e).attr({src:t.data("FullSizeUrl"),title:t.data("Title"),alt:t.data("Description")}),s.setMaxWidth||i.$InnerImage.css({"max-width":"100%","max-height":"100%"}),i.$InnerImage.appendTo(i.$Object.empty())},i.Load=function(e){/chrome/.test(navigator.userAgent.toLowerCase())||i.ResizeInnerImage(),i.$InnerImage.load(function(t){i.ResizeInnerImage(),null!=e&&e()})}},Title:function(){var e=this;e.$Object=C("<div />").addClass("jQueryPictureGalleryTitle").addClass(s.titleCssClass),s.setMaxWidth||e.$Object.css({width:"number"!=C.type(s.pictureCanvasWidth)?900:s.pictureCanvasWidth,"max-width":"number"!=C.type(s.pictureCanvasWidth)?900:s.pictureCanvasWidth}),e.Update=function(t){e.$Object.empty().html(t)}},Description:function(){var e=this;e.$Object=C("<div />").addClass("jQueryPictureGalleryDescription").addClass(s.descriptionCssClass),s.setMaxWidth||e.$Object.css({width:"number"!=C.type(s.pictureCanvasWidth)?900:s.pictureCanvasWidth,"max-width":"number"!=C.type(s.pictureCanvasWidth)?900:s.pictureCanvasWidth}),e.Update=function(t){e.$Object.empty().html(t)}},Tile:function(){var i=this;return i.$Object=C("<div />").addClass("jQueryPictureGalleryTile").width(s.tileSize).height(s.tileSize).css({"max-width":s.tileSize,"max-height":s.tileSize}).addClass(s.tileCssClass),i.Update=function(t,e){return i.$Object.empty().append(t.clone(!1).attr({src:t.data("ThumbnailUrl"),title:t.data("Title"),alt:t.data("Description")}).css({"max-width":"100%","max-height":"100%"})).click(e),i.$Object.empty().append(t.clone(!1).click(e).attr({src:t.data("ThumbnailUrl"),title:t.data("Title"),alt:t.data("Description")}).css({"max-width":"100%","max-height":"100%"})),i},i.Activate=function(){i.$Object.addClass(s.activeTileCssClass)},i.DeActivate=function(){i.$Object.removeClass(s.activeTileCssClass)},i},Tiles:function(){var e=this;return e.$Object=C("<div />").addClass("jQueryPictureGalleryTiles").addClass(s.tilesCssClass),s.setMaxWidth||e.$Object.css({width:"number"!=C.type(s.pictureCanvasWidth)?900:s.pictureCanvasWidth,"max-width":"number"!=C.type(s.pictureCanvasWidth)?900:s.pictureCanvasWidth}),e.Update=function(t){return e.$Object.children().detach(),C.map(t,function(t){e.$Object.append(t.$Object)}),e},e},Pager:function(){var n=this;n.$Object=C("<div />").addClass("jQueryPictureGalleryPager").addClass(s.pagerCssClass),s.setMaxWidth||n.$Object.css({width:"number"!=C.type(s.pictureCanvasWidth)?900:s.pictureCanvasWidth,"max-width":"number"!=C.type(s.pictureCanvasWidth)?900:s.pictureCanvasWidth}),n.Update=function(t,e,i){t=C.PictureGallery.Methods.StringFormat(t,e.toString(),i.toString());n.$Object.html(t)}},NavigationButton:function(){var n=this;n.$Object=s.enableNavigationButtons?C("<div />").addClass("jQueryPictureGalleryNavigationButton"):null,n.Update=function(t,e,i){s.enableNavigationButtons&&n.$Object.addClass(t).unbind("click.picturegallery").bind("click.picturegallery",function(t){t.preventDefault(),e()}).empty().html(i)}}},Gallery:function(){var a=this;return a.CurrentPictureIndex=0,a.ImageCollection=null,(a.SetImageCollection=function(){a.ImageCollection=new Array,t.each(function(t){var e=C(this),i=e.clone(!0),n=e.attr("src").split("#"),t={Index:t,ThumbnailUrl:n[0],FullSizeUrl:1<n.length?n[1]:n[0],Title:e.attr("title"),Description:e.attr("alt")};a.ImageCollection.push(i.data(t))})})(),a.TileCollection=null,(a.SetTileCollection=function(){a.TileCollection=new Array,C.map(a.ImageCollection,function(t){a.TileCollection.push((new C.PictureGallery.Classes.Containers.Tile).Update(t,function(){a.GoToPicture(t.data("Index"))}))})})(),a.Picture=new C.PictureGallery.Classes.Containers.Picture,a.Title=new C.PictureGallery.Classes.Containers.Title,a.Description=new C.PictureGallery.Classes.Containers.Description,a.Pager=new C.PictureGallery.Classes.Containers.Pager,a.Tiles=(new C.PictureGallery.Classes.Containers.Tiles).Update(a.TileCollection),a.PopUpWindow=new C.PictureGallery.Classes.Containers.PopUpWindow,a.PreviousButton=new C.PictureGallery.Classes.Containers.NavigationButton,a.NextButton=new C.PictureGallery.Classes.Containers.NavigationButton,a.ActivateTile=function(i){C.map(a.TileCollection,function(t,e){e!=i?t.DeActivate():t.Activate()})},a.BindKeys=function(){C(a.PopUpWindow.Selector).keydown(function(t){37==t.which&&(t.preventDefault(),a.GoToPicture(a.CurrentPictureIndex-1)),39==t.which&&(t.preventDefault(),a.GoToPicture(a.CurrentPictureIndex+1))})},a.PictureLoadCallback=function(){a.PopUpWindow.Center()},a.GoToPicture=function(t){(t=t>=a.ImageCollection.length?0:t)<0&&(t=a.ImageCollection.length-1),a.CurrentPictureIndex=t,a.PopUpWindow.Clear().Open(),a.ActivateTile(t),a.Picture.Update(a.ImageCollection[t],function(){a.GoToPicture(t+1)}),a.Title.Update(a.ImageCollection[t].data("Title")),a.Description.Update(a.ImageCollection[t].data("Description")),a.Pager.Update(s.pagingStringPattern,t+1,a.ImageCollection.length),a.PreviousButton.Update("previous",function(){a.GoToPicture(t-1)},s.previousButtonHtml),a.NextButton.Update("next",function(){a.GoToPicture(t+1)},s.nextButtonHtml),a.PopUpWindow.Build(a.NextButton.$Object,a.PreviousButton.$Object,a.Picture.$Object,a.Title.$Object,a.Description.$Object,a.Pager.$Object,a.Tiles.$Object),a.Picture.Load(a.PictureLoadCallback)},a.Init=function(){return t.each(function(e){s.clickOnContainer?C(this).parent().click(function(t){t.preventDefault(),a.GoToPicture(e),a.BindKeys()}):C(this).click(function(t){t.preventDefault(),a.GoToPicture(e),a.BindKeys()})}),a.PopUpWindow.Build(a.Picture.$Object,a.Title.$Object,a.Description.$Object,a.Pager.$Object,a.Tiles.$Object).SetDialog(),a},a}},Methods:{StringFormat:function(t){var e=new RegExp("{-?[0-9]+}","g"),i=arguments;return t.replace(e,function(t){t=parseInt(t.substring(1,t.length-1)),t=0<=t?i[t+1]:-1===t?"{":-2===t?"}":"";return t})}}},(new C.PictureGallery.Classes.Gallery).Init()}})})(jQuery);;
((i,n,E,p)=>{function h(e){return e&&e.hasOwnProperty&&e instanceof E}function R(e){return f(e)&&0<e.indexOf("%")}function j(e,t){var i=parseInt(e,10)||0;return t&&R(e)&&(i=H.getViewport()[t]/100*i),Math.ceil(i)}function P(e,t){return j(e,t)+"px"}var o=E("html"),a=E(i),c=E(n),H=E.fancybox=function(){H.open.apply(this,arguments)},r=navigator.userAgent.match(/msie/i),s=null,d=n.createTouch!==p,f=function(e){return e&&"string"===E.type(e)};E.extend(H,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!d,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(r?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:E.noop,beforeLoad:E.noop,afterLoad:E.noop,beforeShow:E.noop,afterShow:E.noop,beforeChange:E.noop,beforeClose:E.noop,afterClose:E.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(c,d){if(c&&(E.isPlainObject(d)||(d={}),!1!==H.close(!0)))return E.isArray(c)||(c=h(c)?E(c).get():[c]),E.each(c,function(e,t){var i,n,o,a,r,s,l={};"object"===E.type(t)&&(t.nodeType&&(t=E(t)),h(t)?(l={href:t.data("fancybox-href")||t.attr("href"),title:t.data("fancybox-title")||t.attr("title"),isDom:!0,element:t},E.metadata&&E.extend(!0,l,t.metadata())):l=t),i=d.href||l.href||(f(t)?t:null),n=d.title!==p?d.title:l.title||"",!(a=(o=d.content||l.content)?"html":d.type||l.type)&&l.isDom&&(a=(a=t.data("fancybox-type"))||((r=t.prop("class").match(/fancybox\.(\w+)/))?r[1]:null)),f(i)&&(a||(H.isImage(i)?a="image":H.isSWF(i)?a="swf":"#"===i.charAt(0)?a="inline":f(t)&&(a="html",o=t)),"ajax"===a)&&(i=(r=i.split(/\s+/,2)).shift(),s=r.shift()),o||("inline"===a?i?o=E(f(i)?i.replace(/.*(?=#[^\s]+$)/,""):i):l.isDom&&(o=t):"html"===a?o=i:a||i||!l.isDom||(a="inline",o=t)),E.extend(l,{href:i,type:a,content:o,title:n,selector:s}),c[e]=l}),H.opts=E.extend(!0,{},H.defaults,d),d.keys!==p&&(H.opts.keys=!!d.keys&&E.extend({},H.defaults.keys,d.keys)),H.group=c,H._start(H.opts.index)},cancel:function(){var e=H.coming;e&&!1!==H.trigger("onCancel")&&(H.hideLoading(),H.ajaxLoad&&H.ajaxLoad.abort(),H.ajaxLoad=null,H.imgPreload&&(H.imgPreload.onload=H.imgPreload.onerror=null),e.wrap&&e.wrap.stop(!0,!0).trigger("onReset").remove(),H.coming=null,H.current||H._afterZoomOut(e))},close:function(e){H.cancel(),!1!==H.trigger("beforeClose")&&(H.unbindEvents(),H.isActive)&&(H.isOpen&&!0!==e?(H.isOpen=H.isOpened=!1,H.isClosing=!0,E(".fancybox-item, .fancybox-nav").remove(),H.wrap.stop(!0,!0).removeClass("fancybox-opened"),H.transitions[H.current.closeMethod]()):(E(".fancybox-wrap").stop(!0).trigger("onReset").remove(),H._afterZoomOut()))},play:function(e){function t(){n(),H.current&&H.player.isActive&&(H.player.timer=setTimeout(H.next,H.current.playSpeed))}function i(){n(),c.unbind(".player"),H.player.isActive=!1,H.trigger("onPlayEnd")}var n=function(){clearTimeout(H.player.timer)};!0===e||!H.player.isActive&&!1!==e?H.current&&(H.current.loop||H.current.index<H.group.length-1)&&(H.player.isActive=!0,c.bind({"onCancel.player beforeClose.player":i,"onUpdate.player":t,"beforeLoad.player":n}),t(),H.trigger("onPlayStart")):i()},next:function(e){var t=H.current;t&&(f(e)||(e=t.direction.next),H.jumpto(t.index+1,e,"next"))},prev:function(e){var t=H.current;t&&(f(e)||(e=t.direction.prev),H.jumpto(t.index-1,e,"prev"))},jumpto:function(e,t,i){var n=H.current;n&&(e=j(e),H.direction=t||n.direction[e>=n.index?"next":"prev"],H.router=i||"jumpto",n.loop&&(e<0&&(e=n.group.length+e%n.group.length),e%=n.group.length),n.group[e]!==p)&&(H.cancel(),H._start(e))},reposition:function(e,t){var i=H.current,n=i?i.wrap:null;n&&(t=H._getPosition(t),e&&"scroll"===e.type?(delete t.position,n.stop(!0,!0).animate(t,200)):(n.css(t),i.pos=E.extend({},i.dim,t)))},update:function(t){var i=t&&t.type,n=!i||"orientationchange"===i;n&&(clearTimeout(s),s=null),H.isOpen&&(s=s||setTimeout(function(){var e=H.current;e&&!H.isClosing&&(H.wrap.removeClass("fancybox-tmp"),(n||"load"===i||"resize"===i&&e.autoResize)&&H._setDimension(),"scroll"===i&&e.canShrink||H.reposition(t),H.trigger("onUpdate"),s=null)},n&&!d?0:300))},toggle:function(e){H.isOpen&&(H.current.fitToView="boolean"===E.type(e)?e:!H.current.fitToView,d&&(H.wrap.removeAttr("style").addClass("fancybox-tmp"),H.trigger("onUpdate")),H.update())},hideLoading:function(){c.unbind(".loading"),E("#fancybox-loading").remove()},showLoading:function(){var e,t;H.hideLoading(),e=E('<div id="fancybox-loading"><div></div></div>').click(H.cancel).appendTo("body"),c.bind("keydown.loading",function(e){27===(e.which||e.keyCode)&&(e.preventDefault(),H.cancel())}),H.defaults.fixed||(t=H.getViewport(),e.css({position:"absolute",top:.5*t.h+t.y,left:.5*t.w+t.x}))},getViewport:function(){var e=H.current&&H.current.locked||!1,t={x:a.scrollLeft(),y:a.scrollTop()};return e?(t.w=e[0].clientWidth,t.h=e[0].clientHeight):(t.w=d&&i.innerWidth?i.innerWidth:a.width(),t.h=d&&i.innerHeight?i.innerHeight:a.height()),t},unbindEvents:function(){H.wrap&&h(H.wrap)&&H.wrap.unbind(".fb"),c.unbind(".fb"),a.unbind(".fb")},bindEvents:function(){var t,l=H.current;l&&(a.bind("orientationchange.fb"+(d?"":" resize.fb")+(l.autoCenter&&!l.locked?" scroll.fb":""),H.update),(t=l.keys)&&c.bind("keydown.fb",function(i){var n=i.which||i.keyCode,e=i.target||i.srcElement;if(27===n&&H.coming)return!1;i.ctrlKey||i.altKey||i.shiftKey||i.metaKey||e&&(e.type||E(e).is("[contenteditable]"))||E.each(t,function(e,t){return 1<l.group.length&&t[n]!==p?(H[e](t[n]),i.preventDefault(),!1):-1<E.inArray(n,t)?(H[e](),i.preventDefault(),!1):void 0})}),E.fn.mousewheel)&&l.mouseWheel&&H.wrap.bind("mousewheel.fb",function(e,t,i,n){for(var o,a=e.target||null,r=E(a),s=!1;r.length&&!(s||r.is(".fancybox-skin")||r.is(".fancybox-wrap"));)s=(o=r[0])&&!(o.style.overflow&&"hidden"===o.style.overflow)&&(o.clientWidth&&o.scrollWidth>o.clientWidth||o.clientHeight&&o.scrollHeight>o.clientHeight),r=E(r).parent();0===t||s||1<H.group.length&&!l.canShrink&&(0<n||0<i?H.prev(0<n?"down":"left"):(n<0||i<0)&&H.next(n<0?"up":"right"),e.preventDefault())})},trigger:function(i,e){var t,n=e||H.coming||H.current;if(n){if(!1===(t=E.isFunction(n[i])?n[i].apply(n,Array.prototype.slice.call(arguments,1)):t))return!1;n.helpers&&E.each(n.helpers,function(e,t){t&&H.helpers[e]&&E.isFunction(H.helpers[e][i])&&H.helpers[e][i](E.extend(!0,{},H.helpers[e].defaults,t),n)}),c.trigger(i)}},isImage:function(e){return f(e)&&e.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(e){return f(e)&&e.match(/\.(swf)((\?|#).*)?$/i)},_start:function(e){var t,i,n={};if(e=j(e),!(t=H.group[e]||null))return!1;if(t=(n=E.extend(!0,{},H.opts,t)).margin,i=n.padding,"number"===E.type(t)&&(n.margin=[t,t,t,t]),"number"===E.type(i)&&(n.padding=[i,i,i,i]),n.modal&&E.extend(!0,n,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),n.autoSize&&(n.autoWidth=n.autoHeight=!0),"auto"===n.width&&(n.autoWidth=!0),"auto"===n.height&&(n.autoHeight=!0),n.group=H.group,n.index=e,H.coming=n,!1===H.trigger("beforeLoad"))H.coming=null;else{if(t=n.type,i=n.href,!t)return H.coming=null,!(!H.current||!H.router||"jumpto"===H.router)&&(H.current.index=e,H[H.router](H.direction));if(H.isActive=!0,"image"!==t&&"swf"!==t||(n.autoHeight=n.autoWidth=!1,n.scrolling="visible"),"image"===t&&(n.aspectRatio=!0),"iframe"===t&&d&&(n.scrolling="scroll"),n.wrap=E(n.tpl.wrap).addClass("fancybox-"+(d?"mobile":"desktop")+" fancybox-type-"+t+" fancybox-tmp "+n.wrapCSS).appendTo(n.parent||"body"),E.extend(n,{skin:E(".fancybox-skin",n.wrap),outer:E(".fancybox-outer",n.wrap),inner:E(".fancybox-inner",n.wrap)}),E.each(["Top","Right","Bottom","Left"],function(e,t){n.skin.css("padding"+t,P(n.padding[e]))}),H.trigger("onReady"),"inline"===t||"html"===t){if(!n.content||!n.content.length)return H._error("content")}else if(!i)return H._error("href");"image"===t?H._loadImage():"ajax"===t?H._loadAjax():"iframe"===t?H._loadIframe():H._afterLoad()}},_error:function(e){E.extend(H.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:e,content:H.coming.tpl.error}),H._afterLoad()},_loadImage:function(){var e=H.imgPreload=new Image;e.onload=function(){this.onload=this.onerror=null,H.coming.width=this.width/H.opts.pixelRatio,H.coming.height=this.height/H.opts.pixelRatio,H._afterLoad()},e.onerror=function(){this.onload=this.onerror=null,H._error("image")},e.src=H.coming.href,!0!==e.complete&&H.showLoading()},_loadAjax:function(){var i=H.coming;H.showLoading(),H.ajaxLoad=E.ajax(E.extend({},i.ajax,{url:i.href,error:function(e,t){H.coming&&"abort"!==t?H._error("ajax",e):H.hideLoading()},success:function(e,t){"success"===t&&(i.content=e,H._afterLoad())}}))},_loadIframe:function(){var e=H.coming,t=E(e.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",d?"auto":e.iframe.scrolling).attr("src",e.href);E(e.wrap).bind("onReset",function(){try{E(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(e){}}),e.iframe.preload&&(H.showLoading(),t.one("load",function(){E(this).data("ready",1),d||E(this).bind("load.fb",H.update),E(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),H._afterLoad()})),e.content=t.appendTo(e.inner),e.iframe.preload||H._afterLoad()},_preloadImages:function(){for(var e,t=H.group,i=H.current,n=t.length,o=i.preload?Math.min(i.preload,n-1):0,a=1;a<=o;a+=1)"image"===(e=t[(i.index+a)%n]).type&&e.href&&((new Image).src=e.href)},_afterLoad:function(){var e,i,t,n,o,a=H.coming,r=H.current,s="fancybox-placeholder";if(H.hideLoading(),a&&!1!==H.isActive)if(!1===H.trigger("afterLoad",a,r))a.wrap.stop(!0).trigger("onReset").remove(),H.coming=null;else{switch(r&&(H.trigger("beforeChange",r),r.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),H.unbindEvents(),i=(e=a).content,t=a.type,a=a.scrolling,E.extend(H,{wrap:e.wrap,skin:e.skin,outer:e.outer,inner:e.inner,current:e,previous:r}),n=e.href,t){case"inline":case"ajax":case"html":e.selector?i=E("<div>").html(i).find(e.selector):h(i)&&(i.data(s)||i.data(s,E('<div class="'+s+'"></div>').insertAfter(i).hide()),i=i.show().detach(),e.wrap.bind("onReset",function(){E(this).find(i).length&&i.hide().replaceAll(i.data(s)).data(s,!1)}));break;case"image":i=e.tpl.image.replace("{href}",n);break;case"swf":i='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+n+'"></param>',o="",E.each(e.swf,function(e,t){i+='<param name="'+e+'" value="'+t+'"></param>',o+=" "+e+'="'+t+'"'}),i+='<embed src="'+n+'" type="application/x-shockwave-flash" width="100%" height="100%"'+o+"></embed></object>"}h(i)&&i.parent().is(e.inner)||e.inner.append(i),H.trigger("beforeShow"),e.inner.css("overflow","yes"===a?"scroll":"no"===a?"hidden":a),H._setDimension(),H.reposition(),H.isOpen=!1,H.coming=null,H.bindEvents(),H.isOpened?r.prevMethod&&H.transitions[r.prevMethod]():E(".fancybox-wrap").not(e.wrap).stop(!0).trigger("onReset").remove(),H.transitions[H.isOpened?e.nextMethod:e.openMethod](),H._preloadImages()}},_setDimension:function(){var e,t,i,n,o,a,r,s,l,c,d,p,h,f,u=H.getViewport(),g=0,m=H.wrap,y=H.skin,x=H.inner,v=H.current,w=v.width,b=v.height,k=v.minWidth,C=v.minHeight,O=v.maxWidth,W=v.maxHeight,_=v.scrolling,S=v.scrollOutside?v.scrollbarWidth:0,T=v.margin,L=j(T[1]+T[3]),T=j(T[0]+T[2]);if(m.add(y).add(x).width("auto").height("auto").removeClass("fancybox-tmp"),i=L+(e=j(y.outerWidth(!0)-y.width())),n=T+(t=j(y.outerHeight(!0)-y.height())),o=R(w)?(u.w-i)*j(w)/100:w,a=R(b)?(u.h-n)*j(b)/100:b,"iframe"===v.type){if(h=v.content,v.autoHeight&&1===h.data("ready"))try{h[0].contentWindow.document.location&&(x.width(o).height(9999),f=h.contents().find("body"),S&&f.css("overflow-x","hidden"),a=f.outerHeight(!0))}catch(e){}}else(v.autoWidth||v.autoHeight)&&(x.addClass("fancybox-tmp"),v.autoWidth||x.width(o),v.autoHeight||x.height(a),v.autoWidth&&(o=x.width()),v.autoHeight&&(a=x.height()),x.removeClass("fancybox-tmp"));if(w=j(o),b=j(a),s=o/a,k=j(R(k)?j(k,"w")-i:k),O=j(R(O)?j(O,"w")-i:O),C=j(R(C)?j(C,"h")-n:C),f=O,r=W=j(R(W)?j(W,"h")-n:W),v.fitToView&&(O=Math.min(u.w-i,O),W=Math.min(u.h-n,W)),d=u.w-L,p=u.h-T,v.aspectRatio?(b=(w=W<(b=O<w?j((w=O)/s):b)?j((b=W)*s):w)<k?j((w=k)/s):b)<C&&(w=j((b=C)*s)):(w=Math.max(k,Math.min(w,O)),v.autoHeight&&"iframe"!==v.type&&(x.width(w),b=x.height()),b=Math.max(C,Math.min(b,W))),v.fitToView)if(x.width(w).height(b),m.width(w+e),l=m.width(),c=m.height(),v.aspectRatio)for(;(d<l||p<c)&&k<w&&C<b&&!(19<g++);)b=Math.max(C,Math.min(W,b-10)),(w=j(b*s))<k&&(b=j((w=k)/s)),O<w&&(b=j((w=O)/s)),x.width(w).height(b),m.width(w+e),l=m.width(),c=m.height();else w=Math.max(k,Math.min(w,w-(l-d))),b=Math.max(C,Math.min(b,b-(c-p)));S&&"auto"===_&&b<a&&w+e+S<d&&(w+=S),x.width(w).height(b),m.width(w+e),l=m.width(),c=m.height(),i=(d<l||p<c)&&k<w&&C<b,n=v.aspectRatio?w<f&&b<r&&w<o&&b<a:(w<f||b<r)&&(w<o||b<a),E.extend(v,{dim:{width:P(l),height:P(c)},origWidth:o,origHeight:a,canShrink:i,canExpand:n,wPadding:e,hPadding:t,wrapSpace:c-y.outerHeight(!0),skinSpace:y.height()-b}),!h&&v.autoHeight&&C<b&&b<W&&!n&&x.height("auto")},_getPosition:function(e){var t=H.current,i=H.getViewport(),n=t.margin,o=H.wrap.width()+n[1]+n[3],a=H.wrap.height()+n[0]+n[2],n={position:"absolute",top:n[0],left:n[3]};return t.autoCenter&&t.fixed&&!e&&a<=i.h&&o<=i.w?n.position="fixed":t.locked||(n.top+=i.y,n.left+=i.x),n.top=P(Math.max(n.top,n.top+(i.h-a)*t.topRatio)),n.left=P(Math.max(n.left,n.left+(i.w-o)*t.leftRatio)),n},_afterZoomIn:function(){var t=H.current;t&&(H.isOpen=H.isOpened=!0,H.wrap.css("overflow","visible").addClass("fancybox-opened"),H.update(),(t.closeClick||t.nextClick&&1<H.group.length)&&H.inner.css("cursor","pointer").bind("click.fb",function(e){E(e.target).is("a")||E(e.target).parent().is("a")||(e.preventDefault(),H[t.closeClick?"close":"next"]())}),t.closeBtn&&E(t.tpl.closeBtn).appendTo(H.skin).bind("click.fb",function(e){e.preventDefault(),H.close()}),t.arrows&&1<H.group.length&&((t.loop||0<t.index)&&E(t.tpl.prev).appendTo(H.outer).bind("click.fb",H.prev),t.loop||t.index<H.group.length-1)&&E(t.tpl.next).appendTo(H.outer).bind("click.fb",H.next),H.trigger("afterShow"),t.loop||t.index!==t.group.length-1?H.opts.autoPlay&&!H.player.isActive&&(H.opts.autoPlay=!1,H.play()):H.play(!1))},_afterZoomOut:function(e){e=e||H.current,E(".fancybox-wrap").trigger("onReset").remove(),E.extend(H,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),H.trigger("afterClose",e)}}),H.transitions={getOrigPosition:function(){var e=H.current,t=e.element,i=e.orig,n={},o=50,a=50,r=e.hPadding,s=e.wPadding,l=H.getViewport();return!i&&e.isDom&&t.is(":visible")&&!(i=t.find("img:first")).length&&(i=t),h(i)?(n=i.offset(),i.is("img")&&(o=i.outerWidth(),a=i.outerHeight())):(n.top=l.y+(l.h-a)*e.topRatio,n.left=l.x+(l.w-o)*e.leftRatio),"fixed"!==H.wrap.css("position")&&!e.locked||(n.top-=l.y,n.left-=l.x),n={top:P(n.top-r*e.topRatio),left:P(n.left-s*e.leftRatio),width:P(o+s),height:P(a+r)}},step:function(e,t){var i=t.prop,n=H.current,o=n.wrapSpace,a=n.skinSpace;"width"!==i&&"height"!==i||(t=t.end===t.start?1:(e-t.start)/(t.end-t.start),H.isClosing&&(t=1-t),e=e-("width"===i?n.wPadding:n.hPadding),H.skin[i](j("width"===i?e:e-o*t)),H.inner[i](j("width"===i?e:e-o*t-a*t)))},zoomIn:function(){var e=H.current,t=e.pos,i=e.openEffect,n="elastic"===i,o=E.extend({opacity:1},t);delete o.position,n?(t=this.getOrigPosition(),e.openOpacity&&(t.opacity=.1)):"fade"===i&&(t.opacity=.1),H.wrap.css(t).animate(o,{duration:"none"===i?0:e.openSpeed,easing:e.openEasing,step:n?this.step:null,complete:H._afterZoomIn})},zoomOut:function(){var e=H.current,t=e.closeEffect,i="elastic"===t,n={opacity:.1};i&&(n=this.getOrigPosition(),e.closeOpacity)&&(n.opacity=.1),H.wrap.animate(n,{duration:"none"===t?0:e.closeSpeed,easing:e.closeEasing,step:i?this.step:null,complete:H._afterZoomOut})},changeIn:function(){var e,t=H.current,i=t.nextEffect,n=t.pos,o={opacity:1},a=H.direction;n.opacity=.1,"elastic"===i&&(e="down"===a||"up"===a?"top":"left","down"===a||"right"===a?(n[e]=P(j(n[e])-200),o[e]="+=200px"):(n[e]=P(j(n[e])+200),o[e]="-=200px")),"none"===i?H._afterZoomIn():H.wrap.css(n).animate(o,{duration:t.nextSpeed,easing:t.nextEasing,complete:H._afterZoomIn})},changeOut:function(){var e=H.previous,t=e.prevEffect,i={opacity:.1},n=H.direction;"elastic"===t&&(i["down"===n||"up"===n?"top":"left"]=("up"===n||"left"===n?"-":"+")+"=200px"),e.wrap.animate(i,{duration:"none"===t?0:e.prevSpeed,easing:e.prevEasing,complete:function(){E(this).trigger("onReset").remove()}})}},H.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!d,fixed:!0},overlay:null,fixed:!1,el:E("html"),create:function(e){e=E.extend({},this.defaults,e),this.overlay&&this.close(),this.overlay=E('<div class="fancybox-overlay"></div>').appendTo((H.coming||e).parent),this.fixed=!1,e.fixed&&H.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(e){var t=this;e=E.extend({},this.defaults,e),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(e),this.fixed||(a.bind("resize.overlay",E.proxy(this.update,this)),this.update()),e.closeClick&&this.overlay.bind("click.overlay",function(e){if(E(e.target).hasClass("fancybox-overlay"))return(H.isActive?H:t).close(),!1}),this.overlay.css(e.css).show()},close:function(){var e,t;a.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(E(".fancybox-margin").removeClass("fancybox-margin"),e=a.scrollTop(),t=a.scrollLeft(),this.el.removeClass("fancybox-lock"),a.scrollTop(e).scrollLeft(t)),E(".fancybox-overlay").remove().hide(),E.extend(this,{overlay:null,fixed:!1})},update:function(){var e,t="100%";this.overlay.width(t).height("100%"),r?(e=Math.max(n.documentElement.offsetWidth,n.body.offsetWidth),c.width()>e&&(t=c.width())):c.width()>a.width()&&(t=c.width()),this.overlay.width(t).height(c.height())},onReady:function(e,t){var i=this.overlay;E(".fancybox-overlay").stop(!0,!0),i||this.create(e),e.locked&&this.fixed&&t.fixed&&(i||(this.margin=c.height()>a.height()&&E("html").css("margin-right").replace("px","")),t.locked=this.overlay.append(t.wrap),t.fixed=!1),!0===e.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(e,t){var i;t.locked&&(!1!==this.margin&&(E("*").filter(function(){return"fixed"===E(this).css("position")&&!E(this).hasClass("fancybox-overlay")&&!E(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),t=a.scrollTop(),i=a.scrollLeft(),this.el.addClass("fancybox-lock"),a.scrollTop(t).scrollLeft(i)),this.open(e)},onUpdate:function(){this.fixed||this.update()},afterClose:function(e){this.overlay&&!H.coming&&this.overlay.fadeOut(e.speedOut,E.proxy(this.close,this))}},H.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(e){var t,i,n=H.current,o=n.title,a=e.type;if(E.isFunction(o)&&(o=o.call(n.element,n)),f(o)&&""!==E.trim(o)){switch(t=E('<div class="fancybox-title fancybox-title-'+a+'-wrap">'+o+"</div>"),a){case"inside":i=H.skin;break;case"outside":i=H.wrap;break;case"over":i=H.inner;break;default:i=H.skin,t.appendTo("body"),r&&t.width(t.width()),t.wrapInner('<span class="child"></span>'),H.current.margin[2]+=Math.abs(j(t.css("margin-bottom")))}t["top"===e.position?"prependTo":"appendTo"](i)}}},E.fn.fancybox=function(a){function e(e){var t,i,n=E(this).blur(),o=l;e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||n.is(".fancybox-wrap")||(t=a.groupAttr||"data-fancybox-group",(i=n.attr(t))||(t="rel",i=n.get(0)[t]),i&&""!==i&&"nofollow"!==i&&(o=(n=(n=s.length?E(s):r).filter("["+t+'="'+i+'"]')).index(this)),a.index=o,!1!==H.open(n,a)&&e.preventDefault())}var r=E(this),s=this.selector||"",l=(a=a||{}).index||0;return s&&!1!==a.live?c.undelegate(s,"click.fb-start").delegate(s+":not('.fancybox-item, .fancybox-nav')","click.fb-start",e):r.unbind("click.fb-start").bind("click.fb-start",e),this.filter("[data-fancybox-start=1]").trigger("click"),this},c.ready(function(){var e,t;E.scrollbarWidth===p&&(E.scrollbarWidth=function(){var e=E('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),t=e.children(),t=t.innerWidth()-t.height(99).innerWidth();return e.remove(),t}),E.support.fixedPosition===p&&(E.support.fixedPosition=(e=E('<div style="position:fixed;top:20px;"></div>').appendTo("body"),t=20===e[0].offsetTop||15===e[0].offsetTop,e.remove(),t)),E.extend(H.defaults,{scrollbarWidth:E.scrollbarWidth(),fixed:E.support.fixedPosition,parent:E("body")}),e=E(i).width(),o.addClass("fancybox-lock-test"),t=E(i).width(),o.removeClass("fancybox-lock-test"),E("<style type='text/css'>.fancybox-margin{margin-right:"+(t-e)+"px;}</style>").appendTo("head")})})(window,document,jQuery);;
(r=>{r.fancybox.helpers.thumbs={defaults:{width:50,height:50,position:"bottom",source:function(t){var i;return i=!(i=t.element?r(t.element).find("img").attr("src"):i)&&"image"===t.type&&t.href?t.href:i}},wrap:null,list:null,width:0,init:function(t,i){for(var n=this,l=t.width,a=t.height,h=t.source,e="",s=0;s<i.group.length;s++)e+='<li><a style="width:'+l+"px;height:"+a+'px;" href="javascript:jQuery.fancybox.jumpto('+s+');"></a></li>';this.wrap=r('<div id="fancybox-thumbs"></div>').addClass(t.position).appendTo("body"),this.list=r("<ul>"+e+"</ul>").appendTo(this.wrap),r.each(i.group,function(o){var t=h(i.group[o]);t&&r("<img />").load(function(){var t,i,h,e=this.width,s=this.height;n.list&&e&&s&&(t=e/l,i=s/a,h=n.list.children().eq(o).find("a"),1<=t&&1<=i&&(s=i<t?(e=Math.floor(e/i),a):(e=l,Math.floor(s/t))),r(this).css({width:e,height:s,top:Math.floor(a/2-s/2),left:Math.floor(l/2-e/2)}),h.width(l).height(a),r(this).hide().appendTo(h).fadeIn(300))}).attr("src",t)}),this.width=this.list.children().eq(0).outerWidth(!0),this.list.width(this.width*(i.group.length+1)).css("left",Math.floor(.5*r(window).width()-(i.index*this.width+.5*this.width)))},beforeLoad:function(t,i){i.group.length<2?i.helpers.thumbs=!1:i.margin["top"===t.position?0:2]+=t.height+15},afterShow:function(t,i){this.list?this.onUpdate(t,i):this.init(t,i),this.list.children().removeClass("active").eq(i.index).addClass("active")},onUpdate:function(t,i){this.list&&this.list.stop(!0).animate({left:Math.floor(.5*r(window).width()-(i.index*this.width+.5*this.width))},150)},beforeClose:function(){this.wrap&&this.wrap.remove(),this.wrap=null,this.list=null,this.width=0}}})(jQuery);;
(m=>{m.fn.hoverIntent=function(e,t,n){function o(e){var t=jQuery.extend({},e),n=this;n.hoverIntent_t&&(n.hoverIntent_t=clearTimeout(n.hoverIntent_t)),"mouseenter"==e.type?(u=t.pageX,i=t.pageY,m(n).on("mousemove.hoverIntent",h),1!=n.hoverIntent_s&&(n.hoverIntent_t=setTimeout(function(){I(t,n)},s.interval))):(m(n).off("mousemove.hoverIntent",h),1==n.hoverIntent_s&&(n.hoverIntent_t=setTimeout(function(){a(t,n)},s.timeout)))}var r,v,u,i,s={interval:100,sensitivity:7,timeout:0},s="object"==typeof e?m.extend(s,e):m.isFunction(t)?m.extend(s,{over:e,out:t,selector:n}):m.extend(s,{over:e,out:e,selector:t}),h=function(e){r=e.pageX,v=e.pageY},I=function(e,t){if(t.hoverIntent_t=clearTimeout(t.hoverIntent_t),Math.abs(u-r)+Math.abs(i-v)<s.sensitivity)return m(t).off("mousemove.hoverIntent",h),t.hoverIntent_s=1,s.over.apply(t,[e]);u=r,i=v,t.hoverIntent_t=setTimeout(function(){I(e,t)},s.interval)},a=function(e,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=0,s.out.apply(t,[e])};return this.on({"mouseenter.hoverIntent":o,"mouseleave.hoverIntent":o},s.selector)}})(jQuery);;
(V=>{V.cluetip={version:"1.2.9",template:["<div>",'<div class="cluetip-outer">','<h3 class="cluetip-title ui-widget-header ui-cluetip-header"></h3>','<div class="cluetip-inner ui-widget-content ui-cluetip-content"></div>',"</div>",'<div class="cluetip-extra"></div>',"</div>"].join(""),setup:{insertionType:"appendTo",insertionElement:"body"},defaults:{multiple:!1,width:275,height:"auto",cluezIndex:97,positionBy:"auto",topOffset:15,leftOffset:15,snapToEdge:!1,local:!1,localPrefix:null,localIdSuffix:null,hideLocal:!0,attribute:"rel",titleAttribute:"title",splitTitle:"",escapeTitle:!1,showTitle:!0,cluetipClass:"default",hoverClass:"",waitImage:!0,cursor:"help",arrows:!1,dropShadow:!0,dropShadowSteps:6,sticky:!1,mouseOutClose:!1,delayedClose:50,activation:"hover",clickThrough:!0,tracking:!1,closePosition:"top",closeText:"Close",truncate:0,fx:{open:"show",openSpeed:""},hoverIntent:{sensitivity:3,interval:50,timeout:0},onActivate:function(t){return!0},onShow:function(t,e){},onHide:function(t,e){},ajaxCache:!0,ajaxProcess:function(t){return t=t.replace(/<(script|style|title)[^<]+<\/(script|style|title)>/gm,"").replace(/<(link|meta)[^>]+>/g,"")},ajaxSettings:{dataType:"html"},debug:!1}};var Z,_={},i=0,tt=0;V.fn.attrProp=V.fn.prop||V.fn.attr,V.fn.cluetip=function(D,R){var X,W,$,q,Q,U,t,F,G,J,e,K,a;return"object"==typeof D&&(R=D,D=null),"destroy"==D?(this.each(function(t){var e=V(this),i=e.data("cluetip");i&&(V(i.selector).remove(),V.removeData(this,"title"),V.removeData(this,"cluetip")),i.title&&e.attrProp("title",i.title),e.unbind(".cluetip").unbind("cluetipMoc")}),V('[id^="cluetip"]').length||V(document).unbind(".cluetip")):(R=V.extend(!0,{},V.cluetip.defaults,R||{}),i++,t=V.cluetip.backCompat||!R.multiple?"cluetip":"cluetip-"+i,F="#"+t,G=V.cluetip.backCompat?"#":".",e=V.cluetip.setup.insertionType,J=V.cluetip.setup.insertionElement||"body",e=/appendTo|prependTo|insertBefore|insertAfter/.test(e)?e:"appendTo",a=((K=V(F)).length||(K=V(V.cluetip.template)[e](J).attr("id",t).css({position:"absolute",display:"none"}),U=+R.cluezIndex,W=K.find(G+"cluetip-outer").css({position:"relative",zIndex:U}),X=K.find(G+"cluetip-inner"),$=K.find(G+"cluetip-title"),K.bind("mouseenter mouseleave",function(t){V(this).data("entered","mouseenter"===t.type)})),!(Z=V("#cluetip-waitimage")).length&&R.waitImage&&(Z=V("<div></div>").attr("id","cluetip-waitimage").css({position:"absolute"})).insertBefore(K).hide(),(parseInt(K.css("paddingLeft"),10)||0)+(parseInt(K.css("paddingRight"),10)||0)),this.each(function(d){var h=this,f=V(this),m=V.extend(!0,{},R,V.metadata?f.metadata():V.meta?f.data():f.data("cluetip")||{}),v=!1,g=!1,s=null,b=m[m.attribute]||"href"!=m.attribute&&f.attrProp(m.attribute)||f.attr(m.attribute),x=m.cluetipClass;if(U=+m.cluezIndex,f.data("cluetip",{title:h.title,zIndex:U,selector:F,cursor:h.style.cursor||""}),m.arrows&&!K.find(".cluetip-arrows").length&&K.append('<div class="cluetip-arrows ui-state-default"></div>'),!b&&!m.splitTitle&&!D)return!0;m.local&&m.localPrefix&&(b=m.localPrefix+b),m.local&&m.hideLocal&&b&&V(b+":first").hide();var n,w,y,C,S,I,c,T,u,k,j,z,B,P,O=parseInt(m.topOffset,10),M=parseInt(m.leftOffset,10),r=isNaN(parseInt(m.height,10))?"auto":/\D/g.test(m.height)?m.height:m.height+"px",A=parseInt(m.width,10)||275,L=A+a+m.dropShadowSteps,N=this.offsetWidth,E="title"!=m.attribute&&f.attr(m.titleAttribute)||"";m.splitTitle&&(P=E.split(m.splitTitle),E=m.showTitle||""===P[0]?P.shift():""),m.escapeTitle&&(E=E.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;")),f.bind("mouseenter mouseleave",function(t){var e=f.data("cluetip");e.entered="entered"===t.type,f.data("cluetip",e)});function e(t){var l,i,o,a,s,n,e,c,u;if(!1!==m.onActivate.call(h,t))if(g=!0,K=V(F).css({position:"absolute"}),W=K.find(G+"cluetip-outer"),X=K.find(G+"cluetip-inner"),$=K.find(G+"cluetip-title"),q=K.find(G+"cluetip-arrows"),K.removeClass().css({width:A}),b==f.attr("href")&&f.css("cursor",m.cursor),m.hoverClass&&f.addClass(m.hoverClass),C=I=f.offset().top,S=C+f.innerHeight(),k=f.offset().left,"relative"===V(J).css("position")&&(k-=V(J)[0].getBoundingClientRect().left),N=f.innerWidth(),T=t.type==focus?(z=k+N/2+M,K.css({left:j}),I+O):(z=t.pageX,t.pageY),"area"!=h.tagName.toLowerCase()&&(y=V(document).scrollTop(),B=V(window).width()),"fixed"==m.positionBy?(j=N+k+M,K.css({left:j})):(j=k<N&&L<k||B<k+N+L+M?k-L-M:N+k+M,("area"==h.tagName.toLowerCase()||"mouse"==m.positionBy||B<N+L)&&(j=B<z+20+L?(K.addClass("cluetip-"+x),0<=z-L-M?z-L-M-parseInt(K.css("marginLeft"),10)+parseInt(X.css("marginRight"),10):z-L/2):z+M),l=j<0?t.pageY+O:t.pageY,(j<0||"bottomTop"==m.positionBy||"topBottom"==m.positionBy)&&(j=B<z+L/2?B/2-L/2:Math.max(z-L/2,0))),q.css({zIndex:f.data("cluetip").zIndex+1}),K.css({left:j,zIndex:f.data("cluetip").zIndex}),w=V(window).height(),D)"function"==typeof D&&(D=D.call(h)),X.html(D),Y(l);else if(P){var r=P.length;if(X.html(r?P[0]:""),1<r)for(var p=1;p<r;p++)X.append('<div class="split-body">'+P[p]+"</div>");Y(l)}else m.local||0===b.indexOf("#")?m.local&&(t=V(b+(/^#\S+$/.test(b)?"":":eq("+d+")")).clone(!0).show(),m.localIdSuffix&&t.attr("id",t[0].id+m.localIdSuffix),X.html(t),Y(l)):/\.(jpe?g|tiff?|gif|png)(?:\?.*)?$/i.test(b)?(X.html('<img src="'+b+'" alt="'+E+'" />'),Y(l)):(i=m.ajaxSettings.beforeSend,o=m.ajaxSettings.error,a=m.ajaxSettings.success,s=m.ajaxSettings.complete,n=((t,e)=>{var i=t||"";return"object"==typeof(e=e||"")?V.each(e,function(t,e){i+="-"+t+"-"+e}):"string"==typeof e&&(i+=e),i})(b,m.ajaxSettings.data),t={cache:m.ajaxCache,url:b,beforeSend:function(t,e){i&&i.call(h,t,K,X,e),W.children().empty(),m.waitImage&&Z.css({top:T+20,left:z+20,zIndex:f.data("cluetip").zIndex-1}).show()},error:function(t,e){R.ajaxCache&&!_[n]&&(_[n]={status:"error",textStatus:e,xhr:t}),g&&(o?o.call(h,t,e,K,X):X.html("<i>sorry, the contents could not be loaded</i>"))},success:function(t,e,i){R.ajaxCache&&!_[n]&&(_[n]={status:"success",data:t,textStatus:e,xhr:i}),"object"==typeof(v=m.ajaxProcess.call(h,t))&&null!==v&&(E=v.title,v=v.content),g&&(a&&a.call(h,t,e,K,X),X.html(v))},complete:function(t,e){s&&s.call(h,t,e,K,X);var i=X[0].getElementsByTagName("img");tt=i.length;for(var o=0,a=i.length;o<a;o++)i[o].complete&&tt--;tt?V(i).bind("load.ct error.ct",function(){0===--tt&&(Z.hide(),V(i).unbind(".ct"),g)&&Y(l)}):(Z.hide(),g&&Y(l))}},t=V.extend(!0,{},m.ajaxSettings,t),_[n]?(c=t,u=(e=_[n]).status,c.beforeSend(e.xhr,c),"error"==u?c[u](e.xhr,e.textStatus):"success"==u&&c[u](e.data,e.textStatus,e.xhr),c.complete(e.xhr,c.textStatus)):V.ajax(t))}function i(t){g=!1,Z.hide(),m.sticky&&!/click|toggle/.test(m.activation)||(0<m.delayedClose?(clearTimeout(s),s=null,s=setTimeout(p,m.delayedClose)):(p(),clearTimeout(s))),m.hoverClass&&f.removeClass(m.hoverClass)}var o,Y=function(t){var e,i=E||m.showTitle&&"&nbsp;",o="",a="",l={bottom:function(t){t.appendTo(X)},top:function(t){t.prependTo(X)},title:function(t){t.prependTo($)}};K.addClass("cluetip-"+x),m.truncate&&(e=X.text().slice(0,m.truncate)+"...",X.html(e)),i?$.show().html(i):$.hide(),m.sticky&&(l[m.closePosition]&&(e=V('<div class="cluetip-close"><a href="#">'+m.closeText+"</a></div>"),l[m.closePosition](e),e.bind("click.cluetip",function(){return p(),!1})),m.mouseOutClose)&&(f.unbind("mouseleave.cluetipMoc"),K.unbind("mouseleave.cluetipMoc"),"both"!=m.mouseOutClose&&"cluetip"!=m.mouseOutClose&&!0!==m.mouseOutClose||K.bind("mouseleave.cluetipMoc",H),"both"!=m.mouseOutClose&&"link"!=m.mouseOutClose||f.bind("mouseleave.cluetipMoc",H)),W.css({zIndex:f.data("cluetip").zIndex,overflow:"auto"==r?"visible":"auto",height:r}),n="auto"==r?Math.max(K.outerHeight(),K.height()):parseInt(r,10),c=I,u=y+w,i=j<z&&Math.max(j,0)+L>z,"fixed"==m.positionBy?c=I-m.dropShadowSteps+O:"topBottom"==m.positionBy||"bottomTop"==m.positionBy||i?("topBottom"==m.positionBy?a=I+n+O<u&&T-y<n+O?"bottom":"top":"bottomTop"!=m.positionBy&&!i||(a=u<I+n+O&&n+O<T-y?"top":"bottom"),m.snapToEdge?"top"==a?c=C-n-O:"bottom"==a&&(c=S+O):"top"==a?c=T-n-O:"bottom"==a&&(c=T+O)):c=u<I+n+O?w<=n?y:u-n-O:"block"==f.css("display")||"area"==h.tagName.toLowerCase()||"mouse"==m.positionBy?t-O:I-m.dropShadowSteps,l=" clue-"+(a=""===a?j<k?"left":"right":a)+"-"+x+" cluetip-"+x,"rounded"==x&&(l+=" ui-corner-all"),K.css({top:c+"px"}).attrProp({className:"cluetip ui-widget ui-widget-content ui-cluetip"+l}),m.arrows?(/(left|right)/.test(a)&&(e=K.height()-q.height(),o=(o=0<=j&&0<t?I-c-m.dropShadowSteps:0)<e?o:e,o+="px"),q.css({top:o}).show()):q.hide(),(Q=((t,e)=>{var i="",o=e.dropShadow&&e.dropShadowSteps?+e.dropShadowSteps:0;if(V.support.boxShadow)return o&&(i="1px 1px "+o+"px rgba(0,0,0,0.5)"),t.css(V.support.boxShadow,i),!1;if(e=t.find(".cluetip-drop-shadow"),o==e.length)return e;e.remove();for(var a=[],l=0;l<o;)a[l++]='<div style="top:'+l+"px;left:"+l+'px;"></div>';return V(a.join("")).css({position:"absolute",backgroundColor:"#000",zIndex:U-1,opacity:.1}).addClass("cluetip-drop-shadow").prependTo(t)})(K,m))&&Q.length&&Q.hide().css({height:n,width:A,zIndex:f.data("cluetip").zIndex-1}).show(),s||K.hide(),clearTimeout(s),s=null,K[m.fx.open](m.fx.openSpeed||0),V.fn.bgiframe&&K.bgiframe(),m.onShow.call(h,K,X)},p=function(t){var t=t&&t.data("cluetip")?t:f,e=t.data("cluetip")&&t.data("cluetip").selector,i=V(e||"div.cluetip"),o=i.find(G+"cluetip-inner"),a=i.find(G+"cluetip-arrows");i.hide().removeClass(),m.onHide.call(t[0],i,o),e&&(t.removeClass("cluetip-clicked"),f.css("cursor",f.data("cluetip").cursor)),e&&E&&t.attrProp(m.titleAttribute,E),m.arrows&&a.css({top:""}),Q&&Q.hide()},H=function(){var o=this;clearTimeout(s),s=setTimeout(function(){var t=f.data("cluetip").entered,e=K.data("entered"),i=!1;(i="both"==m.mouseOutClose&&(t||e)||(!0===m.mouseOutClose||"cluetip"==m.mouseOutClose)&&e||"link"==m.mouseOutClose&&t?!0:i)||p.call(o)},m.delayedClose)};V(document).unbind("hideCluetip.cluetip").bind("hideCluetip.cluetip",function(t){p(V(t.target))}),/click|toggle/.test(m.activation)?f.bind("click.cluetip",function(t){return K.is(":hidden")||!f.is(".cluetip-clicked")?(e(t),V(".cluetip-clicked").removeClass("cluetip-clicked"),f.addClass("cluetip-clicked")):i(),!1}):"focus"==m.activation?(f.bind("focus.cluetip",function(t){f.attrProp("title",""),e(t)}),f.bind("blur.cluetip",function(t){f.attrProp("title",f.data("cluetip").title),i()})):(f[m.clickThrough?"unbind":"bind"]("click.cluetip",function(){return!1}),o=function(t){var e,i;m.tracking&&(e=j-t.pageX,i=c?c-t.pageY:I-t.pageY,f.bind("mousemove.cluetip",function(t){K.css({left:t.pageX+e,top:t.pageY+i})}))},V.fn.hoverIntent&&m.hoverIntent?f.hoverIntent({sensitivity:m.hoverIntent.sensitivity,interval:m.hoverIntent.interval,over:function(t){e(t),o(t)},timeout:m.hoverIntent.timeout,out:function(t){i(),f.unbind("mousemove.cluetip")}}):f.bind("mouseenter.cluetip",function(t){e(t),o(t)}).bind("mouseleave.cluetip",function(t){i(),f.unbind("mousemove.cluetip")}),f.bind("mouseover.cluetip",function(t){f.attrProp("title","")}).bind("mouseleave.cluetip",function(t){f.attrProp("title",f.data("cluetip").title)}))})),this},V.support=V.support||{};for(var t=document.createElement("div"),e=t.style,o=["boxShadow"],a=["moz","Moz","webkit","o"],l=0,s=o.length;l<s;l++){var n=o[l],c=n.charAt(0).toUpperCase()+n.slice(1);if(void 0!==e[n])V.support[n]=n;else for(var u=0,r=a.length;u<r;u++)if(void 0!==e[a[u]+c]){V.support[n]=a[u]+c;break}}V.fn.cluetip.defaults=V.cluetip.defaults})(jQuery);;
((c,u)=>{function m(e,t,r){e.splice(r,0,e.splice(t,1)[0])}c.fn.ItemSort=function(e){var o=c.extend({},c.fn.ItemSort.defaults,e);if(o.target!=u){var n=[],d=-1;switch(this.find(o.sortableItemSelector).each(function(e){var t=c(this),r=c(o.sortOrderFieldSelector,t).text(),i=this===o.target[0];i&&(d=e),n[e]={sortOrder:r="[No text in field]"==r?"":r,isTarget:i,item:t}}),typeof o.direction){case"string":var t=o.direction.toLowerCase();if(("up"==t||"left"==t)&&0<d)m(n,d,d-1),n[d].item.before(n[d-1].item);else{if("down"!=t&&"right"!=t||!(d<n.length-1))return;m(n,d,d+1),n[d].item.after(n[d+1].item)}break;case"number":var r=o.direction;if(r<0||n.length-1<r||r==d)return;n[r].item[r<d?"before":"after"](n[d].item),m(n,d,r);break;default:return}var i,a,s=!1;for(i in n){var f,l=10*(+i+1);s?(f="",n[i].sortOrder!=u&&""!=n[i].sortOrder&&(f=l),PageEditorHelper.updateField(o.sortOrderFieldSelector,n[i].item,f)):PageEditorHelper.updateField(o.sortOrderFieldSelector,n[i].item,l),n[i].isTarget&&(s=!0)}return c.isFunction(o.afterSort)&&(e="string"==typeof o.direction?"up"==t||"left"==t?d-1:d+1:o.direction,(a={}).fromIndex=d,a.toIndex=e,o.afterSort(a)),this}console.log("ItemSort: no options.target defined.")},c.fn.ItemSort.defaults={target:u,direction:"down",sortableItemSelector:"> *",sortOrderFieldSelector:"span.sort-order .scWebEditInput",afterSort:function(){}}})(jQuery);;
(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)})(function(s){function f(e){return x.raw?e:encodeURIComponent(e)}function m(e,o){e=x.raw?e:(e=>{0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(n," ")),x.json?JSON.parse(e):e}catch(e){}})(e);return s.isFunction(o)?o(e):e}var n=/\+/g,x=s.cookie=function(e,o,n){var i,r;if(void 0!==o&&!s.isFunction(o))return"number"==typeof(n=s.extend({},x.defaults,n)).expires&&(i=n.expires,(r=n.expires=new Date).setTime(+r+864e5*i)),document.cookie=[f(e),"=",(r=o,f(x.json?JSON.stringify(r):String(r))),n.expires?"; expires="+n.expires.toUTCString():"",n.path?"; path="+n.path:"",n.domain?"; domain="+n.domain:"",n.secure?"; secure":""].join("");for(var t=e?void 0:{},c=document.cookie?document.cookie.split("; "):[],u=0,d=c.length;u<d;u++){var a=c[u].split("="),p=(p=a.shift(),x.raw?p:decodeURIComponent(p)),a=a.join("=");if(e&&e===p){t=m(a,o);break}e||void 0===(a=m(a))||(t[p]=a)}return t};x.defaults={},s.removeCookie=function(e,o){return void 0!==s.cookie(e)&&(s.cookie(e,"",s.extend({},o,{expires:-1})),!s.cookie(e))}});;
(D=>{D.fn.bjqs=function(e){var n,h=D.extend({},{width:700,height:300,animtype:"fade",animduration:450,animspeed:4e3,automatic:!0,showcontrols:!0,centercontrols:!0,nexttext:"Next",prevtext:"Prev",showmarkers:!0,centermarkers:!0,keyboardnav:!0,hoverpause:!0,usecaptions:!0,randomstart:!1,responsive:!1},e),t=this,i=t.find("ul.bjqs"),d=i.children("li"),s=null,a=null,r=null,l=null,c=null,o=null,u=null,w=null,g={slidecount:d.length,animating:!1,paused:!1,currentslide:1,nextslide:0,currentindex:0,nextindex:0,interval:null},p={width:null,height:null,ratio:null},f={fwd:"forward",prev:"previous"},e=function(){p.width=t.outerWidth(),p.ratio=p.width/h.width,p.height=h.height*p.ratio,"fade"===h.animtype&&(d.css({height:h.height,width:"100%"}),d.children("img").css({height:h.height,width:"100%"}),i.css({height:h.height,width:"100%"}),t.css({height:h.height,"max-width":h.width,position:"relative"}),p.width<h.width&&(d.css({height:p.height}),d.children("img").css({height:p.height}),i.css({height:p.height}),t.css({height:p.height})),D(window).resize(function(){p.width=t.outerWidth(),p.ratio=p.width/h.width,p.height=h.height*p.ratio,d.css({height:p.height}),d.children("img").css({height:p.height}),i.css({height:p.height}),t.css({height:p.height})})),"slide"===h.animtype&&(d.css({height:h.height,width:h.width}),d.children("img").css({height:h.height,width:h.width}),i.css({height:h.height,width:h.width*h.slidecount}),t.css({height:h.height,"max-width":h.width,position:"relative"}),p.width<h.width&&(d.css({height:p.height}),d.children("img").css({height:p.height}),i.css({height:p.height}),t.css({height:p.height})),D(window).resize(function(){p.width=t.outerWidth(),p.ratio=p.width/h.width,p.height=h.height*p.ratio,d.css({height:p.height,width:p.width}),d.children("img").css({height:p.height,width:p.width}),i.css({height:p.height,width:p.width*h.slidecount}),t.css({height:p.height}),o.css({height:p.height,width:p.width}),m(function(){I(!1,g.currentslide)},200,"some unique string")}))},m=(n={},function(e,t,i){n[i=i||"Don't call this twice without a uniqueId"]&&clearTimeout(n[i]),n[i]=setTimeout(e,t)}),v=function(){d.css({height:h.height,width:h.width}),i.css({height:h.height,width:h.width}),t.css({height:h.height,width:h.width,position:"relative"})},x=function(){u=d.eq(0).clone(),w=d.eq(g.slidecount-1).clone(),u.attr({"data-clone":"last","data-slide":0}).appendTo(i).show(),w.attr({"data-clone":"first","data-slide":0}).prependTo(i).show(),d=i.children("li"),g.slidecount=d.length,o=D('<div class="bjqs-wrapper"></div>'),h.responsive&&p.width<h.width?(o.css({width:p.width,height:p.height,overflow:"hidden",position:"relative"}),i.css({width:p.width*(g.slidecount+2),left:-p.width*g.currentslide})):(o.css({width:h.width,height:h.height,overflow:"hidden",position:"relative"}),i.css({width:h.width*(g.slidecount+2),left:-h.width*g.currentslide})),d.css({float:"left",position:"relative",display:"list-item"}),o.prependTo(t),i.appendTo(o)},q=function(){var e;s=D('<ul class="bjqs-controls"></ul>'),a=D('<li class="bjqs-next"><a href="#" data-direction="'+f.fwd+'">'+h.nexttext+"</a></li>"),r=D('<li class="bjqs-prev"><a href="#" data-direction="'+f.prev+'">'+h.prevtext+"</a></li>"),s.on("click","a",function(e){e.preventDefault();e=D(this).attr("data-direction");g.animating||(e===f.fwd&&I(f.fwd,!1),e===f.prev&&I(f.prev,!1))}),r.appendTo(s),a.appendTo(s),s.appendTo(t),h.centercontrols&&(s.addClass("v-centered"),e=(t.height()-a.children("a").outerHeight())/2/h.height*100+"%",a.find("a").css("top",e),r.find("a").css("top",e))},k=function(){var e;l=D('<ol class="bjqs-markers"></ol>'),D.each(d,function(e,t){var i=e+1,n=e+1,e=("slide"===h.animtype&&(n=e+2),D('<li><a href="#">'+i+"</a></li>"));i===g.currentslide&&e.addClass("active-marker"),e.on("click","a",function(e){e.preventDefault(),g.animating||g.currentslide===n||I(!1,n)}),e.appendTo(l)}),l.appendTo(t),c=l.find("li"),h.centermarkers&&(l.addClass("h-centered"),e=(h.width-l.width())/2,l.css("left",e))},y=function(){D(document).keyup(function(e){g.paused||(clearInterval(g.interval),g.paused=!0),g.animating||(39===e.keyCode?(e.preventDefault(),I(f.fwd,!1)):37===e.keyCode&&(e.preventDefault(),I(f.prev,!1))),g.paused&&h.automatic&&(g.interval=setInterval(function(){I(f.fwd)},h.animspeed),g.paused=!1)})},T=function(){t.hover(function(){g.paused||(clearInterval(g.interval),g.paused=!0)},function(){g.paused&&(g.interval=setInterval(function(){I(f.fwd,!1)},h.animspeed),g.paused=!1)})},b=function(){D.each(d,function(e,t){var i=D(t).children("img:first-child").attr("title");(i=i||D(t).children("a").find("img:first-child").attr("title"))&&(i=D('<p class="bjqs-caption">'+i+"</p>")).appendTo(D(t))})},j=function(){var e=Math.floor(Math.random()*g.slidecount)+1;g.currentslide=e,g.currentindex=e-1},C=function(e){e===f.fwd?d.eq(g.currentindex).next().length?(g.nextindex=g.currentindex+1,g.nextslide=g.currentslide+1):(g.nextindex=0,g.nextslide=1):d.eq(g.currentindex).prev().length?(g.nextindex=g.currentindex-1,g.nextslide=g.currentslide-1):(g.nextindex=g.slidecount-1,g.nextslide=g.slidecount)},I=function(e,t){g.animating||(g.animating=!0,t?(g.nextslide=t,g.nextindex=t-1):C(e),"fade"===h.animtype&&(h.showmarkers&&(c.removeClass("active-marker"),c.eq(g.nextindex).addClass("active-marker")),d.eq(g.currentindex).fadeOut(h.animduration),d.eq(g.nextindex).fadeIn(h.animduration,function(){g.animating=!1,g.currentslide=g.nextslide,g.currentindex=g.nextindex})),"slide"===h.animtype&&(h.showmarkers&&((t=g.nextindex-1)===g.slidecount-2?t=0:-1===t&&(t=g.slidecount-3),c.removeClass("active-marker"),c.eq(t).addClass("active-marker")),h.responsive&&p.width<h.width?g.slidewidth=p.width:g.slidewidth=h.width,i.animate({left:-g.nextindex*g.slidewidth},h.animduration,function(){g.currentslide=g.nextslide,g.currentindex=g.nextindex,"last"===d.eq(g.currentindex).attr("data-clone")?(i.css({left:-g.slidewidth}),g.currentslide=2,g.currentindex=1):"first"===d.eq(g.currentindex).attr("data-clone")&&(i.css({left:-g.slidewidth*(g.slidecount-2)}),g.currentslide=g.slidecount-1,g.currentindex=g.slidecount-2),g.animating=!1})))};d.addClass("bjqs-slide"),(h.responsive?e:v)(),1<g.slidecount?(h.randomstart&&j(),h.showcontrols&&q(),h.showmarkers&&k(),h.keyboardnav&&y(),h.hoverpause&&h.automatic&&T(),"slide"===h.animtype&&x()):h.automatic=!1,h.usecaptions&&b(),"slide"!==h.animtype||h.randomstart||(g.currentindex=1,g.currentslide=2),i.show(),d.eq(g.currentindex).show(),h.automatic&&(g.interval=setInterval(function(){I(f.fwd,!1)},h.animspeed))}})(jQuery);;
this.JSON||(this.JSON={}),!function(){function f(t){return t<10?"0"+t:t}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(t){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(t){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var n,r,f,o,u,i=gap,a=e[t];switch(a&&"object"==typeof a&&"function"==typeof a.toJSON&&(a=a.toJSON(t)),typeof(a="function"==typeof rep?rep.call(e,t,a):a)){case"string":return quote(a);case"number":return isFinite(a)?String(a):"null";case"boolean":case"null":return String(a);case"object":if(!a)return"null";if(gap+=indent,u=[],"[object Array]"===Object.prototype.toString.apply(a)){for(o=a.length,n=0;n<o;n+=1)u[n]=str(n,a)||"null";f=0===u.length?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+i+"]":"["+u.join(",")+"]"}else{if(rep&&"object"==typeof rep)for(o=rep.length,n=0;n<o;n+=1)"string"==typeof(r=rep[n])&&(f=str(r,a))&&u.push(quote(r)+(gap?": ":":")+f);else for(r in a)Object.hasOwnProperty.call(a,r)&&(f=str(r,a))&&u.push(quote(r)+(gap?": ":":")+f);f=0===u.length?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+i+"}":"{"+u.join(",")+"}"}return gap=i,f}}"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,n){var r;if(indent=gap="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(!(rep=e)||"function"==typeof e||"object"==typeof e&&"number"==typeof e.length)return str("",{"":t});throw new Error("JSON.stringify")}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(t,e){var n,r,f=t[e];if(f&&"object"==typeof f)for(n in f)Object.hasOwnProperty.call(f,n)&&(void 0!==(r=walk(f,n))?f[n]=r:delete f[n]);return reviver.call(t,e,f)}if(cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}();;
var EC={LobbyAndPress:{}};jQuery.parseParams=function(r){for(var e=/([^&=]+)=?([^&]*)/g,n=/\+/g,s=function(r){return decodeURIComponent(r.replace(n," "))},t={};a=e.exec(r);){var u=s(a[1]),a=s(a[2]);"[]"===u.substring(u.length-2)?(t[u=u.substring(0,u.length-2)]||(t[u]=[])).push(a):t[u]=a}return t};;
PageEditorHelper=(i=>{var s=!1,n=[];function l(e,t,r){Sitecore.WebEdit.baseSetFieldValue(e,t,r);var o,e=Sitecore.PageModes.ChromeManager.selectedChrome();e&&"True"==(e=e.element.parent()).attr("data-update")&&(o=e.attr("data-update-fields"),r=$("<div />").text(r).html(),null!=o?e.attr("data-update-fields",o+"|~|"+t+":"+r):e.attr("data-update-fields",PageEditorHelper.formatId(t)+":"+r))}function c(){Sitecore.PageModes.ChromeTypes.EditFrame.prototype.baseUpdateEnd();var e,t,r,o,a=Sitecore.PageModes.ChromeManager.selectedChrome();a&&"True"==(a=a.element.parent()).attr("data-update")&&(e=a.attr("data-item-id"),t=a.attr("data-update-fields"),r=a.attr("data-update-type"),(o=n[r])&&o.afterEditFrameUpdate(r,e,t),a.removeAttr("data-update-fields"))}return{enableEditFrameUpdates:function(e){s||"undefined"!=typeof Sitecore&&(Sitecore&&Sitecore.WebEdit&&(Sitecore.WebEdit.baseSetFieldValue=Sitecore.WebEdit.setFieldValue,Sitecore.WebEdit.setFieldValue=l),Sitecore&&Sitecore.PageModes&&Sitecore.PageModes.ChromeTypes&&Sitecore.PageModes.ChromeTypes.EditFrame&&(Sitecore.PageModes.ChromeTypes.EditFrame.prototype.baseUpdateEnd=Sitecore.PageModes.ChromeTypes.EditFrame.prototype.updateEnd,Sitecore.PageModes.ChromeTypes.EditFrame.prototype.updateEnd=c),s=!0);var t=e.registerEditFrameUpdateTypes();if(t!==i){var r,o="[object Array]"===Object.prototype.toString.call(t)?t:"string"==typeof(r=t)||r instanceof String?JSON.parse('["'+t+'"]'):i;if(o)for(var a=0;a<o.length;a++){var d=o[a];n[d]?$(".HtmlToolsController").HtmlTools("LogToConsole","PageEditorHelper: a component with type key '"+d+"' is already registered."):n[d]=e}else $(".HtmlToolsController").HtmlTools("LogToConsole","PageEditorHelper: type returned by registerEditFrameUpdateTypes() are invalid - expected string or array(string).",!0)}},getScFieldId:function(e){e=e[0].id;return e.substring(0,e.length-5)},scrollToEditFrame:function(e){if("undefined"!=typeof Sitecore&&void 0!==Sitecore.PageModes){var t,r,o=PageEditorHelper.getScFieldId(e),a=Sitecore.PageModes.ChromeManager.chromes();for(r in a)a[r].controlId()===o&&(t=a[r]);t&&Sitecore.PageModes.ChromeManager.scrollChromeIntoView(t)}},resetChromes:function(e){"undefined"!=typeof Sitecore&&void 0!==Sitecore.PageModes&&(e==i&&(e=!1),Sitecore.PageModes.ChromeManager.overChromes=new Array,e&&PageEditorHelper.hideSelection(),Sitecore.PageModes.ChromeManager.resetChromes())},updateField:function(e,t,r,o){"undefined"!=typeof Sitecore&&void 0!==Sitecore.PageModes&&(e=$(e,t),Sitecore.PageModes.PageEditor.updateField(PageEditorHelper.getScFieldId(e),r,o,!1))},hideSelection:function(){"undefined"!=typeof Sitecore&&void 0!==Sitecore.PageModes&&Sitecore.PageModes.ChromeManager.hideSelection()},formatId:function(e){return(e=e.toLowerCase()).substr(0,8)+"-"+e.substr(8,4)+"-"+e.substr(12,4)+"-"+e.substr(16,4)+"-"+e.substr(20,12)}}})();;
$.widget("LobbyAndPress.HtmlTools",{options:{pageId:""},_create:function(){this.BindEvents(),this.Initialize()},_destroy:function(){},_setOption:function(e,t){},BindEvents:function(){},Initialize:function(){this.UpdateTooltipBinding()},UpdateTooltipBinding:function(){var e=this.StartProfile();this.BindTooltipEvents(".helpMessage","#helpTemplate"),this.BindTooltipEvents(".alertMessage","#alertTemplate"),this.BindTooltipEvents(".infoMessage","#infoTemplate"),this.EndProfile(e,"UpdateTooltipBinding")},BindTooltipEvents:function(e,t){var o,n=$(e);0!=n.length&&(o=this.StartProfile(),n.tooltip({tip:"#tooltipContainer",predelay:250,onBeforeShow:function(){var e=this.getTrigger();this.getTip().html($(t).html().replace("#content#",e.data("title")))}}),this.EndProfile(o,"BindTooltipEvents("+e+") x"+n.length))},StartProfile:function(){return new Date},EndProfile:function(e,t){this.UseDebugConsole()&&(e=(null==t?"":t+": ")+((t=new Date(new Date-e)).getSeconds()+t.getMilliseconds()/1e3)+"s",this.LogToConsole(e))},LogToConsole:function(e){var t;this.UseDebugConsole()&&(t="<span style='color:grey;'>"+this.DebugConsoleLineNr+"&gt; </span>",$("#debugConsole").append("<div>"+t+e+"</div>"),this.DebugConsoleLineNr++)},UseDebugConsole:function(){return null==this.HasDebugConsole&&(this.HasDebugConsole=0<$("#debugConsole").length,this.DebugConsoleLineNr=1),this.HasDebugConsole},DebugAssert:function(e,t){e||this.LogToConsole("<b>ASSERT FAIL: "+t+"</b>")},ExecutePartialUpdate:function(e){var t={url:null,dataSource:this.pageId,data:null,withoutWaitPanel:!1,executeOnValidationError:jQuery.noop,executeOnSuccess:jQuery.noop,executeOnError:jQuery.noop},o=$.extend(t,e),n=(this.DebugAssert(null!=o.url,"updateUrl required"),this.DebugAssert(null!=o.dataSource,"dataSource required"),1!=o.withoutWaitPanel),i=(n&&this.ShowWaitPanel(),this.StartProfile());this.LogToConsole(o.url),$.ajax({type:"POST",url:o.url,data:Object.toJSON?Object.toJSON(o.data):JSON.stringify(o.data),dataType:"html",contentType:"application/json; charset=utf-8",success:function(e,t){$(".HtmlToolsController").HtmlTools("EndProfile",i,"$.ajax return from server"),o.executeOnSuccess&&o.executeOnSuccess(e),n&&$(".HtmlToolsController").HtmlTools("HideWaitPanel"),$(".HtmlToolsController").HtmlTools("EndProfile",i,"$.ajax completed")}})},ShowWaitPanel:function(){var e=$("#waitPanel");0<e.length&&e.dialog({height:100,width:200,modal:!0,autoOpen:!0,resizable:!1,draggable:!1,open:function(e,t){$("body").css("overflow","hidden"),$(".ui-widget-overlay").css("width","100%"),$(this).closest(".ui-dialog").find(".ui-dialog-titlebar-close").hide()},close:function(e,t){$("body").css("overflow","auto")}})},HideWaitPanel:function(){var e=$("#waitPanel");0<e.length&&e.dialog("close")}});;
$.widget("LobbyAndPress.ContactUs",{options:{formSelector:".jq-contactus-form"},_create:function(){},_destroy:function(){},_setOption:function(o,t){},onError:function(o,t,n){$("#ServerErrorMessage",this.Component).show()}});;
$.widget("LobbyAndPress.Header",{options:{referrerUrl:""},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(o,n){},BindEvents:function(){var n=$(".selectorDoSearch"),o=$(".selectorSearchValue");n.click(function(){location.href=n.attr("data-href")+"?sq="+encodeURIComponent(o.val())}),o.keypress(function(o){return 13!=o.which||(n.click(),!1)})},HandleResult:function(o,n,t){location.href=window.location.protocol+"//"+window.location.hostname+(""!=window.location.port?":"+window.location.port:"")+this.options.referrerUrl}});;
$.widget("LobbyAndPress.Resources",{options:{pageId:""},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(o,e){},BindEvents:function(){var t=this;$(".selectorResourceLink",this.Component).click(function(o){var e=$(this);return!t.HandleResourceLink(e)})},HandleResourceLink:function(o){var e=this;return"false"!==o.data("stop").toString()&&(o={DownloadUrl:o.attr("href"),DownloadSource:"ResourcesComponent"},$.ajax({url:"/LobbyAndPressAPI/LobbyStopPage/ShowStopPage/"+this.options.pageId,data:o,contentType:"application/json; charset=utf-8",type:"GET",dataType:"html"}).success(function(o){return e.OnShowStopPageSuccess(o),!0}).error(function(o,e){return!1}),!0)},OnShowStopPageSuccess:function(o){$("#StopPagePlaceHolder").html(o).show(),$(".StopPage").dialog({width:920,modal:!0,autoOpen:!0,dialogClass:"StopPageOverlay",open:function(o,e){$("body").css("overflow","hidden"),$(".ui-widget-overlay").css("width","100%")},close:function(o,e){$("body").css("overflow","auto"),$(this).remove()}})}});;
var resources;$.widget("LobbyAndPress.ResourcesEditable",{options:{pageId:"",dataId:"",enableEditFrameUpdates:!0},_create:function(){this.BindEvents(),this.Initialize()},_destroy:function(){},_setOption:function(e,t){},BindEvents:function(){var t=this;$(".add-resource",this.Component).click(function(e){t.AddResource(e)})},Initialize:function(){(resources=this).options.enableEditFrameUpdates&&PageEditorHelper.enableEditFrameUpdates(this)},MoveResource:function(e){var t=$("#"+e.id);t.parents(".ResourcesController").ItemSort({target:t,sortableItemSelector:".resource",direction:e.direction}),PageEditorHelper.resetChromes()},AddResource:function(e){var t=this,e=$(e.target).attr("data-container-id");$(".HtmlToolsController").HtmlTools("ExecutePartialUpdate",{url:"/LobbyAndPressAPI/LobbyResources/AddResource/"+this.options.pageId,dataSource:this.options.pageId,data:{containerId:e},executeOnSuccess:function(e){return t.AddUpdateResourceSuccess(t,!1,e,""),!0},executeOnError:function(){return!1}})},AddUpdateResourceSuccess:function(e,t,r,o){var s=$(".ResourcesController");(t?$(s).find("[id='"+o+"']"):$(s)).replaceWith(r),PageEditorHelper.resetChromes(!0)},RemoveResource:function(e){var t=this,e=e.id;$(".HtmlToolsController").HtmlTools("ExecutePartialUpdate",{url:"/LobbyAndPressAPI/LobbyResources/RemoveResource/"+this.options.pageId,dataSource:this.options.pageId,data:{resourceId:e},executeOnSuccess:function(e){return t.RemoveByIdSuccess(t,e),!0},executeOnError:function(){return!1}})},RemoveByIdSuccess:function(e,t){var r=$(".ResourcesController");$(r).replaceWith(t),PageEditorHelper.resetChromes(!0)},registerEditFrameUpdateTypes:function(){return"resource"},afterEditFrameUpdate:function(e,t,r){var o=this,s={};s.Id=t,s.Data=r,"resource"==e&&$(".HtmlToolsController").HtmlTools("ExecutePartialUpdate",{url:"/LobbyAndPressAPI/LobbyResources/UpdateResource/"+this.options.pageId,dataSource:this.options.pageId,data:s,executeOnSuccess:function(e){return o.AddUpdateResourceSuccess(o,!0,e,s.Id),!0},executeOnError:function(){return!1}})}});;
$.widget("LobbyAndPress.Login",{options:{referrerUrl:""},_create:function(){},_destroy:function(){},_setOption:function(o,n){},HandleResult:function(o,n,e){0==$(o).find("#ServerValidationMessages").length&&0==$(o).find(".inner").length?location.href=window.location.protocol+"//"+window.location.hostname+(""!=window.location.port?":"+window.location.port:"")+this.options.referrerUrl:0!=$(o).find("#ServerValidationMessages").length&&$("#ServerValidationMessages").show()}});;
$.widget("LobbyAndPress.StopPage",{options:{referrerUrl:""},_create:function(){},_destroy:function(){},_setOption:function(o,n){},HandleResult:function(o,n,e){0==$(o).find("#ServerValidationMessages").length&&0==$(o).find(".inner").length?location.href=window.location.protocol+"//"+window.location.hostname+(""!=window.location.port?":"+window.location.port:"")+this.options.referrerUrl:0!=$(o).find("#ServerValidationMessages").length&&$("#ServerValidationMessages").show()}});;
(n=>{n.widget("LobbyAndPress.BaseFilteredPaginatedList",{_filterSelectorClass:".selectorCurrentFilter",_doPaginationSelectorClass:"selectorDoPagination",_errorMessagePlaceholderId:"ServerErrorMessage",_componentId:null,_filterSelector:null,_doPaginationLinkSelector:null,_doPaginationCurrentLinkSelector:null,_errorMessagePlaceHolder:null,options:{showFilter:!1,ajaxEnabled:!1},_create:function(){this._componentId=this.element[0].id,this._setSelectors(),this._bindEvents(),this.refresh()},_setOptions:function(e){this._super(e),this.refresh()},_bindEvents:function(){this.options.context=this,n(this._filterSelector).bind("change",{context:this},this._onFilterChange)},_onFilterChange:function(e){var t,e=e.data.context,o=e.options,i=n(this);o.ajaxEnabled?(t=encodeURIComponent(n(e._filterSelector+":visible").val()),o=n(e._doPaginationLinkSelector),n.each(o,function(){var e=n.parseParams(this.search.split("?")[1]||"");e.filter=t,this.search=n.param(e)}),n(e._doPaginationCurrentLinkSelector)[0].click()):location.href=location.pathname+"?filter="+encodeURIComponent(i.val())},_setSelectors:function(){this._filterSelector="#"+this._componentId+" "+this._filterSelectorClass,this._doPaginationLinkSelector="#"+this._componentId+" a."+this._doPaginationSelectorClass,this._doPaginationCurrentLinkSelector="#"+this._componentId+" a."+this._doPaginationSelectorClass+".hidden",this._errorMessagePlaceHolder="#"+this._componentId+" #"+this._errorMessagePlaceholderId},onPartialUpdateError:function(e,t,o){n(this._errorMessagePlaceHolder).show()},showFilter:function(){n(this._filterSelector).show()},refresh:function(){this.options.showFilter&&this.showFilter()}})})(jQuery);;
$.widget("LobbyAndPress.RelatedContentEditable",{options:{pageId:"",dataId:"",enableEditFrameUpdates:!0},_create:function(){this.BindEvents(),this.Initialize()},_destroy:function(){},_setOption:function(t,e){}});;
$.widget("LobbyAndPress.ReceiveAlerts",{options:{pageId:""},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(t,e){},BindEvents:function(){var e=this;$("input, select, button",this.Component).keypress(function(t){13==t.which&&(t.preventDefault(),$(this).blur(),$("#submit",e.Component).focus().click())}),$("#submit",e.Component).click(function(t){t.preventDefault(),e.Send()}),$(".complete-list",e.Component).click(function(t){t.preventDefault(),e.Send()})},Initialize:function(){},Send:function(){var n=this,t={Headlines:[]};$(".Topic:checked",n.Component).each(function(){t.Headlines.push({Code:this.attributes["data-id"].value})}),$.ajax({url:"/LobbyAndPressAPI/LobbyReceiveAlerts/Execute/"+this.options.pageId,data:JSON.stringify(t),contentType:"application/json; charset=utf-8",type:"POST",dataType:"html"}).success(function(t){return n.Redirect($("#submit").attr("data-href")),!0}).error(function(t,e){n.Redirect($("#submit").attr("data-href"))})},Redirect:function(t){location.href=t}});;
$.widget("LobbyAndPress.RecoverPassword",{options:{},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(n,t){},BindEvents:function(){return!0}});;
$.widget("LobbyAndPress.ChangePassword",{options:{},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(t,n){},BindEvents:function(){var n=this;$("input, select, button",this.Component).keypress(function(t){13==t.which&&(t.preventDefault(),$(this).blur(),$("#submit",n.Component).focus().click())})}});;
$.widget("LobbyAndPress.Registration",{options:{formSelector:".jq-registration-form"},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(e,i){},onError:function(e,i,s){this.BindEvents()},onSuccess:function(){this.BindEvents()},BindEvents:function(){var e=this;$("#validationError_registerPrivacyPolicyForJournalist").hide(),$.validator.addMethod("isnumeric",function(e,i,s){return e.startsWith("+")&&e.split("+").length<=1&&(e=e.replace("+","")),null!=parseInt(e)}),$.validator.unobtrusive.adapters.add("isnumeric",["mobilephone","redactionphone","zip"],function(e){e.rules.isnumericredactionphone="#"+e.params.redactionphone,e.rules.isnumericmobilephone="#"+e.params.mobilephone,e.rules.isnumericzip="#"+e.params.zip,e.messages.isnumeric=e.message}),$("input, select, button").keypress(function(e){13==e.which&&(e.preventDefault(),$(this).blur(),$(".registerSubmit").focus().click())}),$(".selectorJournalistFields input").keydown(function(){$(this).parent().children(".field-validation-error").hide(),$(this).removeClass("input-validation-error")}),$("#IsJournalist").change(function(){e.ToggleSectionByCheckbox($(this),$(".selectorJournalistFields")),e.ToggleSectionByCheckboxReverse($(this),$(".selectorNotJournalistFields"))}),$("#registerEnlistedIn").change(function(){$("#EnListedIn").val($("#registerEnlistedIn").val())}),$("#AlertsActivated").change(function(){e.ToggleSectionByCheckbox($(this),$(".selectorAlertsFields"))}),$("#registerPrivacyPolicyBtn").click(function(){$("#registerPrivacyPolicyText").slideToggle("fast")}),$("#registerPrivacyPolicyForJournalistBtn").click(function(){$("#registerPrivacyPolicyForJournalistText").slideToggle("fast")}),$("#registerSubmit").click(function(){return"none"==$(".selectorJournalistFields").css("display")||$("#registerPrivacyPolicyForJournalist")[0].checked?!("none"!=$(".selectorNotJournalistFields").css("display")&&!$("#registerPrivacyPolicy")[0].checked&&($("#validationError_registerPrivacyPolicy").show(),1)):($("#validationError_registerPrivacyPolicyForJournalist").show(),!1)}),$(".tagRegister",e.Component).mouseover(function(e){$(this).val()==$(".subscribeText").val()&&($(this).val($(".subscribedText").val()),$(this).removeClass("souscrire"),$(this).addClass("souscrit"))}),$(".tagRegister",e.Component).mouseout(function(e){$(this).attr("data-val")!=$(".subscribedText").val()&&$(this).val()==$(".subscribedText").val()&&($(this).val($(".subscribeText").val()),$(this).addClass("souscrire"),$(this).removeClass("souscrit"))}),$(".tagRegister",e.Component).click(function(e){var i=!1;$(this).attr("data-val")==$(".subscribeText").val()?($(this).val($(".subscribedText").val()),i=!0,$(this).removeClass("souscrire"),$(this).addClass("souscrit")):($(this).val($(".subscribeText").val()),i=!1,$(this).addClass("souscrire"),$(this).removeClass("souscrit")),$(this).attr("data-val",$(this).val()),$($(this).parent().parent()).children(".tagSelectedValue").val(i)})},ToggleSectionByCheckbox:function(e,i){e.prop("checked")?i.slideDown():i.slideUp()},ToggleSectionByCheckboxReverse:function(e,i){e.prop("checked")?i.slideUp():i.slideDown()}});;
$.widget("LobbyAndPress.MyProfile",{options:{formSelector:".jq-myprofile-form",pageId:""},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(e,t){},onError:function(e,t,i){$("#ServerErrorMessage").show()},onSuccess:function(){this.BindEvents()},BindEvents:function(){var i=this;$("#UserInformation_JournalistInformation_EnlistedIn").val($("#myProfileEnlistedIn").val()),$("#validationError_registerPrivacyPolicyForJournalist").hide(),$("input, select, button").keypress(function(e){13==e.which&&(e.preventDefault(),$(this).blur(),$("#submit").focus().click())}),$("#IsJournalist").change(function(){var e=$(".IsJournalist"),t=e.data("isjournalist"),e=e.data("confirm-msg");t&&!confirm(e)?$("#IsJournalist").prop("checked",!0):i.ToggleSectionByCheckbox($(this),$(".selectorJournalistFields"))}),$("#myProfileEnlistedIn").change(function(){$("#UserInformation_JournalistInformation_EnlistedIn").val($("#myProfileEnlistedIn").val())}),$("#AlertsActivated").change(function(){i.ToggleSectionByCheckbox($(this),$(".selectorAlertsFields"))}),$("#registerPrivacyPolicyBtn").click(function(){$("#registerPrivacyPolicyText").slideToggle("fast")}),$("#registerPrivacyPolicyForJournalistBtn").click(function(){$("#registerPrivacyPolicyForJournalistText").slideToggle("fast")}),$("#submit").click(function(){$("#registerPrivacyPolicyForJournalist")[0].checked||$("#validationError_registerPrivacyPolicyForJournalist").show()}),$("#myProfileChangePassword").click(function(){location.href=$(this).attr("data-href")}),$(".tagProfile",i.Component).mouseover(function(e){$(this).val()==$(".subscribeText").val()&&($(this).val($(".subscribedText").val()),$(this).removeClass("souscrire"),$(this).addClass("souscrit"))}),$(".tagProfile",i.Component).mouseout(function(e){$(this).attr("data-val")!=$(".subscribedText").val()&&$(this).val()==$(".subscribedText").val()&&($(this).val($(".subscribeText").val()),$(this).addClass("souscrire"),$(this).removeClass("souscrit"))}),$(".tagProfile",i.Component).click(function(e){i.Send(this)})},Send:function(t){var e={};e.Code=t.attributes["data-id"].value,$.ajax({url:"/LobbyAndPressAPI/LobbyMyProfile/Execute/"+this.options.pageId,data:JSON.stringify(e),contentType:"application/json; charset=utf-8",type:"POST",dataType:"html"}).success(function(e){return e&&(selected=$(t).attr("data-val")==$(".subscribeText").val()?($(t).val($(".subscribedText").val()),$(t).removeClass("souscrire"),$(t).addClass("souscrit"),!0):($(t).val($(".subscribeText").val()),$(t).addClass("souscrire"),$(t).removeClass("souscrit"),!1),$(t).attr("data-val",$(t).val()),$($(t).parent().parent()).children(".tagSelectedValue").val(selected)),!0}).error(function(e,t){})},ToggleSectionByCheckbox:function(e,t){e.prop("checked")?t.slideDown():t.slideUp()},ToggleSectionByCheckboxReverse:function(e,t){e.prop("checked")?t.slideUp():t.slideDown()}});;
$.widget("LobbyAndPress.IdentifyAsMember",{options:{referrerUrl:""},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(e,t){},BindEvents:function(){var t=this;$("input, select, button",this.Component).keypress(function(e){13==e.which&&(e.preventDefault(),$(this).blur(),$("#identifySubmit",t.Component).focus().click())}),$("#identifySubmit",this.Component).click(function(e){return!!t.ValidateControlDigit()||(e.preventDefault(),!1)}),$("#MemberNumberControl",this.Component).keyup(function(){return t.ValidateControlDigit()})},ValidateControlDigit:function(){var e,t=parseInt($("#MemberNumber").val(),10);return isNaN(t)||(e=parseInt($("#MemberNumberControl").val(),10),97==(t=t%97)&&(t=0),isNaN(e))||0==$("#identifyFamilyNameWrapper").length||t!=e?($("#validationError_MemberNumberRequiredAndValid").show(),$("#identifyFamilyNameWrapper").hide(),$("#MemberNumberControl").addClass("input-validation-error"),!1):($("#identifyFamilyNameWrapper").show(),$("#validationError_MemberNumberRequiredAndValid").hide(),$("#MemberNumberControl").removeClass("input-validation-error"),!0)}});;
$.widget("LobbyAndPress.VideoLister",{options:{pageId:""},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(e,t){},BindEvents:function(){var e=this;e.ReplacePlaceholders(),$(document).ajaxComplete(function(){e.ReplacePlaceholders()})},Initialize:function(){},ReplacePlaceholders:function(){$(".selectorPlaceholder").each(function(){var e=$(this),t=e.data("framesrc"),i=$('<iframe type="text/html" width="400" height="225" src="'+t+'" frameborder="0" allowfullscreen></iframe>');setTimeout(function(){e.replaceWith(i)},0)})}});;
$.widget("LobbyAndPress.InlineImageGallery",{options:{formSelector:".jq-inlineImageGallery-form",pageId:""},_create:function(){this.Initialize()},_destroy:function(){},_setOption:function(e,t){},onError:function(e,t,n){$("#ServerErrorMessage").show()},Initialize:function(){$(".selectorOpenGallery").fancybox({beforeLoad:function(){var e=$(this.element).data("title-id");this.title=$("#"+e).html()},beforeShow:function(){$.fancybox.wrap.bind("contextmenu",function(e){return!1})},openEffect:"elastic",openSpeed:150,closeEffect:"elastic",closeSpeed:150,nextEffect:null,prevEffect:null,helpers:{title:{type:"inside"},thumbs:{height:75,width:100,source:function(e){return $(e.element).find("img").attr("src")}}}});var n=this;$(".galleryItem img").click(function(e){var t=$(this);return!n.ShowGallerySuccess(t)})},ShowGallerySuccess:function(e){var t=this;return $.ajax({url:"/LobbyAndPressAPI/LobbyInlineImageGallery/ShowImage/"+this.options.pageId,data:{pictureId:e.attr("data-id")},type:"POST",dataType:"html"}).success(function(e){return t.OnShowItemsSuccess(jQuery.parseJSON(e)),!0}).error(function(e,t){return!1}),!0},OnShowItemsSuccess:function(e){e.IsValid&&$.fancybox.open(e.Images,{beforeLoad:function(){""!=this.alt&&""!=this.description&&(this.title=this.alt+" - "+this.description)},beforeShow:function(){$.fancybox.wrap.bind("contextmenu",function(e){return!1})},type:"image",openEffect:"fade",openSpeed:150,closeEffect:"fade",closeSpeed:150,nextEffect:null,prevEffect:null,helpers:{title:{type:"float"},thumbs:{height:75,width:100,source:function(e){return e.thumbnail}}}})}});;
$.widget("LobbyAndPress.ImageGalleryLister",{options:{formSelector:".jq-imagegallerylister-form",pageId:""},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(e,t){},onError:function(e,t,n){$("#ServerErrorMessage").show()},BindEvents:function(){var n=this;$(".selectorOpenGallery img").click(function(e){var t=$(this);return!n.ShowGallerySuccess(t)})},ShowGallerySuccess:function(e){var t=this;return $.ajax({url:"/LobbyAndPressAPI/LobbyImageGalleryLister/ShowGallery/"+this.options.pageId,data:{pictureGalleryId:e.attr("data-id")},type:"POST",dataType:"html"}).success(function(e){return t.OnShowItemsSuccess(jQuery.parseJSON(e)),!0}).error(function(e,t){return!1}),!0},OnShowItemsSuccess:function(e){e.IsValid&&$.fancybox.open(e.Images,{beforeLoad:function(){""!=this.alt&&""!=this.description&&(this.title=this.alt+" - "+this.description)},beforeShow:function(){$.fancybox.wrap.bind("contextmenu",function(e){return!1})},type:"image",openEffect:"fade",openSpeed:150,closeEffect:"fade",closeSpeed:150,nextEffect:null,prevEffect:null,helpers:{title:{type:"float"},thumbs:{height:75,width:100,source:function(e){return e.thumbnail}}}})}});;
$.widget("LobbyAndPress.PublicationTopics",{options:{pageId:""},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(t,i){},BindEvents:function(){var i=this;$(".tag",i.Component).mouseover(function(t){$(this).val()==$(".subscribeText").val()&&($(this).val($(".subscribedText").val()),$(this).removeClass("souscrire"),$(this).addClass("souscrit"))}),$(".tag",i.Component).mouseout(function(t){$(this).attr("data-val")!=$(".subscribedText").val()&&$(this).val()==$(".subscribedText").val()&&($(this).val($(".subscribeText").val()),$(this).addClass("souscrire"),$(this).removeClass("souscrit"))}),$(".tag",i.Component).click(function(t){t.preventDefault(),i.Send(this)})},Initialize:function(){},Send:function(t){var i=this,e={};e.Code=t.attributes["data-id"].value,e.Url=t.attributes["data-href"].value,e.DestinationUrl=location.pathname,$.ajax({url:"/LobbyAndPressAPI/LobbyPublicationTopics/Execute/"+this.options.pageId,data:JSON.stringify(e),contentType:"application/json; charset=utf-8",type:"POST",dataType:"html"}).success(function(t){return""!=e.Url?i.Redirect(e.Url):($(".PublicationTopicsController .related-contents").html(t),i.BindEvents()),!0}).error(function(t,i){})},Redirect:function(t){location.href=t}});;
$.widget("LobbyAndPress.PublicationContent",{options:{formSelector:".jq-imagegallerylister-form",pageId:""},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(e,t){},onError:function(e,t,n){$("#ServerErrorMessage").show()},BindEvents:function(){var n=this;$(".selectorOpenGallery img").click(function(e){var t=$(this);return!n.ShowGallerySuccess(t)})},ShowGallerySuccess:function(e){var t=this;return $.ajax({url:"/LobbyAndPressAPI/LobbyPublicationContent/ShowGallery/"+this.options.pageId,data:{pictureGalleryId:e.attr("data-id")},type:"POST",dataType:"html"}).success(function(e){return t.OnShowItemsSuccess(jQuery.parseJSON(e)),!0}).error(function(e,t){return!1}),!0},OnShowItemsSuccess:function(e){e.IsValid&&$.fancybox.open(e.Images,{beforeLoad:function(){""!=this.alt&&""!=this.description&&(this.title=this.alt+" - "+this.description)},beforeShow:function(){$.fancybox.wrap.bind("contextmenu",function(e){return!1})},type:"image",openEffect:"fade",openSpeed:150,closeEffect:"fade",closeSpeed:150,nextEffect:null,prevEffect:null,helpers:{title:{type:"float"},thumbs:{height:75,width:100,source:function(e){return e.thumbnail}}}})}});;
$.widget("LobbyAndPress.ReportBug",{options:{formSelector:".jq-reportbug-form"},_create:function(){},_destroy:function(){},_setOption:function(o,r){},onError:function(o,r,e){$("#ServerErrorMessage",this.Component).show()}});;
$.widget("LobbyAndPress.Web4Bar",{options:{pageId:""},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(o,e){},BindEvents:function(){var e=this;$("#cookieClose",e.Component).click(function(o){o.preventDefault(),e.Send()})},Send:function(){var o={ShowCookiesPolicy:!1};$.ajax({url:"/LobbyAndPressAPI/LobbyWeb4Bar/ValidateCookiesPolicy/"+this.options.pageId,data:JSON.stringify(o),contentType:"application/json; charset=utf-8",type:"POST",dataType:"html"}).success(function(o){return"true"===o?$(".lobbyCookie").show():$(".lobbyCookie").hide("slow"),!0}).error(function(o,e){})}});;
$.widget("LobbyAndPress.NPS",{options:{Id:"",Randomization:"",PopupTimeout:"",Link:""},_create:function(){var t=$("#nps"),o=t.find("button.nps_maxify"),e=t.find(".nps_tooltip.jq_hover"),t=e.find(".jq_returnToLSV"),i=e.find(".jq_nothanks"),n=this;n.GetNPSCookie(o,e,this.options.Id),t.bind("click",function(){n.SetNPSCookie(30,n.options.Id),e.fadeOut(),o.fadeOut();var t=n.ReplaceAll(n.options.Link,"amp;",""),t=n.ReplaceAll(t," ","");window.open(t,"_blank").focus()}),o.click(function(){e.fadeIn()}),i.bind("click",function(){n.SetNPSCookie(30,n.options.Id),e.fadeOut(),o.fadeOut()}),e.addClass("has-button"),e.find(".close").click(function(t){t.stopPropagation(),e.fadeIn()}),$(document).mousemove(this.ResetTimeoutStartSurveyChecker()),$(document).click(this.ResetTimeoutStartSurveyChecker()),e.addClass("has-button"),e.find(".close").click(function(){e.fadeOut()})},_destroy:function(){},_setOption:function(t,o){},SetNPSCookie:function(t,o){var e="_nps_Lobby",i=$.cookie(e);i?i=JSON.parse(i):(i={},$.cookie(e,JSON.stringify(i),{path:"/",expires:t})),i[o]=new Date,$.cookie(e,JSON.stringify(i),{path:"/",expires:t})},GetNPSCookie:function(t,o,e){var i=$.cookie("_nps_Lobby");i?(t.hide(),o.hide(),JSON.parse(i)):(t.fadeIn(),o.fadeIn())},StartSurvey:function(t){Math.floor(Math.random()*t+1)},ResetTimeoutStartSurveyChecker:function(){clearTimeout(this.timeoutid),this.timeoutid=setTimeout(this.StartSurvey(this.options.Randomization),this.options.PopupTimeout)},ReplaceAll:function(t,o,e){for(;-1!=t.toString().indexOf(o);)t=t.toString().replace(o,e);return t}});;
$.widget("LobbyAndPress.Share",{options:{pageId:"",hashtag:"",hashtagCount:""},_create:function(){var t={};t.hashtag=this.options.hashtag,t.hashtagCount=this.options.hashtagCount;$.ajax({type:"POST",url:"/LobbyAndPressAPI/LobbyShare/GetTweets/"+this.options.pageId,data:JSON.stringify(t),contentType:"application/json; charset=utf-8",dataType:"html",success:function(t,a){$(".twitterComments").html(t)}})},_destroy:function(){},_setOption:function(t,a){}});;
$.widget("LobbyAndPress.Error404",{options:{referrerUrl:""},_create:function(){this.BindEvents()},_destroy:function(){},_setOption:function(o,n){},BindEvents:function(){var n=$(".selectorDoSearch404"),o=$(".selectorSearch404Value");n.click(function(){""!=o.val()&&null!=o.val()&&(location.href=n.attr("data-href")+"?sq="+encodeURIComponent(o.val()))}),o.keypress(function(o){return 13!=o.which||(n.click(),!1)})},HandleResult:function(o,n,t){location.href=window.location.protocol+"//"+window.location.hostname+(""!=window.location.port?":"+window.location.port:"")+this.options.referrerUrl}});;
$.widget("LobbyAndPress.Navigation",{options:{Id:""},_create:function(){$(".submenu").on("click","#doClickNavigation",function(t){return this.href=$(this).attr("data-href"),!0})},_destroy:function(){},_setOption:function(t,n){}});;
$.widget("LobbyAndPress.GoogleMaps",{options:{container:null,latitide:0,longitude:0},map:null,_create:function(){var o={center:new google.maps.LatLng(this.options.latitude,this.options.longitude),mapTypeId:google.maps.MapTypeId.ROADMAP,zoom:17,scrollwheel:!1};this.map=new google.maps.Map(this.options.container,o),new google.maps.Marker({position:new google.maps.LatLng(this.options.latitude,this.options.longitude),clickable:!1}).setMap(this.map)},_destroy:function(){},_setOption:function(o,t){}});;
$.widget("LobbyAndPress.YoutubeVideo",{options:{container:null,videoUrl:"",width:0,height:0,mode:"inline",loadOn:"onload"},_create:function(){var e=this._getPlaceholder();if(e){if("inline"===this.options.mode)switch(this.options.loadOn){case"onload":this.replacePlaceholder(e);break;case"onclick":this.options.container.bind("click",$.proxy(this.replacePlaceholder,this,e))}"popup"===this.options.mode&&e.addClass("fancybox.iframe").fancybox({href:this.options.videoUrl,openEffect:"none",closeEffect:"none",helpers:{title:null}})}},_getPlaceholder:function(){var e=$(this.options.container);return!!e.length&&!0===e.data("load")&&e},replacePlaceholder:function(e){var o=this.options.container.id,i=this.options.videoUrl,t=this.options.width,n=this.options.height,l=$('<iframe id="'+o+'" type="text/html" width="'+t+'" height="'+n+'" src="'+i+'" frameborder="0" allowfullscreen></iframe>');setTimeout(function(){e.replaceWith(l)},0)}});;
(u=>{u.flexslider=function(p,e){var t,m=u(p),r=(m.vars=u.extend({},u.flexslider.defaults,e),m.vars.namespace),f=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,o=("ontouchstart"in window||f||window.DocumentTouch&&document instanceof DocumentTouch)&&m.vars.touch,s="click touchend MSPointerUp keyup",l="",g="vertical"===m.vars.direction,h=m.vars.reverse,S=0<m.vars.itemWidth,y="fade"===m.vars.animation,c=""!==m.vars.asNavFor,d={};u.data(p,"flexslider",m),d={init:function(){m.animating=!1,m.currentSlide=parseInt(m.vars.startAt||0,10),isNaN(m.currentSlide)&&(m.currentSlide=0),m.animatingTo=m.currentSlide,m.atEnd=0===m.currentSlide||m.currentSlide===m.last,m.containerSelector=m.vars.selector.substr(0,m.vars.selector.search(" ")),m.slides=u(m.vars.selector,m),m.container=u(m.containerSelector,m),m.count=m.slides.length,m.syncExists=0<u(m.vars.sync).length,"slide"===m.vars.animation&&(m.vars.animation="swing"),m.prop=g?"top":"marginLeft",m.args={},m.manualPause=!1,m.stopped=!1,m.started=!1,m.startTimeout=null,m.transitions=!m.vars.video&&!y&&m.vars.useCSS&&(()=>{var e,t=document.createElement("div"),a=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(e in a)if(void 0!==t.style[a[e]])return m.pfx=a[e].replace("Perspective","").toLowerCase(),m.prop="-"+m.pfx+"-transform",!0;return!1})(),(m.ensureAnimationEnd="")!==m.vars.controlsContainer&&(m.controlsContainer=0<u(m.vars.controlsContainer).length&&u(m.vars.controlsContainer)),""!==m.vars.manualControls&&(m.manualControls=0<u(m.vars.manualControls).length&&u(m.vars.manualControls)),m.vars.randomize&&(m.slides.sort(function(){return Math.round(Math.random())-.5}),m.container.empty().append(m.slides)),m.doMath(),m.setup("init"),m.vars.controlNav&&d.controlNav.setup(),m.vars.directionNav&&d.directionNav.setup(),m.vars.keyboard&&(1===u(m.containerSelector).length||m.vars.multipleKeyboard)&&u(document).bind("keyup",function(e){var e=e.keyCode;m.animating||39!==e&&37!==e||(e=39===e?m.getTarget("next"):37===e&&m.getTarget("prev"),m.flexAnimate(e,m.vars.pauseOnAction))}),m.vars.mousewheel&&m.bind("mousewheel",function(e,t,a,n){e.preventDefault();e=t<0?m.getTarget("next"):m.getTarget("prev");m.flexAnimate(e,m.vars.pauseOnAction)}),m.vars.pausePlay&&d.pausePlay.setup(),m.vars.slideshow&&m.vars.pauseInvisible&&d.pauseInvisible.init(),m.vars.slideshow&&(m.vars.pauseOnHover&&m.hover(function(){m.manualPlay||m.manualPause||m.pause()},function(){m.manualPause||m.manualPlay||m.stopped||m.play()}),m.vars.pauseInvisible&&d.pauseInvisible.isHidden()||(0<m.vars.initDelay?m.startTimeout=setTimeout(m.play,m.vars.initDelay):m.play())),c&&d.asNav.setup(),o&&m.vars.touch&&d.touch(),y&&!m.vars.smoothHeight||u(window).bind("resize orientationchange focus",d.resize),m.find("img").attr("draggable","false"),setTimeout(function(){m.vars.start(m)},200)},asNav:{setup:function(){m.asNav=!0,m.animatingTo=Math.floor(m.currentSlide/m.move),m.currentItem=m.currentSlide,m.slides.removeClass(r+"active-slide").eq(m.currentItem).addClass(r+"active-slide"),f?(p._slider=m).slides.each(function(){var e=this;e._gesture=new MSGesture,(e._gesture.target=e).addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var e=u(this),t=e.index();u(m.vars.asNavFor).data("flexslider").animating||e.hasClass("active")||(m.direction=m.currentItem<t?"next":"prev",m.flexAnimate(t,m.vars.pauseOnAction,!1,!0,!0))})}):m.slides.on(s,function(e){e.preventDefault();var e=u(this),t=e.index();e.offset().left-u(m).scrollLeft()<=0&&e.hasClass(r+"active-slide")?m.flexAnimate(m.getTarget("prev"),!0):u(m.vars.asNavFor).data("flexslider").animating||e.hasClass(r+"active-slide")||(m.direction=m.currentItem<t?"next":"prev",m.flexAnimate(t,m.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){m.manualControls?d.controlNav.setupManual():d.controlNav.setupPaging()},setupPaging:function(){var e="thumbnails"===m.vars.controlNav?"control-thumbs":"control-paging",t=1;if(m.controlNavScaffold=u('<ol class="'+r+"control-nav "+r+e+'"></ol>'),1<m.pagingCount)for(var a=0;a<m.pagingCount;a++){var n=m.slides.eq(a),i="thumbnails"===m.vars.controlNav?'<img src="'+n.attr("data-thumb")+'"/>':"<a>"+t+"</a>";"thumbnails"===m.vars.controlNav&&!0===m.vars.thumbCaptions&&""!=(n=n.attr("data-thumbcaption"))&&null!=n&&(i+='<span class="'+r+'caption">'+n+"</span>"),m.controlNavScaffold.append("<li>"+i+"</li>"),t++}(m.controlsContainer?u(m.controlsContainer):m).append(m.controlNavScaffold),d.controlNav.set(),d.controlNav.active(),m.controlNavScaffold.delegate("a, img",s,function(e){var t,a;e.preventDefault(),""!==l&&l!==e.type||(t=u(this),a=m.controlNav.index(t),t.hasClass(r+"active"))||(m.direction=a>m.currentSlide?"next":"prev",m.flexAnimate(a,m.vars.pauseOnAction)),""===l&&(l=e.type),d.setToClearWatchedEvent()})},setupManual:function(){m.controlNav=m.manualControls,d.controlNav.active(),m.controlNav.bind(s,function(e){var t,a;e.preventDefault(),""!==l&&l!==e.type||(t=u(this),a=m.controlNav.index(t),t.hasClass(r+"active"))||(a>m.currentSlide?m.direction="next":m.direction="prev",m.flexAnimate(a,m.vars.pauseOnAction)),""===l&&(l=e.type),d.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===m.vars.controlNav?"img":"a";m.controlNav=u("."+r+"control-nav li "+e,m.controlsContainer||m)},active:function(){m.controlNav.removeClass(r+"active").eq(m.animatingTo).addClass(r+"active")},update:function(e,t){1<m.pagingCount&&"add"===e?m.controlNavScaffold.append(u("<li><a>"+m.count+"</a></li>")):(1===m.pagingCount?m.controlNavScaffold.find("li"):m.controlNav.eq(t).closest("li")).remove(),d.controlNav.set(),1<m.pagingCount&&m.pagingCount!==m.controlNav.length?m.update(t,e):d.controlNav.active()}},directionNav:{setup:function(){var e=u('<ul class="'+r+'direction-nav"><li><a class="'+r+'prev" href="#">'+m.vars.prevText+'</a></li><li><a class="'+r+'next" href="#">'+m.vars.nextText+"</a></li></ul>");m.controlsContainer?(u(m.controlsContainer).append(e),m.directionNav=u("."+r+"direction-nav li a",m.controlsContainer)):(m.append(e),m.directionNav=u("."+r+"direction-nav li a",m)),d.directionNav.update(),m.directionNav.bind(s,function(e){var t;e.preventDefault(),""!==l&&l!==e.type||(t=u(this).hasClass(r+"next")?m.getTarget("next"):m.getTarget("prev"),m.flexAnimate(t,m.vars.pauseOnAction)),""===l&&(l=e.type),d.setToClearWatchedEvent()})},update:function(){var e=r+"disabled";1===m.pagingCount?m.directionNav.addClass(e).attr("tabindex","-1"):m.vars.animationLoop?m.directionNav.removeClass(e).removeAttr("tabindex"):0===m.animatingTo?m.directionNav.removeClass(e).filter("."+r+"prev").addClass(e).attr("tabindex","-1"):m.animatingTo===m.last?m.directionNav.removeClass(e).filter("."+r+"next").addClass(e).attr("tabindex","-1"):m.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=u('<div class="'+r+'pauseplay"><a></a></div>');m.controlsContainer?(m.controlsContainer.append(e),m.pausePlay=u("."+r+"pauseplay a",m.controlsContainer)):(m.append(e),m.pausePlay=u("."+r+"pauseplay a",m)),d.pausePlay.update(m.vars.slideshow?r+"pause":r+"play"),m.pausePlay.bind(s,function(e){e.preventDefault(),""!==l&&l!==e.type||(u(this).hasClass(r+"pause")?(m.manualPause=!0,m.manualPlay=!1,m.pause()):(m.manualPause=!1,m.manualPlay=!0,m.play())),""===l&&(l=e.type),d.setToClearWatchedEvent()})},update:function(e){"play"===e?m.pausePlay.removeClass(r+"pause").addClass(r+"play").html(m.vars.playText):m.pausePlay.removeClass(r+"play").addClass(r+"pause").html(m.vars.pauseText)}},touch:function(){var n,i,s,r,o,l,c=!1,t=0,a=0,d=0;function u(e){t=e.touches[0].pageX,a=e.touches[0].pageY,o=g?n-a:n-t;(!(c=g?Math.abs(o)<Math.abs(t-i):Math.abs(o)<Math.abs(a-i))||500<Number(new Date)-l)&&(e.preventDefault(),!y)&&m.transitions&&(m.vars.animationLoop||(o/=0===m.currentSlide&&o<0||m.currentSlide===m.last&&0<o?Math.abs(o)/r+2:1),m.setProps(s+o,"setTouch"))}function v(e){var t,a;p.removeEventListener("touchmove",u,!1),m.animatingTo!==m.currentSlide||c||null===o||(a=0<(t=h?-o:o)?m.getTarget("next"):m.getTarget("prev"),m.canAdvance(a)&&(Number(new Date)-l<550&&50<Math.abs(t)||Math.abs(t)>r/2)?m.flexAnimate(a,m.vars.pauseOnAction):y||m.flexAnimate(m.currentSlide,m.vars.pauseOnAction,!0)),p.removeEventListener("touchend",v,!1),s=o=i=n=null}f?(p.style.msTouchAction="none",p._gesture=new MSGesture,(p._gesture.target=p).addEventListener("MSPointerDown",function(e){e.stopPropagation(),m.animating?e.preventDefault():(m.pause(),p._gesture.addPointer(e.pointerId),d=0,r=g?m.h:m.w,l=Number(new Date),s=S&&h&&m.animatingTo===m.last?0:S&&h?m.limit-(m.itemW+m.vars.itemMargin)*m.move*m.animatingTo:S&&m.currentSlide===m.last?m.limit:S?(m.itemW+m.vars.itemMargin)*m.move*m.currentSlide:h?(m.last-m.currentSlide+m.cloneOffset)*r:(m.currentSlide+m.cloneOffset)*r)},!1),p._slider=m,p.addEventListener("MSGestureChange",function(e){e.stopPropagation();var t,a,n=e.target._slider;n&&(t=-e.translationX,a=-e.translationY,o=d+=g?a:t,c=g?Math.abs(d)<Math.abs(-t):Math.abs(d)<Math.abs(-a),e.detail===e.MSGESTURE_FLAG_INERTIA?setImmediate(function(){p._gesture.stop()}):(!c||500<Number(new Date)-l)&&(e.preventDefault(),!y)&&n.transitions&&(n.vars.animationLoop||(o=d/(0===n.currentSlide&&d<0||n.currentSlide===n.last&&0<d?Math.abs(d)/r+2:1)),n.setProps(s+o,"setTouch")))},!1),p.addEventListener("MSGestureEnd",function(e){e.stopPropagation();var t,a,e=e.target._slider;e&&(e.animatingTo!==e.currentSlide||c||null===o||(a=0<(t=h?-o:o)?e.getTarget("next"):e.getTarget("prev"),e.canAdvance(a)&&(Number(new Date)-l<550&&50<Math.abs(t)||Math.abs(t)>r/2)?e.flexAnimate(a,e.vars.pauseOnAction):y||e.flexAnimate(e.currentSlide,e.vars.pauseOnAction,!0)),s=o=i=n=null,d=0)},!1)):p.addEventListener("touchstart",function(e){m.animating?e.preventDefault():!window.navigator.msPointerEnabled&&1!==e.touches.length||(m.pause(),r=g?m.h:m.w,l=Number(new Date),t=e.touches[0].pageX,a=e.touches[0].pageY,s=S&&h&&m.animatingTo===m.last?0:S&&h?m.limit-(m.itemW+m.vars.itemMargin)*m.move*m.animatingTo:S&&m.currentSlide===m.last?m.limit:S?(m.itemW+m.vars.itemMargin)*m.move*m.currentSlide:h?(m.last-m.currentSlide+m.cloneOffset)*r:(m.currentSlide+m.cloneOffset)*r,n=g?a:t,i=g?t:a,p.addEventListener("touchmove",u,!1),p.addEventListener("touchend",v,!1))},!1)},resize:function(){!m.animating&&m.is(":visible")&&(S||m.doMath(),y?d.smoothHeight():S?(m.slides.width(m.computedW),m.update(m.pagingCount),m.setProps()):g?(m.viewport.height(m.h),m.setProps(m.h,"setTotal")):(m.vars.smoothHeight&&d.smoothHeight(),m.newSlides.width(m.computedW),m.setProps(m.computedW,"setTotal")))},smoothHeight:function(e){var t;g&&!y||(t=y?m:m.viewport,e?t.animate({height:m.slides.eq(m.animatingTo).height()},e):t.height(m.slides.eq(m.animatingTo).height()))},sync:function(e){var t=u(m.vars.sync).data("flexslider"),a=m.animatingTo;switch(e){case"animate":t.flexAnimate(a,m.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=u(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t,a=0;a<e.length;a++)e[a]+"Hidden"in document&&(d.pauseInvisible.visProp=e[a]+"Hidden");d.pauseInvisible.visProp&&(t=d.pauseInvisible.visProp.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(t,function(){d.pauseInvisible.isHidden()?m.startTimeout?clearTimeout(m.startTimeout):m.pause():!m.started&&0<m.vars.initDelay?setTimeout(m.play,m.vars.initDelay):m.play()}))},isHidden:function(){return document[d.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(t),t=setTimeout(function(){l=""},3e3)}},m.flexAnimate=function(e,t,a,n,i){if(m.vars.animationLoop||e===m.currentSlide||(m.direction=e>m.currentSlide?"next":"prev"),c&&1===m.pagingCount&&(m.direction=m.currentItem<e?"next":"prev"),!m.animating&&(m.canAdvance(e,i)||a)&&m.is(":visible")){if(c&&n){a=u(m.vars.asNavFor).data("flexslider");if(m.atEnd=0===e||e===m.count-1,a.flexAnimate(e,!0,!1,!0,i),m.direction=m.currentItem<e?"next":"prev",a.direction=m.direction,Math.ceil((e+1)/m.visible)-1===m.currentSlide||0===e)return m.currentItem=e,m.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),!1;m.currentItem=e,m.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),e=Math.floor(e/m.visible)}var s;m.animating=!0,m.animatingTo=e,t&&m.pause(),m.vars.before(m),m.syncExists&&!i&&d.sync("animate"),m.vars.controlNav&&d.controlNav.active(),S||m.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),m.atEnd=0===e||e===m.last,m.vars.directionNav&&d.directionNav.update(),e===m.last&&(m.vars.end(m),m.vars.animationLoop||m.pause()),y?o?(m.slides.eq(m.currentSlide).css({opacity:0,zIndex:1}),m.slides.eq(e).css({opacity:1,zIndex:2}),m.wrapup(s)):(m.slides.eq(m.currentSlide).css({zIndex:1}).animate({opacity:0},m.vars.animationSpeed,m.vars.easing),m.slides.eq(e).css({zIndex:2}).animate({opacity:1},m.vars.animationSpeed,m.vars.easing,m.wrapup)):(s=g?m.slides.filter(":first").height():m.computedW,t=S?(n=m.vars.itemMargin,(a=(m.itemW+n)*m.move*m.animatingTo)>m.limit&&1!==m.visible?m.limit:a):0===m.currentSlide&&e===m.count-1&&m.vars.animationLoop&&"next"!==m.direction?h?(m.count+m.cloneOffset)*s:0:m.currentSlide===m.last&&0===e&&m.vars.animationLoop&&"prev"!==m.direction?h?0:(m.count+1)*s:h?(m.count-1-e+m.cloneOffset)*s:(e+m.cloneOffset)*s,m.setProps(t,"",m.vars.animationSpeed),m.transitions?(m.vars.animationLoop&&m.atEnd||(m.animating=!1,m.currentSlide=m.animatingTo),m.container.unbind("webkitTransitionEnd transitionend"),m.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(m.ensureAnimationEnd),m.wrapup(s)}),clearTimeout(m.ensureAnimationEnd),m.ensureAnimationEnd=setTimeout(function(){m.wrapup(s)},m.vars.animationSpeed+100)):m.container.animate(m.args,m.vars.animationSpeed,m.vars.easing,function(){m.wrapup(s)})),m.vars.smoothHeight&&d.smoothHeight(m.vars.animationSpeed)}},m.wrapup=function(e){y||S||(0===m.currentSlide&&m.animatingTo===m.last&&m.vars.animationLoop?m.setProps(e,"jumpEnd"):m.currentSlide===m.last&&0===m.animatingTo&&m.vars.animationLoop&&m.setProps(e,"jumpStart")),m.animating=!1,m.currentSlide=m.animatingTo,m.vars.after(m)},m.animateSlides=function(){m.animating||m.flexAnimate(m.getTarget("next"))},m.pause=function(){clearInterval(m.animatedSlides),m.animatedSlides=null,m.playing=!1,m.vars.pausePlay&&d.pausePlay.update("play"),m.syncExists&&d.sync("pause")},m.play=function(){m.playing&&clearInterval(m.animatedSlides),m.animatedSlides=m.animatedSlides||setInterval(m.animateSlides,m.vars.slideshowSpeed),m.started=m.playing=!0,m.vars.pausePlay&&d.pausePlay.update("pause"),m.syncExists&&d.sync("play")},m.stop=function(){m.pause(),m.stopped=!0},m.canAdvance=function(e,t){var a=c?m.pagingCount-1:m.last;return!!t||c&&m.currentItem===m.count-1&&0===e&&"prev"===m.direction||!(c&&0===m.currentItem&&e===m.pagingCount-1&&"next"!==m.direction||e===m.currentSlide&&!c||!m.vars.animationLoop&&(m.atEnd&&0===m.currentSlide&&e===a&&"next"!==m.direction||m.atEnd&&m.currentSlide===a&&0===e&&"next"===m.direction))},m.getTarget=function(e){return"next"===(m.direction=e)?m.currentSlide===m.last?0:m.currentSlide+1:0===m.currentSlide?m.last:m.currentSlide-1},m.setProps=function(e,t,a){n=e||(m.itemW+m.vars.itemMargin)*m.move*m.animatingTo;var n,i=-1*(()=>{if(S)return"setTouch"===t?e:h&&m.animatingTo===m.last?0:h?m.limit-(m.itemW+m.vars.itemMargin)*m.move*m.animatingTo:m.animatingTo===m.last?m.limit:n;switch(t){case"setTotal":return h?(m.count-1-m.currentSlide+m.cloneOffset)*e:(m.currentSlide+m.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return h?e:m.count*e;case"jumpStart":return h?m.count*e:e;default:return e}})()+"px";m.transitions&&(i=g?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)",m.container.css("-"+m.pfx+"-transition-duration",a=void 0!==a?a/1e3+"s":"0s"),m.container.css("transition-duration",a)),m.args[m.prop]=i,!m.transitions&&void 0!==a||m.container.css(m.args),m.container.css("transform",i)},m.setup=function(e){var t,a;y?(m.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===e&&(o?m.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+m.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(m.currentSlide).css({opacity:1,zIndex:2}):0==m.vars.fadeFirstSlide?m.slides.css({opacity:0,display:"block",zIndex:1}).eq(m.currentSlide).css({zIndex:2}).css({opacity:1}):m.slides.css({opacity:0,display:"block",zIndex:1}).eq(m.currentSlide).css({zIndex:2}).animate({opacity:1},m.vars.animationSpeed,m.vars.easing)),m.vars.smoothHeight&&d.smoothHeight()):("init"===e&&(m.viewport=u('<div class="'+r+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(m).append(m.container),m.cloneCount=0,m.cloneOffset=0,h)&&(a=u.makeArray(m.slides).reverse(),m.slides=u(a),m.container.empty().append(m.slides)),m.vars.animationLoop&&!S&&(m.cloneCount=2,m.cloneOffset=1,"init"!==e&&m.container.find(".clone").remove(),m.container.append(d.uniqueID(m.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(d.uniqueID(m.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),m.newSlides=u(m.vars.selector,m),t=h?m.count-1-m.currentSlide+m.cloneOffset:m.currentSlide+m.cloneOffset,g&&!S?(m.container.height(200*(m.count+m.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){m.newSlides.css({display:"block"}),m.doMath(),m.viewport.height(m.h),m.setProps(t*m.h,"init")},"init"===e?100:0)):(m.container.width(200*(m.count+m.cloneCount)+"%"),m.setProps(t*m.computedW,"init"),setTimeout(function(){m.doMath(),m.newSlides.css({width:m.computedW,float:"left",display:"block"}),m.vars.smoothHeight&&d.smoothHeight()},"init"===e?100:0))),S||m.slides.removeClass(r+"active-slide").eq(m.currentSlide).addClass(r+"active-slide"),m.vars.init(m)},m.doMath=function(){var e=m.slides.first(),t=m.vars.itemMargin,a=m.vars.minItems,n=m.vars.maxItems;m.w=(void 0===m.viewport?m:m.viewport).width(),m.h=e.height(),m.boxPadding=e.outerWidth()-e.width(),S?(m.itemT=m.vars.itemWidth+t,m.minW=a?a*m.itemT:m.w,m.maxW=n?n*m.itemT-t:m.w,m.itemW=m.minW>m.w?(m.w-t*(a-1))/a:m.maxW<m.w?(m.w-t*(n-1))/n:m.vars.itemWidth>m.w?m.w:m.vars.itemWidth,m.visible=Math.floor(m.w/m.itemW),m.move=0<m.vars.move&&m.vars.move<m.visible?m.vars.move:m.visible,m.pagingCount=Math.ceil((m.count-m.visible)/m.move+1),m.last=m.pagingCount-1,m.limit=1===m.pagingCount?0:m.vars.itemWidth>m.w?m.itemW*(m.count-1)+t*(m.count-1):(m.itemW+t)*m.count-m.w-t):(m.itemW=m.w,m.pagingCount=m.count,m.last=m.count-1),m.computedW=m.itemW-m.boxPadding},m.update=function(e,t){m.doMath(),S||(e<m.currentSlide?m.currentSlide+=1:e<=m.currentSlide&&0!==e&&--m.currentSlide,m.animatingTo=m.currentSlide),m.vars.controlNav&&!m.manualControls&&("add"===t&&!S||m.pagingCount>m.controlNav.length?d.controlNav.update("add"):("remove"===t&&!S||m.pagingCount<m.controlNav.length)&&(S&&m.currentSlide>m.last&&(--m.currentSlide,--m.animatingTo),d.controlNav.update("remove",m.last))),m.vars.directionNav&&d.directionNav.update()},m.addSlide=function(e,t){e=u(e);m.count+=1,m.last=m.count-1,g&&h?void 0!==t?m.slides.eq(m.count-t).after(e):m.container.prepend(e):void 0!==t?m.slides.eq(t).before(e):m.container.append(e),m.update(t,"add"),m.slides=u(m.vars.selector+":not(.clone)",m),m.setup(),m.vars.added(m)},m.removeSlide=function(e){var t=isNaN(e)?m.slides.index(u(e)):e;--m.count,m.last=m.count-1,(isNaN(e)?u(e,m.slides):g&&h?m.slides.eq(m.last):m.slides.eq(e)).remove(),m.doMath(),m.update(t,"remove"),m.slides=u(m.vars.selector+":not(.clone)",m),m.setup(),m.vars.removed(m)},d.init()},u(window).blur(function(e){focused=!1}).focus(function(e){focused=!0}),u.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},u.fn.flexslider=function(a){if("object"==typeof(a=void 0===a?{}:a))return this.each(function(){var e=u(this),t=a.selector||".slides > li",t=e.find(t);1===t.length&&!0===a.allowOneSlide||0===t.length?(t.fadeIn(400),a.start&&a.start(e)):void 0===e.data("flexslider")&&new u.flexslider(this,a)});var e=u(this).data("flexslider");switch(a){case"play":e.play();break;case"pause":e.pause();break;case"stop":e.stop();break;case"next":e.flexAnimate(e.getTarget("next"),!0);break;case"prev":case"previous":e.flexAnimate(e.getTarget("prev"),!0);break;default:"number"==typeof a&&e.flexAnimate(a,!0)}}})(jQuery);;
jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(n,t,e,u,a){return jQuery.easing[jQuery.easing.def](n,t,e,u,a)},easeInQuad:function(n,t,e,u,a){return u*(t/=a)*t+e},easeOutQuad:function(n,t,e,u,a){return-u*(t/=a)*(t-2)+e},easeInOutQuad:function(n,t,e,u,a){return(t/=a/2)<1?u/2*t*t+e:-u/2*(--t*(t-2)-1)+e},easeInCubic:function(n,t,e,u,a){return u*(t/=a)*t*t+e},easeOutCubic:function(n,t,e,u,a){return u*((t=t/a-1)*t*t+1)+e},easeInOutCubic:function(n,t,e,u,a){return(t/=a/2)<1?u/2*t*t*t+e:u/2*((t-=2)*t*t+2)+e},easeInQuart:function(n,t,e,u,a){return u*(t/=a)*t*t*t+e},easeOutQuart:function(n,t,e,u,a){return-u*((t=t/a-1)*t*t*t-1)+e},easeInOutQuart:function(n,t,e,u,a){return(t/=a/2)<1?u/2*t*t*t*t+e:-u/2*((t-=2)*t*t*t-2)+e},easeInQuint:function(n,t,e,u,a){return u*(t/=a)*t*t*t*t+e},easeOutQuint:function(n,t,e,u,a){return u*((t=t/a-1)*t*t*t*t+1)+e},easeInOutQuint:function(n,t,e,u,a){return(t/=a/2)<1?u/2*t*t*t*t*t+e:u/2*((t-=2)*t*t*t*t+2)+e},easeInSine:function(n,t,e,u,a){return-u*Math.cos(t/a*(Math.PI/2))+u+e},easeOutSine:function(n,t,e,u,a){return u*Math.sin(t/a*(Math.PI/2))+e},easeInOutSine:function(n,t,e,u,a){return-u/2*(Math.cos(Math.PI*t/a)-1)+e},easeInExpo:function(n,t,e,u,a){return 0==t?e:u*Math.pow(2,10*(t/a-1))+e},easeOutExpo:function(n,t,e,u,a){return t==a?e+u:u*(1-Math.pow(2,-10*t/a))+e},easeInOutExpo:function(n,t,e,u,a){return 0==t?e:t==a?e+u:(t/=a/2)<1?u/2*Math.pow(2,10*(t-1))+e:u/2*(2-Math.pow(2,-10*--t))+e},easeInCirc:function(n,t,e,u,a){return-u*(Math.sqrt(1-(t/=a)*t)-1)+e},easeOutCirc:function(n,t,e,u,a){return u*Math.sqrt(1-(t=t/a-1)*t)+e},easeInOutCirc:function(n,t,e,u,a){return(t/=a/2)<1?-u/2*(Math.sqrt(1-t*t)-1)+e:u/2*(Math.sqrt(1-(t-=2)*t)+1)+e},easeInElastic:function(n,t,e,u,a){var r=1.70158,i=0,s=u;return 0==t?e:1==(t/=a)?e+u:(i=i||.3*a,r=s<Math.abs(u)?(s=u,i/4):i/(2*Math.PI)*Math.asin(u/s),-(s*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t*a-r)/i))+e)},easeOutElastic:function(n,t,e,u,a){var r=1.70158,i=0,s=u;return 0==t?e:1==(t/=a)?e+u:(i=i||.3*a,r=s<Math.abs(u)?(s=u,i/4):i/(2*Math.PI)*Math.asin(u/s),s*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t*a-r)/i)+u+e)},easeInOutElastic:function(n,t,e,u,a){var r=1.70158,i=0,s=u;return 0==t?e:2==(t/=a/2)?e+u:(i=i||a*(.3*1.5),r=s<Math.abs(u)?(s=u,i/4):i/(2*Math.PI)*Math.asin(u/s),t<1?s*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t*a-r)/i)*-.5+e:s*Math.pow(2,-10*--t)*Math.sin(2*Math.PI*(t*a-r)/i)*.5+u+e)},easeInBack:function(n,t,e,u,a,r){return u*(t/=a)*t*(((r=null==r?1.70158:r)+1)*t-r)+e},easeOutBack:function(n,t,e,u,a,r){return u*((t=t/a-1)*t*(((r=null==r?1.70158:r)+1)*t+r)+1)+e},easeInOutBack:function(n,t,e,u,a,r){return null==r&&(r=1.70158),(t/=a/2)<1?u/2*(t*t*((1+(r*=1.525))*t-r))+e:u/2*((t-=2)*t*((1+(r*=1.525))*t+r)+2)+e},easeInBounce:function(n,t,e,u,a){return u-jQuery.easing.easeOutBounce(n,a-t,0,u,a)+e},easeOutBounce:function(n,t,e,u,a){return(t/=a)<1/2.75?u*(7.5625*t*t)+e:t<2/2.75?u*(7.5625*(t-=1.5/2.75)*t+.75)+e:t<2.5/2.75?u*(7.5625*(t-=2.25/2.75)*t+.9375)+e:u*(7.5625*(t-=2.625/2.75)*t+.984375)+e},easeInOutBounce:function(n,t,e,u,a){return t<a/2?.5*jQuery.easing.easeInBounce(n,2*t,0,u,a)+e:.5*jQuery.easing.easeOutBounce(n,2*t-a,0,u,a)+.5*u+e}});;
(o=>{var t=["DOMMouseScroll","mousewheel"];if(o.event.fixHooks)for(var e=t.length;e;)o.event.fixHooks[t[--e]]=o.event.mouseHooks;function n(e){var t=e||window.event,n=[].slice.call(arguments,1),i=0,l=0,s=0;return(e=o.event.fix(t)).type="mousewheel",t.wheelDelta&&(i=t.wheelDelta/120),s=i=t.detail?-t.detail/3:i,void 0!==t.axis&&t.axis===t.HORIZONTAL_AXIS&&(s=0,l=-1*i),void 0!==t.wheelDeltaY&&(s=t.wheelDeltaY/120),void 0!==t.wheelDeltaX&&(l=-1*t.wheelDeltaX/120),n.unshift(e,i,l,s),(o.event.dispatch||o.event.handle).apply(this,n)}o.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],n,!1);else this.onmousewheel=n},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],n,!1);else this.onmousewheel=null}},o.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})})(jQuery);;
