text: !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(x,e){"use strict";function g(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,a=t.slice,m=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},l=t.push,o=t.indexOf,i={},r=i.toString,v=i.hasOwnProperty,s=v.toString,c=s.call(Object),b={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},E=x.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,n){var i,o,r=(n=n||E).createElement("script");if(r.text=e,t)for(i in u)(o=t[i]||t.getAttribute&&t.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function p(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?i[r.call(e)]||"object":typeof e}var d="3.6.0",T=function(e,t){return new T.fn.init(e,t)};function h(e){var t=!!e&&"length"in e&&e.length,n=p(e);return!y(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}T.fn=T.prototype={jquery:d,constructor:T,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){e=T.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return T.each(this,e)},map:function(n){return this.pushStack(T.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:t.sort,splice:t.splice},T.extend=T.fn.extend=function(){var e,t,n,i,o,r=arguments[0]||{},s=1,a=arguments.length,l=!1;for("boolean"==typeof r&&(l=r,r=arguments[s]||{},s++),"object"==typeof r||y(r)||(r={}),s===a&&(r=this,s--);s<a;s++)if(null!=(e=arguments[s]))for(t in e)n=e[t],"__proto__"!==t&&r!==n&&(l&&n&&(T.isPlainObject(n)||(i=Array.isArray(n)))?(o=r[t],o=i&&!Array.isArray(o)?[]:i||T.isPlainObject(o)?o:{},i=!1,r[t]=T.extend(l,o,n)):void 0!==n&&(r[t]=n));return r},T.extend({expando:"jQuery"+(d+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==r.call(e)||(e=n(e))&&("function"!=typeof(e=v.call(e,"constructor")&&e.constructor)||s.call(e)!==c))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,n){_(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(h(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){t=t||[];return null!=e&&(h(Object(e))?T.merge(t,"string"==typeof e?[e]:e):l.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:o.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,s=!n;o<r;o++)!t(e[o],o)!=s&&i.push(e[o]);return i},map:function(e,t,n){var i,o,r=0,s=[];if(h(e))for(i=e.length;r<i;r++)null!=(o=t(e[r],r,n))&&s.push(o);else for(r in e)null!=(o=t(e[r],r,n))&&s.push(o);return m(s)},guid:1,support:b}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=t[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){i["[object "+t+"]"]=t.toLowerCase()});var f=function(n){function d(e,t){return e="0x"+e.slice(1)-65536,t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))}function i(){x()}var e,h,_,r,o,f,p,g,w,l,c,x,E,s,T,m,a,u,v,C="sizzle"+ +new Date,b=n.document,A=0,y=0,k=le(),N=le(),L=le(),D=le(),S=function(e,t){return e===t&&(c=!0),0},I={}.hasOwnProperty,t=[],O=t.pop,j=t.push,P=t.push,H=t.slice,M=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",$="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}"+$+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",z="\\["+$+"*("+R+")(?:"+$+"*([*^$|!~]?=)"+$+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+$+"*\\]",B=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",W=new RegExp($+"+","g"),F=new RegExp("^"+$+"+|((?:^|[^\\\\])(?:\\\\.)*)"+$+"+$","g"),U=new RegExp("^"+$+"*,"+$+"*"),V=new RegExp("^"+$+"*([>+~]|"+$+")"+$+"*"),X=new RegExp($+"|>"),Y=new RegExp(B),K=new RegExp("^"+R+"$"),Q={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+$+"*(even|odd|(([+-]|)(\\d*)n|)"+$+"*(?:([+-]|)"+$+"*(\\d+)|))"+$+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+$+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+$+"*((?:-\\d)?\\d*)"+$+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ne=/[+~]/,ie=new RegExp("\\\\[\\da-fA-F]{1,6}"+$+"?|\\\\([^\\r\\n\\f])","g"),oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{P.apply(t=H.call(b.childNodes),b.childNodes),t[b.childNodes.length].nodeType}catch(e){P={apply:t.length?function(e,t){j.apply(e,H.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ae(e,t,n,i){var o,r,s,a,l,c,u=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!i&&(x(t),t=t||E,T)){if(11!==d&&(a=te.exec(e)))if(c=a[1]){if(9===d){if(!(r=t.getElementById(c)))return n;if(r.id===c)return n.push(r),n}else if(u&&(r=u.getElementById(c))&&v(t,r)&&r.id===c)return n.push(r),n}else{if(a[2])return P.apply(n,t.getElementsByTagName(e)),n;if((c=a[3])&&h.getElementsByClassName&&t.getElementsByClassName)return P.apply(n,t.getElementsByClassName(c)),n}if(h.qsa&&!D[e+" "]&&(!m||!m.test(e))&&(1!==d||"object"!==t.nodeName.toLowerCase())){if(c=e,u=t,1===d&&(X.test(e)||V.test(e))){for((u=ne.test(e)&&ge(t.parentNode)||t)===t&&h.scope||((s=t.getAttribute("id"))?s=s.replace(oe,re):t.setAttribute("id",s=C)),o=(l=f(e)).length;o--;)l[o]=(s?"#"+s:":scope")+" "+ve(l[o]);c=l.join(",")}try{return P.apply(n,u.querySelectorAll(c)),n}catch(t){D(e,!0)}finally{s===C&&t.removeAttribute("id")}}}return g(e.replace(F,"$1"),t,n,i)}function le(){var i=[];return function e(t,n){return i.push(t+" ")>_.cacheLength&&delete e[i.shift()],e[t+" "]=n}}function ce(e){return e[C]=!0,e}function ue(e){var t=E.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)_.attrHandle[n[i]]=t}function he(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&se(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function pe(s){return ce(function(r){return r=+r,ce(function(e,t){for(var n,i=s([],e.length,r),o=i.length;o--;)e[n=i[o]]&&(e[n]=!(t[n]=e[n]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=ae.support={},o=ae.isXML=function(e){var t=e&&e.namespaceURI,e=e&&(e.ownerDocument||e).documentElement;return!G.test(t||e&&e.nodeName||"HTML")},x=ae.setDocument=function(e){var t,e=e?e.ownerDocument||e:b;return e!=E&&9===e.nodeType&&e.documentElement&&(s=(E=e).documentElement,T=!o(E),b!=E&&(t=E.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",i,!1):t.attachEvent&&t.attachEvent("onunload",i)),h.scope=ue(function(e){return s.appendChild(e).appendChild(E.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),h.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=ue(function(e){return e.appendChild(E.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=ee.test(E.getElementsByClassName),h.getById=ue(function(e){return s.appendChild(e).id=C,!E.getElementsByName||!E.getElementsByName(C).length}),h.getById?(_.filter.ID=function(e){var t=e.replace(ie,d);return function(e){return e.getAttribute("id")===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&T){e=t.getElementById(e);return e?[e]:[]}}):(_.filter.ID=function(e){var t=e.replace(ie,d);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},_.find.ID=function(e,t){if(void 0!==t.getElementById&&T){var n,i,o,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),_.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"!==e)return r;for(;n=r[o++];)1===n.nodeType&&i.push(n);return i},_.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&T)return t.getElementsByClassName(e)},a=[],m=[],(h.qsa=ee.test(E.querySelectorAll))&&(ue(function(e){var t;s.appendChild(e).innerHTML="<a id='"+C+"'></a><select id='"+C+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+$+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+$+"*(?:value|"+q+")"),e.querySelectorAll("[id~="+C+"-]").length||m.push("~="),(t=E.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+$+"*name"+$+"*="+$+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=E.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+$+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),s.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(h.matchesSelector=ee.test(u=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&ue(function(e){h.disconnectedMatch=u.call(e,"*"),u.call(e,"[s!='']:x"),a.push("!=",B)}),m=m.length&&new RegExp(m.join("|")),a=a.length&&new RegExp(a.join("|")),t=ee.test(s.compareDocumentPosition),v=t||ee.test(s.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},S=t?function(e,t){return e===t?(c=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e==E||e.ownerDocument==b&&v(b,e)?-1:t==E||t.ownerDocument==b&&v(b,t)?1:l?M(l,e)-M(l,t):0:4&n?-1:1);var n}:function(e,t){if(e===t)return c=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,s=[e],a=[t];if(!o||!r)return e==E?-1:t==E?1:o?-1:r?1:l?M(l,e)-M(l,t):0;if(o===r)return he(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?he(s[i],a[i]):s[i]==b?-1:a[i]==b?1:0}),E},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(x(e),h.matchesSelector&&T&&!D[t+" "]&&(!a||!a.test(t))&&(!m||!m.test(t)))try{var n=u.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){D(t,!0)}return 0<ae(t,E,null,[e]).length},ae.contains=function(e,t){return(e.ownerDocument||e)!=E&&x(e),v(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=E&&x(e);var n=_.attrHandle[t.toLowerCase()],n=n&&I.call(_.attrHandle,t.toLowerCase())?n(e,t,!T):void 0;return void 0!==n?n:h.attributes||!T?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},ae.escape=function(e){return(e+"").replace(oe,re)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,n=[],i=0,o=0;if(c=!h.detectDuplicates,l=!h.sortStable&&e.slice(0),e.sort(S),c){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return l=null,e},r=ae.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(_=ae.selectors={cacheLength:50,createPseudo:ce,match:Q,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(ie,d),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=f(n,!0))&&(t=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(ie,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+" "];return t||(t=new RegExp("(^|"+$+")"+e+"("+$+"|$)"))&&k(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(e){e=ae.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1<e.indexOf(i):"$="===n?i&&e.slice(-i.length)===i:"~="===n?-1<(" "+e.replace(W," ")+" ").indexOf(i):"|="===n&&(e===i||e.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,e,t,g,m){var v="nth"!==p.slice(0,3),b="last"!==p.slice(-4),y="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,o,r,s,a,l,c=v!=b?"nextSibling":"previousSibling",u=e.parentNode,d=y&&e.nodeName.toLowerCase(),h=!n&&!y,f=!1;if(u){if(v){for(;c;){for(s=e;s=s[c];)if(y?s.nodeName.toLowerCase()===d:1===s.nodeType)return!1;l=c="only"===p&&!l&&"nextSibling"}return!0}if(l=[b?u.firstChild:u.lastChild],b&&h){for(f=(a=(i=(o=(r=(s=u)[C]||(s[C]={}))[s.uniqueID]||(r[s.uniqueID]={}))[p]||[])[0]===A&&i[1])&&i[2],s=a&&u.childNodes[a];s=++a&&s&&s[c]||(f=a=0)||l.pop();)if(1===s.nodeType&&++f&&s===e){o[p]=[A,a,f];break}}else if(!1===(f=h?a=(i=(o=(r=(s=e)[C]||(s[C]={}))[s.uniqueID]||(r[s.uniqueID]={}))[p]||[])[0]===A&&i[1]:f))for(;(s=++a&&s&&s[c]||(f=a=0)||l.pop())&&((y?s.nodeName.toLowerCase()!==d:1!==s.nodeType)||!++f||(h&&((o=(r=s[C]||(s[C]={}))[s.uniqueID]||(r[s.uniqueID]={}))[p]=[A,f]),s!==e)););return(f-=m)===g||f%g==0&&0<=f/g}}},PSEUDO:function(e,r){var t,s=_.pseudos[e]||_.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return s[C]?s(r):1<s.length?(t=[e,e,"",r],_.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,t){for(var n,i=s(e,r),o=i.length;o--;)e[n=M(e,i[o])]=!(t[n]=i[o])}):function(e){return s(e,0,t)}):s}},pseudos:{not:ce(function(e){var i=[],o=[],a=p(e.replace(F,"$1"));return a[C]?ce(function(e,t,n,i){for(var o,r=a(e,null,i,[]),s=e.length;s--;)(o=r[s])&&(e[s]=!(t[s]=o))}):function(e,t,n){return i[0]=e,a(i,null,n,o),i[0]=null,!o.pop()}}),has:ce(function(t){return function(e){return 0<ae(t,e).length}}),contains:ce(function(t){return t=t.replace(ie,d),function(e){return-1<(e.textContent||r(e)).indexOf(t)}}),lang:ce(function(n){return K.test(n||"")||ae.error("unsupported lang: "+n),n=n.replace(ie,d).toLowerCase(),function(e){var t;do{if(t=T?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=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===s},focus:function(e){return e===E.activeElement&&(!E.hasFocus||E.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:fe(!1),disabled:fe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return J.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:pe(function(){return[0]}),last:pe(function(e,t){return[t-1]}),eq:pe(function(e,t,n){return[n<0?n+t:n]}),even:pe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:pe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:pe(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:pe(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=_.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})_.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function me(){}function ve(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function be(s,e,t){var a=e.dir,l=e.next,c=l||a,u=t&&"parentNode"===c,d=y++;return e.first?function(e,t,n){for(;e=e[a];)if(1===e.nodeType||u)return s(e,t,n);return!1}:function(e,t,n){var i,o,r=[A,d];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(i=(o=e[C]||(e[C]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[a]||e;else{if((o=i[c])&&o[0]===A&&o[1]===d)return r[2]=o[2];if((i[c]=r)[2]=s(e,t,n))return!0}return!1}}function ye(o){return 1<o.length?function(e,t,n){for(var i=o.length;i--;)if(!o[i](e,t,n))return!1;return!0}:o[0]}function _e(e,t,n,i,o){for(var r,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(r=e[a])&&(n&&!n(r,i,o)||(s.push(r),c&&t.push(a)));return s}function we(e){for(var i,t,n,o=e.length,r=_.relative[e[0].type],s=r||_.relative[" "],a=r?1:0,l=be(function(e){return e===i},s,!0),c=be(function(e){return-1<M(i,e)},s,!0),u=[function(e,t,n){n=!r&&(n||t!==w)||((i=t).nodeType?l:c)(e,t,n);return i=null,n}];a<o;a++)if(t=_.relative[e[a].type])u=[be(ye(u),t)];else{if((t=_.filter[e[a].type].apply(null,e[a].matches))[C]){for(n=++a;n<o&&!_.relative[e[n].type];n++);return function e(f,p,g,m,v,t){return m&&!m[C]&&(m=e(m)),v&&!v[C]&&(v=e(v,t)),ce(function(e,t,n,i){var o,r,s,a=[],l=[],c=t.length,u=e||function(e,t,n){for(var i=0,o=t.length;i<o;i++)ae(e,t[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),d=!f||!e&&p?u:_e(u,a,f,n,i),h=g?v||(e?f:c||m)?[]:t:d;if(g&&g(d,h,n,i),m)for(o=_e(h,l),m(o,[],n,i),r=o.length;r--;)(s=o[r])&&(h[l[r]]=!(d[l[r]]=s));if(e){if(v||f){if(v){for(o=[],r=h.length;r--;)(s=h[r])&&o.push(d[r]=s);v(null,h=[],o,i)}for(r=h.length;r--;)(s=h[r])&&-1<(o=v?M(e,s):a[r])&&(e[o]=!(t[o]=s))}}else h=_e(h===t?h.splice(c,h.length):h),v?v(null,t,h,i):P.apply(t,h)})}(1<a&&ye(u),1<a&&ve(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(F,"$1"),t,a<n&&we(e.slice(a,n)),n<o&&we(e=e.slice(n)),n<o&&ve(e))}u.push(t)}return ye(u)}return me.prototype=_.filters=_.pseudos,_.setFilters=new me,f=ae.tokenize=function(e,t){var n,i,o,r,s,a,l,c=N[e+" "];if(c)return t?0:c.slice(0);for(s=e,a=[],l=_.preFilter;s;){for(r in n&&!(i=U.exec(s))||(i&&(s=s.slice(i[0].length)||s),a.push(o=[])),n=!1,(i=V.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(F," ")}),s=s.slice(n.length)),_.filter)!(i=Q[r].exec(s))||l[r]&&!(i=l[r](i))||(n=i.shift(),o.push({value:n,type:r,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ae.error(e):N(e,a).slice(0)},p=ae.compile=function(e,t){var n,m,v,b,y,i,o=[],r=[],s=L[e+" "];if(!s){for(n=(t=t||f(e)).length;n--;)((s=we(t[n]))[C]?o:r).push(s);(s=L(e,(b=0<(v=o).length,y=0<(m=r).length,i=function(e,t,n,i,o){var r,s,a,l=0,c="0",u=e&&[],d=[],h=w,f=e||y&&_.find.TAG("*",o),p=A+=null==h?1:Math.random()||.1,g=f.length;for(o&&(w=t==E||t||o);c!==g&&null!=(r=f[c]);c++){if(y&&r){for(s=0,t||r.ownerDocument==E||(x(r),n=!T);a=m[s++];)if(a(r,t||E,n)){i.push(r);break}o&&(A=p)}b&&((r=!a&&r)&&l--,e&&u.push(r))}if(l+=c,b&&c!==l){for(s=0;a=v[s++];)a(u,d,t,n);if(e){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=O.call(i));d=_e(d)}P.apply(i,d),o&&!e&&0<d.length&&1<l+v.length&&ae.uniqueSort(i)}return o&&(A=p,w=h),u},b?ce(i):i))).selector=e}return s},g=ae.select=function(e,t,n,i){var o,r,s,a,l,c="function"==typeof e&&e,u=!i&&f(e=c.selector||e);if(n=n||[],1===u.length){if(2<(r=u[0]=u[0].slice(0)).length&&"ID"===(s=r[0]).type&&9===t.nodeType&&T&&_.relative[r[1].type]){if(!(t=(_.find.ID(s.matches[0].replace(ie,d),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(o=Q.needsContext.test(e)?0:r.length;o--&&(s=r[o],!_.relative[a=s.type]);)if((l=_.find[a])&&(i=l(s.matches[0].replace(ie,d),ne.test(r[0].type)&&ge(t.parentNode)||t))){if(r.splice(o,1),!(e=i.length&&ve(r)))return P.apply(n,i),n;break}}return(c||p(e,u))(i,t,!T,n,!t||ne.test(e)&&ge(t.parentNode)||t),n},h.sortStable=C.split("").sort(S).join("")===C,h.detectDuplicates=!!c,x(),h.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(E.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||de(q,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(t=e.getAttributeNode(t))&&t.specified?t.value:null}),ae}(x);T.find=f,T.expr=f.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=f.uniqueSort,T.text=f.getText,T.isXMLDoc=f.isXML,T.contains=f.contains,T.escapeSelector=f.escape;function w(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;i.push(e)}return i}function C(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var A=T.expr.match.needsContext;function k(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(e,n,i){return y(n)?T.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?T.grep(e,function(e){return e===n!==i}):"string"!=typeof n?T.grep(e,function(e){return-1<o.call(n,e)!==i}):T.filter(n,e,i)}T.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?T.find.matchesSelector(i,e)?[i]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<i;t++)if(T.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)T.find(e,o[t],n);return 1<i?T.uniqueSort(n):n},filter:function(e){return this.pushStack(L(this,e||[],!1))},not:function(e){return this.pushStack(L(this,e||[],!0))},is:function(e){return!!L(this,"string"==typeof e&&A.test(e)?T(e):e||[],!1).length}});var D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){if(!e)return this;if(n=n||S,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:D.exec(e))||!i[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(i[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(i[1])&&T.isPlainObject(t))for(var i in t)y(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(e=E.getElementById(i[2]))&&(this[0]=e,this.length=1),this}).prototype=T.fn;var S=T(E),I=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function j(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,r=[],s="string"!=typeof e&&T(e);if(!A.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&T.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(1<r.length?T.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?o.call(T(e),this[0]):o.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return w(e,"parentNode")},parentsUntil:function(e,t,n){return w(e,"parentNode",n)},next:function(e){return j(e,"nextSibling")},prev:function(e){return j(e,"previousSibling")},nextAll:function(e){return w(e,"nextSibling")},prevAll:function(e){return w(e,"previousSibling")},nextUntil:function(e,t,n){return w(e,"nextSibling",n)},prevUntil:function(e,t,n){return w(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&n(e.contentDocument)?e.contentDocument:(k(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},function(i,o){T.fn[i]=function(e,t){var n=T.map(this,o,e);return(t="Until"!==i.slice(-5)?e:t)&&"string"==typeof t&&(n=T.filter(t,n)),1<this.length&&(O[i]||T.uniqueSort(n),I.test(i)&&n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function H(e){return e}function M(e){throw e}function q(e,t,n,i){var o;try{e&&y(o=e.promise)?o.call(e).done(t).fail(n):e&&y(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(i){var n;i="string"==typeof i?(n={},T.each(i.match(P)||[],function(e,t){n[t]=!0}),n):T.extend({},i);function o(){for(s=s||i.once,t=r=!0;l.length;c=-1)for(e=l.shift();++c<a.length;)!1===a[c].apply(e[0],e[1])&&i.stopOnFalse&&(c=a.length,e=!1);i.memory||(e=!1),r=!1,s&&(a=e?[]:"")}var r,e,t,s,a=[],l=[],c=-1,u={add:function(){return a&&(e&&!r&&(c=a.length-1,l.push(e)),function n(e){T.each(e,function(e,t){y(t)?i.unique&&u.has(t)||a.push(t):t&&t.length&&"string"!==p(t)&&n(t)})}(arguments),e&&!r&&o()),this},remove:function(){return T.each(arguments,function(e,t){for(var n;-1<(n=T.inArray(t,a,n));)a.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<T.inArray(e,a):0<a.length},empty:function(){return a=a&&[],this},disable:function(){return s=l=[],a=e="",this},disabled:function(){return!a},lock:function(){return s=l=[],e||r||(a=e=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),r||o()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!t}};return u},T.extend({Deferred:function(e){var r=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],o="pending",s={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return s.then(null,e)},pipe:function(){var o=arguments;return T.Deferred(function(i){T.each(r,function(e,t){var n=y(o[t[4]])&&o[t[4]];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&y(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this,n?[e]:arguments)})}),o=null}).promise()},then:function(t,n,i){var l=0;function c(o,r,s,a){return function(){function e(){var e,t;if(!(o<l)){if((e=s.apply(n,i))===r.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,y(t)?a?t.call(e,c(l,r,H,a),c(l,r,M,a)):(l++,t.call(e,c(l,r,H,a),c(l,r,M,a),c(l,r,H,r.notifyWith))):(s!==H&&(n=void 0,i=[e]),(a||r.resolveWith)(n,i))}}var n=this,i=arguments,t=a?e:function(){try{e()}catch(e){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(e,t.stackTrace),l<=o+1&&(s!==M&&(n=void 0,i=[e]),r.rejectWith(n,i))}};o?t():(T.Deferred.getStackHook&&(t.stackTrace=T.Deferred.getStackHook()),x.setTimeout(t))}}return T.Deferred(function(e){r[0][3].add(c(0,e,y(i)?i:H,e.notifyWith)),r[1][3].add(c(0,e,y(t)?t:H)),r[2][3].add(c(0,e,y(n)?n:M))}).promise()},promise:function(e){return null!=e?T.extend(e,s):s}},a={};return T.each(r,function(e,t){var n=t[2],i=t[5];s[t[1]]=n.add,i&&n.add(function(){o=i},r[3-e][2].disable,r[3-e][3].disable,r[0][2].lock,r[0][3].lock),n.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(e){function t(t){return function(e){o[t]=this,r[t]=1<arguments.length?a.call(arguments):e,--n||s.resolveWith(o,r)}}var n=arguments.length,i=n,o=Array(i),r=a.call(arguments),s=T.Deferred();if(n<=1&&(q(e,s.done(t(i)).resolve,s.reject,!n),"pending"===s.state()||y(r[i]&&r[i].then)))return s.then();for(;i--;)q(r[i],t(i),s.reject);return s.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){x.console&&x.console.warn&&e&&$.test(e.name)&&x.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){x.setTimeout(function(){throw e})};var R=T.Deferred();function z(){E.removeEventListener("DOMContentLoaded",z),x.removeEventListener("load",z),T.ready()}T.fn.ready=function(e){return R.then(e).catch(function(e){T.readyException(e)}),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0)!==e&&0<--T.readyWait||R.resolveWith(E,[T])}}),T.ready.then=R.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?x.setTimeout(T.ready):(E.addEventListener("DOMContentLoaded",z),x.addEventListener("load",z));var B=function(e,t,n,i,o,r,s){var a=0,l=e.length,c=null==n;if("object"===p(n))for(a in o=!0,n)B(e,t,a,n[a],!0,r,s);else if(void 0!==i&&(o=!0,y(i)||(s=!0),t=c?s?(t.call(e,i),null):(c=t,function(e,t,n){return c.call(T(e),n)}):t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return o?e:c?t.call(e):l?t(e[0],n):r},W=/^-ms-/,F=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function V(e){return e.replace(W,"ms-").replace(F,U)}function X(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function Y(){this.expando=T.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[V(t)]=n;else for(i in t)o[V(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][V(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(V):(t=V(t))in i?[t]:t.match(P)||[]).length;for(;n--;)delete i[t[n]]}void 0!==t&&!T.isEmptyObject(i)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!T.isEmptyObject(e)}};var K=new Y,Q=new Y,G=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function Z(e,t,n){var i,o;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(J,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:G.test(o)?JSON.parse(o):o)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return Q.hasData(e)||K.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),T.fn.extend({data:function(n,e){var t,i,o,r=this[0],s=r&&r.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){Q.set(this,n)}):B(this,function(e){var t;return r&&void 0===e?void 0!==(t=Q.get(r,n))||void 0!==(t=Z(r,n))?t:void 0:void this.each(function(){Q.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(o=Q.get(r),1===r.nodeType&&!K.get(r,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&&0===(i=s[t].name).indexOf("data-")&&(i=V(i.slice(5)),Z(r,i,o[i]));K.set(r,"hasDataAttrs",!0)}return o},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),T.extend({queue:function(e,t,n){var i;if(e)return i=K.get(e,t=(t||"fx")+"queue"),n&&(!i||Array.isArray(n)?i=K.access(e,t,T.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){var n=T.queue(e,t=t||"fx"),i=n.length,o=n.shift(),r=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,function(){T.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:T.Callbacks("once memory").add(function(){K.remove(e,[t+"queue",n])})})}}),T.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?T.queue(this[0],t):void 0===n?this:this.each(function(){var e=T.queue(this,t,n);T._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&T.dequeue(this,t)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--o||r.resolveWith(s,[s])}var i,o=1,r=T.Deferred(),s=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=K.get(s[a],e+"queueHooks"))&&i.empty&&(o++,i.empty.add(n));return n(),r.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],ie=E.documentElement,oe=function(e){return T.contains(e.ownerDocument,e)},re={composed:!0};ie.getRootNode&&(oe=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(re)===e.ownerDocument});function se(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===T.css(e,"display")}function ae(e,t,n,i){var o,r,s=20,a=i?function(){return i.cur()}:function(){return T.css(e,t,"")},l=a(),c=n&&n[3]||(T.cssNumber[t]?"":"px"),u=e.nodeType&&(T.cssNumber[t]||"px"!==c&&+l)&&te.exec(T.css(e,t));if(u&&u[3]!==c){for(c=c||u[3],u=+(l/=2)||1;s--;)T.style(e,t,u+c),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),u/=r;T.style(e,t,(u*=2)+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var le={};function ce(e,t){for(var n,i,o,r,s,a,l=[],c=0,u=e.length;c<u;c++)(i=e[c]).style&&(n=i.style.display,t?("none"===n&&(l[c]=K.get(i,"display")||null,l[c]||(i.style.display="")),""===i.style.display&&se(i)&&(l[c]=(a=r=o=void 0,r=i.ownerDocument,s=i.nodeName,(a=le[s])||(o=r.body.appendChild(r.createElement(s)),a=T.css(o,"display"),o.parentNode.removeChild(o),le[s]=a="none"===a?"block":a)))):"none"!==n&&(l[c]="none",K.set(i,"display",n)));for(c=0;c<u;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}T.fn.extend({show:function(){return ce(this,!0)},hide:function(){return ce(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){se(this)?T(this).show():T(this).hide()})}});var ue=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,d=E.createDocumentFragment().appendChild(E.createElement("div"));(f=E.createElement("input")).setAttribute("type","radio"),f.setAttribute("checked","checked"),f.setAttribute("name","t"),d.appendChild(f),b.checkClone=d.cloneNode(!0).cloneNode(!0).lastChild.checked,d.innerHTML="<textarea>x</textarea>",b.noCloneChecked=!!d.cloneNode(!0).lastChild.defaultValue,d.innerHTML="<option></option>",b.option=!!d.lastChild;var fe={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 pe(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&k(e,t)?T.merge([e],n):n}function ge(e,t){for(var n=0,i=e.length;n<i;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}fe.tbody=fe.tfoot=fe.colgroup=fe.caption=fe.thead,fe.th=fe.td,b.option||(fe.optgroup=fe.option=[1,"<select multiple='multiple'>","</select>"]);var me=/<|&#?\w+;/;function ve(e,t,n,i,o){for(var r,s,a,l,c,u=t.createDocumentFragment(),d=[],h=0,f=e.length;h<f;h++)if((r=e[h])||0===r)if("object"===p(r))T.merge(d,r.nodeType?[r]:r);else if(me.test(r)){for(s=s||u.appendChild(t.createElement("div")),a=(de.exec(r)||["",""])[1].toLowerCase(),a=fe[a]||fe._default,s.innerHTML=a[1]+T.htmlPrefilter(r)+a[2],c=a[0];c--;)s=s.lastChild;T.merge(d,s.childNodes),(s=u.firstChild).textContent=""}else d.push(t.createTextNode(r));for(u.textContent="",h=0;r=d[h++];)if(i&&-1<T.inArray(r,i))o&&o.push(r);else if(l=oe(r),s=pe(u.appendChild(r),"script"),l&&ge(s),n)for(c=0;r=s[c++];)he.test(r.type||"")&&n.push(r);return u}var be=/^([^.]*)(?:\.(.+)|)/;function ye(){return!0}function _e(){return!1}function we(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function xe(e,t,n,i,o,r){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)xe(e,a,n,i,t[a],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=_e;else if(!o)return e;return 1===r&&(s=o,(o=function(e){return T().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=T.guid++)),e.each(function(){T.event.add(this,t,o,i,n)})}function Ee(e,o,r){r?(K.set(e,o,!1),T.event.add(e,o,{namespace:!1,handler:function(e){var t,n,i=K.get(this,o);if(1&e.isTrigger&&this[o]){if(i.length)(T.event.special[o]||{}).delegateType&&e.stopPropagation();else if(i=a.call(arguments),K.set(this,o,i),t=r(this,o),this[o](),i!==(n=K.get(this,o))||t?K.set(this,o,!1):n={},i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else i.length&&(K.set(this,o,{value:T.event.trigger(T.extend(i[0],T.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,o)&&T.event.add(e,o,ye)}T.event={global:{},add:function(t,e,n,i,o){var r,s,a,l,c,u,d,h,f,p=K.get(t);if(X(t))for(n.handler&&(n=(r=n).handler,o=r.selector),o&&T.find.matchesSelector(ie,o),n.guid||(n.guid=T.guid++),(a=p.events)||(a=p.events=Object.create(null)),(s=p.handle)||(s=p.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(P)||[""]).length;l--;)d=f=(c=be.exec(e[l])||[])[1],h=(c[2]||"").split(".").sort(),d&&(u=T.event.special[d]||{},d=(o?u.delegateType:u.bindType)||d,u=T.event.special[d]||{},c=T.extend({type:d,origType:f,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},r),(f=a[d])||((f=a[d]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(t,i,h,s)||t.addEventListener&&t.addEventListener(d,s)),u.add&&(u.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),T.event.global[d]=!0)},remove:function(e,t,n,i,o){var r,s,a,l,c,u,d,h,f,p,g,m=K.hasData(e)&&K.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(P)||[""]).length;c--;)if(f=g=(a=be.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(d=T.event.special[f]||{},h=l[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=h.length;r--;)u=h[r],!o&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(r,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));s&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,m.handle)||T.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)T.event.remove(e,f+t[c],n,i,!0);T.isEmptyObject(l)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,s=new Array(arguments.length),a=T.event.fix(e),l=(K.get(this,"events")||Object.create(null))[a.type]||[],e=T.event.special[a.type]||{};for(s[0]=a,t=1;t<arguments.length;t++)s[t]=arguments[t];if(a.delegateTarget=this,!e.preDispatch||!1!==e.preDispatch.call(this,a)){for(r=T.event.handlers.call(this,a,l),t=0;(i=r[t++])&&!a.isPropagationStopped();)for(a.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==o.namespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(o=((T.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(a.result=o)&&(a.preventDefault(),a.stopPropagation()));return e.postDispatch&&e.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,i,o,r,s,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(r=[],s={},n=0;n<l;n++)void 0===s[o=(i=t[n]).selector+" "]&&(s[o]=i.needsContext?-1<T(o,this).index(c):T.find(o,this,null,[c]).length),s[o]&&r.push(i);r.length&&a.push({elem:c,handlers:r})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(t,e){Object.defineProperty(T.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){e=this||e;return ue.test(e.type)&&e.click&&k(e,"input")&&Ee(e,"click",ye),!1},trigger:function(e){e=this||e;return ue.test(e.type)&&e.click&&k(e,"input")&&Ee(e,"click"),!0},_default:function(e){e=e.target;return ue.test(e.type)&&e.click&&k(e,"input")&&K.get(e,"click")||k(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ye:_e,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:_e,isPropagationStopped:_e,isImmediatePropagationStopped:_e,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ye,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ye,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ye,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(e,t){T.event.special[e]={setup:function(){return Ee(this,e,we),!1},trigger:function(){return Ee(this,e),!0},_default:function(){return!0},delegateType:t}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){T.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||T.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),T.fn.extend({on:function(e,t,n,i){return xe(this,e,t,n,i)},one:function(e,t,n,i){return xe(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,T(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=_e),this.each(function(){T.event.remove(this,e,n,t)});for(o in e)this.off(o,t,e[o]);return this}});var Te=/<script|<style|<link/i,Ce=/checked\s*(?:[^=]|=\s*.checked.)/i,Ae=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ke(e,t){return k(e,"table")&&k(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function De(e,t){var n,i,o,r;if(1===t.nodeType){if(K.hasData(e)&&(r=K.get(e).events))for(o in K.remove(t,"handle events"),r)for(n=0,i=r[o].length;n<i;n++)T.event.add(t,o,r[o][n]);Q.hasData(e)&&(e=Q.access(e),e=T.extend({},e),Q.set(t,e))}}function Se(n,i,o,r){i=m(i);var e,t,s,a,l,c,u=0,d=n.length,h=d-1,f=i[0],p=y(f);if(p||1<d&&"string"==typeof f&&!b.checkClone&&Ce.test(f))return n.each(function(e){var t=n.eq(e);p&&(i[0]=f.call(this,e,t.html())),Se(t,i,o,r)});if(d&&(t=(e=ve(i,n[0].ownerDocument,!1,n,r)).firstChild,1===e.childNodes.length&&(e=t),t||r)){for(a=(s=T.map(pe(e,"script"),Ne)).length;u<d;u++)l=e,u!==h&&(l=T.clone(l,!0,!0),a&&T.merge(s,pe(l,"script"))),o.call(n[u],l,u);if(a)for(c=s[s.length-1].ownerDocument,T.map(s,Le),u=0;u<a;u++)l=s[u],he.test(l.type||"")&&!K.access(l,"globalEval")&&T.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?T._evalUrl&&!l.noModule&&T._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):_(l.textContent.replace(Ae,""),l,c))}return n}function Ie(e,t,n){for(var i,o=t?T.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||T.cleanData(pe(i)),i.parentNode&&(n&&oe(i)&&ge(pe(i,"script")),i.parentNode.removeChild(i));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,o,r,s,a,l,c,u=e.cloneNode(!0),d=oe(e);if(!(b.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(s=pe(u),i=0,o=(r=pe(e)).length;i<o;i++)a=r[i],"input"===(c=(l=s[i]).nodeName.toLowerCase())&&ue.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(t)if(n)for(r=r||pe(e),s=s||pe(u),i=0,o=r.length;i<o;i++)De(r[i],s[i]);else De(e,u);return 0<(s=pe(u,"script")).length&&ge(s,!d&&pe(e,"script")),u},cleanData:function(e){for(var t,n,i,o=T.event.special,r=0;void 0!==(n=e[r]);r++)if(X(n)){if(t=n[K.expando]){if(t.events)for(i in t.events)o[i]?T.event.remove(n,i):T.removeEvent(n,i,t.handle);n[K.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return B(this,function(e){return void 0===e?T.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 Se(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ke(this,e).appendChild(e)})},prepend:function(){return Se(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=ke(this,e)).insertBefore(e,t.firstChild)})},before:function(){return Se(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Se(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(pe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return B(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Te.test(e)&&!fe[(de.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(pe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Se(this,arguments,function(e){var t=this.parentNode;T.inArray(this,n)<0&&(T.cleanData(pe(this)),t&&t.replaceChild(e,this))},n)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){T.fn[e]=function(e){for(var t,n=[],i=T(e),o=i.length-1,r=0;r<=o;r++)t=r===o?this:this.clone(!0),T(i[r])[s](t),l.apply(n,t.get());return this.pushStack(n)}});function Oe(e,t,n){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=n.call(e),t)e.style[i]=o[i];return n}var je,Pe,He,Me,qe,$e,Re,ze,Be=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),We=function(e){var t=e.ownerDocument.defaultView;return(t=!t||!t.opener?x:t).getComputedStyle(e)},Fe=new RegExp(ne.join("|"),"i");function Ue(e,t,n){var i,o,r=e.style;return(n=n||We(e))&&(""!==(o=n.getPropertyValue(t)||n[t])||oe(e)||(o=T.style(e,t)),!b.pixelBoxStyles()&&Be.test(o)&&Fe.test(t)&&(i=r.width,e=r.minWidth,t=r.maxWidth,r.minWidth=r.maxWidth=r.width=o,o=n.width,r.width=i,r.minWidth=e,r.maxWidth=t)),void 0!==o?o+"":o}function Ve(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function Xe(){var e;ze&&(Re.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",ze.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(Re).appendChild(ze),e=x.getComputedStyle(ze),je="1%"!==e.top,$e=12===Ye(e.marginLeft),ze.style.right="60%",Me=36===Ye(e.right),Pe=36===Ye(e.width),ze.style.position="absolute",He=12===Ye(ze.offsetWidth/3),ie.removeChild(Re),ze=null)}function Ye(e){return Math.round(parseFloat(e))}Re=E.createElement("div"),(ze=E.createElement("div")).style&&(ze.style.backgroundClip="content-box",ze.cloneNode(!0).style.backgroundClip="",b.clearCloneStyle="content-box"===ze.style.backgroundClip,T.extend(b,{boxSizingReliable:function(){return Xe(),Pe},pixelBoxStyles:function(){return Xe(),Me},pixelPosition:function(){return Xe(),je},reliableMarginLeft:function(){return Xe(),$e},scrollboxSize:function(){return Xe(),He},reliableTrDimensions:function(){var e,t,n;return null==qe&&(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ie.appendChild(e).appendChild(t).appendChild(n),n=x.getComputedStyle(t),qe=parseInt(n.height,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10)===t.offsetHeight,ie.removeChild(e)),qe}}));var Ke=["Webkit","Moz","ms"],Qe=E.createElement("div").style,Ge={};function Je(e){return T.cssProps[e]||Ge[e]||(e in Qe?e:Ge[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ke.length;n--;)if((e=Ke[n]+t)in Qe)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,et=/^--/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function it(e,t,n){var i=te.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function ot(e,t,n,i,o,r){var s="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=T.css(e,n+ne[s],!0,o)),i?("content"===n&&(l-=T.css(e,"padding"+ne[s],!0,o)),"margin"!==n&&(l-=T.css(e,"border"+ne[s]+"Width",!0,o))):(l+=T.css(e,"padding"+ne[s],!0,o),"padding"!==n?l+=T.css(e,"border"+ne[s]+"Width",!0,o):a+=T.css(e,"border"+ne[s]+"Width",!0,o));return!i&&0<=r&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-a-.5))||0),l}function rt(e,t,n){var i=We(e),o=(!b.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,i),r=o,s=Ue(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(s)){if(!n)return s;s="auto"}return(!b.boxSizingReliable()&&o||!b.reliableTrDimensions()&&k(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===T.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,i),(r=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+ot(e,t,n||(o?"border":"content"),r,i,s)+"px"}function st(e,t,n,i,o){return new st.prototype.init(e,t,n,i,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){e=Ue(e,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,s,a=V(t),l=et.test(t),c=e.style;if(l||(t=Je(a)),s=T.cssHooks[t]||T.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(e,!1,i))?o:c[t];"string"==(r=typeof n)&&(o=te.exec(n))&&o[1]&&(n=ae(e,t,o),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=o&&o[3]||(T.cssNumber[a]?"":"px")),b.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var o,r=V(t);return et.test(t)||(t=Je(r)),"normal"===(o=void 0===(o=(r=T.cssHooks[t]||T.cssHooks[r])&&"get"in r?r.get(e,!0,n):o)?Ue(e,t,i):o)&&t in nt&&(o=nt[t]),""===n||n?(t=parseFloat(o),!0===n||isFinite(t)?t||0:o):o}}),T.each(["height","width"],function(e,a){T.cssHooks[a]={get:function(e,t,n){if(t)return!Ze.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?rt(e,a,n):Oe(e,tt,function(){return rt(e,a,n)})},set:function(e,t,n){var i,o=We(e),r=!b.scrollboxSize()&&"absolute"===o.position,s=(r||n)&&"border-box"===T.css(e,"boxSizing",!1,o),n=n?ot(e,a,n,s,o):0;return s&&r&&(n-=Math.ceil(e["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(o[a])-ot(e,a,"border",!1,o)-.5)),n&&(i=te.exec(t))&&"px"!==(i[3]||"px")&&(e.style[a]=t,t=T.css(e,a)),it(0,t,n)}}}),T.cssHooks.marginLeft=Ve(b.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-Oe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(o,r){T.cssHooks[o+r]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[o+ne[t]+r]=i[t]||i[t-2]||i[0];return n}},"margin"!==o&&(T.cssHooks[o+r].set=it)}),T.fn.extend({css:function(e,t){return B(this,function(e,t,n){var i,o,r={},s=0;if(Array.isArray(t)){for(i=We(e),o=t.length;s<o;s++)r[t[s]]=T.css(e,t[s],!1,i);return r}return void 0!==n?T.style(e,t,n):T.css(e,t)},e,t,1<arguments.length)}}),((T.Tween=st).prototype={constructor:st,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(T.cssNumber[n]?"":"px")},cur:function(){var e=st.propHooks[this.prop];return(e&&e.get?e:st.propHooks._default).get(this)},run:function(e){var t,n=st.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:st.propHooks._default).set(this),this}}).init.prototype=st.prototype,(st.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=T.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[Je(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=st.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=st.prototype.init,T.fx.step={};var at,lt,ct=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function dt(){lt&&(!1===E.hidden&&x.requestAnimationFrame?x.requestAnimationFrame(dt):x.setTimeout(dt,T.fx.interval),T.fx.tick())}function ht(){return x.setTimeout(function(){at=void 0}),at=Date.now()}function ft(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=ne[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function pt(e,t,n){for(var i,o=(gt.tweeners[t]||[]).concat(gt.tweeners["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,t,e))return i}function gt(o,e,t){var n,r,i=0,s=gt.prefilters.length,a=T.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=at||ht(),e=Math.max(0,c.startTime+c.duration-e),t=1-(e/c.duration||0),n=0,i=c.tweens.length;n<i;n++)c.tweens[n].run(t);return a.notifyWith(o,[c,t,e]),t<1&&i?e:(i||a.notifyWith(o,[c,1,0]),a.resolveWith(o,[c]),!1)},c=a.promise({elem:o,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},t),originalProperties:e,originalOptions:t,startTime:at||ht(),duration:t.duration,tweens:[],createTween:function(e,t){e=T.Tween(o,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(e),e},stop:function(e){var t=0,n=e?c.tweens.length:0;if(r)return this;for(r=!0;t<n;t++)c.tweens[t].run(1);return e?(a.notifyWith(o,[c,1,0]),a.resolveWith(o,[c,e])):a.rejectWith(o,[c,e]),this}}),u=c.props;for(function(e,t){var n,i,o,r,s;for(n in e)if(o=t[i=V(n)],r=e[n],Array.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(s=T.cssHooks[i])&&"expand"in s)for(n in r=s.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=o);else t[i]=o}(u,c.opts.specialEasing);i<s;i++)if(n=gt.prefilters[i].call(c,o,u,c.opts))return y(n.stop)&&(T._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return T.map(u,pt,c),y(c.opts.start)&&c.opts.start.call(o,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),T.fx.timer(T.extend(l,{elem:o,anim:c,queue:c.opts.queue})),c}T.Animation=T.extend(gt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ae(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,o=(e=y(e)?(t=e,["*"]):e.match(P)).length;i<o;i++)n=e[i],gt.tweeners[n]=gt.tweeners[n]||[],gt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,r,s,a,l,c,u="width"in t||"height"in t,d=this,h={},f=e.style,p=e.nodeType&&se(e),g=K.get(e,"fxshow");for(i in n.queue||(null==(s=T._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,T.queue(e,"fx").length||s.empty.fire()})})),t)if(o=t[i],ct.test(o)){if(delete t[i],r=r||"toggle"===o,o===(p?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;p=!0}h[i]=g&&g[i]||T.style(e,i)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(h))for(i in u&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(c=g&&g.display)&&(c=K.get(e,"display")),"none"===(u=T.css(e,"display"))&&(c?u=c:(ce([e],!0),c=e.style.display||c,u=T.css(e,"display"),ce([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===T.css(e,"float")&&(l||(d.done(function(){f.display=c}),null==c&&(u=f.display,c="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",d.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1,h)l||(g?"hidden"in g&&(p=g.hidden):g=K.access(e,"fxshow",{display:c}),r&&(g.hidden=!p),p&&ce([e],!0),d.done(function(){for(i in p||ce([e]),K.remove(e,"fxshow"),h)T.style(e,i,h[i])})),l=pt(p?g[i]:0,i,d),i in g||(g[i]=l.start,p&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?gt.prefilters.unshift(e):gt.prefilters.push(e)}}),T.speed=function(e,t,n){var i=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return T.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in T.fx.speeds?i.duration=T.fx.speeds[i.duration]:i.duration=T.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){y(i.old)&&i.old.call(this),i.queue&&T.dequeue(this,i.queue)},i},T.fn.extend({fadeTo:function(e,t,n,i){return this.filter(se).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){var o=T.isEmptyObject(t),r=T.speed(e,n,i),i=function(){var e=gt(this,T.extend({},t),r);(o||K.get(this,"finish"))&&e.stop(!0)};return i.finish=i,o||!1===r.queue?this.each(i):this.queue(r.queue,i)},stop:function(o,e,r){function s(e){var t=e.stop;delete e.stop,t(r)}return"string"!=typeof o&&(r=e,e=o,o=void 0),e&&this.queue(o||"fx",[]),this.each(function(){var e=!0,t=null!=o&&o+"queueHooks",n=T.timers,i=K.get(this);if(t)i[t]&&i[t].stop&&s(i[t]);else for(t in i)i[t]&&i[t].stop&&ut.test(t)&&s(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=o&&n[t].queue!==o||(n[t].anim.stop(r),e=!1,n.splice(t,1));!e&&r||T.dequeue(this,o)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=K.get(this),n=t[s+"queue"],i=t[s+"queueHooks"],o=T.timers,r=n?n.length:0;for(t.finish=!0,T.queue(this,s,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===s&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<r;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),T.each(["toggle","show","hide"],function(e,i){var o=T.fn[i];T.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?o.apply(this,arguments):this.animate(ft(i,!0),e,t,n)}}),T.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){T.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(at=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),at=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){lt||(lt=!0,dt())},T.fx.stop=function(){lt=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(i,e){return i=T.fx&&T.fx.speeds[i]||i,this.queue(e=e||"fx",function(e,t){var n=x.setTimeout(e,i);t.stop=function(){x.clearTimeout(n)}})},d=E.createElement("input"),ee=E.createElement("select").appendChild(E.createElement("option")),d.type="checkbox",b.checkOn=""!==d.value,b.optSelected=ee.selected,(d=E.createElement("input")).value="t",d.type="radio",b.radioValue="t"===d.value;var mt,vt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return B(this,T.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?T.prop(e,t,n):(1===r&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):!(o&&"get"in o&&null!==(i=o.get(e,t)))&&null==(i=T.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!b.radioValue&&"radio"===t&&k(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(P);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var s=vt[t]||T.find.attr;vt[t]=function(e,t,n){var i,o,r=t.toLowerCase();return n||(o=vt[r],vt[r]=i,i=null!=s(e,t,n)?r:null,vt[r]=o),i}});var bt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function _t(e){return(e.match(P)||[]).join(" ")}function wt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}T.fn.extend({prop:function(e,t){return B(this,T.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&T.isXMLDoc(e)||(t=T.propFix[t]||t,o=T.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(T.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(t){var e,n,i,o,r,s,a=0;if(y(t))return this.each(function(e){T(this).addClass(t.call(this,e,wt(this)))});if((e=xt(t)).length)for(;n=this[a++];)if(s=wt(n),i=1===n.nodeType&&" "+_t(s)+" "){for(r=0;o=e[r++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");s!==(s=_t(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,o,r,s,a=0;if(y(t))return this.each(function(e){T(this).removeClass(t.call(this,e,wt(this)))});if(!arguments.length)return this.attr("class","");if((e=xt(t)).length)for(;n=this[a++];)if(s=wt(n),i=1===n.nodeType&&" "+_t(s)+" "){for(r=0;o=e[r++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");s!==(s=_t(i))&&n.setAttribute("class",s)}return this},toggleClass:function(o,t){var r=typeof o,s="string"==r||Array.isArray(o);return"boolean"==typeof t&&s?t?this.addClass(o):this.removeClass(o):y(o)?this.each(function(e){T(this).toggleClass(o.call(this,e,wt(this),t),t)}):this.each(function(){var e,t,n,i;if(s)for(t=0,n=T(this),i=xt(o);e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==o&&"boolean"!=r||((e=wt(this))&&K.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==o&&K.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,i=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+_t(wt(t))+" ").indexOf(i))return!0;return!1}});var Et=/\r/g;T.fn.extend({val:function(t){var n,e,i,o=this[0];return arguments.length?(i=y(t),this.each(function(e){1===this.nodeType&&(null==(e=i?t.call(this,e,T(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=T.map(e,function(e){return null==e?"":e+""})),(n=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):o?(n=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(o,"value"))?e:"string"==typeof(e=o.value)?e.replace(Et,""):null==e?"":e:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:_t(T.text(e))}},select:{get:function(e){for(var t,n=e.options,i=e.selectedIndex,o="select-one"===e.type,r=o?null:[],s=o?i+1:n.length,a=i<0?s:o?i:0;a<s;a++)if(((t=n[a]).selected||a===i)&&!t.disabled&&(!t.parentNode.disabled||!k(t.parentNode,"optgroup"))){if(t=T(t).val(),o)return t;r.push(t)}return r},set:function(e,t){for(var n,i,o=e.options,r=T.makeArray(t),s=o.length;s--;)((i=o[s]).selected=-1<T.inArray(T.valHooks.option.get(i),r))&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<T.inArray(T(e).val(),t)}},b.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),b.focusin="onfocusin"in x;function Tt(e){e.stopPropagation()}var Ct=/^(?:focusinfocus|focusoutblur)$/;T.extend(T.event,{trigger:function(e,t,n,i){var o,r,s,a,l,c,u,d=[n||E],h=v.call(e,"type")?e.type:e,f=v.call(e,"namespace")?e.namespace.split("."):[],p=u=r=n=n||E;if(3!==n.nodeType&&8!==n.nodeType&&!Ct.test(h+T.event.triggered)&&(-1<h.indexOf(".")&&(h=(f=h.split(".")).shift(),f.sort()),a=h.indexOf(":")<0&&"on"+h,(e=e[T.expando]?e:new T.Event(h,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),c=T.event.special[h]||{},i||!c.trigger||!1!==c.trigger.apply(n,t))){if(!i&&!c.noBubble&&!g(n)){for(s=c.delegateType||h,Ct.test(s+h)||(p=p.parentNode);p;p=p.parentNode)d.push(p),r=p;r===(n.ownerDocument||E)&&d.push(r.defaultView||r.parentWindow||x)}for(o=0;(p=d[o++])&&!e.isPropagationStopped();)u=p,e.type=1<o?s:c.bindType||h,(l=(K.get(p,"events")||Object.create(null))[e.type]&&K.get(p,"handle"))&&l.apply(p,t),(l=a&&p[a])&&l.apply&&X(p)&&(e.result=l.apply(p,t),!1===e.result&&e.preventDefault());return e.type=h,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!X(n)||a&&y(n[h])&&!g(n)&&((r=n[a])&&(n[a]=null),T.event.triggered=h,e.isPropagationStopped()&&u.addEventListener(h,Tt),n[h](),e.isPropagationStopped()&&u.removeEventListener(h,Tt),T.event.triggered=void 0,r&&(n[a]=r)),e.result}},simulate:function(e,t,n){e=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(e,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),b.focusin||T.each({focus:"focusin",blur:"focusout"},function(n,i){function o(e){T.event.simulate(i,e.target,T.event.fix(e))}T.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=K.access(e,i);t||e.addEventListener(n,o,!0),K.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=K.access(e,i)-1;t?K.access(e,i,t):(e.removeEventListener(n,o,!0),K.remove(e,i))}}});var At=x.location,kt={guid:Date.now()},Nt=/\?/;T.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new x.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Lt=/\[\]$/,Dt=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;T.param=function(e,t){function n(e,t){t=y(t)?t():t,o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var i,o=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){n(this.name,this.value)});else for(i in e)!function n(i,e,o,r){if(Array.isArray(e))T.each(e,function(e,t){o||Lt.test(i)?r(i,t):n(i+"["+("object"==typeof t&&null!=t?e:"")+"]",t,o,r)});else if(o||"object"!==p(e))r(i,e);else for(var t in e)n(i+"["+t+"]",e[t],o,r)}(i,e[i],t,n);return o.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&It.test(this.nodeName)&&!St.test(e)&&(this.checked||!ue.test(e))}).map(function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var Ot=/%20/g,jt=/#.*$/,Pt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:GET|HEAD)$/,qt=/^\/\//,$t={},Rt={},zt="*/".concat("*"),Bt=E.createElement("a");function Wt(r){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,o=e.toLowerCase().match(P)||[];if(y(t))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(r[n]=r[n]||[]).unshift(t)):(r[n]=r[n]||[]).push(t)}}function Ft(t,i,o,r){var s={},a=t===Rt;function l(e){var n;return s[e]=!0,T.each(t[e]||[],function(e,t){t=t(i,o,r);return"string"!=typeof t||a||s[t]?a?!(n=t):void 0:(i.dataTypes.unshift(t),l(t),!1)}),n}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Ut(e,t){var n,i,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i=i||{})[n]=t[n]);return i&&T.extend(!0,e,i),e}Bt.href=At.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,T.ajaxSettings),t):Ut(T.ajaxSettings,e)},ajaxPrefilter:Wt($t),ajaxTransport:Wt(Rt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,c,u,n,d,h,f,i,o,p=T.ajaxSetup({},t=t||{}),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?T(g):T.event,v=T.Deferred(),b=T.Callbacks("once memory"),y=p.statusCode||{},r={},s={},a="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n)for(n={};t=Ht.exec(u);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?u:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,r[e]=t),this},overrideMimeType:function(e){return null==h&&(p.mimeType=e),this},statusCode:function(e){if(e)if(h)_.always(e[_.status]);else for(var t in e)y[t]=[y[t],e[t]];return this},abort:function(e){e=e||a;return l&&l.abort(e),w(0,e),this}};if(v.promise(_),p.url=((e||p.url||At.href)+"").replace(qt,At.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(P)||[""],null==p.crossDomain){o=E.createElement("a");try{o.href=p.url,o.href=o.href,p.crossDomain=Bt.protocol+"//"+Bt.host!=o.protocol+"//"+o.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=T.param(p.data,p.traditional)),Ft($t,p,t,_),h)return _;for(i in(f=T.event&&p.global)&&0==T.active++&&T.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Mt.test(p.type),c=p.url.replace(jt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ot,"+")):(o=p.url.slice(c.length),p.data&&(p.processData||"string"==typeof p.data)&&(c+=(Nt.test(c)?"&":"?")+p.data,delete p.data),!1===p.cache&&(c=c.replace(Pt,"$1"),o=(Nt.test(c)?"&":"?")+"_="+kt.guid+++o),p.url=c+o),p.ifModified&&(T.lastModified[c]&&_.setRequestHeader("If-Modified-Since",T.lastModified[c]),T.etag[c]&&_.setRequestHeader("If-None-Match",T.etag[c])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&_.setRequestHeader("Content-Type",p.contentType),_.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+zt+"; q=0.01":""):p.accepts["*"]),p.headers)_.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(!1===p.beforeSend.call(g,_,p)||h))return _.abort();if(a="abort",b.add(p.complete),_.done(p.success),_.fail(p.error),l=Ft(Rt,p,t,_)){if(_.readyState=1,f&&m.trigger("ajaxSend",[_,p]),h)return _;p.async&&0<p.timeout&&(d=x.setTimeout(function(){_.abort("timeout")},p.timeout));try{h=!1,l.send(r,w)}catch(e){if(h)throw e;w(-1,e)}}else w(-1,"No Transport");function w(e,t,n,i){var o,r,s,a=t;h||(h=!0,d&&x.clearTimeout(d),l=void 0,u=i||"",_.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var i,o,r,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}s=s||o}r=r||s}if(r)return r!==l[0]&&l.unshift(r),n[r]}(p,_,n)),!i&&-1<T.inArray("script",p.dataTypes)&&T.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),s=function(e,t,n,i){var o,r,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(r=u.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=c[l+" "+r]||c["* "+r]))for(o in c)if((a=o.split(" "))[1]===r&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[o]:!0!==c[o]&&(r=a[0],u.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 "+l+" to "+r}}}return{state:"success",data:t}}(p,s,_,i),i?(p.ifModified&&((n=_.getResponseHeader("Last-Modified"))&&(T.lastModified[c]=n),(n=_.getResponseHeader("etag"))&&(T.etag[c]=n)),204===e||"HEAD"===p.type?a="nocontent":304===e?a="notmodified":(a=s.state,o=s.data,i=!(r=s.error))):(r=a,!e&&a||(a="error",e<0&&(e=0))),_.status=e,_.statusText=(t||a)+"",i?v.resolveWith(g,[o,a,_]):v.rejectWith(g,[_,a,r]),_.statusCode(y),y=void 0,f&&m.trigger(i?"ajaxSuccess":"ajaxError",[_,p,i?o:r]),b.fireWith(g,[_,a]),f&&(m.trigger("ajaxComplete",[_,p]),--T.active||T.event.trigger("ajaxStop")))}return _},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,o){T[o]=function(e,t,n,i){return y(t)&&(i=i||n,n=t,t=void 0),T.ajax(T.extend({url:e,type:o,dataType:i,data:t,success:n},T.isPlainObject(e)&&e))}}),T.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){return this[0]&&(y(e)&&(e=e.call(this[0])),e=T(e,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 y(n)?this.each(function(e){T(this).wrapInner(n.call(this,e))}):this.each(function(){var e=T(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=y(t);return this.each(function(e){T(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new x.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Xt=T.ajaxSettings.xhr();b.cors=!!Xt&&"withCredentials"in Xt,b.ajax=Xt=!!Xt,T.ajaxTransport(function(o){var r,s;if(b.cors||Xt&&!o.crossDomain)return{send:function(e,t){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);r=function(e){return function(){r&&(r=s=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(Vt[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=r(),s=i.onerror=i.ontimeout=r("error"),void 0!==i.onabort?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&&x.setTimeout(function(){r&&s()})},r=r("abort");try{i.send(o.hasContent&&o.data||null)}catch(e){if(r)throw e}},abort:function(){r&&r()}}}),T.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(n){var i,o;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){i=T("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(e){i.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(i[0])},abort:function(){o&&o()}}});var Yt=[],Kt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||T.expando+"_"+kt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,n){var i,o,r,s=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Kt,"$1"+i):!1!==e.jsonp&&(e.url+=(Nt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return r||T.error(i+" was not called"),r[0]},e.dataTypes[0]="json",o=x[i],x[i]=function(){r=arguments},n.always(function(){void 0===o?T(x).removeProp(i):x[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Yt.push(i)),r&&y(o)&&o(r[0]),r=o=void 0}),"script"}),b.createHTMLDocument=((d=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===d.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(b.createHTMLDocument?((i=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(i)):t=E),i=!n&&[],(n=N.exec(e))?[t.createElement(n[1])]:(n=ve([e],t,i),i&&i.length&&T(i).remove(),T.merge([],n.childNodes)));var i},T.fn.load=function(e,t,n){var i,o,r,s=this,a=e.indexOf(" ");return-1<a&&(i=_t(e.slice(a)),e=e.slice(0,a)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<s.length&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){r=arguments,s.html(i?T("<div>").append(T.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},T.expr.pseudos.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length},T.offset={setOffset:function(e,t,n){var i,o,r,s,a=T.css(e,"position"),l=T(e),c={};"static"===a&&(e.style.position="relative"),r=l.offset(),i=T.css(e,"top"),s=T.css(e,"left"),s=("absolute"===a||"fixed"===a)&&-1<(i+s).indexOf("auto")?(o=(a=l.position()).top,a.left):(o=parseFloat(i)||0,parseFloat(s)||0),null!=(t=y(t)?t.call(e,n,T.extend({},r)):t).top&&(c.top=t.top-r.top+o),null!=t.left&&(c.left=t.left-r.left+s),"using"in t?t.using.call(e,c):l.css(c)}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){T.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===T.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(i,"marginTop",!0),left:t.left-o.left-T.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||ie})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var r="pageYOffset"===o;T.fn[t]=function(e){return B(this,function(e,t,n){var i;return g(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===n?i?i[o]:e[t]:void(i?i.scrollTo(r?i.pageXOffset:n,r?n:i.pageYOffset):e[t]=n)},t,e,arguments.length)}}),T.each(["top","left"],function(e,n){T.cssHooks[n]=Ve(b.pixelPosition,function(e,t){if(t)return t=Ue(e,n),Be.test(t)?T(e).position()[n]+"px":t})}),T.each({Height:"height",Width:"width"},function(s,a){T.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,r){T.fn[r]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),o=i||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var i;return g(e)?0===r.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+s],i["scroll"+s],e.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?T.css(e,t,o):T.style(e,t,n,o)},a,n?e:void 0,n)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.fn.extend({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,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){T.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Qt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,i;if("string"==typeof t&&(i=e[t],t=e,e=i),y(e))return n=a.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(a.call(arguments)))}).guid=e.guid=e.guid||T.guid++,i},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=k,T.isFunction=y,T.isWindow=g,T.camelCase=V,T.type=p,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(Qt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return T});var Gt=x.jQuery,Jt=x.$;return T.noConflict=function(e){return x.$===T&&(x.$=Jt),e&&x.jQuery===T&&(x.jQuery=Gt),T},void 0===e&&(x.jQuery=x.$=T),T}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";function o(e){return e&&"[object Function]"==={}.toString.call(e)}function d(e,t){if(1!==e.nodeType)return[];e=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?e[t]:e}function c(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=d(e),n=t.overflow,i=t.overflowX,t=t.overflowY;return/(auto|scroll|overlay)/.test(n+t+i)?e:u(c(e))}function h(e){return e&&e.referenceNode?e.referenceNode:e}function f(e){return 11===e?W:10!==e&&W||F}function g(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===d(n,"position")?g(n):n:(e?e.ownerDocument:document).documentElement}function r(e){return null===e.parentNode?e:r(e.parentNode)}function p(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,n=document.createRange();n.setStart(i,0),n.setEnd(o,0);n=n.commonAncestorContainer;if(e!==n&&t!==n||i.contains(o))return"BODY"===(o=(i=n).nodeName)||"HTML"!==o&&g(i.firstElementChild)!==i?g(n):n;n=r(e);return n.host?p(n.host,t):p(e,r(t).host)}function m(e,t){var n="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",t=e.nodeName;if("BODY"!==t&&"HTML"!==t)return e[n];t=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||t)[n]}function s(e,t){var n="x"===t?"Left":"Top",t="Left"==n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+t+"Width"])}function i(e,t,n,i){return $(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function v(e){var t=e.body,n=e.documentElement,e=f(10)&&getComputedStyle(n);return{height:i("Height",t,n,e),width:i("Width",t,n,e)}}function b(e){return X({},e,{right:e.left+e.width,bottom:e.top+e.height})}function y(e){var t={};try{f(10)?(t=e.getBoundingClientRect(),n=m(e,"top"),i=m(e,"left"),t.top+=n,t.left+=i,t.bottom+=n,t.right+=i):t=e.getBoundingClientRect()}catch(e){}var n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?v(e.ownerDocument):{},t=i.width||e.clientWidth||n.width,i=i.height||e.clientHeight||n.height,t=e.offsetWidth-t,i=e.offsetHeight-i;return(t||i)&&(t-=s(e=d(e),"x"),i-=s(e,"y"),n.width-=t,n.height-=i),b(n)}function _(e,t,n){var i=2<arguments.length&&void 0!==n&&n,o=f(10),r="HTML"===t.nodeName,s=y(e),a=y(t),l=u(e),c=d(t),n=parseFloat(c.borderTopWidth),e=parseFloat(c.borderLeftWidth);i&&r&&(a.top=$(a.top,0),a.left=$(a.left,0));s=b({top:s.top-a.top-n,left:s.left-a.left-e,width:s.width,height:s.height});return s.marginTop=0,s.marginLeft=0,!o&&r&&(r=parseFloat(c.marginTop),c=parseFloat(c.marginLeft),s.top-=n-r,s.bottom-=n-r,s.left-=e-c,s.right-=e-c,s.marginTop=r,s.marginLeft=c),s=(o&&!i?t.contains(l):t===l&&"BODY"!==l.nodeName)?function(e,t,n){var i=2<arguments.length&&void 0!==n&&n,n=m(t,"top"),t=m(t,"left"),i=i?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=t*i,e.right+=t*i,e}(s,t):s}function w(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===d(t,"transform");)t=t.parentElement;return t||document.documentElement}function x(e,t,n,i,o){var r,s=4<arguments.length&&void 0!==o&&o,a={top:0,left:0},o=s?w(e):p(e,h(t));"viewport"===i?a=function(e,t){var n=1<arguments.length&&void 0!==t&&t,i=e.ownerDocument.documentElement,o=_(e,i),r=$(i.clientWidth,window.innerWidth||0),t=$(i.clientHeight,window.innerHeight||0),e=n?0:m(i),i=n?0:m(i,"left");return b({top:e-o.top+o.marginTop,left:i-o.left+o.marginLeft,width:r,height:t})}(o,s):("scrollParent"===i?"BODY"===(r=u(c(t))).nodeName&&(r=e.ownerDocument.documentElement):r="window"===i?e.ownerDocument.documentElement:i,l=_(r,o,s),"HTML"!==r.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===d(t,"position"))return!0;t=c(t);return!!t&&e(t)}(o)?a=l:(e=(o=v(e.ownerDocument)).height,o=o.width,a.top+=l.top-l.marginTop,a.bottom=e+l.top,a.left+=l.left-l.marginLeft,a.right=o+l.left));var l="number"==typeof(n=n||0);return a.left+=l?n:n.left||0,a.top+=l?n:n.top||0,a.right-=l?n:n.right||0,a.bottom-=l?n:n.bottom||0,a}function a(e,t,n,i,o,r){r=5<arguments.length&&void 0!==r?r:0;if(-1===e.indexOf("auto"))return e;var o=x(n,i,r,o),s={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},t=Object.keys(s).map(function(e){return X({key:e},s[e],{area:(e=s[e]).width*e.height})}).sort(function(e,t){return t.area-e.area}),o=t.filter(function(e){var t=e.width,e=e.height;return t>=n.clientWidth&&e>=n.clientHeight}),t=(0<o.length?o:t)[0].key,e=e.split("-")[1];return t+(e?"-"+e:"")}function l(e,t,n,i){i=3<arguments.length&&void 0!==i?i:null;return _(n,i?w(t):p(t,h(n)),i)}function E(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),t=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+t,height:e.offsetHeight+n}}function T(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function C(e,t,n){n=n.split("-")[0];var i=E(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",e=r?"height":"width",r=r?"width":"height";return o[s]=t[s]+t[e]/2-i[e]/2,o[a]=n===a?t[a]-i[r]:t[T(a)],o}function A(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function k(e,n,t){return(void 0===t?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=A(e,function(e){return e[t]===n});return e.indexOf(i)}(e,"name",t))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&o(t)&&(n.offsets.popper=b(n.offsets.popper),n.offsets.reference=b(n.offsets.reference),n=t(n,e))}),n}function e(e,n){return e.some(function(e){var t=e.name;return e.enabled&&t===n})}function N(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],o=o?""+o+n:e;if(void 0!==document.body.style[o])return o}return null}function L(e){e=e.ownerDocument;return e?e.defaultView:window}function t(e,t,n,i){n.updateBound=i,L(e).addEventListener("resize",n.updateBound,{passive:!0});e=u(e);return function e(t,n,i,o){var r="BODY"===t.nodeName,t=r?t.ownerDocument.defaultView:t;t.addEventListener(n,i,{passive:!0}),r||e(u(t.parentNode),n,i,o),o.push(t)}(e,"scroll",n.updateBound,n.scrollParents),n.scrollElement=e,n.eventsEnabled=!0,n}function n(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,L(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function D(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function S(n,i){Object.keys(i).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&D(i[e])&&(t="px"),n.style[e]=i[e]+t})}function I(e,t,n){var i=A(e,function(e){return e.name===t}),o=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});return o||(e="`"+t+"`",console.warn("`"+n+"` modifier is required by "+e+" modifier in order to work, be sure to include it before "+e+"!")),o}function O(e,t){t=1<arguments.length&&void 0!==t&&t,e=Q.indexOf(e),e=Q.slice(e+1).concat(Q.slice(0,e));return t?e.reverse():e}function j(e,o,r,t){var s=[0,0],a=-1!==["right","left"].indexOf(t),n=e.split(/(\+|\-)/).map(function(e){return e.trim()}),t=n.indexOf(A(n,function(e){return-1!==e.search(/,|\s/)}));n[t]&&-1===n[t].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");e=/\s*,\s*|\s+/;return(-1===t?[n]:[n.slice(0,t).concat([n[t].split(e)[0]]),[n[t].split(e)[1]].concat(n.slice(t+1))]).map(function(e,t){var n=(1===t?!a:a)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,i){var o,r=+(s=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],s=s[2];if(!r)return e;if(0!==s.indexOf("%"))return"vh"!==s&&"vw"!==s?r:("vh"===s?$(document.documentElement.clientHeight,window.innerHeight||0):$(document.documentElement.clientWidth,window.innerWidth||0))/100*r;switch(s){case"%p":o=n;break;case"%":case"%r":default:o=i}return b(o)[t]/100*r}(e,n,o,r)})}).forEach(function(n,i){n.forEach(function(e,t){D(e)&&(s[i]+=e*("-"===n[t-1]?-1:1))})}),s}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var H=Math.min,M=Math.floor,q=Math.round,$=Math.max,R="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,z=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(R&&0<=navigator.userAgent.indexOf(e[t]))return 1;return 0}(),B=R&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},z))}},W=R&&!(!window.MSInputMethodContext||!document.documentMode),F=R&&/MSIE 10/.test(navigator.userAgent),U=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},V=function(e,t,n){return t&&te(e.prototype,t),n&&te(e,n),e},X=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Y=R&&/Firefox/i.test(navigator.userAgent),K=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Q=K.slice(3),G="flip",J="clockwise",Z="counterclockwise",V=(V(ee,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=l(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=a(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=C(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=k(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,e(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[N("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=t(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return n.call(this)}}]),ee);function ee(e,t){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};U(this,ee),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=B(this.update.bind(this)),this.options=X({},ee.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(X({},ee.Defaults.modifiers,i.modifiers)).forEach(function(e){n.options.modifiers[e]=X({},ee.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return X({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&o(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();t=this.options.eventsEnabled;t&&this.enableEventListeners(),this.state.eventsEnabled=t}function te(e,t){for(var n,i=0;i<t.length;i++)(n=t[i]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return V.Utils=("undefined"==typeof window?global:window).PopperUtils,V.placements=K,V.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,n,i=e.placement,o=i.split("-")[0],r=i.split("-")[1];return r&&(t=(n=e.offsets).reference,i=n.popper,o=(n=-1!==["bottom","top"].indexOf(o))?"width":"height",o={start:P({},n=n?"left":"top",t[n]),end:P({},n,t[n]+t[o]-i[o])},e.offsets.popper=X({},i,o[r])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,t=(o=e.offsets).popper,o=o.reference,i=i.split("-")[0],o=D(+n)?[+n,0]:j(n,t,o,i);return"left"===i?(t.top+=o[0],t.left-=o[1]):"right"===i?(t.top+=o[0],t.left+=o[1]):"top"===i?(t.left+=o[0],t.top-=o[1]):"bottom"===i&&(t.left+=o[0],t.top+=o[1]),e.popper=t,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,i){var t=i.boundariesElement||g(e.instance.popper);e.instance.reference===t&&(t=g(t));var n=N("transform"),o=e.instance.popper.style,r=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=x(e.instance.popper,e.instance.reference,i.padding,t,e.positionFixed);o.top=r,o.left=s,o[n]=a,i.boundaries=l;var a=i.priority,c=e.offsets.popper,u={primary:function(e){var t=c[e];return c[e]<l[e]&&!i.escapeWithReference&&(t=$(c[e],l[e])),P({},e,t)},secondary:function(e){var t="right"===e?"left":"top",n=c[t];return c[e]>l[e]&&!i.escapeWithReference&&(n=H(c[t],l[e]-("right"===e?c.width:c.height))),P({},t,n)}};return a.forEach(function(e){var t=-1===["left","top"].indexOf(e)?"secondary":"primary";c=X({},c,u[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=M,s=-1!==["top","bottom"].indexOf(o),t=s?"right":"bottom",o=s?"left":"top",s=s?"width":"height";return n[t]<r(i[o])&&(e.offsets.popper[o]=r(i[o])-n[s]),n[o]>r(i[t])&&(e.offsets.popper[o]=r(i[t])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!I(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=e.offsets,r=o.popper,s=o.reference,a=-1!==["left","right"].indexOf(i),l=a?"height":"width",c=a?"Top":"Left",u=c.toLowerCase(),t=a?"left":"top",o=a?"bottom":"right",i=E(n)[l];s[o]-i<r[u]&&(e.offsets.popper[u]-=r[u]-(s[o]-i)),s[u]+i>r[o]&&(e.offsets.popper[u]+=s[u]+i-r[o]),e.offsets.popper=b(e.offsets.popper);a=s[u]+s[l]/2-i/2,o=d(e.instance.popper),s=parseFloat(o["margin"+c]),c=parseFloat(o["border"+c+"Width"]),c=a-e.offsets.popper[u]-s-c,c=$(H(r[l]-i,c),0);return e.arrowElement=n,e.offsets.arrow=(P(n={},u,q(c)),P(n,t,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(c,u){if(e(c.instance.modifiers,"inner"))return c;if(c.flipped&&c.placement===c.originalPlacement)return c;var d=x(c.instance.popper,c.instance.reference,u.padding,u.boundariesElement,c.positionFixed),h=c.placement.split("-")[0],f=T(h),p=c.placement.split("-")[1]||"",g=[];switch(u.behavior){case G:g=[h,f];break;case J:g=O(h);break;case Z:g=O(h,!0);break;default:g=u.behavior}return g.forEach(function(e,t){if(h!==e||g.length===t+1)return c;h=c.placement.split("-")[0],f=T(h);var n=c.offsets.popper,i=c.offsets.reference,o=M,r="left"===h&&o(n.right)>o(i.left)||"right"===h&&o(n.left)<o(i.right)||"top"===h&&o(n.bottom)>o(i.top)||"bottom"===h&&o(n.top)<o(i.bottom),s=o(n.left)<o(d.left),a=o(n.right)>o(d.right),l=o(n.top)<o(d.top),e=o(n.bottom)>o(d.bottom),i="left"===h&&s||"right"===h&&a||"top"===h&&l||"bottom"===h&&e,n=-1!==["top","bottom"].indexOf(h),o=!!u.flipVariations&&(n&&"start"===p&&s||n&&"end"===p&&a||!n&&"start"===p&&l||!n&&"end"===p&&e),l=!!u.flipVariationsByContent&&(n&&"start"===p&&a||n&&"end"===p&&s||!n&&"start"===p&&e||!n&&"end"===p&&l),l=o||l;(r||i||l)&&(c.flipped=!0,(r||i)&&(h=g[t+1]),l&&(p="end"===(l=p)?"start":"start"===l?"end":l),c.placement=h+(p?"-"+p:""),c.offsets.popper=X({},c.offsets.popper,C(c.instance.popper,c.offsets.reference,c.placement)),c=k(c.instance.modifiers,c,"flip"))}),c},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),i=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(i?o[s?"width":"height"]:0),e.placement=T(t),e.offsets.popper=b(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!I(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=A(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,o=e.offsets.popper,r=A(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s,a,l,c,u=void 0===r?t.gpuAcceleration:r,d=g(e.instance.popper),h=y(d),f={position:o.position},t=(s=e,a=window.devicePixelRatio<2||!Y,p=(c=s.offsets).popper,l=c.reference,t=function(e){return e},o=(r=q)(l.width),c=r(p.width),l=-1!==["left","right"].indexOf(s.placement),s=-1!==s.placement.indexOf("-"),l=a?l||s||o%2==c%2?r:M:t,t=a?r:t,{left:l(1==o%2&&1==c%2&&!s&&a?p.left-1:p.left),top:t(p.top),bottom:t(p.bottom),right:l(p.right)}),l="bottom"===n?"top":"bottom",p="right"===i?"left":"right",n=N("transform"),i="bottom"==l?"HTML"===d.nodeName?-d.clientHeight+t.bottom:-h.height+t.bottom:t.top,t="right"==p?"HTML"===d.nodeName?-d.clientWidth+t.right:-h.width+t.right:t.left;u&&n?(f[n]="translate3d("+t+"px, "+i+"px, 0)",f[l]=0,f[p]=0,f.willChange="transform"):(n="right"==p?-1:1,f[l]=i*("bottom"==l?-1:1),f[p]=t*n,f.willChange=l+", "+p);var p={"x-placement":e.placement};return e.attributes=X({},p,e.attributes),e.styles=X({},f,e.styles),e.arrowStyles=X({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return S(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1===n[e]?t.removeAttribute(e):t.setAttribute(e,n[e])}),e.arrowElement&&Object.keys(e.arrowStyles).length&&S(e.arrowElement,e.arrowStyles),e;var t,n},onLoad:function(e,t,n,i,o){o=l(o,t,e,n.positionFixed),e=a(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",e),S(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},V}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t(e.Popper)}(this,function(e){"use strict";var l=function(n){if(n&&n.__esModule)return n;var i=Object.create(null);return n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(i,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),i.default=n,Object.freeze(i)}(e);const f={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){const n=[];let i=e.parentNode;for(;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)i.matches(t)&&n.push(i),i=i.parentNode;return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]}},c=e=>{for(;e+=Math.floor(1e6*Math.random()),document.getElementById(e););return e},t=t=>{let n=t.getAttribute("data-bs-target");if(!n||"#"===n){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e="#"+e.split("#")[1]),n=e&&"#"!==e?e.trim():null}return n},s=e=>{e=t(e);return e&&document.querySelector(e)?e:null},o=e=>{e=t(e);return e?document.querySelector(e):null},i=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);var i=Number.parseFloat(t),e=Number.parseFloat(n);return i||e?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0},r=e=>{e.dispatchEvent(new Event("transitionend"))},a=e=>!(!e||"object"!=typeof e)&&void 0!==(e=void 0!==e.jquery?e[0]:e).nodeType,u=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&0<e.length?f.findOne(e):null,d=(t,e)=>{let n=!1;e+=5;t.addEventListener("transitionend",function e(){n=!0,t.removeEventListener("transitionend",e)}),setTimeout(()=>{n||r(t)},e)},n=(i,o,r)=>{Object.keys(r).forEach(e=>{var t=r[e],n=o[e],n=n&&a(n)?"element":null==n?""+n:{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(t).test(n))throw new TypeError(`${i.toUpperCase()}: Option "${e}" provided type "${n}" but expected type "${t}".`)})},h=e=>{if(!e)return!1;if(e.style&&e.parentNode&&e.parentNode.style){var t=getComputedStyle(e),e=getComputedStyle(e.parentNode);return"none"!==t.display&&"none"!==e.display&&"hidden"!==t.visibility}return!1},p=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),g=e=>{if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?g(e.parentNode):null;e=e.getRootNode();return e instanceof ShadowRoot?e:null},m=()=>{},v=e=>e.offsetHeight,b=()=>{var{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},y=()=>"rtl"===document.documentElement.dir,_=i=>{var e=()=>{const e=b();if(e){const t=i.NAME,n=e.fn[t];e.fn[t]=i.jQueryInterface,e.fn[t].Constructor=i,e.fn[t].noConflict=()=>(e.fn[t]=n,i.jQueryInterface)}};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()},w=e=>{"function"==typeof e&&e()},x=new Map;var E=function(e,t,n){x.has(e)||x.set(e,new Map);const i=x.get(e);i.has(t)||0===i.size?i.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},T=(e,t)=>x.has(e)&&x.get(e).get(t)||null,C=function(e,t){if(x.has(e)){const n=x.get(e);n.delete(t),0===n.size&&x.delete(e)}};const A=/[^.]*(?=\..*)\.|.*/,k=/\..*/,N=/::\d+$/,L={};let D=1;const S={mouseenter:"mouseover",mouseleave:"mouseout"},I=/^(mouseenter|mouseleave)/i,O=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function j(e,t){return t&&`${t}::${D++}`||e.uidEvent||D++}function P(e){var t=j(e);return e.uidEvent=t,L[t]=L[t]||{},L[t]}function H(n,i,o=null){var r=Object.keys(n);for(let e=0,t=r.length;e<t;e++){var s=n[r[e]];if(s.originalHandler===i&&s.delegationSelector===o)return s}return null}function M(e,t,n){var i="string"==typeof t,t=i?n:t;let o=R(e);return O.has(o)||(o=e),[i,t,o]}function q(e,t,n,i,o){if("string"==typeof t&&e){if(n||(n=i,i=null),I.test(t)){const e=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};i?i=e(i):n=e(n)}const[u,d,h]=M(t,n,i),f=P(e),p=f[h]||(f[h]={}),g=H(p,d,u?n:null);if(g)return g.oneOff=g.oneOff&&o,0;const m=j(d,t.replace(A,"")),v=u?(a=e,l=n,c=i,function n(i){var o=a.querySelectorAll(l);for(let{target:t}=i;t&&t!==this;t=t.parentNode)for(let e=o.length;e--;)if(o[e]===t)return i.delegateTarget=t,n.oneOff&&z.off(a,i.type,l,c),c.apply(t,[i]);return null}):(r=e,s=n,function e(t){return t.delegateTarget=r,e.oneOff&&z.off(r,t.type,s),s.apply(r,[t])});var r,s,a,l,c;v.delegationSelector=u?n:null,v.originalHandler=d,v.oneOff=o,v.uidEvent=m,p[m]=v,e.addEventListener(h,v,u)}}function $(e,t,n,i,o){i=H(t[n],i,o);i&&(e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent])}function R(e){return e=e.replace(k,""),S[e]||e}const z={on(e,t,n,i){q(e,t,n,i,!1)},one(e,t,n,i){q(e,t,n,i,!0)},off(n,i,e,t){if("string"==typeof i&&n){const[o,r,s]=M(i,e,t),a=s!==i,l=P(n),c=i.startsWith(".");if(void 0!==r)return l&&l[s]?void $(n,l,s,r,o?e:null):void 0;c&&Object.keys(l).forEach(e=>{!function(t,n,i,o){const r=n[i]||{};Object.keys(r).forEach(e=>{if(e.includes(o)){const o=r[e];$(t,n,i,o.originalHandler,o.delegationSelector)}})}(n,l,e,i.slice(1))});const u=l[s]||{};Object.keys(u).forEach(e=>{var t=e.replace(N,"");if(!a||i.includes(t)){const i=u[e];$(n,l,s,i.originalHandler,i.delegationSelector)}})}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=b(),o=R(t),r=t!==o,s=O.has(o);let a,l=!0,c=!0,u=!1,d=null;return r&&i&&(a=i.Event(t,n),i(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),s?(d=document.createEvent("HTMLEvents"),d.initEvent(o,l,!0)):d=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(e=>{Object.defineProperty(d,e,{get:()=>n[e]})}),u&&d.preventDefault(),c&&e.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}};class B{constructor(e){(e=u(e))&&(this._element=e,E(this._element,this.constructor.DATA_KEY,this))}dispose(){C(this._element,this.constructor.DATA_KEY),z.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,n=!0){n?(n=i(t),z.one(t,"transitionend",()=>w(e)),d(t,n)):w(e)}static getInstance(e){return T(e,this.DATA_KEY)}static get VERSION(){return"5.0.1"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}}class W extends B{static get NAME(){return"alert"}close(e){var t=e?this._getRootElement(e):this._element,e=this._triggerCloseEvent(t);null===e||e.defaultPrevented||this._removeElement(t)}_getRootElement(e){return o(e)||e.closest(".alert")}_triggerCloseEvent(e){return z.trigger(e,"close.bs.alert")}_removeElement(e){e.classList.remove("show");var t=e.classList.contains("fade");this._queueCallback(()=>this._destroyElement(e),e,t)}_destroyElement(e){e.parentNode&&e.parentNode.removeChild(e),z.trigger(e,"closed.bs.alert")}static jQueryInterface(t){return this.each(function(){let e=T(this,"bs.alert");e=e||new W(this),"close"===t&&e[t](this)})}static handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}}}z.on(document,"click.bs.alert.data-api",'[data-bs-dismiss="alert"]',W.handleDismiss(new W)),_(W);class F extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){let e=T(this,"bs.button");e=e||new F(this),"toggle"===t&&e[t]()})}}function U(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function V(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}z.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',e=>{e.preventDefault();e=e.target.closest('[data-bs-toggle="button"]');let t=T(e,"bs.button");t=t||new F(e),t.toggle()}),_(F);const X={setDataAttribute(e,t,n){e.setAttribute("data-bs-"+V(t),n)},removeDataAttribute(e,t){e.removeAttribute("data-bs-"+V(t))},getDataAttributes(n){if(!n)return{};const i={};return Object.keys(n.dataset).filter(e=>e.startsWith("bs")).forEach(e=>{let t=e.replace(/^bs/,"");t=t.charAt(0).toLowerCase()+t.slice(1,t.length),i[t]=U(n.dataset[e])}),i},getDataAttribute:(e,t)=>U(e.getAttribute("data-bs-"+V(t))),offset(e){e=e.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},Y={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},K={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Q="next",G="prev",J="left",Z="right";class ee extends B{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=f.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Y}static get NAME(){return"carousel"}next(){this._isSliding||this._slide(Q)}nextWhenVisible(){!document.hidden&&h(this._element)&&this.next()}prev(){this._isSliding||this._slide(G)}pause(e){e||(this._isPaused=!0),f.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(r(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=f.findOne(".active.carousel-item",this._element);var t=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)z.one(this._element,"slid.bs.carousel",()=>this.to(e));else{if(t===e)return this.pause(),void this.cycle();t=t<e?Q:G;this._slide(t,this._items[e])}}_getConfig(e){return e={...Y,...e},n("carousel",e,K),e}_handleSwipe(){var e=Math.abs(this.touchDeltaX);e<=40||(e=e/this.touchDeltaX,this.touchDeltaX=0,e&&this._slide(0<e?Z:J))}_addEventListeners(){this._config.keyboard&&z.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(z.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),z.on(this._element,"mouseleave.bs.carousel",e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=e=>{!this._pointerEvent||"pen"!==e.pointerType&&"touch"!==e.pointerType?this._pointerEvent||(this.touchStartX=e.touches[0].clientX):this.touchStartX=e.clientX},n=e=>{this.touchDeltaX=e.touches&&1<e.touches.length?0:e.touches[0].clientX-this.touchStartX},i=e=>{!this._pointerEvent||"pen"!==e.pointerType&&"touch"!==e.pointerType||(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(e=>this.cycle(e),500+this._config.interval))};f.find(".carousel-item img",this._element).forEach(e=>{z.on(e,"dragstart.bs.carousel",e=>e.preventDefault())}),this._pointerEvent?(z.on(this._element,"pointerdown.bs.carousel",e=>t(e)),z.on(this._element,"pointerup.bs.carousel",e=>i(e)),this._element.classList.add("pointer-event")):(z.on(this._element,"touchstart.bs.carousel",e=>t(e)),z.on(this._element,"touchmove.bs.carousel",e=>n(e)),z.on(this._element,"touchend.bs.carousel",e=>i(e)))}_keydown(e){/input|textarea/i.test(e.target.tagName)||("ArrowLeft"===e.key?(e.preventDefault(),this._slide(Z)):"ArrowRight"===e.key&&(e.preventDefault(),this._slide(J)))}_getItemIndex(e){return this._items=e&&e.parentNode?f.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){var n=e===Q,i=e===G,o=this._getItemIndex(t),e=this._items.length-1;if((i&&0===o||n&&o===e)&&!this._config.wrap)return t;i=(o+(i?-1:1))%this._items.length;return-1==i?this._items[this._items.length-1]:this._items[i]}_triggerSlideEvent(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(f.findOne(".active.carousel-item",this._element));return z.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:i,to:n})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=f.findOne(".active",this._indicatorsElement);e.classList.remove("active"),e.removeAttribute("aria-current");const n=f.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e<n.length;e++)if(Number.parseInt(n[e].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){n[e].classList.add("active"),n[e].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||f.findOne(".active.carousel-item",this._element);var t;e&&((t=Number.parseInt(e.getAttribute("data-bs-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval)}_slide(e,t){const n=this._directionToOrder(e),i=f.findOne(".active.carousel-item",this._element),o=this._getItemIndex(i),r=t||this._getItemByOrder(n,i),s=this._getItemIndex(r),a=Boolean(this._interval),l=n===Q,c=l?"carousel-item-start":"carousel-item-end",u=l?"carousel-item-next":"carousel-item-prev",d=this._orderToDirection(n);if(r&&r.classList.contains("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(r,d).defaultPrevented&&i&&r){this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(r),this._activeElement=r;const h=()=>{z.trigger(this._element,"slid.bs.carousel",{relatedTarget:r,direction:d,from:o,to:s})};if(this._element.classList.contains("slide")){r.classList.add(u),v(r),i.classList.add(c),r.classList.add(c);const e=()=>{r.classList.remove(c,u),r.classList.add("active"),i.classList.remove("active",u,c),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(e,i,!0)}else i.classList.remove("active"),r.classList.add("active"),this._isSliding=!1,h();a&&this.cycle()}}_directionToOrder(e){return[Z,J].includes(e)?y()?e===J?G:Q:e===J?Q:G:e}_orderToDirection(e){return[Q,G].includes(e)?y()?e===G?J:Z:e===G?Z:J:e}static carouselInterface(e,t){let n=T(e,"bs.carousel"),i={...Y,...X.getDataAttributes(e)};"object"==typeof t&&(i={...i,...t});var o="string"==typeof t?t:i.slide;if(n=n||new ee(e,i),"number"==typeof t)n.to(t);else if("string"==typeof o){if(void 0===n[o])throw new TypeError(`No method named "${o}"`);n[o]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}static jQueryInterface(e){return this.each(function(){ee.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=o(this);if(t&&t.classList.contains("carousel")){const n={...X.getDataAttributes(t),...X.getDataAttributes(this)},i=this.getAttribute("data-bs-slide-to");i&&(n.interval=!1),ee.carouselInterface(t,n),i&&T(t,"bs.carousel").to(i),e.preventDefault()}}}z.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",ee.dataApiClickHandler),z.on(window,"load.bs.carousel.data-api",()=>{var n=f.find('[data-bs-ride="carousel"]');for(let e=0,t=n.length;e<t;e++)ee.carouselInterface(n[e],T(n[e],"bs.carousel"))}),_(ee);const te={toggle:!0,parent:""},ne={toggle:"boolean",parent:"(string|element)"};class ie extends B{constructor(e,n){super(e),this._isTransitioning=!1,this._config=this._getConfig(n),this._triggerArray=f.find(`[data-bs-toggle="collapse"][href="#${this._element.id}"],[data-bs-toggle="collapse"][data-bs-target="#${this._element.id}"]`);var i=f.find('[data-bs-toggle="collapse"]');for(let e=0,t=i.length;e<t;e++){const n=i[e],o=s(n),r=f.find(o).filter(e=>e===this._element);null!==o&&r.length&&(this._selector=o,this._triggerArray.push(n))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get Default(){return te}static get NAME(){return"collapse"}toggle(){this._element.classList.contains("show")?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._element.classList.contains("show")){let e,t;this._parent&&(e=f.find(".show, .collapsing",this._parent).filter(e=>"string"==typeof this._config.parent?e.getAttribute("data-bs-parent")===this._config.parent:e.classList.contains("collapse")),0===e.length&&(e=null));const i=f.findOne(this._selector);if(e){const f=e.find(e=>i!==e);if(t=f?T(f,"bs.collapse"):null,t&&t._isTransitioning)return}if(!z.trigger(this._element,"show.bs.collapse").defaultPrevented){e&&e.forEach(e=>{i!==e&&ie.collapseInterface(e,"hide"),t||E(e,"bs.collapse",null)});const o=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[o]=0,this._triggerArray.length&&this._triggerArray.forEach(e=>{e.classList.remove("collapsed"),e.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0);var n="scroll"+(o[0].toUpperCase()+o.slice(1));this._queueCallback(()=>{this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[o]="",this.setTransitioning(!1),z.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[o]=this._element[n]+"px"}}}hide(){if(!this._isTransitioning&&this._element.classList.contains("show")&&!z.trigger(this._element,"hide.bs.collapse").defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",v(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");const t=this._triggerArray.length;if(0<t)for(let e=0;e<t;e++){const t=this._triggerArray[e],n=o(t);n&&!n.classList.contains("show")&&(t.classList.add("collapsed"),t.setAttribute("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[e]="",this._queueCallback(()=>{this.setTransitioning(!1),this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),z.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}setTransitioning(e){this._isTransitioning=e}_getConfig(e){return(e={...te,...e}).toggle=Boolean(e.toggle),n("collapse",e,ne),e}_getDimension(){return this._element.classList.contains("width")?"width":"height"}_getParent(){var{parent:e}=this._config,t=`[data-bs-toggle="collapse"][data-bs-parent="${e=u(e)}"]`;return f.find(t,e).forEach(e=>{var t=o(e);this._addAriaAndCollapsedClass(t,[e])}),e}_addAriaAndCollapsedClass(e,t){if(e&&t.length){const n=e.classList.contains("show");t.forEach(e=>{n?e.classList.remove("collapsed"):e.classList.add("collapsed"),e.setAttribute("aria-expanded",n)})}}static collapseInterface(e,t){let n=T(e,"bs.collapse");const i={...te,...X.getDataAttributes(e),..."object"==typeof t&&t?t:{}};if(!n&&i.toggle&&"string"==typeof t&&/show|hide/.test(t)&&(i.toggle=!1),n=n||new ie(e,i),"string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}static jQueryInterface(e){return this.each(function(){ie.collapseInterface(this,e)})}}z.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const i=X.getDataAttributes(this),t=s(this);f.find(t).forEach(e=>{const t=T(e,"bs.collapse");let n;n=t?(null===t._parent&&"string"==typeof i.parent&&(t._config.parent=i.parent,t._parent=t._getParent()),"toggle"):i,ie.collapseInterface(e,n)})}),_(ie);const oe=new RegExp("ArrowUp|ArrowDown|Escape"),re=y()?"top-end":"top-start",se=y()?"top-start":"top-end",ae=y()?"bottom-end":"bottom-start",le=y()?"bottom-start":"bottom-end",ce=y()?"left-start":"right-start",ue=y()?"right-start":"left-start",de={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},he={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class fe extends B{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}static get Default(){return de}static get DefaultType(){return he}static get NAME(){return"dropdown"}toggle(){p(this._element)||(this._element.classList.contains("show")?this.hide():this.show())}show(){if(!p(this._element)&&!this._menu.classList.contains("show")){const t=fe.getParentFromElement(this._element),e={relatedTarget:this._element};if(!z.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._inNavbar)X.setDataAttribute(this._menu,"popper","none");else{if(void 0===l)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:a(this._config.reference)?e=u(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const n=this._getPopperConfig(),i=n.modifiers.find(e=>"applyStyles"===e.name&&!1===e.enabled);this._popper=l.createPopper(e,this._menu,n),i&&X.setDataAttribute(this._menu,"popper","static")}"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(e=>z.on(e,"mouseover",m)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle("show"),this._element.classList.toggle("show"),z.trigger(this._element,"shown.bs.dropdown",e)}}}hide(){var e;!p(this._element)&&this._menu.classList.contains("show")&&(e={relatedTarget:this._element},this._completeHide(e))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_addEventListeners(){z.on(this._element,"click.bs.dropdown",e=>{e.preventDefault(),this.toggle()})}_completeHide(e){z.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>z.off(e,"mouseover",m)),this._popper&&this._popper.destroy(),this._menu.classList.remove("show"),this._element.classList.remove("show"),this._element.setAttribute("aria-expanded","false"),X.removeDataAttribute(this._menu,"popper"),z.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...X.getDataAttributes(this._element),...e},n("dropdown",e,this.constructor.DefaultType),"object"==typeof e.reference&&!a(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return e}_getMenuElement(){return f.next(this._element,".dropdown-menu")[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return ce;if(e.classList.contains("dropstart"))return ue;var t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?se:re:t?le:ae}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem(t){const n=f.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(h);if(n.length){let e=n.indexOf(t.target);"ArrowUp"===t.key&&0<e&&e--,"ArrowDown"===t.key&&e<n.length-1&&e++,e=-1===e?0:e,n[e].focus()}}static dropdownInterface(e,t){let n=T(e,"bs.dropdown");if(n=n||new fe(e,"object"==typeof t?t:null),"string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}static jQueryInterface(e){return this.each(function(){fe.dropdownInterface(this,e)})}static clearMenus(n){if(!n||2!==n.button&&("keyup"!==n.type||"Tab"===n.key)){const i=f.find('[data-bs-toggle="dropdown"]');for(let e=0,t=i.length;e<t;e++){const f=T(i[e],"bs.dropdown");if(f&&!1!==f._config.autoClose&&f._element.classList.contains("show")){const o={relatedTarget:f._element};if(n){const i=n.composedPath(),r=i.includes(f._menu);if(i.includes(f._element)||"inside"===f._config.autoClose&&!r||"outside"===f._config.autoClose&&r)continue;if(f._menu.contains(n.target)&&("keyup"===n.type&&"Tab"===n.key||/input|select|option|textarea|form/i.test(n.target.tagName)))continue;"click"===n.type&&(o.clickEvent=n)}f._completeHide(o)}}}}static getParentFromElement(e){return o(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?!("Space"===e.key||"Escape"!==e.key&&("ArrowDown"!==e.key&&"ArrowUp"!==e.key||e.target.closest(".dropdown-menu"))):oe.test(e.key)){var t=this.classList.contains("show");if((t||"Escape"!==e.key)&&(e.preventDefault(),e.stopPropagation(),!p(this))){var n=()=>this.matches('[data-bs-toggle="dropdown"]')?this:f.prev(this,'[data-bs-toggle="dropdown"]')[0];if("Escape"===e.key)return n().focus(),void fe.clearMenus();t||"ArrowUp"!==e.key&&"ArrowDown"!==e.key?t&&"Space"!==e.key?fe.getInstance(n())._selectMenuItem(e):fe.clearMenus():n().click()}}}}z.on(document,"keydown.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',fe.dataApiKeydownHandler),z.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",fe.dataApiKeydownHandler),z.on(document,"click.bs.dropdown.data-api",fe.clearMenus),z.on(document,"keyup.bs.dropdown.data-api",fe.clearMenus),z.on(document,"click.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',function(e){e.preventDefault(),fe.dropdownInterface(this)}),_(fe);const pe=()=>{var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)},ge=(t=pe())=>{me(),ve("body","paddingRight",e=>e+t),ve(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight",e=>e+t),ve(".sticky-top","marginRight",e=>e-t)},me=()=>{var e=document.body.style.overflow;e&&X.setDataAttribute(document.body,"overflow",e),document.body.style.overflow="hidden"},ve=(e,i,o)=>{const r=pe();f.find(e).forEach(e=>{var t,n;e!==document.body&&window.innerWidth>e.clientWidth+r||(t=e.style[i],n=window.getComputedStyle(e)[i],X.setDataAttribute(e,i,t),e.style[i]=o(Number.parseFloat(n))+"px")})},be=()=>{ye("body","overflow"),ye("body","paddingRight"),ye(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight"),ye(".sticky-top","marginRight")},ye=(e,n)=>{f.find(e).forEach(e=>{var t=X.getDataAttribute(e,n);void 0===t?e.style.removeProperty(n):(X.removeDataAttribute(e,n),e.style[n]=t)})},_e={isVisible:!0,isAnimated:!1,rootElement:document.body,clickCallback:null},we={isVisible:"boolean",isAnimated:"boolean",rootElement:"element",clickCallback:"(function|null)"};class xe{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&v(this._getElement()),this._getElement().classList.add("show"),this._emulateAnimation(()=>{w(e)})):w(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),w(e)})):w(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className="modal-backdrop",this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={..._e,..."object"==typeof e?e:{}}).rootElement=e.rootElement||document.body,n("backdrop",e,we),e}_append(){this._isAppended||(this._config.rootElement.appendChild(this._getElement()),z.on(this._getElement(),"mousedown.bs.backdrop",()=>{w(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(z.off(this._element,"mousedown.bs.backdrop"),this._getElement().parentNode.removeChild(this._element),this._isAppended=!1)}_emulateAnimation(e){var t;this._config.isAnimated?(t=i(this._getElement()),z.one(this._getElement(),"transitionend",()=>w(e)),d(this._getElement(),t)):w(e)}}const Ee={backdrop:!0,keyboard:!0,focus:!0},Te={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class Ce extends B{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=f.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1}static get Default(){return Ee}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){var t;this._isShown||this._isTransitioning||(this._isAnimated()&&(this._isTransitioning=!0),t=z.trigger(this._element,"show.bs.modal",{relatedTarget:e}),this._isShown||t.defaultPrevented||(this._isShown=!0,ge(),document.body.classList.add("modal-open"),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),z.on(this._element,"click.dismiss.bs.modal",'[data-bs-dismiss="modal"]',e=>this.hide(e)),z.on(this._dialog,"mousedown.dismiss.bs.modal",()=>{z.one(this._element,"mouseup.dismiss.bs.modal",e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(e))))}hide(e){e&&e.preventDefault(),this._isShown&&!this._isTransitioning&&(z.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,(e=this._isAnimated())&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),z.off(document,"focusin.bs.modal"),this._element.classList.remove("show"),z.off(this._element,"click.dismiss.bs.modal"),z.off(this._dialog,"mousedown.dismiss.bs.modal"),this._queueCallback(()=>this._hideModal(),this._element,e)))}dispose(){[window,this._dialog].forEach(e=>z.off(e,".bs.modal")),this._backdrop.dispose(),super.dispose(),z.off(document,"focusin.bs.modal")}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new xe({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_getConfig(e){return e={...Ee,...X.getDataAttributes(this._element),...e},n("modal",e,Te),e}_showElement(e){const t=this._isAnimated(),n=f.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,n&&(n.scrollTop=0),t&&v(this._element),this._element.classList.add("show"),this._config.focus&&this._enforceFocus(),this._queueCallback(()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,z.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,t)}_enforceFocus(){z.off(document,"focusin.bs.modal"),z.on(document,"focusin.bs.modal",e=>{document===e.target||this._element===e.target||this._element.contains(e.target)||this._element.focus()})}_setEscapeEvent(){this._isShown?z.on(this._element,"keydown.dismiss.bs.modal",e=>{this._config.keyboard&&"Escape"===e.key?(e.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==e.key||this._triggerBackdropTransition()}):z.off(this._element,"keydown.dismiss.bs.modal")}_setResizeEvent(){this._isShown?z.on(window,"resize.bs.modal",()=>this._adjustDialog()):z.off(window,"resize.bs.modal")}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove("modal-open"),this._resetAdjustments(),be(),z.trigger(this._element,"hidden.bs.modal")})}_showBackdrop(e){z.on(this._element,"click.dismiss.bs.modal",e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!z.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){const e=this._element.scrollHeight>document.documentElement.clientHeight;e||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");const t=i(this._dialog);z.off(this._element,"transitionend"),z.one(this._element,"transitionend",()=>{this._element.classList.remove("modal-static"),e||(z.one(this._element,"transitionend",()=>{this._element.style.overflowY=""}),d(this._element,t))}),d(this._element,t),this._element.focus()}}_adjustDialog(){var e=this._element.scrollHeight>document.documentElement.clientHeight,t=pe(),n=0<t;(!n&&e&&!y()||n&&!e&&y())&&(this._element.style.paddingLeft=t+"px"),(n&&!e&&!y()||!n&&e&&y())&&(this._element.style.paddingRight=t+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const e=Ce.getInstance(this)||new Ce(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](n)}})}}z.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){const t=o(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),z.one(t,"show.bs.modal",e=>{e.defaultPrevented||z.one(t,"hidden.bs.modal",()=>{h(this)&&this.focus()})}),(Ce.getInstance(t)||new Ce(t)).toggle(this)}),_(Ce);const Ae={backdrop:!0,keyboard:!0,scroll:!1},ke={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"};class Ne extends B{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._addEventListeners()}static get NAME(){return"offcanvas"}static get Default(){return Ae}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||z.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(ge(),this._enforceFocusOnElement(this._element)),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{z.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(z.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(z.off(document,"focusin.bs.offcanvas"),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||be(),z.trigger(this._element,"hidden.bs.offcanvas")},this._element,!0)))}dispose(){this._backdrop.dispose(),super.dispose(),z.off(document,"focusin.bs.offcanvas")}_getConfig(e){return e={...Ae,...X.getDataAttributes(this._element),..."object"==typeof e?e:{}},n("offcanvas",e,ke),e}_initializeBackDrop(){return new xe({isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_enforceFocusOnElement(t){z.off(document,"focusin.bs.offcanvas"),z.on(document,"focusin.bs.offcanvas",e=>{document===e.target||t===e.target||t.contains(e.target)||t.focus()}),t.focus()}_addEventListeners(){z.on(this._element,"click.dismiss.bs.offcanvas",'[data-bs-dismiss="offcanvas"]',()=>this.hide()),z.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()})}static jQueryInterface(t){return this.each(function(){const e=T(this,"bs.offcanvas")||new Ne(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}})}}z.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=o(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),p(this)||(z.one(t,"hidden.bs.offcanvas",()=>{h(this)&&this.focus()}),(e=f.findOne(".offcanvas.show"))&&e!==t&&Ne.getInstance(e).hide(),(T(t,"bs.offcanvas")||new Ne(t)).toggle(this))}),z.on(window,"load.bs.offcanvas.data-api",()=>{f.find(".offcanvas.show").forEach(e=>(T(e,"bs.offcanvas")||new Ne(e)).show())}),_(Ne);const Le=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),De=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,Se=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Ie(e,n,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);const o=(new window.DOMParser).parseFromString(e,"text/html"),r=Object.keys(n),s=[].concat(...o.body.querySelectorAll("*"));for(let e=0,t=s.length;e<t;e++){const i=s[e],o=i.nodeName.toLowerCase();if(r.includes(o)){const a=[].concat(...i.attributes),l=[].concat(n["*"]||[],n[o]||[]);a.forEach(e=>{((e,t)=>{var n=e.nodeName.toLowerCase();if(t.includes(n))return!Le.has(n)||Boolean(De.test(e.nodeValue)||Se.test(e.nodeValue));const i=t.filter(e=>e instanceof RegExp);for(let e=0,t=i.length;e<t;e++)if(i[e].test(n))return!0;return!1})(e,l)||i.removeAttribute(e.nodeName)})}else i.parentNode.removeChild(i)}return o.body.innerHTML}const Oe=new RegExp("(^|\\s)bs-tooltip\\S+","g"),je=new Set(["sanitize","allowList","sanitizeFn"]),Pe={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},He={AUTO:"auto",TOP:"top",RIGHT:y()?"left":"right",BOTTOM:"bottom",LEFT:y()?"right":"left"},Me={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},qe={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"};class $e extends B{constructor(e,t){if(void 0===l)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return Me}static get NAME(){return"tooltip"}static get Event(){return qe}static get DefaultType(){return Pe}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else this.getTipElement().classList.contains("show")?this._leave(null,this):this._enter(null,this)}dispose(){clearTimeout(this._timeout),z.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this._popper&&this._popper.destroy(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){const t=z.trigger(this._element,this.constructor.Event.SHOW),n=g(this._element),i=(null===n?this._element.ownerDocument.documentElement:n).contains(this._element);if(!t.defaultPrevented&&i){const o=this.getTipElement(),r=c(this.constructor.NAME);o.setAttribute("id",r),this._element.setAttribute("aria-describedby",r),this.setContent(),this._config.animation&&o.classList.add("fade");var e="function"==typeof this._config.placement?this._config.placement.call(this,o,this._element):this._config.placement,e=this._getAttachment(e);this._addAttachmentClass(e);const{container:s}=this._config;E(o,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(s.appendChild(o),z.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=l.createPopper(this._element,o,this._getPopperConfig(e)),o.classList.add("show");const a="function"==typeof this._config.customClass?this._config.customClass():this._config.customClass;a&&o.classList.add(...a.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>{z.on(e,"mouseover",m)});e=this.tip.classList.contains("fade");this._queueCallback(()=>{var e=this._hoverState;this._hoverState=null,z.trigger(this._element,this.constructor.Event.SHOWN),"out"===e&&this._leave(null,this)},this.tip,e)}}}hide(){if(this._popper){const t=this.getTipElement();var e;z.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented||(t.classList.remove("show"),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(e=>z.off(e,"mouseover",m)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,e=this.tip.classList.contains("fade"),this._queueCallback(()=>{this._isWithActiveTrigger()||("show"!==this._hoverState&&t.parentNode&&t.parentNode.removeChild(t),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),z.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))},this.tip,e),this._hoverState="")}}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");return e.innerHTML=this._config.template,this.tip=e.children[0],this.tip}setContent(){const e=this.getTipElement();this.setElementContent(f.findOne(".tooltip-inner",e),this.getTitle()),e.classList.remove("fade","show")}setElementContent(e,t){if(null!==e)return a(t)?(t=u(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.appendChild(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=Ie(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){let e=this._element.getAttribute("data-bs-original-title");return e=e||("function"==typeof this._config.title?this._config.title.call(this._element):this._config.title),e}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){var n=this.constructor.DATA_KEY;return(t=t||T(e.delegateTarget,n))||(t=new this.constructor(e.delegateTarget,this._getDelegateConfig()),E(e.delegateTarget,n,t)),t}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(e){e={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add("bs-tooltip-"+this.updateAttachment(e))}_getAttachment(e){return He[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{var t;"click"===e?z.on(this._element,this.constructor.Event.CLICK,this._config.selector,e=>this.toggle(e)):"manual"!==e&&(t="hover"===e?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,e="hover"===e?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT,z.on(this._element,t,this._config.selector,e=>this._enter(e)),z.on(this._element,e,this._config.selector,e=>this._leave(e)))}),this._hideModalHandler=()=>{this._element&&this.hide()},z.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){var e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");!e&&"string"==t||(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),t.getTipElement().classList.contains("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{"show"===t._hoverState&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(()=>{"out"===t._hoverState&&t.hide()},t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=X.getDataAttributes(this._element);return Object.keys(t).forEach(e=>{je.has(e)&&delete t[e]}),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:u(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),n("tooltip",e,this.constructor.DefaultType),e.sanitize&&(e.template=Ie(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};if(this._config)for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(Oe);null!==e&&0<e.length&&e.map(e=>e.trim()).forEach(e=>t.classList.remove(e))}_handlePopperPlacementChange(e){var{state:e}=e;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}static jQueryInterface(n){return this.each(function(){let e=T(this,"bs.tooltip");var t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e=e||new $e(this,t),"string"==typeof n)){if(void 0===e[n])throw new TypeError(`No method named "${n}"`);e[n]()}})}}_($e);const Re=new RegExp("(^|\\s)bs-popover\\S+","g"),ze={...$e.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},Be={...$e.DefaultType,content:"(string|element|function)"},We={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class Fe extends $e{static get Default(){return ze}static get NAME(){return"popover"}static get Event(){return We}static get DefaultType(){return Be}isWithContent(){return this.getTitle()||this._getContent()}setContent(){const e=this.getTipElement();this.setElementContent(f.findOne(".popover-header",e),this.getTitle());let t=this._getContent();"function"==typeof t&&(t=t.call(this._element)),this.setElementContent(f.findOne(".popover-body",e),t),e.classList.remove("fade","show")}_addAttachmentClass(e){this.getTipElement().classList.add("bs-popover-"+this.updateAttachment(e))}_getContent(){return this._element.getAttribute("data-bs-content")||this._config.content}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(Re);null!==e&&0<e.length&&e.map(e=>e.trim()).forEach(e=>t.classList.remove(e))}static jQueryInterface(n){return this.each(function(){let e=T(this,"bs.popover");var t="object"==typeof n?n:null;if((e||!/dispose|hide/.test(n))&&(e||(e=new Fe(this,t),E(this,"bs.popover",e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError(`No method named "${n}"`);e[n]()}})}}_(Fe);const Ue={offset:10,method:"auto",target:""},Ve={offset:"number",method:"string",target:"(string|element)"};class Xe extends B{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._selector=`${this._config.target} .nav-link, ${this._config.target} .list-group-item, ${this._config.target} .dropdown-item`,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,z.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return Ue}static get NAME(){return"scrollspy"}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?e:this._config.method,o="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),f.find(this._selector).map(e=>{const t=s(e),n=t?f.findOne(t):null;if(n){const e=n.getBoundingClientRect();if(e.width||e.height)return[X[i](n).top+o,t]}return null}).filter(e=>e).sort((e,t)=>e[0]-t[0]).forEach(e=>{this._offsets.push(e[0]),this._targets.push(e[1])})}dispose(){z.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(t){if("string"!=typeof(t={...Ue,...X.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target&&a(t.target)){let{id:e}=t.target;e||(e=c("scrollspy"),t.target.id=e),t.target="#"+e}return n("scrollspy",t,Ve),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;)this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}_activate(t){this._activeTarget=t,this._clear();const e=this._selector.split(",").map(e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`),n=f.findOne(e.join(","));n.classList.contains("dropdown-item")?(f.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add("active"),n.classList.add("active")):(n.classList.add("active"),f.parents(n,".nav, .list-group").forEach(e=>{f.prev(e,".nav-link, .list-group-item").forEach(e=>e.classList.add("active")),f.prev(e,".nav-item").forEach(e=>{f.children(e,".nav-link").forEach(e=>e.classList.add("active"))})})),z.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){f.find(this._selector).filter(e=>e.classList.contains("active")).forEach(e=>e.classList.remove("active"))}static jQueryInterface(t){return this.each(function(){const e=Xe.getInstance(this)||new Xe(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}z.on(window,"load.bs.scrollspy.data-api",()=>{f.find('[data-bs-spy="scroll"]').forEach(e=>new Xe(e))}),_(Xe);class Ye extends B{static get NAME(){return"tab"}show(){if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!this._element.classList.contains("active")){let e;const n=o(this._element),i=this._element.closest(".nav, .list-group");if(i){const n="UL"===i.nodeName||"OL"===i.nodeName?":scope > li > .active":".active";e=f.find(n,i),e=e[e.length-1]}var t=e?z.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;z.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==t&&t.defaultPrevented||(this._activate(this._element,i),t=()=>{z.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),z.trigger(this._element,"shown.bs.tab",{relatedTarget:e})},n?this._activate(n,n.parentNode,t):t())}}_activate(e,t,n){const i=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?f.children(t,".active"):f.find(":scope > li > .active",t))[0],o=n&&i&&i.classList.contains("fade"),r=()=>this._transitionComplete(e,i,n);i&&o?(i.classList.remove("show"),this._queueCallback(r,e,!0)):r()}_transitionComplete(e,t,n){if(t){t.classList.remove("active");const e=f.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),v(e),e.classList.contains("fade")&&e.classList.add("show");let i=e.parentNode;if(i&&"LI"===i.nodeName&&(i=i.parentNode),i&&i.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&f.find(".dropdown-toggle",t).forEach(e=>e.classList.add("active")),e.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(t){return this.each(function(){const e=T(this,"bs.tab")||new Ye(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}})}}z.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),p(this)||(T(this,"bs.tab")||new Ye(this)).show()}),_(Ye);const Ke={animation:"boolean",autohide:"boolean",delay:"number"},Qe={animation:!0,autohide:!0,delay:5e3};class Ge extends B{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Ke}static get Default(){return Qe}static get NAME(){return"toast"}show(){z.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),v(this._element),this._element.classList.add("showing"),this._queueCallback(()=>{this._element.classList.remove("showing"),this._element.classList.add("show"),z.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains("show")&&(z.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.remove("show"),this._queueCallback(()=>{this._element.classList.add("hide"),z.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),super.dispose()}_getConfig(e){return e={...Qe,...X.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},n("toast",e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}t?this._clearTimeout():(e=e.relatedTarget,this._element===e||this._element.contains(e)||this._maybeScheduleHide())}_setListeners(){z.on(this._element,"click.dismiss.bs.toast",'[data-bs-dismiss="toast"]',()=>this.hide()),z.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),z.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),z.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),z.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){let e=T(this,"bs.toast");if(e=e||new Ge(this,"object"==typeof t&&t),"string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}})}}return _(Ge),{Alert:W,Button:F,Carousel:ee,Collapse:ie,Dropdown:fe,Modal:Ce,Offcanvas:Ne,Popover:Fe,ScrollSpy:Xe,Tab:Ye,Toast:Ge,Tooltip:$e}}),function(e,t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):e.lightbox=t(e.jQuery)}(this,function(u){function e(e){this.album=[],this.currentImageIndex=void 0,this.init(),this.options=u.extend({},this.constructor.defaults),this.option(e)}return e.defaults={albumLabel:"Image %1 of %2",alwaysShowNavOnTouchDevices:!1,fadeDuration:600,fitImagesInViewport:!0,imageFadeDuration:600,positionFromTop:50,resizeDuration:700,showImageNumberLabel:!0,wrapAround:!1,disableScrolling:!1,sanitizeTitle:!1},e.prototype.option=function(e){u.extend(this.options,e)},e.prototype.imageCountLabel=function(e,t){return this.options.albumLabel.replace(/%1/g,e).replace(/%2/g,t)},e.prototype.init=function(){var e=this;u(document).ready(function(){e.enable(),e.build()})},e.prototype.enable=function(){var t=this;u("body").on("click","a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]",function(e){return t.start(u(e.currentTarget)),!1})},e.prototype.build=function(){var t;0<u("#lightbox").length||(t=this,u('<div id="lightboxOverlay" tabindex="-1" class="lightboxOverlay"></div><div id="lightbox" tabindex="-1" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt=""/><div class="lb-nav"><a class="lb-prev" aria-label="Previous image" href="" ></a><a class="lb-next" aria-label="Next image" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo(u("body")),this.$lightbox=u("#lightbox"),this.$overlay=u("#lightboxOverlay"),this.$outerContainer=this.$lightbox.find(".lb-outerContainer"),this.$container=this.$lightbox.find(".lb-container"),this.$image=this.$lightbox.find(".lb-image"),this.$nav=this.$lightbox.find(".lb-nav"),this.containerPadding={top:parseInt(this.$container.css("padding-top"),10),right:parseInt(this.$container.css("padding-right"),10),bottom:parseInt(this.$container.css("padding-bottom"),10),left:parseInt(this.$container.css("padding-left"),10)},this.imageBorderWidth={top:parseInt(this.$image.css("border-top-width"),10),right:parseInt(this.$image.css("border-right-width"),10),bottom:parseInt(this.$image.css("border-bottom-width"),10),left:parseInt(this.$image.css("border-left-width"),10)},this.$overlay.hide().on("click",function(){return t.end(),!1}),this.$lightbox.hide().on("click",function(e){"lightbox"===u(e.target).attr("id")&&t.end()}),this.$outerContainer.on("click",function(e){return"lightbox"===u(e.target).attr("id")&&t.end(),!1}),this.$lightbox.find(".lb-prev").on("click",function(){return 0===t.currentImageIndex?t.changeImage(t.album.length-1):t.changeImage(t.currentImageIndex-1),!1}),this.$lightbox.find(".lb-next").on("click",function(){return t.currentImageIndex===t.album.length-1?t.changeImage(0):t.changeImage(t.currentImageIndex+1),!1}),this.$nav.on("mousedown",function(e){3===e.which&&(t.$nav.css("pointer-events","none"),t.$lightbox.one("contextmenu",function(){setTimeout(function(){this.$nav.css("pointer-events","auto")}.bind(t),0)}))}),this.$lightbox.find(".lb-loader, .lb-close").on("click",function(){return t.end(),!1}))},e.prototype.start=function(e){function t(e){n.album.push({alt:e.attr("data-alt"),link:e.attr("href"),title:e.attr("data-title")||e.attr("title")})}var n=this,i=u(window);i.on("resize",u.proxy(this.sizeOverlay,this)),this.sizeOverlay(),this.album=[];var o=0,r=e.attr("data-lightbox");if(r)for(var s=u(e.prop("tagName")+'[data-lightbox="'+r+'"]'),a=0;a<s.length;a=++a)t(u(s[a])),s[a]===e[0]&&(o=a);else if("lightbox"===e.attr("rel"))t(e);else{s=u(e.prop("tagName")+'[rel="'+e.attr("rel")+'"]');for(var l=0;l<s.length;l=++l)t(u(s[l])),s[l]===e[0]&&(o=l)}r=i.scrollTop()+this.options.positionFromTop,i=i.scrollLeft();this.$lightbox.css({top:r+"px",left:i+"px"}).fadeIn(this.options.fadeDuration),this.options.disableScrolling&&u("body").addClass("lb-disable-scrolling"),this.changeImage(o)},e.prototype.changeImage=function(o){var r=this,s=this.album[o].link,a=s.split(".").slice(-1)[0],l=this.$lightbox.find(".lb-image");this.disableKeyboardNav(),this.$overlay.fadeIn(this.options.fadeDuration),u(".lb-loader").fadeIn("slow"),this.$lightbox.find(".lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption").hide(),this.$outerContainer.addClass("animating");var c=new Image;c.onload=function(){var e,t,n,i;l.attr({alt:r.album[o].alt,src:s}),u(c),l.width(c.width),l.height(c.height),i=u(window).width(),n=u(window).height(),i=i-r.containerPadding.left-r.containerPadding.right-r.imageBorderWidth.left-r.imageBorderWidth.right-20,n=n-r.containerPadding.top-r.containerPadding.bottom-r.imageBorderWidth.top-r.imageBorderWidth.bottom-r.options.positionFromTop-70,"svg"===a&&(l.width(i),l.height(n)),r.options.fitImagesInViewport?(r.options.maxWidth&&r.options.maxWidth<i&&(i=r.options.maxWidth),r.options.maxHeight&&r.options.maxHeight<n&&(n=r.options.maxHeight)):(i=r.options.maxWidth||c.width||i,n=r.options.maxHeight||c.height||n),(c.width>i||c.height>n)&&(c.width/i>c.height/n?(t=i,e=parseInt(c.height/(c.width/t),10)):(e=n,t=parseInt(c.width/(c.height/e),10)),l.width(t),l.height(e)),r.sizeContainer(l.width(),l.height())},c.src=this.album[o].link,this.currentImageIndex=o},e.prototype.sizeOverlay=function(){var e=this;setTimeout(function(){e.$overlay.width(u(document).width()).height(u(document).height())},0)},e.prototype.sizeContainer=function(e,t){function n(){i.$lightbox.find(".lb-dataContainer").width(s),i.$lightbox.find(".lb-prevLink").height(a),i.$lightbox.find(".lb-nextLink").height(a),i.$overlay.focus(),i.showImage()}var i=this,o=this.$outerContainer.outerWidth(),r=this.$outerContainer.outerHeight(),s=e+this.containerPadding.left+this.containerPadding.right+this.imageBorderWidth.left+this.imageBorderWidth.right,a=t+this.containerPadding.top+this.containerPadding.bottom+this.imageBorderWidth.top+this.imageBorderWidth.bottom;o!==s||r!==a?this.$outerContainer.animate({width:s,height:a},this.options.resizeDuration,"swing",function(){n()}):n()},e.prototype.showImage=function(){this.$lightbox.find(".lb-loader").stop(!0).hide(),this.$lightbox.find(".lb-image").fadeIn(this.options.imageFadeDuration),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},e.prototype.updateNav=function(){var e=!1;try{document.createEvent("TouchEvent"),e=!!this.options.alwaysShowNavOnTouchDevices}catch(e){}this.$lightbox.find(".lb-nav").show(),1<this.album.length&&(this.options.wrapAround?(e&&this.$lightbox.find(".lb-prev, .lb-next").css("opacity","1"),this.$lightbox.find(".lb-prev, .lb-next").show()):(0<this.currentImageIndex&&(this.$lightbox.find(".lb-prev").show(),e&&this.$lightbox.find(".lb-prev").css("opacity","1")),this.currentImageIndex<this.album.length-1&&(this.$lightbox.find(".lb-next").show(),e&&this.$lightbox.find(".lb-next").css("opacity","1"))))},e.prototype.updateDetails=function(){var e,t=this;void 0!==this.album[this.currentImageIndex].title&&""!==this.album[this.currentImageIndex].title&&(e=this.$lightbox.find(".lb-caption"),this.options.sanitizeTitle?e.text(this.album[this.currentImageIndex].title):e.html(this.album[this.currentImageIndex].title),e.fadeIn("fast")),1<this.album.length&&this.options.showImageNumberLabel?(e=this.imageCountLabel(this.currentImageIndex+1,this.album.length),this.$lightbox.find(".lb-number").text(e).fadeIn("fast")):this.$lightbox.find(".lb-number").hide(),this.$outerContainer.removeClass("animating"),this.$lightbox.find(".lb-dataContainer").fadeIn(this.options.resizeDuration,function(){return t.sizeOverlay()})},e.prototype.preloadNeighboringImages=function(){this.album.length>this.currentImageIndex+1&&((new Image).src=this.album[this.currentImageIndex+1].link),0<this.currentImageIndex&&((new Image).src=this.album[this.currentImageIndex-1].link)},e.prototype.enableKeyboardNav=function(){this.$lightbox.on("keyup.keyboard",u.proxy(this.keyboardAction,this)),this.$overlay.on("keyup.keyboard",u.proxy(this.keyboardAction,this))},e.prototype.disableKeyboardNav=function(){this.$lightbox.off(".keyboard"),this.$overlay.off(".keyboard")},e.prototype.keyboardAction=function(e){var t=e.keyCode;27===t?(e.stopPropagation(),this.end()):37===t?0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&1<this.album.length&&this.changeImage(this.album.length-1):39===t&&(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&1<this.album.length&&this.changeImage(0))},e.prototype.end=function(){this.disableKeyboardNav(),u(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),this.options.disableScrolling&&u("body").removeClass("lb-disable-scrolling")},new e}),function(e){var t=function(i,h,r){"use strict";var f,p;if(function(){var e,t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in p=i.lazySizesConfig||i.lazysizesConfig||{},t)e in p||(p[e]=t[e])}(),!h||!h.getElementsByClassName)return{init:function(){},cfg:p,noSupport:!0};function s(e,t){return ce[t]||(ce[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),ce[t].test(e[ne]("class")||"")&&ce[t]}function u(e,t){s(e,t)||e.setAttribute("class",(e[ne]("class")||"").trim()+" "+t)}function d(e,t){(t=s(e,t))&&e.setAttribute("class",(e[ne]("class")||"").replace(t," "))}function g(e,t,n,i,o){var r=h.createEvent("Event");return(n=n||{}).instance=f,r.initEvent(t,!i,!o),r.detail=n,e.dispatchEvent(r),r}function m(e,t){var n;!ee&&(n=i.picturefill||p.pf)?(t&&t.src&&!e[ne]("srcset")&&e.setAttribute("srcset",t.src),n({reevaluate:!0,elements:[e]})):t&&t.src&&(e.src=t.src)}function v(e,t){return(getComputedStyle(e,null)||{})[t]}function o(e,t,n){for(n=n||e.offsetWidth;n<p.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n}function e(n,e){return e?function(){he(n)}:function(){var e=this,t=arguments;he(function(){n.apply(e,t)})}}function t(e){var t,n,i=function(){t=null,e()},o=function(){var e=r.now()-n;e<99?oe(o,99-e):(se||i)(i)};return function(){n=r.now(),t=t||oe(o,99)}}var n,a,l,b,y,_,w,c,x,E,T,C,A,k,N,L,D,S,I,O,j,P,H,M,q,$,R,z,B,W,F,U,V,X,Y,K,Q,G,J,Z=h.documentElement,ee=i.HTMLPictureElement,te="addEventListener",ne="getAttribute",ie=i[te].bind(i),oe=i.setTimeout,re=i.requestAnimationFrame||oe,se=i.requestIdleCallback,ae=/^picture$/i,le=["load","error","lazyincluded","_lazyloaded"],ce={},ue=Array.prototype.forEach,de=function(t,n,e){var i=e?te:"removeEventListener";e&&de(t,n),le.forEach(function(e){t[i](e,n)})},he=(G=[],J=Q=[],Ce._lsFlush=Te,Ce),fe=(P=/^img$/i,H=/^iframe$/i,M="onscroll"in i&&!/(gle|ing)bot/.test(navigator.userAgent),R=-1,L=ye,S=$=q=0,I=p.throttleDelay,O=p.ricTimeout,j=se&&49<O?function(){se(_e,{timeout:O}),O!==p.ricTimeout&&(O=p.ricTimeout)}:e(function(){oe(_e)},!0),B=e(we),W=function(e){B({target:e.target})},F=e(function(t,e,n,i,o){var r,s,a,l,c;(a=g(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(n?u(t,p.autosizesClass):t.setAttribute("sizes",i)),r=t[ne](p.srcsetAttr),n=t[ne](p.srcAttr),o&&(s=(c=t.parentNode)&&ae.test(c.nodeName||"")),l=e.firesLoad||"src"in t&&(r||n||s),a={target:t},u(t,p.loadingClass),l&&(clearTimeout(_),_=oe(ve,2500),de(t,W,!0)),s&&ue.call(c.getElementsByTagName("source"),xe),r?t.setAttribute("srcset",r):n&&!s&&(H.test(t.nodeName)?(i=n,0==(c=(e=t).getAttribute("data-load-mode")||p.iframeLoadMode)?e.contentWindow.location.replace(i):1==c&&(e.src=i)):t.src=n),o&&(r||s)&&m(t,{src:n})),t._lazyRace&&delete t._lazyRace,d(t,p.lazyClass),he(function(){var e=t.complete&&1<t.naturalWidth;l&&!e||(e&&u(t,p.fastLoadedClass),we(a),t._lazyCache=!0,oe(function(){"_lazyCache"in t&&delete t._lazyCache},9)),"lazy"==t.loading&&$--},!0)}),V=t(function(){p.loadMode=3,z()}),X=function(){y||(r.now()-c<999?oe(X,999):(y=!0,p.loadMode=3,z(),ie("scroll",Ee,!0)))},{_:function(){c=r.now(),f.elements=h.getElementsByClassName(p.lazyClass),b=h.getElementsByClassName(p.lazyClass+" "+p.preloadClass),ie("scroll",z,!0),ie("resize",z,!0),ie("pageshow",function(e){var t;!e.persisted||(t=h.querySelectorAll("."+p.loadingClass)).length&&t.forEach&&re(function(){t.forEach(function(e){e.complete&&U(e)})})}),i.MutationObserver?new MutationObserver(z).observe(Z,{childList:!0,subtree:!0,attributes:!0}):(Z[te]("DOMNodeInserted",z,!0),Z[te]("DOMAttrModified",z,!0),setInterval(z,999)),ie("hashchange",z,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){h[te](e,z,!0)}),/d$|^c/.test(h.readyState)?X():(ie("load",X),h[te]("DOMContentLoaded",z),oe(X,2e4)),f.elements.length?(ye(),he._lsFlush()):z()},checkElems:z=function(e){var t;(e=!0===e)&&(O=33),D||(D=!0,(t=I-(r.now()-S))<0&&(t=0),e||t<9?j():oe(j,t))},unveil:U=function(e){var t,n,i,o;e._lazyRace||(!(o="auto"==(i=(n=P.test(e.nodeName))&&(e[ne](p.sizesAttr)||e[ne]("sizes"))))&&y||!n||!e[ne]("src")&&!e.srcset||e.complete||s(e,p.errorClass)||!s(e,p.lazyClass))&&(t=g(e,"lazyunveilread").detail,o&&pe.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,$++,F(e,t,o,i,n))},_aLSL:Ee}),pe=(a=e(function(e,t,n,i){var o,r,s;if(e._lazysizesWidth=i,e.setAttribute("sizes",i+="px"),ae.test(t.nodeName||""))for(r=0,s=(o=t.getElementsByTagName("source")).length;r<s;r++)o[r].setAttribute("sizes",i);n.detail.dataAttr||m(e,n.detail)}),{_:function(){n=h.getElementsByClassName(p.autosizesClass),ie("resize",l)},checkElems:l=t(function(){var e,t=n.length;if(t)for(e=0;e<t;e++)me(n[e])}),updateElem:me}),ge=function(){!ge.i&&h.getElementsByClassName&&(ge.i=!0,pe._(),fe._())};function me(e,t,n){var i=e.parentNode;i&&(n=o(e,i,n),(t=g(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=t.detail.width)&&n!==e._lazysizesWidth&&a(e,i,t,n))}function ve(e){$--,e&&!($<0)&&e.target||($=0)}function be(e){return(N=null==N?"hidden"==v(h.body,"visibility"):N)||!("hidden"==v(e.parentNode,"visibility")&&"hidden"==v(e,"visibility"))}function ye(){var e,t,n,i,o,r,s,a,l,c,u,d=f.elements;if((w=p.loadMode)&&$<8&&(e=d.length)){for(t=0,R++;t<e;t++)if(d[t]&&!d[t]._lazyRace)if(!M||f.prematureUnveil&&f.prematureUnveil(d[t]))U(d[t]);else if((s=d[t][ne]("data-expand"))&&(o=+s)||(o=q),l||(l=!p.expand||p.expand<1?500<Z.clientHeight&&500<Z.clientWidth?500:370:p.expand,c=(f._defEx=l)*p.expFactor,u=p.hFac,N=null,q<c&&$<1&&2<R&&2<w&&!h.hidden?(q=c,R=0):q=1<w&&1<R&&$<6?l:0),a!==o&&(x=innerWidth+o*u,E=innerHeight+o,r=-1*o,a=o),c=d[t].getBoundingClientRect(),(k=c.bottom)>=r&&(T=c.top)<=E&&(A=c.right)>=r*u&&(C=c.left)<=x&&(k||A||C||T)&&(p.loadHidden||be(d[t]))&&(y&&$<3&&!s&&(w<3||R<4)||function(e,t){var n,i=e,o=be(e);for(T-=t,k+=t,C-=t,A+=t;o&&(i=i.offsetParent)&&i!=h.body&&i!=Z;)(o=0<(v(i,"opacity")||1))&&"visible"!=v(i,"overflow")&&(n=i.getBoundingClientRect(),o=A>n.left&&C<n.right&&k>n.top-1&&T<n.bottom+1);return o}(d[t],o))){if(U(d[t]),i=!0,9<$)break}else!i&&y&&!n&&$<4&&R<4&&2<w&&(b[0]||p.preloadAfterLoad)&&(b[0]||!s&&(k||A||C||T||"auto"!=d[t][ne](p.sizesAttr)))&&(n=b[0]||d[t]);n&&!i&&U(n)}}function _e(){D=!1,S=r.now(),L()}function we(e){var t=e.target;t._lazyCache?delete t._lazyCache:(ve(e),u(t,p.loadedClass),d(t,p.loadingClass),de(t,W),g(t,"lazyloaded"))}function xe(e){var t,n=e[ne](p.srcsetAttr);(t=p.customMedia[e[ne]("data-media")||e[ne]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)}function Ee(){3==p.loadMode&&(p.loadMode=2),V()}function Te(){var e=J;for(J=Q.length?G:Q,K=!(Y=!0);e.length;)e.shift()();Y=!1}function Ce(e,t){Y&&!t?e.apply(this,arguments):(J.push(e),K||(K=!0,(h.hidden?oe:re)(Te)))}return oe(function(){p.init&&ge()}),f={cfg:p,autoSizer:pe,loader:fe,init:ge,uP:m,aC:u,rC:d,hC:s,fire:g,gW:o,rAF:he}}(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{});