(function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.Popper=t()})(this,function(){"use strict";function ut(n){return n&&"[object Function]"==={}.toString.call(n)}function r(n,t){if(1!==n.nodeType)return[];var r=n.ownerDocument.defaultView,i=r.getComputedStyle(n,null);return t?i[t]:i}function y(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function s(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=r(n),i=t.overflow,u=t.overflowX,f=t.overflowY;return/(auto|scroll|overlay)/.test(i+f+u)?n:s(y(n))}function ft(n){return n&&n.referenceNode?n.referenceNode:n}function u(n){return 11===n?ii:10===n?ri:ii||ri}function f(n){var e,t,i;if(!n)return document.documentElement;for(e=u(10)?document.body:null,t=n.offsetParent||null;t===e&&n.nextElementSibling;)t=(n=n.nextElementSibling).offsetParent;return i=t&&t.nodeName,i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(t.nodeName)&&"static"===r(t,"position")?f(t):t:n?n.ownerDocument.documentElement:document.documentElement}function fi(n){var t=n.nodeName;return"BODY"!==t&&("HTML"===t||f(n.firstElementChild)===n)}function p(n){return null===n.parentNode?n:p(n.parentNode)}function l(n,t){var i,u;if(!n||!n.nodeType||!t||!t.nodeType)return document.documentElement;var e=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=e?n:t,s=e?t:n,r=document.createRange();return(r.setStart(o,0),r.setEnd(s,0),i=r.commonAncestorContainer,n!==i&&t!==i||o.contains(s))?fi(i)?i:f(i):(u=p(n),u.host?l(u.host,t):l(n,p(t).host))}function e(n){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",t="top"===f?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return"BODY"===i||"HTML"===i?(r=n.ownerDocument.documentElement,u=n.ownerDocument.scrollingElement||r,u[t]):n[t]}function ei(n,t){var f=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=e(t,"top"),u=e(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}function et(n,t){var i="x"===t?"Left":"Top",r="Left"==i?"Right":"Bottom";return parseFloat(n["border"+i+"Width"])+parseFloat(n["border"+r+"Width"])}function ot(n,i,r,f){return t(i["offset"+n],i["scroll"+n],r["client"+n],r["offset"+n],r["scroll"+n],u(10)?parseInt(r["offset"+n])+parseInt(f["margin"+("Height"===n?"Top":"Left")])+parseInt(f["margin"+("Height"===n?"Bottom":"Right")]):0)}function st(n){var i=n.body,t=n.documentElement,r=u(10)&&getComputedStyle(t);return{height:ot("Height",i,t,r),width:ot("Width",i,t,r)}}function i(t){return n({},t,{right:t.left+t.width,bottom:t.top+t.height})}function w(n){var t={},o,s,l;try{u(10)?(t=n.getBoundingClientRect(),o=e(n,"top"),s=e(n,"left"),t.top+=o,t.left+=s,t.bottom+=o,t.right+=s):t=n.getBoundingClientRect()}catch(r){}var f={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===n.nodeName?st(n.ownerDocument):{},v=a.width||n.clientWidth||f.width,y=a.height||n.clientHeight||f.height,h=n.offsetWidth-v,c=n.offsetHeight-y;return(h||c)&&(l=r(n),h-=et(l,"x"),c-=et(l,"y"),f.width-=h,f.height-=c),i(f)}function b(n,f){var b=2<arguments.length&&void 0!==arguments[2]&&arguments[2],k=u(10),d="HTML"===f.nodeName,h=w(n),o=w(f),v=s(n),c=r(f),y=parseFloat(c.borderTopWidth),p=parseFloat(c.borderLeftWidth),e,l,a;return b&&d&&(o.top=t(o.top,0),o.left=t(o.left,0)),e=i({top:h.top-o.top-y,left:h.left-o.left-p,width:h.width,height:h.height}),(e.marginTop=0,e.marginLeft=0,!k&&d)&&(l=parseFloat(c.marginTop),a=parseFloat(c.marginLeft),e.top-=y-l,e.bottom-=y-l,e.left-=p-a,e.right-=p-a,e.marginTop=l,e.marginLeft=a),(k&&!b?f.contains(v):f===v&&"BODY"!==v.nodeName)&&(e=ei(e,f)),e}function oi(n){var f=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=n.ownerDocument.documentElement,u=b(n,r),o=t(r.clientWidth,window.innerWidth||0),s=t(r.clientHeight,window.innerHeight||0),h=f?0:e(r),c=f?0:e(r,"left"),l={top:h-u.top+u.marginTop,left:c-u.left+u.marginLeft,width:o,height:s};return i(l)}function ht(n){var i=n.nodeName,t;return"BODY"===i||"HTML"===i?!1:"fixed"===r(n,"position")?!0:(t=y(n),!!t&&ht(t))}function ct(n){if(!n||!n.parentElement||u())return document.documentElement;for(var t=n.parentElement;t&&"none"===r(t,"transform");)t=t.parentElement;return t||document.documentElement}function k(n,t,i,r){var h=4<arguments.length&&void 0!==arguments[4]&&arguments[4],u={top:0,left:0},c=h?ct(n):l(n,ft(t)),e,f,o;if("viewport"===r)u=oi(c,h);else if("scrollParent"===r?(e=s(y(t)),"BODY"===e.nodeName&&(e=n.ownerDocument.documentElement)):e="window"===r?n.ownerDocument.documentElement:r,f=b(e,c,h),"HTML"!==e.nodeName||ht(c))u=f;else{var a=st(n.ownerDocument),v=a.height,p=a.width;u.top+=f.top-f.marginTop;u.bottom=v+f.top;u.left+=f.left-f.marginLeft;u.right=p+f.left}return i=i||0,o="number"==typeof i,u.left+=o?i:i.left||0,u.top+=o?i:i.top||0,u.right-=o?i:i.right||0,u.bottom-=o?i:i.bottom||0,u}function si(n){var t=n.width,i=n.height;return t*i}function lt(t,i,r,u,f){var l=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var e=k(r,u,l,f),o={top:{width:e.width,height:i.top-e.top},right:{width:e.right-i.right,height:e.height},bottom:{width:e.width,height:e.bottom-i.bottom},left:{width:i.left-e.left,height:e.height}},s=Object.keys(o).map(function(t){return n({key:t},o[t],{area:si(o[t])})}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,i=n.height;return t>=r.clientWidth&&i>=r.clientHeight}),a=0<h.length?h[0].key:s[0].key,c=t.split("-")[1];return a+(c?"-"+c:"")}function at(n,t,i){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,u=r?ct(t):l(t,ft(i));return b(i,u,r)}function vt(n){var i=n.ownerDocument.defaultView,t=i.getComputedStyle(n),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),u=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:n.offsetWidth+u,height:n.offsetHeight+r}}function a(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function yt(n,t,i){i=i.split("-")[0];var r=vt(n),e={width:r.width,height:r.height},u=-1!==["right","left"].indexOf(i),o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[a(f)],e}function h(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function hi(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=h(n,function(n){return n[t]===i});return n.indexOf(r)}function pt(n,t,r){var u=void 0===r?n:n.slice(0,hi(n,"name",r));return u.forEach(function(n){n["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=n["function"]||n.fn;n.enabled&&ut(r)&&(t.offsets.popper=i(t.offsets.popper),t.offsets.reference=i(t.offsets.reference),t=r(t,n))}),t}function ci(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=at(this.state,this.popper,this.reference,this.options.positionFixed);n.placement=lt(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);n.originalPlacement=n.placement;n.positionFixed=this.options.positionFixed;n.offsets.popper=yt(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute";n=pt(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function wt(n,t){return n.some(function(n){var i=n.name,r=n.enabled;return r&&i===t})}function d(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<u.length;t++)if(i=u[t],r=i?""+i+f:n,"undefined"!=typeof document.body.style[r])return r;return null}function li(){return this.state.isDestroyed=!0,wt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[d("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function bt(n){var t=n.ownerDocument;return t?t.defaultView:window}function kt(n,t,i,r){var f="BODY"===n.nodeName,u=f?n.ownerDocument.defaultView:n;u.addEventListener(t,i,{passive:!0});f||kt(s(u.parentNode),t,i,r);r.push(u)}function ai(n,t,i,r){i.updateBound=r;bt(n).addEventListener("resize",i.updateBound,{passive:!0});var u=s(n);return kt(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function vi(){this.state.eventsEnabled||(this.state=ai(this.reference,this.options,this.state,this.scheduleUpdate))}function yi(n,t){return bt(n).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function pi(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=yi(this.reference,this.state))}function g(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function nt(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&g(t[i])&&(r="px");n.style[i]=t[i]+r})}function wi(n,t){Object.keys(t).forEach(function(i){var r=t[i];!1===r?n.removeAttribute(i):n.setAttribute(i,t[i])})}function bi(n,t){var u=n.offsets,i=u.popper,l=u.reference,r=ti,f=function(n){return n},e=r(l.width),o=r(i.width),a=-1!==["left","right"].indexOf(n.placement),s=-1!==n.placement.indexOf("-"),h=t?a||s||e%2==o%2?r:tt:f,c=t?r:f;return{left:h(1==e%2&&1==o%2&&!s&&t?i.left-1:i.left),top:c(i.top),bottom:c(i.bottom),right:h(i.right)}}function dt(n,t,i){var u=h(n,function(n){var i=n.name;return i===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r;return f||(r="`"+t+"`",console.warn("`"+i+"` modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function ki(n){return"end"===n?"start":"start"===n?"end":n}function gt(n){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=it.indexOf(n),i=it.slice(t+1).concat(it.slice(0,t));return r?i.reverse():i}function di(n,r,u,f){var h=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+h[1],e=h[2],s,c,l;if(!o)return n;if(0===e.indexOf("%")){switch(e){case"%p":s=u;break;case"%":case"%r":default:s=f}return c=i(s),c[r]/100*o}return"vh"===e||"vw"===e?(l="vh"===e?t(document.documentElement.clientHeight,window.innerHeight||0):t(document.documentElement.clientWidth,window.innerWidth||0),l/100*o):o}function gi(n,t,i,r){var s=[0,0],c=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(h(u,function(n){return-1!==n.search(/,|\s/)})),o,e;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,e=-1===f?[u]:[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))],e=e.map(function(n,r){var f=(1===r?!c:c)?"height":"width",u=!1;return n.reduce(function(n,t){return""===n[n.length-1]&&-1!==["+","-"].indexOf(t)?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return di(n,f,t,i)})}),e.forEach(function(n,t){n.forEach(function(i,r){g(i)&&(s[t]+=i*("-"===n[r-1]?-1:1))})}),s}function nr(n,t){var r,f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0];return r=g(+f)?[+f,0]:gi(f,i,s,u),"left"===u?(i.top+=r[0],i.left-=r[1]):"right"===u?(i.top+=r[0],i.left+=r[1]):"top"===u?(i.left+=r[0],i.top-=r[1]):"bottom"===u&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n}var ni=Math.min,tt=Math.floor,ti=Math.round,t=Math.max,c="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,tr=function(){for(var t=["Edge","Trident","Firefox"],n=0;n<t.length;n+=1)if(c&&0<=navigator.userAgent.indexOf(t[n]))return 1;return 0}(),ir=c&&window.Promise,rr=ir?function(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}:function(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},tr))}},ii=c&&!!(window.MSInputMethodContext&&document.documentMode),ri=c&&/MSIE 10/.test(navigator.userAgent),ur=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},fr=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),o=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},n=Object.assign||function(n){for(var t,r,i=1;i<arguments.length;i++)for(r in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},er=c&&/Firefox/i.test(navigator.userAgent),ui=["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"],it=ui.slice(3),rt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},v=function(){function t(i,r){var u=this,f=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e;ur(this,t);this.scheduleUpdate=function(){return requestAnimationFrame(u.update)};this.update=rr(this.update.bind(this));this.options=n({},t.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=i&&i.jquery?i[0]:i;this.popper=r&&r.jquery?r[0]:r;this.options.modifiers={};Object.keys(n({},t.Defaults.modifiers,f.modifiers)).forEach(function(i){u.options.modifiers[i]=n({},t.Defaults.modifiers[i]||{},f.modifiers?f.modifiers[i]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(t){return n({name:t},u.options.modifiers[t])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&ut(n.onLoad)&&n.onLoad(u.reference,u.popper,u.options,n,u.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return fr(t,[{key:"update",value:function(){return ci.call(this)}},{key:"destroy",value:function(){return li.call(this)}},{key:"enableEventListeners",value:function(){return vi.call(this)}},{key:"disableEventListeners",value:function(){return pi.call(this)}}]),t}();return v.Utils=("undefined"==typeof window?global:window).PopperUtils,v.placements=ui,v.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var u=t.placement,l=u.split("-")[0],f=u.split("-")[1];if(f){var e=t.offsets,r=e.reference,s=e.popper,h=-1!==["bottom","top"].indexOf(l),i=h?"left":"top",c=h?"width":"height",a={start:o({},i,r[i]),end:o({},i,r[i]+r[c]-s[c])};t.offsets.popper=n({},s,a[f])}return t}},offset:{order:200,enabled:!0,fn:nr,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(i,r){var h=r.boundariesElement||f(i.instance.popper),s;i.instance.reference===h&&(h=f(h));var c=d("transform"),e=i.instance.popper.style,l=e.top,a=e.left,v=e[c];e.top="";e.left="";e[c]="";s=k(i.instance.popper,i.instance.reference,r.padding,h,i.positionFixed);e.top=l;e.left=a;e[c]=v;r.boundaries=s;var y=r.priority,u=i.offsets.popper,p={primary:function(n){var i=u[n];return u[n]<s[n]&&!r.escapeWithReference&&(i=t(u[n],s[n])),o({},n,i)},secondary:function(n){var t="right"===n?"left":"top",i=u[t];return u[n]>s[n]&&!r.escapeWithReference&&(i=ni(u[t],s[n]-("right"===n?u.width:u.height))),o({},t,i)}};return y.forEach(function(t){var i=-1===["left","top"].indexOf(t)?"secondary":"primary";u=n({},u,p[i](t))}),i.offsets.popper=u,i},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=tt,f=-1!==["top","bottom"].indexOf(s),e=f?"right":"bottom",t=f?"left":"top",h=f?"width":"height";return u[e]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[h]),u[t]>r(i[e])&&(n.offsets.popper[t]=r(i[e])),n}},arrow:{order:500,enabled:!0,fn:function(n,u){var l,e;if(!dt(n.instance.modifiers,"arrow","keepTogether"))return n;if(e=u.element,"string"==typeof e){if(e=n.instance.popper.querySelector(e),!e)return n}else if(!n.instance.popper.contains(e))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var d=n.placement.split("-")[0],b=n.offsets,c=b.popper,s=b.reference,a=-1!==["left","right"].indexOf(d),y=a?"height":"width",p=a?"Top":"Left",f=p.toLowerCase(),g=a?"left":"top",v=a?"bottom":"right",h=vt(e)[y];s[v]-h<c[f]&&(n.offsets.popper[f]-=c[f]-(s[v]-h));s[f]+h>c[v]&&(n.offsets.popper[f]+=s[f]+h-c[v]);n.offsets.popper=i(n.offsets.popper);var nt=s[f]+s[y]/2-h/2,k=r(n.instance.popper),tt=parseFloat(k["margin"+p]),it=parseFloat(k["border"+p+"Width"]),w=nt-n.offsets.popper[f]-tt-it;return w=t(ni(c[y]-h,w),0),n.arrowElement=e,n.offsets.arrow=(l={},o(l,f,ti(w)),o(l,g,""),l),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,i){if(wt(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var e=k(t.instance.popper,t.instance.reference,i.padding,i.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=a(r),u=t.placement.split("-")[1]||"",f=[];switch(i.behavior){case rt.FLIP:f=[r,o];break;case rt.CLOCKWISE:f=gt(r);break;case rt.COUNTERCLOCKWISE:f=gt(r,!0);break;default:f=i.behavior}return f.forEach(function(s,h){if(r!==s||f.length===h+1)return t;r=t.placement.split("-")[0];o=a(r);var l=t.offsets.popper,y=t.offsets.reference,c=tt,d="left"===r&&c(l.right)>c(y.left)||"right"===r&&c(l.left)<c(y.right)||"top"===r&&c(l.bottom)>c(y.top)||"bottom"===r&&c(l.top)<c(y.bottom),p=c(l.left)<c(e.left),w=c(l.right)>c(e.right),b=c(l.top)<c(e.top),k=c(l.bottom)>c(e.bottom),g="left"===r&&p||"right"===r&&w||"top"===r&&b||"bottom"===r&&k,v=-1!==["top","bottom"].indexOf(r),it=!!i.flipVariations&&(v&&"start"===u&&p||v&&"end"===u&&w||!v&&"start"===u&&b||!v&&"end"===u&&k),rt=!!i.flipVariationsByContent&&(v&&"start"===u&&w||v&&"end"===u&&p||!v&&"start"===u&&k||!v&&"end"===u&&b),nt=it||rt;(d||g||nt)&&(t.flipped=!0,(d||g)&&(r=f[h+1]),nt&&(u=ki(u)),t.placement=r+(u?"-"+u:""),t.offsets.popper=n({},t.offsets.popper,yt(t.instance.popper,t.offsets.reference,t.placement)),t=pt(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(n){var u=n.placement,t=u.split("-")[0],f=n.offsets,r=f.popper,o=f.reference,e=-1!==["left","right"].indexOf(t),s=-1===["top","left"].indexOf(t);return r[e?"left":"top"]=o[t]-(s?r[e?"width":"height"]:0),n.placement=a(u),n.offsets.popper=i(r),n}},hide:{order:800,enabled:!0,fn:function(n){if(!dt(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=h(n.instance.modifiers,function(n){return"preventOverflow"===n.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===n.hide)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function(t,i){var g=i.x,nt=i.y,tt=t.offsets.popper,c=h(t.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,p,b,k;void 0!==c&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var l,a,it=void 0===c?i.gpuAcceleration:c,e=f(t.instance.popper),v=w(e),r={position:tt.position},u=bi(t,2>window.devicePixelRatio||!er),o="bottom"===g?"top":"bottom",s="right"===nt?"left":"right",y=d("transform");return(a="bottom"==o?"HTML"===e.nodeName?-e.clientHeight+u.bottom:-v.height+u.bottom:u.top,l="right"==s?"HTML"===e.nodeName?-e.clientWidth+u.right:-v.width+u.right:u.left,it&&y)?(r[y]="translate3d("+l+"px, "+a+"px, 0)",r[o]=0,r[s]=0,r.willChange="transform"):(p="bottom"==o?-1:1,b="right"==s?-1:1,r[o]=a*p,r[s]=l*b,r.willChange=o+", "+s),k={"x-placement":t.placement},t.attributes=n({},k,t.attributes),t.styles=n({},r,t.styles),t.arrowStyles=n({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){return nt(n.instance.popper,n.styles),wi(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&nt(n.arrowElement,n.arrowStyles),n},onLoad:function(n,t,i,r,u){var f=at(u,t,n,i.positionFixed),e=lt(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),nt(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},v});!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t((n="undefined"!=typeof globalThis?globalThis:n||self).bootstrap={},n.jQuery,n.Popper)}(this,function(n,t,i){"use strict";function st(n){return n&&"object"==typeof n&&"default"in n?n:{"default":n}}function ht(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function e(n,t,i){return t&&ht(n.prototype,t),i&&ht(n,i),n}function f(){return(f=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function wt(n){var i=this,t=!1;return r.default(this).one(u.TRANSITION_END,function(){t=!0}),setTimeout(function(){t||u.triggerTransitionEnd(i)},n),this}function at(n,t,i){if(0===n.length)return n;if(i&&"function"==typeof i)return i(n);for(var u=(new window.DOMParser).parseFromString(n,"text/html"),e=Object.keys(t),f=[].slice.call(u.body.querySelectorAll("*")),o=function(n){var i=f[n],o=i.nodeName.toLowerCase(),r,u;if(-1===e.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";r=[].slice.call(i.attributes);u=[].concat(t["*"]||[],t[o]||[]);r.forEach(function(n){(function(n,t){var i=n.nodeName.toLowerCase();if(-1!==t.indexOf(i))return-1===si.indexOf(i)||Boolean(n.nodeValue.match(hi)||n.nodeValue.match(ci));for(var u=t.filter(function(n){return n instanceof RegExp}),r=0,f=u.length;r<f;r++)if(i.match(u[r]))return!0;return!1})(n,u)||i.removeAttribute(n.nodeName)})},r=0,s=f.length;r<s;r++)o(r);return u.body.innerHTML}var r=st(t),it=st(i),u={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target"),i;t&&"#"!==t||(i=n.getAttribute("href"),t=i&&"#"!==i?i.trim():"");try{return document.querySelector(t)?t:null}catch(n){return null}},getTransitionDurationFromElement:function(n){if(!n)return 0;var t=r.default(n).css("transition-duration"),i=r.default(n).css("transition-delay"),u=parseFloat(t),f=parseFloat(i);return u||f?(t=t.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(t)+parseFloat(i))):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){r.default(n).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,i){var r,f;for(r in i)if(Object.prototype.hasOwnProperty.call(i,r)){var o=i[r],e=t[r],s=e&&u.isElement(e)?"element":null===(f=e)||"undefined"==typeof f?""+f:{}.toString.call(f).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(s))throw new Error(n.toUpperCase()+': Option "'+r+'" provided type "'+s+'" but expected type "'+o+'".');}},findShadowRoot:function(n){if(!document.documentElement.attachShadow)return null;if("function"==typeof n.getRootNode){var t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?u.findShadowRoot(n.parentNode):null},jQueryDetection:function(){if("undefined"==typeof r.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=r.default.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1===n[0]&&9===n[1]&&n[2]<1||n[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}},ct,a,yt,k;u.jQueryDetection();r.default.fn.emulateTransitionEnd=wt;r.default.event.special[u.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(n){if(r.default(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}};var d="alert",bt=r.default.fn[d],l=function(){function n(n){this._element=n}var t=n.prototype;return t.close=function(n){var t=this._element;n&&(t=this._getRootElement(n));this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){r.default.removeData(this._element,"bs.alert");this._element=null},t._getRootElement=function(n){var i=u.getSelectorFromElement(n),t=!1;return i&&(t=document.querySelector(i)),t||(t=r.default(n).closest(".alert")[0]),t},t._triggerCloseEvent=function(n){var t=r.default.Event("close.bs.alert");return r.default(n).trigger(t),t},t._removeElement=function(n){var i=this,t;(r.default(n).removeClass("show"),r.default(n).hasClass("fade"))?(t=u.getTransitionDurationFromElement(n),r.default(n).one(u.TRANSITION_END,function(t){return i._destroyElement(n,t)}).emulateTransitionEnd(t)):this._destroyElement(n)},t._destroyElement=function(n){r.default(n).detach().trigger("closed.bs.alert").remove()},n._jQueryInterface=function(t){return this.each(function(){var u=r.default(this),i=u.data("bs.alert");i||(i=new n(this),u.data("bs.alert",i));"close"===t&&i[t](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},e(n,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),n}();r.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',l._handleDismiss(new l));r.default.fn[d]=l._jQueryInterface;r.default.fn[d].Constructor=l;r.default.fn[d].noConflict=function(){return r.default.fn[d]=bt,l._jQueryInterface};ct=r.default.fn.button;a=function(){function n(n){this._element=n;this.shouldAvoidTriggerChange=!1}var t=n.prototype;return t.toggle=function(){var t=!0,u=!0,f=r.default(this._element).closest('[data-toggle="buttons"]')[0],n,i;f&&(n=this._element.querySelector('input:not([type="hidden"])'),n&&("radio"===n.type&&(n.checked&&this._element.classList.contains("active")?t=!1:(i=f.querySelector(".active"),i&&r.default(i).removeClass("active"))),t&&("checkbox"!==n.type&&"radio"!==n.type||(n.checked=!this._element.classList.contains("active")),this.shouldAvoidTriggerChange||r.default(n).trigger("change")),n.focus(),u=!1));this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(u&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&r.default(this._element).toggleClass("active"))},t.dispose=function(){r.default.removeData(this._element,"bs.button");this._element=null},n._jQueryInterface=function(t,i){return this.each(function(){var f=r.default(this),u=f.data("bs.button");u||(u=new n(this),f.data("bs.button",u));u.shouldAvoidTriggerChange=i;"toggle"===t&&u[t]()})},e(n,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),n}();r.default(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var t=n.target,u=t,i;if(r.default(t).hasClass("btn")||(t=r.default(t).closest(".btn")[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))n.preventDefault();else{if(i=t.querySelector('input:not([type="hidden"])'),i&&(i.hasAttribute("disabled")||i.classList.contains("disabled")))return void n.preventDefault();"INPUT"!==u.tagName&&"LABEL"===t.tagName||a._jQueryInterface.call(r.default(t),"toggle","INPUT"===u.tagName)}}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(n){var t=r.default(n.target).closest(".btn")[0];r.default(t).toggleClass("focus",/^focus(in)?$/.test(n.type))});r.default(window).on("load.bs.button.data-api",function(){for(var t,f,i,e,r,n=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),u=0,o=n.length;u<o;u++)t=n[u],f=t.querySelector('input:not([type="hidden"])'),f.checked||f.hasAttribute("checked")?t.classList.add("active"):t.classList.remove("active");for(i=0,e=(n=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;i<e;i++)r=n[i],"true"===r.getAttribute("aria-pressed")?r.classList.add("active"):r.classList.remove("active")});r.default.fn.button=a._jQueryInterface;r.default.fn.button.Constructor=a;r.default.fn.button.noConflict=function(){return r.default.fn.button=ct,a._jQueryInterface};var v="carousel",kt=".bs.carousel",dt=r.default.fn[v],ft={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},gt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},lt={TOUCH:"touch",PEN:"pen"},y=function(){function t(n,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=n;this._indicatorsElement=this._element.querySelector(".carousel-indicators");this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide("next")},n.nextWhenVisible=function(){var n=r.default(this._element);!document.hidden&&n.is(":visible")&&"hidden"!==n.css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide("prev")},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(u.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},n.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(n){var u=this,t,i;if(this._activeElement=this._element.querySelector(".active.carousel-item"),t=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)r.default(this._element).one("slid.bs.carousel",function(){return u.to(n)});else{if(t===n)return this.pause(),void this.cycle();i=n>t?"next":"prev";this._slide(i,this._items[n])}},n.dispose=function(){r.default(this._element).off(kt);r.default.removeData(this._element,"bs.carousel");this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},n._getConfig=function(n){return n=f({},ft,n),u.typeCheckConfig(v,n,gt),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=40||(n=t/this.touchDeltaX,this.touchDeltaX=0,n>0&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;this._config.keyboard&&r.default(this._element).on("keydown.bs.carousel",function(t){return n._keydown(t)});"hover"===this._config.pause&&r.default(this._element).on("mouseenter.bs.carousel",function(t){return n.pause(t)}).on("mouseleave.bs.carousel",function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this,t,i;this._touchSupported&&(t=function(t){n._pointerEvent&&lt[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){n._pointerEvent&&lt[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval))},r.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(n){return n.preventDefault()}),this._pointerEvent?(r.default(this._element).on("pointerdown.bs.carousel",function(n){return t(n)}),r.default(this._element).on("pointerup.bs.carousel",function(n){return i(n)}),this._element.classList.add("pointer-event")):(r.default(this._element).on("touchstart.bs.carousel",function(n){return t(n)}),r.default(this._element).on("touchmove.bs.carousel",function(t){return function(t){n.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-n.touchStartX}(t)}),r.default(this._element).on("touchend.bs.carousel",function(n){return i(n)})))},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var u="next"===n,f="prev"===n,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+("prev"===n?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,t){var u=this._getItemIndex(n),f=this._getItemIndex(this._element.querySelector(".active.carousel-item")),i=r.default.Event("slide.bs.carousel",{relatedTarget:n,direction:t,from:f,to:u});return r.default(this._element).trigger(i),i},n._setActiveIndicatorElement=function(n){var i,t;this._indicatorsElement&&(i=[].slice.call(this._indicatorsElement.querySelectorAll(".active")),r.default(i).removeClass("active"),t=this._indicatorsElement.children[this._getItemIndex(n)],t&&r.default(t).addClass("active"))},n._slide=function(n,t){var e,o,s,l=this,f=this._element.querySelector(".active.carousel-item"),y=this._getItemIndex(f),i=t||f&&this._getItemByDirection(n,f),p=this._getItemIndex(i),a=Boolean(this._interval),h,c,v;("next"===n?(e="carousel-item-left",o="carousel-item-next",s="left"):(e="carousel-item-right",o="carousel-item-prev",s="right"),i&&r.default(i).hasClass("active"))?this._isSliding=!1:!this._triggerSlideEvent(i,s).isDefaultPrevented()&&f&&i&&(this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(i),h=r.default.Event("slid.bs.carousel",{relatedTarget:i,direction:s,from:y,to:p}),r.default(this._element).hasClass("slide")?(r.default(i).addClass(o),u.reflow(i),r.default(f).addClass(e),r.default(i).addClass(e),c=parseInt(i.getAttribute("data-interval"),10),c?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=c):this._config.interval=this._config.defaultInterval||this._config.interval,v=u.getTransitionDurationFromElement(f),r.default(f).one(u.TRANSITION_END,function(){r.default(i).removeClass(e+" "+o).addClass("active");r.default(f).removeClass("active "+o+" "+e);l._isSliding=!1;setTimeout(function(){return r.default(l._element).trigger(h)},0)}).emulateTransitionEnd(v)):(r.default(f).removeClass("active"),r.default(i).addClass("active"),this._isSliding=!1,r.default(this._element).trigger(h)),a&&this.cycle())},t._jQueryInterface=function(n){return this.each(function(){var i=r.default(this).data("bs.carousel"),u=f({},ft,r.default(this).data()),e;if("object"==typeof n&&(u=f({},u,n)),e="string"==typeof n?n:u.slide,i||(i=new t(this,u),r.default(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e]()}else u.interval&&u.ride&&(i.pause(),i.cycle())})},t._dataApiClickHandler=function(n){var s=u.getSelectorFromElement(this),i,o,e;s&&(i=r.default(s)[0],i&&r.default(i).hasClass("carousel")&&(o=f({},r.default(i).data(),r.default(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),t._jQueryInterface.call(r.default(i),o),e&&r.default(i).data("bs.carousel").to(e),n.preventDefault()))},e(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return ft}}]),t}();r.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",y._dataApiClickHandler);r.default(window).on("load.bs.carousel.data-api",function(){for(var t,i=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),n=0,u=i.length;n<u;n++)t=r.default(i[n]),y._jQueryInterface.call(t,t.data())});r.default.fn[v]=y._jQueryInterface;r.default.fn[v].Constructor=y;r.default.fn[v].noConflict=function(){return r.default.fn[v]=dt,y._jQueryInterface};var p="collapse",ni=r.default.fn[p],et={toggle:!0,parent:""},ti={toggle:"boolean",parent:"(string|element)"},g=function(){function t(n,t){this._isTransitioning=!1;this._element=n;this._config=this._getConfig(t);this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'));for(var f=[].slice.call(document.querySelectorAll('[data-toggle="collapse"]')),i=0,o=f.length;i<o;i++){var e=f[i],r=u.getSelectorFromElement(e),s=[].slice.call(document.querySelectorAll(r)).filter(function(t){return t===n});null!==r&&s.length>0&&(this._selector=r,this._triggerArray.push(e))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=t.prototype;return n.toggle=function(){r.default(this._element).hasClass("show")?this.hide():this.show()},n.show=function(){var n,e,i=this,o,f,s,h;this._isTransitioning||r.default(this._element).hasClass("show")||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(n){return"string"==typeof i._config.parent?n.getAttribute("data-parent")===i._config.parent:n.classList.contains("collapse")})).length&&(n=null),n&&(e=r.default(n).not(this._selector).data("bs.collapse"))&&e._isTransitioning)||(o=r.default.Event("show.bs.collapse"),(r.default(this._element).trigger(o),o.isDefaultPrevented())||(n&&(t._jQueryInterface.call(r.default(n).not(this._selector),"hide"),e||r.default(n).data("bs.collapse",null)),f=this._getDimension(),r.default(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[f]=0,this._triggerArray.length&&r.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0),s="scroll"+(f[0].toUpperCase()+f.slice(1)),h=u.getTransitionDurationFromElement(this._element),r.default(this._element).one(u.TRANSITION_END,function(){r.default(i._element).removeClass("collapsing").addClass("collapse show");i._element.style[f]="";i.setTransitioning(!1);r.default(i._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(h),this._element.style[f]=this._element[s]+"px"))},n.hide=function(){var s=this,i,n,f,t,e,o,h;if(!this._isTransitioning&&r.default(this._element).hasClass("show")&&(i=r.default.Event("hide.bs.collapse"),r.default(this._element).trigger(i),!i.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",u.reflow(this._element),r.default(this._element).addClass("collapsing").removeClass("collapse show"),f=this._triggerArray.length,f>0)for(t=0;t<f;t++)e=this._triggerArray[t],o=u.getSelectorFromElement(e),null!==o&&(r.default([].slice.call(document.querySelectorAll(o))).hasClass("show")||r.default(e).addClass("collapsed").attr("aria-expanded",!1));this.setTransitioning(!0);this._element.style[n]="";h=u.getTransitionDurationFromElement(this._element);r.default(this._element).one(u.TRANSITION_END,function(){s.setTransitioning(!1);r.default(s._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")}).emulateTransitionEnd(h)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){r.default.removeData(this._element,"bs.collapse");this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return(n=f({},et,n)).toggle=Boolean(n.toggle),u.typeCheckConfig(p,n,ti),n},n._getDimension=function(){return r.default(this._element).hasClass("width")?"width":"height"},n._getParent=function(){var n,e=this,i,f;return u.isElement(this._config.parent)?(n=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent),i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',f=[].slice.call(n.querySelectorAll(i)),r.default(f).each(function(n,i){e._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])}),n},n._addAriaAndCollapsedClass=function(n,t){var i=r.default(n).hasClass("show");t.length&&r.default(t).toggleClass("collapsed",!i).attr("aria-expanded",i)},t._getTargetFromElement=function(n){var t=u.getSelectorFromElement(n);return t?document.querySelector(t):null},t._jQueryInterface=function(n){return this.each(function(){var u=r.default(this),i=u.data("bs.collapse"),e=f({},et,u.data(),"object"==typeof n&&n?n:{});if(!i&&e.toggle&&"string"==typeof n&&/show|hide/.test(n)&&(e.toggle=!1),i||(i=new t(this,e),u.data("bs.collapse",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},e(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return et}}]),t}();r.default(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var t=r.default(this),i=u.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(i));r.default(f).each(function(){var n=r.default(this),i=n.data("bs.collapse")?"toggle":t.data();g._jQueryInterface.call(n,i)})});r.default.fn[p]=g._jQueryInterface;r.default.fn[p].Constructor=g;r.default.fn[p].noConflict=function(){return r.default.fn[p]=ni,g._jQueryInterface};var w="dropdown",ii=r.default.fn[w],ri=new RegExp("38|40|27"),ui={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},fi={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},o=function(){function n(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var t=n.prototype;return t.toggle=function(){if(!this._element.disabled&&!r.default(this._element).hasClass("disabled")){var t=r.default(this._menu).hasClass("show");n._clearMenus();t||this.show(!0)}},t.show=function(t){var f;if(void 0===t&&(t=!1),!(this._element.disabled||r.default(this._element).hasClass("disabled")||r.default(this._menu).hasClass("show"))){var e={relatedTarget:this._element},o=r.default.Event("show.bs.dropdown",e),i=n._getParentFromElement(this._element);if(r.default(i).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar&&t){if("undefined"==typeof it.default)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");f=this._element;"parent"===this._config.reference?f=i:u.isElement(this._config.reference)&&(f=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(f=this._config.reference[0]));"scrollParent"!==this._config.boundary&&r.default(i).addClass("position-static");this._popper=new it.default(f,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===r.default(i).closest(".navbar-nav").length&&r.default(document.body).children().on("mouseover",null,r.default.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);r.default(this._menu).toggleClass("show");r.default(i).toggleClass("show").trigger(r.default.Event("shown.bs.dropdown",e))}}},t.hide=function(){if(!this._element.disabled&&!r.default(this._element).hasClass("disabled")&&r.default(this._menu).hasClass("show")){var t={relatedTarget:this._element},i=r.default.Event("hide.bs.dropdown",t),u=n._getParentFromElement(this._element);r.default(u).trigger(i);i.isDefaultPrevented()||(this._popper&&this._popper.destroy(),r.default(this._menu).toggleClass("show"),r.default(u).toggleClass("show").trigger(r.default.Event("hidden.bs.dropdown",t)))}},t.dispose=function(){r.default.removeData(this._element,"bs.dropdown");r.default(this._element).off(".bs.dropdown");this._element=null;this._menu=null;null!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var n=this;r.default(this._element).on("click.bs.dropdown",function(t){t.preventDefault();t.stopPropagation();n.toggle()})},t._getConfig=function(n){return n=f({},this.constructor.Default,r.default(this._element).data(),n),u.typeCheckConfig(w,n,this.constructor.DefaultType),n},t._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(".dropdown-menu"))}return this._menu},t._getPlacement=function(){var t=r.default(this._element.parentNode),n="bottom-start";return t.hasClass("dropup")?n=r.default(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":t.hasClass("dropright")?n="right-start":t.hasClass("dropleft")?n="left-start":r.default(this._menu).hasClass("dropdown-menu-right")&&(n="bottom-end"),n},t._detectNavbar=function(){return r.default(this._element).closest(".navbar").length>0},t._getOffset=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=f({},n.offsets,t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},t._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(n.modifiers.applyStyle={enabled:!1}),f({},n,this._config.popperConfig)},n._jQueryInterface=function(t){return this.each(function(){var i=r.default(this).data("bs.dropdown");if(i||(i=new n(this,"object"==typeof t?t:null),r.default(this).data("bs.dropdown",i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},n._clearMenus=function(t){var h,s;if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var u=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),i=0,c=u.length;i<c;i++){var f=n._getParentFromElement(u[i]),e=r.default(u[i]).data("bs.dropdown"),o={relatedTarget:u[i]};(t&&"click"===t.type&&(o.clickEvent=t),e)&&(h=e._menu,!r.default(f).hasClass("show")||t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&r.default.contains(f,t.target)||(s=r.default.Event("hide.bs.dropdown",o),r.default(f).trigger(s),s.isDefaultPrevented()||("ontouchstart"in document.documentElement&&r.default(document.body).children().off("mouseover",null,r.default.noop),u[i].setAttribute("aria-expanded","false"),e._popper&&e._popper.destroy(),r.default(h).removeClass("show"),r.default(f).removeClass("show").trigger(r.default.Event("hidden.bs.dropdown",o)))))}},n._getParentFromElement=function(n){var t,i=u.getSelectorFromElement(n);return i&&(t=document.querySelector(i)),t||n.parentNode},n._dataApiKeydownHandler=function(t){var f,e,u,i;if(!(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||r.default(t.target).closest(".dropdown-menu").length):!ri.test(t.which))&&!this.disabled&&!r.default(this).hasClass("disabled")&&(f=n._getParentFromElement(this),e=r.default(f).hasClass("show"),e||27!==t.which)){if(t.preventDefault(),t.stopPropagation(),!e||27===t.which||32===t.which)return 27===t.which&&r.default(f.querySelector('[data-toggle="dropdown"]')).trigger("focus"),void r.default(this).trigger("click");u=[].slice.call(f.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(n){return r.default(n).is(":visible")});0!==u.length&&(i=u.indexOf(t.target),38===t.which&&i>0&&i--,40===t.which&&i<u.length-1&&i++,i<0&&(i=0),u[i].focus())}},e(n,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return ui}},{key:"DefaultType",get:function(){return fi}}]),n}();r.default(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',o._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",o._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",o._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',function(n){n.preventDefault();n.stopPropagation();o._jQueryInterface.call(r.default(this),"toggle")}).on("click.bs.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()});r.default.fn[w]=o._jQueryInterface;r.default.fn[w].Constructor=o;r.default.fn[w].noConflict=function(){return r.default.fn[w]=ii,o._jQueryInterface};var ei=r.default.fn.modal,ot={backdrop:!0,keyboard:!0,focus:!0,show:!0},oi={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},nt=function(){function t(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(".modal-dialog");this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=t.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var t=this,i;this._isShown||this._isTransitioning||(r.default(this._element).hasClass("fade")&&(this._isTransitioning=!0),i=r.default.Event("show.bs.modal",{relatedTarget:n}),r.default(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),r.default(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',function(n){return t.hide(n)}),r.default(this._dialog).on("mousedown.dismiss.bs.modal",function(){r.default(t._element).one("mouseup.dismiss.bs.modal",function(n){r.default(n.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(n)})))},n.hide=function(n){var e=this,t,i,f;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(t=r.default.Event("hide.bs.modal"),(r.default(this._element).trigger(t),this._isShown&&!t.isDefaultPrevented())&&(this._isShown=!1,i=r.default(this._element).hasClass("fade"),(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),r.default(document).off("focusin.bs.modal"),r.default(this._element).removeClass("show"),r.default(this._element).off("click.dismiss.bs.modal"),r.default(this._dialog).off("mousedown.dismiss.bs.modal"),i)?(f=u.getTransitionDurationFromElement(this._element),r.default(this._element).one(u.TRANSITION_END,function(n){return e._hideModal(n)}).emulateTransitionEnd(f)):this._hideModal()))},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return r.default(n).off(".bs.modal")});r.default(document).off("focusin.bs.modal");r.default.removeData(this._element,"bs.modal");this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._isTransitioning=null;this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(n){return n=f({},ot,n),u.typeCheckConfig("modal",n,oi),n},n._triggerBackdropTransition=function(){var n=this,t,i,f;if("static"===this._config.backdrop){if(t=r.default.Event("hidePrevented.bs.modal"),r.default(this._element).trigger(t),t.isDefaultPrevented())return;i=this._element.scrollHeight>document.documentElement.clientHeight;i||(this._element.style.overflowY="hidden");this._element.classList.add("modal-static");f=u.getTransitionDurationFromElement(this._dialog);r.default(this._element).off(u.TRANSITION_END);r.default(this._element).one(u.TRANSITION_END,function(){n._element.classList.remove("modal-static");i||r.default(n._element).one(u.TRANSITION_END,function(){n._element.style.overflowY=""}).emulateTransitionEnd(n._element,f)}).emulateTransitionEnd(f);this._element.focus()}else this.hide()},n._showElement=function(n){var t=this,f=r.default(this._element).hasClass("fade"),e=this._dialog?this._dialog.querySelector(".modal-body"):null,o,i,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",!0);this._element.setAttribute("role","dialog");r.default(this._dialog).hasClass("modal-dialog-scrollable")&&e?e.scrollTop=0:this._element.scrollTop=0;f&&u.reflow(this._element);r.default(this._element).addClass("show");this._config.focus&&this._enforceFocus();o=r.default.Event("shown.bs.modal",{relatedTarget:n});i=function(){t._config.focus&&t._element.focus();t._isTransitioning=!1;r.default(t._element).trigger(o)};f?(s=u.getTransitionDurationFromElement(this._dialog),r.default(this._dialog).one(u.TRANSITION_END,i).emulateTransitionEnd(s)):i()},n._enforceFocus=function(){var n=this;r.default(document).off("focusin.bs.modal").on("focusin.bs.modal",function(t){document!==t.target&&n._element!==t.target&&0===r.default(n._element).has(t.target).length&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;this._isShown?r.default(this._element).on("keydown.dismiss.bs.modal",function(t){n._config.keyboard&&27===t.which?(t.preventDefault(),n.hide()):n._config.keyboard||27!==t.which||n._triggerBackdropTransition()}):this._isShown||r.default(this._element).off("keydown.dismiss.bs.modal")},n._setResizeEvent=function(){var n=this;this._isShown?r.default(window).on("resize.bs.modal",function(t){return n.handleUpdate(t)}):r.default(window).off("resize.bs.modal")},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");this._isTransitioning=!1;this._showBackdrop(function(){r.default(document.body).removeClass("modal-open");n._resetAdjustments();n._resetScrollbar();r.default(n._element).trigger("hidden.bs.modal")})},n._removeBackdrop=function(){this._backdrop&&(r.default(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var t=this,i=r.default(this._element).hasClass("fade")?"fade":"",e,f,o;if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),r.default(this._backdrop).appendTo(document.body),r.default(this._element).on("click.dismiss.bs.modal",function(n){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:n.target===n.currentTarget&&t._triggerBackdropTransition()}),i&&u.reflow(this._backdrop),r.default(this._backdrop).addClass("show"),!n)return;if(!i)return void n();e=u.getTransitionDurationFromElement(this._backdrop);r.default(this._backdrop).one(u.TRANSITION_END,n).emulateTransitionEnd(e)}else!this._isShown&&this._backdrop?(r.default(this._backdrop).removeClass("show"),f=function(){t._removeBackdrop();n&&n()},r.default(this._element).hasClass("fade")?(o=u.getTransitionDurationFromElement(this._backdrop),r.default(this._backdrop).one(u.TRANSITION_END,f).emulateTransitionEnd(o)):f()):n&&n()},n._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},n._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(n.left+n.right)<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,t,i,u,f;this._isBodyOverflowing&&(t=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),i=[].slice.call(document.querySelectorAll(".sticky-top")),r.default(t).each(function(t,i){var u=i.style.paddingRight,f=r.default(i).css("padding-right");r.default(i).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),r.default(i).each(function(t,i){var u=i.style.marginRight,f=r.default(i).css("margin-right");r.default(i).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=r.default(document.body).css("padding-right"),r.default(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"));r.default(document.body).addClass("modal-open")},n._resetScrollbar=function(){var i=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),n,t;r.default(i).each(function(n,t){var i=r.default(t).data("padding-right");r.default(t).removeData("padding-right");t.style.paddingRight=i||""});n=[].slice.call(document.querySelectorAll(".sticky-top"));r.default(n).each(function(n,t){var i=r.default(t).data("margin-right");"undefined"!=typeof i&&r.default(t).css("margin-right",i).removeData("margin-right")});t=r.default(document.body).data("padding-right");r.default(document.body).removeData("padding-right");document.body.style.paddingRight=t||""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className="modal-scrollbar-measure",document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},t._jQueryInterface=function(n,i){return this.each(function(){var u=r.default(this).data("bs.modal"),e=f({},ot,r.default(this).data(),"object"==typeof n&&n?n:{});if(u||(u=new t(this,e),r.default(this).data("bs.modal",u)),"string"==typeof n){if("undefined"==typeof u[n])throw new TypeError('No method named "'+n+'"');u[n](i)}else e.show&&u.show(i)})},e(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return ot}}]),t}();r.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var t,i=this,e=u.getSelectorFromElement(this),o,s;e&&(t=document.querySelector(e));o=r.default(t).data("bs.modal")?"toggle":f({},r.default(t).data(),r.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();s=r.default(t).one("show.bs.modal",function(n){n.isDefaultPrevented()||s.one("hidden.bs.modal",function(){r.default(i).is(":visible")&&i.focus()})});nt._jQueryInterface.call(r.default(t),o,this)});r.default.fn.modal=nt._jQueryInterface;r.default.fn.modal.Constructor=nt;r.default.fn.modal.noConflict=function(){return r.default.fn.modal=ei,nt._jQueryInterface};var si=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],hi=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,ci=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;var s="tooltip",li=r.default.fn[s],ai=new RegExp("(^|\\s)bs-tooltip\\S+","g"),vi=["sanitize","whiteList","sanitizeFn"],yi={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},pi={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},wi={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},bi={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},h=function(){function t(n,t){if("undefined"==typeof it.default)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=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var n=t.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(n){if(this._isEnabled)if(n){var i=this.constructor.DATA_KEY,t=r.default(n.currentTarget).data(i);t||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),r.default(n.currentTarget).data(i,t));t._activeTrigger.click=!t._activeTrigger.click;t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(r.default(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);r.default.removeData(this.element,this.constructor.DATA_KEY);r.default(this.element).off(this.constructor.EVENT_KEY);r.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler);this.tip&&r.default(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},n.show=function(){var n=this,i,f,h,t,e,c,o,l,s,a;if("none"===r.default(this.element).css("display"))throw new Error("Please use show on visible elements");if(i=r.default.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(r.default(this.element).trigger(i),f=u.findShadowRoot(this.element),h=r.default.contains(null!==f?f:this.element.ownerDocument.documentElement,this.element),i.isDefaultPrevented()||!h)return;t=this.getTipElement();e=u.getUID(this.constructor.NAME);t.setAttribute("id",e);this.element.setAttribute("aria-describedby",e);this.setContent();this.config.animation&&r.default(t).addClass("fade");c="function"==typeof this.config.placement?this.config.placement.call(this,t,this.element):this.config.placement;o=this._getAttachment(c);this.addAttachmentClass(o);l=this._getContainer();r.default(t).data(this.constructor.DATA_KEY,this);r.default.contains(this.element.ownerDocument.documentElement,this.tip)||r.default(t).appendTo(l);r.default(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new it.default(this.element,t,this._getPopperConfig(o));r.default(t).addClass("show");"ontouchstart"in document.documentElement&&r.default(document.body).children().on("mouseover",null,r.default.noop);s=function(){n.config.animation&&n._fixTransition();var t=n._hoverState;n._hoverState=null;r.default(n.element).trigger(n.constructor.Event.SHOWN);"out"===t&&n._leave(null,n)};r.default(this.tip).hasClass("fade")?(a=u.getTransitionDurationFromElement(this.tip),r.default(this.tip).one(u.TRANSITION_END,s).emulateTransitionEnd(a)):s()}},n.hide=function(n){var t=this,i=this.getTipElement(),f=r.default.Event(this.constructor.Event.HIDE),e=function(){"show"!==t._hoverState&&i.parentNode&&i.parentNode.removeChild(i);t._cleanTipClass();t.element.removeAttribute("aria-describedby");r.default(t.element).trigger(t.constructor.Event.HIDDEN);null!==t._popper&&t._popper.destroy();n&&n()},o;(r.default(this.element).trigger(f),f.isDefaultPrevented())||((r.default(i).removeClass("show"),"ontouchstart"in document.documentElement&&r.default(document.body).children().off("mouseover",null,r.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,r.default(this.tip).hasClass("fade"))?(o=u.getTransitionDurationFromElement(i),r.default(i).one(u.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){r.default(this.getTipElement()).addClass("bs-tooltip-"+n)},n.getTipElement=function(){return this.tip=this.tip||r.default(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(r.default(n.querySelectorAll(".tooltip-inner")),this.getTitle());r.default(n).removeClass("fade show")},n.setElementContent=function(n,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=at(t,this.config.whiteList,this.config.sanitizeFn)),n.html(t)):n.text(t):this.config.html?r.default(t).parent().is(n)||n.empty().append(t):n.text(r.default(t).text())},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},n._getPopperConfig=function(n){var t=this;return f({},{placement:n,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){return t._handlePopperPlacementChange(n)}},this.config.popperConfig)},n._getOffset=function(){var t=this,n={};return"function"==typeof this.config.offset?n.fn=function(n){return n.offsets=f({},n.offsets,t.config.offset(n.offsets,t.element)||{}),n}:n.offset=this.config.offset,n},n._getContainer=function(){return!1===this.config.container?document.body:u.isElement(this.config.container)?r.default(this.config.container):r.default(document).find(this.config.container)},n._getAttachment=function(n){return pi[n.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)r.default(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if("manual"!==t){var i="hover"===t?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u="hover"===t?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;r.default(n.element).on(i,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}});this._hideModalHandler=function(){n.element&&n.hide()};r.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler);this.config.selector?this.config=f({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,t){var i=this.constructor.DATA_KEY;(t=t||r.default(n.currentTarget).data(i))||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),r.default(n.currentTarget).data(i,t));n&&(t._activeTrigger["focusin"===n.type?"focus":"hover"]=!0);r.default(t.getTipElement()).hasClass("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){"show"===t._hoverState&&t.show()},t.config.delay.show):t.show())},n._leave=function(n,t){var i=this.constructor.DATA_KEY;(t=t||r.default(n.currentTarget).data(i))||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),r.default(n.currentTarget).data(i,t));n&&(t._activeTrigger["focusout"===n.type?"focus":"hover"]=!1);t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){var t=r.default(this.element).data();return Object.keys(t).forEach(function(n){-1!==vi.indexOf(n)&&delete t[n]}),"number"==typeof(n=f({},this.constructor.Default,t,"object"==typeof n&&n?n:{})).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),u.typeCheckConfig(s,n,this.constructor.DefaultType),n.sanitize&&(n.template=at(n.template,n.whiteList,n.sanitizeFn)),n},n._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},n._cleanTipClass=function(){var t=r.default(this.getTipElement()),n=t.attr("class").match(ai);null!==n&&n.length&&t.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){this.tip=n.instance.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),t=this.config.animation;null===n.getAttribute("x-placement")&&(r.default(n).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},t._jQueryInterface=function(n){return this.each(function(){var u=r.default(this),i=u.data("bs.tooltip"),f="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,f),u.data("bs.tooltip",i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},e(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return wi}},{key:"NAME",get:function(){return s}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return bi}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return yi}}]),t}();r.default.fn[s]=h._jQueryInterface;r.default.fn[s].Constructor=h;r.default.fn[s].noConflict=function(){return r.default.fn[s]=li,h._jQueryInterface};var b="popover",ki=r.default.fn[b],di=new RegExp("(^|\\s)bs-popover\\S+","g"),gi=f({},h.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>'}),nr=f({},h.DefaultType,{content:"(string|element|function)"}),tr={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},rt=function(n){function i(){return n.apply(this,arguments)||this}var u,f,t;return f=n,(u=i).prototype=Object.create(f.prototype),u.prototype.constructor=u,u.__proto__=f,t=i.prototype,t.isWithContent=function(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function(n){r.default(this.getTipElement()).addClass("bs-popover-"+n)},t.getTipElement=function(){return this.tip=this.tip||r.default(this.config.template)[0],this.tip},t.setContent=function(){var t=r.default(this.getTipElement()),n;this.setElementContent(t.find(".popover-header"),this.getTitle());n=this._getContent();"function"==typeof n&&(n=n.call(this.element));this.setElementContent(t.find(".popover-body"),n);t.removeClass("fade show")},t._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function(){var t=r.default(this.getTipElement()),n=t.attr("class").match(di);null!==n&&n.length>0&&t.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=r.default(this).data("bs.popover"),u="object"==typeof n?n:null;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,u),r.default(this).data("bs.popover",t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},e(i,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return gi}},{key:"NAME",get:function(){return b}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return tr}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return nr}}]),i}(h);r.default.fn[b]=rt._jQueryInterface;r.default.fn[b].Constructor=rt;r.default.fn[b].noConflict=function(){return r.default.fn[b]=ki,rt._jQueryInterface};var c="scrollspy",ir=r.default.fn[c],vt={offset:10,method:"auto",target:""},rr={offset:"number",method:"string",target:"(string|element)"},tt=function(){function t(n,t){var i=this;this._element=n;this._scrollElement="BODY"===n.tagName?window:n;this._config=this._getConfig(t);this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item";this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;r.default(this._scrollElement).on("scroll.bs.scrollspy",function(n){return i._process(n)});this.refresh();this._process()}var n=t.prototype;return n.refresh=function(){var n=this,i=this._scrollElement===this._scrollElement.window?"offset":"position",t="auto"===this._config.method?i:this._config.method,f="position"===t?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();[].slice.call(document.querySelectorAll(this._selector)).map(function(n){var i,e=u.getSelectorFromElement(n),o;return(e&&(i=document.querySelector(e)),i)&&(o=i.getBoundingClientRect(),o.width||o.height)?[r.default(i)[t]().top+f,e]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},n.dispose=function(){r.default.removeData(this._element,"bs.scrollspy");r.default(this._scrollElement).off(".bs.scrollspy");this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},n._getConfig=function(n){if("string"!=typeof(n=f({},vt,"object"==typeof n&&n?n:{})).target&&u.isElement(n.target)){var t=r.default(n.target).attr("id");t||(t=u.getUID(c),r.default(n.target).attr("id",t));n.target="#"+t}return u.typeCheckConfig(c,n,rr),n},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),t>=u)i=this._targets[this._targets.length-1],this._activeTarget!==i&&this._activate(i);else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},n._activate=function(n){this._activeTarget=n;this._clear();var i=this._selector.split(",").map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'}),t=r.default([].slice.call(document.querySelectorAll(i.join(","))));t.hasClass("dropdown-item")?(t.closest(".dropdown").find(".dropdown-toggle").addClass("active"),t.addClass("active")):(t.addClass("active"),t.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),t.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active"));r.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains("active")}).forEach(function(n){return n.classList.remove("active")})},t._jQueryInterface=function(n){return this.each(function(){var i=r.default(this).data("bs.scrollspy");if(i||(i=new t(this,"object"==typeof n&&n),r.default(this).data("bs.scrollspy",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},e(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return vt}}]),t}();r.default(window).on("load.bs.scrollspy.data-api",function(){for(var i,n=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),t=n.length;t--;)i=r.default(n[t]),tt._jQueryInterface.call(i,i.data())});r.default.fn[c]=tt._jQueryInterface;r.default.fn[c].Constructor=tt;r.default.fn[c].noConflict=function(){return r.default.fn[c]=ir,tt._jQueryInterface};yt=r.default.fn.tab;k=function(){function n(n){this._element=n}var t=n.prototype;return t.show=function(){var h=this,i,n,t,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&r.default(this._element).hasClass("active")||r.default(this._element).hasClass("disabled")||(t=r.default(this._element).closest(".nav, .list-group")[0],f=u.getSelectorFromElement(this._element),t&&(c="UL"===t.nodeName||"OL"===t.nodeName?"> li > .active":".active",n=(n=r.default.makeArray(r.default(t).find(c)))[n.length-1]),e=r.default.Event("hide.bs.tab",{relatedTarget:this._element}),o=r.default.Event("show.bs.tab",{relatedTarget:n}),(n&&r.default(n).trigger(e),r.default(this._element).trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(f&&(i=document.querySelector(f)),this._activate(this._element,t),s=function(){var t=r.default.Event("hidden.bs.tab",{relatedTarget:h._element}),i=r.default.Event("shown.bs.tab",{relatedTarget:n});r.default(n).trigger(t);r.default(h._element).trigger(i)},i?this._activate(i,i.parentNode,s):s()))},t.dispose=function(){r.default.removeData(this._element,"bs.tab");this._element=null},t._activate=function(n,t,i){var s=this,f=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?r.default(t).children(".active"):r.default(t).find("> li > .active"))[0],h=i&&f&&r.default(f).hasClass("fade"),e=function(){return s._transitionComplete(n,f,i)},o;f&&h?(o=u.getTransitionDurationFromElement(f),r.default(f).removeClass("show").one(u.TRANSITION_END,e).emulateTransitionEnd(o)):e()},t._transitionComplete=function(n,t,i){var f,e,o;t&&(r.default(t).removeClass("active"),f=r.default(t.parentNode).find("> .dropdown-menu .active")[0],f&&r.default(f).removeClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1));(r.default(n).addClass("active"),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),u.reflow(n),n.classList.contains("fade")&&n.classList.add("show"),n.parentNode&&r.default(n.parentNode).hasClass("dropdown-menu"))&&(e=r.default(n).closest(".dropdown")[0],e&&(o=[].slice.call(e.querySelectorAll(".dropdown-toggle")),r.default(o).addClass("active")),n.setAttribute("aria-expanded",!0));i&&i()},n._jQueryInterface=function(t){return this.each(function(){var u=r.default(this),i=u.data("bs.tab");if(i||(i=new n(this),u.data("bs.tab",i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},e(n,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),n}();r.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(n){n.preventDefault();k._jQueryInterface.call(r.default(this),"show")});r.default.fn.tab=k._jQueryInterface;r.default.fn.tab.Constructor=k;r.default.fn.tab.noConflict=function(){return r.default.fn.tab=yt,k._jQueryInterface};var ur=r.default.fn.toast,fr={animation:"boolean",autohide:"boolean",delay:"number"},pt={animation:!0,autohide:!0,delay:500},ut=function(){function t(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=t.prototype;return n.show=function(){var n=this,i=r.default.Event("show.bs.toast"),t,f;(r.default(this._element).trigger(i),i.isDefaultPrevented())||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),t=function(){n._element.classList.remove("showing");n._element.classList.add("show");r.default(n._element).trigger("shown.bs.toast");n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},(this._element.classList.remove("hide"),u.reflow(this._element),this._element.classList.add("showing"),this._config.animation)?(f=u.getTransitionDurationFromElement(this._element),r.default(this._element).one(u.TRANSITION_END,t).emulateTransitionEnd(f)):t())},n.hide=function(){if(this._element.classList.contains("show")){var n=r.default.Event("hide.bs.toast");r.default(this._element).trigger(n);n.isDefaultPrevented()||this._close()}},n.dispose=function(){this._clearTimeout();this._element.classList.contains("show")&&this._element.classList.remove("show");r.default(this._element).off("click.dismiss.bs.toast");r.default.removeData(this._element,"bs.toast");this._element=null;this._config=null},n._getConfig=function(n){return n=f({},pt,r.default(this._element).data(),"object"==typeof n&&n?n:{}),u.typeCheckConfig("toast",n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;r.default(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',function(){return n.hide()})},n._close=function(){var n=this,t=function(){n._element.classList.add("hide");r.default(n._element).trigger("hidden.bs.toast")},i;(this._element.classList.remove("show"),this._config.animation)?(i=u.getTransitionDurationFromElement(this._element),r.default(this._element).one(u.TRANSITION_END,t).emulateTransitionEnd(i)):t()},n._clearTimeout=function(){clearTimeout(this._timeout);this._timeout=null},t._jQueryInterface=function(n){return this.each(function(){var u=r.default(this),i=u.data("bs.toast");if(i||(i=new t(this,"object"==typeof n&&n),u.data("bs.toast",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n](this)}})},e(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"DefaultType",get:function(){return fr}},{key:"Default",get:function(){return pt}}]),t}();r.default.fn.toast=ut._jQueryInterface;r.default.fn.toast.Constructor=ut;r.default.fn.toast.noConflict=function(){return r.default.fn.toast=ur,ut._jQueryInterface};n.Alert=l;n.Button=a;n.Carousel=y;n.Collapse=g;n.Dropdown=o;n.Modal=nt;n.Popover=rt;n.Scrollspy=tt;n.Tab=k;n.Toast=ut;n.Tooltip=h;n.Util=u;Object.defineProperty(n,"__esModule",{value:!0})});window.matchMedia=window.matchMedia||function(n){var u,i=n.documentElement,f=i.firstElementChild||i.firstChild,r=n.createElement("body"),t=n.createElement("div");return t.id="mq-test-1",t.style.cssText="position:absolute;top:-100em",r.style.background="none",r.appendChild(t),function(n){return t.innerHTML='&shy;<style media="'+n+'"> #mq-test-1 { width: 42px; }<\/style>',i.insertBefore(r,f),u=t.offsetWidth==42,i.removeChild(r),{matches:u,media:n}}}(document),function(n){function d(){a(!0)}if(n.respond={},respond.update=function(){},respond.mediaQueriesSupported=n.matchMedia&&n.matchMedia("only all").matches,!respond.mediaQueriesSupported){var t=n.document,i=t.documentElement,e=[],u=[],r=[],o={},v=30,f=t.getElementsByTagName("head")[0]||i,g=t.getElementsByTagName("base")[0],s=f.getElementsByTagName("link"),h=[],y=function(){for(var f=s,c=f.length,r=0,t,i,u,e;r<c;r++)t=f[r],i=t.href,u=t.media,e=t.rel&&t.rel.toLowerCase()==="stylesheet",!i||!e||o[i]||(t.styleSheet&&t.styleSheet.rawCssText?(w(t.styleSheet.rawCssText,i,u),o[i]=!0):(/^([a-zA-Z:]*\/\/)/.test(i)||g)&&i.replace(RegExp.$1,"").split("/")[0]!==n.location.host||h.push({href:i,media:u}));p()},p=function(){if(h.length){var n=h.shift();nt(n.href,function(t){w(t,n.href,n.media);o[n.href]=!0;p()})}},w=function(n,t,i){var o=n.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),s=o&&o.length||0,t=t.substring(0,t.lastIndexOf("/")),v=function(n){return n.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+t+"$2$3")},y=!s&&i,h=0,f,c,r,l,p;for(t.length&&(t+="/"),y&&(s=1);h<s;h++)for(f=0,y?(c=i,u.push(v(n))):(c=o[h].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,u.push(RegExp.$2&&v(RegExp.$2))),l=c.split(","),p=l.length;f<p;f++)r=l[f],e.push({media:r.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:u.length-1,hasquery:r.indexOf("(")>-1,minw:r.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:r.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});a()},c,b,k=function(){var u,r=t.createElement("div"),n=t.body,f=!1;return r.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=f=t.createElement("body"),n.style.background="none"),n.appendChild(r),i.insertBefore(n,i.firstChild),u=r.offsetWidth,f?i.removeChild(n):n.removeChild(r),l=parseFloat(u)},l,a=function(n){var nt="clientWidth",tt=i[nt],it=t.compatMode==="CSS1Compat"&&tt||t.body[nt]||tt,d={},ot=s[s.length-1],rt=(new Date).getTime(),o,h,g;if(n&&c&&rt-c<v){clearTimeout(b);b=setTimeout(a,v);return}c=rt;for(o in e){var y=e[o],p=y.minw,w=y.maxw,ut=p===null,ft=w===null,et="em";!p||(p=parseFloat(p)*(p.indexOf(et)>-1?l||k():1));!w||(w=parseFloat(w)*(w.indexOf(et)>-1?l||k():1));y.hasquery&&(ut&&ft||!(ut||it>=p)||!(ft||it<=w))||(d[y.media]||(d[y.media]=[]),d[y.media].push(u[y.rules]))}for(o in r)r[o]&&r[o].parentNode===f&&f.removeChild(r[o]);for(o in d)h=t.createElement("style"),g=d[o].join("\n"),h.type="text/css",h.media=o,f.insertBefore(h,ot.nextSibling),h.styleSheet?h.styleSheet.cssText=g:h.appendChild(t.createTextNode(g)),r.push(h)},nt=function(n,t){var i=tt();i&&(i.open("GET",n,!0),i.onreadystatechange=function(){i.readyState==4&&(i.status==200||i.status==304)&&t(i.responseText)},i.readyState!=4)&&i.send(null)},tt=function(){var n=!1;try{n=new XMLHttpRequest}catch(t){n=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return n}}();y();respond.update=y;n.addEventListener?n.addEventListener("resize",d,!1):n.attachEvent&&n.attachEvent("onresize",d)}}(this)