-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsite.js
6 lines (6 loc) · 161 KB
/
site.js
1
2
3
4
5
6
function compileShader(e,t,n){let i=e.createShader(n);return e.shaderSource(i,t),e.compileShader(i),e.getShaderParameter(i,e.COMPILE_STATUS)?i:(console.error("Error compiling shader:",e.getShaderInfoLog(i)),e.deleteShader(i),null)}function createProgram(e,t,n){let i=compileShader(e,t,e.VERTEX_SHADER),r=compileShader(e,n,e.FRAGMENT_SHADER),o=e.createProgram();return e.attachShader(o,i),e.attachShader(o,r),e.linkProgram(o),e.getProgramParameter(o,e.LINK_STATUS)?o:(console.error("Error linking program:",e.getProgramInfoLog(o)),e.deleteProgram(o),null)}function getParentContainerSize(e){let t=e.parentElement,n=window.getComputedStyle(t);return{width:parseFloat(n.getPropertyValue("width")),height:parseFloat(n.getPropertyValue("height"))}}function resizeCanvas(e,t){let n=gls[t],i=getParentContainerSize(e);e.width=i.width,e.height=i.height,n.viewport(0,0,e.width,e.height)}function initCanvas(e){let t=document.getElementById(`nebula-canvas-${e}`),n=t.getContext("webgl");if(!n)return void console.error(`WebGL not supported for canvas ${e}`);let i=createProgram(n,vertexShaderSource,fragmentShaderSource);if(!i)return;n.useProgram(i);let r=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,r),n.bufferData(n.ARRAY_BUFFER,new Float32Array([-1,-1,-1,3,3,-1]),n.STATIC_DRAW);let o=n.getAttribLocation(i,"position");n.enableVertexAttribArray(o),n.vertexAttribPointer(o,2,n.FLOAT,!1,0,0),n.uniform1f(n.getUniformLocation(i,"eddy_scale"),50),gls[e]=n,programs[e]=i,buffers[e]=r,resizeCanvas(t,e),window.addEventListener("resize",(()=>resizeCanvas(t,e)))}function renderCanvas(e){let t=gls[e],n=programs[e],i=buffers[e];t.uniform1f(t.getUniformLocation(n,"u_time"),performance.now()/1e3),t.clearColor(0,0,0,1),t.clear(t.COLOR_BUFFER_BIT),t.bindBuffer(t.ARRAY_BUFFER,i),t.drawArrays(t.TRIANGLES,0,3),requestAnimationFrame((()=>renderCanvas(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(e,t){"use strict";function n(e,t,n){var i,r,o=(n=n||Ee).createElement("script");if(o.text=e,t)for(i in be)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function i(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?de[he.call(e)]||"object":typeof e}function r(e){var t=!!e&&"length"in e&&e.length,n=i(e);return!ye(e)&&!_e(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function s(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function a(e,t,n){return ye(t)?Ce.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?Ce.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?Ce.grep(e,(function(e){return fe.call(t,e)>-1!==n})):Ce.filter(t,e,n)}function l(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var t={};return Ce.each(e.match(qe)||[],(function(e,n){t[n]=!0})),t}function u(e){return e}function f(e){throw e}function d(e,t,n,i){var r;try{e&&ye(r=e.promise)?r.call(e).done(t).fail(n):e&&ye(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}function h(){Ee.removeEventListener("DOMContentLoaded",h),e.removeEventListener("load",h),Ce.ready()}function p(e,t){return t.toUpperCase()}function g(e){return e.replace(Be,"ms-").replace(Ge,p)}function m(){this.expando=Ce.expando+m.uid++}function v(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Xe.test(e)?JSON.parse(e):e)}function y(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(Ye,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=v(n)}catch(e){}$e.set(e,t,n)}else n=void 0;return n}function _(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return Ce.css(e,t,"")},l=a(),c=n&&n[3]||(Ce.cssNumber[t]?"":"px"),u=e.nodeType&&(Ce.cssNumber[t]||"px"!==c&&+l)&&Ze.exec(Ce.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)Ce.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,Ce.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}function E(e){var t,n=e.ownerDocument,i=e.nodeName,r=ot[i];return r||(t=n.body.appendChild(n.createElement(i)),r=Ce.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),ot[i]=r,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&&rt(i)&&(r[o]=E(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 T(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&o(e,t)?Ce.merge([e],n):n}function x(e,t){for(var n=0,i=e.length;n<i;n++)Qe.set(e[n],"globalEval",!t||Qe.get(t[n],"globalEval"))}function C(e,t,n,r,o){for(var s,a,l,c,u,f,d=t.createDocumentFragment(),h=[],p=0,g=e.length;p<g;p++)if((s=e[p])||0===s)if("object"===i(s))Ce.merge(h,s.nodeType?[s]:s);else if(dt.test(s)){for(a=a||d.appendChild(t.createElement("div")),l=(ct.exec(s)||["",""])[1].toLowerCase(),c=ft[l]||ft._default,a.innerHTML=c[1]+Ce.htmlPrefilter(s)+c[2],f=c[0];f--;)a=a.lastChild;Ce.merge(h,a.childNodes),(a=d.firstChild).textContent=""}else h.push(t.createTextNode(s));for(d.textContent="",p=0;s=h[p++];)if(r&&Ce.inArray(s,r)>-1)o&&o.push(s);else if(u=nt(s),a=T(d.appendChild(s),"script"),u&&x(a),n)for(f=0;s=a[f++];)ut.test(s.type||"")&&n.push(s);return d}function S(){return!0}function w(){return!1}function A(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)A(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=w;else if(!r)return e;return 1===o&&(s=r,r=function(e){return Ce().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=Ce.guid++)),e.each((function(){Ce.event.add(this,t,r,i,n)}))}function D(e,t,n){n?(Qe.set(e,t,!1),Ce.event.add(e,t,{namespace:!1,handler:function(e){var n,i=Qe.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(Ce.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=le.call(arguments),Qe.set(this,t,i),this[t](),n=Qe.get(this,t),Qe.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(Qe.set(this,t,Ce.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=S)}})):void 0===Qe.get(e,t)&&Ce.event.add(e,t,S)}function I(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")&&Ce(e).children("tbody")[0]||e}function O(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function N(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;if(1===t.nodeType){if(Qe.hasData(e)&&(a=Qe.get(e).events))for(r in Qe.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)Ce.event.add(t,r,a[r][n]);$e.hasData(e)&&(o=$e.access(e),s=Ce.extend({},o),$e.set(t,s))}}function k(e,t){var n=t.nodeName.toLowerCase();"input"===n&<.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function P(e,t,i,r){t=ce(t);var o,s,a,l,c,u,f=0,d=e.length,h=d-1,p=t[0],g=ye(p);if(g||d>1&&"string"==typeof p&&!ve.checkClone&>.test(p))return e.each((function(n){var o=e.eq(n);g&&(t[0]=p.call(this,n,o.html())),P(o,t,i,r)}));if(d&&(s=(o=C(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=s),s||r)){for(l=(a=Ce.map(T(o,"script"),O)).length;f<d;f++)c=o,f!==h&&(c=Ce.clone(c,!0,!0),l&&Ce.merge(a,T(c,"script"))),i.call(e[f],c,f);if(l)for(u=a[a.length-1].ownerDocument,Ce.map(a,N),f=0;f<l;f++)c=a[f],ut.test(c.type||"")&&!Qe.access(c,"globalEval")&&Ce.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?Ce._evalUrl&&!c.noModule&&Ce._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):n(c.textContent.replace(mt,""),c,u))}return e}function H(e,t,n){for(var i,r=t?Ce.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||Ce.cleanData(T(i)),i.parentNode&&(n&&nt(i)&&x(T(i,"script")),i.parentNode.removeChild(i));return e}function R(e,t,n){var i,r,o,s,a=yt.test(t),l=e.style;return(n=n||_t(e))&&(s=n.getPropertyValue(t)||n[t],a&&s&&(s=s.replace(Ie,"$1")||void 0),""!==s||nt(e)||(s=Ce.style(e,t)),!ve.pixelBoxStyles()&&vt.test(s)&&bt.test(t)&&(i=l.width,r=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=n.width,l.width=i,l.minWidth=r,l.maxWidth=o)),void 0!==s?s+"":s}function j(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=Tt.length;n--;)if((e=Tt[n]+t)in xt)return e}function F(e){var t=Ce.cssProps[e]||Ct[e];return t||(e in xt?e:Ct[e]=W(e)||e)}function M(e,t,n){var i=Ze.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,c=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(c+=Ce.css(e,n+et[s],!0,r)),i?("content"===n&&(l-=Ce.css(e,"padding"+et[s],!0,r)),"margin"!==n&&(l-=Ce.css(e,"border"+et[s]+"Width",!0,r))):(l+=Ce.css(e,"padding"+et[s],!0,r),"padding"!==n?l+=Ce.css(e,"border"+et[s]+"Width",!0,r):a+=Ce.css(e,"border"+et[s]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l+c}function U(e,t,n){var i=_t(e),r=(!ve.boxSizingReliable()||n)&&"border-box"===Ce.css(e,"boxSizing",!1,i),s=r,a=R(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(vt.test(a)){if(!n)return a;a="auto"}return(!ve.boxSizingReliable()&&r||!ve.reliableTrDimensions()&&o(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===Ce.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===Ce.css(e,"boxSizing",!1,i),(s=l in e)&&(a=e[l])),(a=parseFloat(a)||0)+q(e,t,n||(r?"border":"content"),s,i,a)+"px"}function V(e,t,n,i,r){return new V.prototype.init(e,t,n,i,r)}function z(){It&&(!1===Ee.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(z):e.setTimeout(z,Ce.fx.interval),Ce.fx.tick())}function B(){return e.setTimeout((function(){Dt=void 0})),Dt=Date.now()}function G(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=et[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function K(e,t,n){for(var i,r=(X.tweeners[t]||[]).concat(X.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function Q(e,t,n){var i,r,o,s,a,l,c,u,f="width"in t||"height"in t,d=this,h={},p=e.style,g=e.nodeType&&rt(e),m=Qe.get(e,"fxshow");for(i in n.queue||(null==(s=Ce._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--,Ce.queue(e,"fx").length||s.empty.fire()}))}))),t)if(r=t[i],Ot.test(r)){if(delete t[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;g=!0}h[i]=m&&m[i]||Ce.style(e,i)}if((l=!Ce.isEmptyObject(t))||!Ce.isEmptyObject(h))for(i in f&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=Qe.get(e,"display")),"none"===(u=Ce.css(e,"display"))&&(c?u=c:(b([e],!0),c=e.style.display||c,u=Ce.css(e,"display"),b([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===Ce.css(e,"float")&&(l||(d.done((function(){p.display=c})),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,h)l||(m?"hidden"in m&&(g=m.hidden):m=Qe.access(e,"fxshow",{display:c}),o&&(m.hidden=!g),g&&b([e],!0),d.done((function(){for(i in g||b([e]),Qe.remove(e,"fxshow"),h)Ce.style(e,i,h[i])}))),l=K(g?m[i]:0,i,d),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}function $(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=g(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=Ce.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 X(e,t,n){var i,r,o=0,s=X.prefilters.length,a=Ce.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var t=Dt||B(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),o=0,s=c.tweens.length;o<s;o++)c.tweens[o].run(i);return a.notifyWith(e,[c,i,n]),i<1&&s?n:(s||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:Ce.extend({},t),opts:Ce.extend(!0,{specialEasing:{},easing:Ce.easing._default},n),originalProperties:t,originalOptions:n,startTime:Dt||B(),duration:n.duration,tweens:[],createTween:function(t,n){var i=Ce.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),u=c.props;for($(u,c.opts.specialEasing);o<s;o++)if(i=X.prefilters[o].call(c,e,u,c.opts))return ye(i.stop)&&(Ce._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return Ce.map(u,K,c),ye(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),Ce.fx.timer(Ce.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}function Y(e){return(e.match(qe)||[]).join(" ")}function J(e){return e.getAttribute&&e.getAttribute("class")||""}function Z(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(qe)||[]}function ee(e,t,n,r){var o;if(Array.isArray(t))Ce.each(t,(function(t,i){n||Ut.test(e)?r(e,i):ee(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==i(t))r(e,t);else for(o in t)ee(e+"["+o+"]",t[o],n,r)}function te(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(qe)||[];if(ye(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function ne(e,t,n,i){function r(a){var l;return o[a]=!0,Ce.each(e[a]||[],(function(e,a){var c=a(t,n,i);return"string"!=typeof c||s||o[c]?s?!(l=c):void 0:(t.dataTypes.unshift(c),r(c),!1)})),l}var o={},s=e===en;return r(t.dataTypes[0])||!o["*"]&&r("*")}function ie(e,t){var n,i,r=Ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&Ce.extend(!0,e,i),e}function re(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}function oe(e,t,n,i){var r,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(r in c)if((a=r.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[r]:!0!==c[r]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}var se=[],ae=Object.getPrototypeOf,le=se.slice,ce=se.flat?function(e){return se.flat.call(e)}:function(e){return se.concat.apply([],e)},ue=se.push,fe=se.indexOf,de={},he=de.toString,pe=de.hasOwnProperty,ge=pe.toString,me=ge.call(Object),ve={},ye=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},_e=function(e){return null!=e&&e===e.window},Ee=e.document,be={type:!0,src:!0,nonce:!0,noModule:!0},Te="3.7.0",xe=/HTML$/i,Ce=function(e,t){return new Ce.fn.init(e,t)};Ce.fn=Ce.prototype={jquery:Te,constructor:Ce,length:0,toArray:function(){return le.call(this)},get:function(e){return null==e?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Ce.each(this,e)},map:function(e){return this.pushStack(Ce.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Ce.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(Ce.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ue,sort:se.sort,splice:se.splice},Ce.extend=Ce.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||ye(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(c&&i&&(Ce.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],o=r&&!Array.isArray(n)?[]:r||Ce.isPlainObject(n)?n:{},r=!1,s[t]=Ce.extend(c,o,i)):void 0!==i&&(s[t]=i));return s},Ce.extend({expando:"jQuery"+(Te+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]"!==he.call(e))&&(!(t=ae(e))||"function"==typeof(n=pe.call(t,"constructor")&&t.constructor)&&ge.call(n)===me)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,i){n(e,{nonce:t&&t.nonce},i)},each:function(e,t){var n,i=0;if(r(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},text:function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r)return e.textContent;if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=Ce.text(t);return n},makeArray:function(e,t){var n=t||[];return null!=e&&(r(Object(e))?Ce.merge(n,"string"==typeof e?[e]:e):ue.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:fe.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!xe.test(t||n&&n.nodeName||"HTML")},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,o,s=0,a=[];if(r(e))for(i=e.length;s<i;s++)null!=(o=t(e[s],s,n))&&a.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&a.push(o);return ce(a)},guid:1,support:ve}),"function"==typeof Symbol&&(Ce.fn[Symbol.iterator]=se[Symbol.iterator]),Ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){de["[object "+t+"]"]=t.toLowerCase()}));var Se=se.pop,we=se.sort,Ae=se.splice,De="[\\x20\\t\\r\\n\\f]",Ie=new RegExp("^"+De+"+|((?:^|[^\\\\])(?:\\\\.)*)"+De+"+$","g");Ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var Oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;Ce.escapeSelector=function(e){return(e+"").replace(Oe,s)};var Ne=Ee,Le=ue;!function(){function t(){try{return O.activeElement}catch(e){}}function n(e,t,i,r){var o,s,a,l,c,u,h,m=t&&t.ownerDocument,v=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return i;if(!r&&(d(t),t=t||O,L)){if(11!==v&&(c=ie.exec(e)))if(o=c[1]){if(9===v){if(!(a=t.getElementById(o)))return i;if(a.id===o)return H.call(i,a),i}else if(m&&(a=m.getElementById(o))&&n.contains(t,a)&&a.id===o)return H.call(i,a),i}else{if(c[2])return H.apply(i,t.getElementsByTagName(e)),i;if((o=c[3])&&t.getElementsByClassName)return H.apply(i,t.getElementsByClassName(o)),i}if(!(U[e+" "]||k&&k.test(e))){if(h=e,m=t,1===v&&(Y.test(e)||X.test(e))){for((m=re.test(e)&&f(t.parentNode)||t)==t&&ve.scope||((l=t.getAttribute("id"))?l=Ce.escapeSelector(l):t.setAttribute("id",l=R)),s=(u=p(e)).length;s--;)u[s]=(l?"#"+l:":scope")+" "+g(u[s]);h=u.join(",")}try{return H.apply(i,m.querySelectorAll(h)),i}catch(t){U(e,!0)}finally{l===R&&t.removeAttribute("id")}}}return C(e.replace(Ie,"$1"),t,i,r)}function i(){function e(n,i){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function r(e){return e[R]=!0,e}function s(e){var t=O.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e){return function(t){return o(t,"input")&&t.type===e}}function l(e){return function(t){return(o(t,"input")||o(t,"button"))&&t.type===e}}function c(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ue(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return r((function(t){return t=+t,r((function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))}))}))}function f(e){return e&&void 0!==e.getElementsByTagName&&e}function d(e){var t,i=e?e.ownerDocument||e:Ne;return i!=O&&9===i.nodeType&&i.documentElement?(N=(O=i).documentElement,L=!Ce.isXMLDoc(O),P=N.matches||N.webkitMatchesSelector||N.msMatchesSelector,Ne!=O&&(t=O.defaultView)&&t.top!==t&&t.addEventListener("unload",ce),ve.getById=s((function(e){return N.appendChild(e).id=Ce.expando,!O.getElementsByName||!O.getElementsByName(Ce.expando).length})),ve.disconnectedMatch=s((function(e){return P.call(e,"*")})),ve.scope=s((function(){return O.querySelectorAll(":scope")})),ve.cssHas=s((function(){try{return O.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),ve.getById?(w.filter.ID=function(e){var t=e.replace(oe,ae);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(oe,ae);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){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[]}}),w.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},w.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&L)return t.getElementsByClassName(e)},k=[],s((function(e){var t;N.appendChild(e).innerHTML="<a id='"+R+"' href='' disabled='disabled'></a><select id='"+R+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||k.push("\\["+De+"*(?:value|"+z+")"),e.querySelectorAll("[id~="+R+"-]").length||k.push("~="),e.querySelectorAll("a#"+R+"+*").length||k.push(".#.+[+~]"),e.querySelectorAll(":checked").length||k.push(":checked"),(t=O.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),N.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&k.push(":enabled",":disabled"),(t=O.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||k.push("\\["+De+"*name"+De+"*="+De+"*(?:''|\"\")")})),ve.cssHas||k.push(":has"),k=k.length&&new RegExp(k.join("|")),V=function(e,t){if(e===t)return I=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!ve.sortDetached&&t.compareDocumentPosition(e)===i?e===O||e.ownerDocument==Ne&&n.contains(Ne,e)?-1:t===O||t.ownerDocument==Ne&&n.contains(Ne,t)?1:D?fe.call(D,e)-fe.call(D,t):0:4&i?-1:1)},O):O}function h(){}function p(e,t){var i,r,o,s,a,l,c,u=M[e+" "];if(u)return t?0:u.slice(0);for(a=e,l=[],c=w.preFilter;a;){for(s in i&&!(r=$.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),i=!1,(r=X.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(Ie," ")}),a=a.slice(i.length)),w.filter)!(r=ee[s].exec(a))||c[s]&&!(r=c[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return t?a.length:a?n.error(e):M(e,l).slice(0)}function g(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function m(e,t,n){var i=t.dir,r=t.next,s=r||i,a=n&&"parentNode"===s,l=W++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||a)return e(t,n,r);return!1}:function(t,n,c){var u,f,d=[j,l];if(c){for(;t=t[i];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[i];)if(1===t.nodeType||a)if(f=t[R]||(t[R]={}),r&&o(t,r))t=t[i]||t;else{if((u=f[s])&&u[0]===j&&u[1]===l)return d[2]=u[2];if(f[s]=d,d[2]=e(t,n,c))return!0}return!1}}function v(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function y(e,t,i){for(var r=0,o=t.length;r<o;r++)n(e,t[r],i);return i}function _(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),c&&t.push(a)));return s}function E(e,t,n,i,o,s){return i&&!i[R]&&(i=E(i)),o&&!o[R]&&(o=E(o,s)),r((function(r,s,a,l){var c,u,f,d,h=[],p=[],g=s.length,m=r||y(t||"*",a.nodeType?[a]:a,[]),v=!e||!r&&t?m:_(m,h,e,a,l);if(n?n(v,d=o||(r?e:g||i)?[]:s,a,l):d=v,i)for(c=_(d,p),i(c,[],a,l),u=c.length;u--;)(f=c[u])&&(d[p[u]]=!(v[p[u]]=f));if(r){if(o||e){if(o){for(c=[],u=d.length;u--;)(f=d[u])&&c.push(v[u]=f);o(null,d=[],c,l)}for(u=d.length;u--;)(f=d[u])&&(c=o?fe.call(r,f):h[u])>-1&&(r[c]=!(s[c]=f))}}else d=_(d===s?d.splice(g,d.length):d),o?o(null,s,d,l):H.apply(s,d)}))}function b(e){for(var t,n,i,r=e.length,o=w.relative[e[0].type],s=o||w.relative[" "],a=o?1:0,l=m((function(e){return e===t}),s,!0),c=m((function(e){return fe.call(t,e)>-1}),s,!0),u=[function(e,n,i){var r=!o&&(i||n!=A)||((t=n).nodeType?l(e,n,i):c(e,n,i));return t=null,r}];a<r;a++)if(n=w.relative[e[a].type])u=[m(v(u),n)];else{if((n=w.filter[e[a].type].apply(null,e[a].matches))[R]){for(i=++a;i<r&&!w.relative[e[i].type];i++);return E(a>1&&v(u),a>1&&g(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(Ie,"$1"),n,a<i&&b(e.slice(a,i)),i<r&&b(e=e.slice(i)),i<r&&g(e))}u.push(n)}return v(u)}function T(e,t){var n=t.length>0,i=e.length>0,o=function(r,o,s,a,l){var c,u,f,h=0,p="0",g=r&&[],m=[],v=A,y=r||i&&w.find.TAG("*",l),E=j+=null==v?1:Math.random()||.1,b=y.length;for(l&&(A=o==O||o||l);p!==b&&null!=(c=y[p]);p++){if(i&&c){for(u=0,o||c.ownerDocument==O||(d(c),s=!L);f=e[u++];)if(f(c,o||O,s)){H.call(a,c);break}l&&(j=E)}n&&((c=!f&&c)&&h--,r&&g.push(c))}if(h+=p,n&&p!==h){for(u=0;f=t[u++];)f(g,m,o,s);if(r){if(h>0)for(;p--;)g[p]||m[p]||(m[p]=Se.call(a));m=_(m)}H.apply(a,m),l&&!r&&m.length>0&&h+t.length>1&&Ce.uniqueSort(a)}return l&&(j=E,A=v),g};return n?r(o):o}function x(e,t){var n,i=[],r=[],o=q[e+" "];if(!o){for(t||(t=p(e)),n=t.length;n--;)(o=b(t[n]))[R]?i.push(o):r.push(o);(o=q(e,T(r,i))).selector=e}return o}function C(e,t,n,i){var r,o,s,a,l,c="function"==typeof e&&e,u=!i&&p(e=c.selector||e);if(n=n||[],1===u.length){if((o=u[0]=u[0].slice(0)).length>2&&"ID"===(s=o[0]).type&&9===t.nodeType&&L&&w.relative[o[1].type]){if(!(t=(w.find.ID(s.matches[0].replace(oe,ae),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(r=ee.needsContext.test(e)?0:o.length;r--&&(s=o[r],!w.relative[a=s.type]);)if((l=w.find[a])&&(i=l(s.matches[0].replace(oe,ae),re.test(o[0].type)&&f(t.parentNode)||t))){if(o.splice(r,1),!(e=i.length&&g(o)))return H.apply(n,i),n;break}}return(c||x(e,u))(i,t,!L,n,!t||re.test(e)&&f(t.parentNode)||t),n}var S,w,A,D,I,O,N,L,k,P,H=Le,R=Ce.expando,j=0,W=0,F=i(),M=i(),q=i(),U=i(),V=function(e,t){return e===t&&(I=!0),0},z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="(?:\\\\[\\da-fA-F]{1,6}"+De+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",G="\\["+De+"*("+B+")(?:"+De+"*([*^$|!~]?=)"+De+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+De+"*\\]",K=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+G+")*)|.*)\\)|)",Q=new RegExp(De+"+","g"),$=new RegExp("^"+De+"*,"+De+"*"),X=new RegExp("^"+De+"*([>+~]|"+De+")"+De+"*"),Y=new RegExp(De+"|>"),J=new RegExp(K),Z=new RegExp("^"+B+"$"),ee={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+G),PSEUDO:new RegExp("^"+K),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+De+"*(even|odd|(([+-]|)(\\d*)n|)"+De+"*(?:([+-]|)"+De+"*(\\d+)|))"+De+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+De+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+De+"*((?:-\\d)?\\d*)"+De+"*\\)|)(?=[^-]|$)","i")},te=/^(?:input|select|textarea|button)$/i,ne=/^h\d$/i,ie=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,re=/[+~]/,oe=new RegExp("\\\\[\\da-fA-F]{1,6}"+De+"?|\\\\([^\\r\\n\\f])","g"),ae=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ce=function(){d()},ue=m((function(e){return!0===e.disabled&&o(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{H.apply(se=le.call(Ne.childNodes),Ne.childNodes),se[Ne.childNodes.length].nodeType}catch(e){H={apply:function(e,t){Le.apply(e,le.call(t))},call:function(e){Le.apply(e,le.call(arguments,1))}}}for(S in n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if(d(e),L&&!U[t+" "]&&(!k||!k.test(t)))try{var i=P.call(e,t);if(i||ve.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){U(t,!0)}return n(t,O,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!=O&&d(e),Ce.contains(e,t)},n.attr=function(e,t){(e.ownerDocument||e)!=O&&d(e);var n=w.attrHandle[t.toLowerCase()],i=n&&pe.call(w.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==i?i:e.getAttribute(t)},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},Ce.uniqueSort=function(e){var t,n=[],i=0,r=0;if(I=!ve.sortStable,D=!ve.sortStable&&le.call(e,0),we.call(e,V),I){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)Ae.call(e,n[i],1)}return D=null,e},Ce.fn.uniqueSort=function(){return this.pushStack(Ce.uniqueSort(le.apply(this)))},w=Ce.expr={cacheLength:50,createPseudo:r,match:ee,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(oe,ae),e[3]=(e[3]||e[4]||e[5]||"").replace(oe,ae),"~="===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]||n.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]&&n.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return ee.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&J.test(n)&&(t=p(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(oe,ae).toLowerCase();return"*"===e?function(){return!0}:function(e){return o(e,t)}},CLASS:function(e){var t=F[e+" "];return t||(t=new RegExp("(^|"+De+")"+e+"("+De+"|$)"))&&F(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,i){return function(r){var o=n.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===i:"!="===t?o!==i:"^="===t?i&&0===o.indexOf(i):"*="===t?i&&o.indexOf(i)>-1:"$="===t?i&&o.slice(-i.length)===i:"~="===t?(" "+o.replace(Q," ")+" ").indexOf(i)>-1:"|="===t&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var s="nth"!==e.slice(0,3),a="last"!==e.slice(-4),l="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,c){var u,f,d,h,p,g=s!==a?"nextSibling":"previousSibling",m=t.parentNode,v=l&&t.nodeName.toLowerCase(),y=!c&&!l,_=!1;if(m){if(s){for(;g;){for(d=t;d=d[g];)if(l?o(d,v):1===d.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(_=(h=(u=(f=m[R]||(m[R]={}))[e]||[])[0]===j&&u[1])&&u[2],d=h&&m.childNodes[h];d=++h&&d&&d[g]||(_=h=0)||p.pop();)if(1===d.nodeType&&++_&&d===t){f[e]=[j,h,_];break}}else if(y&&(_=h=(u=(f=t[R]||(t[R]={}))[e]||[])[0]===j&&u[1]),!1===_)for(;(d=++h&&d&&d[g]||(_=h=0)||p.pop())&&(!(l?o(d,v):1===d.nodeType)||!++_||(y&&((f=d[R]||(d[R]={}))[e]=[j,_]),d!==t)););return(_-=r)===i||_%i==0&&_/i>=0}}},
PSEUDO:function(e,t){var i,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return o[R]?o(t):o.length>1?(i=[e,e,"",t],w.setFilters.hasOwnProperty(e.toLowerCase())?r((function(e,n){for(var i,r=o(e,t),s=r.length;s--;)e[i=fe.call(e,r[s])]=!(n[i]=r[s])})):function(e){return o(e,0,i)}):o}},pseudos:{not:r((function(e){var t=[],n=[],i=x(e.replace(Ie,"$1"));return i[R]?r((function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}})),has:r((function(e){return function(t){return n(e,t).length>0}})),contains:r((function(e){return e=e.replace(oe,ae),function(t){return(t.textContent||Ce.text(t)).indexOf(e)>-1}})),lang:r((function(e){return Z.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(oe,ae).toLowerCase(),function(t){var n;do{if(n=L?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===N},focus:function(e){return e===t()&&O.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(e){return o(e,"input")&&!!e.checked||o(e,"option")&&!!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!w.pseudos.empty(e)},header:function(e){return ne.test(e.nodeName)},input:function(e){return te.test(e.nodeName)},button:function(e){return o(e,"input")&&"button"===e.type||o(e,"button")},text:function(e){var t;return o(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u((function(){return[0]})),last:u((function(e,t){return[t-1]})),eq:u((function(e,t,n){return[n<0?n+t:n]})),even:u((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:u((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:u((function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:u((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}},w.pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[S]=a(S);for(S in{submit:!0,reset:!0})w.pseudos[S]=l(S);h.prototype=w.filters=w.pseudos,w.setFilters=new h,ve.sortStable=R.split("").sort(V).join("")===R,d(),ve.sortDetached=s((function(e){return 1&e.compareDocumentPosition(O.createElement("fieldset"))})),Ce.find=n,Ce.expr[":"]=Ce.expr.pseudos,Ce.unique=Ce.uniqueSort,n.compile=x,n.select=C,n.setDocument=d,n.escape=Ce.escapeSelector,n.getText=Ce.text,n.isXML=Ce.isXMLDoc,n.selectors=Ce.expr,n.support=Ce.support,n.uniqueSort=Ce.uniqueSort}();var ke=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&Ce(e).is(n))break;i.push(e)}return i},Pe=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},He=Ce.expr.match.needsContext,Re=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ce.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?Ce.find.matchesSelector(i,e)?[i]:[]:Ce.find.matches(e,Ce.grep(t,(function(e){return 1===e.nodeType})))},Ce.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(Ce(e).filter((function(){for(t=0;t<i;t++)if(Ce.contains(r[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)Ce.find(e,r[t],n);return i>1?Ce.uniqueSort(n):n},filter:function(e){return this.pushStack(a(this,e||[],!1))},not:function(e){return this.pushStack(a(this,e||[],!0))},is:function(e){return!!a(this,"string"==typeof e&&He.test(e)?Ce(e):e||[],!1).length}});var je,We=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Ce.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||je,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:We.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 Ce?t[0]:t,Ce.merge(this,Ce.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:Ee,!0)),Re.test(i[1])&&Ce.isPlainObject(t))for(i in t)ye(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=Ee.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ye(e)?void 0!==n.ready?n.ready(e):e(Ce):Ce.makeArray(e,this)}).prototype=Ce.fn,je=Ce(Ee);var Fe=/^(?:parents|prev(?:Until|All))/,Me={children:!0,contents:!0,next:!0,prev:!0};Ce.fn.extend({has:function(e){var t=Ce(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(Ce.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&Ce(e);if(!He.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&Ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?Ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?fe.call(Ce(e),this[0]):fe.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Ce.uniqueSort(Ce.merge(this.get(),Ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ke(e,"parentNode")},parentsUntil:function(e,t,n){return ke(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return ke(e,"nextSibling")},prevAll:function(e){return ke(e,"previousSibling")},nextUntil:function(e,t,n){return ke(e,"nextSibling",n)},prevUntil:function(e,t,n){return ke(e,"previousSibling",n)},siblings:function(e){return Pe((e.parentNode||{}).firstChild,e)},children:function(e){return Pe(e.firstChild)},contents:function(e){return null!=e.contentDocument&&ae(e.contentDocument)?e.contentDocument:(o(e,"template")&&(e=e.content||e),Ce.merge([],e.childNodes))}},(function(e,t){Ce.fn[e]=function(n,i){var r=Ce.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=Ce.filter(i,r)),this.length>1&&(Me[e]||Ce.uniqueSort(r),Fe.test(e)&&r.reverse()),this.pushStack(r)}}));var qe=/[^\x20\t\r\n\f]+/g;Ce.Callbacks=function(e){e="string"==typeof e?c(e):Ce.extend({},e);var t,n,r,o,s=[],a=[],l=-1,u=function(){for(o=o||e.once,r=t=!0;a.length;l=-1)for(n=a.shift();++l<s.length;)!1===s[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=s.length,n=!1);e.memory||(n=!1),t=!1,o&&(s=n?[]:"")},f={add:function(){return s&&(n&&!t&&(l=s.length-1,a.push(n)),function t(n){Ce.each(n,(function(n,r){ye(r)?e.unique&&f.has(r)||s.push(r):r&&r.length&&"string"!==i(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return Ce.each(arguments,(function(e,t){for(var n;(n=Ce.inArray(t,s,n))>-1;)s.splice(n,1),n<=l&&l--})),this},has:function(e){return e?Ce.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return o=a=[],n||t||(s=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!r}};return f},Ce.extend({Deferred:function(t){var n=[["notify","progress",Ce.Callbacks("memory"),Ce.Callbacks("memory"),2],["resolve","done",Ce.Callbacks("once memory"),Ce.Callbacks("once memory"),0,"resolved"],["reject","fail",Ce.Callbacks("once memory"),Ce.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return Ce.Deferred((function(t){Ce.each(n,(function(n,i){var r=ye(e[i[4]])&&e[i[4]];o[i[1]]((function(){var e=r&&r.apply(this,arguments);e&&ye(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(t,i,r){function o(t,n,i,r){return function(){var a=this,l=arguments,c=function(){var e,c;if(!(t<s)){if((e=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,ye(c)?r?c.call(e,o(s,n,u,r),o(s,n,f,r)):(s++,c.call(e,o(s,n,u,r),o(s,n,f,r),o(s,n,u,n.notifyWith))):(i!==u&&(a=void 0,l=[e]),(r||n.resolveWith)(a,l))}},d=r?c:function(){try{c()}catch(e){Ce.Deferred.exceptionHook&&Ce.Deferred.exceptionHook(e,d.error),t+1>=s&&(i!==f&&(a=void 0,l=[e]),n.rejectWith(a,l))}};t?d():(Ce.Deferred.getErrorHook?d.error=Ce.Deferred.getErrorHook():Ce.Deferred.getStackHook&&(d.error=Ce.Deferred.getStackHook()),e.setTimeout(d))}}var s=0;return Ce.Deferred((function(e){n[0][3].add(o(0,e,ye(r)?r:u,e.notifyWith)),n[1][3].add(o(0,e,ye(t)?t:u)),n[2][3].add(o(0,e,ye(i)?i:f))})).promise()},promise:function(e){return null!=e?Ce.extend(e,r):r}},o={};return Ce.each(n,(function(e,t){var s=t[2],a=t[5];r[t[1]]=s.add,a&&s.add((function(){i=a}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),s.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=s.fireWith})),r.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=le.call(arguments),o=Ce.Deferred(),s=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?le.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(d(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||ye(r[n]&&r[n].then)))return o.then();for(;n--;)d(r[n],s(n),o.reject);return o.promise()}});var Ue=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ce.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Ue.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},Ce.readyException=function(t){e.setTimeout((function(){throw t}))};var Ve=Ce.Deferred();Ce.fn.ready=function(e){return Ve.then(e).catch((function(e){Ce.readyException(e)})),this},Ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Ce.readyWait:Ce.isReady)||(Ce.isReady=!0,!0!==e&&--Ce.readyWait>0||Ve.resolveWith(Ee,[Ce]))}}),Ce.ready.then=Ve.then,"complete"===Ee.readyState||"loading"!==Ee.readyState&&!Ee.documentElement.doScroll?e.setTimeout(Ce.ready):(Ee.addEventListener("DOMContentLoaded",h),e.addEventListener("load",h));var ze=function(e,t,n,r,o,s,a){var l=0,c=e.length,u=null==n;if("object"===i(n))for(l in o=!0,n)ze(e,t,l,n[l],!0,s,a);else if(void 0!==r&&(o=!0,ye(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(Ce(e),n)})),t))for(;l<c;l++)t(e[l],n,a?r:r.call(e[l],l,t(e[l],n)));return o?e:u?t.call(e):c?t(e[0],n):s},Be=/^-ms-/,Ge=/-([a-z])/g,Ke=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};m.uid=1,m.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ke(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[g(t)]=n;else for(i in t)r[g(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][g(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(g):(t=g(t))in i?[t]:t.match(qe)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||Ce.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!Ce.isEmptyObject(t)}};var Qe=new m,$e=new m,Xe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ye=/[A-Z]/g;Ce.extend({hasData:function(e){return $e.hasData(e)||Qe.hasData(e)},data:function(e,t,n){return $e.access(e,t,n)},removeData:function(e,t){$e.remove(e,t)},_data:function(e,t,n){return Qe.access(e,t,n)},_removeData:function(e,t){Qe.remove(e,t)}}),Ce.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=$e.get(o),1===o.nodeType&&!Qe.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=g(i.slice(5)),y(o,i,r[i]));Qe.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){$e.set(this,e)})):ze(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=$e.get(o,e))||void 0!==(n=y(o,e))?n:void 0;this.each((function(){$e.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){$e.remove(this,e)}))}}),Ce.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,Ce.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=Ce.queue(e,t),i=n.length,r=n.shift(),o=Ce._queueHooks(e,t),s=function(){Ce.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:Ce.Callbacks("once memory").add((function(){Qe.remove(e,[t+"queue",n])}))})}}),Ce.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Ce.queue(this[0],e):void 0===t?this:this.each((function(){var n=Ce.queue(this,e,t);Ce._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Ce.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){Ce.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=Ce.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=Qe.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var Je=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ze=new RegExp("^(?:([+-])=|)("+Je+")([a-z%]*)$","i"),et=["Top","Right","Bottom","Left"],tt=Ee.documentElement,nt=function(e){return Ce.contains(e.ownerDocument,e)},it={composed:!0};tt.getRootNode&&(nt=function(e){return Ce.contains(e.ownerDocument,e)||e.getRootNode(it)===e.ownerDocument});var rt=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&nt(e)&&"none"===Ce.css(e,"display")},ot={};Ce.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(){rt(this)?Ce(this).show():Ce(this).hide()}))}});var st,at,lt=/^(?:checkbox|radio)$/i,ct=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ut=/^$|^module$|\/(?:java|ecma)script/i;st=Ee.createDocumentFragment().appendChild(Ee.createElement("div")),(at=Ee.createElement("input")).setAttribute("type","radio"),at.setAttribute("checked","checked"),at.setAttribute("name","t"),st.appendChild(at),ve.checkClone=st.cloneNode(!0).cloneNode(!0).lastChild.checked,st.innerHTML="<textarea>x</textarea>",ve.noCloneChecked=!!st.cloneNode(!0).lastChild.defaultValue,st.innerHTML="<option></option>",ve.option=!!st.lastChild;var ft={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,"",""]};ft.tbody=ft.tfoot=ft.colgroup=ft.caption=ft.thead,ft.th=ft.td,ve.option||(ft.optgroup=ft.option=[1,"<select multiple='multiple'>","</select>"]);var dt=/<|&#?\w+;/,ht=/^([^.]*)(?:\.(.+)|)/;Ce.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,c,u,f,d,h,p,g,m=Qe.get(e);if(Ke(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&Ce.find.matchesSelector(tt,r),n.guid||(n.guid=Ce.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(t){return void 0!==Ce&&Ce.event.triggered!==t.type?Ce.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(qe)||[""]).length;c--;)h=g=(a=ht.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),h&&(f=Ce.event.special[h]||{},h=(r?f.delegateType:f.bindType)||h,f=Ce.event.special[h]||{},u=Ce.extend({type:h,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&Ce.expr.match.needsContext.test(r),namespace:p.join(".")},o),(d=l[h])||((d=l[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,i,p,s)||e.addEventListener&&e.addEventListener(h,s)),f.add&&(f.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,u):d.push(u),Ce.event.global[h]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,c,u,f,d,h,p,g,m=Qe.hasData(e)&&Qe.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(qe)||[""]).length;c--;)if(h=g=(a=ht.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),h){for(f=Ce.event.special[h]||{},d=l[h=(i?f.delegateType:f.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)u=d[o],!r&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,f.remove&&f.remove.call(e,u));s&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,m.handle)||Ce.removeEvent(e,h,m.handle),delete l[h])}else for(h in l)Ce.event.remove(e,h+t[c],n,i,!0);Ce.isEmptyObject(l)&&Qe.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=new Array(arguments.length),l=Ce.event.fix(e),c=(Qe.get(this,"events")||Object.create(null))[l.type]||[],u=Ce.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(s=Ce.event.handlers.call(this,l,c),t=0;(r=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((Ce.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?Ce(r,this).index(c)>-1:Ce.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(Ce.Event.prototype,e,{enumerable:!0,configurable:!0,get:ye(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[Ce.expando]?e:new Ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return lt.test(t.type)&&t.click&&o(t,"input")&&D(t,"click",!0),!1},trigger:function(e){var t=this||e;return lt.test(t.type)&&t.click&&o(t,"input")&&D(t,"click"),!0},_default:function(e){var t=e.target;return lt.test(t.type)&&t.click&&o(t,"input")&&Qe.get(t,"click")||o(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Ce.Event=function(e,t){if(!(this instanceof Ce.Event))return new Ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?S:w,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&&Ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Ce.expando]=!0},Ce.Event.prototype={constructor:Ce.Event,isDefaultPrevented:w,isPropagationStopped:w,isImmediatePropagationStopped:w,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=S,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=S,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=S,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},Ce.event.addProp),Ce.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(Ee.documentMode){var n=Qe.get(this,"handle"),i=Ce.event.fix(e);i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i)}else Ce.event.simulate(t,e.target,Ce.event.fix(e))}Ce.event.special[e]={setup:function(){var i;if(D(this,e,!0),!Ee.documentMode)return!1;(i=Qe.get(this,t))||this.addEventListener(t,n),Qe.set(this,t,(i||0)+1)},trigger:function(){return D(this,e),!0},teardown:function(){var e;if(!Ee.documentMode)return!1;(e=Qe.get(this,t)-1)?Qe.set(this,t,e):(this.removeEventListener(t,n),Qe.remove(this,t))},_default:function(t){return Qe.get(t.target,e)},delegateType:t},Ce.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=Ee.documentMode?this:i,o=Qe.get(r,t);o||(Ee.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),Qe.set(r,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=Ee.documentMode?this:i,o=Qe.get(r,t)-1;o?Qe.set(r,t,o):(Ee.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),Qe.remove(r,t))}}})),Ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){Ce.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||Ce.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),Ce.fn.extend({on:function(e,t,n,i){return A(this,e,t,n,i)},one:function(e,t,n,i){return A(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,Ce(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=w),this.each((function(){Ce.event.remove(this,e,n,t)}))}});var pt=/<script|<style|<link/i,gt=/checked\s*(?:[^=]|=\s*.checked.)/i,mt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;Ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,s,a=e.cloneNode(!0),l=nt(e);if(!(ve.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Ce.isXMLDoc(e)))for(s=T(a),i=0,r=(o=T(e)).length;i<r;i++)k(o[i],s[i]);if(t)if(n)for(o=o||T(e),s=s||T(a),i=0,r=o.length;i<r;i++)L(o[i],s[i]);else L(e,a);return(s=T(a,"script")).length>0&&x(s,!l&&T(e,"script")),a},cleanData:function(e){for(var t,n,i,r=Ce.event.special,o=0;void 0!==(n=e[o]);o++)if(Ke(n)){if(t=n[Qe.expando]){if(t.events)for(i in t.events)r[i]?Ce.event.remove(n,i):Ce.removeEvent(n,i,t.handle);n[Qe.expando]=void 0}n[$e.expando]&&(n[$e.expando]=void 0)}}}),Ce.fn.extend({detach:function(e){return H(this,e,!0)},remove:function(e){return H(this,e)},text:function(e){return ze(this,(function(e){return void 0===e?Ce.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 P(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||I(this,e).appendChild(e)}))},prepend:function(){return P(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 P(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return P(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&&(Ce.cleanData(T(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return Ce.clone(this,e,t)}))},html:function(e){return ze(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!pt.test(e)&&!ft[(ct.exec(e)||["",""])[1].toLowerCase()]){e=Ce.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(Ce.cleanData(T(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return P(this,arguments,(function(t){var n=this.parentNode;Ce.inArray(this,e)<0&&(Ce.cleanData(T(this)),n&&n.replaceChild(t,this))}),e)}}),Ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){Ce.fn[e]=function(e){for(var n,i=[],r=Ce(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),Ce(r[s])[t](n),ue.apply(i,n.get());return this.pushStack(i)}}));var vt=new RegExp("^("+Je+")(?!px)[a-z%]+$","i"),yt=/^--/,_t=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Et=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i},bt=new RegExp(et.join("|"),"i");!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",tt.appendChild(c).appendChild(u);var t=e.getComputedStyle(u);i="1%"!==t.top,l=12===n(t.marginLeft),u.style.right="60%",s=36===n(t.right),r=36===n(t.width),u.style.position="absolute",o=12===n(u.offsetWidth/3),tt.removeChild(c),u=null}}function n(e){return Math.round(parseFloat(e))}var i,r,o,s,a,l,c=Ee.createElement("div"),u=Ee.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",ve.clearCloneStyle="content-box"===u.style.backgroundClip,Ce.extend(ve,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,i,r;return null==a&&(t=Ee.createElement("table"),n=Ee.createElement("tr"),i=Ee.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",tt.appendChild(t).appendChild(n).appendChild(i),r=e.getComputedStyle(n),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===n.offsetHeight,tt.removeChild(t)),a}}))}();var Tt=["Webkit","Moz","ms"],xt=Ee.createElement("div").style,Ct={},St=/^(none|table(?!-c[ea]).+)/,wt={position:"absolute",visibility:"hidden",display:"block"},At={letterSpacing:"0",fontWeight:"400"};Ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=R(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=g(t),l=yt.test(t),c=e.style;if(l||(t=F(a)),s=Ce.cssHooks[t]||Ce.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:c[t];"string"===(o=typeof n)&&(r=Ze.exec(n))&&r[1]&&(n=_(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(Ce.cssNumber[a]?"":"px")),ve.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,o,s,a=g(t);return yt.test(t)||(t=F(a)),(s=Ce.cssHooks[t]||Ce.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=R(e,t,i)),"normal"===r&&t in At&&(r=At[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),Ce.each(["height","width"],(function(e,t){Ce.cssHooks[t]={get:function(e,n,i){if(n)return!St.test(Ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?U(e,t,i):Et(e,wt,(function(){return U(e,t,i)}))},set:function(e,n,i){var r,o=_t(e),s=!ve.scrollboxSize()&&"absolute"===o.position,a=(s||i)&&"border-box"===Ce.css(e,"boxSizing",!1,o),l=i?q(e,t,i,a,o):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-q(e,t,"border",!1,o)-.5)),l&&(r=Ze.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=Ce.css(e,t)),M(e,n,l)}}})),Ce.cssHooks.marginLeft=j(ve.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(R(e,"marginLeft"))||e.getBoundingClientRect().left-Et(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),Ce.each({margin:"",padding:"",border:"Width"},(function(e,t){Ce.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+et[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(Ce.cssHooks[e+t].set=M)})),Ce.fn.extend({css:function(e,t){return ze(this,(function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=_t(e),r=t.length;s<r;s++)o[t[s]]=Ce.css(e,t[s],!1,i);return o}return void 0!==n?Ce.style(e,t,n):Ce.css(e,t)}),e,t,arguments.length>1)}}),Ce.Tween=V,V.prototype={constructor:V,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||Ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(Ce.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=Ce.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=Ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){Ce.fx.step[e.prop]?Ce.fx.step[e.prop](e):1!==e.elem.nodeType||!Ce.cssHooks[e.prop]&&null==e.elem.style[F(e.prop)]?e.elem[e.prop]=e.now:Ce.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)}},Ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Ce.fx=V.prototype.init,Ce.fx.step={};var Dt,It,Ot=/^(?:toggle|show|hide)$/,Nt=/queueHooks$/;Ce.Animation=Ce.extend(X,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return _(n.elem,e,Ze.exec(t),n),n}]},tweener:function(e,t){ye(e)?(t=e,e=["*"]):e=e.match(qe);for(var n,i=0,r=e.length;i<r;i++)n=e[i],X.tweeners[n]=X.tweeners[n]||[],X.tweeners[n].unshift(t)},prefilters:[Q],prefilter:function(e,t){t?X.prefilters.unshift(e):X.prefilters.push(e)}}),Ce.speed=function(e,t,n){var i=e&&"object"==typeof e?Ce.extend({},e):{complete:n||!n&&t||ye(e)&&e,duration:e,easing:n&&t||t&&!ye(t)&&t};return Ce.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in Ce.fx.speeds?i.duration=Ce.fx.speeds[i.duration]:i.duration=Ce.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){ye(i.old)&&i.old.call(this),i.queue&&Ce.dequeue(this,i.queue)},i},Ce.fn.extend({fadeTo:function(e,t,n,i){return this.filter(rt).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=Ce.isEmptyObject(e),o=Ce.speed(t,n,i),s=function(){var t=X(this,Ce.extend({},e),o);(r||Qe.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)}
;return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",o=Ce.timers,s=Qe.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&Nt.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||Ce.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Qe.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=Ce.timers,s=i?i.length:0;for(n.finish=!0,Ce.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),Ce.each(["toggle","show","hide"],(function(e,t){var n=Ce.fn[t];Ce.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(G(t,!0),e,i,r)}})),Ce.each({slideDown:G("show"),slideUp:G("hide"),slideToggle:G("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){Ce.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),Ce.timers=[],Ce.fx.tick=function(){var e,t=0,n=Ce.timers;for(Dt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Ce.fx.stop(),Dt=void 0},Ce.fx.timer=function(e){Ce.timers.push(e),Ce.fx.start()},Ce.fx.interval=13,Ce.fx.start=function(){It||(It=!0,z())},Ce.fx.stop=function(){It=null},Ce.fx.speeds={slow:600,fast:200,_default:400},Ce.fn.delay=function(t,n){return t=Ce.fx&&Ce.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}}))},function(){var e=Ee.createElement("input"),t=Ee.createElement("select").appendChild(Ee.createElement("option"));e.type="checkbox",ve.checkOn=""!==e.value,ve.optSelected=t.selected,(e=Ee.createElement("input")).value="t",e.type="radio",ve.radioValue="t"===e.value}();var Lt,kt=Ce.expr.attrHandle;Ce.fn.extend({attr:function(e,t){return ze(this,Ce.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){Ce.removeAttr(this,e)}))}}),Ce.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?Ce.prop(e,t,n):(1===o&&Ce.isXMLDoc(e)||(r=Ce.attrHooks[t.toLowerCase()]||(Ce.expr.match.bool.test(t)?Lt:void 0)),void 0!==n?null===n?void Ce.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=Ce.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!ve.radioValue&&"radio"===t&&o(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(qe);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),Lt={set:function(e,t,n){return!1===t?Ce.removeAttr(e,n):e.setAttribute(n,n),n}},Ce.each(Ce.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=kt[t]||Ce.find.attr;kt[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=kt[s],kt[s]=r,r=null!=n(e,t,i)?s:null,kt[s]=o),r}}));var Pt=/^(?:input|select|textarea|button)$/i,Ht=/^(?:a|area)$/i;Ce.fn.extend({prop:function(e,t){return ze(this,Ce.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[Ce.propFix[e]||e]}))}}),Ce.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Ce.isXMLDoc(e)||(t=Ce.propFix[t]||t,r=Ce.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=Ce.find.attr(e,"tabindex");return t?parseInt(t,10):Pt.test(e.nodeName)||Ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ve.optSelected||(Ce.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)}}),Ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){Ce.propFix[this.toLowerCase()]=this})),Ce.fn.extend({addClass:function(e){var t,n,i,r,o,s;return ye(e)?this.each((function(t){Ce(this).addClass(e.call(this,t,J(this)))})):(t=Z(e)).length?this.each((function(){if(i=J(this),n=1===this.nodeType&&" "+Y(i)+" "){for(o=0;o<t.length;o++)r=t[o],n.indexOf(" "+r+" ")<0&&(n+=r+" ");s=Y(n),i!==s&&this.setAttribute("class",s)}})):this},removeClass:function(e){var t,n,i,r,o,s;return ye(e)?this.each((function(t){Ce(this).removeClass(e.call(this,t,J(this)))})):arguments.length?(t=Z(e)).length?this.each((function(){if(i=J(this),n=1===this.nodeType&&" "+Y(i)+" "){for(o=0;o<t.length;o++)for(r=t[o];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");s=Y(n),i!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,i,r,o,s=typeof e,a="string"===s||Array.isArray(e);return ye(e)?this.each((function(n){Ce(this).toggleClass(e.call(this,n,J(this),t),t)})):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=Z(e),this.each((function(){if(a)for(o=Ce(this),r=0;r<n.length;r++)i=n[r],o.hasClass(i)?o.removeClass(i):o.addClass(i);else void 0!==e&&"boolean"!==s||((i=J(this))&&Qe.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":Qe.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+Y(J(n))+" ").indexOf(t)>-1)return!0;return!1}});var Rt=/\r/g;Ce.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=ye(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,Ce(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=Ce.map(r,(function(e){return null==e?"":e+""}))),(t=Ce.valHooks[this.type]||Ce.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=Ce.valHooks[r.type]||Ce.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(Rt,""):null==n?"":n:void 0}}),Ce.extend({valHooks:{option:{get:function(e){var t=Ce.find.attr(e,"value");return null!=t?t:Y(Ce.text(e))}},select:{get:function(e){var t,n,i,r=e.options,s=e.selectedIndex,a="select-one"===e.type,l=a?null:[],c=a?s+1:r.length;for(i=s<0?c:a?s:0;i<c;i++)if(((n=r[i]).selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=Ce(n).val(),a)return t;l.push(t)}return l},set:function(e,t){for(var n,i,r=e.options,o=Ce.makeArray(t),s=r.length;s--;)((i=r[s]).selected=Ce.inArray(Ce.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),Ce.each(["radio","checkbox"],(function(){Ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Ce.inArray(Ce(e).val(),t)>-1}},ve.checkOn||(Ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var jt=e.location,Wt={guid:Date.now()},Ft=/\?/;Ce.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||Ce.error("Invalid XML: "+(i?Ce.map(i.childNodes,(function(e){return e.textContent})).join("\n"):t)),n};var Mt=/^(?:focusinfocus|focusoutblur)$/,qt=function(e){e.stopPropagation()};Ce.extend(Ce.event,{trigger:function(t,n,i,r){var o,s,a,l,c,u,f,d,h=[i||Ee],p=pe.call(t,"type")?t.type:t,g=pe.call(t,"namespace")?t.namespace.split("."):[];if(s=d=a=i=i||Ee,3!==i.nodeType&&8!==i.nodeType&&!Mt.test(p+Ce.event.triggered)&&(p.indexOf(".")>-1&&(g=p.split("."),p=g.shift(),g.sort()),c=p.indexOf(":")<0&&"on"+p,(t=t[Ce.expando]?t:new Ce.Event(p,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:Ce.makeArray(n,[t]),f=Ce.event.special[p]||{},r||!f.trigger||!1!==f.trigger.apply(i,n))){if(!r&&!f.noBubble&&!_e(i)){for(l=f.delegateType||p,Mt.test(l+p)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(i.ownerDocument||Ee)&&h.push(a.defaultView||a.parentWindow||e)}for(o=0;(s=h[o++])&&!t.isPropagationStopped();)d=s,t.type=o>1?l:f.bindType||p,(u=(Qe.get(s,"events")||Object.create(null))[t.type]&&Qe.get(s,"handle"))&&u.apply(s,n),(u=c&&s[c])&&u.apply&&Ke(s)&&(t.result=u.apply(s,n),!1===t.result&&t.preventDefault());return t.type=p,r||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),n)||!Ke(i)||c&&ye(i[p])&&!_e(i)&&((a=i[c])&&(i[c]=null),Ce.event.triggered=p,t.isPropagationStopped()&&d.addEventListener(p,qt),i[p](),t.isPropagationStopped()&&d.removeEventListener(p,qt),Ce.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(e,t,n){var i=Ce.extend(new Ce.Event,n,{type:e,isSimulated:!0});Ce.event.trigger(i,null,t)}}),Ce.fn.extend({trigger:function(e,t){return this.each((function(){Ce.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return Ce.event.trigger(e,t,n,!0)}});var Ut=/\[\]$/,Vt=/\r?\n/g,zt=/^(?:submit|button|image|reset|file)$/i,Bt=/^(?:input|select|textarea|keygen)/i;Ce.param=function(e,t){var n,i=[],r=function(e,t){var n=ye(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Ce.isPlainObject(e))Ce.each(e,(function(){r(this.name,this.value)}));else for(n in e)ee(n,e[n],t,r);return i.join("&")},Ce.fn.extend({serialize:function(){return Ce.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=Ce.prop(this,"elements");return e?Ce.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!Ce(this).is(":disabled")&&Bt.test(this.nodeName)&&!zt.test(e)&&(this.checked||!lt.test(e))})).map((function(e,t){var n=Ce(this).val();return null==n?null:Array.isArray(n)?Ce.map(n,(function(e){return{name:t.name,value:e.replace(Vt,"\r\n")}})):{name:t.name,value:n.replace(Vt,"\r\n")}})).get()}});var Gt=/%20/g,Kt=/#.*$/,Qt=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)$/gm,Xt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Yt=/^(?:GET|HEAD)$/,Jt=/^\/\//,Zt={},en={},tn="*/".concat("*"),nn=Ee.createElement("a");nn.href=jt.href,Ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jt.href,type:"GET",isLocal:Xt.test(jt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tn,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":Ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ie(ie(e,Ce.ajaxSettings),t):ie(Ce.ajaxSettings,e)},ajaxPrefilter:te(Zt),ajaxTransport:te(en),ajax:function(t,n){function i(t,n,i,a){var c,d,h,E,b,T=n;u||(u=!0,l&&e.clearTimeout(l),r=void 0,s=a||"",x.readyState=t>0?4:0,c=t>=200&&t<300||304===t,i&&(E=re(p,x,i)),!c&&Ce.inArray("script",p.dataTypes)>-1&&Ce.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),E=oe(p,E,x,c),c?(p.ifModified&&((b=x.getResponseHeader("Last-Modified"))&&(Ce.lastModified[o]=b),(b=x.getResponseHeader("etag"))&&(Ce.etag[o]=b)),204===t||"HEAD"===p.type?T="nocontent":304===t?T="notmodified":(T=E.state,d=E.data,c=!(h=E.error))):(h=T,!t&&T||(T="error",t<0&&(t=0))),x.status=t,x.statusText=(n||T)+"",c?v.resolveWith(g,[d,T,x]):v.rejectWith(g,[x,T,h]),x.statusCode(_),_=void 0,f&&m.trigger(c?"ajaxSuccess":"ajaxError",[x,p,c?d:h]),y.fireWith(g,[x,T]),f&&(m.trigger("ajaxComplete",[x,p]),--Ce.active||Ce.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,o,s,a,l,c,u,f,d,h,p=Ce.ajaxSetup({},n),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?Ce(g):Ce.event,v=Ce.Deferred(),y=Ce.Callbacks("once memory"),_=p.statusCode||{},E={},b={},T="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=$t.exec(s);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?s:null},setRequestHeader:function(e,t){return null==u&&(e=b[e.toLowerCase()]=b[e.toLowerCase()]||e,E[e]=t),this},overrideMimeType:function(e){return null==u&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)x.always(e[x.status]);else for(t in e)_[t]=[_[t],e[t]];return this},abort:function(e){var t=e||T;return r&&r.abort(t),i(0,t),this}};if(v.promise(x),p.url=((t||p.url||jt.href)+"").replace(Jt,jt.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(qe)||[""],null==p.crossDomain){c=Ee.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=nn.protocol+"//"+nn.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=Ce.param(p.data,p.traditional)),ne(Zt,p,n,x),u)return x;for(d in(f=Ce.event&&p.global)&&0==Ce.active++&&Ce.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Yt.test(p.type),o=p.url.replace(Kt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Gt,"+")):(h=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Ft.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Qt,"$1"),h=(Ft.test(o)?"&":"?")+"_="+Wt.guid+++h),p.url=o+h),p.ifModified&&(Ce.lastModified[o]&&x.setRequestHeader("If-Modified-Since",Ce.lastModified[o]),Ce.etag[o]&&x.setRequestHeader("If-None-Match",Ce.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+tn+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(g,x,p)||u))return x.abort();if(T="abort",y.add(p.complete),x.done(p.success),x.fail(p.error),r=ne(en,p,n,x)){if(x.readyState=1,f&&m.trigger("ajaxSend",[x,p]),u)return x;p.async&&p.timeout>0&&(l=e.setTimeout((function(){x.abort("timeout")}),p.timeout));try{u=!1,r.send(E,i)}catch(e){if(u)throw e;i(-1,e)}}else i(-1,"No Transport");return x},getJSON:function(e,t,n){return Ce.get(e,t,n,"json")},getScript:function(e,t){return Ce.get(e,void 0,t,"script")}}),Ce.each(["get","post"],(function(e,t){Ce[t]=function(e,n,i,r){return ye(n)&&(r=r||i,i=n,n=void 0),Ce.ajax(Ce.extend({url:e,type:t,dataType:r,data:n,success:i},Ce.isPlainObject(e)&&e))}})),Ce.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),Ce._evalUrl=function(e,t,n){return Ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Ce.globalEval(e,t,n)}})},Ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(ye(e)&&(e=e.call(this[0])),t=Ce(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(e){return ye(e)?this.each((function(t){Ce(this).wrapInner(e.call(this,t))})):this.each((function(){var t=Ce(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=ye(e);return this.each((function(n){Ce(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){Ce(this).replaceWith(this.childNodes)})),this}}),Ce.expr.pseudos.hidden=function(e){return!Ce.expr.pseudos.visible(e)},Ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Ce.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var rn={0:200,1223:204},on=Ce.ajaxSettings.xhr();ve.cors=!!on&&"withCredentials"in on,ve.ajax=on=!!on,Ce.ajaxTransport((function(t){var n,i;if(ve.cors||on&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(rn[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout((function(){n&&i()}))},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}})),Ce.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),Ce.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 Ce.globalEval(e),e}}}),Ce.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),Ce.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=Ce("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),Ee.head.appendChild(t[0])},abort:function(){n&&n()}}}));var sn,an=[],ln=/(=)\?(?=&|$)|\?\?/;Ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=an.pop()||Ce.expando+"_"+Wt.guid++;return this[e]=!0,e}}),Ce.ajaxPrefilter("json jsonp",(function(t,n,i){var r,o,s,a=!1!==t.jsonp&&(ln.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ln.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=ye(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(ln,"$1"+r):!1!==t.jsonp&&(t.url+=(Ft.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||Ce.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=e[r],e[r]=function(){s=arguments},i.always((function(){void 0===o?Ce(e).removeProp(r):e[r]=o,t[r]&&(t.jsonpCallback=n.jsonpCallback,an.push(r)),s&&ye(o)&&o(s[0]),s=o=void 0})),"script"})),ve.createHTMLDocument=((sn=Ee.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===sn.childNodes.length),Ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(ve.createHTMLDocument?((i=(t=Ee.implementation.createHTMLDocument("")).createElement("base")).href=Ee.location.href,t.head.appendChild(i)):t=Ee),o=!n&&[],(r=Re.exec(e))?[t.createElement(r[1])]:(r=C([e],t,o),o&&o.length&&Ce(o).remove(),Ce.merge([],r.childNodes)));var i,r,o},Ce.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=Y(e.slice(a)),e=e.slice(0,a)),ye(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&Ce.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){o=arguments,s.html(i?Ce("<div>").append(Ce.parseHTML(e)).find(i):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},Ce.expr.pseudos.animated=function(e){return Ce.grep(Ce.timers,(function(t){return e===t.elem})).length},Ce.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c=Ce.css(e,"position"),u=Ce(e),f={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=Ce.css(e,"top"),l=Ce.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(s=(i=u.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),ye(t)&&(t=t.call(e,n,Ce.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):u.css(f)}},Ce.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){Ce.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.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"===Ce.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"===Ce.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=Ce(e).offset()).top+=Ce.css(e,"borderTopWidth",!0),r.left+=Ce.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-Ce.css(i,"marginTop",!0),left:t.left-r.left-Ce.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===Ce.css(e,"position");)e=e.offsetParent;return e||tt}))}}),Ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;Ce.fn[e]=function(i){return ze(this,(function(e,i,r){var o;if(_e(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r}),e,i,arguments.length)}})),Ce.each(["top","left"],(function(e,t){Ce.cssHooks[t]=j(ve.pixelPosition,(function(e,n){if(n)return n=R(e,t),vt.test(n)?Ce(e).position()[t]+"px":n}))})),Ce.each({Height:"height",Width:"width"},(function(e,t){Ce.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){Ce.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return ze(this,(function(t,n,r){var o;return _e(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?Ce.css(t,n,a):Ce.style(t,n,r,a)}),t,s?r:void 0,s)}}))})),Ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){Ce.fn[t]=function(e){return this.on(t,e)}})),Ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Ce.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,t){Ce.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var cn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;Ce.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),ye(e))return i=le.call(arguments,2),r=function(){return e.apply(t||this,i.concat(le.call(arguments)))},r.guid=e.guid=e.guid||Ce.guid++,r},Ce.holdReady=function(e){e?Ce.readyWait++:Ce.ready(!0)},Ce.isArray=Array.isArray,Ce.parseJSON=JSON.parse,Ce.nodeName=o,Ce.isFunction=ye,Ce.isWindow=_e,Ce.camelCase=g,Ce.type=i,Ce.now=Date.now,Ce.isNumeric=function(e){var t=Ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},Ce.trim=function(e){return null==e?"":(e+"").replace(cn,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return Ce}));var un=e.jQuery,fn=e.$;return Ce.noConflict=function(t){return e.$===Ce&&(e.$=fn),t&&e.jQuery===Ce&&(e.jQuery=un),Ce},void 0===t&&(e.jQuery=e.$=Ce),Ce})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t((e=e||self).bootstrap={},e.jQuery,e.Popper)}(this,(function(e,t,n){"use strict";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)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){o(e,t,n[t])}))}return e}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function l(e){return{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}function c(){return{bindType:p,delegateType:p,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function u(e){var n=this,i=!1;return t(this).one(v.TRANSITION_END,(function(){i=!0})),setTimeout((function(){i||v.triggerTransitionEnd(n)}),e),this}function f(){t.fn.emulateTransitionEnd=u,t.event.special[v.TRANSITION_END]=c()}function d(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===Qe.indexOf(n)||Boolean(e.nodeValue.match(Xe)||e.nodeValue.match(Ye));for(var i=t.filter((function(e){return e instanceof RegExp})),r=0,o=i.length;r<o;r++)if(n.match(i[r]))return!0;return!1}function h(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var i=(new window.DOMParser).parseFromString(e,"text/html"),r=Object.keys(t),o=[].slice.call(i.body.querySelectorAll("*")),s=function(e){var n=o[e],i=n.nodeName.toLowerCase();if(-1===r.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var s=[].slice.call(n.attributes),a=[].concat(t["*"]||[],t[i]||[]);s.forEach((function(e){d(e,a)||n.removeAttribute(e.nodeName)}))},a=0,l=o.length;a<l;a++)s(a,l);return i.body.innerHTML}t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n;var p="transitionend",g=1e6,m=1e3,v={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(Math.random()*g)}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var n=t(e).css("transition-duration"),i=t(e).css("transition-delay"),r=parseFloat(n),o=parseFloat(i);return r||o?(n=n.split(",")[0],i=i.split(",")[0],(parseFloat(n)+parseFloat(i))*m):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(p)},supportsTransitionEnd:function(){return Boolean(p)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=t[i],s=o&&v.isElement(o)?"element":l(o);if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?v.findShadowRoot(e.parentNode):null}};f();var y="alert",_="4.3.1",E="bs.alert",b="."+E,T=".data-api",x=t.fn[y],C={DISMISS:'[data-dismiss="alert"]'},S={CLOSE:"close"+b,CLOSED:"closed"+b,CLICK_DATA_API:"click"+b+T},w={ALERT:"alert",FADE:"fade",SHOW:"show"},A=function(){function e(e){this._element=e}var n=e.prototype;return n.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},n.dispose=function(){t.removeData(this._element,E),this._element=null},n._getRootElement=function(e){var n=v.getSelectorFromElement(e),i=!1;return n&&(i=document.querySelector(n)),i||(i=t(e).closest("."+w.ALERT)[0]),i},n._triggerCloseEvent=function(e){var n=t.Event(S.CLOSE);return t(e).trigger(n),n},n._removeElement=function(e){var n=this;if(t(e).removeClass(w.SHOW),t(e).hasClass(w.FADE)){var i=v.getTransitionDurationFromElement(e);t(e).one(v.TRANSITION_END,(function(t){return n._destroyElement(e,t)})).emulateTransitionEnd(i)}else this._destroyElement(e)},n._destroyElement=function(e){t(e).detach().trigger(S.CLOSED).remove()},e._jQueryInterface=function(n){return this.each((function(){var i=t(this),r=i.data(E);r||(r=new e(this),i.data(E,r)),"close"===n&&r[n](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},r(e,null,[{key:"VERSION",get:function(){return _}}]),e}();t(document).on(S.CLICK_DATA_API,C.DISMISS,A._handleDismiss(new A)),t.fn[y]=A._jQueryInterface,t.fn[y].Constructor=A,t.fn[y].noConflict=function(){return t.fn[y]=x,A._jQueryInterface};var D="button",I="4.3.1",O="bs.button",N="."+O,L=".data-api",k=t.fn[D],P={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},H={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},R={CLICK_DATA_API:"click"+N+L,FOCUS_BLUR_DATA_API:"focus"+N+L+" blur"+N+L},j=function(){function e(e){this._element=e}var n=e.prototype;return n.toggle=function(){var e=!0,n=!0,i=t(this._element).closest(H.DATA_TOGGLE)[0];if(i){var r=this._element.querySelector(H.INPUT);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(P.ACTIVE))e=!1;else{var o=i.querySelector(H.ACTIVE);o&&t(o).removeClass(P.ACTIVE)}if(e){if(r.hasAttribute("disabled")||i.hasAttribute("disabled")||r.classList.contains("disabled")||i.classList.contains("disabled"))return;r.checked=!this._element.classList.contains(P.ACTIVE),t(r).trigger("change")}r.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(P.ACTIVE)),e&&t(this._element).toggleClass(P.ACTIVE)},n.dispose=function(){t.removeData(this._element,O),this._element=null},e._jQueryInterface=function(n){return this.each((function(){var i=t(this).data(O);i||(i=new e(this),t(this).data(O,i)),"toggle"===n&&i[n]()}))},r(e,null,[{key:"VERSION",get:function(){return I}}]),e}();t(document).on(R.CLICK_DATA_API,H.DATA_TOGGLE_CARROT,(function(e){e.preventDefault();var n=e.target;t(n).hasClass(P.BUTTON)||(n=t(n).closest(H.BUTTON)),j._jQueryInterface.call(t(n),"toggle")})).on(R.FOCUS_BLUR_DATA_API,H.DATA_TOGGLE_CARROT,(function(e){var n=t(e.target).closest(H.BUTTON)[0];t(n).toggleClass(P.FOCUS,/^focus(in)?$/.test(e.type))})),t.fn[D]=j._jQueryInterface,t.fn[D].Constructor=j,t.fn[D].noConflict=function(){return t.fn[D]=k,j._jQueryInterface};var W="carousel",F="4.3.1",M="bs.carousel",q="."+M,U=".data-api",V=t.fn[W],z=37,B=39,G=500,K=40,Q={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},$={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},X={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},Y={SLIDE:"slide"+q,SLID:"slid"+q,KEYDOWN:"keydown"+q,MOUSEENTER:"mouseenter"+q,MOUSELEAVE:"mouseleave"+q,TOUCHSTART:"touchstart"+q,TOUCHMOVE:"touchmove"+q,TOUCHEND:"touchend"+q,POINTERDOWN:"pointerdown"+q,POINTERUP:"pointerup"+q,DRAG_START:"dragstart"+q,LOAD_DATA_API:"load"+q+U,CLICK_DATA_API:"click"+q+U},J={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",POINTER_EVENT:"pointer-event"},Z={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},ee={TOUCH:"touch",PEN:"pen"},te=function(){function e(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(Z.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=e.prototype;return n.next=function(){
this._isSliding||this._slide(X.NEXT)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(X.PREV)},n.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(Z.NEXT_PREV)&&(v.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(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))},n.to=function(e){var n=this;this._activeElement=this._element.querySelector(Z.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)t(this._element).one(Y.SLID,(function(){return n.to(e)}));else{if(i===e)return this.pause(),void this.cycle();var r=e>i?X.NEXT:X.PREV;this._slide(r,this._items[e])}},n.dispose=function(){t(this._element).off(q),t.removeData(this._element,M),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(e){return e=s({},Q,e),v.typeCheckConfig(W,e,$),e},n._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=K)){var t=e/this.touchDeltaX;t>0&&this.prev(),t<0&&this.next()}},n._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(Y.KEYDOWN,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&t(this._element).on(Y.MOUSEENTER,(function(t){return e.pause(t)})).on(Y.MOUSELEAVE,(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var n=function(t){e._pointerEvent&&ee[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){t.originalEvent.touches&&t.originalEvent.touches.length>1?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX},r=function(t){e._pointerEvent&&ee[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),G+e._config.interval))};t(this._element.querySelectorAll(Z.ITEM_IMG)).on(Y.DRAG_START,(function(e){return e.preventDefault()})),this._pointerEvent?(t(this._element).on(Y.POINTERDOWN,(function(e){return n(e)})),t(this._element).on(Y.POINTERUP,(function(e){return r(e)})),this._element.classList.add(J.POINTER_EVENT)):(t(this._element).on(Y.TOUCHSTART,(function(e){return n(e)})),t(this._element).on(Y.TOUCHMOVE,(function(e){return i(e)})),t(this._element).on(Y.TOUCHEND,(function(e){return r(e)})))}},n._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case z:e.preventDefault(),this.prev();break;case B:e.preventDefault(),this.next()}},n._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(Z.ITEM)):[],this._items.indexOf(e)},n._getItemByDirection=function(e,t){var n=e===X.NEXT,i=e===X.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===X.PREV?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},n._triggerSlideEvent=function(e,n){var i=this._getItemIndex(e),r=this._getItemIndex(this._element.querySelector(Z.ACTIVE_ITEM)),o=t.Event(Y.SLIDE,{relatedTarget:e,direction:n,from:r,to:i});return t(this._element).trigger(o),o},n._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(Z.ACTIVE));t(n).removeClass(J.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&t(i).addClass(J.ACTIVE)}},n._slide=function(e,n){var i,r,o,s=this,a=this._element.querySelector(Z.ACTIVE_ITEM),l=this._getItemIndex(a),c=n||a&&this._getItemByDirection(e,a),u=this._getItemIndex(c),f=Boolean(this._interval);if(e===X.NEXT?(i=J.LEFT,r=J.NEXT,o=X.LEFT):(i=J.RIGHT,r=J.PREV,o=X.RIGHT),c&&t(c).hasClass(J.ACTIVE))this._isSliding=!1;else if(!this._triggerSlideEvent(c,o).isDefaultPrevented()&&a&&c){this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(c);var d=t.Event(Y.SLID,{relatedTarget:c,direction:o,from:l,to:u});if(t(this._element).hasClass(J.SLIDE)){t(c).addClass(r),v.reflow(c),t(a).addClass(i),t(c).addClass(i);var h=parseInt(c.getAttribute("data-interval"),10);h?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=h):this._config.interval=this._config.defaultInterval||this._config.interval;var p=v.getTransitionDurationFromElement(a);t(a).one(v.TRANSITION_END,(function(){t(c).removeClass(i+" "+r).addClass(J.ACTIVE),t(a).removeClass(J.ACTIVE+" "+r+" "+i),s._isSliding=!1,setTimeout((function(){return t(s._element).trigger(d)}),0)})).emulateTransitionEnd(p)}else t(a).removeClass(J.ACTIVE),t(c).addClass(J.ACTIVE),this._isSliding=!1,t(this._element).trigger(d);f&&this.cycle()}},e._jQueryInterface=function(n){return this.each((function(){var i=t(this).data(M),r=s({},Q,t(this).data());"object"==typeof n&&(r=s({},r,n));var o="string"==typeof n?n:r.slide;if(i||(i=new e(this,r),t(this).data(M,i)),"number"==typeof n)i.to(n);else if("string"==typeof o){if(void 0===i[o])throw new TypeError('No method named "'+o+'"');i[o]()}else r.interval&&r.ride&&(i.pause(),i.cycle())}))},e._dataApiClickHandler=function(n){var i=v.getSelectorFromElement(this);if(i){var r=t(i)[0];if(r&&t(r).hasClass(J.CAROUSEL)){var o=s({},t(r).data(),t(this).data()),a=this.getAttribute("data-slide-to");a&&(o.interval=!1),e._jQueryInterface.call(t(r),o),a&&t(r).data(M).to(a),n.preventDefault()}}},r(e,null,[{key:"VERSION",get:function(){return F}},{key:"Default",get:function(){return Q}}]),e}();t(document).on(Y.CLICK_DATA_API,Z.DATA_SLIDE,te._dataApiClickHandler),t(window).on(Y.LOAD_DATA_API,(function(){for(var e=[].slice.call(document.querySelectorAll(Z.DATA_RIDE)),n=0,i=e.length;n<i;n++){var r=t(e[n]);te._jQueryInterface.call(r,r.data())}})),t.fn[W]=te._jQueryInterface,t.fn[W].Constructor=te,t.fn[W].noConflict=function(){return t.fn[W]=V,te._jQueryInterface};var ne="collapse",ie="4.3.1",re="bs.collapse",oe="."+re,se=".data-api",ae=t.fn[ne],le={toggle:!0,parent:""},ce={toggle:"boolean",parent:"(string|element)"},ue={SHOW:"show"+oe,SHOWN:"shown"+oe,HIDE:"hide"+oe,HIDDEN:"hidden"+oe,CLICK_DATA_API:"click"+oe+se},fe={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},de={WIDTH:"width",HEIGHT:"height"},he={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},pe=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(he.DATA_TOGGLE)),i=0,r=n.length;i<r;i++){var o=n[i],s=v.getSelectorFromElement(o),a=[].slice.call(document.querySelectorAll(s)).filter((function(t){return t===e}));null!==s&&a.length>0&&(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var n=e.prototype;return n.toggle=function(){t(this._element).hasClass(fe.SHOW)?this.hide():this.show()},n.show=function(){var n,i,r=this;if(!this._isTransitioning&&!t(this._element).hasClass(fe.SHOW)&&(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(he.ACTIVES)).filter((function(e){return"string"==typeof r._config.parent?e.getAttribute("data-parent")===r._config.parent:e.classList.contains(fe.COLLAPSE)}))).length&&(n=null),!(n&&(i=t(n).not(this._selector).data(re))&&i._isTransitioning))){var o=t.Event(ue.SHOW);if(t(this._element).trigger(o),!o.isDefaultPrevented()){n&&(e._jQueryInterface.call(t(n).not(this._selector),"hide"),i||t(n).data(re,null));var s=this._getDimension();t(this._element).removeClass(fe.COLLAPSE).addClass(fe.COLLAPSING),this._element.style[s]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(fe.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var a=function(){t(r._element).removeClass(fe.COLLAPSING).addClass(fe.COLLAPSE).addClass(fe.SHOW),r._element.style[s]="",r.setTransitioning(!1),t(r._element).trigger(ue.SHOWN)},l="scroll"+(s[0].toUpperCase()+s.slice(1)),c=v.getTransitionDurationFromElement(this._element);t(this._element).one(v.TRANSITION_END,a).emulateTransitionEnd(c),this._element.style[s]=this._element[l]+"px"}}},n.hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(fe.SHOW)){var n=t.Event(ue.HIDE);if(t(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",v.reflow(this._element),t(this._element).addClass(fe.COLLAPSING).removeClass(fe.COLLAPSE).removeClass(fe.SHOW);var r=this._triggerArray.length;if(r>0)for(var o=0;o<r;o++){var s=this._triggerArray[o],a=v.getSelectorFromElement(s);if(null!==a)t([].slice.call(document.querySelectorAll(a))).hasClass(fe.SHOW)||t(s).addClass(fe.COLLAPSED).attr("aria-expanded",!1)}this.setTransitioning(!0);var l=function(){e.setTransitioning(!1),t(e._element).removeClass(fe.COLLAPSING).addClass(fe.COLLAPSE).trigger(ue.HIDDEN)};this._element.style[i]="";var c=v.getTransitionDurationFromElement(this._element);t(this._element).one(v.TRANSITION_END,l).emulateTransitionEnd(c)}}},n.setTransitioning=function(e){this._isTransitioning=e},n.dispose=function(){t.removeData(this._element,re),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(e){return(e=s({},le,e)).toggle=Boolean(e.toggle),v.typeCheckConfig(ne,e,ce),e},n._getDimension=function(){return t(this._element).hasClass(de.WIDTH)?de.WIDTH:de.HEIGHT},n._getParent=function(){var n,i=this;v.isElement(this._config.parent)?(n=this._config.parent,void 0!==this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent);var r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',o=[].slice.call(n.querySelectorAll(r));return t(o).each((function(t,n){i._addAriaAndCollapsedClass(e._getTargetFromElement(n),[n])})),n},n._addAriaAndCollapsedClass=function(e,n){var i=t(e).hasClass(fe.SHOW);n.length&&t(n).toggleClass(fe.COLLAPSED,!i).attr("aria-expanded",i)},e._getTargetFromElement=function(e){var t=v.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(n){return this.each((function(){var i=t(this),r=i.data(re),o=s({},le,i.data(),"object"==typeof n&&n?n:{});if(!r&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),r||(r=new e(this,o),i.data(re,r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n]()}}))},r(e,null,[{key:"VERSION",get:function(){return ie}},{key:"Default",get:function(){return le}}]),e}();t(document).on(ue.CLICK_DATA_API,he.DATA_TOGGLE,(function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=t(this),i=v.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(i));t(r).each((function(){var e=t(this),i=e.data(re)?"toggle":n.data();pe._jQueryInterface.call(e,i)}))})),t.fn[ne]=pe._jQueryInterface,t.fn[ne].Constructor=pe,t.fn[ne].noConflict=function(){return t.fn[ne]=ae,pe._jQueryInterface};var ge="dropdown",me="4.3.1",ve="bs.dropdown",ye="."+ve,_e=".data-api",Ee=t.fn[ge],be=27,Te=32,xe=9,Ce=38,Se=40,we=3,Ae=new RegExp(Ce+"|"+Se+"|"+be),De={HIDE:"hide"+ye,HIDDEN:"hidden"+ye,SHOW:"show"+ye,SHOWN:"shown"+ye,CLICK:"click"+ye,CLICK_DATA_API:"click"+ye+_e,KEYDOWN_DATA_API:"keydown"+ye+_e,KEYUP_DATA_API:"keyup"+ye+_e},Ie={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},Oe={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},Ne={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},Le={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},ke={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Pe=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var i=e.prototype;return i.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(Ie.DISABLED)){var i=e._getParentFromElement(this._element),r=t(this._menu).hasClass(Ie.SHOW);if(e._clearMenus(),!r){var o={relatedTarget:this._element},s=t.Event(De.SHOW,o);if(t(i).trigger(s),!s.isDefaultPrevented()){if(!this._inNavbar){if(void 0===n)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=i:v.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&t(i).addClass(Ie.POSITION_STATIC),this._popper=new n(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(i).closest(Oe.NAVBAR_NAV).length&&t(document.body).children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(Ie.SHOW),t(i).toggleClass(Ie.SHOW).trigger(t.Event(De.SHOWN,o))}}}},i.show=function(){if(!(this._element.disabled||t(this._element).hasClass(Ie.DISABLED)||t(this._menu).hasClass(Ie.SHOW))){var n={relatedTarget:this._element},i=t.Event(De.SHOW,n),r=e._getParentFromElement(this._element);t(r).trigger(i),i.isDefaultPrevented()||(t(this._menu).toggleClass(Ie.SHOW),t(r).toggleClass(Ie.SHOW).trigger(t.Event(De.SHOWN,n)))}},i.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(Ie.DISABLED)&&t(this._menu).hasClass(Ie.SHOW)){var n={relatedTarget:this._element},i=t.Event(De.HIDE,n),r=e._getParentFromElement(this._element);t(r).trigger(i),i.isDefaultPrevented()||(t(this._menu).toggleClass(Ie.SHOW),t(r).toggleClass(Ie.SHOW).trigger(t.Event(De.HIDDEN,n)))}},i.dispose=function(){t.removeData(this._element,ve),t(this._element).off(ye),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},i.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},i._addEventListeners=function(){var e=this;t(this._element).on(De.CLICK,(function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}))},i._getConfig=function(e){return e=s({},this.constructor.Default,t(this._element).data(),e),v.typeCheckConfig(ge,e,this.constructor.DefaultType),e},i._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Oe.MENU))}return this._menu},i._getPlacement=function(){var e=t(this._element.parentNode),n=Ne.BOTTOM;return e.hasClass(Ie.DROPUP)?(n=Ne.TOP,t(this._menu).hasClass(Ie.MENURIGHT)&&(n=Ne.TOPEND)):e.hasClass(Ie.DROPRIGHT)?n=Ne.RIGHT:e.hasClass(Ie.DROPLEFT)?n=Ne.LEFT:t(this._menu).hasClass(Ie.MENURIGHT)&&(n=Ne.BOTTOMEND),n},i._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},i._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=s({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},i._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},e._jQueryInterface=function(n){return this.each((function(){var i=t(this).data(ve);if(i||(i=new e(this,"object"==typeof n?n:null),t(this).data(ve,i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},e._clearMenus=function(n){if(!n||n.which!==we&&("keyup"!==n.type||n.which===xe))for(var i=[].slice.call(document.querySelectorAll(Oe.DATA_TOGGLE)),r=0,o=i.length;r<o;r++){var s=e._getParentFromElement(i[r]),a=t(i[r]).data(ve),l={relatedTarget:i[r]};if(n&&"click"===n.type&&(l.clickEvent=n),a){var c=a._menu;if(t(s).hasClass(Ie.SHOW)&&!(n&&("click"===n.type&&/input|textarea/i.test(n.target.tagName)||"keyup"===n.type&&n.which===xe)&&t.contains(s,n.target))){var u=t.Event(De.HIDE,l);t(s).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),i[r].setAttribute("aria-expanded","false"),t(c).removeClass(Ie.SHOW),t(s).removeClass(Ie.SHOW).trigger(t.Event(De.HIDDEN,l)))}}}},e._getParentFromElement=function(e){var t,n=v.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(n){if(!(/input|textarea/i.test(n.target.tagName)?n.which===Te||n.which!==be&&(n.which!==Se&&n.which!==Ce||t(n.target).closest(Oe.MENU).length):!Ae.test(n.which))&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!t(this).hasClass(Ie.DISABLED))){var i=e._getParentFromElement(this),r=t(i).hasClass(Ie.SHOW);if(r&&(!r||n.which!==be&&n.which!==Te)){var o=[].slice.call(i.querySelectorAll(Oe.VISIBLE_ITEMS));if(0!==o.length){var s=o.indexOf(n.target);n.which===Ce&&s>0&&s--,n.which===Se&&s<o.length-1&&s++,s<0&&(s=0),o[s].focus()}}else{if(n.which===be){var a=i.querySelector(Oe.DATA_TOGGLE);t(a).trigger("focus")}t(this).trigger("click")}}},r(e,null,[{key:"VERSION",get:function(){return me}},{key:"Default",get:function(){return Le}},{key:"DefaultType",get:function(){return ke}}]),e}();t(document).on(De.KEYDOWN_DATA_API,Oe.DATA_TOGGLE,Pe._dataApiKeydownHandler).on(De.KEYDOWN_DATA_API,Oe.MENU,Pe._dataApiKeydownHandler).on(De.CLICK_DATA_API+" "+De.KEYUP_DATA_API,Pe._clearMenus).on(De.CLICK_DATA_API,Oe.DATA_TOGGLE,(function(e){e.preventDefault(),e.stopPropagation(),Pe._jQueryInterface.call(t(this),"toggle")})).on(De.CLICK_DATA_API,Oe.FORM_CHILD,(function(e){e.stopPropagation()})),t.fn[ge]=Pe._jQueryInterface,t.fn[ge].Constructor=Pe,t.fn[ge].noConflict=function(){return t.fn[ge]=Ee,Pe._jQueryInterface};var He="modal",Re="4.3.1",je="bs.modal",We="."+je,Fe=".data-api",Me=t.fn[He],qe=27,Ue={backdrop:!0,keyboard:!0,focus:!0,show:!0},Ve={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},ze={HIDE:"hide"+We,HIDDEN:"hidden"+We,SHOW:"show"+We,SHOWN:"shown"+We,FOCUSIN:"focusin"+We,RESIZE:"resize"+We,CLICK_DISMISS:"click.dismiss"+We,KEYDOWN_DISMISS:"keydown.dismiss"+We,MOUSEUP_DISMISS:"mouseup.dismiss"+We,MOUSEDOWN_DISMISS:"mousedown.dismiss"+We,CLICK_DATA_API:"click"+We+Fe},Be={SCROLLABLE:"modal-dialog-scrollable",SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},Ge={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},Ke=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(Ge.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var n=e.prototype;return n.toggle=function(e){return this._isShown?this.hide():this.show(e)},n.show=function(e){var n=this;if(!this._isShown&&!this._isTransitioning){t(this._element).hasClass(Be.FADE)&&(this._isTransitioning=!0);var i=t.Event(ze.SHOW,{relatedTarget:e});t(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(ze.CLICK_DISMISS,Ge.DATA_DISMISS,(function(e){return n.hide(e)})),t(this._dialog).on(ze.MOUSEDOWN_DISMISS,(function(){t(n._element).one(ze.MOUSEUP_DISMISS,(function(e){t(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return n._showElement(e)})))}},n.hide=function(e){var n=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var i=t.Event(ze.HIDE);if(t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var r=t(this._element).hasClass(Be.FADE);if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(ze.FOCUSIN),t(this._element).removeClass(Be.SHOW),t(this._element).off(ze.CLICK_DISMISS),t(this._dialog).off(ze.MOUSEDOWN_DISMISS),r){var o=v.getTransitionDurationFromElement(this._element);t(this._element).one(v.TRANSITION_END,(function(e){return n._hideModal(e)})).emulateTransitionEnd(o)}else this._hideModal()}}},n.dispose=function(){[window,this._element,this._dialog].forEach((function(e){return t(e).off(We)})),t(document).off(ze.FOCUSIN),t.removeData(this._element,je),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(e){return e=s({},Ue,e),v.typeCheckConfig(He,e,Ve),e},n._showElement=function(e){var n=this,i=t(this._element).hasClass(Be.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.setAttribute("aria-modal",!0),t(this._dialog).hasClass(Be.SCROLLABLE)?this._dialog.querySelector(Ge.MODAL_BODY).scrollTop=0:this._element.scrollTop=0,i&&v.reflow(this._element),t(this._element).addClass(Be.SHOW),this._config.focus&&this._enforceFocus();var r=t.Event(ze.SHOWN,{relatedTarget:e}),o=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,t(n._element).trigger(r)};if(i){var s=v.getTransitionDurationFromElement(this._dialog);t(this._dialog).one(v.TRANSITION_END,o).emulateTransitionEnd(s)}else o()},n._enforceFocus=function(){var e=this;t(document).off(ze.FOCUSIN).on(ze.FOCUSIN,(function(n){document!==n.target&&e._element!==n.target&&0===t(e._element).has(n.target).length&&e._element.focus()}))},n._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(ze.KEYDOWN_DISMISS,(function(t){t.which===qe&&(t.preventDefault(),e.hide())})):this._isShown||t(this._element).off(ze.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var e=this;this._isShown?t(window).on(ze.RESIZE,(function(t){return e.handleUpdate(t)})):t(window).off(ze.RESIZE)},n._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop((function(){t(document.body).removeClass(Be.OPEN),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(ze.HIDDEN)}))},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(e){var n=this,i=t(this._element).hasClass(Be.FADE)?Be.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Be.BACKDROP,i&&this._backdrop.classList.add(i),t(this._backdrop).appendTo(document.body),t(this._element).on(ze.CLICK_DISMISS,(function(e){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())})),i&&v.reflow(this._backdrop),t(this._backdrop).addClass(Be.SHOW),!e)return;if(!i)return void e();var r=v.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(v.TRANSITION_END,e).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(Be.SHOW);var o=function(){n._removeBackdrop(),e&&e()};if(t(this._element).hasClass(Be.FADE)){var s=v.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(v.TRANSITION_END,o).emulateTransitionEnd(s)}else o()}else e&&e()},n._adjustDialog=function(){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")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(Ge.FIXED_CONTENT)),i=[].slice.call(document.querySelectorAll(Ge.STICKY_CONTENT));t(n).each((function(n,i){var r=i.style.paddingRight,o=t(i).css("padding-right");t(i).data("padding-right",r).css("padding-right",parseFloat(o)+e._scrollbarWidth+"px")})),t(i).each((function(n,i){var r=i.style.marginRight,o=t(i).css("margin-right");t(i).data("margin-right",r).css("margin-right",parseFloat(o)-e._scrollbarWidth+"px")}));var r=document.body.style.paddingRight,o=t(document.body).css("padding-right");t(document.body).data("padding-right",r).css("padding-right",parseFloat(o)+this._scrollbarWidth+"px")}t(document.body).addClass(Be.OPEN)},n._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(Ge.FIXED_CONTENT));t(e).each((function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""}));var n=[].slice.call(document.querySelectorAll(""+Ge.STICKY_CONTENT));t(n).each((function(e,n){var i=t(n).data("margin-right");void 0!==i&&t(n).css("margin-right",i).removeData("margin-right")}));var i=t(document.body).data("padding-right");t(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},n._getScrollbarWidth=function(){var e=document.createElement("div");e.className=Be.SCROLLBAR_MEASURER,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(n,i){return this.each((function(){var r=t(this).data(je),o=s({},Ue,t(this).data(),"object"==typeof n&&n?n:{});if(r||(r=new e(this,o),t(this).data(je,r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n](i)}else o.show&&r.show(i)}))},r(e,null,[{key:"VERSION",get:function(){return Re}},{key:"Default",get:function(){return Ue}}]),e}();t(document).on(ze.CLICK_DATA_API,Ge.DATA_TOGGLE,(function(e){var n,i=this,r=v.getSelectorFromElement(this);r&&(n=document.querySelector(r));var o=t(n).data(je)?"toggle":s({},t(n).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var a=t(n).one(ze.SHOW,(function(e){e.isDefaultPrevented()||a.one(ze.HIDDEN,(function(){t(i).is(":visible")&&i.focus()}))}));Ke._jQueryInterface.call(t(n),o,this)})),t.fn[He]=Ke._jQueryInterface,t.fn[He].Constructor=Ke,t.fn[He].noConflict=function(){return t.fn[He]=Me,Ke._jQueryInterface};var Qe=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],$e={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Xe=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ye=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,Je="tooltip",Ze="4.3.1",et="bs.tooltip",tt="."+et,nt=t.fn[Je],it="bs-tooltip",rt=new RegExp("(^|\\s)"+it+"\\S+","g"),ot=["sanitize","whiteList","sanitizeFn"],st={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},at={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},lt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:$e},ct={SHOW:"show",OUT:"out"},ut={HIDE:"hide"+tt,HIDDEN:"hidden"+tt,SHOW:"show"+tt,SHOWN:"shown"+tt,INSERTED:"inserted"+tt,CLICK:"click"+tt,FOCUSIN:"focusin"+tt,FOCUSOUT:"focusout"+tt,MOUSEENTER:"mouseenter"+tt,MOUSELEAVE:"mouseleave"+tt},ft={FADE:"fade",SHOW:"show"},dt={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},ht={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},pt=function(){function e(e,t){if(void 0===n)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var i=e.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(e){if(this._isEnabled)if(e){var n=this.constructor.DATA_KEY,i=t(e.currentTarget).data(n);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(ft.SHOW))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var e=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var i=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(i);var r=v.findShadowRoot(this.element),o=t.contains(null!==r?r:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!o)return;var s=this.getTipElement(),a=v.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&t(s).addClass(ft.FADE);var l="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,c=this._getAttachment(l);this.addAttachmentClass(c);var u=this._getContainer();t(s).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(s).appendTo(u),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,s,{placement:c,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:dt.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),t(s).addClass(ft.SHOW),"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);var f=function(){e.config.animation&&e._fixTransition();var n=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),n===ct.OUT&&e._leave(null,e)}
;if(t(this.tip).hasClass(ft.FADE)){var d=v.getTransitionDurationFromElement(this.tip);t(this.tip).one(v.TRANSITION_END,f).emulateTransitionEnd(d)}else f()}},i.hide=function(e){var n=this,i=this.getTipElement(),r=t.Event(this.constructor.Event.HIDE),o=function(){n._hoverState!==ct.SHOW&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()};if(t(this.element).trigger(r),!r.isDefaultPrevented()){if(t(i).removeClass(ft.SHOW),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[ht.CLICK]=!1,this._activeTrigger[ht.FOCUS]=!1,this._activeTrigger[ht.HOVER]=!1,t(this.tip).hasClass(ft.FADE)){var s=v.getTransitionDurationFromElement(i);t(i).one(v.TRANSITION_END,o).emulateTransitionEnd(s)}else o();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(e){t(this.getTipElement()).addClass(it+"-"+e)},i.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},i.setContent=function(){var e=this.getTipElement();this.setElementContent(t(e.querySelectorAll(dt.TOOLTIP_INNER)),this.getTitle()),t(e).removeClass(ft.FADE+" "+ft.SHOW)},i.setElementContent=function(e,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=h(n,this.config.whiteList,this.config.sanitizeFn)),e.html(n)):e.text(n):this.config.html?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text())},i.getTitle=function(){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},i._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=s({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},i._getContainer=function(){return!1===this.config.container?document.body:v.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},i._getAttachment=function(e){return at[e.toUpperCase()]},i._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(n){if("click"===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if(n!==ht.MANUAL){var i=n===ht.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,r=n===ht.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(i,e.config.selector,(function(t){return e._enter(t)})).on(r,e.config.selector,(function(t){return e._leave(t)}))}})),t(this.element).closest(".modal").on("hide.bs.modal",(function(){e.element&&e.hide()})),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){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",""))},i._enter=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusin"===e.type?ht.FOCUS:ht.HOVER]=!0),t(n.getTipElement()).hasClass(ft.SHOW)||n._hoverState===ct.SHOW?n._hoverState=ct.SHOW:(clearTimeout(n._timeout),n._hoverState=ct.SHOW,n.config.delay&&n.config.delay.show?n._timeout=setTimeout((function(){n._hoverState===ct.SHOW&&n.show()}),n.config.delay.show):n.show())},i._leave=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusout"===e.type?ht.FOCUS:ht.HOVER]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=ct.OUT,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout((function(){n._hoverState===ct.OUT&&n.hide()}),n.config.delay.hide):n.hide())},i._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},i._getConfig=function(e){var n=t(this.element).data();return Object.keys(n).forEach((function(e){-1!==ot.indexOf(e)&&delete n[e]})),"number"==typeof(e=s({},this.constructor.Default,n,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),v.typeCheckConfig(Je,e,this.constructor.DefaultType),e.sanitize&&(e.template=h(e.template,e.whiteList,e.sanitizeFn)),e},i._getDelegateConfig=function(){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},i._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(rt);null!==n&&n.length&&e.removeClass(n.join(""))},i._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},i._fixTransition=function(){var e=this.getTipElement(),n=this.config.animation;null===e.getAttribute("x-placement")&&(t(e).removeClass(ft.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},e._jQueryInterface=function(n){return this.each((function(){var i=t(this).data(et),r="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new e(this,r),t(this).data(et,i)),"string"==typeof n)){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},r(e,null,[{key:"VERSION",get:function(){return Ze}},{key:"Default",get:function(){return lt}},{key:"NAME",get:function(){return Je}},{key:"DATA_KEY",get:function(){return et}},{key:"Event",get:function(){return ut}},{key:"EVENT_KEY",get:function(){return tt}},{key:"DefaultType",get:function(){return st}}]),e}();t.fn[Je]=pt._jQueryInterface,t.fn[Je].Constructor=pt,t.fn[Je].noConflict=function(){return t.fn[Je]=nt,pt._jQueryInterface};var gt="popover",mt="4.3.1",vt="bs.popover",yt="."+vt,_t=t.fn[gt],Et="bs-popover",bt=new RegExp("(^|\\s)"+Et+"\\S+","g"),Tt=s({},pt.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>'}),xt=s({},pt.DefaultType,{content:"(string|element|function)"}),Ct={FADE:"fade",SHOW:"show"},St={TITLE:".popover-header",CONTENT:".popover-body"},wt={HIDE:"hide"+yt,HIDDEN:"hidden"+yt,SHOW:"show"+yt,SHOWN:"shown"+yt,INSERTED:"inserted"+yt,CLICK:"click"+yt,FOCUSIN:"focusin"+yt,FOCUSOUT:"focusout"+yt,MOUSEENTER:"mouseenter"+yt,MOUSELEAVE:"mouseleave"+yt},At=function(e){function n(){return e.apply(this,arguments)||this}a(n,e);var i=n.prototype;return i.isWithContent=function(){return this.getTitle()||this._getContent()},i.addAttachmentClass=function(e){t(this.getTipElement()).addClass(Et+"-"+e)},i.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},i.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(St.TITLE),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(e.find(St.CONTENT),n),e.removeClass(Ct.FADE+" "+Ct.SHOW)},i._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},i._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(bt);null!==n&&n.length>0&&e.removeClass(n.join(""))},n._jQueryInterface=function(e){return this.each((function(){var i=t(this).data(vt),r="object"==typeof e?e:null;if((i||!/dispose|hide/.test(e))&&(i||(i=new n(this,r),t(this).data(vt,i)),"string"==typeof e)){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},r(n,null,[{key:"VERSION",get:function(){return mt}},{key:"Default",get:function(){return Tt}},{key:"NAME",get:function(){return gt}},{key:"DATA_KEY",get:function(){return vt}},{key:"Event",get:function(){return wt}},{key:"EVENT_KEY",get:function(){return yt}},{key:"DefaultType",get:function(){return xt}}]),n}(pt);t.fn[gt]=At._jQueryInterface,t.fn[gt].Constructor=At,t.fn[gt].noConflict=function(){return t.fn[gt]=_t,At._jQueryInterface};var Dt="scrollspy",It="4.3.1",Ot="bs.scrollspy",Nt="."+Ot,Lt=".data-api",kt=t.fn[Dt],Pt={offset:10,method:"auto",target:""},Ht={offset:"number",method:"string",target:"(string|element)"},Rt={ACTIVATE:"activate"+Nt,SCROLL:"scroll"+Nt,LOAD_DATA_API:"load"+Nt+Lt},jt={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},Wt={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"},Ft={OFFSET:"offset",POSITION:"position"},Mt=function(){function e(e,n){var i=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(n),this._selector=this._config.target+" "+Wt.NAV_LINKS+","+this._config.target+" "+Wt.LIST_ITEMS+","+this._config.target+" "+Wt.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(Rt.SCROLL,(function(e){return i._process(e)})),this.refresh(),this._process()}var n=e.prototype;return n.refresh=function(){var e=this,n=this._scrollElement===this._scrollElement.window?Ft.OFFSET:Ft.POSITION,i="auto"===this._config.method?n:this._config.method,r=i===Ft.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(e){var n,o=v.getSelectorFromElement(e);if(o&&(n=document.querySelector(o)),n){var s=n.getBoundingClientRect();if(s.width||s.height)return[t(n)[i]().top+r,o]}return null})).filter((function(e){return e})).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},n.dispose=function(){t.removeData(this._element,Ot),t(this._scrollElement).off(Nt),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(e){if("string"!=typeof(e=s({},Pt,"object"==typeof e&&e?e:{})).target){var n=t(e.target).attr("id");n||(n=v.getUID(Dt),t(e.target).attr("id",n)),e.target="#"+n}return v.typeCheckConfig(Dt,e,Ht),e},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;){this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&(void 0===this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}}},n._activate=function(e){this._activeTarget=e,this._clear();var n=this._selector.split(",").map((function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'})),i=t([].slice.call(document.querySelectorAll(n.join(","))));i.hasClass(jt.DROPDOWN_ITEM)?(i.closest(Wt.DROPDOWN).find(Wt.DROPDOWN_TOGGLE).addClass(jt.ACTIVE),i.addClass(jt.ACTIVE)):(i.addClass(jt.ACTIVE),i.parents(Wt.NAV_LIST_GROUP).prev(Wt.NAV_LINKS+", "+Wt.LIST_ITEMS).addClass(jt.ACTIVE),i.parents(Wt.NAV_LIST_GROUP).prev(Wt.NAV_ITEMS).children(Wt.NAV_LINKS).addClass(jt.ACTIVE)),t(this._scrollElement).trigger(Rt.ACTIVATE,{relatedTarget:e})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(e){return e.classList.contains(jt.ACTIVE)})).forEach((function(e){return e.classList.remove(jt.ACTIVE)}))},e._jQueryInterface=function(n){return this.each((function(){var i=t(this).data(Ot);if(i||(i=new e(this,"object"==typeof n&&n),t(this).data(Ot,i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},r(e,null,[{key:"VERSION",get:function(){return It}},{key:"Default",get:function(){return Pt}}]),e}();t(window).on(Rt.LOAD_DATA_API,(function(){for(var e=[].slice.call(document.querySelectorAll(Wt.DATA_SPY)),n=e.length;n--;){var i=t(e[n]);Mt._jQueryInterface.call(i,i.data())}})),t.fn[Dt]=Mt._jQueryInterface,t.fn[Dt].Constructor=Mt,t.fn[Dt].noConflict=function(){return t.fn[Dt]=kt,Mt._jQueryInterface};var qt="tab",Ut="4.3.1",Vt="bs.tab",zt="."+Vt,Bt=".data-api",Gt=t.fn[qt],Kt={HIDE:"hide"+zt,HIDDEN:"hidden"+zt,SHOW:"show"+zt,SHOWN:"shown"+zt,CLICK_DATA_API:"click"+zt+Bt},Qt={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},$t={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"},Xt=function(){function e(e){this._element=e}var n=e.prototype;return n.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(Qt.ACTIVE)||t(this._element).hasClass(Qt.DISABLED))){var n,i,r=t(this._element).closest($t.NAV_LIST_GROUP)[0],o=v.getSelectorFromElement(this._element);if(r){var s="UL"===r.nodeName||"OL"===r.nodeName?$t.ACTIVE_UL:$t.ACTIVE;i=(i=t.makeArray(t(r).find(s)))[i.length-1]}var a=t.Event(Kt.HIDE,{relatedTarget:this._element}),l=t.Event(Kt.SHOW,{relatedTarget:i});if(i&&t(i).trigger(a),t(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){o&&(n=document.querySelector(o)),this._activate(this._element,r);var c=function(){var n=t.Event(Kt.HIDDEN,{relatedTarget:e._element}),r=t.Event(Kt.SHOWN,{relatedTarget:i});t(i).trigger(n),t(e._element).trigger(r)};n?this._activate(n,n.parentNode,c):c()}}},n.dispose=function(){t.removeData(this._element,Vt),this._element=null},n._activate=function(e,n,i){var r=this,o=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?t(n).children($t.ACTIVE):t(n).find($t.ACTIVE_UL))[0],s=i&&o&&t(o).hasClass(Qt.FADE),a=function(){return r._transitionComplete(e,o,i)};if(o&&s){var l=v.getTransitionDurationFromElement(o);t(o).removeClass(Qt.SHOW).one(v.TRANSITION_END,a).emulateTransitionEnd(l)}else a()},n._transitionComplete=function(e,n,i){if(n){t(n).removeClass(Qt.ACTIVE);var r=t(n.parentNode).find($t.DROPDOWN_ACTIVE_CHILD)[0];r&&t(r).removeClass(Qt.ACTIVE),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(t(e).addClass(Qt.ACTIVE),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),v.reflow(e),e.classList.contains(Qt.FADE)&&e.classList.add(Qt.SHOW),e.parentNode&&t(e.parentNode).hasClass(Qt.DROPDOWN_MENU)){var o=t(e).closest($t.DROPDOWN)[0];if(o){var s=[].slice.call(o.querySelectorAll($t.DROPDOWN_TOGGLE));t(s).addClass(Qt.ACTIVE)}e.setAttribute("aria-expanded",!0)}i&&i()},e._jQueryInterface=function(n){return this.each((function(){var i=t(this),r=i.data(Vt);if(r||(r=new e(this),i.data(Vt,r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n]()}}))},r(e,null,[{key:"VERSION",get:function(){return Ut}}]),e}();t(document).on(Kt.CLICK_DATA_API,$t.DATA_TOGGLE,(function(e){e.preventDefault(),Xt._jQueryInterface.call(t(this),"show")})),t.fn[qt]=Xt._jQueryInterface,t.fn[qt].Constructor=Xt,t.fn[qt].noConflict=function(){return t.fn[qt]=Gt,Xt._jQueryInterface};var Yt="toast",Jt="4.3.1",Zt="bs.toast",en="."+Zt,tn=t.fn[Yt],nn={CLICK_DISMISS:"click.dismiss"+en,HIDE:"hide"+en,HIDDEN:"hidden"+en,SHOW:"show"+en,SHOWN:"shown"+en},rn={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},on={animation:"boolean",autohide:"boolean",delay:"number"},sn={animation:!0,autohide:!0,delay:500},an={DATA_DISMISS:'[data-dismiss="toast"]'},ln=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var n=e.prototype;return n.show=function(){var e=this;t(this._element).trigger(nn.SHOW),this._config.animation&&this._element.classList.add(rn.FADE);var n=function(){e._element.classList.remove(rn.SHOWING),e._element.classList.add(rn.SHOW),t(e._element).trigger(nn.SHOWN),e._config.autohide&&e.hide()};if(this._element.classList.remove(rn.HIDE),this._element.classList.add(rn.SHOWING),this._config.animation){var i=v.getTransitionDurationFromElement(this._element);t(this._element).one(v.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n.hide=function(e){var n=this;this._element.classList.contains(rn.SHOW)&&(t(this._element).trigger(nn.HIDE),e?this._close():this._timeout=setTimeout((function(){n._close()}),this._config.delay))},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(rn.SHOW)&&this._element.classList.remove(rn.SHOW),t(this._element).off(nn.CLICK_DISMISS),t.removeData(this._element,Zt),this._element=null,this._config=null},n._getConfig=function(e){return e=s({},sn,t(this._element).data(),"object"==typeof e&&e?e:{}),v.typeCheckConfig(Yt,e,this.constructor.DefaultType),e},n._setListeners=function(){var e=this;t(this._element).on(nn.CLICK_DISMISS,an.DATA_DISMISS,(function(){return e.hide(!0)}))},n._close=function(){var e=this,n=function(){e._element.classList.add(rn.HIDE),t(e._element).trigger(nn.HIDDEN)};if(this._element.classList.remove(rn.SHOW),this._config.animation){var i=v.getTransitionDurationFromElement(this._element);t(this._element).one(v.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},e._jQueryInterface=function(n){return this.each((function(){var i=t(this),r=i.data(Zt);if(r||(r=new e(this,"object"==typeof n&&n),i.data(Zt,r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n](this)}}))},r(e,null,[{key:"VERSION",get:function(){return Jt}},{key:"DefaultType",get:function(){return on}},{key:"Default",get:function(){return sn}}]),e}();t.fn[Yt]=ln._jQueryInterface,t.fn[Yt].Constructor=ln,t.fn[Yt].noConflict=function(){return t.fn[Yt]=tn,ln._jQueryInterface},function(){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split("."),n=1,i=2,r=9,o=1,s=4;if(e[0]<i&&e[1]<r||e[0]===n&&e[1]===r&&e[2]<o||e[0]>=s)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),e.Util=v,e.Alert=A,e.Button=j,e.Carousel=te,e.Collapse=pe,e.Dropdown=Pe,e.Modal=Ke,e.Popover=At,e.Scrollspy=Mt,e.Tab=Xt,e.Toast=ln,e.Tooltip=pt,Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){var n,i=e.jQuery||e.Cowboy||(e.Cowboy={});i.throttle=n=function(e,n,r,o){function s(){function i(){l=+new Date,r.apply(c,f)}function s(){a=t}var c=this,u=+new Date-l,f=arguments;o&&!a&&i(),a&&clearTimeout(a),o===t&&u>e?i():!0!==n&&(a=setTimeout(o?s:i,o===t?e-u:e))}var a,l=0;return"boolean"!=typeof n&&(o=r,r=n,n=t),i.guid&&(s.guid=r.guid=r.guid||i.guid++),s},i.debounce=function(e,i,r){return r===t?n(e,i,!1):n(e,r,!1!==i)}}(this),function(e,t,n,i){"use strict";function r(t,n){this.element=t;var i={};e.each(e(this.element).data(),(function(e,t){var n=function(e){return e&&e[0].toLowerCase()+e.slice(1)}(e.replace("fluidbox",""));""===n&&null===n||("false"==t?t=!1:"true"==t&&(t=!0),i[n]=t)})),this.settings=e.extend({},a,n,i),this.settings.viewportFill=Math.max(Math.min(parseFloat(this.settings.viewportFill),1),0),this.settings.stackIndex<this.settings.stackIndexDelta&&(settings.stackIndexDelta=settings.stackIndex),this._name=s,this.init()}var o=e(t),s=(e(n),"fluidbox"),a={immediateOpen:!1,loader:!1,maxWidth:0,maxHeight:0,resizeThrottle:500,stackIndex:1e3,stackIndexDelta:10,viewportFill:.95},l={},c=0;"undefined"!=typeof console&&"undefined"!==console.warn||(console={},console.warn=function(){}),e.isFunction(e.throttle)||console.warn("Fluidbox: The jQuery debounce/throttle plugin is not found/loaded. Even though Fluidbox works without it, the window resize event will fire extremely rapidly in browsers, resulting in significant degradation in performance upon viewport resize.");var u=function(){var e,t=n.createElement("fakeelement"),r={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in r)if(t.style[e]!==i)return r[e]}(),f={dom:function(){var t=e("<div />",{class:"fluidbox__wrap",css:{zIndex:this.settings.stackIndex-this.settings.stackIndexDelta}});if(e(this.element).addClass("fluidbox--closed").wrapInner(t).find("img").first().css({opacity:1}).addClass("fluidbox__thumb").after('<div class="fluidbox__ghost" />'),this.settings.loader){var n=e("<div />",{class:"fluidbox__loader",css:{zIndex:2}});e(this.element).find(".fluidbox__wrap").append(n)}},prepareFb:function(){var t=this,n=e(this.element);n.trigger("thumbloaddone.fluidbox"),f.measure.fbElements.call(this),t.bindEvents(),n.addClass("fluidbox--ready"),t.bindListeners(),n.trigger("ready.fluidbox")},measure:{viewport:function(){l.viewport={w:o.width(),h:o.height()}},fbElements:function(){var t=this,n=e(this.element),i=n.find("img").first(),r=n.find(".fluidbox__ghost"),o=n.find(".fluidbox__wrap");t.instanceData.thumb={natW:i[0].naturalWidth,natH:i[0].naturalHeight,w:i.width(),h:i.height()},r.css({width:i.width(),height:i.height(),top:i.offset().top-o.offset().top+parseInt(i.css("borderTopWidth"))+parseInt(i.css("paddingTop")),left:i.offset().left-o.offset().left+parseInt(i.css("borderLeftWidth"))+parseInt(i.css("paddingLeft"))})}},checkURL:function(e){var t=0;return/[\s+]/g.test(e)?(console.warn("Fluidbox: Fluidbox opening is halted because it has detected characters in your URL string that need to be properly encoded/escaped. Whitespace(s) have to be escaped manually. See RFC3986 documentation."),t=1):/[\"\'\(\)]/g.test(e)&&(console.warn("Fluidbox: Fluidbox opening will proceed, but it has detected characters in your URL string that need to be properly encoded/escaped. These will be escaped for you. See RFC3986 documentation."),t=0),t},formatURL:function(e){return e.replace(/"/g,"%22").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29")}};e.extend(r.prototype,{init:function(){var t=this,n=e(this.element),i=n.find("img").first();if(f.measure.viewport(),(!t.instanceData||!t.instanceData.initialized)&&n.is("a")&&1===n.children().length&&(n.children().is("img")||n.children().is("picture")&&1===n.find("img").length)&&"none"!==n.css("display")&&"none"!==n.children().css("display")&&"none"!==n.parents().css("display")){n.removeClass("fluidbox--destroyed"),t.instanceData={},t.instanceData.initialized=!0,t.instanceData.originalNode=n.html(),c+=1,t.instanceData.id=c,n.addClass("fluidbox__instance-"+c),n.addClass("fluidbox--initialized"),f.dom.call(t),n.trigger("init.fluidbox");var r=new Image;i.width()>0&&i.height()>0?f.prepareFb.call(t):(r.onload=function(){f.prepareFb.call(t)},r.onerror=function(){n.trigger("thumbloadfail.fluidbox")},r.src=i.attr("src"))}},open:function(){var t=this,n=e(this.element),i=n.find("img").first(),r=n.find(".fluidbox__ghost"),o=n.find(".fluidbox__wrap");t.instanceData.state=1,r.off(u),e(".fluidbox--opened").fluidbox("close");var s,a=e("<div />",{class:"fluidbox__overlay",css:{zIndex:-1}});if(o.append(a),n.removeClass("fluidbox--closed").addClass("fluidbox--loading"),f.checkURL(i.attr("src")))return t.close(),!1;r.css({"background-image":"url("+f.formatURL(i.attr("src"))+")",opacity:1}),f.measure.fbElements.call(t),t.settings.immediateOpen?(n.addClass("fluidbox--opened fluidbox--loaded").find(".fluidbox__wrap").css({zIndex:t.settings.stackIndex+t.settings.stackIndexDelta}),n.trigger("openstart.fluidbox"),t.compute(),i.css({opacity:0}),e(".fluidbox__overlay").css({opacity:1}),r.one(u,(function(){n.trigger("openend.fluidbox")})),(s=new Image).onload=function(){if(n.trigger("imageloaddone.fluidbox"),1===t.instanceData.state){if(t.instanceData.thumb.natW=s.naturalWidth,t.instanceData.thumb.natH=s.naturalHeight,n.removeClass("fluidbox--loading"),f.checkURL(s.src))return t.close({error:!0}),!1;r.css({"background-image":"url("+f.formatURL(s.src)+")"}),t.compute()}},s.onerror=function(){t.close({error:!0}),n.trigger("imageloadfail.fluidbox"),n.trigger("delayedloadfail.fluidbox")},s.src=n.attr("href")):((s=new Image).onload=function(){if(n.trigger("imageloaddone.fluidbox"),n.removeClass("fluidbox--loading").addClass("fluidbox--opened fluidbox--loaded").find(".fluidbox__wrap").css({zIndex:t.settings.stackIndex+t.settings.stackIndexDelta}),n.trigger("openstart.fluidbox"),f.checkURL(s.src))return t.close({error:!0}),!1;r.css({"background-image":"url("+f.formatURL(s.src)+")"}),t.instanceData.thumb.natW=s.naturalWidth,t.instanceData.thumb.natH=s.naturalHeight,t.compute(),i.css({opacity:0}),e(".fluidbox__overlay").css({opacity:1}),r.one(u,(function(){n.trigger("openend.fluidbox")}))},s.onerror=function(){t.close({error:!0}),n.trigger("imageloadfail.fluidbox")},s.src=n.attr("href"))},compute:function(){var t,n,i,r=this,s=e(this.element),a=s.find("img").first(),c=s.find(".fluidbox__ghost"),u=s.find(".fluidbox__wrap"),f=r.instanceData.thumb.natW,d=r.instanceData.thumb.natH,h=r.instanceData.thumb.w,p=r.instanceData.thumb.h,g=f/d,m=l.viewport.w/l.viewport.h;r.settings.maxWidth>0?d=(f=r.settings.maxWidth)/g:r.settings.maxHeight>0&&(f=(d=r.settings.maxHeight)*g),m>g?(n=f*(p*(t=(d<l.viewport.h?d:l.viewport.h*r.settings.viewportFill)/p)/d)/h,i=t):(t=d*(h*(n=(f<l.viewport.w?f:l.viewport.w*r.settings.viewportFill)/h)/f)/p,i=n),r.settings.maxWidth&&r.settings.maxHeight&&console.warn("Fluidbox: Both maxHeight and maxWidth are specified. You can only specify one. If both are specified, only the maxWidth property will be respected. This will not generate any error, but may cause unexpected sizing behavior.");var v=o.scrollTop()-a.offset().top+p*(i-1)*.5+.5*(o.height()-p*i),y=h*(i-1)*.5+.5*(o.width()-h*i)-a.offset().left,_=parseInt(100*n)/100+","+parseInt(100*t)/100;c.css({transform:"translate("+parseInt(100*y)/100+"px,"+parseInt(100*v)/100+"px) scale("+_+")",top:a.offset().top-u.offset().top,left:a.offset().left-u.offset().left}),s.find(".fluidbox__loader").css({transform:"translate("+parseInt(100*y)/100+"px,"+parseInt(100*v)/100+"px) scale("+_+")"}),s.trigger("computeend.fluidbox")},recompute:function(){this.compute()},close:function(t){var n=this,r=e(this.element),o=r.find("img").first(),s=r.find(".fluidbox__ghost"),a=r.find(".fluidbox__wrap"),l=r.find(".fluidbox__overlay"),c=e.extend(null,{error:!1},t);if(null===n.instanceData.state||typeof n.instanceData.state==typeof i||0===n.instanceData.state)return!1;n.instanceData.state=0,r.trigger("closestart.fluidbox"),r.removeClass((function(e,t){return(t.match(/(^|\s)fluidbox--(opened|loaded|loading)+/g)||[]).join(" ")})).addClass("fluidbox--closed"),s.css({transform:"translate(0,0) scale(1,1)",top:o.offset().top-a.offset().top+parseInt(o.css("borderTopWidth"))+parseInt(o.css("paddingTop")),left:o.offset().left-a.offset().left+parseInt(o.css("borderLeftWidth"))+parseInt(o.css("paddingLeft"))}),r.find(".fluidbox__loader").css({transform:"none"}),s.one(u,(function(){s.css({opacity:0}),o.css({opacity:1}),l.remove(),a.css({zIndex:n.settings.stackIndex-n.settings.stackIndexDelta}),r.trigger("closeend.fluidbox")})),c.error&&s.trigger("transitionend"),l.css({opacity:0})},bindEvents:function(){var t=this;e(this.element).on("click.fluidbox",(function(e){e.preventDefault(),t.instanceData.state&&0!==t.instanceData.state?t.close():t.open()}))},bindListeners:function(){var t=this,n=e(this.element),i=function(){f.measure.viewport(),f.measure.fbElements.call(t),n.hasClass("fluidbox--opened")&&t.compute()};e.isFunction(e.throttle)?o.on("resize.fluidbox"+t.instanceData.id,e.throttle(t.settings.resizeThrottle,i)):o.on("resize.fluidbox"+t.instanceData.id,i),n.on("reposition.fluidbox",(function(){t.reposition()})),n.on("recompute.fluidbox, compute.fluidbox",(function(){t.compute()})),n.on("destroy.fluidbox",(function(){t.destroy()})),n.on("close.fluidbox",(function(){t.close()}))},unbind:function(){e(this.element).off("click.fluidbox reposition.fluidbox recompute.fluidbox compute.fluidbox destroy.fluidbox close.fluidbox"),o.off("resize.fluidbox"+this.instanceData.id)},reposition:function(){f.measure.fbElements.call(this)},destroy:function(){var t=this.instanceData.originalNode;this.unbind(),e.data(this.element,"plugin_"+s,null),e(this.element).removeClass((function(e,t){return(t.match(/(^|\s)fluidbox[--|__]\S+/g)||[]).join(" ")})).empty().html(t).addClass("fluidbox--destroyed").trigger("destroyed.fluidbox")},getMetadata:function(){return this.instanceData}}),e.fn[s]=function(t){var n,o=arguments;return t===i||"object"==typeof t?this.each((function(){e.data(this,"plugin_"+s)||e.data(this,"plugin_"+s,new r(this,t))})):"string"==typeof t&&"_"!==t[0]&&"init"!==t?(this.each((function(){var i=e.data(this,"plugin_"+s);i instanceof r&&"function"==typeof i[t]?n=i[t].apply(i,Array.prototype.slice.call(o,1)):console.warn('Fluidbox: The method "'+t+'" used is not defined in Fluidbox. Please make sure you are calling the correct public method.')})),n!==i?n:this):this}}(jQuery,window,document);let gls=[],programs=[],buffers=[]
;const numCanvases=2,vertexShaderSource="\n attribute vec2 position;\n void main() {\n gl_Position = vec4(position, 0.0, 1.0);\n }\n",fragmentShaderSource="\n precision mediump float; // Specify precision for float variables\n\n const int ITERATIONS = 3;\n const float SCALAR = pow(2.0, 4.0/3.0); // Ensure constants have the correct type\n\n uniform mat4 projection;\n uniform float eddy_scale;\n uniform float u_time;\n\n vec3 mod289(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n }\n\n vec4 mod289(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n }\n\n vec4 permute(vec4 x) {\n return mod289(((x*34.0)+1.0)*x);\n }\n\n vec4 taylorInvSqrt(vec4 r) {\n return 1.79284291400159 - 0.85373472095314 * r;\n }\n\n vec3 fade(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n }\n\n float cnoise(vec3 P) {\n vec3 Pi0 = floor(P);\n vec3 Pi1 = Pi0 + vec3(1.0);\n\n vec3 Pf0 = fract(P);\n vec3 Pf1 = Pf0 - vec3(1.0);\n\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute(permute(ix) + iy);\n vec4 ixy0 = permute(ixy + iz0);\n vec4 ixy1 = permute(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n\n vec4 norm1 = taylorInvSqrt(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n }\n vec4 effect(vec4 col_in, vec2 texture_coords, vec2 screen_coords ) {\n float f = 0.0;\n vec3 uv;\n\n // Calculate coordinates\n uv.xy = screen_coords / eddy_scale;\n uv.z = u_time / 5.0;\n\n // Create the noise\n for (int i=0; i<ITERATIONS; i++) {\n float scale = pow(SCALAR, float(i));\n f += abs( cnoise( uv * scale ) ) / scale;\n }\n\n vec4 colour = mix( vec4(0.0,0.0,0.0,1.0), col_in, 0.1 + f );\n\n return colour;\n }\n\n void main() {\n gl_FragColor = effect(vec4(0.0,0.0,1.0,1.0), gl_FragCoord.xy, gl_FragCoord.xy);\n }\n";for(let e=0;e<numCanvases;e++)initCanvas(e),renderCanvas(e);$(document).ready((function(){$(".use-fluidbox").fluidbox()}));