text: function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}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 _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}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 _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 _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}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 _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}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 _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}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 _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}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 _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}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 _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 _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(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(w,e){"use strict";function m(e,t,n){var i,r,o=(n=n||le).createElement("script");if(o.text=e,t)for(i in Te)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function g(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?he[me.call(e)]||"object":typeof e}function a(e){var t=!!e&&"length"in e&&e.length,n=g(e);return!_e(e)&&!Ee(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function u(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function t(e,n,i){return _e(n)?we.grep(e,function(e,t){return!!n.call(e,t,e)!==i}):n.nodeType?we.grep(e,function(e){return e===n!==i}):"string"!=typeof n?we.grep(e,function(e){return-1<pe.call(n,e)!==i}):we.filter(n,e,i)}function n(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var n={};return we.each(e.match(je)||[],function(e,t){n[t]=!0}),n}function f(e){return e}function d(e){throw e}function l(e,t,n,i){var r;try{e&&_e(r=e.promise)?r.call(e).done(t).fail(n):e&&_e(r=e.then)?r.call(e,t,n):t.apply(undefined,[e].slice(i))}catch(e){n.apply(undefined,[e])}}function i(){le.removeEventListener("DOMContentLoaded",i),w.removeEventListener("load",i),we.ready()}function r(e,t){return t.toUpperCase()}function p(e){return e.replace(We,"ms-").replace(Ue,r)}function o(){this.expando=we.expando+o.uid++}function s(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ve.test(e)?JSON.parse(e):e)}function h(e,t,n){var i;if(n===undefined&&1===e.nodeType)if(i="data-"+t.replace(Ge,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=s(n)}catch(r){}Be.set(e,t,n)}else n=undefined;return n}function v(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return we.css(e,t,"")},l=a(),u=n&&n[3]||(we.cssNumber[t]?"":"px"),c=e.nodeType&&(we.cssNumber[t]||"px"!==u&&+l)&&$e.exec(we.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)we.style(e,t,c+u),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),c/=o;c*=2,we.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function y(e){var t,n=e.ownerDocument,i=e.nodeName,r=et[i];return r||(t=n.body.appendChild(n.createElement(i)),r=we.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),et[i]=r)}function b(e,t){for(var n,i,r=[],o=0,s=e.length;o<s;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(r[o]=qe.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&Je(i)&&(r[o]=y(i))):"none"!==n&&(r[o]="none",qe.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}function _(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],t===undefined||t&&u(e,t)?we.merge([e],n):n}function E(e,t){for(var n=0,i=e.length;n<i;n++)qe.set(e[n],"globalEval",!t||qe.get(t[n],"globalEval"))}function T(e,t,n,i,r){for(var o,s,a,l,u,c,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===g(o))we.merge(d,o.nodeType?[o]:o);else if(at.test(o)){for(s=s||f.appendChild(t.createElement("div")),a=(nt.exec(o)||["",""])[1].toLowerCase(),l=rt[a]||rt._default,s.innerHTML=l[1]+we.htmlPrefilter(o)+l[2],c=l[0];c--;)s=s.lastChild;we.merge(d,s.childNodes),(s=f.firstChild).textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",p=0;o=d[p++];)if(i&&-1<we.inArray(o,i))r&&r.push(o);else if(u=Xe(o),s=_(f.appendChild(o),"script"),u&&E(s),n)for(c=0;o=s[c++];)it.test(o.type||"")&&n.push(o);return f}function C(){return!0}function S(){return!1}function A(e,t){return e===x()==("focus"===t)}function x(){try{return le.activeElement}catch(e){}}function D(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=undefined),t)D(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=undefined):null==r&&("string"==typeof n?(r=i,i=undefined):(r=i,i=n,n=undefined)),!1===r)r=S;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return we().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=we.guid++)),e.each(function(){we.event.add(this,t,r,i,n)})}function O(e,r,o){o?(qe.set(e,r,!1),we.event.add(e,r,{namespace:!1,handler:function(e){var t,n,i=qe.get(this,r);if(1&e.isTrigger&&this[r]){if(i.length)(we.event.special[r]||{}).delegateType&&e.stopPropagation();else if(i=ce.call(arguments),qe.set(this,r,i),t=o(this,r),this[r](),i!==(n=qe.get(this,r))||t?qe.set(this,r,!1):n={},i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else i.length&&(qe.set(this,r,{value:we.event.trigger(we.extend(i[0],we.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):qe.get(e,r)===undefined&&we.event.add(e,r,C)}function I(e,t){return u(e,"table")&&u(11!==t.nodeType?t:t.firstChild,"tr")&&we(e).children("tbody")[0]||e}function N(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function k(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function L(e,t){var n,i,r,o,s,a,l,u;if(1===t.nodeType){if(qe.hasData(e)&&(o=qe.access(e),s=qe.set(t,o),u=o.events))for(r in delete s.handle,s.events={},u)for(n=0,i=u[r].length;n<i;n++)we.event.add(t,r,u[r][n]);Be.hasData(e)&&(a=Be.access(e),l=we.extend({},a),Be.set(t,l))}}function P(e,t){var n=t.nodeName.toLowerCase();"input"===n&&tt.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function j(n,i,r,o){i=fe.apply([],i);var e,t,s,a,l,u,c=0,f=n.length,d=f-1,p=i[0],h=_e(p);if(h||1<f&&"string"==typeof p&&!be.checkClone&&pt.test(p))return n.each(function(e){var t=n.eq(e);h&&(i[0]=p.call(this,e,t.html())),j(t,i,r,o)});if(f&&(t=(e=T(i,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(a=(s=we.map(_(e,"script"),N)).length;c<f;c++)l=e,c!==d&&(l=we.clone(l,!0,!0),a&&we.merge(s,_(l,"script"))),r.call(n[c],l,c);if(a)for(u=s[s.length-1].ownerDocument,we.map(s,k),c=0;c<a;c++)l=s[c],it.test(l.type||"")&&!qe.access(l,"globalEval")&&we.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?we._evalUrl&&!l.noModule&&we._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")}):m(l.textContent.replace(ht,""),l,u))}return n}function R(e,t,n){for(var i,r=t?we.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||we.cleanData(_(i)),i.parentNode&&(n&&Xe(i)&&E(_(i,"script")),i.parentNode.removeChild(i));return e}function H(e,t,n){var i,r,o,s,a=e.style;return(n=n||gt(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||Xe(e)||(s=we.style(e,t)),!be.pixelBoxStyles()&&mt.test(s)&&vt.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)),s!==undefined?s+"":s}function M(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function W(e){for(var t=e[0].toUpperCase()+e.slice(1),n=yt.length;n--;)if((e=yt[n]+t)in bt)return e}function U(e){var t=we.cssProps[e]||_t[e];return t||(e in bt?e:_t[e]=W(e)||e)}function F(e,t,n){var i=$e.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function q(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+=we.css(e,n+Qe[s],!0,r)),i?("content"===n&&(l-=we.css(e,"padding"+Qe[s],!0,r)),"margin"!==n&&(l-=we.css(e,"border"+Qe[s]+"Width",!0,r))):(l+=we.css(e,"padding"+Qe[s],!0,r),"padding"!==n?l+=we.css(e,"border"+Qe[s]+"Width",!0,r):a+=we.css(e,"border"+Qe[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 B(e,t,n){var i=gt(e),r=(!be.boxSizingReliable()||n)&&"border-box"===we.css(e,"boxSizing",!1,i),o=r,s=H(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(mt.test(s)){if(!n)return s;s="auto"}return(!be.boxSizingReliable()&&r||"auto"===s||!parseFloat(s)&&"inline"===we.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===we.css(e,"boxSizing",!1,i),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+q(e,t,n||(r?"border":"content"),o,i,s)+"px"}function V(e,t,n,i,r){return new V.prototype.init(e,t,n,i,r)}function G(){At&&(!1===le.hidden&&w.requestAnimationFrame?w.requestAnimationFrame(G):w.setTimeout(G,we.fx.interval),we.fx.tick())}function K(){return w.setTimeout(function(){St=undefined}),St=Date.now()}function $(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=Qe[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function Q(e,t,n){for(var i,r=(z.tweeners[t]||[]).concat(z.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function Y(e,t,n){var i,r,o,s,a,l,u,c,f="width"in t||"height"in t,d=this,p={},h=e.style,m=e.nodeType&&Je(e),g=qe.get(e,"fxshow");for(i in n.queue||(null==(s=we._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,we.queue(e,"fx").length||s.empty.fire()})})),t)if(r=t[i],Ot.test(r)){if(delete t[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||g[i]===undefined)continue;m=!0}p[i]=g&&g[i]||we.style(e,i)}if((l=!we.isEmptyObject(t))||!we.isEmptyObject(p))for(i in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=g&&g.display)&&(u=qe.get(e,"display")),"none"===(c=we.css(e,"display"))&&(u?c=u:(b([e],!0),u=e.style.display||u,c=we.css(e,"display"),b([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===we.css(e,"float")&&(l||(d.done(function(){h.display=u}),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=qe.access(e,"fxshow",{display:u}),o&&(g.hidden=!m),m&&b([e],!0),d.done(function(){for(i in m||b([e]),qe.remove(e,"fxshow"),p)we.style(e,i,p[i])})),l=Q(m?g[i]:0,i,d),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}function X(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=p(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=we.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}function z(o,e,t){var n,s,i=0,r=z.prefilters.length,a=we.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var e=St||K(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),i=0,r=u.tweens.length;i<r;i++)u.tweens[i].run(n);return a.notifyWith(o,[u,n,t]),n<1&&r?t:(r||a.notifyWith(o,[u,1,0]),a.resolveWith(o,[u]),!1)},u=a.promise({elem:o,props:we.extend({},e),opts:we.extend(!0,{specialEasing:{},easing:we.easing._default},t),originalProperties:e,originalOptions:t,startTime:St||K(),duration:t.duration,tweens:[],createTween:function(e,t){var n=we.Tween(o,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(s)return this;for(s=!0;t<n;t++)u.tweens[t].run(1);return e?(a.notifyWith(o,[u,1,0]),a.resolveWith(o,[u,e])):a.rejectWith(o,[u,e]),this}}),c=u.props;for(X(c,u.opts.specialEasing);i<r;i++)if(n=z.prefilters[i].call(u,o,c,u.opts))return _e(n.stop)&&(we._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return we.map(c,Q,u),_e(u.opts.start)&&u.opts.start.call(o,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),we.fx.timer(we.extend(l,{elem:o,anim:u,queue:u.opts.queue})),u}function J(e){return(e.match(je)||[]).join(" ")}function Z(e){return e.getAttribute&&e.getAttribute("class")||""}function ee(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(je)||[]}function te(n,e,i,r){var t;if(Array.isArray(e))we.each(e,function(e,t){i||Ft.test(n)?r(n,t):te(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,r)});else if(i||"object"!==g(e))r(n,e);else for(t in e)te(n+"["+t+"]",e[t],i,r)}function ne(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,r=e.toLowerCase().match(je)||[];if(_e(t))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function ie(t,r,o,s){function a(e){var i;return l[e]=!0,we.each(t[e]||[],function(e,t){var n=t(r,o,s);return"string"!=typeof n||u||l[n]?u?!(i=n):void 0:(r.dataTypes.unshift(n),a(n),!1)}),i}var l={},u=t===Zt;return a(r.dataTypes[0])||!l["*"]&&a("*")}function re(e,t){var n,i,r=we.ajaxSettings.flatOptions||{};for(n in t)t[n]!==undefined&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&we.extend(!0,e,i),e}function oe(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),i===undefined&&(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]}function se(e,t,n,i){var r,o,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=u[l+" "+o]||u["* "+o]))for(r in u)if((a=r.split(" "))[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[r]:!0!==u[r]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e["throws"])t=s(t);else try{t=s(t)}catch(f){return{state:"parsererror",error:s?f:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}var ae=[],le=w.document,ue=Object.getPrototypeOf,ce=ae.slice,fe=ae.concat,de=ae.push,pe=ae.indexOf,he={},me=he.toString,ge=he.hasOwnProperty,ve=ge.toString,ye=ve.call(Object),be={},_e=function _e(e){return"function"==typeof e&&"number"!=typeof e.nodeType},Ee=function Ee(e){return null!=e&&e===e.window},Te={type:!0,src:!0,nonce:!0,noModule:!0},Ce="3.4.1",we=function(e,t){return new we.fn.init(e,t)},Se=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;we.fn=we.prototype={jquery:Ce,constructor:we,length:0,toArray:function(){return ce.call(this)},get:function(e){return null==e?ce.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=we.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return we.each(this,e)},map:function(n){return this.pushStack(we.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ce.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:de,sort:ae.sort,splice:ae.splice},we.extend=we.fn.extend=function(e){var t,n,i,r,o,s,a=e||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[l]||{},l++),"object"==typeof a||_e(a)||(a={}),l===u&&(a=this,l--);l<u;l++)if(null!=(t=arguments[l]))for(n in t)r=t[n],"__proto__"!==n&&a!==r&&(c&&r&&(we.isPlainObject(r)||(o=Array.isArray(r)))?(i=a[n],s=o&&!Array.isArray(i)?[]:o||we.isPlainObject(i)?i:{},o=!1,a[n]=we.extend(c,s,r)):r!==undefined&&(a[n]=r));return a},we.extend({expando:"jQuery"+(Ce+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]"!==me.call(e))&&(!(t=ue(e))||"function"==typeof(n=ge.call(t,"constructor")&&t.constructor)&&ve.call(n)===ye)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){m(e,{nonce:t&&t.nonce})},each:function(e,t){var n,i=0;if(a(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(Se,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?we.merge(n,"string"==typeof e?[e]:e):de.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:pe.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(a(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 fe.apply([],s)},guid:1,support:be}),"function"==typeof Symbol&&(we.fn[Symbol.iterator]=ae[Symbol.iterator]),we.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){he["[object "+t+"]"]=t.toLowerCase()});var Ae=function(n){function _(e,t,n,i){var r,o,s,a,l,u,c,f=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!i&&((t?t.ownerDocument||t:F)!==L&&k(t),t=t||L,j)){if(11!==d&&(l=be.exec(e)))if(r=l[1]){if(9===d){if(!(s=t.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(f&&(s=f.getElementById(r))&&W(t,s)&&s.id===r)return n.push(s),n}else{if(l[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&&T.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(r)),n}if(T.qsa&&!$[e+" "]&&(!R||!R.test(e))&&(1!==d||"object"!==t.nodeName.toLowerCase())){if(c=e,f=t,1===d&&fe.test(e)){for((a=t.getAttribute("id"))?a=a.replace(Ce,we):t.setAttribute("id",a=U),o=(u=A(e)).length;o--;)u[o]="#"+a+" "+m(u[o]);c=u.join(","),f=_e.test(e)&&h(t.parentNode)||t}try{return Z.apply(n,f.querySelectorAll(c)),n}catch(p){$(e,!0)}finally{a===U&&t.removeAttribute("id")}}}return D(e.replace(le,"$1"),t,n,i)}function e(){function n(e,t){return i.push(e+" ")>C.cacheLength&&delete n[i.shift()],n[e+" "]=t}var i=[];return n}function l(e){return e[U]=!0,e}function r(e){var t=L.createElement("fieldset");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function t(e,t){for(var n=e.split("|"),i=n.length;i--;)C.attrHandle[n[i]]=t}function u(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 i(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function o(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function s(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&&Ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function a(s){return l(function(o){return o=+o,l(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 h(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function c(){}function m(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function f(a,e,t){var l=e.dir,u=e.next,c=u||l,f=t&&"parentNode"===c,d=B++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||f)return a(e,t,n);return!1}:function(e,t,n){var i,r,o,s=[q,d];if(n){for(;e=e[l];)if((1===e.nodeType||f)&&a(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||f)if(r=(o=e[U]||(e[U]={}))[e.uniqueID]||(o[e.uniqueID]={}),u&&u===e.nodeName.toLowerCase())e=e[l]||e;else{if((i=r[c])&&i[0]===q&&i[1]===d)return s[2]=i[2];if((r[c]=s)[2]=a(e,t,n))return!0}return!1}}function d(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 y(e,t,n){for(var i=0,r=t.length;i<r;i++)_(e,t[i],n);return n}function E(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),u&&t.push(a)));return s}function b(p,h,m,g,v,e){return g&&!g[U]&&(g=b(g)),v&&!v[U]&&(v=b(v,e)),l(function(e,t,n,i){var r,o,s,a=[],l=[],u=t.length,c=e||y(h||"*",n.nodeType?[n]:n,[]),f=!p||!e&&h?c:E(c,a,p,n,i),d=m?v||(e?p:u||g)?[]:t:f;if(m&&m(f,d,n,i),g)for(r=E(d,l),g(r,[],n,i),o=r.length;o--;)(s=r[o])&&(d[l[o]]=!(f[l[o]]=s));if(e){if(v||p){if(v){for(r=[],o=d.length;o--;)(s=d[o])&&r.push(f[o]=s);v(null,d=[],r,i)}for(o=d.length;o--;)(s=d[o])&&-1<(r=v?te(e,s):a[o])&&(e[r]=!(t[r]=s))}}else d=E(d===t?d.splice(u,d.length):d),v?v(null,t,d,i):Z.apply(t,d)})}function p(e){for(var r,t,n,i=e.length,o=C.relative[e[0].type],s=o||C.relative[" "],a=o?1:0,l=f(function(e){return e===r},s,!0),u=f(function(e){return-1<te(r,e)},s,!0),c=[function(e,t,n){var i=!o&&(n||t!==O)||((r=t).nodeType?l(e,t,n):u(e,t,n));return r=null,i}];a<i;a++)if(t=C.relative[e[a].type])c=[f(d(c),t)];else{if((t=C.filter[e[a].type].apply(null,e[a].matches))[U]){for(n=++a;n<i&&!C.relative[e[n].type];n++);return b(1<a&&d(c),1<a&&m(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(le,"$1"),t,a<n&&p(e.slice(a,n)),n<i&&p(e=e.slice(n)),n<i&&m(e))}c.push(t)}return d(c)}function g(g,v){var y=0<v.length,b=0<g.length,e=function(e,t,n,i,r){var o,s,a,l=0,u="0",c=e&&[],f=[],d=O,p=e||b&&C.find.TAG("*",r),h=q+=null==d?1:Math.random()||.1,m=p.length;for(r&&(O=t===L||t||r);u!==m&&null!=(o=p[u]);u++){if(b&&o){for(s=0,t||o.ownerDocument===L||(k(o),n=!j);a=g[s++];)if(a(o,t||L,n)){i.push(o);break}r&&(q=h)}y&&((o=!a&&o)&&l--,e&&c.push(o))}if(l+=u,y&&u!==l){for(s=0;a=v[s++];)a(c,f,t,n);if(e){if(0<l)for(;u--;)c[u]||f[u]||(f[u]=z.call(i));f=E(f)}Z.apply(i,f),r&&!e&&0<f.length&&1<l+v.length&&_.uniqueSort(i)}return r&&(q=h,O=d),c};return y?l(e):e}var v,T,C,w,S,A,x,D,O,I,N,k,L,P,j,R,H,M,W,U="sizzle"+1*new Date,F=n.document,q=0,B=0,V=e(),G=e(),K=e(),$=e(),Q=function(e,t){return e===t&&(N=!0),0},Y={}.hasOwnProperty,X=[],z=X.pop,J=X.push,Z=X.push,ee=X.slice,te=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ie="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",oe="\\["+ie+"*("+re+")(?:"+ie+"*([*^$|!~]?=)"+ie+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ie+"*\\]",se=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",ae=new RegExp(ie+"+","g"),le=new RegExp("^"+ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ie+"+$","g"),ue=new RegExp("^"+ie+"*,"+ie+"*"),ce=new RegExp("^"+ie+"*([>+~]|"+ie+")"+ie+"*"),fe=new RegExp(ie+"|>"),de=new RegExp(se),pe=new RegExp("^"+re+"$"),he={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+se),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ie+"*(even|odd|(([+-]|)(\\d*)n|)"+ie+"*(?:([+-]|)"+ie+"*(\\d+)|))"+ie+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+ie+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ie+"*((?:-\\d)?\\d*)"+ie+"*\\)|)(?=[^-]|$)","i")},me=/HTML$/i,ge=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ye=/^[^{]+\{\s*\[native \w/,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_e=/[+~]/,Ee=new RegExp("\\\\([\\da-f]{1,6}"+ie+"?|("+ie+")|.)","ig"),Te=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)},Ce=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,we=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Se=function(){k()},Ae=f(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{Z.apply(X=ee.call(F.childNodes),F.childNodes),X[F.childNodes.length].nodeType}catch(xe){Z={apply:X.length?function(e,t){J.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}for(v in T=_.support={},S=_.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!me.test(t||n&&n.nodeName||"HTML")},k=_.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:F;return i!==L&&9===i.nodeType&&i.documentElement&&(P=(L=i).documentElement,j=!S(L),F!==L&&(n=L.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Se,!1):n.attachEvent&&n.attachEvent("onunload",Se)),T.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),T.getElementsByTagName=r(function(e){return e.appendChild(L.createComment("")),!e.getElementsByTagName("*").length}),T.getElementsByClassName=ye.test(L.getElementsByClassName),T.getById=r(function(e){return P.appendChild(e).id=U,!L.getElementsByName||!L.getElementsByName(U).length}),T.getById?(C.filter.ID=function(e){var t=e.replace(Ee,Te);return function(e){return e.getAttribute("id")===t}},C.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&j){var n=t.getElementById(e);return n?[n]:[]}}):(C.filter.ID=function(e){var n=e.replace(Ee,Te);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},C.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&j){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[]}}),C.find.TAG=T.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):T.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},C.find.CLASS=T.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&j)return t.getElementsByClassName(e)},H=[],R=[],(T.qsa=ye.test(L.querySelectorAll))&&(r(function(e){P.appendChild(e).innerHTML="<a id='"+U+"'></a><select id='"+U+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+ie+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+ie+"*(?:value|"+ne+")"),e.querySelectorAll("[id~="+U+"-]").length||R.push("~="),e.querySelectorAll(":checked").length||R.push(":checked"),e.querySelectorAll("a#"+U+"+*").length||R.push(".#.+[+~]")}),r(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=L.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+ie+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&R.push(":enabled",":disabled"),P.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(T.matchesSelector=ye.test(M=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&r(function(e){T.disconnectedMatch=M.call(e,"*"),M.call(e,"[s!='']:x"),H.push("!=",se)}),R=R.length&&new RegExp(R.join("|")),H=H.length&&new RegExp(H.join("|")),t=ye.test(P.compareDocumentPosition),W=t||ye.test(P.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},Q=t?function(e,t){if(e===t)return N=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!T.sortDetached&&t.compareDocumentPosition(e)===n?e===L||e.ownerDocument===F&&W(F,e)?-1:t===L||t.ownerDocument===F&&W(F,t)?1:I?te(I,e)-te(I,t):0:4&n?-1:1)}:function(e,t){if(e===t)return N=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e===L?-1:t===L?1:r?-1:o?1:I?te(I,e)-te(I,t):0;if(r===o)return u(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?u(s[i],a[i]):s[i]===F?-1:a[i]===F?1:0}),L},_.matches=function(e,t){return _(e,null,null,t)},_.matchesSelector=function(e,t){if((e.ownerDocument||e)!==L&&k(e),T.matchesSelector&&j&&!$[t+" "]&&(!H||!H.test(t))&&(!R||!R.test(t)))try{var n=M.call(e,t);if(n||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(xe){$(t,!0)}return 0<_(t,L,null,[e]).length},
  _.contains=function(e,t){return(e.ownerDocument||e)!==L&&k(e),W(e,t)},_.attr=function(e,t){(e.ownerDocument||e)!==L&&k(e);var n=C.attrHandle[t.toLowerCase()],i=n&&Y.call(C.attrHandle,t.toLowerCase())?n(e,t,!j):undefined;return i!==undefined?i:T.attributes||!j?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},_.escape=function(e){return(e+"").replace(Ce,we)},_.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},_.uniqueSort=function(e){var t,n=[],i=0,r=0;if(N=!T.detectDuplicates,I=!T.sortStable&&e.slice(0),e.sort(Q),N){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return I=null,e},w=_.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+=w(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=w(t);return n},(C=_.selectors={cacheLength:50,createPseudo:l,match:he,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(Ee,Te),e[3]=(e[3]||e[4]||e[5]||"").replace(Ee,Te),"~="===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]||_.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]&&_.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=A(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(Ee,Te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=V[e+" "];return t||(t=new RegExp("(^|"+ie+")"+e+"("+ie+"|$)"))&&V(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,r){return function(e){var t=_.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(ae," ")+" ").indexOf(r):"|="===i&&(t===r||t.slice(0,r.length+1)===r+"-"))}},CHILD:function(h,e,t,m,g){var v="nth"!==h.slice(0,3),y="last"!==h.slice(-4),b="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var i,r,o,s,a,l,u=v!==y?"nextSibling":"previousSibling",c=e.parentNode,f=b&&e.nodeName.toLowerCase(),d=!n&&!b,p=!1;if(c){if(v){for(;u;){for(s=e;s=s[u];)if(b?s.nodeName.toLowerCase()===f:1===s.nodeType)return!1;l=u="only"===h&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&d){for(p=(a=(i=(r=(o=(s=c)[U]||(s[U]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===q&&i[1])&&i[2],s=a&&c.childNodes[a];s=++a&&s&&s[u]||(p=a=0)||l.pop();)if(1===s.nodeType&&++p&&s===e){r[h]=[q,a,p];break}}else if(d&&(p=a=(i=(r=(o=(s=e)[U]||(s[U]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===q&&i[1]),!1===p)for(;(s=++a&&s&&s[u]||(p=a=0)||l.pop())&&((b?s.nodeName.toLowerCase()!==f:1!==s.nodeType)||!++p||(d&&((r=(o=s[U]||(s[U]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]=[q,p]),s!==e)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(e,o){var t,s=C.pseudos[e]||C.setFilters[e.toLowerCase()]||_.error("unsupported pseudo: "+e);return s[U]?s(o):1<s.length?(t=[e,e,"",o],C.setFilters.hasOwnProperty(e.toLowerCase())?l(function(e,t){for(var n,i=s(e,o),r=i.length;r--;)e[n=te(e,i[r])]=!(t[n]=i[r])}):function(e){return s(e,0,t)}):s}},pseudos:{not:l(function(e){var i=[],r=[],a=x(e.replace(le,"$1"));return a[U]?l(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:l(function(t){return function(e){return 0<_(t,e).length}}),contains:l(function(t){return t=t.replace(Ee,Te),function(e){return-1<(e.textContent||w(e)).indexOf(t)}}),lang:l(function(n){return pe.test(n||"")||_.error("unsupported lang: "+n),n=n.replace(Ee,Te).toLowerCase(),function(e){var t;do{if(t=j?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===P},focus:function(e){return e===L.activeElement&&(!L.hasFocus||L.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:s(!1),disabled:s(!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!C.pseudos.empty(e)},header:function(e){return ve.test(e.nodeName)},input:function(e){return ge.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:a(function(){return[0]}),last:a(function(e,t){return[t-1]}),eq:a(function(e,t,n){return[n<0?n+t:n]}),even:a(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:a(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:a(function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e}),gt:a(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=C.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[v]=i(v);for(v in{submit:!0,reset:!0})C.pseudos[v]=o(v);return c.prototype=C.filters=C.pseudos,C.setFilters=new c,A=_.tokenize=function(e,t){var n,i,r,o,s,a,l,u=G[e+" "];if(u)return t?0:u.slice(0);for(s=e,a=[],l=C.preFilter;s;){for(o in n&&!(i=ue.exec(s))||(i&&(s=s.slice(i[0].length)||s),a.push(r=[])),n=!1,(i=ce.exec(s))&&(n=i.shift(),r.push({value:n,type:i[0].replace(le," ")}),s=s.slice(n.length)),C.filter)!(i=he[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?_.error(e):G(e,a).slice(0)},x=_.compile=function(e,t){var n,i=[],r=[],o=K[e+" "];if(!o){for(t||(t=A(e)),n=t.length;n--;)(o=p(t[n]))[U]?i.push(o):r.push(o);(o=K(e,g(r,i))).selector=e}return o},D=_.select=function(e,t,n,i){var r,o,s,a,l,u="function"==typeof e&&e,c=!i&&A(e=u.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(s=o[0]).type&&9===t.nodeType&&j&&C.relative[o[1].type]){if(!(t=(C.find.ID(s.matches[0].replace(Ee,Te),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=he.needsContext.test(e)?0:o.length;r--&&(s=o[r],!C.relative[a=s.type]);)if((l=C.find[a])&&(i=l(s.matches[0].replace(Ee,Te),_e.test(o[0].type)&&h(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&m(o)))return Z.apply(n,i),n;break}}return(u||x(e,c))(i,t,!j,n,!t||_e.test(e)&&h(t.parentNode)||t),n},T.sortStable=U.split("").sort(Q).join("")===U,T.detectDuplicates=!!N,k(),T.sortDetached=r(function(e){return 1&e.compareDocumentPosition(L.createElement("fieldset"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||t("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),T.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||t("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||t(ne,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),_}(w);we.find=Ae,we.expr=Ae.selectors,we.expr[":"]=we.expr.pseudos,we.uniqueSort=we.unique=Ae.uniqueSort,we.text=Ae.getText,we.isXMLDoc=Ae.isXML,we.contains=Ae.contains,we.escapeSelector=Ae.escape;var xe=function(e,t,n){for(var i=[],r=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&we(e).is(n))break;i.push(e)}return i},De=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Oe=we.expr.match.needsContext,Ie=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;we.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?we.find.matchesSelector(i,e)?[i]:[]:we.find.matches(e,we.grep(t,function(e){return 1===e.nodeType}))},we.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(we(e).filter(function(){for(t=0;t<i;t++)if(we.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)we.find(e,r[t],n);return 1<i?we.uniqueSort(n):n},filter:function(e){return this.pushStack(t(this,e||[],!1))},not:function(e){return this.pushStack(t(this,e||[],!0))},is:function(e){return!!t(this,"string"==typeof e&&Oe.test(e)?we(e):e||[],!1).length}});var Ne,ke=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(we.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||Ne,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):_e(e)?n.ready!==undefined?n.ready(e):e(we):we.makeArray(e,this);if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:ke.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 we?t[0]:t,we.merge(this,we.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:le,!0)),Ie.test(i[1])&&we.isPlainObject(t))for(i in t)_e(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=le.getElementById(i[2]))&&(this[0]=r,this.length=1),this}).prototype=we.fn,Ne=we(le);var Le=/^(?:parents|prev(?:Until|All))/,Pe={children:!0,contents:!0,next:!0,prev:!0};we.fn.extend({has:function(e){var t=we(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(we.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&we(e);if(!Oe.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&&we.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?we.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?pe.call(we(e),this[0]):pe.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(we.uniqueSort(we.merge(this.get(),we(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),we.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return xe(e,"parentNode")},parentsUntil:function(e,t,n){return xe(e,"parentNode",n)},next:function(e){return n(e,"nextSibling")},prev:function(e){return n(e,"previousSibling")},nextAll:function(e){return xe(e,"nextSibling")},prevAll:function(e){return xe(e,"previousSibling")},nextUntil:function(e,t,n){return xe(e,"nextSibling",n)},prevUntil:function(e,t,n){return xe(e,"previousSibling",n)},siblings:function(e){return De((e.parentNode||{}).firstChild,e)},children:function(e){return De(e.firstChild)},contents:function(e){return"undefined"!=typeof e.contentDocument?e.contentDocument:(u(e,"template")&&(e=e.content||e),we.merge([],e.childNodes))}},function(i,r){we.fn[i]=function(e,t){var n=we.map(this,r,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=we.filter(t,n)),1<this.length&&(Pe[i]||we.uniqueSort(n),Le.test(i)&&n.reverse()),this.pushStack(n)}});var je=/[^\x20\t\r\n\f]+/g;we.Callbacks=function(i){i="string"==typeof i?c(i):we.extend({},i);var r,e,t,n,o=[],s=[],a=-1,l=function(){for(n=n||i.once,t=r=!0;s.length;a=-1)for(e=s.shift();++a<o.length;)!1===o[a].apply(e[0],e[1])&&i.stopOnFalse&&(a=o.length,e=!1);i.memory||(e=!1),r=!1,n&&(o=e?[]:"")},u={add:function(){return o&&(e&&!r&&(a=o.length-1,s.push(e)),function n(e){we.each(e,function(e,t){_e(t)?i.unique&&u.has(t)||o.push(t):t&&t.length&&"string"!==g(t)&&n(t)})}(arguments),e&&!r&&l()),this},remove:function(){return we.each(arguments,function(e,t){for(var n;-1<(n=we.inArray(t,o,n));)o.splice(n,1),n<=a&&a--}),this},has:function(e){return e?-1<we.inArray(e,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return n=s=[],o=e="",this},disabled:function(){return!o},lock:function(){return n=s=[],e||r||(o=e=""),this},locked:function(){return!!n},fireWith:function(e,t){return n||(t=[e,(t=t||[]).slice?t.slice():t],s.push(t),r||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!t}};return u},we.extend({Deferred:function(e){var o=[["notify","progress",we.Callbacks("memory"),we.Callbacks("memory"),2],["resolve","done",we.Callbacks("once memory"),we.Callbacks("once memory"),0,"resolved"],["reject","fail",we.Callbacks("once memory"),we.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 we.Deferred(function(i){we.each(o,function(e,t){var n=_e(r[t[4]])&&r[t[4]];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&_e(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){function u(o,s,a,l){return function(){var n=this,i=arguments,t=function(){var e,t;if(!(o<c)){if((e=a.apply(n,i))===s.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,_e(t)?l?t.call(e,u(c,s,f,l),u(c,s,d,l)):(c++,t.call(e,u(c,s,f,l),u(c,s,d,l),u(c,s,f,s.notifyWith))):(a!==f&&(n=undefined,i=[e]),(l||s.resolveWith)(n,i))}},r=l?t:function(){try{t()}catch(e){we.Deferred.exceptionHook&&we.Deferred.exceptionHook(e,r.stackTrace),c<=o+1&&(a!==d&&(n=undefined,i=[e]),s.rejectWith(n,i))}};o?r():(we.Deferred.getStackHook&&(r.stackTrace=we.Deferred.getStackHook()),w.setTimeout(r))}}var c=0;return we.Deferred(function(e){o[0][3].add(u(0,e,_e(i)?i:f,e.notifyWith)),o[1][3].add(u(0,e,_e(t)?t:f)),o[2][3].add(u(0,e,_e(n)?n:d))}).promise()},promise:function(e){return null!=e?we.extend(e,s):s}},a={};return we.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?undefined: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=ce.call(arguments),o=we.Deferred(),s=function(t){return function(e){i[t]=this,r[t]=1<arguments.length?ce.call(arguments):e,--n||o.resolveWith(i,r)}};if(n<=1&&(l(e,o.done(s(t)).resolve,o.reject,!n),"pending"===o.state()||_e(r[t]&&r[t].then)))return o.then();for(;t--;)l(r[t],s(t),o.reject);return o.promise()}});var Re=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;we.Deferred.exceptionHook=function(e,t){w.console&&w.console.warn&&e&&Re.test(e.name)&&w.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},we.readyException=function(e){w.setTimeout(function(){throw e})};var He=we.Deferred();we.fn.ready=function(e){return He.then(e)["catch"](function(e){we.readyException(e)}),this},we.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--we.readyWait:we.isReady)||(we.isReady=!0)!==e&&0<--we.readyWait||He.resolveWith(le,[we])}}),we.ready.then=He.then,"complete"===le.readyState||"loading"!==le.readyState&&!le.documentElement.doScroll?w.setTimeout(we.ready):(le.addEventListener("DOMContentLoaded",i),w.addEventListener("load",i));var Me=function(e,t,n,i,r,o,s){var a=0,l=e.length,u=null==n;if("object"===g(n))for(a in r=!0,n)Me(e,t,a,n[a],!0,o,s);else if(i!==undefined&&(r=!0,_e(i)||(s=!0),u&&(s?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(we(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:u?t.call(e):l?t(e[0],n):o},We=/^-ms-/,Ue=/-([a-z])/g,Fe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};o.uid=1,o.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Fe(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[p(t)]=n;else for(i in t)r[p(i)]=t[i];return r},get:function(e,t){return t===undefined?this.cache(e):e[this.expando]&&e[this.expando][p(t)]},access:function(e,t,n){return t===undefined||t&&"string"==typeof t&&n===undefined?this.get(e,t):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,i=e[this.expando];if(i!==undefined){if(t!==undefined){n=(t=Array.isArray(t)?t.map(p):(t=p(t))in i?[t]:t.match(je)||[]).length;for(;n--;)delete i[t[n]]}(t===undefined||we.isEmptyObject(i))&&(e.nodeType?e[this.expando]=undefined:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==undefined&&!we.isEmptyObject(t)}};var qe=new o,Be=new o,Ve=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ge=/[A-Z]/g;we.extend({hasData:function(e){return Be.hasData(e)||qe.hasData(e)},data:function(e,t,n){return Be.access(e,t,n)},removeData:function(e,t){Be.remove(e,t)},_data:function(e,t,n){return qe.access(e,t,n)},_removeData:function(e,t){qe.remove(e,t)}}),we.fn.extend({data:function(n,e){var t,i,r,o=this[0],s=o&&o.attributes;if(n!==undefined)return"object"==typeof n?this.each(function(){Be.set(this,n)}):Me(this,function(e){var t;if(o&&e===undefined)return(t=Be.get(o,n))!==undefined?t:(t=h(o,n))!==undefined?t:void 0;this.each(function(){Be.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(r=Be.get(o),1===o.nodeType&&!qe.get(o,"hasDataAttrs"))){for(t=s.length;t--;)s[t]&&0===(i=s[t].name).indexOf("data-")&&(i=p(i.slice(5)),h(o,i,r[i]));qe.set(o,"hasDataAttrs",!0)}return r},removeData:function(e){return this.each(function(){Be.remove(this,e)})}}),we.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=qe.get(e,t),n&&(!i||Array.isArray(n)?i=qe.access(e,t,we.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=we.queue(e,t),i=n.length,r=n.shift(),o=we._queueHooks(e,t),s=function(){we.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return qe.get(e,n)||qe.access(e,n,{empty:we.Callbacks("once memory").add(function(){qe.remove(e,[t+"queue",n])})})}}),we.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?we.queue(this[0],t):n===undefined?this:this.each(function(){var e=we.queue(this,t,n);we._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&we.dequeue(this,t)})},dequeue:function(e){return this.each(function(){we.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=we.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";s--;)(n=qe.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var Ke=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$e=new RegExp("^(?:([+-])=|)("+Ke+")([a-z%]*)$","i"),Qe=["Top","Right","Bottom","Left"],Ye=le.documentElement,Xe=function(e){return we.contains(e.ownerDocument,e)},ze={composed:!0};Ye.getRootNode&&(Xe=function(e){return we.contains(e.ownerDocument,e)||e.getRootNode(ze)===e.ownerDocument});var Je=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&Xe(e)&&"none"===we.css(e,"display")},Ze=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},et={};we.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Je(this)?we(this).show():we(this).hide()})}});var tt=/^(?:checkbox|radio)$/i,nt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,it=/^$|^module$|\/(?:java|ecma)script/i,rt={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,"",""]};rt.optgroup=rt.option,rt.tbody=rt.tfoot=rt.colgroup=rt.caption=rt.thead,rt.th=rt.td;var ot,st,at=/<|&#?\w+;/;ot=le.createDocumentFragment().appendChild(le.createElement("div")),(st=le.createElement("input")).setAttribute("type","radio"),st.setAttribute("checked","checked"),st.setAttribute("name","t"),ot.appendChild(st),be.checkClone=ot.cloneNode(!0).cloneNode(!0).lastChild.checked,ot.innerHTML="<textarea>x</textarea>",be.noCloneChecked=!!ot.cloneNode(!0).lastChild.defaultValue;var lt=/^key/,ut=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ct=/^([^.]*)(?:\.(.+)|)/;we.event={global:{},add:function(t,e,n,i,r){var o,s,a,l,u,c,f,d,p,h,m,g=qe.get(t);if(g)for(n.handler&&(n=(o=n).handler,r=o.selector),r&&we.find.matchesSelector(Ye,r),n.guid||(n.guid=we.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(e){return void 0!==we&&we.event.triggered!==e.type?we.event.dispatch.apply(t,arguments):undefined}),u=(e=(e||"").match(je)||[""]).length;u--;)p=m=(a=ct.exec(e[u])||[])[1],h=(a[2]||"").split(".").sort(),p&&(f=we.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,f=we.event.special[p]||{},c=we.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&we.expr.match.needsContext.test(r),namespace:h.join(".")},o),(d=l[p])||((d=l[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,i,h,s)||t.addEventListener&&t.addEventListener(p,s)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,c):d.push(c),we.event.global[p]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,u,c,f,d,p,h,m,g=qe.hasData(e)&&qe.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(je)||[""]).length;u--;)if(p=m=(a=ct.exec(t[u])||[])[1],h=(a[2]||"").split(".").sort(),p){for(f=we.event.special[p]||{},d=l[p=(i?f.delegateType:f.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)c=d[o],!r&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));s&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,g.handle)||we.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)we.event.remove(e,p+t[u],n,i,!0);we.isEmptyObject(l)&&qe.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=we.event.fix(e),l=new Array(arguments.length),u=(qe.get(this,"events")||{})[a.type]||[],c=we.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,a)){for(s=we.event.handlers.call(this,a,u),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,(i=((we.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,l))!==undefined&&!1===(a.result=i)&&(a.preventDefault(),a.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&1<=e.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],s={},n=0;n<l;n++)s[r=(i=t[n]).selector+" "]===undefined&&(s[r]=i.needsContext?-1<we(r,this).index(u):we.find(r,this,null,[u]).length),s[r]&&o.push(i);o.length&&a.push({elem:u,handlers:o})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(t,e){Object.defineProperty(we.Event.prototype,t,{enumerable:!0,configurable:!0,get:_e(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[we.expando]?e:new we.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return tt.test(t.type)&&t.click&&u(t,"input")&&O(t,"click",C),!1},trigger:function(e){var t=this||e;return tt.test(t.type)&&t.click&&u(t,"input")&&O(t,"click"),!0},_default:function(e){var t=e.target;return tt.test(t.type)&&t.click&&u(t,"input")&&qe.get(t,"click")||u(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},we.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},we.Event=function(e,t){if(!(this instanceof we.Event))return new we.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?C:S,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&&we.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[we.expando]=!0},we.Event.prototype={constructor:we.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=C,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=C,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=C,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},we.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&&lt.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&t!==undefined&&ut.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},we.event.addProp),we.each({focus:"focusin",blur:"focusout"},function(e,t){we.event.special[e]={setup:function(){return O(this,e,A),!1},trigger:function(){return O(this,e),!0},delegateType:t}}),we.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){we.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=this,i=e.relatedTarget,r=e.handleObj;return i&&(i===n||we.contains(n,i))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=o),t}}}),we.fn.extend({on:function(e,t,n,i){return D(this,e,t,n,i)},one:function(e,t,n,i){return D(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,we(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=undefined),!1===n&&(n=S),this.each(function(){we.event.remove(this,e,n,t)});for(r in e)this.off(r,t,e[r]);return this}});var ft=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,dt=/<script|<style|<link/i,pt=/checked\s*(?:[^=]|=\s*.checked.)/i,ht=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;we.extend({htmlPrefilter:function(e){return e.replace(ft,"<$1></$2>")},clone:function(e,t,n){var i,r,o,s,a=e.cloneNode(!0),l=Xe(e);if(!(be.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||we.isXMLDoc(e)))for(s=_(a),i=0,r=(o=_(e)).length;i<r;i++)P(o[i],s[i]);if(t)if(n)for(o=o||_(e),s=s||_(a),i=0,r=o.length;i<r;i++)L(o[i],s[i]);else L(e,a);return 0<(s=_(a,"script")).length&&E(s,!l&&_(e,"script")),a},cleanData:function(e){for(var t,n,i,r=we.event.special,o=0;(n=e[o])!==undefined;o++)if(Fe(n)){if(t=n[qe.expando]){if(t.events)for(i in t.events)r[i]?we.event.remove(n,i):we.removeEvent(n,i,t.handle);n[qe.expando]=undefined}n[Be.expando]&&(n[Be.expando]=undefined)}}}),we.fn.extend({detach:function(e){return R(this,e,!0)},remove:function(e){return R(this,e)},text:function(e){return Me(this,function(e){return e===undefined?we.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 j(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||I(this,e).appendChild(e)})},prepend:function(){return j(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=I(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return j(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return j(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&&(we.cleanData(_(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return we.clone(this,e,t)})},html:function(e){return Me(this,function(e){var t=this[0]||{},n=0,i=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!dt.test(e)&&!rt[(nt.exec(e)||["",""])[1].toLowerCase()]){e=we.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(we.cleanData(_(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return j(this,arguments,function(e){var t=this.parentNode;we.inArray(this,n)<0&&(we.cleanData(_(this)),t&&t.replaceChild(e,this))},n)}}),we.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){we.fn[e]=function(e){for(var t,n=[],i=we(e),r=i.length-1,o=0;o<=r;o++)t=o===r?this:this.clone(!0),we(i[o])[s](t),de.apply(n,t.get());return this.pushStack(n)}});var mt=new RegExp("^("+Ke+")(?!px)[a-z%]+$","i"),gt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=w),t.getComputedStyle(e)},vt=new RegExp(Qe.join("|"),"i");!function(){function e(){if(l){a.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ye.appendChild(a).appendChild(l);var e=w.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),i=36===t(e.width),l.style.position="absolute",r=12===t(l.offsetWidth/3),Ye.removeChild(a),l=null}}function t(e){return Math.round(parseFloat(e))}var n,i,r,o,s,a=le.createElement("div"),l=le.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",be.clearCloneStyle="content-box"===l.style.backgroundClip,we.extend(be,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),r}}))}();var yt=["Webkit","Moz","ms"],bt=le.createElement("div").style,_t={},Et=/^(none|table(?!-c[ea]).+)/,Tt=/^--/,Ct={position:"absolute",visibility:"hidden",display:"block"},wt={letterSpacing:"0",fontWeight:"400"};we.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=H(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=p(t),l=Tt.test(t),u=e.style;if(l||(t=U(a)),s=we.cssHooks[t]||we.cssHooks[a],n===undefined)return s&&"get"in s&&(r=s.get(e,!1,i))!==undefined?r:u[t];"string"===(o=typeof n)&&(r=$e.exec(n))&&r[1]&&(n=v(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(we.cssNumber[a]?"":"px")),be.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&(n=s.set(e,n,i))===undefined||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,o,s,a=p(t);return Tt.test(t)||(t=U(a)),(s=we.cssHooks[t]||we.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),r===undefined&&(r=H(e,t,i)),"normal"===r&&t in wt&&(r=wt[t]),
  ""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),we.each(["height","width"],function(e,l){we.cssHooks[l]={get:function(e,t,n){if(t)return!Et.test(we.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?B(e,l,n):Ze(e,Ct,function(){return B(e,l,n)})},set:function(e,t,n){var i,r=gt(e),o=!be.scrollboxSize()&&"absolute"===r.position,s=(o||n)&&"border-box"===we.css(e,"boxSizing",!1,r),a=n?q(e,l,n,s,r):0;return s&&o&&(a-=Math.ceil(e["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(r[l])-q(e,l,"border",!1,r)-.5)),a&&(i=$e.exec(t))&&"px"!==(i[3]||"px")&&(e.style[l]=t,t=we.css(e,l)),F(e,t,a)}}}),we.cssHooks.marginLeft=M(be.reliableMarginLeft,function(e,t){if(t)return(parseFloat(H(e,"marginLeft"))||e.getBoundingClientRect().left-Ze(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),we.each({margin:"",padding:"",border:"Width"},function(r,o){we.cssHooks[r+o]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[r+Qe[t]+o]=i[t]||i[t-2]||i[0];return n}},"margin"!==r&&(we.cssHooks[r+o].set=F)}),we.fn.extend({css:function(e,t){return Me(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=gt(e),r=t.length;s<r;s++)o[t[s]]=we.css(e,t[s],!1,i);return o}return n!==undefined?we.style(e,t,n):we.css(e,t)},e,t,1<arguments.length)}}),(we.Tween=V).prototype={constructor:V,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||we.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(we.cssNumber[n]?"":"px")},cur:function(){var e=V.propHooks[this.prop];return e&&e.get?e.get(this):V.propHooks._default.get(this)},run:function(e){var t,n=V.propHooks[this.prop];return this.options.duration?this.pos=t=we.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):V.propHooks._default.set(this),this}},V.prototype.init.prototype=V.prototype,V.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=we.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){we.fx.step[e.prop]?we.fx.step[e.prop](e):1!==e.elem.nodeType||!we.cssHooks[e.prop]&&null==e.elem.style[U(e.prop)]?e.elem[e.prop]=e.now:we.style(e.elem,e.prop,e.now+e.unit)}}},V.propHooks.scrollTop=V.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},we.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},we.fx=V.prototype.init,we.fx.step={};var St,At,xt,Dt,Ot=/^(?:toggle|show|hide)$/,It=/queueHooks$/;we.Animation=we.extend(z,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return v(n.elem,e,$e.exec(t),n),n}]},tweener:function(e,t){_e(e)?(t=e,e=["*"]):e=e.match(je);for(var n,i=0,r=e.length;i<r;i++)n=e[i],z.tweeners[n]=z.tweeners[n]||[],z.tweeners[n].unshift(t)},prefilters:[Y],prefilter:function(e,t){t?z.prefilters.unshift(e):z.prefilters.push(e)}}),we.speed=function(e,t,n){var i=e&&"object"==typeof e?we.extend({},e):{complete:n||!n&&t||_e(e)&&e,duration:e,easing:n&&t||t&&!_e(t)&&t};return we.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in we.fx.speeds?i.duration=we.fx.speeds[i.duration]:i.duration=we.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){_e(i.old)&&i.old.call(this),i.queue&&we.dequeue(this,i.queue)},i},we.fn.extend({fadeTo:function(e,t,n,i){return this.filter(Je).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){var r=we.isEmptyObject(t),o=we.speed(e,n,i),s=function(){var e=z(this,we.extend({},t),o);(r||qe.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=undefined),e&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var e=!0,t=null!=r&&r+"queueHooks",n=we.timers,i=qe.get(this);if(t)i[t]&&i[t].stop&&s(i[t]);else for(t in i)i[t]&&i[t].stop&&It.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||we.dequeue(this,r)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=qe.get(this),n=t[s+"queue"],i=t[s+"queueHooks"],r=we.timers,o=n?n.length:0;for(t.finish=!0,we.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})}}),we.each(["toggle","show","hide"],function(e,i){var r=we.fn[i];we.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate($(i,!0),e,t,n)}}),we.each({slideDown:$("show"),slideUp:$("hide"),slideToggle:$("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){we.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),we.timers=[],we.fx.tick=function(){var e,t=0,n=we.timers;for(St=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||we.fx.stop(),St=undefined},we.fx.timer=function(e){we.timers.push(e),we.fx.start()},we.fx.interval=13,we.fx.start=function(){At||(At=!0,G())},we.fx.stop=function(){At=null},we.fx.speeds={slow:600,fast:200,_default:400},we.fn.delay=function(i,e){return i=we.fx&&we.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=w.setTimeout(e,i);t.stop=function(){w.clearTimeout(n)}})},xt=le.createElement("input"),Dt=le.createElement("select").appendChild(le.createElement("option")),xt.type="checkbox",be.checkOn=""!==xt.value,be.optSelected=Dt.selected,(xt=le.createElement("input")).value="t",xt.type="radio",be.radioValue="t"===xt.value;var Nt,kt=we.expr.attrHandle;we.fn.extend({attr:function(e,t){return Me(this,we.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){we.removeAttr(this,e)})}}),we.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?we.prop(e,t,n):(1===o&&we.isXMLDoc(e)||(r=we.attrHooks[t.toLowerCase()]||(we.expr.match.bool.test(t)?Nt:undefined)),n!==undefined?null===n?void we.removeAttr(e,t):r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=we.find.attr(e,t))?undefined:i)},attrHooks:{type:{set:function(e,t){if(!be.radioValue&&"radio"===t&&u(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(je);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),Nt={set:function(e,t,n){return!1===t?we.removeAttr(e,n):e.setAttribute(n,n),n}},we.each(we.expr.match.bool.source.match(/\w+/g),function(e,t){var s=kt[t]||we.find.attr;kt[t]=function(e,t,n){var i,r,o=t.toLowerCase();return n||(r=kt[o],kt[o]=i,i=null!=s(e,t,n)?o:null,kt[o]=r),i}});var Lt=/^(?:input|select|textarea|button)$/i,Pt=/^(?:a|area)$/i;we.fn.extend({prop:function(e,t){return Me(this,we.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[we.propFix[e]||e]})}}),we.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&we.isXMLDoc(e)||(t=we.propFix[t]||t,r=we.propHooks[t]),n!==undefined?r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=we.find.attr(e,"tabindex");return t?parseInt(t,10):Lt.test(e.nodeName)||Pt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),be.optSelected||(we.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)}}),we.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){we.propFix[this.toLowerCase()]=this}),we.fn.extend({addClass:function(t){var e,n,i,r,o,s,a,l=0;if(_e(t))return this.each(function(e){we(this).addClass(t.call(this,e,Z(this)))});if((e=ee(t)).length)for(;n=this[l++];)if(r=Z(n),i=1===n.nodeType&&" "+J(r)+" "){for(s=0;o=e[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(a=J(i))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,i,r,o,s,a,l=0;if(_e(t))return this.each(function(e){we(this).removeClass(t.call(this,e,Z(this)))});if(!arguments.length)return this.attr("class","");if((e=ee(t)).length)for(;n=this[l++];)if(r=Z(n),i=1===n.nodeType&&" "+J(r)+" "){for(s=0;o=e[s++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");r!==(a=J(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):_e(r)?this.each(function(e){we(this).toggleClass(r.call(this,e,Z(this),t),t)}):this.each(function(){var e,t,n,i;if(s)for(t=0,n=we(this),i=ee(r);e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else r!==undefined&&"boolean"!==o||((e=Z(this))&&qe.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===r?"":qe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+J(Z(n))+" ").indexOf(t))return!0;return!1}});var jt=/\r/g;we.fn.extend({val:function(n){var i,e,r,t=this[0];return arguments.length?(r=_e(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=r?n.call(this,e,we(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=we.map(t,function(e){return null==e?"":e+""})),(i=we.valHooks[this.type]||we.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,t,"value")!==undefined||(this.value=t))})):t?(i=we.valHooks[t.type]||we.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&(e=i.get(t,"value"))!==undefined?e:"string"==typeof(e=t.value)?e.replace(jt,""):null==e?"":e:void 0}}),we.extend({valHooks:{option:{get:function(e){var t=we.find.attr(e,"value");return null!=t?t:J(we.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||!u(n.parentNode,"optgroup"))){if(t=we(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=we.makeArray(t),s=r.length;s--;)((i=r[s]).selected=-1<we.inArray(we.valHooks.option.get(i),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),we.each(["radio","checkbox"],function(){we.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<we.inArray(we(e).val(),t)}},be.checkOn||(we.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),be.focusin="onfocusin"in w;var Rt=/^(?:focusinfocus|focusoutblur)$/,Ht=function(e){e.stopPropagation()};we.extend(we.event,{trigger:function(e,t,n,i){var r,o,s,a,l,u,c,f,d=[n||le],p=ge.call(e,"type")?e.type:e,h=ge.call(e,"namespace")?e.namespace.split("."):[];if(o=f=s=n=n||le,3!==n.nodeType&&8!==n.nodeType&&!Rt.test(p+we.event.triggered)&&(-1<p.indexOf(".")&&(p=(h=p.split(".")).shift(),h.sort()),l=p.indexOf(":")<0&&"on"+p,(e=e[we.expando]?e:new we.Event(p,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=n),t=null==t?[e]:we.makeArray(t,[e]),c=we.event.special[p]||{},i||!c.trigger||!1!==c.trigger.apply(n,t))){if(!i&&!c.noBubble&&!Ee(n)){for(a=c.delegateType||p,Rt.test(a+p)||(o=o.parentNode);o;o=o.parentNode)d.push(o),s=o;s===(n.ownerDocument||le)&&d.push(s.defaultView||s.parentWindow||w)}for(r=0;(o=d[r++])&&!e.isPropagationStopped();)f=o,e.type=1<r?a:c.bindType||p,(u=(qe.get(o,"events")||{})[e.type]&&qe.get(o,"handle"))&&u.apply(o,t),(u=l&&o[l])&&u.apply&&Fe(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=p,i||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!Fe(n)||l&&_e(n[p])&&!Ee(n)&&((s=n[l])&&(n[l]=null),we.event.triggered=p,e.isPropagationStopped()&&f.addEventListener(p,Ht),n[p](),e.isPropagationStopped()&&f.removeEventListener(p,Ht),we.event.triggered=undefined,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var i=we.extend(new we.Event,n,{type:e,isSimulated:!0});we.event.trigger(i,null,t)}}),we.fn.extend({trigger:function(e,t){return this.each(function(){we.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return we.event.trigger(e,t,n,!0)}}),be.focusin||we.each({focus:"focusin",blur:"focusout"},function(n,i){var r=function(e){we.event.simulate(i,e.target,we.event.fix(e))};we.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=qe.access(e,i);t||e.addEventListener(n,r,!0),qe.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=qe.access(e,i)-1;t?qe.access(e,i,t):(e.removeEventListener(n,r,!0),qe.remove(e,i))}}});var Mt=w.location,Wt=Date.now(),Ut=/\?/;we.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new w.DOMParser).parseFromString(e,"text/xml")}catch(n){t=undefined}return t&&!t.getElementsByTagName("parsererror").length||we.error("Invalid XML: "+e),t};var Ft=/\[\]$/,qt=/\r?\n/g,Bt=/^(?:submit|button|image|reset|file)$/i,Vt=/^(?:input|select|textarea|keygen)/i;we.param=function(e,t){var n,i=[],r=function(e,t){var n=_e(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!we.isPlainObject(e))we.each(e,function(){r(this.name,this.value)});else for(n in e)te(n,e[n],t,r);return i.join("&")},we.fn.extend({serialize:function(){return we.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=we.prop(this,"elements");return e?we.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!we(this).is(":disabled")&&Vt.test(this.nodeName)&&!Bt.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=we(this).val();return null==n?null:Array.isArray(n)?we.map(n,function(e){return{name:t.name,value:e.replace(qt,"\r\n")}}):{name:t.name,value:n.replace(qt,"\r\n")}}).get()}});var Gt=/%20/g,Kt=/#.*$/,$t=/([?&])_=[^&]*/,Qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Yt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Xt=/^(?:GET|HEAD)$/,zt=/^\/\//,Jt={},Zt={},en="*/".concat("*"),tn=le.createElement("a");tn.href=Mt.href,we.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Mt.href,type:"GET",isLocal:Yt.test(Mt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":en,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":we.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?re(re(e,we.ajaxSettings),t):re(we.ajaxSettings,e)},ajaxPrefilter:ne(Jt),ajaxTransport:ne(Zt),ajax:function(e,t){function n(e,t,n,i){var r,o,s,a,l,u=t;h||(h=!0,p&&w.clearTimeout(p),c=undefined,d=i||"",T.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(a=oe(g,T,n)),a=se(g,a,T,r),r?(g.ifModified&&((l=T.getResponseHeader("Last-Modified"))&&(we.lastModified[f]=l),(l=T.getResponseHeader("etag"))&&(we.etag[f]=l)),204===e||"HEAD"===g.type?u="nocontent":304===e?u="notmodified":(u=a.state,o=a.data,r=!(s=a.error))):(s=u,!e&&u||(u="error",e<0&&(e=0))),T.status=e,T.statusText=(t||u)+"",r?b.resolveWith(v,[o,u,T]):b.rejectWith(v,[T,u,s]),T.statusCode(E),E=undefined,m&&y.trigger(r?"ajaxSuccess":"ajaxError",[T,g,r?o:s]),_.fireWith(v,[T,u]),m&&(y.trigger("ajaxComplete",[T,g]),--we.active||we.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=undefined),t=t||{};var c,f,d,i,p,r,h,m,o,s,g=we.ajaxSetup({},t),v=g.context||g,y=g.context&&(v.nodeType||v.jquery)?we(v):we.event,b=we.Deferred(),_=we.Callbacks("once memory"),E=g.statusCode||{},a={},l={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!i)for(i={};t=Qt.exec(d);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?d:null},setRequestHeader:function(e,t){return null==h&&(e=l[e.toLowerCase()]=l[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)E[t]=[E[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),n(0,t),this}};if(b.promise(T),g.url=((e||g.url||Mt.href)+"").replace(zt,Mt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(je)||[""],null==g.crossDomain){r=le.createElement("a");try{r.href=g.url,r.href=r.href,g.crossDomain=tn.protocol+"//"+tn.host!=r.protocol+"//"+r.host}catch(C){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=we.param(g.data,g.traditional)),ie(Jt,g,t,T),h)return T;for(o in(m=we.event&&g.global)&&0==we.active++&&we.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Xt.test(g.type),f=g.url.replace(Kt,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(Gt,"+")):(s=g.url.slice(f.length),g.data&&(g.processData||"string"==typeof g.data)&&(f+=(Ut.test(f)?"&":"?")+g.data,delete g.data),!1===g.cache&&(f=f.replace($t,"$1"),s=(Ut.test(f)?"&":"?")+"_="+Wt+++s),g.url=f+s),g.ifModified&&(we.lastModified[f]&&T.setRequestHeader("If-Modified-Since",we.lastModified[f]),we.etag[f]&&T.setRequestHeader("If-None-Match",we.etag[f])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&T.setRequestHeader("Content-Type",g.contentType),T.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+en+"; q=0.01":""):g.accepts["*"]),g.headers)T.setRequestHeader(o,g.headers[o]);if(g.beforeSend&&(!1===g.beforeSend.call(v,T,g)||h))return T.abort();if(u="abort",_.add(g.complete),T.done(g.success),T.fail(g.error),c=ie(Zt,g,t,T)){if(T.readyState=1,m&&y.trigger("ajaxSend",[T,g]),h)return T;g.async&&0<g.timeout&&(p=w.setTimeout(function(){T.abort("timeout")},g.timeout));try{h=!1,c.send(a,n)}catch(C){if(h)throw C;n(-1,C)}}else n(-1,"No Transport");return T},getJSON:function(e,t,n){return we.get(e,t,n,"json")},getScript:function(e,t){return we.get(e,undefined,t,"script")}}),we.each(["get","post"],function(e,r){we[r]=function(e,t,n,i){return _e(t)&&(i=i||n,n=t,t=undefined),we.ajax(we.extend({url:e,type:r,dataType:i,data:t,success:n},we.isPlainObject(e)&&e))}}),we._evalUrl=function(e,t){return we.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){we.globalEval(e,t)}})},we.fn.extend({wrapAll:function(e){var t;return this[0]&&(_e(e)&&(e=e.call(this[0])),t=we(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 _e(n)?this.each(function(e){we(this).wrapInner(n.call(this,e))}):this.each(function(){var e=we(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=_e(t);return this.each(function(e){we(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){we(this).replaceWith(this.childNodes)}),this}}),we.expr.pseudos.hidden=function(e){return!we.expr.pseudos.visible(e)},we.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},we.ajaxSettings.xhr=function(){try{return new w.XMLHttpRequest}catch(e){}};var nn={0:200,1223:204},rn=we.ajaxSettings.xhr();be.cors=!!rn&&"withCredentials"in rn,be.ajax=rn=!!rn,we.ajaxTransport(function(o){var s,a;if(be.cors||rn&&!o.crossDomain)return{send:function(e,t){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);s=function(e){return function(){s&&(s=a=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(nn[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=s(),a=i.onerror=i.ontimeout=s("error"),i.onabort!==undefined?i.onabort=a:i.onreadystatechange=function(){4===i.readyState&&w.setTimeout(function(){s&&a()})},s=s("abort");try{i.send(o.hasContent&&o.data||null)}catch(r){if(s)throw r}},abort:function(){s&&s()}}}),we.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),we.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 we.globalEval(e),e}}}),we.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),we.ajaxTransport("script",function(n){var i,r;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){i=we("<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)}),le.head.appendChild(i[0])},abort:function(){r&&r()}}});var on,sn=[],an=/(=)\?(?=&|$)|\?\?/;we.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=sn.pop()||we.expando+"_"+Wt++;return this[e]=!0,e}}),we.ajaxPrefilter("json jsonp",function(e,t,n){var i,r,o,s=!1!==e.jsonp&&(an.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&an.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=_e(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(an,"$1"+i):!1!==e.jsonp&&(e.url+=(Ut.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||we.error(i+" was not called"),o[0]},e.dataTypes[0]="json",r=w[i],w[i]=function(){o=arguments},n.always(function(){r===undefined?we(w).removeProp(i):w[i]=r,e[i]&&(e.jsonpCallback=t.jsonpCallback,sn.push(i)),o&&_e(r)&&r(o[0]),o=r=undefined}),"script"}),be.createHTMLDocument=((on=le.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===on.childNodes.length),we.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(be.createHTMLDocument?((i=(t=le.implementation.createHTMLDocument("")).createElement("base")).href=le.location.href,t.head.appendChild(i)):t=le),o=!n&&[],(r=Ie.exec(e))?[t.createElement(r[1])]:(r=T([e],t,o),o&&o.length&&we(o).remove(),we.merge([],r.childNodes)));var i,r,o},we.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return-1<a&&(i=J(e.slice(a)),e=e.slice(0,a)),_e(t)?(n=t,t=undefined):t&&"object"==typeof t&&(r="POST"),0<s.length&&we.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?we("<div>").append(we.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},we.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){we.fn[t]=function(e){return this.on(t,e)}}),we.expr.pseudos.animated=function(t){return we.grep(we.timers,function(e){return t===e.elem}).length},we.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,u=we.css(e,"position"),c=we(e),f={};"static"===u&&(e.style.position="relative"),a=c.offset(),o=we.css(e,"top"),l=we.css(e,"left"),("absolute"===u||"fixed"===u)&&-1<(o+l).indexOf("auto")?(s=(i=c.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),_e(t)&&(t=t.call(e,n,we.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+r),"using"in t?t.using.call(e,f):c.css(f)}},we.fn.extend({offset:function(t){if(arguments.length)return t===undefined?this:this.each(function(e){we.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"===we.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"===we.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=we(e).offset()).top+=we.css(e,"borderTopWidth",!0),r.left+=we.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-we.css(i,"marginTop",!0),left:t.left-r.left-we.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===we.css(e,"position");)e=e.offsetParent;return e||Ye})}}),we.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var o="pageYOffset"===r;we.fn[t]=function(e){return Me(this,function(e,t,n){var i;if(Ee(e)?i=e:9===e.nodeType&&(i=e.defaultView),n===undefined)return i?i[r]:e[t];i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),we.each(["top","left"],function(e,n){we.cssHooks[n]=M(be.pixelPosition,function(e,t){if(t)return t=H(e,n),mt.test(t)?we(e).position()[n]+"px":t})}),we.each({Height:"height",Width:"width"},function(s,a){we.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,o){we.fn[o]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),r=i||(!0===e||!0===t?"margin":"border");return Me(this,function(e,t,n){var i;return Ee(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])):n===undefined?we.css(e,t,r):we.style(e,t,n,r)},a,n?e:undefined,n)}})}),we.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){we.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),we.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),we.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)}}),we.proxy=function(e,t){var n,i,r;return"string"==typeof t&&(n=e[t],t=e,e=n),_e(e)?(i=ce.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(ce.call(arguments)))}).guid=e.guid=e.guid||we.guid++,r):undefined},we.holdReady=function(e){e?we.readyWait++:we.ready(!0)},we.isArray=Array.isArray,we.parseJSON=JSON.parse,we.nodeName=u,we.isFunction=_e,we.isWindow=Ee,we.camelCase=p,we.type=g,we.now=Date.now,we.isNumeric=function(e){var t=we.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return we});var ln=w.jQuery,un=w.$;return we.noConflict=function(e){return w.$===we&&(w.$=un),e&&w.jQuery===we&&(w.jQuery=ln),we},e||(w.jQuery=w.$=we),we}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";function e(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function t(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},ue))}}function a(e){return e&&"[object Function]"==={}.toString.call(e)}function _(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function h(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function m(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=_(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?e:m(h(e))}function g(e){return 11===e?de:10===e?pe:de||pe}function b(e){if(!e)return document.documentElement;for(var t=g(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===_(n,"position")?b(n):n:e?e.ownerDocument.documentElement:document.documentElement}function l(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||b(e.firstElementChild)===e)}function u(e){return null!==e.parentNode?u(e.parentNode):e}function v(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var s=o.commonAncestorContainer;if(e!==s&&t!==s||i.contains(r))return l(s)?s:b(s);var a=u(e);return a.host?v(a.host,t):v(e,u(t).host)}function d(e,t){var n="top"===(1<arguments.length&&t!==undefined?arguments[1]:"top")?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"!==i&&"HTML"!==i)return e[n];var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[n]}function y(e,t,n){var i=2<arguments.length&&n!==undefined&&arguments[2],r=d(t,"top"),o=d(t,"left"),s=i?-1:1;return e.top+=r*s,e.bottom+=r*s,e.left+=o*s,e.right+=o*s,e}function p(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function r(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],g(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function E(e){var t=e.body,n=e.documentElement,i=g(10)&&getComputedStyle(n);return{height:r("Height",t,n,i),width:r("Width",t,n,i)}}function T(e){return ve({},e,{right:e.left+e.width,bottom:e.top+e.height})}function C(e){var t={};try{if(g(10)){t=e.getBoundingClientRect();var n=d(e,"top"),i=d(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(f){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},o="HTML"===e.nodeName?E(e.ownerDocument):{},s=o.width||e.clientWidth||r.right-r.left,a=o.height||e.clientHeight||r.bottom-r.top,l=e.offsetWidth-s,u=e.offsetHeight-a;if(l||u){var c=_(e);l-=p(c,"x"),u-=p(c,"y"),r.width-=l,r.height-=u}return T(r)}function w(e,t,n){var i=2<arguments.length&&n!==undefined&&arguments[2],r=g(10),o="HTML"===t.nodeName,s=C(e),a=C(t),l=m(e),u=_(t),c=parseFloat(u.borderTopWidth,10),f=parseFloat(u.borderLeftWidth,10);i&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=T({top:s.top-a.top-c,left:s.left-a.left-f,width:s.width,height:s.height});if(d.marginTop=0,d.marginLeft=0,!r&&o){var p=parseFloat(u.marginTop,10),h=parseFloat(u.marginLeft,10);d.top-=c-p,d.bottom-=c-p,d.left-=f-h,d.right-=f-h,d.marginTop=p,d.marginLeft=h}return(r&&!i?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(d=y(d,t)),d}function S(e,t){var n=1<arguments.length&&t!==undefined&&arguments[1],i=e.ownerDocument.documentElement,r=w(e,i),o=Math.max(i.clientWidth,window.innerWidth||0),s=Math.max(i.clientHeight,window.innerHeight||0),a=n?0:d(i),l=n?0:d(i,"left");return T({top:a-r.top+r.marginTop,left:l-r.left+r.marginLeft,width:o,height:s})}function A(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===_(e,"position")||A(h(e)))}function x(e){if(!e||!e.parentElement||g())return document.documentElement;for(var t=e.parentElement;t&&"none"===_(t,"transform");)t=t.parentElement;return t||document.documentElement}function D(e,t,n,i,r){var o=4<arguments.length&&r!==undefined&&arguments[4],s={top:0,left:0},a=o?x(e):v(e,t);if("viewport"===i)s=S(a,o);else{var l=void 0;"scrollParent"===i?"BODY"===(l=m(h(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===i?e.ownerDocument.documentElement:i;var u=w(l,a,o);if("HTML"!==l.nodeName||A(a))s=u;else{var c=E(e.ownerDocument
  ),f=c.height,d=c.width;s.top+=u.top-u.marginTop,s.bottom=f+u.top,s.left+=u.left-u.marginLeft,s.right=d+u.left}}var p="number"==typeof(n=n||0);return s.left+=p?n:n.left||0,s.top+=p?n:n.top||0,s.right-=p?n:n.right||0,s.bottom-=p?n:n.bottom||0,s}function O(e){return e.width*e.height}function c(e,t,i,n,r,o){var s=5<arguments.length&&o!==undefined?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=D(i,n,s,r),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},u=Object.keys(l).map(function(e){return ve({key:e},l[e],{area:O(l[e])})}).sort(function(e,t){return t.area-e.area}),c=u.filter(function(e){var t=e.width,n=e.height;return t>=i.clientWidth&&n>=i.clientHeight}),f=0<c.length?c[0].key:u[0].key,d=e.split("-")[1];return f+(d?"-"+d:"")}function f(e,t,n,i){var r=3<arguments.length&&i!==undefined?arguments[3]:null;return w(n,r?x(t):v(t,n),r)}function I(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function N(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function k(e,t,n){n=n.split("-")[0];var i=I(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return r[s]=t[s]+t[l]/2-i[l]/2,r[a]=n===a?t[a]-i[u]:t[N(a)],r}function L(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function i(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=L(e,function(e){return e[t]===n});return e.indexOf(i)}function P(e,n,t){return(t===undefined?e:e.slice(0,i(e,"name",t))).forEach(function(e){e["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e["function"]||e.fn;e.enabled&&a(t)&&(n.offsets.popper=T(n.offsets.popper),n.offsets.reference=T(n.offsets.reference),n=t(n,e))}),n}function o(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=f(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=c(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=k(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function n(e,n){return e.some(function(e){var t=e.name;return e.enabled&&t===n})}function j(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var r=t[i],o=r?""+r+n:e;if("undefined"!=typeof document.body.style[o])return o}return null}function R(){return this.state.isDestroyed=!0,n(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[j("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function s(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,n,i){var r="BODY"===e.nodeName,o=r?e.ownerDocument.defaultView:e;o.addEventListener(t,n,{passive:!0}),r||H(m(o.parentNode),t,n,i),i.push(o)}function M(e,t,n,i){n.updateBound=i,s(e).addEventListener("resize",n.updateBound,{passive:!0});var r=m(e);return H(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function W(){this.state.eventsEnabled||(this.state=M(this.reference,this.options,this.state,this.scheduleUpdate))}function U(e,t){return s(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function F(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=U(this.reference,this.state))}function q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function B(n,i){Object.keys(i).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&q(i[e])&&(t="px"),n.style[e]=i[e]+t})}function V(t,n){Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})}function G(e){return B(e.instance.popper,e.styles),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&B(e.arrowElement,e.arrowStyles),e}function K(e,t,n,i,r){var o=f(r,t,e,n.positionFixed),s=c(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),B(t,{position:n.positionFixed?"fixed":"absolute"}),n}function $(e,t){var n=t.x,i=t.y,r=e.offsets.popper,o=L(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;o!==undefined&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=o!==undefined?o:t.gpuAcceleration,a=b(e.instance.popper),l=C(a),u={position:r.position},c={left:Math.floor(r.left),top:Math.round(r.top),bottom:Math.round(r.bottom),right:Math.floor(r.right)},f="bottom"===n?"top":"bottom",d="right"===i?"left":"right",p=j("transform"),h=void 0,m=void 0;if(m="bottom"===f?"HTML"===a.nodeName?-a.clientHeight+c.bottom:-l.height+c.bottom:c.top,h="right"===d?"HTML"===a.nodeName?-a.clientWidth+c.right:-l.width+c.right:c.left,s&&p)u[p]="translate3d("+h+"px, "+m+"px, 0)",u[f]=0,u[d]=0,u.willChange="transform";else{var g="bottom"===f?-1:1,v="right"===d?-1:1;u[f]=m*g,u[d]=h*v,u.willChange=f+", "+d}var y={"x-placement":e.placement};return e.attributes=ve({},y,e.attributes),e.styles=ve({},u,e.styles),e.arrowStyles=ve({},e.offsets.arrow,e.arrowStyles),e}function Q(e,t,n){var i=L(e,function(e){return e.name===t}),r=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!r){var o="`"+t+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}function Y(e,t){var n;if(!Q(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],o=e.offsets,s=o.popper,a=o.reference,l=-1!==["left","right"].indexOf(r),u=l?"height":"width",c=l?"Top":"Left",f=c.toLowerCase(),d=l?"left":"top",p=l?"bottom":"right",h=I(i)[u];a[p]-h<s[f]&&(e.offsets.popper[f]-=s[f]-(a[p]-h)),a[f]+h>s[p]&&(e.offsets.popper[f]+=a[f]+h-s[p]),e.offsets.popper=T(e.offsets.popper);var m=a[f]+a[u]/2-h/2,g=_(e.instance.popper),v=parseFloat(g["margin"+c],10),y=parseFloat(g["border"+c+"Width"],10),b=m-e.offsets.popper[f]-v-y;return b=Math.max(Math.min(s[u]-h,b),0),e.arrowElement=i,e.offsets.arrow=(ge(n={},f,Math.round(b)),ge(n,d,""),n),e}function X(e){return"end"===e?"start":"start"===e?"end":e}function z(e,t){var n=1<arguments.length&&t!==undefined&&arguments[1],i=be.indexOf(e),r=be.slice(i+1).concat(be.slice(0,i));return n?r.reverse():r}function J(p,h){if(n(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalPlacement)return p;var m=D(p.instance.popper,p.instance.reference,h.padding,h.boundariesElement,p.positionFixed),g=p.placement.split("-")[0],v=N(g),y=p.placement.split("-")[1]||"",b=[];switch(h.behavior){case _e.FLIP:b=[g,v];break;case _e.CLOCKWISE:b=z(g);break;case _e.COUNTERCLOCKWISE:b=z(g,!0);break;default:b=h.behavior}return b.forEach(function(e,t){if(g!==e||b.length===t+1)return p;g=p.placement.split("-")[0],v=N(g);var n=p.offsets.popper,i=p.offsets.reference,r=Math.floor,o="left"===g&&r(n.right)>r(i.left)||"right"===g&&r(n.left)<r(i.right)||"top"===g&&r(n.bottom)>r(i.top)||"bottom"===g&&r(n.top)<r(i.bottom),s=r(n.left)<r(m.left),a=r(n.right)>r(m.right),l=r(n.top)<r(m.top),u=r(n.bottom)>r(m.bottom),c="left"===g&&s||"right"===g&&a||"top"===g&&l||"bottom"===g&&u,f=-1!==["top","bottom"].indexOf(g),d=!!h.flipVariations&&(f&&"start"===y&&s||f&&"end"===y&&a||!f&&"start"===y&&l||!f&&"end"===y&&u);(o||c||d)&&(p.flipped=!0,(o||c)&&(g=b[t+1]),d&&(y=X(y)),p.placement=g+(y?"-"+y:""),p.offsets.popper=ve({},p.offsets.popper,k(p.instance.popper,p.offsets.reference,p.placement)),p=P(p.instance.modifiers,p,"flip"))}),p}function Z(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",u=s?"width":"height";return n[a]<o(i[l])&&(e.offsets.popper[l]=o(i[l])-n[u]),n[l]>o(i[a])&&(e.offsets.popper[l]=o(i[a])),e}function ee(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],s=r[2];if(!o)return e;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return T(a)[t]/100*o}if("vh"!==s&&"vw"!==s)return o;return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}function te(e,r,o,t){var s=[0,0],a=-1!==["right","left"].indexOf(t),n=e.split(/(\+|\-)/).map(function(e){return e.trim()}),i=n.indexOf(L(n,function(e){return-1!==e.search(/,|\s/)}));n[i]&&-1===n[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==i?[n.slice(0,i).concat([n[i].split(l)[0]]),[n[i].split(l)[1]].concat(n.slice(i+1))]:[n];return(u=u.map(function(e,t){var n=(1===t?!a:a)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return ee(e,n,r,o)})})).forEach(function(n,i){n.forEach(function(e,t){q(e)&&(s[i]+=e*("-"===n[t-1]?-1:1))})}),s}function ne(e,t){var n=t.offset,i=e.placement,r=e.offsets,o=r.popper,s=r.reference,a=i.split("-")[0],l=void 0;return l=q(+n)?[+n,0]:te(n,o,s,a),"left"===a?(o.top+=l[0],o.left-=l[1]):"right"===a?(o.top+=l[0],o.left+=l[1]):"top"===a?(o.left+=l[0],o.top-=l[1]):"bottom"===a&&(o.left+=l[0],o.top+=l[1]),e.popper=o,e}function ie(e,i){var t=i.boundariesElement||b(e.instance.popper);e.instance.reference===t&&(t=b(t));var n=j("transform"),r=e.instance.popper.style,o=r.top,s=r.left,a=r[n];r.top="",r.left="",r[n]="";var l=D(e.instance.popper,e.instance.reference,i.padding,t,e.positionFixed);r.top=o,r.left=s,r[n]=a,i.boundaries=l;var u=i.priority,c=e.offsets.popper,f={primary:function d(e){var t=c[e];return c[e]<l[e]&&!i.escapeWithReference&&(t=Math.max(c[e],l[e])),ge({},e,t)},secondary:function p(e){var t="right"===e?"left":"top",n=c[t];return c[e]>l[e]&&!i.escapeWithReference&&(n=Math.min(c[t],l[e]-("right"===e?c.width:c.height))),ge({},t,n)}};return u.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=ve({},c,f[t](e))}),e.offsets.popper=c,e}function re(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets,o=r.reference,s=r.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",u=a?"width":"height",c={start:ge({},l,o[l]),end:ge({},l,o[l]+o[u]-s[u])};e.offsets.popper=ve({},s,c[i])}return e}function oe(e){if(!Q(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=L(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function se(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[n]-(a?r[s?"width":"height"]:0),e.placement=N(t),e.offsets.popper=T(r),e}for(var ae="undefined"!=typeof window&&"undefined"!=typeof document,le=["Edge","Trident","Firefox"],ue=0,ce=0;ce<le.length;ce+=1)if(ae&&0<=navigator.userAgent.indexOf(le[ce])){ue=1;break}var fe=ae&&window.Promise?e:t,de=ae&&!(!window.MSInputMethodContext||!document.documentMode),pe=ae&&/MSIE 10/.test(navigator.userAgent),he=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},me=function(){function i(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)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}(),ge=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ye=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],be=ye.slice(3),_e={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},Ee={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function Ce(){},onUpdate:function we(){},modifiers:{shift:{order:100,enabled:!0,fn:re},offset:{order:200,enabled:!0,fn:ne,offset:0},preventOverflow:{order:300,enabled:!0,fn:ie,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:Z},arrow:{order:500,enabled:!0,fn:Y,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:J,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:se},hide:{order:800,enabled:!0,fn:oe},computeStyle:{order:850,enabled:!0,fn:$,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:G,onLoad:K,gpuAcceleration:undefined}}},Te=function(){function s(e,t,n){var i=this,r=2<arguments.length&&n!==undefined?arguments[2]:{};he(this,s),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=fe(this.update.bind(this)),this.options=ve({},s.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(ve({},s.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=ve({},s.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return ve({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&a(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return me(s,[{key:"update",value:function e(){return o.call(this)}},{key:"destroy",value:function t(){return R.call(this)}},{key:"enableEventListeners",value:function n(){return W.call(this)}},{key:"disableEventListeners",value:function i(){return F.call(this)}}]),s}();return Te.Utils=("undefined"!=typeof window?window:global).PopperUtils,Te.placements=ye,Te.Defaults=Ee,Te}),function(){var e=this;(function(){(function(){this.Rails={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:{selector:"button[data-remote]:not([form]), button[data-confirm]:not([form])",exclude:"form button"},inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",formDisableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",formEnableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]"}}).call(this)}).call(e);var y=e.Rails;(function(){(function(){var t;t=null,y.loadCSPNonce=function(){var e;return t=null!=(e=document.querySelector("meta[name=csp-nonce]"))?e.content:void 0},y.cspNonce=function(){return null!=t?t:y.loadCSPNonce()}}).call(this),function(){var i,n;n=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector,y.matches=function(e,t){return null!=t.exclude?n.call(e,t.selector)&&!n.call(e,t.exclude):n.call(e,t)},i="_ujsData",y.getData=function(e,t){var n;return null!=(n=e[i])?n[t]:void 0},y.setData=function(e,t,n){return null==e[i]&&(e[i]={}),e[i][t]=n},y.$=function(e){return Array.prototype.slice.call(document.querySelectorAll(e))}}.call(this),function(){var n,i,r;n=y.$,r=y.csrfToken=function(){var e;return(e=document.querySelector("meta[name=csrf-token]"))&&e.content},i=y.csrfParam=function(){var e;return(e=document.querySelector("meta[name=csrf-param]"))&&e.content},y.CSRFProtection=function(e){var t;if(null!=(t=r()))return e.setRequestHeader("X-CSRF-Token",t)},y.refreshCSRFTokens=function(){var e,t;if(t=r(),e=i(),null!=t&&null!=e)return n('form input[name="'+e+'"]').forEach(function(e){return e.value=t})}}.call(this),function(){var r,t,o,n;o=y.matches,"function"!=typeof(r=window.CustomEvent)&&((r=function(e,t){var n;return(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}).prototype=window.Event.prototype,n=r.prototype.preventDefault,r.prototype.preventDefault=function(){var e;return e=n.call(this),this.cancelable&&!this.defaultPrevented&&Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}}),e}),t=y.fire=function(e,t,n){var i;return i=new r(t,{bubbles:!0,cancelable:!0,detail:n}),e.dispatchEvent(i),!i.defaultPrevented},y.stopEverything=function(e){return t(e.target,"ujs:everythingStopped"),e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()},y.delegate=function(e,n,t,i){return e.addEventListener(t,function(e){var t;for(t=e.target;t instanceof Element&&!o(t,n);)t=t.parentNode;if(t instanceof Element&&!1===i.call(t,e))return e.preventDefault(),e.stopPropagation()})}}.call(this),function(){var t,i,e,o,r,s;o=y.cspNonce,i=y.CSRFProtection,y.fire,t={"*":"*/*",text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript",script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},y.ajax=function(n){var i;return n=r(n),i=e(n,function(){var e,t;return t=s(null!=(e=i.response)?e:i.responseText,i.getResponseHeader("Content-Type")),2===Math.floor(i.status/100)?"function"==typeof n.success&&n.success(t,i.statusText,i):"function"==typeof n.error&&n.error(t,i.statusText,i),"function"==typeof n.complete?n.complete(i,i.statusText):void 0}),!(null!=n.beforeSend&&!n.beforeSend(i,n))&&(i.readyState===XMLHttpRequest.OPENED?i.send(n.data):void 0)},r=function(e){return e.url=e.url||location.href,e.type=e.type.toUpperCase(),"GET"===e.type&&e.data&&(e.url.indexOf("?")<0?e.url+="?"+e.data:e.url+="&"+e.data),null==t[e.dataType]&&(e.dataType="*"),e.accept=t[e.dataType],"*"!==e.dataType&&(e.accept+=", */*; q=0.01"),e},e=function(e,t){var n;return(n=new XMLHttpRequest).open(e.type,e.url,!0),n.setRequestHeader("Accept",e.accept),"string"==typeof e.data&&n.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),e.crossDomain||n.setRequestHeader("X-Requested-With","XMLHttpRequest"),i(n),n.withCredentials=!!e.withCredentials,n.onreadystatechange=function(){if(n.readyState===XMLHttpRequest.DONE)return t(n)},n},s=function(e,t){var n,i;if("string"==typeof e&&"string"==typeof t)if(t.match(/\bjson\b/))try{e=JSON.parse(e)}catch(r){}else if(t.match(/\b(?:java|ecma)script\b/))(i=document.createElement("script")).setAttribute("nonce",o()),i.text=e,document.head.appendChild(i).parentNode.removeChild(i);else if(t.match(/\b(xml|html|svg)\b/)){n=new DOMParser,t=t.replace(/;.+/,"");try{e=n.parseFromString(e,t)}catch(r){}}return e},y.href=function(e){return e.href},y.isCrossDomain=function(e){var t,n;(t=document.createElement("a")).href=location.href,n=document.createElement("a");try{return n.href=e,!((!n.protocol||":"===n.protocol)&&!n.host||t.protocol+"//"+t.host==n.protocol+"//"+n.host)}catch(i){return i,!0}}}.call(this),function(){var r,o;r=y.matches,o=function(e){return Array.prototype.slice.call(e)},y.serializeElement=function(e,t){var n,i;return n=[e],r(e,"form")&&(n=o(e.elements)),i=[],n.forEach(function(t){if(t.name&&!t.disabled)return r(t,"select")?o(t.options).forEach(function(e){if(e.selected)return i.push({name:t.name,value:e.value})}):t.checked||-1===["radio","checkbox","submit"].indexOf(t.type)?i.push({name:t.name,value:t.value}):void 0}),t&&i.push(t),i.map(function(e){return null!=e.name?encodeURIComponent(e.name)+"="+encodeURIComponent(e.value):e}).join("&")},y.formElements=function(e,t){return r(e,"form")?o(e.elements).filter(function(e){return r(e,t)}):o(e.querySelectorAll(t))}}.call(this),function(){var t,o,n;o=y.fire,n=y.stopEverything,y.handleConfirm=function(e){if(!t(this))return n(e)},t=function(e){var t,n,i;if(!(i=e.getAttribute("data-confirm")))return!0;if(t=!1,o(e,"confirm")){try{t=confirm(i)}catch(r){}n=o(e,"confirm:complete",[t])}return t&&n}}.call(this),function(){var n,i,r,o,s,a,t,l,u,c,f;u=y.matches,l=y.getData,c=y.setData,f=y.stopEverything,t=y.formElements,y.handleDisabledElement=function(e){if(this.disabled)return f(e)},y.enableElement=function(e){var t;return t=e instanceof Event?e.target:e,u(t,y.linkDisableSelector)?a(t):u(t,y.buttonDisableSelector)||u(t,y.formEnableSelector)?o(t):u(t,y.formSubmitSelector)?s(t):void 0},y.disableElement=function(e){var t;return t=e instanceof Event?e.target:e,u(t,y.linkDisableSelector)?r(t):u(t,y.buttonDisableSelector)||u(t,y.formDisableSelector)?n(t):u(t,y.formSubmitSelector)?i(t):void 0},r=function(e){var t;return null!=(t=e.getAttribute("data-disable-with"))&&(c(e,"ujs:enable-with",e.innerHTML),e.innerHTML=t),e.addEventListener("click",f),c(e,"ujs:disabled",!0)},a=function(e){var t;return null!=(t=l(e,"ujs:enable-with"))&&(e.innerHTML=t,c(e,"ujs:enable-with",null)),e.removeEventListener("click",f),c(e,"ujs:disabled",null)},i=function(e){return t(e,y.formDisableSelector).forEach(n)},n=function(e){var t;return null!=(t=e.getAttribute("data-disable-with"))&&(u(e,"button")?(c(e,"ujs:enable-with",e.innerHTML),e.innerHTML=t):(c(e,"ujs:enable-with",e.value),e.value=t)),e.disabled=!0,c(e,"ujs:disabled",!0)},s=function(e){return t(e,y.formEnableSelector).forEach(o)},o=function(e){var t;return null!=(t=l(e,"ujs:enable-with"))&&(u(e,"button")?e.innerHTML=t:e.value=t,c(e,"ujs:enable-with",null)),e.disabled=!1,c(e,"ujs:disabled",null)}}.call(this),function(){var l;l=y.stopEverything,y.handleMethod=function(e){var t,n,i,r,o,s,a;if(a=(s=this).getAttribute("data-method"))return o=y.href(s),n=y.csrfToken(),t=y.csrfParam(),i=document.createElement("form"),r="<input name='_method' value='"+a+"' type='hidden' />",null==t||null==n||y.isCrossDomain(o)||(r+="<input name='"+t+"' value='"+n+"' type='hidden' />"),r+='<input type="submit" />',i.method="post",i.action=o,i.target=s.target,i.innerHTML=r,i.style.display="none",document.body.appendChild(i),i.querySelector('[type="submit"]').click(),l(e)}}.call(this),function(){var l,u,c,f,d,p,h,m,g,v=[].slice;p=y.matches,c=y.getData,m=y.setData,u=y.fire,g=y.stopEverything,l=y.ajax,f=y.isCrossDomain,h=y.serializeElement,d=function(e){var t;return null!=(t=e.getAttribute("data-remote"))&&"false"!==t},y.handleRemote=function(e){var t,n,i,r,o,s,a;return!d(r=this)||(u(r,"ajax:before")?(a=r.getAttribute("data-with-credentials"),i=r.getAttribute("data-type")||"script",p(r,y.formSubmitSelector)?(t=c(r,"ujs:submit-button"),o=c(r,"ujs:submit-button-formmethod")||r.method,s=c(r,"ujs:submit-button-formaction")||r.getAttribute("action")||location.href,"GET"===o.toUpperCase()&&(s=s.replace(/\?.*$/,"")),"multipart/form-data"===r.enctype?(n=new FormData(r),null!=t&&n.append(t.name,t.value)):n=h(r,t),m(r,"ujs:submit-button",null),m(r,"ujs:submit-button-formmethod",null),m(r,"ujs:submit-button-formaction",null)):p(r,y.buttonClickSelector)||p(r,y.inputChangeSelector)?(o=r.getAttribute("data-method"),s=r.getAttribute("data-url"),n=h(r,r.getAttribute("data-params"))):(o=r.getAttribute("data-method"),s=y.href(r),n=r.getAttribute("data-params")),l({type:o||"GET",url:s,data:n,dataType:i,beforeSend:function(e,t){return u(r,"ajax:beforeSend",[e,t])?u(r,"ajax:send",[e]):(u(r,"ajax:stopped"),!1)},success:function(){var e;return e=1<=arguments.length?v.call(arguments,0):[],u(r,"ajax:success",e)},error:function(){var e;return e=1<=arguments.length?v.call(arguments,0):[],u(r,"ajax:error",e)},complete:function(){var e;return e=1<=arguments.length?v.call(arguments,0):[],u(r,"ajax:complete",e)},crossDomain:f(s),withCredentials:null!=a&&"false"!==a}),g(e)):(u(r,"ajax:stopped"),!1))},y.formSubmitButtonClick=function(){var e,t;if(t=(e=this).form)return e.name&&m(t,"ujs:submit-button",{name:e.name,value:e.value}),m(t,"ujs:formnovalidate-button",e.formNoValidate),m(t,"ujs:submit-button-formaction",e.getAttribute("formaction")),m(t,"ujs:submit-button-formmethod",e.getAttribute("formmethod"))},y.preventInsignificantClick=function(e){var t,n,i,r;if(r=((i=this).getAttribute("data-method")||"GET").toUpperCase(),t=i.getAttribute("data-params"),n=(e.metaKey||e.ctrlKey)&&"GET"===r&&!t,!(0===e.button)||n)return e.stopImmediatePropagation()}}.call(this),function(){var e,i,t,n,r,o,s,a,l,u,c,f,d,p,h;if(o=y.fire,t=y.delegate,a=y.getData,e=y.$,h=y.refreshCSRFTokens,i=y.CSRFProtection,d=y.loadCSPNonce,r=y.enableElement,n=y.disableElement,u=y.handleDisabledElement,l=y.handleConfirm,p=y.preventInsignificantClick,f=y.handleRemote,s=y.formSubmitButtonClick,c=y.handleMethod,"undefined"!=typeof jQuery&&null!==jQuery&&null!=jQuery.ajax){if(jQuery.rails)throw new Error("If you load both jquery_ujs and rails-ujs, use rails-ujs only.");jQuery.rails=y,jQuery.ajaxPrefilter(function(e,t,n){if(!e.crossDomain)return i(n)})}y.start=function(){if(window._rails_loaded)throw new Error("rails-ujs has already been loaded!");return window.addEventListener("pageshow",function(){return e(y.formEnableSelector).forEach(function(e){if(a(e,"ujs:disabled"))return r(e)}),e(y.linkDisableSelector).forEach(function(e){if(a(e,"ujs:disabled"))return r(e)})}),t(document,y.linkDisableSelector,"ajax:complete",r),t(document,y.linkDisableSelector,"ajax:stopped",r),t(document,y.buttonDisableSelector,"ajax:complete",r),t(document,y.buttonDisableSelector,"ajax:stopped",r),t(document,y.linkClickSelector,"click",p),t(document,y.linkClickSelector,"click",u),t(document,y.linkClickSelector,"click",l),t(document,y.linkClickSelector,"click",n),t(document,y.linkClickSelector,"click",f),t(document,y.linkClickSelector,"click",c),t(document,y.buttonClickSelector,"click",p),t(document,y.buttonClickSelector,"click",u),t(document,y.buttonClickSelector,"click",l),t(document,y.buttonClickSelector,"click",n),t(document,y.buttonClickSelector,"click",f),t(document,y.inputChangeSelector,"change",u),t(document,y.inputChangeSelector,"change",l),t(document,y.inputChangeSelector,"change",f),t(document,y.formSubmitSelector,"submit",u),t(document,y.formSubmitSelector,"submit",l),t(document,y.formSubmitSelector,"submit",f),t(document,y.formSubmitSelector,"submit",function(e){return setTimeout(function(){return n(e)},13)}),t(document,y.formSubmitSelector,"ajax:send",n),t(document,y.formSubmitSelector,"ajax:complete",r),t(document,y.formInputClickSelector,"click",p),t(document,y.formInputClickSelector,"click",u),t(document,y.formInputClickSelector,"click",l),t(document,y.formInputClickSelector,"click",s),document.addEventListener("DOMContentLoaded",h),document.addEventListener("DOMContentLoaded",d),window._rails_loaded=!0},window.Rails===y&&o(document,"rails:attachBindings")&&y.start()}.call(this)}).call(this),"object"==typeof module&&module.exports?module.exports=y:"function"==typeof define&&define.amd&&define(y)}.call(this);var Util=function(i){function a(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function e(){return{bindType:s.end,delegateType:s.end,handle:function t(e){return i(e.target).is(this)?e.handleObj.handler.apply(this,arguments):undefined}}}function t(){return("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"}}function n(e){var t=this,n=!1;return i(this).one(u.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||u.triggerTransitionEnd(t)},e),this}function r(){s=t(),i.fn.emulateTransitionEnd=n,u.supportsTransitionEnd()&&(i.event.special[u.TRANSITION_END]=e())}function o(e){return e="function"==typeof i.escapeSelector?i.escapeSelector(e).substr(1):e.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1")}var s=!1,l=1e6,u={TRANSITION_END:"bsTransitionEnd",getUID:function c(e){for(;e+=~~(Math.random()*l),document.getElementById(e););return e},getSelectorFromElement:function f(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=e.getAttribute("href")||""),"#"===t.charAt(0)&&(t=o(t));try{return 0<i(document).find(t).length?t:null}catch(n){return null}},reflow:function d(e){return e.offsetHeight},triggerTransitionEnd:function p(e){i(e).trigger(s.end)},supportsTransitionEnd:function h(){return Boolean(s)},isElement:function m(e){return(e[0]||e).nodeType},typeCheckConfig:function g(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=t[i],s=o&&u.isElement(o)?"element":a(o);if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}}};return r(),u}($),Modal=function(C){var w="modal",S="4.0.0",A="bs.modal",x="."+A,e=".data-api",t=C.fn[w],D=300,O=150,I=27,N={backdrop:!0,keyboard:!0,focus:!0,show:!0},k={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},L={HIDE:"hide"+x,HIDDEN:"hidden"+x,SHOW:"show"+x,SHOWN:"shown"+x,FOCUSIN:"focusin"+x,RESIZE:"resize"+x,CLICK_DISMISS:"click.dismiss"+x,KEYDOWN_DISMISS:"keydown.dismiss"+x,MOUSEUP_DISMISS:"mouseup.dismiss"+x,MOUSEDOWN_DISMISS:"mousedown.dismiss"+x,CLICK_DATA_API:"click"+x+e},P={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},j={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},s=function(){function r(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=C(e).find(j.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}var e=r.prototype;return e.toggle=function t(e){return this._isShown?this.hide():this.show(e)},e.show=function i(e){var t=this;if(!this._isTransitioning&&!this._isShown){Util.supportsTransitionEnd()&&C(this._element).hasClass(P.FADE)&&(this._isTransitioning=!0);var n=C.Event(L.SHOW,{relatedTarget:e});C(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),C(document.body).addClass(P.OPEN),this._setEscapeEvent(),this._setResizeEvent(),C(this._element).on(L.CLICK_DISMISS,j.DATA_DISMISS,function(e){return t.hide(e)}),C(this._dialog).on(L.MOUSEDOWN_DISMISS,function(){C(t._element).one(L.MOUSEUP_DISMISS,function(e){C(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(e)}))}},e.hide=function o(e){var t=this;if(e&&e.preventDefault(),!this._isTransitioning&&this._isShown){var n=C.Event(L.HIDE);if(C(this._element
  ).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=Util.supportsTransitionEnd()&&C(this._element).hasClass(P.FADE);i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),C(document).off(L.FOCUSIN),C(this._element).removeClass(P.SHOW),C(this._element).off(L.CLICK_DISMISS),C(this._dialog).off(L.MOUSEDOWN_DISMISS),i?C(this._element).one(Util.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(D):this._hideModal()}}},e.dispose=function n(){C.removeData(this._element,A),C(window,document,this._element,this._backdrop).off(x),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},e.handleUpdate=function s(){this._adjustDialog()},e._getConfig=function a(e){return e=_extends({},N,e),Util.typeCheckConfig(w,e,k),e},e._showElement=function l(e){var t=this,n=Util.supportsTransitionEnd()&&C(this._element).hasClass(P.FADE);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.scrollTop=0,n&&Util.reflow(this._element),C(this._element).addClass(P.SHOW),this._config.focus&&this._enforceFocus();var i=C.Event(L.SHOWN,{relatedTarget:e}),r=function r(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,C(t._element).trigger(i)};n?C(this._dialog).one(Util.TRANSITION_END,r).emulateTransitionEnd(D):r()},e._enforceFocus=function u(){var t=this;C(document).off(L.FOCUSIN).on(L.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===C(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function c(){var t=this;this._isShown&&this._config.keyboard?C(this._element).on(L.KEYDOWN_DISMISS,function(e){e.which===I&&(e.preventDefault(),t.hide())}):this._isShown||C(this._element).off(L.KEYDOWN_DISMISS)},e._setResizeEvent=function f(){var t=this;this._isShown?C(window).on(L.RESIZE,function(e){return t.handleUpdate(e)}):C(window).off(L.RESIZE)},e._hideModal=function d(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){C(document.body).removeClass(P.OPEN),e._resetAdjustments(),e._resetScrollbar(),C(e._element).trigger(L.HIDDEN)})},e._removeBackdrop=function p(){this._backdrop&&(C(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function h(e){var t=this,n=C(this._element).hasClass(P.FADE)?P.FADE:"";if(this._isShown&&this._config.backdrop){var i=Util.supportsTransitionEnd()&&n;if(this._backdrop=document.createElement("div"),this._backdrop.className=P.BACKDROP,n&&C(this._backdrop).addClass(n),C(this._backdrop).appendTo(document.body),C(this._element).on(L.CLICK_DISMISS,function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())}),i&&Util.reflow(this._backdrop),C(this._backdrop).addClass(P.SHOW),!e)return;if(!i)return void e();C(this._backdrop).one(Util.TRANSITION_END,e).emulateTransitionEnd(O)}else if(!this._isShown&&this._backdrop){C(this._backdrop).removeClass(P.SHOW);var r=function r(){t._removeBackdrop(),e&&e()};Util.supportsTransitionEnd()&&C(this._element).hasClass(P.FADE)?C(this._backdrop).one(Util.TRANSITION_END,r).emulateTransitionEnd(O):r()}else e&&e()},e._adjustDialog=function m(){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 g(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function v(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function y(){var r=this;if(this._isBodyOverflowing){C(j.FIXED_CONTENT).each(function(e,t){var n=C(t)[0].style.paddingRight,i=C(t).css("padding-right");C(t).data("padding-right",n).css("padding-right",parseFloat(i)+r._scrollbarWidth+"px")}),C(j.STICKY_CONTENT).each(function(e,t){var n=C(t)[0].style.marginRight,i=C(t).css("margin-right");C(t).data("margin-right",n).css("margin-right",parseFloat(i)-r._scrollbarWidth+"px")}),C(j.NAVBAR_TOGGLER).each(function(e,t){var n=C(t)[0].style.marginRight,i=C(t).css("margin-right");C(t).data("margin-right",n).css("margin-right",parseFloat(i)+r._scrollbarWidth+"px")});var e=document.body.style.paddingRight,t=C("body").css("padding-right");C("body").data("padding-right",e).css("padding-right",parseFloat(t)+this._scrollbarWidth+"px")}},e._resetScrollbar=function b(){C(j.FIXED_CONTENT).each(function(e,t){var n=C(t).data("padding-right");void 0!==n&&C(t).css("padding-right",n).removeData("padding-right")}),C(j.STICKY_CONTENT+", "+j.NAVBAR_TOGGLER).each(function(e,t){var n=C(t).data("margin-right");void 0!==n&&C(t).css("margin-right",n).removeData("margin-right")});var e=C("body").data("padding-right");void 0!==e&&C("body").css("padding-right",e).removeData("padding-right")},e._getScrollbarWidth=function _(){var e=document.createElement("div");e.className=P.SCROLLBAR_MEASURER,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},r._jQueryInterface=function E(n,i){return this.each(function(){var e=C(this).data(A),t=_extends({},r.Default,C(this).data(),"object"==typeof n&&n);if(e||(e=new r(this,t),C(this).data(A,e)),"string"==typeof n){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n](i)}else t.show&&e.show(i)})},_createClass(r,null,[{key:"VERSION",get:function T(){return S}},{key:"Default",get:function T(){return N}}]),r}();return C(document).on(L.CLICK_DATA_API,j.DATA_TOGGLE,function(e){var t,n=this,i=Util.getSelectorFromElement(this);i&&(t=C(i)[0]);var r=C(t).data(A)?"toggle":_extends({},C(t).data(),C(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var o=C(t).one(L.SHOW,function(e){e.isDefaultPrevented()||o.one(L.HIDDEN,function(){C(n).is(":visible")&&n.focus()})});s._jQueryInterface.call(C(t),r,this)}),C.fn[w]=s._jQueryInterface,C.fn[w].Constructor=s,C.fn[w].noConflict=function(){return C.fn[w]=t,s._jQueryInterface},s}($),Tooltip=function(O){var I="tooltip",N="4.0.0",k="bs.tooltip",L="."+k,e=O.fn[I],P=150,j="bs-tooltip",R=new RegExp("(^|\\s)"+j+"\\S+","g"),H={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},M={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},W={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"},U={SHOW:"show",OUT:"out"},F={HIDE:"hide"+L,HIDDEN:"hidden"+L,SHOW:"show"+L,SHOWN:"shown"+L,INSERTED:"inserted"+L,CLICK:"click"+L,FOCUSIN:"focusin"+L,FOCUSOUT:"focusout"+L,MOUSEENTER:"mouseenter"+L,MOUSELEAVE:"mouseleave"+L},q={FADE:"fade",SHOW:"show"},B={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},V={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},t=function(){function f(e,t){if("undefined"==typeof Popper)throw new TypeError("Bootstrap 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=f.prototype;return e.enable=function t(){this._isEnabled=!0},e.disable=function n(){this._isEnabled=!1},e.toggleEnabled=function i(){this._isEnabled=!this._isEnabled},e.toggle=function r(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=O(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),O(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(O(this.getTipElement()).hasClass(q.SHOW))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function o(){clearTimeout(this._timeout),O.removeData(this.element,this.constructor.DATA_KEY),O(this.element).off(this.constructor.EVENT_KEY),O(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&O(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 d(){var t=this;if("none"===O(this.element).css("display"))throw new Error("Please use show on visible elements");var e=O.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){O(this.element).trigger(e);var n=O.contains(this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!n)return;var i=this.getTipElement(),r=Util.getUID(this.constructor.NAME);i.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&O(i).addClass(q.FADE);var o="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,s=this._getAttachment(o);this.addAttachmentClass(s);var a=!1===this.config.container?document.body:O(this.config.container);O(i).data(this.constructor.DATA_KEY,this),O.contains(this.element.ownerDocument.documentElement,this.tip)||O(i).appendTo(a),O(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Popper(this.element,i,{placement:s,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:B.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function u(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function c(e){t._handlePopperPlacementChange(e)}}),O(i).addClass(q.SHOW),"ontouchstart"in document.documentElement&&O("body").children().on("mouseover",null,O.noop);var l=function l(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,O(t.element).trigger(t.constructor.Event.SHOWN),e===U.OUT&&t._leave(null,t)};Util.supportsTransitionEnd()&&O(this.tip).hasClass(q.FADE)?O(this.tip).one(Util.TRANSITION_END,l).emulateTransitionEnd(f._TRANSITION_DURATION):l()}},e.hide=function s(e){var t=this,n=this.getTipElement(),i=O.Event(this.constructor.Event.HIDE),r=function r(){t._hoverState!==U.SHOW&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),O(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};O(this.element).trigger(i),i.isDefaultPrevented()||(O(n).removeClass(q.SHOW),"ontouchstart"in document.documentElement&&O("body").children().off("mouseover",null,O.noop),this._activeTrigger[V.CLICK]=!1,this._activeTrigger[V.FOCUS]=!1,this._activeTrigger[V.HOVER]=!1,Util.supportsTransitionEnd()&&O(this.tip).hasClass(q.FADE)?O(n).one(Util.TRANSITION_END,r).emulateTransitionEnd(P):r(),this._hoverState="")},e.update=function a(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function l(){return Boolean(this.getTitle())},e.addAttachmentClass=function u(e){O(this.getTipElement()).addClass(j+"-"+e)},e.getTipElement=function c(){return this.tip=this.tip||O(this.config.template)[0],this.tip},e.setContent=function p(){var e=O(this.getTipElement());this.setElementContent(e.find(B.TOOLTIP_INNER),this.getTitle()),e.removeClass(q.FADE+" "+q.SHOW)},e.setElementContent=function h(e,t){var n=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?n?O(t).parent().is(e)||e.empty().append(t):e.text(O(t).text()):e[n?"html":"text"](t)},e.getTitle=function m(){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._getAttachment=function g(e){return M[e.toUpperCase()]},e._setListeners=function v(){var i=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)O(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(e){return i.toggle(e)});else if(e!==V.MANUAL){var t=e===V.HOVER?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=e===V.HOVER?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;O(i.element).on(t,i.config.selector,function(e){return i._enter(e)}).on(n,i.config.selector,function(e){return i._leave(e)})}O(i.element).closest(".modal").on("hide.bs.modal",function(){return i.hide()})}),this.config.selector?this.config=_extends({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function y(){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 b(e,t){var n=this.constructor.DATA_KEY;(t=t||O(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),O(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?V.FOCUS:V.HOVER]=!0),O(t.getTipElement()).hasClass(q.SHOW)||t._hoverState===U.SHOW?t._hoverState=U.SHOW:(clearTimeout(t._timeout),t._hoverState=U.SHOW,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===U.SHOW&&t.show()},t.config.delay.show):t.show())},e._leave=function _(e,t){var n=this.constructor.DATA_KEY;(t=t||O(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),O(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?V.FOCUS:V.HOVER]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=U.OUT,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===U.OUT&&t.hide()},t.config.delay.hide):t.hide())},e._isWithActiveTrigger=function E(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function T(e){return"number"==typeof(e=_extends({},this.constructor.Default,O(this.element).data(),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()),Util.typeCheckConfig(I,e,this.constructor.DefaultType),e},e._getDelegateConfig=function C(){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 w(){var e=O(this.getTipElement()),t=e.attr("class").match(R);null!==t&&0<t.length&&e.removeClass(t.join(""))},e._handlePopperPlacementChange=function S(e){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function A(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(O(e).removeClass(q.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},f._jQueryInterface=function x(n){return this.each(function(){var e=O(this).data(k),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e||(e=new f(this,t),O(this).data(k,e)),"string"==typeof n)){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},_createClass(f,null,[{key:"VERSION",get:function D(){return N}},{key:"Default",get:function D(){return W}},{key:"NAME",get:function D(){return I}},{key:"DATA_KEY",get:function D(){return k}},{key:"Event",get:function D(){return F}},{key:"EVENT_KEY",get:function D(){return L}},{key:"DefaultType",get:function D(){return H}}]),f}();return O.fn[I]=t._jQueryInterface,O.fn[I].Constructor=t,O.fn[I].noConflict=function(){return O.fn[I]=e,t._jQueryInterface},t}($,Popper),Popover=function(f){var d="popover",p="4.0.0",h="bs.popover",m="."+h,e=f.fn[d],g="bs-popover",v=new RegExp("(^|\\s)"+g+"\\S+","g"),y=_extends({},Tooltip.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>'}),b=_extends({},Tooltip.DefaultType,{content:"(string|element|function)"}),_={FADE:"fade",SHOW:"show"},E={TITLE:".popover-header",CONTENT:".popover-body"},T={HIDE:"hide"+m,HIDDEN:"hidden"+m,SHOW:"show"+m,SHOWN:"shown"+m,INSERTED:"inserted"+m,CLICK:"click"+m,FOCUSIN:"focusin"+m,FOCUSOUT:"focusout"+m,MOUSEENTER:"mouseenter"+m,MOUSELEAVE:"mouseleave"+m},t=function(e){function i(){return e.apply(this,arguments)||this}_inheritsLoose(i,e);var t=i.prototype;return t.isWithContent=function n(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function r(e){f(this.getTipElement()).addClass(g+"-"+e)},t.getTipElement=function o(){return this.tip=this.tip||f(this.config.template)[0],this.tip},t.setContent=function s(){var e=f(this.getTipElement());this.setElementContent(e.find(E.TITLE),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(E.CONTENT),t),e.removeClass(_.FADE+" "+_.SHOW)},t._getContent=function a(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function l(){var e=f(this.getTipElement()),t=e.attr("class").match(v);null!==t&&0<t.length&&e.removeClass(t.join(""))},i._jQueryInterface=function u(n){return this.each(function(){var e=f(this).data(h),t="object"==typeof n?n:null;if((e||!/destroy|hide/.test(n))&&(e||(e=new i(this,t),f(this).data(h,e)),"string"==typeof n)){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},_createClass(i,null,[{key:"VERSION",get:function c(){return p}},{key:"Default",get:function c(){return y}},{key:"NAME",get:function c(){return d}},{key:"DATA_KEY",get:function c(){return h}},{key:"Event",get:function c(){return T}},{key:"EVENT_KEY",get:function c(){return m}},{key:"DefaultType",get:function c(){return b}}]),i}(Tooltip);return f.fn[d]=t._jQueryInterface,f.fn[d].Constructor=t,f.fn[d].noConflict=function(){return f.fn[d]=e,t._jQueryInterface},t}($),Tab=function(c){var e="tab",s="4.0.0",l="bs.tab",t="."+l,n=".data-api",i=c.fn[e],f=150,d={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,CLICK_DATA_API:"click"+t+n},p={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},h={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},r=function(){function i(e){this._element=e}var e=i.prototype;return e.show=function u(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&c(this._element).hasClass(p.ACTIVE)||c(this._element).hasClass(p.DISABLED))){var e,i,t=c(this._element).closest(h.NAV_LIST_GROUP)[0],r=Util.getSelectorFromElement(this._element);if(t){var o="UL"===t.nodeName?h.ACTIVE_UL:h.ACTIVE;i=(i=c.makeArray(c(t).find(o)))[i.length-1]}var s=c.Event(d.HIDE,{relatedTarget:this._element}),a=c.Event(d.SHOW,{relatedTarget:i});if(i&&c(i).trigger(s),c(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(e=c(r)[0]),this._activate(this._element,t);var l=function l(){var e=c.Event(d.HIDDEN,{relatedTarget:n._element}),t=c.Event(d.SHOWN,{relatedTarget:i});c(i).trigger(e),c(n._element).trigger(t)};e?this._activate(e,e.parentNode,l):l()}}},e.dispose=function t(){c.removeData(this._element,l),this._element=null},e._activate=function a(e,t,n){var i=this,r=("UL"===t.nodeName?c(t).find(h.ACTIVE_UL):c(t).children(h.ACTIVE))[0],o=n&&Util.supportsTransitionEnd()&&r&&c(r).hasClass(p.FADE),s=function s(){return i._transitionComplete(e,r,n)};r&&o?c(r).one(Util.TRANSITION_END,s).emulateTransitionEnd(f):s()},e._transitionComplete=function o(e,t,n){if(t){c(t).removeClass(p.SHOW+" "+p.ACTIVE);var i=c(t.parentNode).find(h.DROPDOWN_ACTIVE_CHILD)[0];i&&c(i).removeClass(p.ACTIVE),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(c(e).addClass(p.ACTIVE),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),Util.reflow(e),c(e).addClass(p.SHOW),e.parentNode&&c(e.parentNode).hasClass(p.DROPDOWN_MENU)){var r=c(e).closest(h.DROPDOWN)[0];r&&c(r).find(h.DROPDOWN_TOGGLE).addClass(p.ACTIVE),e.setAttribute("aria-expanded",!0)}n&&n()},i._jQueryInterface=function r(n){return this.each(function(){var e=c(this),t=e.data(l);if(t||(t=new i(this),e.data(l,t)),"string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},_createClass(i,null,[{key:"VERSION",get:function n(){return s}}]),i}();return c(document).on(d.CLICK_DATA_API,h.DATA_TOGGLE,function(e){e.preventDefault(),r._jQueryInterface.call(c(this),"show")}),c.fn[e]=r._jQueryInterface,c.fn[e].Constructor=r,c.fn[e].noConflict=function(){return c.fn[e]=i,r._jQueryInterface},r}($),Collapse=function(h){var m="collapse",g="4.0.0",v="bs.collapse",e="."+v,t=".data-api",n=h.fn[m],y=600,b={toggle:!0,parent:""},_={toggle:"boolean",parent:"(string|element)"},E={SHOW:"show"+e,SHOWN:"shown"+e,HIDE:"hide"+e,HIDDEN:"hidden"+e,CLICK_DATA_API:"click"+e+t},T={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},C={WIDTH:"width",HEIGHT:"height"},w={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},i=function(){function a(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=h.makeArray(h('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=h(w.DATA_TOGGLE),i=0;i<n.length;i++){var r=n[i],o=Util.getSelectorFromElement(r);null!==o&&0<h(o).filter(e).length&&(this._selector=o,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=a.prototype;return e.toggle=function t(){h(this._element).hasClass(T.SHOW)?this.hide():this.show()},e.show=function l(){var e,t,n=this;if(!this._isTransitioning&&!h(this._element).hasClass(T.SHOW)&&(this._parent&&0===(e=h.makeArray(h(this._parent).find(w.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(e=null),!(e&&(t=h(e).not(this._selector).data(v))&&t._isTransitioning))){var i=h.Event(E.SHOW);if(h(this._element).trigger(i),!i.isDefaultPrevented()){e&&(a._jQueryInterface.call(h(e).not(this._selector),"hide"),t||h(e).data(v,null));var r=this._getDimension();h(this._element).removeClass(T.COLLAPSE).addClass(T.COLLAPSING),(this._element.style[r]=0)<this._triggerArray.length&&h(this._triggerArray).removeClass(T.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var o=function o(){h(n._element).removeClass(T.COLLAPSING).addClass(T.COLLAPSE).addClass(T.SHOW),n._element.style[r]="",n.setTransitioning(!1),h(n._element).trigger(E.SHOWN)};if(Util.supportsTransitionEnd()){var s="scroll"+(r[0].toUpperCase()+r.slice(1));h(this._element).one(Util.TRANSITION_END,o).emulateTransitionEnd(y),this._element.style[r]=this._element[s]+"px"}else o()}}},e.hide=function u(){var e=this;if(!this._isTransitioning&&h(this._element).hasClass(T.SHOW)){var t=h.Event(E.HIDE);if(h(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();if(this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",Util.reflow(this._element),h(this._element).addClass(T.COLLAPSING).removeClass(T.COLLAPSE).removeClass(T.SHOW),0<this._triggerArray.length)for(var i=0;i<this._triggerArray.length;i++){var r=this._triggerArray[i],o=Util.getSelectorFromElement(r);if(null!==o)h(o).hasClass(T.SHOW)||h(r).addClass(T.COLLAPSED).attr("aria-expanded",!1)}this.setTransitioning(!0);var s=function s(){e.setTransitioning(!1),h(e._element).removeClass(T.COLLAPSING).addClass(T.COLLAPSE).trigger(E.HIDDEN)};this._element.style[n]="",Util.supportsTransitionEnd()?h(this._element).one(Util.TRANSITION_END,s).emulateTransitionEnd(y):s()}}},e.setTransitioning=function n(e){this._isTransitioning=e},e.dispose=function i(){h.removeData(this._element,v),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function r(e){return(e=_extends({},b,e)).toggle=Boolean(e.toggle),Util.typeCheckConfig(m,e,_),e},e._getDimension=function o(){return h(this._element).hasClass(C.WIDTH)?C.WIDTH:C.HEIGHT},e._getParent=function s(){var n=this,e=null;Util.isElement(this._config.parent)?(e=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(e=this._config.parent[0])):e=h(this._config.parent)[0];var t='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return h(e).find(t).each(function(e,t){n._addAriaAndCollapsedClass(a._getTargetFromElement(t),[t])}),e},e._addAriaAndCollapsedClass=function c(e,t){if(e){var n=h(e).hasClass(T.SHOW);0<t.length&&h(t).toggleClass(T.COLLAPSED,!n).attr("aria-expanded",n)}},a._getTargetFromElement=function f(e){var t=Util.getSelectorFromElement(e);return t?h(t)[0]:null},a._jQueryInterface=function d(i){return this.each(function(){var e=h(this),t=e.data(v),n=_extends({},b,e.data(),"object"==typeof i&&i);if(!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||(t=new a(this,n),e.data(v,t)),"string"==typeof i){if("undefined"==typeof t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},_createClass(a,null,[{key:"VERSION",get:function p(){return g}},{key:"Default",get:function p(){return b}}]),a}();return h(document).on(E.CLICK_DATA_API,w.DATA_TOGGLE,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=h(this),t=Util.getSelectorFromElement(this);h(t).each(function(){var e=h(this),t=e.data(v)?"toggle":n.data();i._jQueryInterface.call(e,t)})}),h.fn[m]=i._jQueryInterface,h.fn[m].Constructor=i,h.fn[m].noConflict=function(){return h.fn[m]=n,i._jQueryInterface},i}($),ScrollSpy=function(p){var h="scrollspy",m="4.0.0",g="bs.scrollspy",v="."+g,e=".data-api",t=p.fn[h],y={offset:10,method:"auto",target:""},b={offset:"number",method:"string",target:"(string|element)"},_={ACTIVATE:"activate"+v,SCROLL:"scroll"+v,LOAD_DATA_API:"load"+v+e},E={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},T={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},C={OFFSET:"offset",POSITION:"position"},i=function(){function n(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+" "+T.NAV_LINKS+","+this._config.target+" "+T.LIST_ITEMS+","+this._config.target+" "+T.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,p(this._scrollElement).on(_.SCROLL,function(e){return n._process(e)}),this.refresh(),this._process()}var e=n.prototype;return e.refresh=function i(){var t=this,e=this._scrollElement===this._scrollElement.window?C.OFFSET:C.POSITION,r="auto"===this._config.method?e:this._config.method,o=r===C.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),p.makeArray(p(this._selector)).map(function(e){var t,n=Util.getSelectorFromElement(e);if(n&&(t=p(n)[0]),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 t(){p.removeData(this._element,g),p(this._scrollElement).off(v),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 r(e){if("string"!=typeof(e=_extends({},y,e)).target){var t=p(e.target).attr("id");t||(t=Util.getUID(h),p(e.target).attr("id",t)),e.target="#"+t}return Util.typeCheckConfig(h,e,b),e},e._getScrollTop=function o(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function s(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function a(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function l(){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]&&("undefined"==typeof this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}}},e._activate=function u(t){this._activeTarget=t,this._clear();var e=this._selector.split(",");e=e.map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'});var n=p(e.join(","));n.hasClass(E.DROPDOWN_ITEM)?(n.closest(T.DROPDOWN).find(T.DROPDOWN_TOGGLE).addClass(E.ACTIVE),n.addClass(E.ACTIVE)):(n.addClass(E.ACTIVE),n.parents(T.NAV_LIST_GROUP).prev(T.NAV_LINKS+", "+T.LIST_ITEMS).addClass(E.ACTIVE),n.parents(T.NAV_LIST_GROUP).prev(T.NAV_ITEMS).children(T.NAV_LINKS).addClass(E.ACTIVE)),p(this._scrollElement).trigger(_.ACTIVATE,{relatedTarget:t})},e._clear=function c(){p(this._selector).filter(T.ACTIVE).removeClass(E.ACTIVE)},n._jQueryInterface=function f(t){return this.each(function(){var e=p(this).data(g);if(e||(e=new n(this,"object"==typeof t&&t),p(this).data(g,e)),"string"==typeof t){if("undefined"==typeof e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},_createClass(n,null,[{key:"VERSION",get:function d(){return m}},{key:"Default",get:function d(){return y}}]),n}();return p(window).on(_.LOAD_DATA_API,function(){for(var e=p.makeArray(p(T.DATA_SPY)),t=e.length;t--;){var n=p(e[t]);i._jQueryInterface.call(n,n.data())}}),p.fn[h]=i._jQueryInterface,p.fn[h].Constructor=i,p.fn[h].noConflict=function(){return p.fn[h]=t,i._jQueryInterface},i}($),Carousel=function(_){var E="carousel",T="4.0.0",C="bs.carousel",w="."+C,e=".data-api",t=_.fn[E],S=600,A=37,x=39,D=500,O={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},I={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},N={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},k={SLIDE:"slide"+w,SLID:"slid"+w,KEYDOWN:"keydown"+w,MOUSEENTER:"mouseenter"+w,MOUSELEAVE:"mouseleave"+w,TOUCHEND:"touchend"+w,LOAD_DATA_API:"load"+w+e,CLICK_DATA_API:"click"+w+e},L={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},P={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},n=function(){function o(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(t),this._element=_(e)[0],this._indicatorsElement=_(this._element).find(P.INDICATORS)[0],this._addEventListeners()}var e=o.prototype;return e.next=function t(){this._isSliding||this._slide(N.NEXT)},e.nextWhenVisible=function n(){!document.hidden&&_(this._element).is(":visible")&&"hidden"!==_(this._element).css("visibility")&&this.next()},e.prev=function i(){this._isSliding||this._slide(N.PREV)},e.pause=function r(e){e||(this._isPaused=!0),_(this._element).find(P.NEXT_PREV)[0]&&Util.supportsTransitionEnd()&&(Util.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function s(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 a(e){var t=this;this._activeElement=_(this._element).find(P.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)_(this._element).one(k.SLID,function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var i=n<e?N.NEXT:N.PREV;this._slide(i,this._items[e])}},e.dispose=function l(){_(this._element).off(w),_.removeData(this._element,C),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 u(e){return e=_extends({},O,e),Util.typeCheckConfig(E,e,I),e},e._addEventListeners=function c(){var t=this;this._config.keyboard&&_(this._element).on(k.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(_(this._element).on(k.MOUSEENTER,function(e){return t.pause(e)}).on(k.MOUSELEAVE,function(e){return t.cycle(e)}),"ontouchstart"in document.documentElement&&_(this._element).on(k.TOUCHEND,function(){t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},D+t._config.interval)}))},e._keydown=function f(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case A:e.preventDefault(),this.prev();break;case x:e.preventDefault(),this.next()}},e._getItemIndex=function d(e){return this._items=_.makeArray(_(e).parent().find(P.ITEM)),this._items.indexOf(e)},e._getItemByDirection=function p(e,t){var n=e===N.NEXT,i=e===N.PREV,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===N.PREV?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function h(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(_(this._element).find(P.ACTIVE_ITEM)[0]),r=_.Event(k.SLIDE,{relatedTarget:e,direction:t,from:i,to:n});return _(this._element).trigger(r),r},e._setActiveIndicatorElement=function m(e){if(this._indicatorsElement){_(this._indicatorsElement).find(P.ACTIVE).removeClass(L.ACTIVE);var t=this._indicatorsElement.children[this._getItemIndex(e)];t&&_(t).addClass(L.ACTIVE)}},e._slide=function g(e,t){var n,i,r,o=this,s=_(this._element).find(P.ACTIVE_ITEM)[0],a=this._getItemIndex(s),l=t||s&&this._getItemByDirection(e,s),u=this._getItemIndex(l),c=Boolean(this._interval);if(e===N.NEXT?(n=L.LEFT,i=L.NEXT,r=N.LEFT):(n=L.RIGHT,i=L.PREV,r=N.RIGHT),l&&_(l).hasClass(L.ACTIVE))this._isSliding=!1;else if(!this._triggerSlideEvent(l,r).isDefaultPrevented()&&s&&l){this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(l);var f=_.Event(k.SLID,{relatedTarget:l,direction:r,from:a,to:u});Util.supportsTransitionEnd()&&_(this._element).hasClass(L.SLIDE)?(_(l).addClass(i),Util.reflow(l),_(s).addClass(n),_(l).addClass(n),_(s).one(Util.TRANSITION_END,function(){_(l).removeClass(n+" "+i).addClass(L.ACTIVE),_(s).removeClass(L.ACTIVE+" "+i+" "+n),o._isSliding=!1,setTimeout(function(){return _(o._element).trigger(f)},0)}).emulateTransitionEnd(S)):(_(s).removeClass(L.ACTIVE),_(l).addClass(L.ACTIVE),this._isSliding=!1,_(this._element).trigger(f)),c&&this.cycle()}},o._jQueryInterface=function v(i){return this.each(function(){var e=_(this).data(C),t=_extends({},O,_(this).data());"object"==typeof i&&(t=_extends({},t,i));var n="string"==typeof i?i:t.slide;if(e||(e=new o(this,t),_(this).data(C,e)),"number"==typeof i)e.to(i);else if("string"==typeof n){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n]()}else t.interval&&(e.pause(),e.cycle())})},o._dataApiClickHandler=function y(e){var t=Util.getSelectorFromElement(this);if(t){var n=_(t)[0];if(n&&_(n).hasClass(L.CAROUSEL)){var i=_extends({},_(n).data(),_(this).data()),r=this.getAttribute("data-slide-to");r&&(i.interval=!1),o._jQueryInterface.call(_(n),i),r&&_(n).data(C).to(r),e.preventDefault()}}},_createClass(o,null,[{key:"VERSION",get:function b(){return T}},{key:"Default",get:function b(){return O}}]),o}();return _(document).on(k.CLICK_DATA_API,P.DATA_SLIDE,n._dataApiClickHandler),_(window).on(k.LOAD_DATA_API,function(){_(P.DATA_RIDE).each(function(){var e=_(this);n._jQueryInterface.call(e,e.data())})}),_.fn[E]=n._jQueryInterface,_.fn[E].Constructor=n,_.fn[E].noConflict=function(){return _.fn[E]=t,n._jQueryInterface},n}($),Dropdown=function(g){var v="dropdown",y="4.0.0",b="bs.dropdown",_="."+b,e=".data-api",t=g.fn[v],E=27,T=32,C=9,w=38,S=40,A=3,x=new RegExp(w+"|"+S+"|"+E),D={HIDE:"hide"+_,HIDDEN:"hidden"+_,SHOW:"show"+_,SHOWN:"shown"+_,CLICK:"click"+_,CLICK_DATA_API:"click"+_+e,KEYDOWN_DATA_API:"keydown"+_+e,KEYUP_DATA_API:"keyup"+_+e},O={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},I={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled)"},N={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},k={offset:0,flip:!0,boundary:"scrollParent"},L={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},n=function(){function l(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=l.prototype;return e.toggle=function o(){if(!this._element.disabled&&!g(this._element).hasClass(O.DISABLED)){var e=l._getParentFromElement(this._element),t=g(this._menu).hasClass(O.SHOW);if(l._clearMenus(),!t){var n={relatedTarget:this._element},i=g.Event(D.SHOW,n);if(g(e).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if("undefined"==typeof Popper)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var r=this._element;g(e).hasClass(O.DROPUP)&&(g(this._menu).hasClass(O.MENULEFT)||g(this._menu).hasClass(O.MENURIGHT))&&(r=e),"scrollParent"!==this._config.boundary&&g(e).addClass(O.POSITION_STATIC),this._popper=new Popper(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===g(e).closest(I.NAVBAR_NAV).length&&g("body").children().on("mouseover",null,g.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),g(this._menu).toggleClass(O.SHOW),g(e).toggleClass(O.SHOW).trigger(g.Event(D.SHOWN,n))}}}},e.dispose=function t(){g.removeData(this._element,b),g(this._element).off(_),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function n(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function i(){var t=this;g(this._element).on(D.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function r(e){return e=_extends({},this.constructor.Default,g(this._element).data(),e),Util.typeCheckConfig(v,e,this.constructor.DefaultType),e},e._getMenuElement=function s(){if(!this._menu){var e=l._getParentFromElement(this._element);this._menu=g(e).find(I.MENU)[0]}return this._menu},e._getPlacement=function a(){var e=g(this._element).parent(),t=N.BOTTOM;return e.hasClass(O.DROPUP)?(t=N.TOP,g(this._menu).hasClass(O.MENURIGHT)&&(t=N.TOPEND)):e.hasClass(O.DROPRIGHT)?t=N.RIGHT:e.hasClass(O.DROPLEFT)?t=N.LEFT:g(this._menu).hasClass(O.MENURIGHT)&&(t=N.BOTTOMEND),t},e._detectNavbar=function u(){return 0<g(this._element).closest(".navbar").length},e._getPopperConfig=function c(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=_extends({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},l._jQueryInterface=function f(t){return this.each(function(){var e=g(this).data(b);if(e||(e=new l(this,"object"==typeof t?t:null),g(this).data(b,e)),"string"==typeof t){if("undefined"==typeof e[t])throw new TypeError('No method named "'+t+'"');e[t]()}})},l._clearMenus=function d(e){if(!e||e.which!==A&&("keyup"!==e.type||e.which===C))for(var t=g.makeArray(g(I.DATA_TOGGLE)),n=0;n<t.length;n++){var i=l._getParentFromElement(t[n]),r=g(t[n]).data(b),o={relatedTarget:t[n]};if(r){var s=r._menu;if(g(i).hasClass(O.SHOW)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&e.which===C)&&g.contains(i,e.target))){var a=g.Event(D.HIDE,o);g(i).trigger(a),a.isDefaultPrevented()||("ontouchstart"in document.documentElement&&g("body").children().off("mouseover",null,g.noop),t[n].setAttribute("aria-expanded","false"),g(s).removeClass(O.SHOW),g(i).removeClass(O.SHOW).trigger(g.Event(D.HIDDEN,o)))}}}},l._getParentFromElement=function p(e){var t,n=Util.getSelectorFromElement(e);return n&&(t=g(n)[0]),t||e.parentNode},l._dataApiKeydownHandler=function h(e){if((/input|textarea/i.test(e.target.tagName)?!(e.which===T||e.which!==E&&(e.which!==S&&e.which!==w||g(e.target).closest(I.MENU).length)):x.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!g(this).hasClass(O.DISABLED))){var t=l._getParentFromElement(this),n=g(t).hasClass(O.SHOW);if((n||e.which===E&&e.which===T)&&(!n||e.which!==E&&e.which!==T)){var i=g(t).find(I.VISIBLE_ITEMS).get();if(0!==i.length){var r=i.indexOf(e.target);e.which===w&&0<r&&r--,e.which===S&&r<i.length-1&&r++,r<0&&(r=0),i[r].focus()}}else{if(e.which===E){var o=g(t).find(I.DATA_TOGGLE)[0];g(o).trigger("focus")}g(this).trigger("click")}}},_createClass(l,null,[{key:"VERSION",get:function m(){return y}},{key:"Default",get:function m(){return k}},{key:"DefaultType",get:function m(){return L}}]),l}();return g(document).on(D.KEYDOWN_DATA_API,I.DATA_TOGGLE,n._dataApiKeydownHandler).on(D.KEYDOWN_DATA_API,I.MENU,n._dataApiKeydownHandler).on(D.CLICK_DATA_API+" "+D.KEYUP_DATA_API,n._clearMenus).on(D.CLICK_DATA_API,I.DATA_TOGGLE,function(e){e.preventDefault(),e.stopPropagation(),n._jQueryInterface.call(g(this),"toggle")}).on(D.CLICK_DATA_API,I.FORM_CHILD,function(e){e.stopPropagation()}),g.fn[v]=n._jQueryInterface,g.fn[v].Constructor=n,g.fn[v].noConflict=function(){return g.fn[v]=t,n._jQueryInterface},n}($,Popper),Button=function(s){var e="button",a="4.0.0",l="bs.button",t="."+l,n=".data-api",i=s.fn[e],u={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},c={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},r={CLICK_DATA_API:"click"+t+n,FOCUS_BLUR_DATA_API:"focus"+t+n+" blur"+t+n},o=function(){function n(e){this._element=e}var e=n.prototype;return e.toggle=function o(){var e=!0,t=!0,n=s(this._element).closest(c.DATA_TOGGLE)[0];if(n){var i=s(this._element).find(c.INPUT)[0];if(i){if("radio"===i.type)if(i.checked&&s(this._element).hasClass(u.ACTIVE))e=!1;else{var r=s(n).find(c.ACTIVE)[0];r&&s(r).removeClass(u.ACTIVE)}if(e){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!s(this._element).hasClass(u.ACTIVE),s(i).trigger("change")}i.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!s(this._element).hasClass(u.ACTIVE)),e&&s(this._element).toggleClass(u.ACTIVE)},e.dispose=function t(){s.removeData(this._element,l),this._element=null},n._jQueryInterface=function i(t){return this.each(function(){var e=s(this).data(l);e||(e=new n(this),s(this).data(l,e)),"toggle"===t&&e[t]()})},_createClass(n,null,[{key:"VERSION",get:function r(){return a}}]),n}();return s(document).on(r.CLICK_DATA_API,c.DATA_TOGGLE_CARROT,function(e){e.preventDefault();var t=e.target;s(t).hasClass(u.BUTTON)||(t=s(t).closest(c.BUTTON)),o._jQueryInterface.call(s(t),"toggle")}).on(r.FOCUS_BLUR_DATA_API,c.DATA_TOGGLE_CARROT,function(e){var t=s(e.target).closest(c.BUTTON)[0];s(t).toggleClass(u.FOCUS,/^focus(in)?$/.test(e.type))}),s.fn[e]=o._jQueryInterface,s.fn[e].Constructor=o,s.fn[e].noConflict=function(){return s.fn[e]=i,o._jQueryInterface},o}($),Alert=function(f){var e="alert",d="4.0.0",p="bs.alert",t="."+p,n=".data-api",i=f.fn[e],h=150,r={DISMISS:'[data-dismiss="alert"]'},m={CLOSE:"close"+t,CLOSED:"closed"+t,CLICK_DATA_API:"click"+t+n},g={ALERT:"alert",FADE:"fade",SHOW:"show"},o=function(){function i(e){this._element=e}var e=i.prototype;return e.close=function n(e){e=e||this._element;var t=this._getRootElement(e);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},e.dispose=function t(){f.removeData(this._element,p),this._element=null},e._getRootElement=function r(e){var t=Util.getSelectorFromElement(e),n=!1;return t&&(n=f(t)[0]),n||(n=f(e).closest("."+g.ALERT)[0]),n},e._triggerCloseEvent=function o(e){var t=f.Event(m.CLOSE);return f(e).trigger(t),t},e._removeElement=function s(t){var n=this;f(t).removeClass(g.SHOW),Util.supportsTransitionEnd()&&f(t).hasClass(g.FADE)?f(t).one(Util.TRANSITION_END,function(e){return n._destroyElement(t,e)}).emulateTransitionEnd(h):this._destroyElement(t)},e._destroyElement=function a(e){f(e).detach().trigger(m.CLOSED).remove()},i._jQueryInterface=function l(n){return this.each(function(){var e=f(this),t=e.data(p);t||(t=new i(this),e.data(p,t)),"close"===n&&t[n](this)})},i._handleDismiss=function u(t){return function(e){e&&e.preventDefault(),t.close(this)}},_createClass(i,null,[{key:"VERSION",get:function c(){return d}}]),i}();return f(document).on(m.CLICK_DATA_API,r.DISMISS,o._handleDismiss(new o)),f.fn[e]=o._jQueryInterface,f.fn[e].Constructor=o,f.fn[e].noConflict=function(){return f.fn[e]=i,o._jQueryInterface},o}($);(function(){var e=this;(function(){(function(){var n=[].slice;this.ActionCable={INTERNAL:{message_types:{welcome:"welcome",ping:"ping",confirmation:"confirm_subscription",rejection:"reject_subscription"},default_mount_path:"/cable",protocols:["actioncable-v1-json","actioncable-unsupported"]},WebSocket:window.WebSocket,logger:window.console,createConsumer:function(e){var t;return null==e&&(e=null!=(t=this.getConfig("url"))?t:this.INTERNAL.default_mount_path),new l.Consumer(this.createWebSocketURL(e))},getConfig:function(e){var t;return null!=(t=document.head.querySelector("meta[name='action-cable-"+e+"']"))?t.getAttribute("content"):void 0},createWebSocketURL:function(e){var t;return e&&!/^wss?:/i.test(e)?((t=document.createElement("a")).href=e,t.href=t.href,t.protocol=t.protocol.replace("http","ws"),t.href):e},startDebugging:function(){return this.debugging=!0},stopDebugging:function(){return this.debugging=null},log:function(){var e,t;if(e=1<=arguments.length?n.call(arguments,0):[],this.debugging)return e.push(Date.now()),(t=this.logger).log.apply(t,["[ActionCable]"].concat(n.call(e)))}}}).call(this)}).call(e);var l=e.ActionCable;(function(){(function(){var i=function(e,t){return function(){return e.apply(t,arguments)}};l.ConnectionMonitor=function(){function e(e){this.connection=e,this.visibilityDidChange=i(this.visibilityDidChange,this),this.reconnectAttempts=0}var r,t,n;return e.pollInterval={min:3,max:30},e.staleThreshold=6,e.prototype.start=function(){if(!this.isRunning())return this.startedAt=t(),delete this.stoppedAt,this.startPolling(),document.addEventListener("visibilitychange",this.visibilityDidChange),l.log("ConnectionMonitor started. pollInterval = "+this.getPollInterval()+" ms")},e.prototype.stop=function(){if(this.isRunning())return this.stoppedAt=t(),this.stopPolling(),document.removeEventListener("visibilitychange",this.visibilityDidChange),l.log("ConnectionMonitor stopped")},e.prototype.isRunning=function(){return null!=this.startedAt&&null==this.stoppedAt},e.prototype.recordPing=function(){return this.pingedAt=t()},e.prototype.recordConnect=function(){return this.reconnectAttempts=0,this.recordPing(),delete this.disconnectedAt,l.log("ConnectionMonitor recorded connect")},e.prototype.recordDisconnect=function(){return this.disconnectedAt=t(),l.log("ConnectionMonitor recorded disconnect")},e.prototype.startPolling=function(){return this.stopPolling(),this.poll()},e.prototype.stopPolling=function(){return clearTimeout(this.pollTimeout)},e.prototype.poll=function(){return this.pollTimeout=setTimeout((e=this,function(){return e.reconnectIfStale(),e.poll()}),this.getPollInterval());var e},e.prototype.getPollInterval=function(){var e,t,n,i;return n=(i=this.constructor.pollInterval).min,t=i.max,e=5*Math.log(this.reconnectAttempts+1),Math.round(1e3*r(e,n,t))},e.prototype.reconnectIfStale=function(){if(this.connectionIsStale())return l.log("ConnectionMonitor detected stale connection. reconnectAttempts = "+this.reconnectAttempts+", pollInterval = "+this.getPollInterval()+" ms, time disconnected = "+n(this.disconnectedAt)+" s, stale threshold = "+this.constructor.staleThreshold+" s"),this.reconnectAttempts++,this.disconnectedRecently()?l.log("ConnectionMonitor skipping reopening recent disconnect"):(l.log("ConnectionMonitor reopening"),this.connection.reopen())},e.prototype.connectionIsStale=function(){var e;return n(null!=(e=this.pingedAt)?e:this.startedAt)>this.constructor.staleThreshold},e.prototype.disconnectedRecently=function(){return this.disconnectedAt&&n(this.disconnectedAt)<this.constructor.staleThreshold},e.prototype.visibilityDidChange=function(){if("visible"===document.visibilityState)return setTimeout((e=this,function(){if(e.connectionIsStale()||!e.connection.isOpen())return l.log("ConnectionMonitor reopening stale connection on visibilitychange. visbilityState = "+document.visibilityState),e.connection.reopen()}),200);var e},t=function(){return(new Date).getTime()},n=function(e){return(t()-e)/1e3},r=function(e,t,n){return Math.max(t,Math.min(n,e))},e}()}).call(this),function(){var e,r,t,n,i,o=[].slice,s=function(e,t){return function(){return e.apply(t,arguments)}},a=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};n=l.INTERNAL,r=n.message_types,t=n.protocols,i=2<=t.length?o.call(t,0,e=t.length-1):(e=0,[]),t[e++],l.Connection=function(){function e(e){this.consumer=e,this.open=s(this.open,this),this.subscriptions=this.consumer.subscriptions,this.monitor=new l.ConnectionMonitor(this),this.disconnected=!0}return e.reopenDelay=500,e.prototype.send=function(e){return!!this.isOpen()&&(this.webSocket.send(JSON.stringify(e)),!0)},e.prototype.open=function(){return this.isActive()?(l.log("Attempted to open WebSocket, but existing socket is "+this.getState()),!1):(l.log("Opening WebSocket, current state is "+this.getState()+", subprotocols: "+t),null!=this.webSocket&&this.uninstallEventHandlers(),this.webSocket=new l.WebSocket(this.consumer.url,t),this.installEventHandlers(),this.monitor.start(),!0)},e.prototype.close=function(e){var t;if((null!=e?e:{allowReconnect:!0}).allowReconnect||this.monitor.stop(),this.isActive())return null!=(t=this.webSocket)?t.close():void 0},e.prototype.reopen=function(){var e;if(l.log("Reopening WebSocket, current state is "+this.getState()),!this.isActive())return this.open();try{return this.close()}catch(t){return e=t,l.log("Failed to reopen WebSocket",e)}finally{l.log("Reopening WebSocket in "+this.constructor.reopenDelay+"ms"),setTimeout(this.open,this.constructor.reopenDelay)}},e.prototype.getProtocol=function(){var e;return null!=(e=this.webSocket)?e.protocol:void 0},e.prototype.isOpen=function(){return this.isState("open")},e.prototype.isActive=function(){return this.isState("open","connecting")},e.prototype.isProtocolSupported=function(){var e;return e=this.getProtocol(),0<=a.call(i,e)},e.prototype.isState=function(){var e,t;return t=1<=arguments.length?o.call(arguments,0):[],e=this.getState(),0<=a.call(t,e)},e.prototype.getState=function(){var e,t;for(t in WebSocket)if(WebSocket[t]===(null!=(e=this.webSocket)?e.readyState:void 0))return t.toLowerCase();return null},e.prototype.installEventHandlers=function(){var e,t;for(e in this.events)t=this.events[e].bind(this),this.webSocket["on"+e]=t},e.prototype.uninstallEventHandlers=function(){var e;for(e in this.events)this.webSocket["on"+e]=function(){}},e.prototype.events={message:function(e){var t,n,i;if(this.isProtocolSupported())switch(t=(i=JSON.parse(e.data)).identifier,n=i.message,i.type){case r.welcome:return this.monitor.recordConnect(),this.subscriptions.reload();case r.ping:return this.monitor.recordPing();case r.confirmation:return this.subscriptions.notify(t,"connected");case r.rejection:return this.subscriptions.reject(t);default:return this.subscriptions.notify(t,"received",n)}},open:function(){if(l.log("WebSocket onopen event, using '"+this.getProtocol()+"' subprotocol"),this.disconnected=!1,!this.isProtocolSupported())return l.log("Protocol is unsupported. Stopping monitor and disconnecting."),this.close({allowReconnect:!1})},close:function(){if(l.log("WebSocket onclose event"),!this.disconnected)return this.disconnected=!0,this.monitor.recordDisconnect(),this.subscriptions.notifyAll("disconnected",{willAttemptReconnect:this.monitor.isRunning()})},error:function(){return l.log("WebSocket onerror event")}},e}()}.call(this),function(){var u=[].slice;l.Subscriptions=function(){function e(e){this.consumer=e,this.subscriptions=[]}return e.prototype.create=function(e,t){var n,i,r;return i="object"==typeof(n=e)?n:{channel:n},r=new l.Subscription(this.consumer,i,t),this.add(r)},e.prototype.add=function(e){return this.subscriptions.push(e),this.consumer.ensureActiveConnection(),this.notify(e,"initialized"),this.sendCommand(e,"subscribe"),e},e.prototype.remove=function(e){return this.forget(e),this.findAll(e.identifier).length||this.sendCommand(e,"unsubscribe"),e},e.prototype.reject=function(e){var t,n,i,r,o;for(r=[],t=0,n=(i=this.findAll(e)).length;t<n;t++)o=i[t],this.forget(o),this.notify(o,"rejected"),r.push(o);return r},e.prototype.forget=function(r){var o;return this.subscriptions=function(){var e,t,n,i;for(i=[],e=0,t=(n=this.subscriptions).length;e<t;e++)(o=n[e])!==r&&i.push(o);return i}.call(this),r},e.prototype.findAll=function(e){var t,n,i,r,o;for(r=[],t=0,n=(i=this.subscriptions).length;t<n;t++)(o=i[t]).identifier===e&&r.push(o);return r},e.prototype.reload=function(){var e,t,n,i,r;for(i=[],e=0,t=(n=this.subscriptions).length;e<t;e++)r=n[e],i.push(this.sendCommand(r,"subscribe"));return i},e.prototype.notifyAll=function(e){var t,n,i,r,o,s,a;for(n=e,t=2<=arguments.length?u.call(arguments,1):[],s=[],i=0,r=(o=this.subscriptions).length;i<r;i++)a=o[i],s.push(this.notify.apply(this,[a,n].concat(u.call(t))));return s},e.prototype.notify=function(e,t){var n,i,r,o,s,a,l;for(a=e,i=t,n=3<=arguments.length?u.call(arguments,2):[],s=[],r=0,o=(l="string"==typeof a?this.findAll(a):[a]).length;r<o;r++)a=l[r],s.push("function"==typeof a[i]?a[i].apply(a,n):void 0);return s},e.prototype.sendCommand=function(e,t){var n;return n=e.identifier,this.consumer.send({command:t,identifier:n})},e}()}.call(this),function(){l.Subscription=function(){function e(e,t,n){this.consumer=e,null==t&&(t={}),this.identifier=JSON.stringify(t),i(this,n)}var i;return e.prototype.perform=function(e,t){return null==t&&(t={}),t.action=e,this.send(t)},e.prototype.send=function(e){return this.consumer.send({command:"message",identifier:this.identifier,data:JSON.stringify(e)})},e.prototype.unsubscribe=function(){return this.consumer.subscriptions.remove(this)},i=function(e,t){var n,i;if(null!=t)for(n in t)i=t[n],e[n]=i;return e},e}()}.call(this),function(){l.Consumer=function(){function e(e){this.url=e,this.subscriptions=new l.Subscriptions(this),this.connection=new l.Connection(this)}return e.prototype.send=function(e){return this.connection.send(e)},e.prototype.connect=function(){return this.connection.open()},e.prototype.disconnect=function(){return this.connection.close({allowReconnect:!1})},e.prototype.ensureActiveConnection=function(){if(!this.connection.isActive())return this.connection.open()},e}()}.call(this)}).call(this),"object"==typeof module&&module.exports?module.exports=l:"function"==typeof define&&define.amd&&define(l)}).call(this),function(){this.App||(this.App={}),App.cable=ActionCable.createConsumer()}.call(this),function(){}.call(this),function(){}.call(this),function(){}.call(this);