// source --> https://martincommercial.com/wp-content/themes/martin-commercial/js/custom-min.js?ver=1.2.5.2 
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,(function(){"use strict";function e(e){return e&&"[object Function]"==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var n=getComputedStyle(e,null);return t?n[t]:n}function n(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function i(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var o=t(e),r=o.overflow,s=o.overflowX,a=o.overflowY;return/(auto|scroll)/.test(r+a+s)?e:i(n(e))}function o(e){var n=e&&e.offsetParent,i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===t(n,"position")?o(n):n:e?e.ownerDocument.documentElement:document.documentElement}function r(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||o(e.firstElementChild)===e)}function s(e){return null===e.parentNode?e:s(e.parentNode)}function a(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,l=n?t:e,c=document.createRange();c.setStart(i,0),c.setEnd(l,0);var u=c.commonAncestorContainer;if(e!==u&&t!==u||i.contains(l))return r(u)?u:o(u);var f=s(e);return f.host?a(f.host,t):a(e,s(t).host)}function l(e,t){var n=1<arguments.length&&void 0!==t?t:"top",i="top"===n?"scrollTop":"scrollLeft",o=e.nodeName;if("BODY"===o||"HTML"===o){var r=e.ownerDocument.documentElement,s=e.ownerDocument.scrollingElement||r;return s[i]}return e[i]}function c(e,t,n){var i=2<arguments.length&&void 0!==n&&n,o=l(t,"top"),r=l(t,"left"),s=i?-1:1;return e.top+=o*s,e.bottom+=o*s,e.left+=r*s,e.right+=r*s,e}function u(e,t){var n="x"===t?"Left":"Top",i="Left"==n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function f(e,t,n,i){return X(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],ie()?n["offset"+e]+i["margin"+("Height"===e?"Top":"Left")]+i["margin"+("Height"===e?"Bottom":"Right")]:0)}function h(){var e=document.body,t=document.documentElement,n=ie()&&getComputedStyle(t);return{height:f("Height",e,t,n),width:f("Width",e,t,n)}}function d(e){return ae({},e,{right:e.left+e.width,bottom:e.top+e.height})}function p(e){var n={};if(ie())try{n=e.getBoundingClientRect();var i=l(e,"top"),o=l(e,"left");n.top+=i,n.left+=o,n.bottom+=i,n.right+=o}catch(e){}else n=e.getBoundingClientRect();var r={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},s="HTML"===e.nodeName?h():{},a=s.width||e.clientWidth||r.right-r.left,c=s.height||e.clientHeight||r.bottom-r.top,f=e.offsetWidth-a,p=e.offsetHeight-c;if(f||p){var m=t(e);f-=u(m,"x"),p-=u(m,"y"),r.width-=f,r.height-=p}return d(r)}function m(e,n){var o=ie(),r="HTML"===n.nodeName,s=p(e),a=p(n),l=i(e),u=t(n),f=parseFloat(u.borderTopWidth,10),h=parseFloat(u.borderLeftWidth,10),m=d({top:s.top-a.top-f,left:s.left-a.left-h,width:s.width,height:s.height});if(m.marginTop=0,m.marginLeft=0,!o&&r){var g=parseFloat(u.marginTop,10),v=parseFloat(u.marginLeft,10);m.top-=f-g,m.bottom-=f-g,m.left-=h-v,m.right-=h-v,m.marginTop=g,m.marginLeft=v}return(o?n.contains(l):n===l&&"BODY"!==l.nodeName)&&(m=c(m,n)),m}function g(e){var t=e.ownerDocument.documentElement,n=m(e,t),i=X(t.clientWidth,window.innerWidth||0),o=X(t.clientHeight,window.innerHeight||0),r=l(t),s=l(t,"left"),a;return d({top:r-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:o})}function v(e){var i=e.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===t(e,"position")||v(n(e)))}function _(e,t,o,r){var s={top:0,left:0},l=a(e,t);if("viewport"===r)s=g(l);else{var c;"scrollParent"===r?"BODY"===(c=i(n(t))).nodeName&&(c=e.ownerDocument.documentElement):c="window"===r?e.ownerDocument.documentElement:r;var u=m(c,l);if("HTML"!==c.nodeName||v(l))s=u;else{var f=h(),d=f.height,p=f.width;s.top+=u.top-u.marginTop,s.bottom=d+u.top,s.left+=u.left-u.marginLeft,s.right=p+u.left}}return s.left+=o,s.top+=o,s.right-=o,s.bottom-=o,s}function y(e){var t,n;return e.width*e.height}function b(e,t,n,i,o,r){var s=5<arguments.length&&void 0!==r?r:0;if(-1===e.indexOf("auto"))return e;var a=_(n,i,s,o),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},c=Object.keys(l).map((function(e){return ae({key:e},l[e],{area:y(l[e])})})).sort((function(e,t){return t.area-e.area})),u=c.filter((function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight})),f=0<u.length?u[0].key:c[0].key,h=e.split("-")[1];return f+(h?"-"+h:"")}function E(e,t,n){var i;return m(n,a(t,n))}function w(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight),o;return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function C(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function T(e,t,n){n=n.split("-")[0];var i=w(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=t[s]+t[l]/2-i[l]/2,o[a]=n===a?t[a]-i[c]:t[C(a)],o}function S(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function I(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var i=S(e,(function(e){return e[t]===n}));return e.indexOf(i)}function D(t,n,i){var o;return(void 0===i?t:t.slice(0,I(t,"name",i))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&e(i)&&(n.offsets.popper=d(n.offsets.popper),n.offsets.reference=d(n.offsets.reference),n=i(n,t))})),n}function A(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=E(this.state,this.popper,this.reference),e.placement=b(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.offsets.popper=T(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position="absolute",e=D(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function N(e,t){return e.some((function(e){var n=e.name,i;return e.enabled&&n===t}))}function O(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length-1;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function k(){return this.state.isDestroyed=!0,N(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[O("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function x(e){var t=e.ownerDocument;return t?t.defaultView:window}function P(e,t,n,o){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(t,n,{passive:!0}),r||P(i(s.parentNode),t,n,o),o.push(s)}function L(e,t,n,o){n.updateBound=o,x(e).addEventListener("resize",n.updateBound,{passive:!0});var r=i(e);return P(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function j(){this.state.eventsEnabled||(this.state=L(this.reference,this.options,this.state,this.scheduleUpdate))}function H(e,t){return x(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function R(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=H(this.reference,this.state))}function F(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function W(e,t){Object.keys(t).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&F(t[n])&&(i="px"),e.style[n]=t[n]+i}))}function M(e,t){Object.keys(t).forEach((function(n){var i;!1===t[n]?e.removeAttribute(n):e.setAttribute(n,t[n])}))}function U(e,t,n){var i=S(e,(function(e){var n;return e.name===t})),o=!!i&&e.some((function(e){return e.name===n&&e.enabled&&e.order<i.order}));if(!o){var r="`"+t+"`";console.warn("`"+n+"` modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}function B(e){return"end"===e?"start":"start"===e?"end":e}function q(e,t){var n=1<arguments.length&&void 0!==t&&t,i=ce.indexOf(e),o=ce.slice(i+1).concat(ce.slice(0,i));return n?o.reverse():o}function K(e,t,n,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2],a;if(!r)return e;if(0===s.indexOf("%")){var l,c;switch(s){case"%p":l=n;break;case"%":case"%r":default:l=i}return d(l)[t]/100*r}return"vh"===s||"vw"===s?(a="vh"===s?X(document.documentElement.clientHeight,window.innerHeight||0):X(document.documentElement.clientWidth,window.innerWidth||0))/100*r:r}function Q(e,t,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=e.split(/(\+|\-)/).map((function(e){return e.trim()})),a=s.indexOf(S(s,(function(e){return-1!==e.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1===a?[s]:[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))];return(c=c.map((function(e,i){var o=(1===i?!r:r)?"height":"width",s=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)}),[]).map((function(e){return K(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,i){F(n)&&(o[t]+=n*("-"===e[i-1]?-1:1))}))})),o}function V(e,t){var n,i=t.offset,o=e.placement,r=e.offsets,s=r.popper,a=r.reference,l=o.split("-")[0];return n=F(+i)?[+i,0]:Q(i,s,a,l),"left"===l?(s.top+=n[0],s.left-=n[1]):"right"===l?(s.top+=n[0],s.left+=n[1]):"top"===l?(s.left+=n[0],s.top-=n[1]):"bottom"===l&&(s.left+=n[0],s.top+=n[1]),e.popper=s,e}for(var Y=Math.min,z=Math.floor,X=Math.max,$="undefined"!=typeof window&&"undefined"!=typeof document,G=["Edge","Trident","Firefox"],J=0,Z=0;Z<G.length;Z+=1)if($&&0<=navigator.userAgent.indexOf(G[Z])){J=1;break}var ee,te,ne=$&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),J))}},ie=function(){return null==ee&&(ee=-1!==navigator.appVersion.indexOf("MSIE 10")),ee},oe=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},re=function(){function e(e,t){for(var n,i=0;i<t.length;i++)(n=t[i]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),se=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},ae=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},le=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ce=le.slice(3),ue="flip",fe="clockwise",he="counterclockwise",de=function(){function t(n,i,o){var r=this,s=2<arguments.length&&void 0!==o?o:{};oe(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=ne(this.update.bind(this)),this.options=ae({},t.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n&&n.jquery?n[0]:n,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(ae({},t.Defaults.modifiers,s.modifiers)).forEach((function(e){r.options.modifiers[e]=ae({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return ae({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(t){t.enabled&&e(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return re(t,[{key:"update",value:function(){return A.call(this)}},{key:"destroy",value:function(){return k.call(this)}},{key:"enableEventListeners",value:function(){return j.call(this)}},{key:"disableEventListeners",value:function(){return R.call(this)}}]),t}();return de.Utils=("undefined"==typeof window?global:window).PopperUtils,de.placements=le,de.Defaults={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:se({},l,r[l]),end:se({},l,r[l]+r[c]-s[c])};e.offsets.popper=ae({},s,u[i])}return e}},offset:{order:200,enabled:!0,fn:V,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||o(e.instance.popper);e.instance.reference===n&&(n=o(n));var i=_(e.instance.popper,e.instance.reference,t.padding,n);t.boundaries=i;var r=t.priority,s=e.offsets.popper,a={primary:function(e){var n=s[e];return s[e]<i[e]&&!t.escapeWithReference&&(n=X(s[e],i[e])),se({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=s[n];return s[e]>i[e]&&!t.escapeWithReference&&(o=Y(s[n],i[e]-("right"===e?s.width:s.height))),se({},n,o)}};return r.forEach((function(e){var t=-1===["left","top"].indexOf(e)?"secondary":"primary";s=ae({},s,a[t](e))})),e.offsets.popper=s,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=z,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(i[l])&&(e.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[a])&&(e.offsets.popper[l]=r(i[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,n){var i;if(!U(e.instance.modifiers,"arrow","keepTogether"))return e;var o=n.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],s=e.offsets,a=s.popper,l=s.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",f=c?"Top":"Left",h=f.toLowerCase(),p=c?"left":"top",m=c?"bottom":"right",g=w(o)[u];l[m]-g<a[h]&&(e.offsets.popper[h]-=a[h]-(l[m]-g)),l[h]+g>a[m]&&(e.offsets.popper[h]+=l[h]+g-a[m]),e.offsets.popper=d(e.offsets.popper);var v=l[h]+l[u]/2-g/2,_=t(e.instance.popper),y=parseFloat(_["margin"+f],10),b=parseFloat(_["border"+f+"Width"],10),E=v-e.offsets.popper[h]-y-b;return E=X(Y(a[u]-g,E),0),e.arrowElement=o,e.offsets.arrow=(se(i={},h,Math.round(E)),se(i,p,""),i),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(N(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=_(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),i=e.placement.split("-")[0],o=C(i),r=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case ue:s=[i,o];break;case fe:s=q(i);break;case he:s=q(i,!0);break;default:s=t.behavior}return s.forEach((function(a,l){if(i!==a||s.length===l+1)return e;i=e.placement.split("-")[0],o=C(i);var c=e.offsets.popper,u=e.offsets.reference,f=z,h="left"===i&&f(c.right)>f(u.left)||"right"===i&&f(c.left)<f(u.right)||"top"===i&&f(c.bottom)>f(u.top)||"bottom"===i&&f(c.top)<f(u.bottom),d=f(c.left)<f(n.left),p=f(c.right)>f(n.right),m=f(c.top)<f(n.top),g=f(c.bottom)>f(n.bottom),v="left"===i&&d||"right"===i&&p||"top"===i&&m||"bottom"===i&&g,_=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(_&&"start"===r&&d||_&&"end"===r&&p||!_&&"start"===r&&m||!_&&"end"===r&&g);(h||v||y)&&(e.flipped=!0,(h||v)&&(i=s[l+1]),y&&(r=B(r)),e.placement=i+(r?"-"+r:""),e.offsets.popper=ae({},e.offsets.popper,T(e.instance.popper,e.offsets.reference,e.placement)),e=D(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),e.placement=C(t),e.offsets.popper=d(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!U(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=S(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,r=e.offsets.popper,s=S(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==s&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,l,c=void 0===s?t.gpuAcceleration:s,u,f=p(o(e.instance.popper)),h={position:r.position},d={left:z(r.left),top:z(r.top),bottom:z(r.bottom),right:z(r.right)},m="bottom"===n?"top":"bottom",g="right"===i?"left":"right",v=O("transform");if(l="bottom"==m?-f.height+d.bottom:d.top,a="right"==g?-f.width+d.right:d.left,c&&v)h[v]="translate3d("+a+"px, "+l+"px, 0)",h[m]=0,h[g]=0,h.willChange="transform";else{var _="bottom"==m?-1:1,y="right"==g?-1:1;h[m]=l*_,h[g]=a*y,h.willChange=m+", "+g}var b={"x-placement":e.placement};return e.attributes=ae({},b,e.attributes),e.styles=ae({},h,e.styles),e.arrowStyles=ae({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return W(e.instance.popper,e.styles),M(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&W(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){var r=E(o,t,e),s=b(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),W(t,{position:"absolute"}),n},gpuAcceleration:void 0}}},de})),
/*!
 * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+
 * http://cherne.net/brian/resources/jquery.hoverIntent.html
 *
 * You may use hoverIntent under the terms of the MIT license.
 * Copyright 2007, 2013 Brian Cherne
 */
function(e){e.fn.hoverIntent=function(t,n,i){var o={interval:100,sensitivity:7,timeout:0},r,s,a,l;o="object"==typeof t?e.extend(o,t):e.isFunction(n)?e.extend(o,{over:t,out:n,selector:i}):e.extend(o,{over:t,out:t,selector:n});var c=function(e){r=e.pageX,s=e.pageY},u=function(t,n){if(n.hoverIntent_t=clearTimeout(n.hoverIntent_t),Math.abs(a-r)+Math.abs(l-s)<o.sensitivity)return e(n).off("mousemove.hoverIntent",c),n.hoverIntent_s=1,o.over.apply(n,[t]);a=r,l=s,n.hoverIntent_t=setTimeout((function(){u(t,n)}),o.interval)},f=function(e,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=0,o.out.apply(t,[e])},h=function(t){var n=jQuery.extend({},t),i=this;i.hoverIntent_t&&(i.hoverIntent_t=clearTimeout(i.hoverIntent_t)),"mouseenter"==t.type?(a=n.pageX,l=n.pageY,e(i).on("mousemove.hoverIntent",c),1!=i.hoverIntent_s&&(i.hoverIntent_t=setTimeout((function(){u(n,i)}),o.interval))):(e(i).off("mousemove.hoverIntent",c),1==i.hoverIntent_s&&(i.hoverIntent_t=setTimeout((function(){f(n,i)}),o.timeout)))};return this.on({"mouseenter.hoverIntent":h,"mouseleave.hoverIntent":h},o.selector)}}(jQuery),window.Modernizr=function(e,t,n){function i(e){v.cssText=e}function o(e,t){return i(E.join(e+";")+(t||""))}function r(e,t){return typeof e===t}function s(e,t){return!!~(""+e).indexOf(t)}function a(e,t){for(var i in e){var o=e[i];if(!s(o,"-")&&v[o]!==n)return"pfx"!=t||o}return!1}function l(e,t,i){for(var o in e){var s=t[e[o]];if(s!==n)return!1===i?e[o]:r(s,"function")?s.bind(i||t):s}return!1}function c(e,t,n){var i=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+C.join(i+" ")+i).split(" ");return r(t,"string")||r(t,"undefined")?a(o,t):l(o=(e+" "+T.join(i+" ")+i).split(" "),t,n)}function u(){h.input=function(n){for(var i=0,o=n.length;i<o;i++)A[n[i]]=n[i]in _;return A.list&&(A.list=!!t.createElement("datalist")&&!!e.HTMLDataListElement),A}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),h.inputtypes=function(e){for(var i=0,o,r,s,a=e.length;i<a;i++)_.setAttribute("type",r=e[i]),(o="text"!==_.type)&&(_.value=y,_.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(r)&&_.style.WebkitAppearance!==n?(p.appendChild(_),o=(s=t.defaultView).getComputedStyle&&"textfield"!==s.getComputedStyle(_,null).WebkitAppearance&&0!==_.offsetHeight,p.removeChild(_)):/^(search|tel)$/.test(r)||(o=/^(url|email)$/.test(r)?_.checkValidity&&!1===_.checkValidity():_.value!=y)),D[e[i]]=!!o;return D}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var f="2.8.2",h={},d=!0,p=t.documentElement,m="modernizr",g=t.createElement(m),v=g.style,_=t.createElement("input"),y=":)",b={}.toString,E=" -webkit- -moz- -o- -ms- ".split(" "),w="Webkit Moz O ms",C=w.split(" "),T=w.toLowerCase().split(" "),S="http://www.w3.org/2000/svg",I={},D={},A={},N=[],O=N.slice,k,x=function(e,n,i,o){var r,s,a,l,c=t.createElement("div"),u=t.body,f=u||t.createElement("body");if(parseInt(i,10))for(;i--;)(a=t.createElement("div")).id=o?o[i]:m+(i+1),c.appendChild(a);return r=["&#173;",'<style id="s',m,'">',e,"</style>"].join(""),c.id=m,(u?c:f).innerHTML+=r,f.appendChild(c),u||(f.style.background="",f.style.overflow="hidden",l=p.style.overflow,p.style.overflow="hidden",p.appendChild(f)),s=n(c,e),u?c.parentNode.removeChild(c):(f.parentNode.removeChild(f),p.style.overflow=l),!!s},P=function(){function e(e,o){o=o||t.createElement(i[e]||"div");var s=(e="on"+e)in o;return s||(o.setAttribute||(o=t.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(e,""),s=r(o[e],"function"),r(o[e],"undefined")||(o[e]=n),o.removeAttribute(e))),o=null,s}var i={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return e}(),L={}.hasOwnProperty,j;for(var H in j=r(L,"undefined")||r(L.call,"undefined")?function(e,t){return t in e&&r(e.constructor.prototype[t],"undefined")}:function(e,t){return L.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=O.call(arguments,1),i=function(){if(this instanceof i){var o=function(){};o.prototype=t.prototype;var r=new o,s=t.apply(r,n.concat(O.call(arguments)));return Object(s)===s?s:r}return t.apply(e,n.concat(O.call(arguments)))};return i}),I.flexbox=function(){return c("flexWrap")},I.flexboxlegacy=function(){return c("boxDirection")},I.canvas=function(){var e=t.createElement("canvas");return!!e.getContext&&!!e.getContext("2d")},I.canvastext=function(){return!!h.canvas&&!!r(t.createElement("canvas").getContext("2d").fillText,"function")},I.webgl=function(){return!!e.WebGLRenderingContext},I.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:x(["@media (",E.join("touch-enabled),("),m,")","{#modernizr{top:9px;position:absolute}}"].join(""),(function(e){n=9===e.offsetTop})),n},I.geolocation=function(){return"geolocation"in navigator},I.postmessage=function(){return!!e.postMessage},I.websqldatabase=function(){return!!e.openDatabase},I.indexedDB=function(){return!!c("indexedDB",e)},I.hashchange=function(){return P("hashchange",e)&&(t.documentMode===n||t.documentMode>7)},I.history=function(){return!!e.history&&!!history.pushState},I.draganddrop=function(){var e=t.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},I.websockets=function(){return"WebSocket"in e||"MozWebSocket"in e},I.rgba=function(){return i("background-color:rgba(150,255,150,.5)"),s(v.backgroundColor,"rgba")},I.hsla=function(){return i("background-color:hsla(120,40%,100%,.5)"),s(v.backgroundColor,"rgba")||s(v.backgroundColor,"hsla")},I.multiplebgs=function(){return i("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(v.background)},I.backgroundsize=function(){return c("backgroundSize")},I.borderimage=function(){return c("borderImage")},I.borderradius=function(){return c("borderRadius")},I.boxshadow=function(){return c("boxShadow")},I.textshadow=function(){return""===t.createElement("div").style.textShadow},I.opacity=function(){return o("opacity:.55"),/^0.55$/.test(v.opacity)},I.cssanimations=function(){return c("animationName")},I.csscolumns=function(){return c("columnCount")},I.cssgradients=function(){var e="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",n="linear-gradient(left top,#9f9, white);";return i((e+"-webkit- ".split(" ").join(t+e)+E.join(n+e)).slice(0,-e.length)),s(v.backgroundImage,"gradient")},I.cssreflections=function(){return c("boxReflect")},I.csstransforms=function(){return!!c("transform")},I.csstransforms3d=function(){var e=!!c("perspective");return e&&"webkitPerspective"in p.style&&x("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",(function(t,n){e=9===t.offsetLeft&&3===t.offsetHeight})),e},I.csstransitions=function(){return c("transition")},I.fontface=function(){var e;return x('@font-face {font-family:"font";src:url("https://")}',(function(n,i){var o=t.getElementById("smodernizr"),r=o.sheet||o.styleSheet,s=r?r.cssRules&&r.cssRules[0]?r.cssRules[0].cssText:r.cssText||"":"";e=/src/i.test(s)&&0===s.indexOf(i.split(" ")[0])})),e},I.generatedcontent=function(){var e;return x(["#",m,"{font:0/0 a}#",m,':after{content:"',y,'";visibility:hidden;font:3px/1 a}'].join(""),(function(t){e=t.offsetHeight>=3})),e},I.video=function(){var e=t.createElement("video"),n=!1;try{(n=!!e.canPlayType)&&((n=new Boolean(n)).ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(e){}return n},I.audio=function(){var e=t.createElement("audio"),n=!1;try{(n=!!e.canPlayType)&&((n=new Boolean(n)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(e){}return n},I.localstorage=function(){try{return localStorage.setItem(m,m),localStorage.removeItem(m),!0}catch(e){return!1}},I.sessionstorage=function(){try{return sessionStorage.setItem(m,m),sessionStorage.removeItem(m),!0}catch(e){return!1}},I.webworkers=function(){return!!e.Worker},I.applicationcache=function(){return!!e.applicationCache},I.svg=function(){return!!t.createElementNS&&!!t.createElementNS(S,"svg").createSVGRect},I.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==S},I.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(b.call(t.createElementNS(S,"animate")))},I.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(b.call(t.createElementNS(S,"clipPath")))},I)j(I,H)&&(k=H.toLowerCase(),h[k]=I[H](),N.push((h[k]?"":"no-")+k));return h.input||u(),h.addTest=function(e,t){if("object"==typeof e)for(var i in e)j(e,i)&&h.addTest(i,e[i]);else{if(e=e.toLowerCase(),h[e]!==n)return h;t="function"==typeof t?t():t,p.className+=" "+(t?"":"no-")+e,h[e]=t}return h},i(""),g=_=null,function(e,t){function n(e,t){var n=e.createElement("p"),i=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",i.insertBefore(n.lastChild,i.firstChild)}function i(){var e=_.elements;return"string"==typeof e?e.split(" "):e}function o(e){var t=g[e[p]];return t||(t={},m++,e[p]=m,g[m]=t),t}function r(e,n,i){return n||(n=t),v?n.createElement(e):(i||(i=o(n)),!(r=i.cache[e]?i.cache[e].cloneNode():h.test(e)?(i.cache[e]=i.createElem(e)).cloneNode():i.createElem(e)).canHaveChildren||f.test(e)||r.tagUrn?r:i.frag.appendChild(r));var r}function s(e,n){if(e||(e=t),v)return e.createDocumentFragment();for(var r=(n=n||o(e)).frag.cloneNode(),s=0,a=i(),l=a.length;s<l;s++)r.createElement(a[s]);return r}function a(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return _.shivMethods?r(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/[\w\-]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(_,t.frag)}function l(e){e||(e=t);var i=o(e);return _.shivCSS&&!d&&!i.hasCSS&&(i.hasCSS=!!n(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),v||a(e,i),e}var c="3.7.0",u=e.html5||{},f=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,h=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,d,p="_html5shiv",m=0,g={},v;!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",d="hidden"in e,v=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){d=!0,v=!0}}();var _={elements:u.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:!1!==u.shivCSS,supportsUnknownElements:v,shivMethods:!1!==u.shivMethods,type:"default",shivDocument:l,createElement:r,createDocumentFragment:s};e.html5=_,l(t)}(this,t),h._version=f,h._prefixes=E,h._domPrefixes=T,h._cssomPrefixes=C,h.hasEvent=P,h.testProp=function(e){return a([e])},h.testAllProps=c,h.testStyles=x,p.className=p.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+N.join(" "),h}(this,this.document),function(e,t,n){function i(e){return"[object Function]"==p.call(e)}function o(e){return"string"==typeof e}function r(){}function s(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function a(){var e=m.shift();g=1,e?e.t?h((function(){("c"==e.t?D.injectCss:D.injectJs)(e.s,0,e.a,e.x,e.e,1)}),0):(e(),a()):g=0}function l(e,n,i,o,r,l,c){function u(t){if(!p&&s(f.readyState)&&(b.r=p=1,!g&&a(),f.onload=f.onreadystatechange=null,t))for(var i in"img"!=e&&h((function(){y.removeChild(f)}),50),T[n])T[n].hasOwnProperty(i)&&T[n][i].onload()}var c=c||D.errorTimeout,f=t.createElement(e),p=0,v=0,b={t:i,s:n,e:r,a:l,x:c};1===T[n]&&(v=1,T[n]=[]),"object"==e?f.data=n:(f.src=n,f.type=e),f.width=f.height="0",f.onerror=f.onload=f.onreadystatechange=function(){u.call(this,v)},m.splice(o,0,b),"img"!=e&&(v||2===T[n]?(y.insertBefore(f,_?null:d),h(u,c)):T[n].push(f))}function c(e,t,n,i,r){return g=0,t=t||"j",o(e)?l("c"==t?E:b,e,t,this.i++,n,i,r):(m.splice(this.i++,0,e),1==m.length&&a()),this}function u(){var e=D;return e.loader={load:c,i:0},e}var f=t.documentElement,h=e.setTimeout,d=t.getElementsByTagName("script")[0],p={}.toString,m=[],g=0,v="MozAppearance"in f.style,_=v&&!!t.createRange().compareNode,y=_?f:d.parentNode,f=e.opera&&"[object Opera]"==p.call(e.opera),f=!!t.attachEvent&&!f,b=v?"object":f?"script":"img",E=f?"script":b,w=Array.isArray||function(e){return"[object Array]"==p.call(e)},C=[],T={},S={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}},I,D;(D=function(e){function t(e){var e=e.split("!"),t=C.length,n=e.pop(),i=e.length,n={url:n,origUrl:n,prefixes:e},o,r,s;for(r=0;r<i;r++)s=e[r].split("="),(o=S[s.shift()])&&(n=o(n,s));for(r=0;r<t;r++)n=C[r](n);return n}function s(e,o,r,s,a){var l=t(e),c=l.autoCallback;l.url.split(".").pop().split("?").shift(),l.bypass||(o&&(o=i(o)?o:o[e]||o[s]||o[e.split("/").pop().split("?")[0]]),l.instead?l.instead(e,o,r,s,a):(T[l.url]?l.noexec=!0:T[l.url]=1,r.load(l.url,l.forceCSS||!l.forceJS&&"css"==l.url.split(".").pop().split("?").shift()?"c":n,l.noexec,l.attrs,l.timeout),(i(o)||i(c))&&r.load((function(){u(),o&&o(l.origUrl,a,s),c&&c(l.origUrl,a,s),T[l.url]=2}))))}function a(e,t){function n(e,n){if(e){if(o(e))n||(c=function(){var e=[].slice.call(arguments);u.apply(this,e),f()}),s(e,c,t,0,a);else if(Object(e)===e)for(d in h=function(){var t=0,n;for(n in e)e.hasOwnProperty(n)&&t++;return t}(),e)e.hasOwnProperty(d)&&(!n&&!--h&&(i(c)?c=function(){var e=[].slice.call(arguments);u.apply(this,e),f()}:c[d]=function(e){return function(){var t=[].slice.call(arguments);e&&e.apply(this,t),f()}}(u[d])),s(e[d],c,t,d,a))}else!n&&f()}var a=!!e.test,l=e.load||e.both,c=e.callback||r,u=c,f=e.complete||r,h,d;n(a?e.yep:e.nope,!!l),l&&n(l)}var l,c,f=this.yepnope.loader;if(o(e))s(e,0,f,0);else if(w(e))for(l=0;l<e.length;l++)o(c=e[l])?s(c,0,f,0):w(c)?D(c):Object(c)===c&&a(c,f);else Object(e)===e&&a(e,f)}).addPrefix=function(e,t){S[e]=t},D.addFilter=function(e){C.push(e)},D.errorTimeout=1e4,null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",I=function(){t.removeEventListener("DOMContentLoaded",I,0),t.readyState="complete"},0)),e.yepnope=u(),e.yepnope.executeStack=a,e.yepnope.injectJs=function(e,n,i,o,l,c){var u=t.createElement("script"),f,p,o=o||D.errorTimeout;for(p in u.src=e,i)u.setAttribute(p,i[p]);n=c?a:n||r,u.onreadystatechange=u.onload=function(){!f&&s(u.readyState)&&(f=1,n(),u.onload=u.onreadystatechange=null)},h((function(){f||(f=1,n(1))}),o),l?u.onload():d.parentNode.insertBefore(u,d)},e.yepnope.injectCss=function(e,n,i,o,s,l){var o=t.createElement("link"),c,n=l?a:n||r;for(c in o.href=e,o.rel="stylesheet",o.type="text/css",i)o.setAttribute(c,i[c]);s||(d.parentNode.insertBefore(o,d),h(n,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("popper.js"),require("jquery")):"function"==typeof define&&define.amd?define(["exports","popper.js","jquery"],t):t(e.bootstrap={},e.Popper,e.jQuery)}(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 o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function r(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){var i,o,r;i=e,r=n[o=t],o in i?Object.defineProperty(i,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[o]=r}))}return e}function s(e){var t=this,i=!1;return n(this).one(l.TRANSITION_END,(function(){i=!0})),setTimeout((function(){i||l.triggerTransitionEnd(t)}),e),this}t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n;var a="transitionend",l={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),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():""}return t&&document.querySelector(t)?t:null},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=n(e).css("transition-duration"),i=n(e).css("transition-delay"),o=parseFloat(t),r=parseFloat(i);return o||r?(t=t.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(t)+parseFloat(i))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){n(e).trigger(a)},supportsTransitionEnd:function(){return Boolean(a)},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 o=n[i],r=t[i],s=r&&l.isElement(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"!=typeof e.getRootNode)return e instanceof ShadowRoot?e:e.parentNode?l.findShadowRoot(e.parentNode):null;var t=e.getRootNode();return t instanceof ShadowRoot?t:null}};n.fn.emulateTransitionEnd=s,n.event.special[l.TRANSITION_END]={bindType:a,delegateType:a,handle:function(e){if(n(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var c="alert",u="bs.alert",f="."+u,h=n.fn[c],d={CLOSE:"close"+f,CLOSED:"closed"+f,CLICK_DATA_API:"click"+f+".data-api"},p="alert",m="fade",g="show",v=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){n.removeData(this._element,u),this._element=null},t._getRootElement=function(e){var t=l.getSelectorFromElement(e),i=!1;return t&&(i=document.querySelector(t)),i||(i=n(e).closest("."+p)[0]),i},t._triggerCloseEvent=function(e){var t=n.Event(d.CLOSE);return n(e).trigger(t),t},t._removeElement=function(e){var t=this;if(n(e).removeClass(g),n(e).hasClass(m)){var i=l.getTransitionDurationFromElement(e);n(e).one(l.TRANSITION_END,(function(n){return t._destroyElement(e,n)})).emulateTransitionEnd(i)}else this._destroyElement(e)},t._destroyElement=function(e){n(e).detach().trigger(d.CLOSED).remove()},e._jQueryInterface=function(t){return this.each((function(){var i=n(this),o=i.data(u);o||(o=new e(this),i.data(u,o)),"close"===t&&o[t](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},o(e,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),e}();n(document).on(d.CLICK_DATA_API,'[data-dismiss="alert"]',v._handleDismiss(new v)),n.fn[c]=v._jQueryInterface,n.fn[c].Constructor=v,n.fn[c].noConflict=function(){return n.fn[c]=h,v._jQueryInterface};var _="button",y="bs.button",b="."+y,E=".data-api",w=n.fn[_],C="active",T="btn",S="focus",I='[data-toggle^="button"]',D='[data-toggle="buttons"]',A='input:not([type="hidden"])',N=".active",O=".btn",k={CLICK_DATA_API:"click"+b+E,FOCUS_BLUR_DATA_API:"focus"+b+E+" blur"+b+E},x=function(){function e(e){this._element=e}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,i=n(this._element).closest(D)[0];if(i){var o=this._element.querySelector(A);if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains(C))e=!1;else{var r=i.querySelector(N);r&&n(r).removeClass(C)}if(e){if(o.hasAttribute("disabled")||i.hasAttribute("disabled")||o.classList.contains("disabled")||i.classList.contains("disabled"))return;o.checked=!this._element.classList.contains(C),n(o).trigger("change")}o.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(C)),e&&n(this._element).toggleClass(C)},t.dispose=function(){n.removeData(this._element,y),this._element=null},e._jQueryInterface=function(t){return this.each((function(){var i=n(this).data(y);i||(i=new e(this),n(this).data(y,i)),"toggle"===t&&i[t]()}))},o(e,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),e}();n(document).on(k.CLICK_DATA_API,I,(function(e){e.preventDefault();var t=e.target;n(t).hasClass(T)||(t=n(t).closest(O)),x._jQueryInterface.call(n(t),"toggle")})).on(k.FOCUS_BLUR_DATA_API,I,(function(e){var t=n(e.target).closest(O)[0];n(t).toggleClass(S,/^focus(in)?$/.test(e.type))})),n.fn[_]=x._jQueryInterface,n.fn[_].Constructor=x,n.fn[_].noConflict=function(){return n.fn[_]=w,x._jQueryInterface};var P="carousel",L="bs.carousel",j="."+L,H=".data-api",R=n.fn[P],F={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},W={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},M="next",U="prev",B="left",q="right",K={SLIDE:"slide"+j,SLID:"slid"+j,KEYDOWN:"keydown"+j,MOUSEENTER:"mouseenter"+j,MOUSELEAVE:"mouseleave"+j,TOUCHSTART:"touchstart"+j,TOUCHMOVE:"touchmove"+j,TOUCHEND:"touchend"+j,POINTERDOWN:"pointerdown"+j,POINTERUP:"pointerup"+j,DRAG_START:"dragstart"+j,LOAD_DATA_API:"load"+j+H,CLICK_DATA_API:"click"+j+H},Q="carousel",V="active",Y="slide",z="carousel-item-right",X="carousel-item-left",$="carousel-item-next",G="carousel-item-prev",J="pointer-event",Z=".active",ee=".active.carousel-item",te=".carousel-item",ne=".carousel-item img",ie=".carousel-item-next, .carousel-item-prev",oe=".carousel-indicators",re="[data-slide], [data-slide-to]",se='[data-ride="carousel"]',ae={TOUCH:"touch",PEN:"pen"},le=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(oe),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function(){this._isSliding||this._slide(M)},t.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&"hidden"!==n(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(U)},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(ie)&&(l.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.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))},t.to=function(e){var t=this;this._activeElement=this._element.querySelector(ee);var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)n(this._element).one(K.SLID,(function(){return t.to(e)}));else{if(i===e)return this.pause(),void this.cycle();var o=i<e?M:U;this._slide(o,this._items[e])}},t.dispose=function(){n(this._element).off(j),n.removeData(this._element,L),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(e){return e=r({},F,e),l.typeCheckConfig(P,e,W),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;0<t&&this.prev(),t<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&n(this._element).on(K.KEYDOWN,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&n(this._element).on(K.MOUSEENTER,(function(t){return e.pause(t)})).on(K.MOUSELEAVE,(function(t){return e.cycle(t)})),this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&ae[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){e._pointerEvent&&ae[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)}),500+e._config.interval))};n(this._element.querySelectorAll(ne)).on(K.DRAG_START,(function(e){return e.preventDefault()})),this._pointerEvent?(n(this._element).on(K.POINTERDOWN,(function(e){return t(e)})),n(this._element).on(K.POINTERUP,(function(e){return i(e)})),this._element.classList.add(J)):(n(this._element).on(K.TOUCHSTART,(function(e){return t(e)})),n(this._element).on(K.TOUCHMOVE,(function(t){var n;(n=t).originalEvent.touches&&1<n.originalEvent.touches.length?e.touchDeltaX=0:e.touchDeltaX=n.originalEvent.touches[0].clientX-e.touchStartX})),n(this._element).on(K.TOUCHEND,(function(e){return i(e)})))}},t._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(te)):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var n=e===M,i=e===U,o=this._getItemIndex(t),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return t;var s=(o+(e===U?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},t._triggerSlideEvent=function(e,t){var i=this._getItemIndex(e),o=this._getItemIndex(this._element.querySelector(ee)),r=n.Event(K.SLIDE,{relatedTarget:e,direction:t,from:o,to:i});return n(this._element).trigger(r),r},t._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(Z));n(t).removeClass(V);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&n(i).addClass(V)}},t._slide=function(e,t){var i,o,r,s=this,a=this._element.querySelector(ee),c=this._getItemIndex(a),u=t||a&&this._getItemByDirection(e,a),f=this._getItemIndex(u),h=Boolean(this._interval);if(r=e===M?(i=X,o=$,B):(i=z,o=G,q),u&&n(u).hasClass(V))this._isSliding=!1;else if(!this._triggerSlideEvent(u,r).isDefaultPrevented()&&a&&u){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(u);var d=n.Event(K.SLID,{relatedTarget:u,direction:r,from:c,to:f});if(n(this._element).hasClass(Y)){n(u).addClass(o),l.reflow(u),n(a).addClass(i),n(u).addClass(i);var p=parseInt(u.getAttribute("data-interval"),10);this._config.interval=p?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,p):this._config.defaultInterval||this._config.interval;var m=l.getTransitionDurationFromElement(a);n(a).one(l.TRANSITION_END,(function(){n(u).removeClass(i+" "+o).addClass(V),n(a).removeClass(V+" "+o+" "+i),s._isSliding=!1,setTimeout((function(){return n(s._element).trigger(d)}),0)})).emulateTransitionEnd(m)}else n(a).removeClass(V),n(u).addClass(V),this._isSliding=!1,n(this._element).trigger(d);h&&this.cycle()}},e._jQueryInterface=function(t){return this.each((function(){var i=n(this).data(L),o=r({},F,n(this).data());"object"==typeof t&&(o=r({},o,t));var s="string"==typeof t?t:o.slide;if(i||(i=new e(this,o),n(this).data(L,i)),"number"==typeof t)i.to(t);else if("string"==typeof s){if(void 0===i[s])throw new TypeError('No method named "'+s+'"');i[s]()}else o.interval&&(i.pause(),i.cycle())}))},e._dataApiClickHandler=function(t){var i=l.getSelectorFromElement(this);if(i){var o=n(i)[0];if(o&&n(o).hasClass(Q)){var s=r({},n(o).data(),n(this).data()),a=this.getAttribute("data-slide-to");a&&(s.interval=!1),e._jQueryInterface.call(n(o),s),a&&n(o).data(L).to(a),t.preventDefault()}}},o(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return F}}]),e}();n(document).on(K.CLICK_DATA_API,re,le._dataApiClickHandler),n(window).on(K.LOAD_DATA_API,(function(){for(var e=[].slice.call(document.querySelectorAll(se)),t=0,i=e.length;t<i;t++){var o=n(e[t]);le._jQueryInterface.call(o,o.data())}})),n.fn[P]=le._jQueryInterface,n.fn[P].Constructor=le,n.fn[P].noConflict=function(){return n.fn[P]=R,le._jQueryInterface};var ce="collapse",ue="bs.collapse",fe="."+ue,he=n.fn[ce],de={toggle:!0,parent:""},pe={toggle:"boolean",parent:"(string|element)"},me={SHOW:"show"+fe,SHOWN:"shown"+fe,HIDE:"hide"+fe,HIDDEN:"hidden"+fe,CLICK_DATA_API:"click"+fe+".data-api"},ge="show",ve="collapse",_e="collapsing",ye="collapsed",be="width",Ee="height",we=".show, .collapsing",Ce='[data-toggle="collapse"]',Te=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(Ce)),i=0,o=n.length;i<o;i++){var r=n[i],s=l.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(s)).filter((function(t){return t===e}));null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype;return t.toggle=function(){n(this._element).hasClass(ge)?this.hide():this.show()},t.show=function(){var t,i,o=this;if(!(this._isTransitioning||n(this._element).hasClass(ge)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(we)).filter((function(e){return"string"==typeof o._config.parent?e.getAttribute("data-parent")===o._config.parent:e.classList.contains(ve)}))).length&&(t=null),t&&(i=n(t).not(this._selector).data(ue))&&i._isTransitioning))){var r=n.Event(me.SHOW);if(n(this._element).trigger(r),!r.isDefaultPrevented()){t&&(e._jQueryInterface.call(n(t).not(this._selector),"hide"),i||n(t).data(ue,null));var s=this._getDimension();n(this._element).removeClass(ve).addClass(_e),this._element.style[s]=0,this._triggerArray.length&&n(this._triggerArray).removeClass(ye).attr("aria-expanded",!0),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),c=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,(function(){n(o._element).removeClass(_e).addClass(ve).addClass(ge),o._element.style[s]="",o.setTransitioning(!1),n(o._element).trigger(me.SHOWN)})).emulateTransitionEnd(c),this._element.style[s]=this._element[a]+"px"}}},t.hide=function(){var e=this;if(!this._isTransitioning&&n(this._element).hasClass(ge)){var t=n.Event(me.HIDE);if(n(this._element).trigger(t),!t.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",l.reflow(this._element),n(this._element).addClass(_e).removeClass(ve).removeClass(ge);var o=this._triggerArray.length;if(0<o)for(var r=0;r<o;r++){var s=this._triggerArray[r],a=l.getSelectorFromElement(s)
;null!==a&&(n([].slice.call(document.querySelectorAll(a))).hasClass(ge)||n(s).addClass(ye).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[i]="";var c=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,(function(){e.setTransitioning(!1),n(e._element).removeClass(_e).addClass(ve).trigger(me.HIDDEN)})).emulateTransitionEnd(c)}}},t.setTransitioning=function(e){this._isTransitioning=e},t.dispose=function(){n.removeData(this._element,ue),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(e){return(e=r({},de,e)).toggle=Boolean(e.toggle),l.typeCheckConfig(ce,e,pe),e},t._getDimension=function(){return n(this._element).hasClass(be)?be:Ee},t._getParent=function(){var t,i=this;l.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(t.querySelectorAll(o));return n(r).each((function(t,n){i._addAriaAndCollapsedClass(e._getTargetFromElement(n),[n])})),t},t._addAriaAndCollapsedClass=function(e,t){var i=n(e).hasClass(ge);t.length&&n(t).toggleClass(ye,!i).attr("aria-expanded",i)},e._getTargetFromElement=function(e){var t=l.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(t){return this.each((function(){var i=n(this),o=i.data(ue),s=r({},de,i.data(),"object"==typeof t&&t?t:{});if(!o&&s.toggle&&/show|hide/.test(t)&&(s.toggle=!1),o||(o=new e(this,s),i.data(ue,o)),"string"==typeof t){if(void 0===o[t])throw new TypeError('No method named "'+t+'"');o[t]()}}))},o(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return de}}]),e}();n(document).on(me.CLICK_DATA_API,Ce,(function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var t=n(this),i=l.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(i));n(o).each((function(){var e=n(this),i=e.data(ue)?"toggle":t.data();Te._jQueryInterface.call(e,i)}))})),n.fn[ce]=Te._jQueryInterface,n.fn[ce].Constructor=Te,n.fn[ce].noConflict=function(){return n.fn[ce]=he,Te._jQueryInterface};var Se="dropdown",Ie="bs.dropdown",De="."+Ie,Ae=".data-api",Ne=n.fn[Se],Oe=new RegExp("38|40|27"),ke={HIDE:"hide"+De,HIDDEN:"hidden"+De,SHOW:"show"+De,SHOWN:"shown"+De,CLICK:"click"+De,CLICK_DATA_API:"click"+De+Ae,KEYDOWN_DATA_API:"keydown"+De+Ae,KEYUP_DATA_API:"keyup"+De+Ae},xe="disabled",Pe="show",Le="dropup",je="dropright",He="dropleft",Re="dropdown-menu-right",Fe="position-static",We='[data-toggle="dropdown"]',Me=".dropdown form",Ue=".dropdown-menu",Be=".navbar-nav",qe=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ke="top-start",Qe="top-end",Ve="bottom-start",Ye="bottom-end",ze="right-start",Xe="left-start",$e={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Ge={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Je=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&&!n(this._element).hasClass(xe)){var i=e._getParentFromElement(this._element),o=n(this._menu).hasClass(Pe);if(e._clearMenus(),!o){var r={relatedTarget:this._element},s=n.Event(ke.SHOW,r);if(n(i).trigger(s),!s.isDefaultPrevented()){if(!this._inNavbar){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=i:l.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&n(i).addClass(Fe),this._popper=new t(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===n(i).closest(Be).length&&n(document.body).children().on("mouseover",null,n.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),n(this._menu).toggleClass(Pe),n(i).toggleClass(Pe).trigger(n.Event(ke.SHOWN,r))}}}},i.show=function(){if(!(this._element.disabled||n(this._element).hasClass(xe)||n(this._menu).hasClass(Pe))){var t={relatedTarget:this._element},i=n.Event(ke.SHOW,t),o=e._getParentFromElement(this._element);n(o).trigger(i),i.isDefaultPrevented()||(n(this._menu).toggleClass(Pe),n(o).toggleClass(Pe).trigger(n.Event(ke.SHOWN,t)))}},i.hide=function(){if(!this._element.disabled&&!n(this._element).hasClass(xe)&&n(this._menu).hasClass(Pe)){var t={relatedTarget:this._element},i=n.Event(ke.HIDE,t),o=e._getParentFromElement(this._element);n(o).trigger(i),i.isDefaultPrevented()||(n(this._menu).toggleClass(Pe),n(o).toggleClass(Pe).trigger(n.Event(ke.HIDDEN,t)))}},i.dispose=function(){n.removeData(this._element,Ie),n(this._element).off(De),this._element=null,(this._menu=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;n(this._element).on(ke.CLICK,(function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}))},i._getConfig=function(e){return e=r({},this.constructor.Default,n(this._element).data(),e),l.typeCheckConfig(Se,e,this.constructor.DefaultType),e},i._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Ue))}return this._menu},i._getPlacement=function(){var e=n(this._element.parentNode),t=Ve;return e.hasClass(Le)?(t=Ke,n(this._menu).hasClass(Re)&&(t=Qe)):e.hasClass(je)?t=ze:e.hasClass(He)?t=Xe:n(this._menu).hasClass(Re)&&(t=Ye),t},i._detectNavbar=function(){return 0<n(this._element).closest(".navbar").length},i._getPopperConfig=function(){var e=this,t={};"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=r({},t.offsets,e._config.offset(t.offsets)||{}),t}:t.offset=this._config.offset;var n={placement:this._getPlacement(),modifiers:{offset:t,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),n},e._jQueryInterface=function(t){return this.each((function(){var i=n(this).data(Ie);if(i||(i=new e(this,"object"==typeof t?t:null),n(this).data(Ie,i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}}))},e._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var i=[].slice.call(document.querySelectorAll(We)),o=0,r=i.length;o<r;o++){var s=e._getParentFromElement(i[o]),a=n(i[o]).data(Ie),l={relatedTarget:i[o]};if(t&&"click"===t.type&&(l.clickEvent=t),a){var c=a._menu;if(n(s).hasClass(Pe)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&n.contains(s,t.target))){var u=n.Event(ke.HIDE,l);n(s).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),i[o].setAttribute("aria-expanded","false"),n(c).removeClass(Pe),n(s).removeClass(Pe).trigger(n.Event(ke.HIDDEN,l)))}}}},e._getParentFromElement=function(e){var t,n=l.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||n(t.target).closest(Ue).length)):Oe.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!n(this).hasClass(xe))){var i=e._getParentFromElement(this),o=n(i).hasClass(Pe);if(o&&(!o||27!==t.which&&32!==t.which)){var r=[].slice.call(i.querySelectorAll(qe));if(0!==r.length){var s=r.indexOf(t.target);38===t.which&&0<s&&s--,40===t.which&&s<r.length-1&&s++,s<0&&(s=0),r[s].focus()}}else{if(27===t.which){var a=i.querySelector(We);n(a).trigger("focus")}n(this).trigger("click")}}},o(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return $e}},{key:"DefaultType",get:function(){return Ge}}]),e}();n(document).on(ke.KEYDOWN_DATA_API,We,Je._dataApiKeydownHandler).on(ke.KEYDOWN_DATA_API,Ue,Je._dataApiKeydownHandler).on(ke.CLICK_DATA_API+" "+ke.KEYUP_DATA_API,Je._clearMenus).on(ke.CLICK_DATA_API,We,(function(e){e.preventDefault(),e.stopPropagation(),Je._jQueryInterface.call(n(this),"toggle")})).on(ke.CLICK_DATA_API,Me,(function(e){e.stopPropagation()})),n.fn[Se]=Je._jQueryInterface,n.fn[Se].Constructor=Je,n.fn[Se].noConflict=function(){return n.fn[Se]=Ne,Je._jQueryInterface};var Ze="modal",et="bs.modal",tt="."+et,nt=n.fn[Ze],it={backdrop:!0,keyboard:!0,focus:!0,show:!0},ot={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},rt={HIDE:"hide"+tt,HIDDEN:"hidden"+tt,SHOW:"show"+tt,SHOWN:"shown"+tt,FOCUSIN:"focusin"+tt,RESIZE:"resize"+tt,CLICK_DISMISS:"click.dismiss"+tt,KEYDOWN_DISMISS:"keydown.dismiss"+tt,MOUSEUP_DISMISS:"mouseup.dismiss"+tt,MOUSEDOWN_DISMISS:"mousedown.dismiss"+tt,CLICK_DATA_API:"click"+tt+".data-api"},st="modal-scrollbar-measure",at="modal-backdrop",lt="modal-open",ct="fade",ut="show",ft=".modal-dialog",ht='[data-toggle="modal"]',dt='[data-dismiss="modal"]',pt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",mt=".sticky-top",gt=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(ft),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=e.prototype;return t.toggle=function(e){return this._isShown?this.hide():this.show(e)},t.show=function(e){var t=this;if(!this._isShown&&!this._isTransitioning){n(this._element).hasClass(ct)&&(this._isTransitioning=!0);var i=n.Event(rt.SHOW,{relatedTarget:e});n(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),n(this._element).on(rt.CLICK_DISMISS,dt,(function(e){return t.hide(e)})),n(this._dialog).on(rt.MOUSEDOWN_DISMISS,(function(){n(t._element).one(rt.MOUSEUP_DISMISS,(function(e){n(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return t._showElement(e)})))}},t.hide=function(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var i=n.Event(rt.HIDE);if(n(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var o=n(this._element).hasClass(ct);if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n(document).off(rt.FOCUSIN),n(this._element).removeClass(ut),n(this._element).off(rt.CLICK_DISMISS),n(this._dialog).off(rt.MOUSEDOWN_DISMISS),o){var r=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,(function(e){return t._hideModal(e)})).emulateTransitionEnd(r)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach((function(e){return n(e).off(tt)})),n(document).off(rt.FOCUSIN),n.removeData(this._element,et),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},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(e){return e=r({},it,e),l.typeCheckConfig(Ze,e,ot),e},t._showElement=function(e){var t=this,i=n(this._element).hasClass(ct);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.scrollTop=0,i&&l.reflow(this._element),n(this._element).addClass(ut),this._config.focus&&this._enforceFocus();var o=n.Event(rt.SHOWN,{relatedTarget:e}),r=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,n(t._element).trigger(o)};if(i){var s=l.getTransitionDurationFromElement(this._dialog);n(this._dialog).one(l.TRANSITION_END,r).emulateTransitionEnd(s)}else r()},t._enforceFocus=function(){var e=this;n(document).off(rt.FOCUSIN).on(rt.FOCUSIN,(function(t){document!==t.target&&e._element!==t.target&&0===n(e._element).has(t.target).length&&e._element.focus()}))},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?n(this._element).on(rt.KEYDOWN_DISMISS,(function(t){27===t.which&&(t.preventDefault(),e.hide())})):this._isShown||n(this._element).off(rt.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?n(window).on(rt.RESIZE,(function(t){return e.handleUpdate(t)})):n(window).off(rt.RESIZE)},t._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(){n(document.body).removeClass(lt),e._resetAdjustments(),e._resetScrollbar(),n(e._element).trigger(rt.HIDDEN)}))},t._removeBackdrop=function(){this._backdrop&&(n(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(e){var t=this,i=n(this._element).hasClass(ct)?ct:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=at,i&&this._backdrop.classList.add(i),n(this._backdrop).appendTo(document.body),n(this._element).on(rt.CLICK_DISMISS,(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())})),i&&l.reflow(this._backdrop),n(this._backdrop).addClass(ut),!e)return;if(!i)return void e();var o=l.getTransitionDurationFromElement(this._backdrop);n(this._backdrop).one(l.TRANSITION_END,e).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){n(this._backdrop).removeClass(ut);var r=function(){t._removeBackdrop(),e&&e()};if(n(this._element).hasClass(ct)){var s=l.getTransitionDurationFromElement(this._backdrop);n(this._backdrop).one(l.TRANSITION_END,r).emulateTransitionEnd(s)}else r()}else e&&e()},t._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")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(pt)),i=[].slice.call(document.querySelectorAll(mt));n(t).each((function(t,i){var o=i.style.paddingRight,r=n(i).css("padding-right");n(i).data("padding-right",o).css("padding-right",parseFloat(r)+e._scrollbarWidth+"px")})),n(i).each((function(t,i){var o=i.style.marginRight,r=n(i).css("margin-right");n(i).data("margin-right",o).css("margin-right",parseFloat(r)-e._scrollbarWidth+"px")}));var o=document.body.style.paddingRight,r=n(document.body).css("padding-right");n(document.body).data("padding-right",o).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}n(document.body).addClass(lt)},t._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(pt));n(e).each((function(e,t){var i=n(t).data("padding-right");n(t).removeData("padding-right"),t.style.paddingRight=i||""}));var t=[].slice.call(document.querySelectorAll(""+mt));n(t).each((function(e,t){var i=n(t).data("margin-right");void 0!==i&&n(t).css("margin-right",i).removeData("margin-right")}));var i=n(document.body).data("padding-right");n(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},t._getScrollbarWidth=function(){var e=document.createElement("div");e.className=st,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(t,i){return this.each((function(){var o=n(this).data(et),s=r({},it,n(this).data(),"object"==typeof t&&t?t:{});if(o||(o=new e(this,s),n(this).data(et,o)),"string"==typeof t){if(void 0===o[t])throw new TypeError('No method named "'+t+'"');o[t](i)}else s.show&&o.show(i)}))},o(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return it}}]),e}();n(document).on(rt.CLICK_DATA_API,ht,(function(e){var t,i=this,o=l.getSelectorFromElement(this);o&&(t=document.querySelector(o));var s=n(t).data(et)?"toggle":r({},n(t).data(),n(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var a=n(t).one(rt.SHOW,(function(e){e.isDefaultPrevented()||a.one(rt.HIDDEN,(function(){n(i).is(":visible")&&i.focus()}))}));gt._jQueryInterface.call(n(t),s,this)})),n.fn[Ze]=gt._jQueryInterface,n.fn[Ze].Constructor=gt,n.fn[Ze].noConflict=function(){return n.fn[Ze]=nt,gt._jQueryInterface};var vt="tooltip",_t="bs.tooltip",yt="."+_t,bt=n.fn[vt],Et="bs-tooltip",wt=new RegExp("(^|\\s)"+Et+"\\S+","g"),Ct={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},Tt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},St={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"},It="show",Dt="out",At={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},Nt="fade",Ot="show",kt=".tooltip-inner",xt=".arrow",Pt="hover",Lt="focus",jt="click",Ht="manual",Rt=function(){function e(e,n){if(void 0===t)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(n),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 t=this.constructor.DATA_KEY,i=n(e.currentTarget).data(t);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),n(e.currentTarget).data(t,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(n(this.getTipElement()).hasClass(Ot))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),n.removeData(this.element,this.constructor.DATA_KEY),n(this.element).off(this.constructor.EVENT_KEY),n(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&n(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var e=this;if("none"===n(this.element).css("display"))throw new Error("Please use show on visible elements");var i=n.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){n(this.element).trigger(i);var o=l.findShadowRoot(this.element),r=n.contains(null!==o?o:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!r)return;var s=this.getTipElement(),a=l.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&n(s).addClass(Nt);var c="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,u=this._getAttachment(c);this.addAttachmentClass(u);var f=this._getContainer();n(s).data(this.constructor.DATA_KEY,this),n.contains(this.element.ownerDocument.documentElement,this.tip)||n(s).appendTo(f),n(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new t(this.element,s,{placement:u,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:xt},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),n(s).addClass(Ot),"ontouchstart"in document.documentElement&&n(document.body).children().on("mouseover",null,n.noop);var h=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,n(e.element).trigger(e.constructor.Event.SHOWN),t===Dt&&e._leave(null,e)};if(n(this.tip).hasClass(Nt)){var d=l.getTransitionDurationFromElement(this.tip);n(this.tip).one(l.TRANSITION_END,h).emulateTransitionEnd(d)}else h()}},i.hide=function(e){var t=this,i=this.getTipElement(),o=n.Event(this.constructor.Event.HIDE),r=function(){t._hoverState!==It&&i.parentNode&&i.parentNode.removeChild(i),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),n(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(n(this.element).trigger(o),!o.isDefaultPrevented()){if(n(i).removeClass(Ot),"ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),this._activeTrigger[jt]=!1,this._activeTrigger[Lt]=!1,this._activeTrigger[Pt]=!1,n(this.tip).hasClass(Nt)){var s=l.getTransitionDurationFromElement(i);n(i).one(l.TRANSITION_END,r).emulateTransitionEnd(s)}else r();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(e){n(this.getTipElement()).addClass(Et+"-"+e)},i.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},i.setContent=function(){var e=this.getTipElement();this.setElementContent(n(e.querySelectorAll(kt)),this.getTitle()),n(e).removeClass(Nt+" "+Ot)},i.setElementContent=function(e,t){var i=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?i?n(t).parent().is(e)||e.empty().append(t):e.text(n(t).text()):e[i?"html":"text"](t)},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._getContainer=function(){return!1===this.config.container?document.body:l.isElement(this.config.container)?n(this.config.container):n(document).find(this.config.container)},i._getAttachment=function(e){return Tt[e.toUpperCase()]},i._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)n(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if(t!==Ht){var i=t===Pt?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,o=t===Pt?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;n(e.element).on(i,e.config.selector,(function(t){return e._enter(t)})).on(o,e.config.selector,(function(t){return e._leave(t)}))}})),n(this.element).closest(".modal").on("hide.bs.modal",(function(){e.element&&e.hide()})),this.config.selector?this.config=r({},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,t){var i=this.constructor.DATA_KEY;(t=t||n(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),n(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusin"===e.type?Lt:Pt]=!0),n(t.getTipElement()).hasClass(Ot)||t._hoverState===It?t._hoverState=It:(clearTimeout(t._timeout),t._hoverState=It,t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){t._hoverState===It&&t.show()}),t.config.delay.show):t.show())},i._leave=function(e,t){var i=this.constructor.DATA_KEY;(t=t||n(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),n(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusout"===e.type?Lt:Pt]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Dt,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){t._hoverState===Dt&&t.hide()}),t.config.delay.hide):t.hide())},i._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},i._getConfig=function(e){return"number"==typeof(e=r({},this.constructor.Default,n(this.element).data(),"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()),l.typeCheckConfig(vt,e,this.constructor.DefaultType),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=n(this.getTipElement()),t=e.attr("class").match(wt);null!==t&&t.length&&e.removeClass(t.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(),t=this.config.animation;null===e.getAttribute("x-placement")&&(n(e).removeClass(Nt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each((function(){var i=n(this).data(_t),o="object"==typeof t&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new e(this,o),n(this).data(_t,i)),"string"==typeof t)){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}}))},o(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return St}},{key:"NAME",get:function(){return vt}},{key:"DATA_KEY",get:function(){return _t}},{key:"Event",get:function(){return At}},{key:"EVENT_KEY",get:function(){return yt}},{key:"DefaultType",get:function(){return Ct}}]),e}();n.fn[vt]=Rt._jQueryInterface,n.fn[vt].Constructor=Rt,n.fn[vt].noConflict=function(){return n.fn[vt]=bt,Rt._jQueryInterface};var Ft="popover",Wt="bs.popover",Mt="."+Wt,Ut=n.fn[Ft],Bt="bs-popover",qt=new RegExp("(^|\\s)"+Bt+"\\S+","g"),Kt=r({},Rt.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>'}),Qt=r({},Rt.DefaultType,{content:"(string|element|function)"}),Vt="fade",Yt="show",zt=".popover-header",Xt=".popover-body",$t={HIDE:"hide"+Mt,HIDDEN:"hidden"+Mt,SHOW:"show"+Mt,SHOWN:"shown"+Mt,INSERTED:"inserted"+Mt,CLICK:"click"+Mt,FOCUSIN:"focusin"+Mt,FOCUSOUT:"focusout"+Mt,MOUSEENTER:"mouseenter"+Mt,MOUSELEAVE:"mouseleave"+Mt},Gt=function(e){function t(){return e.apply(this,arguments)||this}var i,r;r=e,(i=t).prototype=Object.create(r.prototype),(i.prototype.constructor=i).__proto__=r;var s=t.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(e){n(this.getTipElement()).addClass(Bt+"-"+e)},s.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},s.setContent=function(){var e=n(this.getTipElement());this.setElementContent(e.find(zt),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(Xt),t),e.removeClass(Vt+" "+Yt)},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var e=n(this.getTipElement()),t=e.attr("class").match(qt);null!==t&&0<t.length&&e.removeClass(t.join(""))},t._jQueryInterface=function(e){return this.each((function(){var i=n(this).data(Wt),o="object"==typeof e?e:null;if((i||!/dispose|hide/.test(e))&&(i||(i=new t(this,o),n(this).data(Wt,i)),"string"==typeof e)){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},o(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return Kt}},{key:"NAME",get:function(){return Ft}},{key:"DATA_KEY",get:function(){return Wt}},{key:"Event",get:function(){return $t}},{key:"EVENT_KEY",get:function(){return Mt}},{key:"DefaultType",get:function(){return Qt}}]),t}(Rt);n.fn[Ft]=Gt._jQueryInterface,n.fn[Ft].Constructor=Gt,n.fn[Ft].noConflict=function(){return n.fn[Ft]=Ut,Gt._jQueryInterface};var Jt="scrollspy",Zt="bs.scrollspy",en="."+Zt,tn=n.fn[Jt],nn={offset:10,method:"auto",target:""},on={offset:"number",method:"string",target:"(string|element)"},rn={ACTIVATE:"activate"+en,SCROLL:"scroll"+en,LOAD_DATA_API:"load"+en+".data-api"},sn="dropdown-item",an="active",ln='[data-spy="scroll"]',cn=".nav, .list-group",un=".nav-link",fn=".nav-item",hn=".list-group-item",dn=".dropdown",pn=".dropdown-item",mn=".dropdown-toggle",gn="offset",vn="position",_n=function(){function e(e,t){var i=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+un+","+this._config.target+" "+hn+","+this._config.target+" "+pn,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,n(this._scrollElement).on(rn.SCROLL,(function(e){return i._process(e)})),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?gn:vn,i="auto"===this._config.method?t:this._config.method,o=i===vn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(e){var t,r=l.getSelectorFromElement(e);if(r&&(t=document.querySelector(r)),t){var s=t.getBoundingClientRect();if(s.width||s.height)return[n(t)[i]().top+o,r]}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])}))},t.dispose=function(){n.removeData(this._element,Zt),n(this._scrollElement).off(en),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(e){if("string"!=typeof(e=r({},nn,"object"==typeof e&&e?e:{})).target){var t=n(e.target).attr("id");t||(t=l.getUID(Jt),n(e.target).attr("id",t)),e.target="#"+t}return l.typeCheckConfig(Jt,e,on),e},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._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(),n<=e){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{
if(this._activeTarget&&e<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&e>=this._offsets[o]&&(void 0===this._offsets[o+1]||e<this._offsets[o+1])&&this._activate(this._targets[o])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map((function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'})),i=n([].slice.call(document.querySelectorAll(t.join(","))));i.hasClass(sn)?(i.closest(dn).find(mn).addClass(an),i.addClass(an)):(i.addClass(an),i.parents(cn).prev(un+", "+hn).addClass(an),i.parents(cn).prev(fn).children(un).addClass(an)),n(this._scrollElement).trigger(rn.ACTIVATE,{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(e){return e.classList.contains(an)})).forEach((function(e){return e.classList.remove(an)}))},e._jQueryInterface=function(t){return this.each((function(){var i=n(this).data(Zt);if(i||(i=new e(this,"object"==typeof t&&t),n(this).data(Zt,i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}}))},o(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return nn}}]),e}();n(window).on(rn.LOAD_DATA_API,(function(){for(var e=[].slice.call(document.querySelectorAll(ln)),t=e.length;t--;){var i=n(e[t]);_n._jQueryInterface.call(i,i.data())}})),n.fn[Jt]=_n._jQueryInterface,n.fn[Jt].Constructor=_n,n.fn[Jt].noConflict=function(){return n.fn[Jt]=tn,_n._jQueryInterface};var yn="bs.tab",bn="."+yn,En=n.fn.tab,wn={HIDE:"hide"+bn,HIDDEN:"hidden"+bn,SHOW:"show"+bn,SHOWN:"shown"+bn,CLICK_DATA_API:"click"+bn+".data-api"},Cn="dropdown-menu",Tn="active",Sn="disabled",In="fade",Dn="show",An=".dropdown",Nn=".nav, .list-group",On=".active",kn="> li > .active",xn='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Pn=".dropdown-toggle",Ln="> .dropdown-menu .active",jn=function(){function e(e){this._element=e}var t=e.prototype;return t.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n(this._element).hasClass(Tn)||n(this._element).hasClass(Sn))){var t,i,o=n(this._element).closest(Nn)[0],r=l.getSelectorFromElement(this._element);if(o){var s="UL"===o.nodeName||"OL"===o.nodeName?kn:On;i=(i=n.makeArray(n(o).find(s)))[i.length-1]}var a=n.Event(wn.HIDE,{relatedTarget:this._element}),c=n.Event(wn.SHOW,{relatedTarget:i});if(i&&n(i).trigger(a),n(this._element).trigger(c),!c.isDefaultPrevented()&&!a.isDefaultPrevented()){r&&(t=document.querySelector(r)),this._activate(this._element,o);var u=function(){var t=n.Event(wn.HIDDEN,{relatedTarget:e._element}),o=n.Event(wn.SHOWN,{relatedTarget:i});n(i).trigger(t),n(e._element).trigger(o)};t?this._activate(t,t.parentNode,u):u()}}},t.dispose=function(){n.removeData(this._element,yn),this._element=null},t._activate=function(e,t,i){var o=this,r=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?n(t).children(On):n(t).find(kn))[0],s=i&&r&&n(r).hasClass(In),a=function(){return o._transitionComplete(e,r,i)};if(r&&s){var c=l.getTransitionDurationFromElement(r);n(r).removeClass(Dn).one(l.TRANSITION_END,a).emulateTransitionEnd(c)}else a()},t._transitionComplete=function(e,t,i){if(t){n(t).removeClass(Tn);var o=n(t.parentNode).find(Ln)[0];o&&n(o).removeClass(Tn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(n(e).addClass(Tn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),l.reflow(e),n(e).addClass(Dn),e.parentNode&&n(e.parentNode).hasClass(Cn)){var r=n(e).closest(An)[0];if(r){var s=[].slice.call(r.querySelectorAll(Pn));n(s).addClass(Tn)}e.setAttribute("aria-expanded",!0)}i&&i()},e._jQueryInterface=function(t){return this.each((function(){var i=n(this),o=i.data(yn);if(o||(o=new e(this),i.data(yn,o)),"string"==typeof t){if(void 0===o[t])throw new TypeError('No method named "'+t+'"');o[t]()}}))},o(e,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),e}();n(document).on(wn.CLICK_DATA_API,xn,(function(e){e.preventDefault(),jn._jQueryInterface.call(n(this),"show")})),n.fn.tab=jn._jQueryInterface,n.fn.tab.Constructor=jn,n.fn.tab.noConflict=function(){return n.fn.tab=En,jn._jQueryInterface};var Hn="toast",Rn="bs.toast",Fn="."+Rn,Wn=n.fn[Hn],Mn={CLICK_DISMISS:"click.dismiss"+Fn,HIDE:"hide"+Fn,HIDDEN:"hidden"+Fn,SHOW:"show"+Fn,SHOWN:"shown"+Fn},Un="fade",Bn="hide",qn="show",Kn="showing",Qn={animation:"boolean",autohide:"boolean",delay:"number"},Vn={animation:!0,autohide:!0,delay:500},Yn='[data-dismiss="toast"]',zn=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var t=e.prototype;return t.show=function(){var e=this;n(this._element).trigger(Mn.SHOW),this._config.animation&&this._element.classList.add(Un);var t=function(){e._element.classList.remove(Kn),e._element.classList.add(qn),n(e._element).trigger(Mn.SHOWN),e._config.autohide&&e.hide()};if(this._element.classList.remove(Bn),this._element.classList.add(Kn),this._config.animation){var i=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,t).emulateTransitionEnd(i)}else t()},t.hide=function(e){var t=this;this._element.classList.contains(qn)&&(n(this._element).trigger(Mn.HIDE),e?this._close():this._timeout=setTimeout((function(){t._close()}),this._config.delay))},t.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(qn)&&this._element.classList.remove(qn),n(this._element).off(Mn.CLICK_DISMISS),n.removeData(this._element,Rn),this._element=null,this._config=null},t._getConfig=function(e){return e=r({},Vn,n(this._element).data(),"object"==typeof e&&e?e:{}),l.typeCheckConfig(Hn,e,this.constructor.DefaultType),e},t._setListeners=function(){var e=this;n(this._element).on(Mn.CLICK_DISMISS,Yn,(function(){return e.hide(!0)}))},t._close=function(){var e=this,t=function(){e._element.classList.add(Bn),n(e._element).trigger(Mn.HIDDEN)};if(this._element.classList.remove(qn),this._config.animation){var i=l.getTransitionDurationFromElement(this._element);n(this._element).one(l.TRANSITION_END,t).emulateTransitionEnd(i)}else t()},e._jQueryInterface=function(t){return this.each((function(){var i=n(this),o=i.data(Rn);if(o||(o=new e(this,"object"==typeof t&&t),i.data(Rn,o)),"string"==typeof t){if(void 0===o[t])throw new TypeError('No method named "'+t+'"');o[t](this)}}))},o(e,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"DefaultType",get:function(){return Qn}}]),e}();n.fn[Hn]=zn._jQueryInterface,n.fn[Hn].Constructor=zn,n.fn[Hn].noConflict=function(){return n.fn[Hn]=Wn,zn._jQueryInterface},function(){if(void 0===n)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=n.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),e.Util=l,e.Alert=v,e.Button=x,e.Carousel=le,e.Collapse=Te,e.Dropdown=Je,e.Modal=gt,e.Popover=Gt,e.Scrollspy=_n,e.Tab=jn,e.Toast=zn,e.Tooltip=Rt,Object.defineProperty(e,"__esModule",{value:!0})})),function(){for(var e,t=function(){},n=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],i=n.length,o=window.console=window.console||{};i--;)o[e=n[i]]||(o[e]=t)}(),function(e){var t=function(){e(".default-navigation li.menu-item-has-children").hoverIntent({over:function(){e(this).addClass("over")},out:function(){e(this).removeClass("over")},timeout:100})},n=!1,i=function(t){t.preventDefault(),n?(e("html").removeClass("html-open-nav"),e("body").removeClass("open-nav"),e("li.show-subnav").removeClass("show-subnav"),e(window).scrollTop(navPosition),navPosition=0):(navPosition=e(window).scrollTop(),e("html").addClass("html-open-nav"),e("body").addClass("open-nav")),n=!n},o=function(t){t.preventDefault(),e(this).closest(".menu-item-has-children").toggleClass("show-subnav")},r;e(document).ready((function(){e("html").removeClass("no-js"),t(),e("a.menu-toggle,.offcanvas-backdrop").on("click",i),e(".mobile-nav li.menu-item-has-children > a, li.menu-item-has-children a.back-btn, li.menu-item-has-children a.faux-back-btn").on("click",o);var n=e(".fl-module.brokerage-link a.fl-button"),r=window.location.href;e(n).each((function(){var t;e(this).attr("href")===r&&e(this).addClass("current-brokerage-page")})),e("li.gfield.attach-resume input[type=file]").on("change",(function(){0===e("li.gfield.attach-resume input[type=file]").get(0).files.length||e("li.gfield.attach-resume label").text("File attached, thank you!")}))})),"submitted"==Cookies.get("emailFileForm")?"/market-insights/"==document.location.pathname&&(document.location.pathname="/market-insights/files/"):"/market-insights/files/"==document.location.pathname&&(document.location.pathname="/market-insights/"),e(window).scroll((function(){var t;e(window).scrollTop()>=200?e("nav").addClass("fixed-nav"):e("nav").removeClass("fixed-nav")}))}(jQuery);
//# sourceMappingURL=custom-min.js.map;