Welcome to mirror list, hosted at ThFree Co, Russian Federation.

castanet-min.js « js « static - github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1b8fe4d1473e0ce902fd8efd6a3d5311de2914a9 (plain)
1
2
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(T,e){"use strict";var t=[],x=T.document,i=Object.getPrototypeOf,a=t.slice,g=t.concat,l=t.push,r=t.indexOf,n={},o=n.toString,m=n.hasOwnProperty,s=m.toString,c=s.call(Object),v={},y=function isFunction(e){return"function"==typeof e&&"number"!=typeof e.nodeType},_=function isWindow(e){return null!=e&&e===e.window},u={type:!0,src:!0,nonce:!0,noModule:!0};function DOMEval(e,t,n){var i,r,o=(n=n||x).createElement("script");if(o.text=e,t)for(i in u)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function toType(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var d="3.4.1",E=function(e,t){return new E.fn.init(e,t)},h=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function isArrayLike(e){var t=!!e&&"length"in e&&e.length,n=toType(e);return!y(e)&&!_(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}E.fn=E.prototype={jquery:d,constructor:E,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(n){return this.pushStack(E.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)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:t.sort,splice:t.splice},E.extend=E.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||y(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(c&&i&&(E.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],o=r&&!Array.isArray(n)?[]:r||E.isPlainObject(n)?n:{},r=!1,s[t]=E.extend(c,o,i)):void 0!==i&&(s[t]=i));return s},E.extend({expando:"jQuery"+(d+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=i(e))||"function"==typeof(n=m.call(t,"constructor")&&t.constructor)&&s.call(n)===c)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){DOMEval(e,{nonce:t&&t.nonce})},each:function(e,t){var n,i=0;if(isArrayLike(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},trim:function(e){return null==e?"":(e+"").replace(h,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(isArrayLike(Object(e))?E.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:r.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!==s&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,s=[];if(isArrayLike(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&s.push(r);return g.apply([],s)},guid:1,support:v}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=t[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var f=function(n){var e,f,b,o,r,p,d,g,C,l,c,w,T,s,x,m,a,u,v,E="sizzle"+1*new Date,y=n.document,S=0,i=0,h=createCache(),_=createCache(),A=createCache(),D=createCache(),k=function(e,t){return e===t&&(c=!0),0},N={}.hasOwnProperty,t=[],I=t.pop,j=t.push,P=t.push,L=t.slice,O=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+M+"*("+F+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+M+"*\\]",q=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",W=new RegExp(M+"+","g"),z=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),U=new RegExp("^"+M+"*,"+M+"*"),B=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),$=new RegExp(M+"|>"),Q=new RegExp(q),K=new RegExp("^"+F+"$"),V={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ie=/([\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},oe=function(){w()},se=addCombinator(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{P.apply(t=L.call(y.childNodes),y.childNodes),t[y.childNodes.length].nodeType}catch(e){P={apply:t.length?function(e,t){j.apply(e,L.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function Sizzle(t,e,n,i){var r,o,s,a,l,c,u,d=e&&e.ownerDocument,h=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==h&&9!==h&&11!==h)return n;if(!i&&((e?e.ownerDocument||e:y)!==T&&w(e),e=e||T,x)){if(11!==h&&(l=Z.exec(t)))if(r=l[1]){if(9===h){if(!(s=e.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(d&&(s=d.getElementById(r))&&v(e,s)&&s.id===r)return n.push(s),n}else{if(l[2])return P.apply(n,e.getElementsByTagName(t)),n;if((r=l[3])&&f.getElementsByClassName&&e.getElementsByClassName)return P.apply(n,e.getElementsByClassName(r)),n}if(f.qsa&&!D[t+" "]&&(!m||!m.test(t))&&(1!==h||"object"!==e.nodeName.toLowerCase())){if(u=t,d=e,1===h&&$.test(t)){for((a=e.getAttribute("id"))?a=a.replace(ie,re):e.setAttribute("id",a=E),o=(c=p(t)).length;o--;)c[o]="#"+a+" "+toSelector(c[o]);u=c.join(","),d=ee.test(t)&&testContext(e.parentNode)||e}try{return P.apply(n,d.querySelectorAll(u)),n}catch(e){D(t,!0)}finally{a===E&&e.removeAttribute("id")}}}return g(t.replace(z,"$1"),e,n,i)}function createCache(){var n=[];return function cache(e,t){return n.push(e+" ")>b.cacheLength&&delete cache[n.shift()],cache[e+" "]=t}}function markFunction(e){return e[E]=!0,e}function assert(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function addHandle(e,t){for(var n=e.split("|"),i=n.length;i--;)b.attrHandle[n[i]]=t}function siblingCheck(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 createInputPseudo(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function createButtonPseudo(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function createDisabledPseudo(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 createPositionalPseudo(s){return markFunction(function(o){return o=+o,markFunction(function(e,t){for(var n,i=s([],e.length,o),r=i.length;r--;)e[n=i[r]]&&(e[n]=!(t[n]=e[n]))})})}function testContext(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=Sizzle.support={},r=Sizzle.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},w=Sizzle.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:y;return i!==T&&9===i.nodeType&&i.documentElement&&(s=(T=i).documentElement,x=!r(T),y!==T&&(n=T.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),f.attributes=assert(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=assert(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=J.test(T.getElementsByClassName),f.getById=assert(function(e){return s.appendChild(e).id=E,!T.getElementsByName||!T.getElementsByName(E).length}),f.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&x){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&x){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},b.find.CLASS=f.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&x)return t.getElementsByClassName(e)},a=[],m=[],(f.qsa=J.test(T.querySelectorAll))&&(assert(function(e){s.appendChild(e).innerHTML="<a id='"+E+"'></a><select id='"+E+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+H+")"),e.querySelectorAll("[id~="+E+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||m.push(".#.+[+~]")}),assert(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),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(",.*:")})),(f.matchesSelector=J.test(u=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&assert(function(e){f.disconnectedMatch=u.call(e,"*"),u.call(e,"[s!='']:x"),a.push("!=",q)}),m=m.length&&new RegExp(m.join("|")),a=a.length&&new RegExp(a.join("|")),t=J.test(s.compareDocumentPosition),v=t||J.test(s.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},k=t?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument===y&&v(y,e)?-1:t===T||t.ownerDocument===y&&v(y,t)?1:l?O(l,e)-O(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e===T?-1:t===T?1:r?-1:o?1:l?O(l,e)-O(l,t):0;if(r===o)return siblingCheck(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?siblingCheck(s[i],a[i]):s[i]===y?-1:a[i]===y?1:0}),T},Sizzle.matches=function(e,t){return Sizzle(e,null,null,t)},Sizzle.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&w(e),f.matchesSelector&&x&&!D[t+" "]&&(!a||!a.test(t))&&(!m||!m.test(t)))try{var n=u.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){D(t,!0)}return 0<Sizzle(t,T,null,[e]).length},Sizzle.contains=function(e,t){return(e.ownerDocument||e)!==T&&w(e),v(e,t)},Sizzle.attr=function(e,t){(e.ownerDocument||e)!==T&&w(e);var n=b.attrHandle[t.toLowerCase()],i=n&&N.call(b.attrHandle,t.toLowerCase())?n(e,t,!x):void 0;return void 0!==i?i:f.attributes||!x?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},Sizzle.escape=function(e){return(e+"").replace(ie,re)},Sizzle.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},Sizzle.uniqueSort=function(e){var t,n=[],i=0,r=0;if(c=!f.detectDuplicates,l=!f.sortStable&&e.slice(0),e.sort(k),c){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return l=null,e},o=Sizzle.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(b=Sizzle.selectors={cacheLength:50,createPseudo:markFunction,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||Sizzle.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]&&Sizzle.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Q.test(n)&&(t=p(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(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=h[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&h(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(e){var t=Sizzle.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===r:"!="===i?t!==r:"^="===i?r&&0===t.indexOf(r):"*="===i?r&&-1<t.indexOf(r):"$="===i?r&&t.slice(-r.length)===r:"~="===i?-1<(" "+t.replace(W," ")+" ").indexOf(r):"|="===i&&(t===r||t.slice(0,r.length+1)===r+"-"))}},CHILD:function(p,e,t,g,m){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),_="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,r,o,s,a,l,c=v!==y?"nextSibling":"previousSibling",u=e.parentNode,d=_&&e.nodeName.toLowerCase(),h=!n&&!_,f=!1;if(u){if(v){for(;c;){for(s=e;s=s[c];)if(_?s.nodeName.toLowerCase()===d:1===s.nodeType)return!1;l=c="only"===p&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&h){for(f=(a=(i=(r=(o=(s=u)[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===S&&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){r[p]=[S,a,f];break}}else if(h&&(f=a=(i=(r=(o=(s=e)[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]||[])[0]===S&&i[1]),!1===f)for(;(s=++a&&s&&s[c]||(f=a=0)||l.pop())&&((_?s.nodeName.toLowerCase()!==d:1!==s.nodeType)||!++f||(h&&((r=(o=s[E]||(s[E]={}))[s.uniqueID]||(o[s.uniqueID]={}))[p]=[S,f]),s!==e)););return(f-=m)===g||f%g==0&&0<=f/g}}},PSEUDO:function(e,o){var t,s=b.pseudos[e]||b.setFilters[e.toLowerCase()]||Sizzle.error("unsupported pseudo: "+e);return s[E]?s(o):1<s.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?markFunction(function(e,t){for(var n,i=s(e,o),r=i.length;r--;)e[n=O(e,i[r])]=!(t[n]=i[r])}):function(e){return s(e,0,t)}):s}},pseudos:{not:markFunction(function(e){var i=[],r=[],a=d(e.replace(z,"$1"));return a[E]?markFunction(function(e,t,n,i){for(var r,o=a(e,null,i,[]),s=e.length;s--;)(r=o[s])&&(e[s]=!(t[s]=r))}):function(e,t,n){return i[0]=e,a(i,null,n,r),i[0]=null,!r.pop()}}),has:markFunction(function(t){return function(e){return 0<Sizzle(t,e).length}}),contains:markFunction(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:markFunction(function(n){return K.test(n||"")||Sizzle.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=x?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===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:createDisabledPseudo(!1),disabled:createDisabledPseudo(!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!b.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:createPositionalPseudo(function(){return[0]}),last:createPositionalPseudo(function(e,t){return[t-1]}),eq:createPositionalPseudo(function(e,t,n){return[n<0?n+t:n]}),even:createPositionalPseudo(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:createPositionalPseudo(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:createPositionalPseudo(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:createPositionalPseudo(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=createInputPseudo(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=createButtonPseudo(e);function setFilters(){}function toSelector(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function addCombinator(a,e,t){var l=e.dir,c=e.next,u=c||l,d=t&&"parentNode"===u,h=i++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||d)return a(e,t,n);return!1}:function(e,t,n){var i,r,o,s=[S,h];if(n){for(;e=e[l];)if((1===e.nodeType||d)&&a(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||d)if(r=(o=e[E]||(e[E]={}))[e.uniqueID]||(o[e.uniqueID]={}),c&&c===e.nodeName.toLowerCase())e=e[l]||e;else{if((i=r[u])&&i[0]===S&&i[1]===h)return s[2]=i[2];if((r[u]=s)[2]=a(e,t,n))return!0}return!1}}function elementMatcher(r){return 1<r.length?function(e,t,n){for(var i=r.length;i--;)if(!r[i](e,t,n))return!1;return!0}:r[0]}function condense(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),c&&t.push(a)));return s}function setMatcher(f,p,g,m,v,e){return m&&!m[E]&&(m=setMatcher(m)),v&&!v[E]&&(v=setMatcher(v,e)),markFunction(function(e,t,n,i){var r,o,s,a=[],l=[],c=t.length,u=e||function multipleContexts(e,t,n){for(var i=0,r=t.length;i<r;i++)Sizzle(e,t[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),d=!f||!e&&p?u:condense(u,a,f,n,i),h=g?v||(e?f:c||m)?[]:t:d;if(g&&g(d,h,n,i),m)for(r=condense(h,l),m(r,[],n,i),o=r.length;o--;)(s=r[o])&&(h[l[o]]=!(d[l[o]]=s));if(e){if(v||f){if(v){for(r=[],o=h.length;o--;)(s=h[o])&&r.push(d[o]=s);v(null,h=[],r,i)}for(o=h.length;o--;)(s=h[o])&&-1<(r=v?O(e,s):a[o])&&(e[r]=!(t[r]=s))}}else h=condense(h===t?h.splice(c,h.length):h),v?v(null,t,h,i):P.apply(t,h)})}function matcherFromTokens(e){for(var r,t,n,i=e.length,o=b.relative[e[0].type],s=o||b.relative[" "],a=o?1:0,l=addCombinator(function(e){return e===r},s,!0),c=addCombinator(function(e){return-1<O(r,e)},s,!0),u=[function(e,t,n){var i=!o&&(n||t!==C)||((r=t).nodeType?l(e,t,n):c(e,t,n));return r=null,i}];a<i;a++)if(t=b.relative[e[a].type])u=[addCombinator(elementMatcher(u),t)];else{if((t=b.filter[e[a].type].apply(null,e[a].matches))[E]){for(n=++a;n<i&&!b.relative[e[n].type];n++);return setMatcher(1<a&&elementMatcher(u),1<a&&toSelector(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(z,"$1"),t,a<n&&matcherFromTokens(e.slice(a,n)),n<i&&matcherFromTokens(e=e.slice(n)),n<i&&toSelector(e))}u.push(t)}return elementMatcher(u)}return setFilters.prototype=b.filters=b.pseudos,b.setFilters=new setFilters,p=Sizzle.tokenize=function(e,t){var n,i,r,o,s,a,l,c=_[e+" "];if(c)return t?0:c.slice(0);for(s=e,a=[],l=b.preFilter;s;){for(o in n&&!(i=U.exec(s))||(i&&(s=s.slice(i[0].length)||s),a.push(r=[])),n=!1,(i=B.exec(s))&&(n=i.shift(),r.push({value:n,type:i[0].replace(z," ")}),s=s.slice(n.length)),b.filter)!(i=V[o].exec(s))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?Sizzle.error(e):_(e,a).slice(0)},d=Sizzle.compile=function(e,t){var n,i=[],r=[],o=A[e+" "];if(!o){for(t||(t=p(e)),n=t.length;n--;)(o=matcherFromTokens(t[n]))[E]?i.push(o):r.push(o);(o=A(e,function matcherFromGroupMatchers(m,v){var y=0<v.length,_=0<m.length,e=function(e,t,n,i,r){var o,s,a,l=0,c="0",u=e&&[],d=[],h=C,f=e||_&&b.find.TAG("*",r),p=S+=null==h?1:Math.random()||.1,g=f.length;for(r&&(C=t===T||t||r);c!==g&&null!=(o=f[c]);c++){if(_&&o){for(s=0,t||o.ownerDocument===T||(w(o),n=!x);a=m[s++];)if(a(o,t||T,n)){i.push(o);break}r&&(S=p)}y&&((o=!a&&o)&&l--,e&&u.push(o))}if(l+=c,y&&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]=I.call(i));d=condense(d)}P.apply(i,d),r&&!e&&0<d.length&&1<l+v.length&&Sizzle.uniqueSort(i)}return r&&(S=p,C=h),u};return y?markFunction(e):e}(r,i))).selector=e}return o},g=Sizzle.select=function(e,t,n,i){var r,o,s,a,l,c="function"==typeof e&&e,u=!i&&p(e=c.selector||e);if(n=n||[],1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(s=o[0]).type&&9===t.nodeType&&x&&b.relative[o[1].type]){if(!(t=(b.find.ID(s.matches[0].replace(te,ne),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=V.needsContext.test(e)?0:o.length;r--&&(s=o[r],!b.relative[a=s.type]);)if((l=b.find[a])&&(i=l(s.matches[0].replace(te,ne),ee.test(o[0].type)&&testContext(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&toSelector(o)))return P.apply(n,i),n;break}}return(c||d(e,u))(i,t,!x,n,!t||ee.test(e)&&testContext(t.parentNode)||t),n},f.sortStable=E.split("").sort(k).join("")===E,f.detectDuplicates=!!c,w(),f.sortDetached=assert(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),assert(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||addHandle("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&assert(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||addHandle("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),assert(function(e){return null==e.getAttribute("disabled")})||addHandle(H,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),Sizzle}(T);E.find=f,E.expr=f.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=f.uniqueSort,E.text=f.getText,E.isXMLDoc=f.isXML,E.contains=f.contains,E.escapeSelector=f.escape;var p=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&E(e).is(n))break;i.push(e)}return i},b=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},C=E.expr.match.needsContext;function nodeName(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function winnow(e,n,i){return y(n)?E.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?E.grep(e,function(e){return e===n!==i}):"string"!=typeof n?E.grep(e,function(e){return-1<r.call(n,e)!==i}):E.filter(n,e,i)}E.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?E.find.matchesSelector(i,e)?[i]:[]:E.find.matches(e,E.grep(t,function(e){return 1===e.nodeType}))},E.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(E(e).filter(function(){for(t=0;t<i;t++)if(E.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)E.find(e,r[t],n);return 1<i?E.uniqueSort(n):n},filter:function(e){return this.pushStack(winnow(this,e||[],!1))},not:function(e){return this.pushStack(winnow(this,e||[],!0))},is:function(e){return!!winnow(this,"string"==typeof e&&C.test(e)?E(e):e||[],!1).length}});var S,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){var i,r;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(E):E.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:A.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:x,!0)),w.test(i[1])&&E.isPlainObject(t))for(i in t)y(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=x.getElementById(i[2]))&&(this[0]=r,this.length=1),this}).prototype=E.fn,S=E(x);var D=/^(?:parents|prev(?:Until|All))/,k={children:!0,contents:!0,next:!0,prev:!0};function sibling(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(E.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&E(e);if(!C.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&E.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?E.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?r.call(E(e),this[0]):r.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return p(e,"parentNode")},parentsUntil:function(e,t,n){return p(e,"parentNode",n)},next:function(e){return sibling(e,"nextSibling")},prev:function(e){return sibling(e,"previousSibling")},nextAll:function(e){return p(e,"nextSibling")},prevAll:function(e){return p(e,"previousSibling")},nextUntil:function(e,t,n){return p(e,"nextSibling",n)},prevUntil:function(e,t,n){return p(e,"previousSibling",n)},siblings:function(e){return b((e.parentNode||{}).firstChild,e)},children:function(e){return b(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(nodeName(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},function(i,r){E.fn[i]=function(e,t){var n=E.map(this,r,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=E.filter(t,n)),1<this.length&&(k[i]||E.uniqueSort(n),D.test(i)&&n.reverse()),this.pushStack(n)}});var N=/[^\x20\t\r\n\f]+/g;function Identity(e){return e}function Thrower(e){throw e}function adoptValue(e,t,n,i){var r;try{e&&y(r=e.promise)?r.call(e).done(t).fail(n):e&&y(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}E.Callbacks=function(n){n="string"==typeof n?function createOptions(e){var n={};return E.each(e.match(N)||[],function(e,t){n[t]=!0}),n}(n):E.extend({},n);var i,e,t,r,o=[],s=[],a=-1,l=function(){for(r=r||n.once,t=i=!0;s.length;a=-1)for(e=s.shift();++a<o.length;)!1===o[a].apply(e[0],e[1])&&n.stopOnFalse&&(a=o.length,e=!1);n.memory||(e=!1),i=!1,r&&(o=e?[]:"")},c={add:function(){return o&&(e&&!i&&(a=o.length-1,s.push(e)),function add(e){E.each(e,function(e,t){y(t)?n.unique&&c.has(t)||o.push(t):t&&t.length&&"string"!==toType(t)&&add(t)})}(arguments),e&&!i&&l()),this},remove:function(){return E.each(arguments,function(e,t){for(var n;-1<(n=E.inArray(t,o,n));)o.splice(n,1),n<=a&&a--}),this},has:function(e){return e?-1<E.inArray(e,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=e="",this},disabled:function(){return!o},lock:function(){return r=s=[],e||i||(o=e=""),this},locked:function(){return!!r},fireWith:function(e,t){return r||(t=[e,(t=t||[]).slice?t.slice():t],s.push(t),i||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!t}};return c},E.extend({Deferred:function(e){var o=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],r="pending",s={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return s.then(null,e)},pipe:function(){var r=arguments;return E.Deferred(function(i){E.each(o,function(e,t){var n=y(r[t[4]])&&r[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)})}),r=null}).promise()},then:function(t,n,i){var l=0;function resolve(r,o,s,a){return function(){var n=this,i=arguments,e=function(){var e,t;if(!(r<l)){if((e=s.apply(n,i))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,y(t)?a?t.call(e,resolve(l,o,Identity,a),resolve(l,o,Thrower,a)):(l++,t.call(e,resolve(l,o,Identity,a),resolve(l,o,Thrower,a),resolve(l,o,Identity,o.notifyWith))):(s!==Identity&&(n=void 0,i=[e]),(a||o.resolveWith)(n,i))}},t=a?e:function(){try{e()}catch(e){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(e,t.stackTrace),l<=r+1&&(s!==Thrower&&(n=void 0,i=[e]),o.rejectWith(n,i))}};r?t():(E.Deferred.getStackHook&&(t.stackTrace=E.Deferred.getStackHook()),T.setTimeout(t))}}return E.Deferred(function(e){o[0][3].add(resolve(0,e,y(i)?i:Identity,e.notifyWith)),o[1][3].add(resolve(0,e,y(t)?t:Identity)),o[2][3].add(resolve(0,e,y(n)?n:Thrower))}).promise()},promise:function(e){return null!=e?E.extend(e,s):s}},a={};return E.each(o,function(e,t){var n=t[2],i=t[5];s[t[1]]=n.add,i&&n.add(function(){r=i},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[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){var n=arguments.length,t=n,i=Array(t),r=a.call(arguments),o=E.Deferred(),s=function(t){return function(e){i[t]=this,r[t]=1<arguments.length?a.call(arguments):e,--n||o.resolveWith(i,r)}};if(n<=1&&(adoptValue(e,o.done(s(t)).resolve,o.reject,!n),"pending"===o.state()||y(r[t]&&r[t].then)))return o.then();for(;t--;)adoptValue(r[t],s(t),o.reject);return o.promise()}});var I=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){T.console&&T.console.warn&&e&&I.test(e.name)&&T.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},E.readyException=function(e){T.setTimeout(function(){throw e})};var j=E.Deferred();function completed(){x.removeEventListener("DOMContentLoaded",completed),T.removeEventListener("load",completed),E.ready()}E.fn.ready=function(e){return j.then(e).catch(function(e){E.readyException(e)}),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0)!==e&&0<--E.readyWait||j.resolveWith(x,[E])}}),E.ready.then=j.then,"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?T.setTimeout(E.ready):(x.addEventListener("DOMContentLoaded",completed),T.addEventListener("load",completed));var P=function(e,t,n,i,r,o,s){var a=0,l=e.length,c=null==n;if("object"===toType(n))for(a in r=!0,n)P(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,y(i)||(s=!0),c&&(t=s?(t.call(e,i),null):(c=t,function(e,t,n){return c.call(E(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:c?t.call(e):l?t(e[0],n):o},L=/^-ms-/,O=/-([a-z])/g;function fcamelCase(e,t){return t.toUpperCase()}function camelCase(e){return e.replace(L,"ms-").replace(O,fcamelCase)}var H=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Data(){this.expando=E.expando+Data.uid++}Data.uid=1,Data.prototype={cache:function(e){var t=e[this.expando];return t||(t={},H(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[camelCase(t)]=n;else for(i in t)r[camelCase(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][camelCase(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(camelCase):(t=camelCase(t))in i?[t]:t.match(N)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||E.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!E.isEmptyObject(t)}};var M=new Data,F=new Data,R=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,q=/[A-Z]/g;function dataAttr(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(q,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function getData(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:R.test(e)?JSON.parse(e):e)}(n)}catch(e){}F.set(e,t,n)}else n=void 0;return n}E.extend({hasData:function(e){return F.hasData(e)||M.hasData(e)},data:function(e,t,n){return F.access(e,t,n)},removeData:function(e,t){F.remove(e,t)},_data:function(e,t,n){return M.access(e,t,n)},_removeData:function(e,t){M.remove(e,t)}}),E.fn.extend({data:function(n,e){var t,i,r,o=this[0],s=o&&o.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){F.set(this,n)}):P(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=F.get(o,n))?t:void 0!==(t=dataAttr(o,n))?t:void 0;this.each(function(){F.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(r=F.get(o),1===o.nodeType&&!M.get(o,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&&0===(i=s[t].name).indexOf("data-")&&(i=camelCase(i.slice(5)),dataAttr(o,i,r[i]));M.set(o,"hasDataAttrs",!0)}return r},removeData:function(e){return this.each(function(){F.remove(this,e)})}}),E.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=M.get(e,t),n&&(!i||Array.isArray(n)?i=M.access(e,t,E.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),i=n.length,r=n.shift(),o=E._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){E.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return M.get(e,n)||M.access(e,n,{empty:E.Callbacks("once memory").add(function(){M.remove(e,[t+"queue",n])})})}}),E.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?E.queue(this[0],t):void 0===n?this:this.each(function(){var e=E.queue(this,t,n);E._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&E.dequeue(this,t)})},dequeue:function(e){return this.each(function(){E.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=E.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=M.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var W=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,z=new RegExp("^(?:([+-])=|)("+W+")([a-z%]*)$","i"),U=["Top","Right","Bottom","Left"],B=x.documentElement,$=function(e){return E.contains(e.ownerDocument,e)},Q={composed:!0};B.getRootNode&&($=function(e){return E.contains(e.ownerDocument,e)||e.getRootNode(Q)===e.ownerDocument});var K=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&$(e)&&"none"===E.css(e,"display")},V=function(e,t,n,i){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in r=n.apply(e,i||[]),t)e.style[o]=s[o];return r};function adjustCSS(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return E.css(e,t,"")},l=a(),c=n&&n[3]||(E.cssNumber[t]?"":"px"),u=e.nodeType&&(E.cssNumber[t]||"px"!==c&&+l)&&z.exec(E.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)E.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,E.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}var X={};function showHide(e,t){for(var n,i,r,o,s,a,l,c=[],u=0,d=e.length;u<d;u++)(i=e[u]).style&&(n=i.style.display,t?("none"===n&&(c[u]=M.get(i,"display")||null,c[u]||(i.style.display="")),""===i.style.display&&K(i)&&(c[u]=(l=s=o=void 0,s=(r=i).ownerDocument,a=r.nodeName,(l=X[a])||(o=s.body.appendChild(s.createElement(a)),l=E.css(o,"display"),o.parentNode.removeChild(o),"none"===l&&(l="block"),X[a]=l)))):"none"!==n&&(c[u]="none",M.set(i,"display",n)));for(u=0;u<d;u++)null!=c[u]&&(e[u].style.display=c[u]);return e}E.fn.extend({show:function(){return showHide(this,!0)},hide:function(){return showHide(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){K(this)?E(this).show():E(this).hide()})}});var Y=/^(?:checkbox|radio)$/i,G=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,J=/^$|^module$|\/(?:java|ecma)script/i,Z={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function getAll(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&nodeName(e,t)?E.merge([e],n):n}function setGlobalEval(e,t){for(var n=0,i=e.length;n<i;n++)M.set(e[n],"globalEval",!t||M.get(t[n],"globalEval"))}Z.optgroup=Z.option,Z.tbody=Z.tfoot=Z.colgroup=Z.caption=Z.thead,Z.th=Z.td;var ee,te,ne=/<|&#?\w+;/;function buildFragment(e,t,n,i,r){for(var o,s,a,l,c,u,d=t.createDocumentFragment(),h=[],f=0,p=e.length;f<p;f++)if((o=e[f])||0===o)if("object"===toType(o))E.merge(h,o.nodeType?[o]:o);else if(ne.test(o)){for(s=s||d.appendChild(t.createElement("div")),a=(G.exec(o)||["",""])[1].toLowerCase(),l=Z[a]||Z._default,s.innerHTML=l[1]+E.htmlPrefilter(o)+l[2],u=l[0];u--;)s=s.lastChild;E.merge(h,s.childNodes),(s=d.firstChild).textContent=""}else h.push(t.createTextNode(o));for(d.textContent="",f=0;o=h[f++];)if(i&&-1<E.inArray(o,i))r&&r.push(o);else if(c=$(o),s=getAll(d.appendChild(o),"script"),c&&setGlobalEval(s),n)for(u=0;o=s[u++];)J.test(o.type||"")&&n.push(o);return d}ee=x.createDocumentFragment().appendChild(x.createElement("div")),(te=x.createElement("input")).setAttribute("type","radio"),te.setAttribute("checked","checked"),te.setAttribute("name","t"),ee.appendChild(te),v.checkClone=ee.cloneNode(!0).cloneNode(!0).lastChild.checked,ee.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!ee.cloneNode(!0).lastChild.defaultValue;var ie=/^key/,re=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,oe=/^([^.]*)(?:\.(.+)|)/;function returnTrue(){return!0}function returnFalse(){return!1}function expectSync(e,t){return e===function safeActiveElement(){try{return x.activeElement}catch(e){}}()==("focus"===t)}function on(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)on(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=returnFalse;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return E().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=E.guid++)),e.each(function(){E.event.add(this,t,r,i,n)})}function leverageNative(e,r,o){o?(M.set(e,r,!1),E.event.add(e,r,{namespace:!1,handler:function(e){var t,n,i=M.get(this,r);if(1&e.isTrigger&&this[r]){if(i.length)(E.event.special[r]||{}).delegateType&&e.stopPropagation();else if(i=a.call(arguments),M.set(this,r,i),t=o(this,r),this[r](),i!==(n=M.get(this,r))||t?M.set(this,r,!1):n={},i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else i.length&&(M.set(this,r,{value:E.event.trigger(E.extend(i[0],E.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===M.get(e,r)&&E.event.add(e,r,returnTrue)}E.event={global:{},add:function(t,e,n,i,r){var o,s,a,l,c,u,d,h,f,p,g,m=M.get(t);if(m)for(n.handler&&(n=(o=n).handler,r=o.selector),r&&E.find.matchesSelector(B,r),n.guid||(n.guid=E.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(N)||[""]).length;c--;)f=g=(a=oe.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(d=E.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=E.event.special[f]||{},u=E.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&E.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,s)||t.addEventListener&&t.addEventListener(f,s)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),E.event.global[f]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,c,u,d,h,f,p,g,m=M.hasData(e)&&M.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(N)||[""]).length;c--;)if(f=g=(a=oe.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(d=E.event.special[f]||{},h=l[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)u=h[o],!r&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,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)||E.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)E.event.remove(e,f+t[c],n,i,!0);E.isEmptyObject(l)&&M.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=E.event.fix(e),l=new Array(arguments.length),c=(M.get(this,"events")||{})[a.type]||[],u=E.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,a)){for(s=E.event.handlers.call(this,a,c),t=0;(r=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==o.namespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(i=((E.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,l))&&!1===(a.result=i)&&(a.preventDefault(),a.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,i,r,o,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(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?-1<E(r,this).index(c):E.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(t,e){Object.defineProperty(E.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[E.expando]?e:new E.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Y.test(t.type)&&t.click&&nodeName(t,"input")&&leverageNative(t,"click",returnTrue),!1},trigger:function(e){var t=this||e;return Y.test(t.type)&&t.click&&nodeName(t,"input")&&leverageNative(t,"click"),!0},_default:function(e){var t=e.target;return Y.test(t.type)&&t.click&&nodeName(t,"input")&&M.get(t,"click")||nodeName(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},E.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},E.Event=function(e,t){if(!(this instanceof E.Event))return new E.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?returnTrue:returnFalse,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&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=returnTrue,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=returnTrue,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=returnTrue,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},E.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:function(e){var t=e.button;return null==e.which&&ie.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&re.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},function(e,t){E.event.special[e]={setup:function(){return leverageNative(this,e,expectSync),!1},trigger:function(){return leverageNative(this,e),!0},delegateType:t}}),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){E.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||E.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=r),t}}}),E.fn.extend({on:function(e,t,n,i){return on(this,e,t,n,i)},one:function(e,t,n,i){return on(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,E(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=returnFalse),this.each(function(){E.event.remove(this,e,n,t)});for(r in e)this.off(r,t,e[r]);return this}});var se=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ae=/<script|<style|<link/i,le=/checked\s*(?:[^=]|=\s*.checked.)/i,ce=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function manipulationTarget(e,t){return nodeName(e,"table")&&nodeName(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function disableScript(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function restoreScript(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function cloneCopyEvent(e,t){var n,i,r,o,s,a,l,c;if(1===t.nodeType){if(M.hasData(e)&&(o=M.access(e),s=M.set(t,o),c=o.events))for(r in delete s.handle,s.events={},c)for(n=0,i=c[r].length;n<i;n++)E.event.add(t,r,c[r][n]);F.hasData(e)&&(a=F.access(e),l=E.extend({},a),F.set(t,l))}}function domManip(n,i,r,o){i=g.apply([],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&&!v.checkClone&&le.test(f))return n.each(function(e){var t=n.eq(e);p&&(i[0]=f.call(this,e,t.html())),domManip(t,i,r,o)});if(d&&(t=(e=buildFragment(i,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(a=(s=E.map(getAll(e,"script"),disableScript)).length;u<d;u++)l=e,u!==h&&(l=E.clone(l,!0,!0),a&&E.merge(s,getAll(l,"script"))),r.call(n[u],l,u);if(a)for(c=s[s.length-1].ownerDocument,E.map(s,restoreScript),u=0;u<a;u++)l=s[u],J.test(l.type||"")&&!M.access(l,"globalEval")&&E.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?E._evalUrl&&!l.noModule&&E._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")}):DOMEval(l.textContent.replace(ce,""),l,c))}return n}function remove(e,t,n){for(var i,r=t?E.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||E.cleanData(getAll(i)),i.parentNode&&(n&&$(i)&&setGlobalEval(getAll(i,"script")),i.parentNode.removeChild(i));return e}E.extend({htmlPrefilter:function(e){return e.replace(se,"<$1></$2>")},clone:function(e,t,n){var i,r,o,s,a,l,c,u=e.cloneNode(!0),d=$(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(s=getAll(u),i=0,r=(o=getAll(e)).length;i<r;i++)a=o[i],l=s[i],void 0,"input"===(c=l.nodeName.toLowerCase())&&Y.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(t)if(n)for(o=o||getAll(e),s=s||getAll(u),i=0,r=o.length;i<r;i++)cloneCopyEvent(o[i],s[i]);else cloneCopyEvent(e,u);return 0<(s=getAll(u,"script")).length&&setGlobalEval(s,!d&&getAll(e,"script")),u},cleanData:function(e){for(var t,n,i,r=E.event.special,o=0;void 0!==(n=e[o]);o++)if(H(n)){if(t=n[M.expando]){if(t.events)for(i in t.events)r[i]?E.event.remove(n,i):E.removeEvent(n,i,t.handle);n[M.expando]=void 0}n[F.expando]&&(n[F.expando]=void 0)}}}),E.fn.extend({detach:function(e){return remove(this,e,!0)},remove:function(e){return remove(this,e)},text:function(e){return P(this,function(e){return void 0===e?E.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 domManip(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||manipulationTarget(this,e).appendChild(e)})},prepend:function(){return domManip(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=manipulationTarget(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return domManip(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return domManip(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&&(E.cleanData(getAll(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return E.clone(this,e,t)})},html:function(e){return P(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&&!ae.test(e)&&!Z[(G.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(E.cleanData(getAll(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return domManip(this,arguments,function(e){var t=this.parentNode;E.inArray(this,n)<0&&(E.cleanData(getAll(this)),t&&t.replaceChild(e,this))},n)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){E.fn[e]=function(e){for(var t,n=[],i=E(e),r=i.length-1,o=0;o<=r;o++)t=o===r?this:this.clone(!0),E(i[o])[s](t),l.apply(n,t.get());return this.pushStack(n)}});var ue=new RegExp("^("+W+")(?!px)[a-z%]+$","i"),de=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=T),t.getComputedStyle(e)},he=new RegExp(U.join("|"),"i");function curCSS(e,t,n){var i,r,o,s,a=e.style;return(n=n||de(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||$(e)||(s=E.style(e,t)),!v.pixelBoxStyles()&&ue.test(s)&&he.test(t)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function addGetHookIf(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function computeStyleTests(){if(a){s.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",a.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",B.appendChild(s).appendChild(a);var e=T.getComputedStyle(a);t="1%"!==e.top,o=12===roundPixelMeasures(e.marginLeft),a.style.right="60%",r=36===roundPixelMeasures(e.right),n=36===roundPixelMeasures(e.width),a.style.position="absolute",i=12===roundPixelMeasures(a.offsetWidth/3),B.removeChild(s),a=null}}function roundPixelMeasures(e){return Math.round(parseFloat(e))}var t,n,i,r,o,s=x.createElement("div"),a=x.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===a.style.backgroundClip,E.extend(v,{boxSizingReliable:function(){return computeStyleTests(),n},pixelBoxStyles:function(){return computeStyleTests(),r},pixelPosition:function(){return computeStyleTests(),t},reliableMarginLeft:function(){return computeStyleTests(),o},scrollboxSize:function(){return computeStyleTests(),i}}))}();var fe=["Webkit","Moz","ms"],pe=x.createElement("div").style,ge={};function finalPropName(e){var t=E.cssProps[e]||ge[e];return t||(e in pe?e:ge[e]=function vendorPropName(e){for(var t=e[0].toUpperCase()+e.slice(1),n=fe.length;n--;)if((e=fe[n]+t)in pe)return e}(e)||e)}var me=/^(none|table(?!-c[ea]).+)/,ve=/^--/,ye={position:"absolute",visibility:"hidden",display:"block"},_e={letterSpacing:"0",fontWeight:"400"};function setPositiveNumber(e,t,n){var i=z.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function boxModelAdjustment(e,t,n,i,r,o){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+=E.css(e,n+U[s],!0,r)),i?("content"===n&&(l-=E.css(e,"padding"+U[s],!0,r)),"margin"!==n&&(l-=E.css(e,"border"+U[s]+"Width",!0,r))):(l+=E.css(e,"padding"+U[s],!0,r),"padding"!==n?l+=E.css(e,"border"+U[s]+"Width",!0,r):a+=E.css(e,"border"+U[s]+"Width",!0,r));return!i&&0<=o&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l}function getWidthOrHeight(e,t,n){var i=de(e),r=(!v.boxSizingReliable()||n)&&"border-box"===E.css(e,"boxSizing",!1,i),o=r,s=curCSS(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(ue.test(s)){if(!n)return s;s="auto"}return(!v.boxSizingReliable()&&r||"auto"===s||!parseFloat(s)&&"inline"===E.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===E.css(e,"boxSizing",!1,i),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+boxModelAdjustment(e,t,n||(r?"border":"content"),o,i,s)+"px"}function Tween(e,t,n,i,r){return new Tween.prototype.init(e,t,n,i,r)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=curCSS(e,"opacity");return""===n?"1":n}}}},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 r,o,s,a=camelCase(t),l=ve.test(t),c=e.style;if(l||(t=finalPropName(a)),s=E.cssHooks[t]||E.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:c[t];"string"===(o=typeof n)&&(r=z.exec(n))&&r[1]&&(n=adjustCSS(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(E.cssNumber[a]?"":"px")),v.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 r,o,s,a=camelCase(t);return ve.test(t)||(t=finalPropName(a)),(s=E.cssHooks[t]||E.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=curCSS(e,t,i)),"normal"===r&&t in _e&&(r=_e[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),E.each(["height","width"],function(e,l){E.cssHooks[l]={get:function(e,t,n){if(t)return!me.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?getWidthOrHeight(e,l,n):V(e,ye,function(){return getWidthOrHeight(e,l,n)})},set:function(e,t,n){var i,r=de(e),o=!v.scrollboxSize()&&"absolute"===r.position,s=(o||n)&&"border-box"===E.css(e,"boxSizing",!1,r),a=n?boxModelAdjustment(e,l,n,s,r):0;return s&&o&&(a-=Math.ceil(e["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(r[l])-boxModelAdjustment(e,l,"border",!1,r)-.5)),a&&(i=z.exec(t))&&"px"!==(i[3]||"px")&&(e.style[l]=t,t=E.css(e,l)),setPositiveNumber(0,t,a)}}}),E.cssHooks.marginLeft=addGetHookIf(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(curCSS(e,"marginLeft"))||e.getBoundingClientRect().left-V(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),E.each({margin:"",padding:"",border:"Width"},function(r,o){E.cssHooks[r+o]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[r+U[t]+o]=i[t]||i[t-2]||i[0];return n}},"margin"!==r&&(E.cssHooks[r+o].set=setPositiveNumber)}),E.fn.extend({css:function(e,t){return P(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=de(e),r=t.length;s<r;s++)o[t[s]]=E.css(e,t[s],!1,i);return o}return void 0!==n?E.style(e,t,n):E.css(e,t)},e,t,1<arguments.length)}}),((E.Tween=Tween).prototype={constructor:Tween,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(E.cssNumber[n]?"":"px")},cur:function(){var e=Tween.propHooks[this.prop];return e&&e.get?e.get(this):Tween.propHooks._default.get(this)},run:function(e){var t,n=Tween.propHooks[this.prop];return this.options.duration?this.pos=t=E.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.set(this):Tween.propHooks._default.set(this),this}}).init.prototype=Tween.prototype,(Tween.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[finalPropName(e.prop)]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Tween.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=Tween.prototype.init,E.fx.step={};var be,Ce,we,Te,xe=/^(?:toggle|show|hide)$/,Ee=/queueHooks$/;function schedule(){Ce&&(!1===x.hidden&&T.requestAnimationFrame?T.requestAnimationFrame(schedule):T.setTimeout(schedule,E.fx.interval),E.fx.tick())}function createFxNow(){return T.setTimeout(function(){be=void 0}),be=Date.now()}function genFx(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=U[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function createTween(e,t,n){for(var i,r=(Animation.tweeners[t]||[]).concat(Animation.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function Animation(o,e,t){var n,s,i=0,r=Animation.prefilters.length,a=E.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var e=be||createFxNow(),t=Math.max(0,c.startTime+c.duration-e),n=1-(t/c.duration||0),i=0,r=c.tweens.length;i<r;i++)c.tweens[i].run(n);return a.notifyWith(o,[c,n,t]),n<1&&r?t:(r||a.notifyWith(o,[c,1,0]),a.resolveWith(o,[c]),!1)},c=a.promise({elem:o,props:E.extend({},e),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},t),originalProperties:e,originalOptions:t,startTime:be||createFxNow(),duration:t.duration,tweens:[],createTween:function(e,t){var n=E.Tween(o,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var t=0,n=e?c.tweens.length:0;if(s)return this;for(s=!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 propFilter(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=camelCase(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=E.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(u,c.opts.specialEasing);i<r;i++)if(n=Animation.prefilters[i].call(c,o,u,c.opts))return y(n.stop)&&(E._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return E.map(u,createTween,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),E.fx.timer(E.extend(l,{elem:o,anim:c,queue:c.opts.queue})),c}E.Animation=E.extend(Animation,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return adjustCSS(n.elem,e,z.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,r=(e=y(e)?(t=e,["*"]):e.match(N)).length;i<r;i++)n=e[i],Animation.tweeners[n]=Animation.tweeners[n]||[],Animation.tweeners[n].unshift(t)},prefilters:[function defaultPrefilter(e,t,n){var i,r,o,s,a,l,c,u,d="width"in t||"height"in t,h=this,f={},p=e.style,g=e.nodeType&&K(e),m=M.get(e,"fxshow");for(i in n.queue||(null==(s=E._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,E.queue(e,"fx").length||s.empty.fire()})})),t)if(r=t[i],xe.test(r)){if(delete t[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;g=!0}f[i]=m&&m[i]||E.style(e,i)}if((l=!E.isEmptyObject(t))||!E.isEmptyObject(f))for(i in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=M.get(e,"display")),"none"===(u=E.css(e,"display"))&&(c?u=c:(showHide([e],!0),c=e.style.display||c,u=E.css(e,"display"),showHide([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===E.css(e,"float")&&(l||(h.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,f)l||(m?"hidden"in m&&(g=m.hidden):m=M.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&showHide([e],!0),h.done(function(){for(i in g||showHide([e]),M.remove(e,"fxshow"),f)E.style(e,i,f[i])})),l=createTween(g?m[i]:0,i,h),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?Animation.prefilters.unshift(e):Animation.prefilters.push(e)}}),E.speed=function(e,t,n){var i=e&&"object"==typeof e?E.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return E.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in E.fx.speeds?i.duration=E.fx.speeds[i.duration]:i.duration=E.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&&E.dequeue(this,i.queue)},i},E.fn.extend({fadeTo:function(e,t,n,i){return this.filter(K).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){var r=E.isEmptyObject(t),o=E.speed(e,n,i),s=function(){var e=Animation(this,E.extend({},t),o);(r||M.get(this,"finish"))&&e.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(r,e,o){var s=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof r&&(o=e,e=r,r=void 0),e&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",n=E.timers,i=M.get(this);if(t)i[t]&&i[t].stop&&s(i[t]);else for(t in i)i[t]&&i[t].stop&&Ee.test(t)&&s(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=r&&n[t].queue!==r||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||E.dequeue(this,r)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=M.get(this),n=t[s+"queue"],i=t[s+"queueHooks"],r=E.timers,o=n?n.length:0;for(t.finish=!0,E.queue(this,s,[]),i&&i.stop&&i.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===s&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),E.each(["toggle","show","hide"],function(e,i){var r=E.fn[i];E.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(genFx(i,!0),e,t,n)}}),E.each({slideDown:genFx("show"),slideUp:genFx("hide"),slideToggle:genFx("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){E.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),E.timers=[],E.fx.tick=function(){var e,t=0,n=E.timers;for(be=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||E.fx.stop(),be=void 0},E.fx.timer=function(e){E.timers.push(e),E.fx.start()},E.fx.interval=13,E.fx.start=function(){Ce||(Ce=!0,schedule())},E.fx.stop=function(){Ce=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(i,e){return i=E.fx&&E.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=T.setTimeout(e,i);t.stop=function(){T.clearTimeout(n)}})},we=x.createElement("input"),Te=x.createElement("select").appendChild(x.createElement("option")),we.type="checkbox",v.checkOn=""!==we.value,v.optSelected=Te.selected,(we=x.createElement("input")).value="t",we.type="radio",v.radioValue="t"===we.value;var Se,Ae=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return P(this,E.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){E.removeAttr(this,e)})}}),E.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?E.prop(e,t,n):(1===o&&E.isXMLDoc(e)||(r=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?Se:void 0)),void 0!==n?null===n?void E.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=E.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(N);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),Se={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),function(e,t){var s=Ae[t]||E.find.attr;Ae[t]=function(e,t,n){var i,r,o=t.toLowerCase();return n||(r=Ae[o],Ae[o]=i,i=null!=s(e,t,n)?o:null,Ae[o]=r),i}});var De=/^(?:input|select|textarea|button)$/i,ke=/^(?:a|area)$/i;function stripAndCollapse(e){return(e.match(N)||[]).join(" ")}function getClass(e){return e.getAttribute&&e.getAttribute("class")||""}function classesToArray(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}E.fn.extend({prop:function(e,t){return P(this,E.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[E.propFix[e]||e]})}}),E.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(e)||(t=E.propFix[t]||t,r=E.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):De.test(e.nodeName)||ke.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(E.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){E.propFix[this.toLowerCase()]=this}),E.fn.extend({addClass:function(t){var e,n,i,r,o,s,a,l=0;if(y(t))return this.each(function(e){E(this).addClass(t.call(this,e,getClass(this)))});if((e=classesToArray(t)).length)for(;n=this[l++];)if(r=getClass(n),i=1===n.nodeType&&" "+stripAndCollapse(r)+" "){for(s=0;o=e[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(a=stripAndCollapse(i))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,i,r,o,s,a,l=0;if(y(t))return this.each(function(e){E(this).removeClass(t.call(this,e,getClass(this)))});if(!arguments.length)return this.attr("class","");if((e=classesToArray(t)).length)for(;n=this[l++];)if(r=getClass(n),i=1===n.nodeType&&" "+stripAndCollapse(r)+" "){for(s=0;o=e[s++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");r!==(a=stripAndCollapse(i))&&n.setAttribute("class",a)}return this},toggleClass:function(r,t){var o=typeof r,s="string"===o||Array.isArray(r);return"boolean"==typeof t&&s?t?this.addClass(r):this.removeClass(r):y(r)?this.each(function(e){E(this).toggleClass(r.call(this,e,getClass(this),t),t)}):this.each(function(){var e,t,n,i;if(s)for(t=0,n=E(this),i=classesToArray(r);e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==r&&"boolean"!==o||((e=getClass(this))&&M.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===r?"":M.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+stripAndCollapse(getClass(n))+" ").indexOf(t))return!0;return!1}});var Ne=/\r/g;E.fn.extend({val:function(n){var i,e,r,t=this[0];return arguments.length?(r=y(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=r?n.call(this,e,E(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=E.map(t,function(e){return null==e?"":e+""})),(i=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):t?(i=E.valHooks[t.type]||E.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(Ne,""):null==e?"":e:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:stripAndCollapse(E.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!nodeName(n.parentNode,"optgroup"))){if(t=E(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=E.makeArray(t),s=r.length;s--;)((i=r[s]).selected=-1<E.inArray(E.valHooks.option.get(i),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<E.inArray(E(e).val(),t)}},v.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in T;var Ie=/^(?:focusinfocus|focusoutblur)$/,je=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(e,t,n,i){var r,o,s,a,l,c,u,d,h=[n||x],f=m.call(e,"type")?e.type:e,p=m.call(e,"namespace")?e.namespace.split("."):[];if(o=d=s=n=n||x,3!==n.nodeType&&8!==n.nodeType&&!Ie.test(f+E.event.triggered)&&(-1<f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),l=f.indexOf(":")<0&&"on"+f,(e=e[E.expando]?e:new E.Event(f,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:E.makeArray(t,[e]),u=E.event.special[f]||{},i||!u.trigger||!1!==u.trigger.apply(n,t))){if(!i&&!u.noBubble&&!_(n)){for(a=u.delegateType||f,Ie.test(a+f)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(n.ownerDocument||x)&&h.push(s.defaultView||s.parentWindow||T)}for(r=0;(o=h[r++])&&!e.isPropagationStopped();)d=o,e.type=1<r?a:u.bindType||f,(c=(M.get(o,"events")||{})[e.type]&&M.get(o,"handle"))&&c.apply(o,t),(c=l&&o[l])&&c.apply&&H(o)&&(e.result=c.apply(o,t),!1===e.result&&e.preventDefault());return e.type=f,i||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),t)||!H(n)||l&&y(n[f])&&!_(n)&&((s=n[l])&&(n[l]=null),E.event.triggered=f,e.isPropagationStopped()&&d.addEventListener(f,je),n[f](),e.isPropagationStopped()&&d.removeEventListener(f,je),E.event.triggered=void 0,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var i=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(i,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each(function(){E.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}}),v.focusin||E.each({focus:"focusin",blur:"focusout"},function(n,i){var r=function(e){E.event.simulate(i,e.target,E.event.fix(e))};E.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=M.access(e,i);t||e.addEventListener(n,r,!0),M.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=M.access(e,i)-1;t?M.access(e,i,t):(e.removeEventListener(n,r,!0),M.remove(e,i))}}});var Pe=T.location,Le=Date.now(),Oe=/\?/;E.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new T.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||E.error("Invalid XML: "+e),t};var He=/\[\]$/,Me=/\r?\n/g,Fe=/^(?:submit|button|image|reset|file)$/i,Re=/^(?:input|select|textarea|keygen)/i;function buildParams(n,e,i,r){var t;if(Array.isArray(e))E.each(e,function(e,t){i||He.test(n)?r(n,t):buildParams(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,r)});else if(i||"object"!==toType(e))r(n,e);else for(t in e)buildParams(n+"["+t+"]",e[t],i,r)}E.param=function(e,t){var n,i=[],r=function(e,t){var n=y(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,function(){r(this.name,this.value)});else for(n in e)buildParams(n,e[n],t,r);return i.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Re.test(this.nodeName)&&!Fe.test(e)&&(this.checked||!Y.test(e))}).map(function(e,t){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,function(e){return{name:t.name,value:e.replace(Me,"\r\n")}}):{name:t.name,value:n.replace(Me,"\r\n")}}).get()}});var qe=/%20/g,We=/#.*$/,ze=/([?&])_=[^&]*/,Ue=/^(.*?):[ \t]*([^\r\n]*)$/gm,Be=/^(?:GET|HEAD)$/,$e=/^\/\//,Qe={},Ke={},Ve="*/".concat("*"),Xe=x.createElement("a");function addToPrefiltersOrTransports(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,r=e.toLowerCase().match(N)||[];if(y(t))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function inspectPrefiltersOrTransports(t,r,o,s){var a={},l=t===Ke;function inspect(e){var i;return a[e]=!0,E.each(t[e]||[],function(e,t){var n=t(r,o,s);return"string"!=typeof n||l||a[n]?l?!(i=n):void 0:(r.dataTypes.unshift(n),inspect(n),!1)}),i}return inspect(r.dataTypes[0])||!a["*"]&&inspect("*")}function ajaxExtend(e,t){var n,i,r=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&E.extend(!0,e,i),e}Xe.href=Pe.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pe.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Pe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ve,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":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ajaxExtend(ajaxExtend(e,E.ajaxSettings),t):ajaxExtend(E.ajaxSettings,e)},ajaxPrefilter:addToPrefiltersOrTransports(Qe),ajaxTransport:addToPrefiltersOrTransports(Ke),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var u,d,h,n,f,i,p,g,r,o,m=E.ajaxSetup({},t),v=m.context||m,y=m.context&&(v.nodeType||v.jquery)?E(v):E.event,_=E.Deferred(),b=E.Callbacks("once memory"),C=m.statusCode||{},s={},a={},l="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(p){if(!n)for(n={};t=Ue.exec(h);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return p?h:null},setRequestHeader:function(e,t){return null==p&&(e=a[e.toLowerCase()]=a[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==p&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(p)w.always(e[w.status]);else for(t in e)C[t]=[C[t],e[t]];return this},abort:function(e){var t=e||l;return u&&u.abort(t),done(0,t),this}};if(_.promise(w),m.url=((e||m.url||Pe.href)+"").replace($e,Pe.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(N)||[""],null==m.crossDomain){i=x.createElement("a");try{i.href=m.url,i.href=i.href,m.crossDomain=Xe.protocol+"//"+Xe.host!=i.protocol+"//"+i.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=E.param(m.data,m.traditional)),inspectPrefiltersOrTransports(Qe,m,t,w),p)return w;for(r in(g=E.event&&m.global)&&0==E.active++&&E.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Be.test(m.type),d=m.url.replace(We,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(qe,"+")):(o=m.url.slice(d.length),m.data&&(m.processData||"string"==typeof m.data)&&(d+=(Oe.test(d)?"&":"?")+m.data,delete m.data),!1===m.cache&&(d=d.replace(ze,"$1"),o=(Oe.test(d)?"&":"?")+"_="+Le+++o),m.url=d+o),m.ifModified&&(E.lastModified[d]&&w.setRequestHeader("If-Modified-Since",E.lastModified[d]),E.etag[d]&&w.setRequestHeader("If-None-Match",E.etag[d])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&w.setRequestHeader("Content-Type",m.contentType),w.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Ve+"; q=0.01":""):m.accepts["*"]),m.headers)w.setRequestHeader(r,m.headers[r]);if(m.beforeSend&&(!1===m.beforeSend.call(v,w,m)||p))return w.abort();if(l="abort",b.add(m.complete),w.done(m.success),w.fail(m.error),u=inspectPrefiltersOrTransports(Ke,m,t,w)){if(w.readyState=1,g&&y.trigger("ajaxSend",[w,m]),p)return w;m.async&&0<m.timeout&&(f=T.setTimeout(function(){w.abort("timeout")},m.timeout));try{p=!1,u.send(s,done)}catch(e){if(p)throw e;done(-1,e)}}else done(-1,"No Transport");function done(e,t,n,i){var r,o,s,a,l,c=t;p||(p=!0,f&&T.clearTimeout(f),u=void 0,h=i||"",w.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(a=function ajaxHandleResponses(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(m,w,n)),a=function ajaxConvert(e,t,n,i){var r,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(r in c)if((a=r.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[r]:!0!==c[r]&&(o=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 "+o}}}return{state:"success",data:t}}(m,a,w,r),r?(m.ifModified&&((l=w.getResponseHeader("Last-Modified"))&&(E.lastModified[d]=l),(l=w.getResponseHeader("etag"))&&(E.etag[d]=l)),204===e||"HEAD"===m.type?c="nocontent":304===e?c="notmodified":(c=a.state,o=a.data,r=!(s=a.error))):(s=c,!e&&c||(c="error",e<0&&(e=0))),w.status=e,w.statusText=(t||c)+"",r?_.resolveWith(v,[o,c,w]):_.rejectWith(v,[w,c,s]),w.statusCode(C),C=void 0,g&&y.trigger(r?"ajaxSuccess":"ajaxError",[w,m,r?o:s]),b.fireWith(v,[w,c]),g&&(y.trigger("ajaxComplete",[w,m]),--E.active||E.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],function(e,r){E[r]=function(e,t,n,i){return y(t)&&(i=i||n,n=t,t=void 0),E.ajax(E.extend({url:e,type:r,dataType:i,data:t,success:n},E.isPlainObject(e)&&e))}}),E._evalUrl=function(e,t){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t)}})},E.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=E(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.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){E(this).wrapInner(n.call(this,e))}):this.each(function(){var e=E(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=y(t);return this.each(function(e){E(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){E(this).replaceWith(this.childNodes)}),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new T.XMLHttpRequest}catch(e){}};var Ye={0:200,1223:204},Ge=E.ajaxSettings.xhr();v.cors=!!Ge&&"withCredentials"in Ge,v.ajax=Ge=!!Ge,E.ajaxTransport(function(r){var o,s;if(v.cors||Ge&&!r.crossDomain)return{send:function(e,t){var n,i=r.xhr();if(i.open(r.type,r.url,r.async,r.username,r.password),r.xhrFields)for(n in r.xhrFields)i[n]=r.xhrFields[n];for(n in r.mimeType&&i.overrideMimeType&&i.overrideMimeType(r.mimeType),r.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=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(Ye[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=o(),s=i.onerror=i.ontimeout=o("error"),void 0!==i.onabort?i.onabort=s:i.onreadystatechange=function(){4===i.readyState&&T.setTimeout(function(){o&&s()})},o=o("abort");try{i.send(r.hasContent&&r.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),E.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),E.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 E.globalEval(e),e}}}),E.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),E.ajaxTransport("script",function(n){var i,r;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){i=E("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(e){i.remove(),r=null,e&&t("error"===e.type?404:200,e.type)}),x.head.appendChild(i[0])},abort:function(){r&&r()}}});var Je,Ze=[],et=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ze.pop()||E.expando+"_"+Le++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,o,s=!1!==e.jsonp&&(et.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&et.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(et,"$1"+i):!1!==e.jsonp&&(e.url+=(Oe.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||E.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=T[i],T[i]=function(){o=arguments},n.always(function(){void 0===r?E(T).removeProp(i):T[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,Ze.push(i)),o&&y(r)&&r(o[0]),o=r=void 0}),"script"}),v.createHTMLDocument=((Je=x.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Je.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((i=(t=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,t.head.appendChild(i)):t=x),o=!n&&[],(r=w.exec(e))?[t.createElement(r[1])]:(r=buildFragment([e],t,o),o&&o.length&&E(o).remove(),E.merge([],r.childNodes)));var i,r,o},E.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return-1<a&&(i=stripAndCollapse(e.slice(a)),e=e.slice(0,a)),y(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),0<s.length&&E.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?E("<div>").append(E.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){E.fn[t]=function(e){return this.on(t,e)}}),E.expr.pseudos.animated=function(t){return E.grep(E.timers,function(e){return t===e.elem}).length},E.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c=E.css(e,"position"),u=E(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=E.css(e,"top"),l=E.css(e,"left"),r=("absolute"===c||"fixed"===c)&&-1<(o+l).indexOf("auto")?(s=(i=u.position()).top,i.left):(s=parseFloat(o)||0,parseFloat(l)||0),y(t)&&(t=t.call(e,n,E.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):u.css(d)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.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],r={top:0,left:0};if("fixed"===E.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"===E.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),r.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-E.css(i,"marginTop",!0),left:t.left-r.left-E.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||B})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o="pageYOffset"===r;E.fn[t]=function(e){return P(this,function(e,t,n){var i;if(_(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===n)return i?i[r]:e[t];i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=addGetHookIf(v.pixelPosition,function(e,t){if(t)return t=curCSS(e,n),ue.test(t)?E(e).position()[n]+"px":t})}),E.each({Height:"height",Width:"width"},function(s,a){E.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,o){E.fn[o]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return P(this,function(e,t,n){var i;return _(e)?0===o.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?E.css(e,t,r):E.style(e,t,n,r)},a,n?e:void 0,n)}})}),E.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){E.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),E.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),E.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)}}),E.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return i=a.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(a.call(arguments)))}).guid=e.guid=e.guid||E.guid++,r},E.holdReady=function(e){e?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=nodeName,E.isFunction=y,E.isWindow=_,E.camelCase=camelCase,E.type=toType,E.now=Date.now,E.isNumeric=function(e){var t=E.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return E});var tt=T.jQuery,nt=T.$;return E.noConflict=function(e){return T.$===E&&(T.$=nt),e&&T.jQuery===E&&(T.jQuery=tt),E},e||(T.jQuery=T.$=E),E}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t((e=e||self).bootstrap={},e.jQuery,e.Popper)}(this,function(e,p,d){"use strict";function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _objectSpread(r){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{},t=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),t.forEach(function(e){var t,n,i;t=r,i=o[n=e],n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i})}return r}p=p&&p.hasOwnProperty("default")?p.default:p,d=d&&d.hasOwnProperty("default")?d.default:d;var t="transitionend";function transitionEndEmulator(e){var t=this,n=!1;return p(this).one(g.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||g.triggerTransitionEnd(t)},e),this}var g={TRANSITION_END:"bsTransitionEnd",getUID:function getUID(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function getSelectorFromElement(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function getTransitionDurationFromElement(e){if(!e)return 0;var t=p(e).css("transition-duration"),n=p(e).css("transition-delay"),i=parseFloat(t),r=parseFloat(n);return i||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:function reflow(e){return e.offsetHeight},triggerTransitionEnd:function triggerTransitionEnd(e){p(e).trigger(t)},supportsTransitionEnd:function supportsTransitionEnd(){return Boolean(t)},isElement:function isElement(e){return(e[0]||e).nodeType},typeCheckConfig:function typeCheckConfig(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=t[i],s=o&&g.isElement(o)?"element":(a=o,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}var a},findShadowRoot:function findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?g.findShadowRoot(e.parentNode):null;var t=e.getRootNode();return t instanceof ShadowRoot?t:null}};!function setTransitionEndSupport(){p.fn.emulateTransitionEnd=transitionEndEmulator,p.event.special[g.TRANSITION_END]=function getSpecialTransitionEndEvent(){return{bindType:t,delegateType:t,handle:function handle(e){if(p(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}()}();var n="alert",i="bs.alert",r="."+i,o=p.fn[n],s={CLOSE:"close"+r,CLOSED:"closed"+r,CLICK_DATA_API:"click"+r+".data-api"},a="alert",l="fade",c="show",u=function(){function Alert(e){this._element=e}var e=Alert.prototype;return e.close=function close(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},e.dispose=function dispose(){p.removeData(this._element,i),this._element=null},e._getRootElement=function _getRootElement(e){var t=g.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n||(n=p(e).closest("."+a)[0]),n},e._triggerCloseEvent=function _triggerCloseEvent(e){var t=p.Event(s.CLOSE);return p(e).trigger(t),t},e._removeElement=function _removeElement(t){var n=this;if(p(t).removeClass(c),p(t).hasClass(l)){var e=g.getTransitionDurationFromElement(t);p(t).one(g.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(e)}else this._destroyElement(t)},e._destroyElement=function _destroyElement(e){p(e).detach().trigger(s.CLOSED).remove()},Alert._jQueryInterface=function _jQueryInterface(n){return this.each(function(){var e=p(this),t=e.data(i);t||(t=new Alert(this),e.data(i,t)),"close"===n&&t[n](this)})},Alert._handleDismiss=function _handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}},_createClass(Alert,null,[{key:"VERSION",get:function get(){return"4.3.1"}}]),Alert}();p(document).on(s.CLICK_DATA_API,'[data-dismiss="alert"]',u._handleDismiss(new u)),p.fn[n]=u._jQueryInterface,p.fn[n].Constructor=u,p.fn[n].noConflict=function(){return p.fn[n]=o,u._jQueryInterface};var h="button",f="bs.button",m="."+f,v=".data-api",y=p.fn[h],_="active",b="btn",C="focus",w='[data-toggle^="button"]',T='[data-toggle="buttons"]',x='input:not([type="hidden"])',E=".active",S=".btn",A={CLICK_DATA_API:"click"+m+v,FOCUS_BLUR_DATA_API:"focus"+m+v+" blur"+m+v},D=function(){function Button(e){this._element=e}var e=Button.prototype;return e.toggle=function toggle(){var e=!0,t=!0,n=p(this._element).closest(T)[0];if(n){var i=this._element.querySelector(x);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(_))e=!1;else{var r=n.querySelector(E);r&&p(r).removeClass(_)}if(e){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(_),p(i).trigger("change")}i.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(_)),e&&p(this._element).toggleClass(_)},e.dispose=function dispose(){p.removeData(this._element,f),this._element=null},Button._jQueryInterface=function _jQueryInterface(t){return this.each(function(){var e=p(this).data(f);e||(e=new Button(this),p(this).data(f,e)),"toggle"===t&&e[t]()})},_createClass(Button,null,[{key:"VERSION",get:function get(){return"4.3.1"}}]),Button}();p(document).on(A.CLICK_DATA_API,w,function(e){e.preventDefault();var t=e.target;p(t).hasClass(b)||(t=p(t).closest(S)),D._jQueryInterface.call(p(t),"toggle")}).on(A.FOCUS_BLUR_DATA_API,w,function(e){var t=p(e.target).closest(S)[0];p(t).toggleClass(C,/^focus(in)?$/.test(e.type))}),p.fn[h]=D._jQueryInterface,p.fn[h].Constructor=D,p.fn[h].noConflict=function(){return p.fn[h]=y,D._jQueryInterface};var k="carousel",N="bs.carousel",I="."+N,j=".data-api",P=p.fn[k],L={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},O={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},H="next",M="prev",F="left",R="right",q={SLIDE:"slide"+I,SLID:"slid"+I,KEYDOWN:"keydown"+I,MOUSEENTER:"mouseenter"+I,MOUSELEAVE:"mouseleave"+I,TOUCHSTART:"touchstart"+I,TOUCHMOVE:"touchmove"+I,TOUCHEND:"touchend"+I,POINTERDOWN:"pointerdown"+I,POINTERUP:"pointerup"+I,DRAG_START:"dragstart"+I,LOAD_DATA_API:"load"+I+j,CLICK_DATA_API:"click"+I+j},W="carousel",z="active",U="slide",B="carousel-item-right",$="carousel-item-left",Q="carousel-item-next",K="carousel-item-prev",V="pointer-event",X=".active",Y=".active.carousel-item",G=".carousel-item",J=".carousel-item img",Z=".carousel-item-next, .carousel-item-prev",ee=".carousel-indicators",te="[data-slide], [data-slide-to]",ne='[data-ride="carousel"]',ie={TOUCH:"touch",PEN:"pen"},re=function(){function Carousel(e,t){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._element=e,this._indicatorsElement=this._element.querySelector(ee),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=Carousel.prototype;return e.next=function next(){this._isSliding||this._slide(H)},e.nextWhenVisible=function nextWhenVisible(){!document.hidden&&p(this._element).is(":visible")&&"hidden"!==p(this._element).css("visibility")&&this.next()},e.prev=function prev(){this._isSliding||this._slide(M)},e.pause=function pause(e){e||(this._isPaused=!0),this._element.querySelector(Z)&&(g.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function to(e){var t=this;this._activeElement=this._element.querySelector(Y);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)p(this._element).one(q.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var i=n<e?H:M;this._slide(i,this._items[e])}},e.dispose=function dispose(){p(this._element).off(I),p.removeData(this._element,N),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function _getConfig(e){return e=_objectSpread({},L,e),g.typeCheckConfig(k,e,O),e},e._handleSwipe=function _handleSwipe(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;0<t&&this.prev(),t<0&&this.next()}},e._addEventListeners=function _addEventListeners(){var t=this;this._config.keyboard&&p(this._element).on(q.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&p(this._element).on(q.MOUSEENTER,function(e){return t.pause(e)}).on(q.MOUSELEAVE,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function _addTouchEventListeners(){var t=this;if(this._touchSupported){var n=function start(e){t._pointerEvent&&ie[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function end(e){t._pointerEvent&&ie[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};p(this._element.querySelectorAll(J)).on(q.DRAG_START,function(e){return e.preventDefault()}),this._pointerEvent?(p(this._element).on(q.POINTERDOWN,function(e){return n(e)}),p(this._element).on(q.POINTERUP,function(e){return i(e)}),this._element.classList.add(V)):(p(this._element).on(q.TOUCHSTART,function(e){return n(e)}),p(this._element).on(q.TOUCHMOVE,function(e){return function move(e){e.originalEvent.touches&&1<e.originalEvent.touches.length?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),p(this._element).on(q.TOUCHEND,function(e){return i(e)}))}},e._keydown=function _keydown(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},e._getItemIndex=function _getItemIndex(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(G)):[],this._items.indexOf(e)},e._getItemByDirection=function _getItemByDirection(e,t){var n=e===H,i=e===M,r=this._getItemIndex(t),o=this._items.length-1;if((i&&0===r||n&&r===o)&&!this._config.wrap)return t;var s=(r+(e===M?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function _triggerSlideEvent(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(Y)),r=p.Event(q.SLIDE,{relatedTarget:e,direction:t,from:i,to:n});return p(this._element).trigger(r),r},e._setActiveIndicatorElement=function _setActiveIndicatorElement(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(X));p(t).removeClass(z);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&p(n).addClass(z)}},e._slide=function _slide(e,t){var n,i,r,o=this,s=this._element.querySelector(Y),a=this._getItemIndex(s),l=t||s&&this._getItemByDirection(e,s),c=this._getItemIndex(l),u=Boolean(this._interval);if(r=e===H?(n=$,i=Q,F):(n=B,i=K,R),l&&p(l).hasClass(z))this._isSliding=!1;else if(!this._triggerSlideEvent(l,r).isDefaultPrevented()&&s&&l){this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(l);var d=p.Event(q.SLID,{relatedTarget:l,direction:r,from:a,to:c});if(p(this._element).hasClass(U)){p(l).addClass(i),g.reflow(l),p(s).addClass(n),p(l).addClass(n);var h=parseInt(l.getAttribute("data-interval"),10);h?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=h):this._config.interval=this._config.defaultInterval||this._config.interval;var f=g.getTransitionDurationFromElement(s);p(s).one(g.TRANSITION_END,function(){p(l).removeClass(n+" "+i).addClass(z),p(s).removeClass(z+" "+i+" "+n),o._isSliding=!1,setTimeout(function(){return p(o._element).trigger(d)},0)}).emulateTransitionEnd(f)}else p(s).removeClass(z),p(l).addClass(z),this._isSliding=!1,p(this._element).trigger(d);u&&this.cycle()}},Carousel._jQueryInterface=function _jQueryInterface(i){return this.each(function(){var e=p(this).data(N),t=_objectSpread({},L,p(this).data());"object"==typeof i&&(t=_objectSpread({},t,i));var n="string"==typeof i?i:t.slide;if(e||(e=new Carousel(this,t),p(this).data(N,e)),"number"==typeof i)e.to(i);else if("string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}else t.interval&&t.ride&&(e.pause(),e.cycle())})},Carousel._dataApiClickHandler=function _dataApiClickHandler(e){var t=g.getSelectorFromElement(this);if(t){var n=p(t)[0];if(n&&p(n).hasClass(W)){var i=_objectSpread({},p(n).data(),p(this).data()),r=this.getAttribute("data-slide-to");r&&(i.interval=!1),Carousel._jQueryInterface.call(p(n),i),r&&p(n).data(N).to(r),e.preventDefault()}}},_createClass(Carousel,null,[{key:"VERSION",get:function get(){return"4.3.1"}},{key:"Default",get:function get(){return L}}]),Carousel}();p(document).on(q.CLICK_DATA_API,te,re._dataApiClickHandler),p(window).on(q.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(ne)),t=0,n=e.length;t<n;t++){var i=p(e[t]);re._jQueryInterface.call(i,i.data())}}),p.fn[k]=re._jQueryInterface,p.fn[k].Constructor=re,p.fn[k].noConflict=function(){return p.fn[k]=P,re._jQueryInterface};var oe="collapse",se="bs.collapse",ae="."+se,le=p.fn[oe],ce={toggle:!0,parent:""},ue={toggle:"boolean",parent:"(string|element)"},de={SHOW:"show"+ae,SHOWN:"shown"+ae,HIDE:"hide"+ae,HIDDEN:"hidden"+ae,CLICK_DATA_API:"click"+ae+".data-api"},he="show",fe="collapse",pe="collapsing",ge="collapsed",me="width",ve="height",ye=".show, .collapsing",_e='[data-toggle="collapse"]',be=function(){function Collapse(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(_e)),i=0,r=n.length;i<r;i++){var o=n[i],s=g.getSelectorFromElement(o),a=[].slice.call(document.querySelectorAll(s)).filter(function(e){return e===t});null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=Collapse.prototype;return e.toggle=function toggle(){p(this._element).hasClass(he)?this.hide():this.show()},e.show=function show(){var e,t,n=this;if(!this._isTransitioning&&!p(this._element).hasClass(he)&&(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(ye)).filter(function(e){return"string"==typeof n._config.parent?e.getAttribute("data-parent")===n._config.parent:e.classList.contains(fe)})).length&&(e=null),!(e&&(t=p(e).not(this._selector).data(se))&&t._isTransitioning))){var i=p.Event(de.SHOW);if(p(this._element).trigger(i),!i.isDefaultPrevented()){e&&(Collapse._jQueryInterface.call(p(e).not(this._selector),"hide"),t||p(e).data(se,null));var r=this._getDimension();p(this._element).removeClass(fe).addClass(pe),this._element.style[r]=0,this._triggerArray.length&&p(this._triggerArray).removeClass(ge).attr("aria-expanded",!0),this.setTransitioning(!0);var o="scroll"+(r[0].toUpperCase()+r.slice(1)),s=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,function complete(){p(n._element).removeClass(pe).addClass(fe).addClass(he),n._element.style[r]="",n.setTransitioning(!1),p(n._element).trigger(de.SHOWN)}).emulateTransitionEnd(s),this._element.style[r]=this._element[o]+"px"}}},e.hide=function hide(){var e=this;if(!this._isTransitioning&&p(this._element).hasClass(he)){var t=p.Event(de.HIDE);if(p(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",g.reflow(this._element),p(this._element).addClass(pe).removeClass(fe).removeClass(he);var i=this._triggerArray.length;if(0<i)for(var r=0;r<i;r++){var o=this._triggerArray[r],s=g.getSelectorFromElement(o);if(null!==s)p([].slice.call(document.querySelectorAll(s))).hasClass(he)||p(o).addClass(ge).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[n]="";var a=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,function complete(){e.setTransitioning(!1),p(e._element).removeClass(pe).addClass(fe).trigger(de.HIDDEN)}).emulateTransitionEnd(a)}}},e.setTransitioning=function setTransitioning(e){this._isTransitioning=e},e.dispose=function dispose(){p.removeData(this._element,se),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function _getConfig(e){return(e=_objectSpread({},ce,e)).toggle=Boolean(e.toggle),g.typeCheckConfig(oe,e,ue),e},e._getDimension=function _getDimension(){return p(this._element).hasClass(me)?me:ve},e._getParent=function _getParent(){var e,n=this;g.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var t='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',i=[].slice.call(e.querySelectorAll(t));return p(i).each(function(e,t){n._addAriaAndCollapsedClass(Collapse._getTargetFromElement(t),[t])}),e},e._addAriaAndCollapsedClass=function _addAriaAndCollapsedClass(e,t){var n=p(e).hasClass(he);t.length&&p(t).toggleClass(ge,!n).attr("aria-expanded",n)},Collapse._getTargetFromElement=function _getTargetFromElement(e){var t=g.getSelectorFromElement(e);return t?document.querySelector(t):null},Collapse._jQueryInterface=function _jQueryInterface(i){return this.each(function(){var e=p(this),t=e.data(se),n=_objectSpread({},ce,e.data(),"object"==typeof i&&i?i:{});if(!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new Collapse(this,n),e.data(se,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},_createClass(Collapse,null,[{key:"VERSION",get:function get(){return"4.3.1"}},{key:"Default",get:function get(){return ce}}]),Collapse}();p(document).on(de.CLICK_DATA_API,_e,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=p(this),t=g.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(t));p(i).each(function(){var e=p(this),t=e.data(se)?"toggle":n.data();be._jQueryInterface.call(e,t)})}),p.fn[oe]=be._jQueryInterface,p.fn[oe].Constructor=be,p.fn[oe].noConflict=function(){return p.fn[oe]=le,be._jQueryInterface};var Ce="dropdown",we="bs.dropdown",Te="."+we,xe=".data-api",Ee=p.fn[Ce],Se=new RegExp("38|40|27"),Ae={HIDE:"hide"+Te,HIDDEN:"hidden"+Te,SHOW:"show"+Te,SHOWN:"shown"+Te,CLICK:"click"+Te,CLICK_DATA_API:"click"+Te+xe,KEYDOWN_DATA_API:"keydown"+Te+xe,KEYUP_DATA_API:"keyup"+Te+xe},De="disabled",ke="show",Ne="dropup",Ie="dropright",je="dropleft",Pe="dropdown-menu-right",Le="position-static",Oe='[data-toggle="dropdown"]',He=".dropdown form",Me=".dropdown-menu",Fe=".navbar-nav",Re=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",qe="top-start",We="top-end",ze="bottom-start",Ue="bottom-end",Be="right-start",$e="left-start",Qe={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Ke={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Ve=function(){function Dropdown(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=Dropdown.prototype;return e.toggle=function toggle(){if(!this._element.disabled&&!p(this._element).hasClass(De)){var e=Dropdown._getParentFromElement(this._element),t=p(this._menu).hasClass(ke);if(Dropdown._clearMenus(),!t){var n={relatedTarget:this._element},i=p.Event(Ae.SHOW,n);if(p(e).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if(void 0===d)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var r=this._element;"parent"===this._config.reference?r=e:g.isElement(this._config.reference)&&(r=this._config.reference,void 0!==this._config.reference.jquery&&(r=this._config.reference[0])),"scrollParent"!==this._config.boundary&&p(e).addClass(Le),this._popper=new d(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===p(e).closest(Fe).length&&p(document.body).children().on("mouseover",null,p.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),p(this._menu).toggleClass(ke),p(e).toggleClass(ke).trigger(p.Event(Ae.SHOWN,n))}}}},e.show=function show(){if(!(this._element.disabled||p(this._element).hasClass(De)||p(this._menu).hasClass(ke))){var e={relatedTarget:this._element},t=p.Event(Ae.SHOW,e),n=Dropdown._getParentFromElement(this._element);p(n).trigger(t),t.isDefaultPrevented()||(p(this._menu).toggleClass(ke),p(n).toggleClass(ke).trigger(p.Event(Ae.SHOWN,e)))}},e.hide=function hide(){if(!this._element.disabled&&!p(this._element).hasClass(De)&&p(this._menu).hasClass(ke)){var e={relatedTarget:this._element},t=p.Event(Ae.HIDE,e),n=Dropdown._getParentFromElement(this._element);p(n).trigger(t),t.isDefaultPrevented()||(p(this._menu).toggleClass(ke),p(n).toggleClass(ke).trigger(p.Event(Ae.HIDDEN,e)))}},e.dispose=function dispose(){p.removeData(this._element,we),p(this._element).off(Te),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function update(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function _addEventListeners(){var t=this;p(this._element).on(Ae.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function _getConfig(e){return e=_objectSpread({},this.constructor.Default,p(this._element).data(),e),g.typeCheckConfig(Ce,e,this.constructor.DefaultType),e},e._getMenuElement=function _getMenuElement(){if(!this._menu){var e=Dropdown._getParentFromElement(this._element);e&&(this._menu=e.querySelector(Me))}return this._menu},e._getPlacement=function _getPlacement(){var e=p(this._element.parentNode),t=ze;return e.hasClass(Ne)?(t=qe,p(this._menu).hasClass(Pe)&&(t=We)):e.hasClass(Ie)?t=Be:e.hasClass(je)?t=$e:p(this._menu).hasClass(Pe)&&(t=Ue),t},e._detectNavbar=function _detectNavbar(){return 0<p(this._element).closest(".navbar").length},e._getOffset=function _getOffset(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=_objectSpread({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._getPopperConfig=function _getPopperConfig(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},Dropdown._jQueryInterface=function _jQueryInterface(t){return this.each(function(){var e=p(this).data(we);if(e||(e=new Dropdown(this,"object"==typeof t?t:null),p(this).data(we,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},Dropdown._clearMenus=function _clearMenus(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var t=[].slice.call(document.querySelectorAll(Oe)),n=0,i=t.length;n<i;n++){var r=Dropdown._getParentFromElement(t[n]),o=p(t[n]).data(we),s={relatedTarget:t[n]};if(e&&"click"===e.type&&(s.clickEvent=e),o){var a=o._menu;if(p(r).hasClass(ke)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&p.contains(r,e.target))){var l=p.Event(Ae.HIDE,s);p(r).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),t[n].setAttribute("aria-expanded","false"),p(a).removeClass(ke),p(r).removeClass(ke).trigger(p.Event(Ae.HIDDEN,s)))}}}},Dropdown._getParentFromElement=function _getParentFromElement(e){var t,n=g.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},Dropdown._dataApiKeydownHandler=function _dataApiKeydownHandler(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||p(e.target).closest(Me).length)):Se.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!p(this).hasClass(De))){var t=Dropdown._getParentFromElement(this),n=p(t).hasClass(ke);if(n&&(!n||27!==e.which&&32!==e.which)){var i=[].slice.call(t.querySelectorAll(Re));if(0!==i.length){var r=i.indexOf(e.target);38===e.which&&0<r&&r--,40===e.which&&r<i.length-1&&r++,r<0&&(r=0),i[r].focus()}}else{if(27===e.which){var o=t.querySelector(Oe);p(o).trigger("focus")}p(this).trigger("click")}}},_createClass(Dropdown,null,[{key:"VERSION",get:function get(){return"4.3.1"}},{key:"Default",get:function get(){return Qe}},{key:"DefaultType",get:function get(){return Ke}}]),Dropdown}();p(document).on(Ae.KEYDOWN_DATA_API,Oe,Ve._dataApiKeydownHandler).on(Ae.KEYDOWN_DATA_API,Me,Ve._dataApiKeydownHandler).on(Ae.CLICK_DATA_API+" "+Ae.KEYUP_DATA_API,Ve._clearMenus).on(Ae.CLICK_DATA_API,Oe,function(e){e.preventDefault(),e.stopPropagation(),Ve._jQueryInterface.call(p(this),"toggle")}).on(Ae.CLICK_DATA_API,He,function(e){e.stopPropagation()}),p.fn[Ce]=Ve._jQueryInterface,p.fn[Ce].Constructor=Ve,p.fn[Ce].noConflict=function(){return p.fn[Ce]=Ee,Ve._jQueryInterface};var Xe="modal",Ye="bs.modal",Ge="."+Ye,Je=p.fn[Xe],Ze={backdrop:!0,keyboard:!0,focus:!0,show:!0},et={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},tt={HIDE:"hide"+Ge,HIDDEN:"hidden"+Ge,SHOW:"show"+Ge,SHOWN:"shown"+Ge,FOCUSIN:"focusin"+Ge,RESIZE:"resize"+Ge,CLICK_DISMISS:"click.dismiss"+Ge,KEYDOWN_DISMISS:"keydown.dismiss"+Ge,MOUSEUP_DISMISS:"mouseup.dismiss"+Ge,MOUSEDOWN_DISMISS:"mousedown.dismiss"+Ge,CLICK_DATA_API:"click"+Ge+".data-api"},nt="modal-dialog-scrollable",it="modal-scrollbar-measure",rt="modal-backdrop",ot="modal-open",st="fade",at="show",lt=".modal-dialog",ct=".modal-body",ut='[data-toggle="modal"]',dt='[data-dismiss="modal"]',ht=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ft=".sticky-top",pt=function(){function Modal(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(lt),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=Modal.prototype;return e.toggle=function toggle(e){return this._isShown?this.hide():this.show(e)},e.show=function show(e){var t=this;if(!this._isShown&&!this._isTransitioning){p(this._element).hasClass(st)&&(this._isTransitioning=!0);var n=p.Event(tt.SHOW,{relatedTarget:e});p(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),p(this._element).on(tt.CLICK_DISMISS,dt,function(e){return t.hide(e)}),p(this._dialog).on(tt.MOUSEDOWN_DISMISS,function(){p(t._element).one(tt.MOUSEUP_DISMISS,function(e){p(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(e)}))}},e.hide=function hide(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var n=p.Event(tt.HIDE);if(p(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=p(this._element).hasClass(st);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),p(document).off(tt.FOCUSIN),p(this._element).removeClass(at),p(this._element).off(tt.CLICK_DISMISS),p(this._dialog).off(tt.MOUSEDOWN_DISMISS),i){var r=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(r)}else this._hideModal()}}},e.dispose=function dispose(){[window,this._element,this._dialog].forEach(function(e){return p(e).off(Ge)}),p(document).off(tt.FOCUSIN),p.removeData(this._element,Ye),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function handleUpdate(){this._adjustDialog()},e._getConfig=function _getConfig(e){return e=_objectSpread({},Ze,e),g.typeCheckConfig(Xe,e,et),e},e._showElement=function _showElement(e){var t=this,n=p(this._element).hasClass(st);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),p(this._dialog).hasClass(nt)?this._dialog.querySelector(ct).scrollTop=0:this._element.scrollTop=0,n&&g.reflow(this._element),p(this._element).addClass(at),this._config.focus&&this._enforceFocus();var i=p.Event(tt.SHOWN,{relatedTarget:e}),r=function transitionComplete(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,p(t._element).trigger(i)};if(n){var o=g.getTransitionDurationFromElement(this._dialog);p(this._dialog).one(g.TRANSITION_END,r).emulateTransitionEnd(o)}else r()},e._enforceFocus=function _enforceFocus(){var t=this;p(document).off(tt.FOCUSIN).on(tt.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===p(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function _setEscapeEvent(){var t=this;this._isShown&&this._config.keyboard?p(this._element).on(tt.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||p(this._element).off(tt.KEYDOWN_DISMISS)},e._setResizeEvent=function _setResizeEvent(){var t=this;this._isShown?p(window).on(tt.RESIZE,function(e){return t.handleUpdate(e)}):p(window).off(tt.RESIZE)},e._hideModal=function _hideModal(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){p(document.body).removeClass(ot),e._resetAdjustments(),e._resetScrollbar(),p(e._element).trigger(tt.HIDDEN)})},e._removeBackdrop=function _removeBackdrop(){this._backdrop&&(p(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function _showBackdrop(e){var t=this,n=p(this._element).hasClass(st)?st:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=rt,n&&this._backdrop.classList.add(n),p(this._backdrop).appendTo(document.body),p(this._element).on(tt.CLICK_DISMISS,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())}),n&&g.reflow(this._backdrop),p(this._backdrop).addClass(at),!e)return;if(!n)return void e();var i=g.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(g.TRANSITION_END,e).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){p(this._backdrop).removeClass(at);var r=function callbackRemove(){t._removeBackdrop(),e&&e()};if(p(this._element).hasClass(st)){var o=g.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(g.TRANSITION_END,r).emulateTransitionEnd(o)}else r()}else e&&e()},e._adjustDialog=function _adjustDialog(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function _resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function _checkScrollbar(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function _setScrollbar(){var r=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(ht)),t=[].slice.call(document.querySelectorAll(ft));p(e).each(function(e,t){var n=t.style.paddingRight,i=p(t).css("padding-right");p(t).data("padding-right",n).css("padding-right",parseFloat(i)+r._scrollbarWidth+"px")}),p(t).each(function(e,t){var n=t.style.marginRight,i=p(t).css("margin-right");p(t).data("margin-right",n).css("margin-right",parseFloat(i)-r._scrollbarWidth+"px")});var n=document.body.style.paddingRight,i=p(document.body).css("padding-right");p(document.body).data("padding-right",n).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px")}p(document.body).addClass(ot)},e._resetScrollbar=function _resetScrollbar(){var e=[].slice.call(document.querySelectorAll(ht));p(e).each(function(e,t){var n=p(t).data("padding-right");p(t).removeData("padding-right"),t.style.paddingRight=n||""});var t=[].slice.call(document.querySelectorAll(""+ft));p(t).each(function(e,t){var n=p(t).data("margin-right");void 0!==n&&p(t).css("margin-right",n).removeData("margin-right")});var n=p(document.body).data("padding-right");p(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},e._getScrollbarWidth=function _getScrollbarWidth(){var e=document.createElement("div");e.className=it,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},Modal._jQueryInterface=function _jQueryInterface(n,i){return this.each(function(){var e=p(this).data(Ye),t=_objectSpread({},Ze,p(this).data(),"object"==typeof n&&n?n:{});if(e||(e=new Modal(this,t),p(this).data(Ye,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](i)}else t.show&&e.show(i)})},_createClass(Modal,null,[{key:"VERSION",get:function get(){return"4.3.1"}},{key:"Default",get:function get(){return Ze}}]),Modal}();p(document).on(tt.CLICK_DATA_API,ut,function(e){var t,n=this,i=g.getSelectorFromElement(this);i&&(t=document.querySelector(i));var r=p(t).data(Ye)?"toggle":_objectSpread({},p(t).data(),p(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var o=p(t).one(tt.SHOW,function(e){e.isDefaultPrevented()||o.one(tt.HIDDEN,function(){p(n).is(":visible")&&n.focus()})});pt._jQueryInterface.call(p(t),r,this)}),p.fn[Xe]=pt._jQueryInterface,p.fn[Xe].Constructor=pt,p.fn[Xe].noConflict=function(){return p.fn[Xe]=Je,pt._jQueryInterface};var gt=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],mt={"*":["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","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},vt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,yt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function sanitizeHtml(e,s,t){if(0===e.length)return e;if(t&&"function"==typeof t)return t(e);for(var n=(new window.DOMParser).parseFromString(e,"text/html"),a=Object.keys(s),l=[].slice.call(n.body.querySelectorAll("*")),i=function _loop(e,t){var n=l[e],i=n.nodeName.toLowerCase();if(-1===a.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var r=[].slice.call(n.attributes),o=[].concat(s["*"]||[],s[i]||[]);r.forEach(function(e){(function allowedAttribute(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===gt.indexOf(n)||Boolean(e.nodeValue.match(vt)||e.nodeValue.match(yt));for(var i=t.filter(function(e){return e instanceof RegExp}),r=0,o=i.length;r<o;r++)if(n.match(i[r]))return!0;return!1})(e,o)||n.removeAttribute(e.nodeName)})},r=0,o=l.length;r<o;r++)i(r);return n.body.innerHTML}var _t="tooltip",bt="bs.tooltip",Ct="."+bt,wt=p.fn[_t],Tt="bs-tooltip",xt=new RegExp("(^|\\s)"+Tt+"\\S+","g"),Et=["sanitize","whiteList","sanitizeFn"],St={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},At={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Dt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:mt},kt="show",Nt="out",It={HIDE:"hide"+Ct,HIDDEN:"hidden"+Ct,SHOW:"show"+Ct,SHOWN:"shown"+Ct,INSERTED:"inserted"+Ct,CLICK:"click"+Ct,FOCUSIN:"focusin"+Ct,FOCUSOUT:"focusout"+Ct,MOUSEENTER:"mouseenter"+Ct,MOUSELEAVE:"mouseleave"+Ct},jt="fade",Pt="show",Lt=".tooltip-inner",Ot=".arrow",Ht="hover",Mt="focus",Ft="click",Rt="manual",qt=function(){function Tooltip(e,t){if(void 0===d)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var e=Tooltip.prototype;return e.enable=function enable(){this._isEnabled=!0},e.disable=function disable(){this._isEnabled=!1},e.toggleEnabled=function toggleEnabled(){this._isEnabled=!this._isEnabled},e.toggle=function toggle(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=p(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(p(this.getTipElement()).hasClass(Pt))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function dispose(){clearTimeout(this._timeout),p.removeData(this.element,this.constructor.DATA_KEY),p(this.element).off(this.constructor.EVENT_KEY),p(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&p(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function show(){var t=this;if("none"===p(this.element).css("display"))throw new Error("Please use show on visible elements");var e=p.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){p(this.element).trigger(e);var n=g.findShadowRoot(this.element),i=p.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!i)return;var r=this.getTipElement(),o=g.getUID(this.constructor.NAME);r.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&p(r).addClass(jt);var s="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();p(r).data(this.constructor.DATA_KEY,this),p.contains(this.element.ownerDocument.documentElement,this.tip)||p(r).appendTo(l),p(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new d(this.element,r,{placement:a,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Ot},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function onCreate(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function onUpdate(e){return t._handlePopperPlacementChange(e)}}),p(r).addClass(Pt),"ontouchstart"in document.documentElement&&p(document.body).children().on("mouseover",null,p.noop);var c=function complete(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,p(t.element).trigger(t.constructor.Event.SHOWN),e===Nt&&t._leave(null,t)};if(p(this.tip).hasClass(jt)){var u=g.getTransitionDurationFromElement(this.tip);p(this.tip).one(g.TRANSITION_END,c).emulateTransitionEnd(u)}else c()}},e.hide=function hide(e){var t=this,n=this.getTipElement(),i=p.Event(this.constructor.Event.HIDE),r=function complete(){t._hoverState!==kt&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),p(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(p(this.element).trigger(i),!i.isDefaultPrevented()){if(p(n).removeClass(Pt),"ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),this._activeTrigger[Ft]=!1,this._activeTrigger[Mt]=!1,this._activeTrigger[Ht]=!1,p(this.tip).hasClass(jt)){var o=g.getTransitionDurationFromElement(n);p(n).one(g.TRANSITION_END,r).emulateTransitionEnd(o)}else r();this._hoverState=""}},e.update=function update(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function isWithContent(){return Boolean(this.getTitle())},e.addAttachmentClass=function addAttachmentClass(e){p(this.getTipElement()).addClass(Tt+"-"+e)},e.getTipElement=function getTipElement(){return this.tip=this.tip||p(this.config.template)[0],this.tip},e.setContent=function setContent(){var e=this.getTipElement();this.setElementContent(p(e.querySelectorAll(Lt)),this.getTitle()),p(e).removeClass(jt+" "+Pt)},e.setElementContent=function setElementContent(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=sanitizeHtml(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?p(t).parent().is(e)||e.empty().append(t):e.text(p(t).text())},e.getTitle=function getTitle(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},e._getOffset=function _getOffset(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=_objectSpread({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function _getContainer(){return!1===this.config.container?document.body:g.isElement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},e._getAttachment=function _getAttachment(e){return At[e.toUpperCase()]},e._setListeners=function _setListeners(){var i=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)p(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(e){return i.toggle(e)});else if(e!==Rt){var t=e===Ht?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=e===Ht?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;p(i.element).on(t,i.config.selector,function(e){return i._enter(e)}).on(n,i.config.selector,function(e){return i._leave(e)})}}),p(this.element).closest(".modal").on("hide.bs.modal",function(){i.element&&i.hide()}),this.config.selector?this.config=_objectSpread({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function _fixTitle(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function _enter(e,t){var n=this.constructor.DATA_KEY;(t=t||p(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?Mt:Ht]=!0),p(t.getTipElement()).hasClass(Pt)||t._hoverState===kt?t._hoverState=kt:(clearTimeout(t._timeout),t._hoverState=kt,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===kt&&t.show()},t.config.delay.show):t.show())},e._leave=function _leave(e,t){var n=this.constructor.DATA_KEY;(t=t||p(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),p(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?Mt:Ht]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Nt,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===Nt&&t.hide()},t.config.delay.hide):t.hide())},e._isWithActiveTrigger=function _isWithActiveTrigger(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function _getConfig(e){var t=p(this.element).data();return Object.keys(t).forEach(function(e){-1!==Et.indexOf(e)&&delete t[e]}),"number"==typeof(e=_objectSpread({},this.constructor.Default,t,"object"==typeof e&&e?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()),g.typeCheckConfig(_t,e,this.constructor.DefaultType),e.sanitize&&(e.template=sanitizeHtml(e.template,e.whiteList,e.sanitizeFn)),e},e._getDelegateConfig=function _getDelegateConfig(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},e._cleanTipClass=function _cleanTipClass(){var e=p(this.getTipElement()),t=e.attr("class").match(xt);null!==t&&t.length&&e.removeClass(t.join(""))},e._handlePopperPlacementChange=function _handlePopperPlacementChange(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function _fixTransition(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(p(e).removeClass(jt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},Tooltip._jQueryInterface=function _jQueryInterface(n){return this.each(function(){var e=p(this).data(bt),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new Tooltip(this,t),p(this).data(bt,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},_createClass(Tooltip,null,[{key:"VERSION",get:function get(){return"4.3.1"}},{key:"Default",get:function get(){return Dt}},{key:"NAME",get:function get(){return _t}},{key:"DATA_KEY",get:function get(){return bt}},{key:"Event",get:function get(){return It}},{key:"EVENT_KEY",get:function get(){return Ct}},{key:"DefaultType",get:function get(){return St}}]),Tooltip}();p.fn[_t]=qt._jQueryInterface,p.fn[_t].Constructor=qt,p.fn[_t].noConflict=function(){return p.fn[_t]=wt,qt._jQueryInterface};var Wt="popover",zt="bs.popover",Ut="."+zt,Bt=p.fn[Wt],$t="bs-popover",Qt=new RegExp("(^|\\s)"+$t+"\\S+","g"),Kt=_objectSpread({},qt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Vt=_objectSpread({},qt.DefaultType,{content:"(string|element|function)"}),Xt="fade",Yt="show",Gt=".popover-header",Jt=".popover-body",Zt={HIDE:"hide"+Ut,HIDDEN:"hidden"+Ut,SHOW:"show"+Ut,SHOWN:"shown"+Ut,INSERTED:"inserted"+Ut,CLICK:"click"+Ut,FOCUSIN:"focusin"+Ut,FOCUSOUT:"focusout"+Ut,MOUSEENTER:"mouseenter"+Ut,MOUSELEAVE:"mouseleave"+Ut},en=function(e){function Popover(){return e.apply(this,arguments)||this}!function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(Popover,e);var t=Popover.prototype;return t.isWithContent=function isWithContent(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function addAttachmentClass(e){p(this.getTipElement()).addClass($t+"-"+e)},t.getTipElement=function getTipElement(){return this.tip=this.tip||p(this.config.template)[0],this.tip},t.setContent=function setContent(){var e=p(this.getTipElement());this.setElementContent(e.find(Gt),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(Jt),t),e.removeClass(Xt+" "+Yt)},t._getContent=function _getContent(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function _cleanTipClass(){var e=p(this.getTipElement()),t=e.attr("class").match(Qt);null!==t&&0<t.length&&e.removeClass(t.join(""))},Popover._jQueryInterface=function _jQueryInterface(n){return this.each(function(){var e=p(this).data(zt),t="object"==typeof n?n:null;if((e||!/dispose|hide/.test(n))&&(e||(e=new Popover(this,t),p(this).data(zt,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},_createClass(Popover,null,[{key:"VERSION",get:function get(){return"4.3.1"}},{key:"Default",get:function get(){return Kt}},{key:"NAME",get:function get(){return Wt}},{key:"DATA_KEY",get:function get(){return zt}},{key:"Event",get:function get(){return Zt}},{key:"EVENT_KEY",get:function get(){return Ut}},{key:"DefaultType",get:function get(){return Vt}}]),Popover}(qt);p.fn[Wt]=en._jQueryInterface,p.fn[Wt].Constructor=en,p.fn[Wt].noConflict=function(){return p.fn[Wt]=Bt,en._jQueryInterface};var tn="scrollspy",nn="bs.scrollspy",rn="."+nn,on=p.fn[tn],sn={offset:10,method:"auto",target:""},an={offset:"number",method:"string",target:"(string|element)"},ln={ACTIVATE:"activate"+rn,SCROLL:"scroll"+rn,LOAD_DATA_API:"load"+rn+".data-api"},cn="dropdown-item",un="active",dn='[data-spy="scroll"]',hn=".nav, .list-group",fn=".nav-link",pn=".nav-item",gn=".list-group-item",mn=".dropdown",vn=".dropdown-item",yn=".dropdown-toggle",_n="offset",bn="position",Cn=function(){function ScrollSpy(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+fn+","+this._config.target+" "+gn+","+this._config.target+" "+vn,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,p(this._scrollElement).on(ln.SCROLL,function(e){return n._process(e)}),this.refresh(),this._process()}var e=ScrollSpy.prototype;return e.refresh=function refresh(){var t=this,e=this._scrollElement===this._scrollElement.window?_n:bn,r="auto"===this._config.method?e:this._config.method,o=r===bn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t,n=g.getSelectorFromElement(e);if(n&&(t=document.querySelector(n)),t){var i=t.getBoundingClientRect();if(i.width||i.height)return[p(t)[r]().top+o,n]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function dispose(){p.removeData(this._element,nn),p(this._scrollElement).off(rn),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function _getConfig(e){if("string"!=typeof(e=_objectSpread({},sn,"object"==typeof e&&e?e:{})).target){var t=p(e.target).attr("id");t||(t=g.getUID(tn),p(e.target).attr("id",t)),e.target="#"+t}return g.typeCheckConfig(tn,e,an),e},e._getScrollTop=function _getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function _getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function _getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function _process(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),n<=e){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;){this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&(void 0===this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}}},e._activate=function _activate(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),n=p([].slice.call(document.querySelectorAll(e.join(","))));n.hasClass(cn)?(n.closest(mn).find(yn).addClass(un),n.addClass(un)):(n.addClass(un),n.parents(hn).prev(fn+", "+gn).addClass(un),n.parents(hn).prev(pn).children(fn).addClass(un)),p(this._scrollElement).trigger(ln.ACTIVATE,{relatedTarget:t})},e._clear=function _clear(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(un)}).forEach(function(e){return e.classList.remove(un)})},ScrollSpy._jQueryInterface=function _jQueryInterface(t){return this.each(function(){var e=p(this).data(nn);if(e||(e=new ScrollSpy(this,"object"==typeof t&&t),p(this).data(nn,e)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},_createClass(ScrollSpy,null,[{key:"VERSION",get:function get(){return"4.3.1"}},{key:"Default",get:function get(){return sn}}]),ScrollSpy}();p(window).on(ln.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(dn)),t=e.length;t--;){var n=p(e[t]);Cn._jQueryInterface.call(n,n.data())}}),p.fn[tn]=Cn._jQueryInterface,p.fn[tn].Constructor=Cn,p.fn[tn].noConflict=function(){return p.fn[tn]=on,Cn._jQueryInterface};var wn="bs.tab",Tn="."+wn,xn=p.fn.tab,En={HIDE:"hide"+Tn,HIDDEN:"hidden"+Tn,SHOW:"show"+Tn,SHOWN:"shown"+Tn,CLICK_DATA_API:"click"+Tn+".data-api"},Sn="dropdown-menu",An="active",Dn="disabled",kn="fade",Nn="show",In=".dropdown",jn=".nav, .list-group",Pn=".active",Ln="> li > .active",On='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Hn=".dropdown-toggle",Mn="> .dropdown-menu .active",Fn=function(){function Tab(e){this._element=e}var e=Tab.prototype;return e.show=function show(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&p(this._element).hasClass(An)||p(this._element).hasClass(Dn))){var e,i,t=p(this._element).closest(jn)[0],r=g.getSelectorFromElement(this._element);if(t){var o="UL"===t.nodeName||"OL"===t.nodeName?Ln:Pn;i=(i=p.makeArray(p(t).find(o)))[i.length-1]}var s=p.Event(En.HIDE,{relatedTarget:this._element}),a=p.Event(En.SHOW,{relatedTarget:i});if(i&&p(i).trigger(s),p(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(e=document.querySelector(r)),this._activate(this._element,t);var l=function complete(){var e=p.Event(En.HIDDEN,{relatedTarget:n._element}),t=p.Event(En.SHOWN,{relatedTarget:i});p(i).trigger(e),p(n._element).trigger(t)};e?this._activate(e,e.parentNode,l):l()}}},e.dispose=function dispose(){p.removeData(this._element,wn),this._element=null},e._activate=function _activate(e,t,n){var i=this,r=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?p(t).children(Pn):p(t).find(Ln))[0],o=n&&r&&p(r).hasClass(kn),s=function complete(){return i._transitionComplete(e,r,n)};if(r&&o){var a=g.getTransitionDurationFromElement(r);p(r).removeClass(Nn).one(g.TRANSITION_END,s).emulateTransitionEnd(a)}else s()},e._transitionComplete=function _transitionComplete(e,t,n){if(t){p(t).removeClass(An);var i=p(t.parentNode).find(Mn)[0];i&&p(i).removeClass(An),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(p(e).addClass(An),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),g.reflow(e),e.classList.contains(kn)&&e.classList.add(Nn),e.parentNode&&p(e.parentNode).hasClass(Sn)){var r=p(e).closest(In)[0];if(r){var o=[].slice.call(r.querySelectorAll(Hn));p(o).addClass(An)}e.setAttribute("aria-expanded",!0)}n&&n()},Tab._jQueryInterface=function _jQueryInterface(n){return this.each(function(){var e=p(this),t=e.data(wn);if(t||(t=new Tab(this),e.data(wn,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},_createClass(Tab,null,[{key:"VERSION",get:function get(){return"4.3.1"}}]),Tab}();p(document).on(En.CLICK_DATA_API,On,function(e){e.preventDefault(),Fn._jQueryInterface.call(p(this),"show")}),p.fn.tab=Fn._jQueryInterface,p.fn.tab.Constructor=Fn,p.fn.tab.noConflict=function(){return p.fn.tab=xn,Fn._jQueryInterface};var Rn="toast",qn="bs.toast",Wn="."+qn,zn=p.fn[Rn],Un={CLICK_DISMISS:"click.dismiss"+Wn,HIDE:"hide"+Wn,HIDDEN:"hidden"+Wn,SHOW:"show"+Wn,SHOWN:"shown"+Wn},Bn="fade",$n="hide",Qn="show",Kn="showing",Vn={animation:"boolean",autohide:"boolean",delay:"number"},Xn={animation:!0,autohide:!0,delay:500},Yn='[data-dismiss="toast"]',Gn=function(){function Toast(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var e=Toast.prototype;return e.show=function show(){var e=this;p(this._element).trigger(Un.SHOW),this._config.animation&&this._element.classList.add(Bn);var t=function complete(){e._element.classList.remove(Kn),e._element.classList.add(Qn),p(e._element).trigger(Un.SHOWN),e._config.autohide&&e.hide()};if(this._element.classList.remove($n),this._element.classList.add(Kn),this._config.animation){var n=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,t).emulateTransitionEnd(n)}else t()},e.hide=function hide(e){var t=this;this._element.classList.contains(Qn)&&(p(this._element).trigger(Un.HIDE),e?this._close():this._timeout=setTimeout(function(){t._close()},this._config.delay))},e.dispose=function dispose(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Qn)&&this._element.classList.remove(Qn),p(this._element).off(Un.CLICK_DISMISS),p.removeData(this._element,qn),this._element=null,this._config=null},e._getConfig=function _getConfig(e){return e=_objectSpread({},Xn,p(this._element).data(),"object"==typeof e&&e?e:{}),g.typeCheckConfig(Rn,e,this.constructor.DefaultType),e},e._setListeners=function _setListeners(){var e=this;p(this._element).on(Un.CLICK_DISMISS,Yn,function(){return e.hide(!0)})},e._close=function _close(){var e=this,t=function complete(){e._element.classList.add($n),p(e._element).trigger(Un.HIDDEN)};if(this._element.classList.remove(Qn),this._config.animation){var n=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,t).emulateTransitionEnd(n)}else t()},Toast._jQueryInterface=function _jQueryInterface(n){return this.each(function(){var e=p(this),t=e.data(qn);if(t||(t=new Toast(this,"object"==typeof n&&n),e.data(qn,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](this)}})},_createClass(Toast,null,[{key:"VERSION",get:function get(){return"4.3.1"}},{key:"DefaultType",get:function get(){return Vn}},{key:"Default",get:function get(){return Xn}}]),Toast}();p.fn[Rn]=Gn._jQueryInterface,p.fn[Rn].Constructor=Gn,p.fn[Rn].noConflict=function(){return p.fn[Rn]=zn,Gn._jQueryInterface},function(){if(void 0===p)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=p.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),e.Util=g,e.Alert=u,e.Button=D,e.Carousel=re,e.Collapse=be,e.Dropdown=Ve,e.Modal=pt,e.Popover=en,e.Scrollspy=Cn,e.Tab=Fn,e.Toast=Gn,e.Tooltip=qt,Object.defineProperty(e,"__esModule",{value:!0})}),function(o,s,a){var e,t=function(){for(var e=new RegExp("audio(.min)?.js.*"),t=document.getElementsByTagName("script"),n=0,i=t.length;n<i;n++){var r=t[n].getAttribute("src");if(e.test(r)){var o=r.split("/");return o.pop(),o.join("/")+"/"}}return""}();a[o]={instanceCount:0,instances:{},flashSource:'        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="$1" width="1" height="1" name="$1" style="position: absolute; left: -1px;">           <param name="movie" value="$2?playerInstance='+o+'.instances[\'$1\']&datetime=$3">           <param name="allowscriptaccess" value="always">           <embed name="$1" src="$2?playerInstance='+o+'.instances[\'$1\']&datetime=$3" width="1" height="1" allowscriptaccess="always">         </object>',settings:{autoplay:!1,loop:!1,preload:!0,imageLocation:t+"player-graphics.gif",retinaImageLocation:t+"player-graphics@2x.gif",swfLocation:t+"audiojs.swf",useFlash:(e=document.createElement("audio"),!(e.canPlayType&&e.canPlayType("audio/mpeg;").replace(/no/,""))),hasFlash:function(){if(navigator.plugins&&navigator.plugins.length&&navigator.plugins["Shockwave Flash"])return!0;if(navigator.mimeTypes&&navigator.mimeTypes.length){var e=navigator.mimeTypes["application/x-shockwave-flash"];return e&&e.enabledPlugin}try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash");return!0}catch(e){}return!1}(),createPlayer:{markup:'            <div class="play-pause">               <p class="play"></p>               <p class="pause"></p>               <p class="loading"></p>               <p class="error"></p>             </div>             <div class="scrubber">               <div class="progress"></div>               <div class="loaded"></div>             </div>             <div class="time">               <em class="played">00:00</em>/<strong class="duration">00:00</strong>             </div>             <div class="error-message"></div>',playPauseClass:"play-pause",scrubberClass:"scrubber",progressClass:"progress",loaderClass:"loaded",timeClass:"time",durationClass:"duration",playedClass:"played",errorMessageClass:"error-message",playingClass:"playing",loadingClass:"loading",errorClass:"error"},css:'          .audiojs audio { position: absolute; left: -1px; }           .audiojs { width: 460px; height: 36px; background: #404040; overflow: hidden; font-family: monospace; font-size: 12px;             background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #444), color-stop(0.5, #555), color-stop(0.51, #444), color-stop(1, #444));             background-image: -moz-linear-gradient(center top, #444 0%, #555 50%, #444 51%, #444 100%);             -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);             -o-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); }           .audiojs .play-pause { width: 25px; height: 40px; padding: 4px 6px; margin: 0px; float: left; overflow: hidden; border-right: 1px solid #000; }           .audiojs p { display: none; width: 25px; height: 40px; margin: 0px; cursor: pointer; }           .audiojs .play { display: block; }           .audiojs .scrubber { position: relative; float: left; width: 280px; background: #5a5a5a; height: 14px; margin: 10px; border-top: 1px solid #3f3f3f; border-left: 0px; border-bottom: 0px; overflow: hidden; }           .audiojs .progress { position: absolute; top: 0px; left: 0px; height: 14px; width: 0px; background: #ccc; z-index: 1;             background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ccc), color-stop(0.5, #ddd), color-stop(0.51, #ccc), color-stop(1, #ccc));             background-image: -moz-linear-gradient(center top, #ccc 0%, #ddd 50%, #ccc 51%, #ccc 100%); }           .audiojs .loaded { position: absolute; top: 0px; left: 0px; height: 14px; width: 0px; background: #000;             background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #222), color-stop(0.5, #333), color-stop(0.51, #222), color-stop(1, #222));             background-image: -moz-linear-gradient(center top, #222 0%, #333 50%, #222 51%, #222 100%); }           .audiojs .time { float: left; height: 36px; line-height: 36px; margin: 0px 0px 0px 6px; padding: 0px 6px 0px 12px; border-left: 1px solid #000; color: #ddd; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5); }           .audiojs .time em { padding: 0px 2px 0px 0px; color: #f9f9f9; font-style: normal; }           .audiojs .time strong { padding: 0px 0px 0px 2px; font-weight: normal; }           .audiojs .error-message { float: left; display: none; margin: 0px 10px; height: 36px; width: 400px; overflow: hidden; line-height: 36px; white-space: nowrap; color: #fff;             text-overflow: ellipsis; -o-text-overflow: ellipsis; -icab-text-overflow: ellipsis; -khtml-text-overflow: ellipsis; -moz-text-overflow: ellipsis; -webkit-text-overflow: ellipsis; }           .audiojs .error-message a { color: #eee; text-decoration: none; padding-bottom: 1px; border-bottom: 1px solid #999; white-space: wrap; }                     .audiojs .play { background: url("$1") -2px -1px no-repeat; }           .audiojs .loading { background: url("$1") -2px -31px no-repeat; }           .audiojs .error { background: url("$1") -2px -61px no-repeat; }           .audiojs .pause { background: url("$1") -2px -91px no-repeat; }                     @media only screen and (-webkit-min-device-pixel-ratio: 2),             only screen and (min--moz-device-pixel-ratio: 2),             only screen and (min-moz-device-pixel-ratio: 2),             only screen and (-o-min-device-pixel-ratio: 2/1),             only screen and (min-device-pixel-ratio: 2) {               .audiojs .play, .audiojs .loading, .audiojs .error, .audiojs .pause {                 background-image: url("$2");                 -webkit-background-size: 30px 120px;                 -moz-background-size: 30px 120px;                 -o-background-size: 30px 120px;                 background-size: 30px 120px;               }           }                     .playing .play, .playing .loading, .playing .error { display: none; }           .playing .pause { display: block; }                     .loading .play, .loading .pause, .loading .error { display: none; }           .loading .loading { display: block; }                     .error .time, .error .play, .error .pause, .error .scrubber, .error .loading { display: none; }           .error .error { display: block; }           .error .play-pause p { cursor: auto; }           .error .error-message { display: block; }',trackEnded:function(e){},flashError:function(){var e=this.settings.createPlayer,t=l(e.errorMessageClass,this.wrapper),n='Missing <a href="http://get.adobe.com/flashplayer/">flash player</a> plugin.';this.mp3&&(n+=' <a href="'+this.mp3+'">Download audio file</a>.'),a[o].helpers.removeClass(this.wrapper,e.loadingClass),a[o].helpers.addClass(this.wrapper,e.errorClass),t.innerHTML=n},loadError:function(e){var t=this.settings.createPlayer,n=l(t.errorMessageClass,this.wrapper);a[o].helpers.removeClass(this.wrapper,t.loadingClass),a[o].helpers.addClass(this.wrapper,t.errorClass),n.innerHTML='Error loading: "'+this.mp3+'"'},init:function(){var e=this.settings.createPlayer;a[o].helpers.addClass(this.wrapper,e.loadingClass)},loadStarted:function(){var e=this.settings.createPlayer,t=l(e.durationClass,this.wrapper),n=Math.floor(this.duration/60),i=Math.floor(this.duration%60);a[o].helpers.removeClass(this.wrapper,e.loadingClass),t.innerHTML=(n<10?"0":"")+n+":"+(i<10?"0":"")+i},loadProgress:function(e){var t=this.settings.createPlayer;l(t.loaderClass,this.wrapper).style.width=Math.round(100*e)+"%"},playPause:function(){this.playing?this.settings.play():this.settings.pause()},play:function(){var e=this.settings.createPlayer;a[o].helpers.removeClass(this.wrapper,e.errorClass),a[o].helpers.addClass(this.wrapper,e.playingClass)},pause:function(){var e=this.settings.createPlayer;a[o].helpers.removeClass(this.wrapper,e.playingClass)},updatePlayhead:function(e){var t=this.settings.createPlayer;l(t.progressClass,this.wrapper).style.width=Math.round(100*e)+"%";var n=l(t.playedClass,this.wrapper),i=this.duration*e,r=Math.floor(i/60),o=Math.floor(i%60);n.innerHTML=(r<10?"0":"")+r+":"+(o<10?"0":"")+o}},create:function(e,t){t=t||{};return e.length?this.createAll(t,e):this.newInstance(e,t)},createAll:function(e,t){var n=t||document.getElementsByTagName("audio"),i=[];e=e||{};for(var r=0,o=n.length;r<o;r++)-1<(" "+n[r].parentNode.className+" ").replace(/[\n\t]/g," ").indexOf(" audiojs ")||i.push(this.newInstance(n[r],e));return i},newInstance:function(e,t){e=e;var n=this.helpers.clone(this.settings),i="audiojs"+this.instanceCount,r="audiojs_wrapper"+this.instanceCount;this.instanceCount++;null!=e.getAttribute("autoplay")&&(n.autoplay=!0),null!=e.getAttribute("loop")&&(n.loop=!0),"none"==e.getAttribute("preload")&&(n.preload=!1),t&&this.helpers.merge(n,t),n.createPlayer.markup?e=this.createPlayer(e,n.createPlayer,r):e.parentNode.setAttribute("id",r);var o=new a[s](e,n);return n.css&&this.helpers.injectCss(o,n.css),n.useFlash&&n.hasFlash?(this.injectFlash(o,i),this.attachFlashEvents(o.wrapper,o)):n.useFlash&&!n.hasFlash&&n.flashError.apply(o),(!n.useFlash||n.useFlash&&n.hasFlash)&&this.attachEvents(o.wrapper,o),this.instances[i]=o},createPlayer:function(e,t,n){var i=document.createElement("div"),r=e.cloneNode(!0);return i.setAttribute("class","audiojs"),i.setAttribute("className","audiojs"),i.setAttribute("id",n),r.outerHTML&&!document.createElement("audio").canPlayType?(r=this.helpers.cloneHtml5Node(e),i.innerHTML=t.markup,i.appendChild(r),e.outerHTML=i.outerHTML,i=document.getElementById(n)):(i.appendChild(r),i.innerHTML=i.innerHTML+t.markup,e.parentNode.replaceChild(i,e)),i.getElementsByTagName("audio")[0]},attachEvents:function(e,n){if(n.settings.createPlayer){var t=n.settings.createPlayer,i=l(t.playPauseClass,e),r=l(t.scrubberClass,e);a[o].events.addListener(i,"click",function(e){n.playPause.apply(n)}),a[o].events.addListener(r,"click",function(e){var t=e.clientX-this.getBoundingClientRect().left;n.skipTo(t/r.offsetWidth)}),n.settings.useFlash||(a[o].events.trackLoadProgress(n),a[o].events.addListener(n.element,"timeupdate",function(e){n.updatePlayhead.apply(n)}),a[o].events.addListener(n.element,"ended",function(e){n.trackEnded.apply(n)}),a[o].events.addListener(n.source,"error",function(e){clearInterval(n.readyTimer),clearInterval(n.loadTimer),n.settings.loadError.apply(n)}))}},attachFlashEvents:function(e,n){n.swfReady=!1,n.load=function(e){n.mp3=e,n.swfReady&&n.element.load(e)},n.loadProgress=function(e,t){n.loadedPercent=e,n.duration=t,n.settings.loadStarted.apply(n),n.settings.loadProgress.apply(n,[e])},n.skipTo=function(e){e>n.loadedPercent||(n.updatePlayhead.call(n,[e]),n.element.skipTo(e))},n.updatePlayhead=function(e){n.settings.updatePlayhead.apply(n,[e])},n.play=function(){n.settings.preload||(n.settings.preload=!0,n.element.init(n.mp3)),n.playing=!0,n.element.pplay(),n.settings.play.apply(n)},n.pause=function(){n.playing=!1,n.element.ppause(),n.settings.pause.apply(n)},n.setVolume=function(e){n.element.setVolume(e)},n.loadStarted=function(){n.swfReady=!0,n.settings.preload&&n.element.init(n.mp3),n.settings.autoplay&&n.play.apply(n)}},injectFlash:function(e,t){var n=this.flashSource.replace(/\$1/g,t);n=(n=n.replace(/\$2/g,e.settings.swfLocation)).replace(/\$3/g,+new Date+Math.random());var i=e.wrapper.innerHTML,r=document.createElement("div");r.innerHTML=n+i,e.wrapper.innerHTML=r.innerHTML,e.element=this.helpers.getSwf(t)},helpers:{merge:function(e,t){for(attr in t)(e.hasOwnProperty(attr)||t.hasOwnProperty(attr))&&(e[attr]=t[attr])},clone:function(e){if(null==e||"object"!=typeof e)return e;var t=new e.constructor;for(var n in e)t[n]=arguments.callee(e[n]);return t},addClass:function(e,t){new RegExp("(\\s|^)"+t+"(\\s|$)").test(e.className)||(e.className+=" "+t)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")},injectCss:function(e,t){var n="",i=document.getElementsByTagName("style"),r=t.replace(/\$1/g,e.settings.imageLocation);r=r.replace(/\$2/g,e.settings.retinaImageLocation);for(var o=0,s=i.length;o<s;o++){var a=i[o].getAttribute("title");if(a&&~a.indexOf("audiojs")){if((u=i[o]).innerHTML===r)return;n=u.innerHTML;break}}var l=document.getElementsByTagName("head")[0],c=l.firstChild,u=document.createElement("style");l&&(u.setAttribute("type","text/css"),u.setAttribute("title","audiojs"),u.styleSheet?u.styleSheet.cssText=n+r:u.appendChild(document.createTextNode(n+r)),c?l.insertBefore(u,c):l.appendChild(u))},cloneHtml5Node:function(e){var t=document.createDocumentFragment(),n=t.createElement?t:document;n.createElement("audio");var i=n.createElement("div");return t.appendChild(i),i.innerHTML=e.outerHTML,i.firstChild},getSwf:function(e){var t=document[e]||window[e];return 1<t.length?t[t.length-1]:t}},events:{memoryLeaking:!1,listeners:[],addListener:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&(this.listeners.push(e),this.memoryLeaking||(window.attachEvent("onunload",function(){if(this.listeners)for(var e=0,t=this.listeners.length;e<t;e++)a[o].events.purge(this.listeners[e])}),this.memoryLeaking=!0),e.attachEvent("on"+t,function(){n.call(e,window.event)}))},trackLoadProgress:function(e){if(e.settings.preload){e=e;var t,n,i=/(ipod|iphone|ipad)/i.test(navigator.userAgent);t=setInterval(function(){-1<e.element.readyState&&(i||e.init.apply(e)),1<e.element.readyState&&(e.settings.autoplay&&e.play.apply(e),clearInterval(t),n=setInterval(function(){e.loadProgress.apply(e),1<=e.loadedPercent&&clearInterval(n)},200))},200),e.readyTimer=t,e.loadTimer=n}},purge:function(e){var t,n=e.attributes;if(n)for(t=0;t<n.length;t+=1)"function"==typeof e[n[t].name]&&(e[n[t].name]=null);if(n=e.childNodes)for(t=0;t<n.length;t+=1)purge(e.childNodes[t])},ready:function(t){var n=window,i=!1,e=!0,r=n.document,o=r.documentElement,s=r.addEventListener?"addEventListener":"attachEvent",a=r.addEventListener?"removeEventListener":"detachEvent",l=r.addEventListener?"":"on",c=function(e){"readystatechange"==e.type&&"complete"!=r.readyState||(("load"==e.type?n:r)[a](l+e.type,c,!1),!i&&(i=!0)&&t.call(n,e.type||e))},u=function(){try{o.doScroll("left")}catch(e){return void setTimeout(u,50)}c("poll")};if("complete"==r.readyState)t.call(n,"lazy");else{if(r.createEventObject&&o.doScroll){try{e=!n.frameElement}catch(e){}e&&u()}r[s](l+"DOMContentLoaded",c,!1),r[s](l+"readystatechange",c,!1),n[s](l+"load",c,!1)}}}},a[s]=function(e,t){var n,i;this.element=e,this.wrapper=e.parentNode,this.source=e.getElementsByTagName("source")[0]||e,this.mp3=(i=(n=e).getElementsByTagName("source")[0],n.getAttribute("src")||(i?i.getAttribute("src"):null)),this.settings=t,this.loadStartedCalled=!1,this.loadedPercent=0,this.duration=1,this.playing=!1},a[s].prototype={updatePlayhead:function(){var e=this.element.currentTime/this.duration;this.settings.updatePlayhead.apply(this,[e])},skipTo:function(e){e>this.loadedPercent||(this.element.currentTime=this.duration*e,this.updatePlayhead())},load:function(e){this.loadStartedCalled=!1,this.source.setAttribute("src",e),this.element.load(),this.mp3=e,a[o].events.trackLoadProgress(this)},loadError:function(){this.settings.loadError.apply(this)},init:function(){this.settings.init.apply(this)},loadStarted:function(){if(!this.element.duration)return!1;this.duration=this.element.duration,this.updatePlayhead(),this.settings.loadStarted.apply(this)},loadProgress:function(){if(null!=this.element.buffered&&this.element.buffered.length){this.loadStartedCalled||(this.loadStartedCalled=this.loadStarted());var e=this.element.buffered.end(this.element.buffered.length-1);this.loadedPercent=e/this.duration,this.settings.loadProgress.apply(this,[this.loadedPercent])}},playPause:function(){this.playing?this.pause():this.play()},play:function(){/(ipod|iphone|ipad)/i.test(navigator.userAgent)&&0==this.element.readyState&&this.init.apply(this),this.settings.preload||(this.settings.preload=!0,this.element.setAttribute("preload","auto"),a[o].events.trackLoadProgress(this)),this.playing=!0,this.element.play(),this.settings.play.apply(this)},pause:function(){this.playing=!1,this.element.pause(),this.settings.pause.apply(this)},setVolume:function(e){this.element.volume=e},trackEnded:function(e){this.skipTo.apply(this,[0]),this.settings.loop||this.pause.apply(this),this.settings.trackEnded.apply(this)}};var l=function(e,t){var n=[];if((t=t||document).getElementsByClassName)n=t.getElementsByClassName(e);else{var i,r,o=t.getElementsByTagName("*"),s=new RegExp("(^|\\s)"+e+"(\\s|$)");for(i=0,r=o.length;i<r;i++)s.test(o[i].className)&&n.push(o[i])}return 1<n.length?n:n[0]}}("audiojs","audiojsInstance",this),function(o,s,e){var a="JSSocials",n=function(e,t){return s.isFunction(e)?e.apply(t,s.makeArray(arguments).slice(2)):e},i=/(\.(jpeg|png|gif|bmp|svg)$|^data:image\/(jpeg|png|gif|bmp|svg\+xml);base64)/i,t=/(&?[a-zA-Z0-9]+=)?\{([a-zA-Z0-9]+)\}/g,r={G:1e9,M:1e6,K:1e3},l={};function Socials(e,t){var n=s(e);n.data(a,this),this._$element=n,this.shares=[],this._init(t),this._render()}Socials.prototype={url:"",text:"",shareIn:"blank",showLabel:function(e){return!1===this.showCount?e>this.smallScreenWidth:e>=this.largeScreenWidth},showCount:function(e){return!(e<=this.smallScreenWidth)||"inside"},smallScreenWidth:640,largeScreenWidth:1024,resizeTimeout:200,elementClass:"jssocials",sharesClass:"jssocials-shares",shareClass:"jssocials-share",shareButtonClass:"jssocials-share-button",shareLinkClass:"jssocials-share-link",shareLogoClass:"jssocials-share-logo",shareLabelClass:"jssocials-share-label",shareLinkCountClass:"jssocials-share-link-count",shareCountBoxClass:"jssocials-share-count-box",shareCountClass:"jssocials-share-count",shareZeroCountClass:"jssocials-share-no-count",_init:function(e){this._initDefaults(),s.extend(this,e),this._initShares(),this._attachWindowResizeCallback()},_initDefaults:function(){this.url=o.location.href,this.text=s.trim(s("meta[name=description]").attr("content")||s("title").text())},_initShares:function(){this.shares=s.map(this.shares,s.proxy(function(e){"string"==typeof e&&(e={share:e});var t=e.share&&l[e.share];if(!t&&!e.renderer)throw Error("Share '"+e.share+"' is not found");return s.extend({url:this.url,text:this.text},t,e)},this))},_attachWindowResizeCallback:function(){s(o).on("resize",s.proxy(this._windowResizeHandler,this))},_detachWindowResizeCallback:function(){s(o).off("resize",this._windowResizeHandler)},_windowResizeHandler:function(){(s.isFunction(this.showLabel)||s.isFunction(this.showCount))&&(o.clearTimeout(this._resizeTimer),this._resizeTimer=setTimeout(s.proxy(this.refresh,this),this.resizeTimeout))},_render:function(){this._clear(),this._defineOptionsByScreen(),this._$element.addClass(this.elementClass),this._$shares=s("<div>").addClass(this.sharesClass).appendTo(this._$element),this._renderShares()},_defineOptionsByScreen:function(){this._screenWidth=s(o).width(),this._showLabel=n(this.showLabel,this,this._screenWidth),this._showCount=n(this.showCount,this,this._screenWidth)},_renderShares:function(){s.each(this.shares,s.proxy(function(e,t){this._renderShare(t)},this))},_renderShare:function(e){(s.isFunction(e.renderer)?s(e.renderer()):this._createShare(e)).addClass(this.shareClass).addClass(e.share?"jssocials-share-"+e.share:"").addClass(e.css).appendTo(this._$shares)},_createShare:function(e){var t=s("<div>"),n=this._createShareLink(e).appendTo(t);if(this._showCount){var i="inside"===this._showCount,r=i?n:s("<div>").addClass(this.shareCountBoxClass).appendTo(t);r.addClass(i?this.shareLinkCountClass:this.shareCountBoxClass),this._renderShareCount(e,r)}return t},_createShareLink:function(n){var i=this._getShareStrategy(n).call(n,{shareUrl:this._getShareUrl(n)});return i.addClass(this.shareLinkClass).append(this._createShareLogo(n)),this._showLabel&&i.append(this._createShareLabel(n)),s.each(this.on||{},function(e,t){s.isFunction(t)&&i.on(e,s.proxy(t,n))}),i},_getShareStrategy:function(e){var t=c[e.shareIn||this.shareIn];if(!t)throw Error("Share strategy '"+this.shareIn+"' not found");return t},_getShareUrl:function(e){var t=n(e.shareUrl,e);return this._formatShareUrl(t,e)},_createShareLogo:function(e){var t=e.logo,n=i.test(t)?s("<img>").attr("src",e.logo):s("<i>").addClass(t);return n.addClass(this.shareLogoClass),n},_createShareLabel:function(e){return s("<span>").addClass(this.shareLabelClass).text(e.label)},_renderShareCount:function(e,t){var n=s("<span>").addClass(this.shareCountClass);t.addClass(this.shareZeroCountClass).append(n),this._loadCount(e).done(s.proxy(function(e){e&&(t.removeClass(this.shareZeroCountClass),n.text(e))},this))},_loadCount:function(t){var n=s.Deferred(),e=this._getCountUrl(t);if(!e)return n.resolve(0).promise();var i=s.proxy(function(e){n.resolve(this._getCountValue(e,t))},this);return s.getJSON(e).done(i).fail(function(){s.get(e).done(i).fail(function(){n.resolve(0)})}),n.promise()},_getCountUrl:function(e){var t=n(e.countUrl,e);return this._formatShareUrl(t,e)},_getCountValue:function(e,t){var n=(s.isFunction(t.getCount)?t.getCount(e):e)||0;return"string"==typeof n?n:this._formatNumber(n)},_formatNumber:function(n){return s.each(r,function(e,t){if(t<=n)return n=parseFloat((n/t).toFixed(2))+e,!1}),n},_formatShareUrl:function(e,r){return e.replace(t,function(e,t,n){var i=r[n]||"";return i?(t||"")+o.encodeURIComponent(i):""})},_clear:function(){o.clearTimeout(this._resizeTimer),this._$element.empty()},_passOptionToShares:function(n,i){var r=this.shares;s.each(["url","text"],function(e,t){t===n&&s.each(r,function(e,t){t[n]=i})})},_normalizeShare:function(t){return s.isNumeric(t)?this.shares[t]:"string"==typeof t?s.grep(this.shares,function(e){return e.share===t})[0]:t},refresh:function(){this._render()},destroy:function(){this._clear(),this._detachWindowResizeCallback(),this._$element.removeClass(this.elementClass).removeData(a)},option:function(e,t){if(1===arguments.length)return this[e];this[e]=t,this._passOptionToShares(e,t),this.refresh()},shareOption:function(e,t,n){if(e=this._normalizeShare(e),2===arguments.length)return e[t];e[t]=n,this.refresh()}},s.fn.jsSocials=function(i){var r=s.makeArray(arguments).slice(1),o=this;return this.each(function(){var e,t=s(this),n=t.data(a);if(n)if("string"==typeof i){if(void 0!==(e=n[i].apply(n,r))&&e!==n)return o=e,!1}else n._detachWindowResizeCallback(),n._init(i),n._render();else new Socials(t,i)}),o};var c={popup:function(e){return s("<a>").attr("href","#").on("click",function(){return o.open(e.shareUrl,null,"width=600, height=400, location=0, menubar=0, resizeable=0, scrollbars=0, status=0, titlebar=0, toolbar=0"),!1})},blank:function(e){return s("<a>").attr({target:"_blank",href:e.shareUrl})},self:function(e){return s("<a>").attr({target:"_self",href:e.shareUrl})}};o.jsSocials={Socials:Socials,shares:l,shareStrategies:c,setDefaults:function(e){var t;s.isPlainObject(e)?t=Socials.prototype:(t=l[e],e=arguments[1]||{}),s.extend(t,e)}}}(window,jQuery),function(e,t,n,i){t.extend(n.shares,{email:{label:"E-mail",logo:"fa fa-at",shareUrl:"mailto:{to}?subject={text}&body={url}",countUrl:"",shareIn:"self"},twitter:{label:"Tweet",logo:"fa fa-twitter",shareUrl:"https://twitter.com/share?url={url}&text={text}&via={via}&hashtags={hashtags}",countUrl:""},facebook:{label:"Like",logo:"fa fa-facebook",shareUrl:"https://facebook.com/sharer/sharer.php?u={url}",countUrl:"https://graph.facebook.com/?id={url}",getCount:function(e){return e.share&&e.share.share_count||0}},vkontakte:{label:"Like",logo:"fa fa-vk",shareUrl:"https://vk.com/share.php?url={url}&title={title}&description={text}",countUrl:"https://vk.com/share.php?act=count&index=1&url={url}",getCount:function(e){return parseInt(e.slice(15,-2).split(", ")[1])}},googleplus:{label:"+1",logo:"fa fa-google",shareUrl:"https://plus.google.com/share?url={url}",countUrl:""},linkedin:{label:"Share",logo:"fa fa-linkedin",shareUrl:"https://www.linkedin.com/shareArticle?mini=true&url={url}",countUrl:"https://www.linkedin.com/countserv/count/share?format=jsonp&url={url}&callback=?",getCount:function(e){return e.count}},pinterest:{label:"Pin it",logo:"fa fa-pinterest",shareUrl:"https://pinterest.com/pin/create/bookmarklet/?media={media}&url={url}&description={text}",countUrl:"https://api.pinterest.com/v1/urls/count.json?&url={url}&callback=?",getCount:function(e){return e.count}},stumbleupon:{label:"Share",logo:"fa fa-stumbleupon",shareUrl:"http://www.stumbleupon.com/submit?url={url}&title={title}",countUrl:"https://cors-anywhere.herokuapp.com/https://www.stumbleupon.com/services/1.01/badge.getinfo?url={url}",getCount:function(e){return e.result&&e.result.views}},telegram:{label:"Telegram",logo:"fa fa-telegram",shareUrl:"tg://msg?text={url} {text}",countUrl:"",shareIn:"self"},whatsapp:{label:"WhatsApp",logo:"fa fa-whatsapp",shareUrl:"whatsapp://send?text={url} {text}",countUrl:"",shareIn:"self"},line:{label:"LINE",logo:"fa fa-comment",shareUrl:"http://line.me/R/msg/text/?{text} {url}",countUrl:""},viber:{label:"Viber",logo:"fa fa-volume-control-phone",shareUrl:"viber://forward?text={url} {text}",countUrl:"",shareIn:"self"},pocket:{label:"Pocket",logo:"fa fa-get-pocket",shareUrl:"https://getpocket.com/save?url={url}&title={title}",countUrl:""},messenger:{label:"Share",logo:"fa fa-commenting",shareUrl:"fb-messenger://share?link={url}",countUrl:"",shareIn:"self"},rss:{label:"RSS",logo:"fa fa-rss",shareUrl:"/feeds/",countUrl:"",shareIn:"blank"}})}(window,jQuery,window.jsSocials);
//# sourceMappingURL=castanet-min.js.map