!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((n=n||self).bootstrap={},n.jQuery)}(this,function(n,t){"use strict";function hf(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 l(n,t,i){return t&&hf(n.prototype,t),i&&hf(n,i),n}function u(n){for(var i,r,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},r=Object.keys(i),"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(n){return Object.getOwnPropertyDescriptor(i,n).enumerable}))),r.forEach(function(t){var r,u,f;r=n;f=i[u=t];u in r?Object.defineProperty(r,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):r[u]=f});return n}function ao(n){var u=this,r=!1;return t(this).one(i.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||i.triggerTransitionEnd(u)},n),this}function gf(n){return n&&"[object Function]"==={}.toString.call(n)}function nt(n,t){if(1!==n.nodeType)return[];var i=n.ownerDocument.defaultView.getComputedStyle(n,null);return t?i[t]:i}function lu(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function hi(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=nt(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/(auto|scroll|overlay)/.test(i+u+r)?n:hi(lu(n))}function ht(n){return 11===n?au:10===n?vu:au||vu}function ct(n){var r,t,i;if(!n)return document.documentElement;for(r=ht(10)?document.body:null,t=n.offsetParent||null;t===r&&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"===nt(t,"position")?ct(t):t:n?n.ownerDocument.documentElement:document.documentElement}function yu(n){return null!==n.parentNode?yu(n.parentNode):n}function hr(n,t){var u,h,i,f;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))?"BODY"===(h=(u=i).nodeName)||"HTML"!==h&&ct(u.firstElementChild)!==u?ct(i):i:(f=yu(n),f.host?hr(f.host,t):hr(n,yu(t).host))}function lt(n){var t="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=n.nodeName,r;return"BODY"!==i&&"HTML"!==i?n[t]:(r=n.ownerDocument.documentElement,(n.ownerDocument.scrollingElement||r)[t])}function ne(n,t){var i="x"===t?"Left":"Top",r="Left"===i?"Right":"Bottom";return parseFloat(n["border"+i+"Width"],10)+parseFloat(n["border"+r+"Width"],10)}function te(n,t,i,r){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],ht(10)?parseInt(i["offset"+n])+parseInt(r["margin"+("Height"===n?"Top":"Left")])+parseInt(r["margin"+("Height"===n?"Bottom":"Right")]):0)}function ie(n){var i=n.body,t=n.documentElement,r=ht(10)&&getComputedStyle(t);return{height:te("Height",i,t,r),width:te("Width",i,t,r)}}function p(n){return h({},n,{right:n.left+n.width,bottom:n.top+n.height})}function pu(n){var t={},r,u,o;try{ht(10)?(t=n.getBoundingClientRect(),r=lt(n,"top"),u=lt(n,"left"),t.top+=r,t.left+=u,t.bottom+=r,t.right+=u):t=n.getBoundingClientRect()}catch(n){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},s="HTML"===n.nodeName?ie(n.ownerDocument):{},h=s.width||n.clientWidth||i.right-i.left,c=s.height||n.clientHeight||i.bottom-i.top,f=n.offsetWidth-h,e=n.offsetHeight-c;return(f||e)&&(o=nt(n),f-=ne(o,"x"),e-=ne(o,"y"),i.width-=f,i.height-=e),p(i)}function wu(n,t){var l=2<arguments.length&&void 0!==arguments[2]&&arguments[2],a=ht(10),v="HTML"===t.nodeName,u=pu(n),r=pu(t),s=hi(n),f=nt(t),h=parseFloat(f.borderTopWidth,10),c=parseFloat(f.borderLeftWidth,10),i,e,o;return l&&v&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0)),i=p({top:u.top-r.top-h,left:u.left-r.left-c,width:u.width,height:u.height}),(i.marginTop=0,i.marginLeft=0,!a&&v)&&(e=parseFloat(f.marginTop,10),o=parseFloat(f.marginLeft,10),i.top-=h-e,i.bottom-=h-e,i.left-=c-o,i.right-=c-o,i.marginTop=e,i.marginLeft=o),(a&&!l?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(i=function(n,t){var f=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=lt(t,"top"),u=lt(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}(i,t)),i}function re(n){if(!n||!n.parentElement||ht())return document.documentElement;for(var t=n.parentElement;t&&"none"===nt(t,"transform");)t=t.parentElement;return t||document.documentElement}function bu(n,t,i,r){var s=4<arguments.length&&void 0!==arguments[4]&&arguments[4],u={top:0,left:0},h=s?re(n):hr(n,t),e,f,o;if("viewport"===r)u=function(n){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=n.ownerDocument.documentElement,i=wu(n,t),u=Math.max(t.clientWidth,window.innerWidth||0),f=Math.max(t.clientHeight,window.innerHeight||0),e=r?0:lt(t),o=r?0:lt(t,"left");return p({top:e-i.top+i.marginTop,left:o-i.left+i.marginLeft,width:u,height:f})}(h,s);else if(e=void 0,"scrollParent"===r?"BODY"===(e=hi(lu(t))).nodeName&&(e=n.ownerDocument.documentElement):e="window"===r?n.ownerDocument.documentElement:r,f=wu(e,h,s),"HTML"!==e.nodeName||function n(t){var r=t.nodeName,i;return"BODY"===r||"HTML"===r?!1:"fixed"===nt(t,"position")?!0:(i=lu(t),!!i&&n(i))}(h))u=f;else{var c=ie(n.ownerDocument),l=c.height,a=c.width;u.top+=f.top-f.marginTop;u.bottom=l+f.top;u.left+=f.left-f.marginLeft;u.right=a+f.left}return o="number"==typeof(i=i||0),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 ue(n,t,i,r,u){var l=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===n.indexOf("auto"))return n;var f=bu(i,r,l,u),e={top:{width:f.width,height:t.top-f.top},right:{width:f.right-t.right,height:f.height},bottom:{width:f.width,height:f.bottom-t.bottom},left:{width:t.left-f.left,height:f.height}},o=Object.keys(e).map(function(n){return h({key:n},e[n],{area:(t=e[n],t.width*t.height)});var t}).sort(function(n,t){return t.area-n.area}),s=o.filter(function(n){var t=n.width,r=n.height;return t>=i.clientWidth&&r>=i.clientHeight}),a=0<s.length?s[0].key:o[0].key,c=n.split("-")[1];return a+(c?"-"+c:"")}function fe(n,t,i){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return wu(i,r?re(t):hr(t,i),r)}function ee(n){var t=n.ownerDocument.defaultView.getComputedStyle(n),i=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:n.offsetWidth+r,height:n.offsetHeight+i}}function cr(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 oe(n,t,i){i=i.split("-")[0];var r=ee(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[cr(f)],e}function ci(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function se(n,t,i){return(void 0===i?n:n.slice(0,function(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=ci(n,function(n){return n[t]===i});return n.indexOf(r)}(n,"name",i))).forEach(function(n){n.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=n.function||n.fn;n.enabled&&gf(i)&&(t.offsets.popper=p(t.offsets.popper),t.offsets.reference=p(t.offsets.reference),t=i(t,n))}),t}function he(n,t){return n.some(function(n){var i=n.name;return n.enabled&&i===t})}function ku(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 ce(n){var t=n.ownerDocument;return t?t.defaultView:window}function uh(n,t,i,r){i.updateBound=r;ce(n).addEventListener("resize",i.updateBound,{passive:!0});var u=hi(n);return function n(t,i,r,u){var e="BODY"===t.nodeName,f=e?t.ownerDocument.defaultView:t;f.addEventListener(i,r,{passive:!0});e||n(hi(f.parentNode),i,r,u);u.push(f)}(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function fh(){var t,n;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,n=this.state,ce(t).removeEventListener("resize",n.updateBound),n.scrollParents.forEach(function(t){t.removeEventListener("scroll",n.updateBound)}),n.updateBound=null,n.scrollParents=[],n.scrollElement=null,n.eventsEnabled=!1,n))}function du(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function gu(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&du(t[i])&&(r="px");n.style[i]=t[i]+r})}function ae(n,t,i){var u=ci(n,function(n){return n.name===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r,e;return f||(r="`"+t+"`",e="`"+i+"`",console.warn(e+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function ve(n){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=lr.indexOf(n),i=lr.slice(t+1).concat(lr.slice(0,t));return r?i.reverse():i}function hh(n,t,i,r){var s=[0,0],h=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(ci(u,function(n){return-1!==n.search(/,|\s/)})),e,o;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),e=/\s*,\s*|\s+/,o=-1!==f?[u.slice(0,f).concat([u[f].split(e)[0]]),[u[f].split(e)[1]].concat(u.slice(f+1))]:[u],(o=o.map(function(n,r){var f=(1===r?!h:h)?"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 function(n,t,i,r){var o=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+o[1],u=o[2],e;if(!f)return n;if(0!==u.indexOf("%"))return"vh"!==u&&"vw"!==u?f:("vh"===u?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*f;e=void 0;switch(u){case"%p":e=i;break;case"%":case"%r":default:e=r}return p(e)[t]/100*f}(n,f,t,i)})})).forEach(function(n,t){n.forEach(function(i,r){du(i)&&(s[t]+=i*("-"===n[r-1]?-1:1))})}),s}function de(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===vc.indexOf(i)||Boolean(n.nodeValue.match(yc)||n.nodeValue.match(pc));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 dt,i,df,au,vu,le,nf,lr,ye,w;t=t&&t.hasOwnProperty("default")?t.default:t;dt="transitionend";i={TRANSITION_END:"bsTransitionEnd",getUID:function(n){for(;n+=~~(1e6*Math.random()),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 i=t(n).css("transition-duration"),r=t(n).css("transition-delay"),u=parseFloat(i),f=parseFloat(r);return u||f?(i=i.split(",")[0],r=r.split(",")[0],1e3*(parseFloat(i)+parseFloat(r))):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(dt)},supportsTransitionEnd:function(){return Boolean(dt)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,r){var u,s;for(u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=t[u],o=f&&i.isElement(f)?"element":(s=f,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+': Option "'+u+'" provided type "'+o+'" but expected type "'+e+'".');}},findShadowRoot:function(n){if(!document.documentElement.attachShadow)return null;if("function"!=typeof n.getRootNode)return n instanceof ShadowRoot?n:n.parentNode?i.findShadowRoot(n.parentNode):null;var t=n.getRootNode();return t instanceof ShadowRoot?t:null}};t.fn.emulateTransitionEnd=ao;t.event.special[i.TRANSITION_END]={bindType:dt,delegateType:dt,handle:function(n){if(t(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}};var gt="alert",ur="bs.alert",iu="."+ur,vo=t.fn[gt],ru={CLOSE:"close"+iu,CLOSED:"closed"+iu,CLICK_DATA_API:"click"+iu+".data-api"},yo="alert",po="fade",wo="show",ft=function(){function n(n){this._element=n}var r=n.prototype;return r.close=function(n){var t=this._element;n&&(t=this._getRootElement(n));this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},r.dispose=function(){t.removeData(this._element,ur);this._element=null},r._getRootElement=function(n){var u=i.getSelectorFromElement(n),r=!1;return u&&(r=document.querySelector(u)),r||(r=t(n).closest("."+yo)[0]),r},r._triggerCloseEvent=function(n){var i=t.Event(ru.CLOSE);return t(n).trigger(i),i},r._removeElement=function(n){var u=this,r;(t(n).removeClass(wo),t(n).hasClass(po))?(r=i.getTransitionDurationFromElement(n),t(n).one(i.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(r)):this._destroyElement(n)},r._destroyElement=function(n){t(n).detach().trigger(ru.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(ur);r||(r=new n(this),u.data(ur,r));"close"===i&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},l(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();t(document).on(ru.CLICK_DATA_API,'[data-dismiss="alert"]',ft._handleDismiss(new ft));t.fn[gt]=ft._jQueryInterface;t.fn[gt].Constructor=ft;t.fn[gt].noConflict=function(){return t.fn[gt]=vo,ft._jQueryInterface};var ni="button",fr="bs.button",uu="."+fr,fu=".data-api",bo=t.fn[ni],ti="active",ko="btn",go="focus",cf='[data-toggle^="button"]',ns='[data-toggle="buttons"]',ts='input:not([type="hidden"])',is=".active",lf=".btn",af={CLICK_DATA_API:"click"+uu+fu,FOCUS_BLUR_DATA_API:"focus"+uu+fu+" blur"+uu+fu},ii=function(){function n(n){this._element=n}var i=n.prototype;return i.toggle=function(){var r=!0,f=!0,i=t(this._element).closest(ns)[0],n,u;if(i&&(n=this._element.querySelector(ts),n)){if("radio"===n.type&&(n.checked&&this._element.classList.contains(ti)?r=!1:(u=i.querySelector(is),u&&t(u).removeClass(ti))),r){if(n.hasAttribute("disabled")||i.hasAttribute("disabled")||n.classList.contains("disabled")||i.classList.contains("disabled"))return;n.checked=!this._element.classList.contains(ti);t(n).trigger("change")}n.focus();f=!1}f&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(ti));r&&t(this._element).toggleClass(ti)},i.dispose=function(){t.removeData(this._element,fr);this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(fr);r||(r=new n(this),t(this).data(fr,r));"toggle"===i&&r[i]()})},l(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();t(document).on(af.CLICK_DATA_API,cf,function(n){n.preventDefault();var i=n.target;t(i).hasClass(ko)||(i=t(i).closest(lf));ii._jQueryInterface.call(t(i),"toggle")}).on(af.FOCUS_BLUR_DATA_API,cf,function(n){var i=t(n.target).closest(lf)[0];t(i).toggleClass(go,/^focus(in)?$/.test(n.type))});t.fn[ni]=ii._jQueryInterface;t.fn[ni].Constructor=ii;t.fn[ni].noConflict=function(){return t.fn[ni]=bo,ii._jQueryInterface};var et="carousel",ri="bs.carousel",e="."+ri,vf=".data-api",rs=t.fn[et],eu={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},us={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},er="next",or="prev",fs="left",es="right",o={SLIDE:"slide"+e,SLID:"slid"+e,KEYDOWN:"keydown"+e,MOUSEENTER:"mouseenter"+e,MOUSELEAVE:"mouseleave"+e,TOUCHSTART:"touchstart"+e,TOUCHMOVE:"touchmove"+e,TOUCHEND:"touchend"+e,POINTERDOWN:"pointerdown"+e,POINTERUP:"pointerup"+e,DRAG_START:"dragstart"+e,LOAD_DATA_API:"load"+e+vf,CLICK_DATA_API:"click"+e+vf},os="carousel",k="active",ss="slide",hs="carousel-item-right",cs="carousel-item-left",ls="carousel-item-next",as="carousel-item-prev",vs="pointer-event",ys=".active",ou=".active.carousel-item",ps=".carousel-item",ws=".carousel-item img",bs=".carousel-item-next, .carousel-item-prev",ks=".carousel-indicators",ds='[data-ride="carousel"]',yf={TOUCH:"touch",PEN:"pen"},ot=function(){function r(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(ks);this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=r.prototype;return n.next=function(){this._isSliding||this._slide(er)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(or)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(bs)&&(i.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,i,r;if(this._activeElement=this._element.querySelector(ou),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)t(this._element).one(o.SLID,function(){return u.to(n)});else{if(i===n)return this.pause(),void this.cycle();r=i<n?er:or;this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(e);t.removeData(this._element,ri);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=u({},eu,n),i.typeCheckConfig(et,n,us),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=40||(n=t/this.touchDeltaX,0<n&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;this._config.keyboard&&t(this._element).on(o.KEYDOWN,function(t){return n._keydown(t)});"hover"===this._config.pause&&t(this._element).on(o.MOUSEENTER,function(t){return n.pause(t)}).on(o.MOUSELEAVE,function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this,i,r;this._touchSupported&&(i=function(t){n._pointerEvent&&yf[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},r=function(t){n._pointerEvent&&yf[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))},t(this._element.querySelectorAll(ws)).on(o.DRAG_START,function(n){return n.preventDefault()}),this._pointerEvent?(t(this._element).on(o.POINTERDOWN,function(n){return i(n)}),t(this._element).on(o.POINTERUP,function(n){return r(n)}),this._element.classList.add(vs)):(t(this._element).on(o.TOUCHSTART,function(n){return i(n)}),t(this._element).on(o.TOUCHMOVE,function(t){var i;n.touchDeltaX=(i=t).originalEvent.touches&&1<i.originalEvent.touches.length?0:i.originalEvent.touches[0].clientX-n.touchStartX}),t(this._element).on(o.TOUCHEND,function(n){return r(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(ps)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var u=n===er,f=n===or,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===or?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,i){var u=this._getItemIndex(n),f=this._getItemIndex(this._element.querySelector(ou)),r=t.Event(o.SLIDE,{relatedTarget:n,direction:i,from:f,to:u});return t(this._element).trigger(r),r},n._setActiveIndicatorElement=function(n){var r,i;this._indicatorsElement&&(r=[].slice.call(this._indicatorsElement.querySelectorAll(ys)),t(r).removeClass(k),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass(k))},n._slide=function(n,r){var e,s,h,a=this,f=this._element.querySelector(ou),p=this._getItemIndex(f),u=r||f&&this._getItemByDirection(n,f),w=this._getItemIndex(u),v=Boolean(this._interval),c,l,y;(h=n===er?(e=cs,s=ls,fs):(e=hs,s=as,es),u&&t(u).hasClass(k))?this._isSliding=!1:!this._triggerSlideEvent(u,h).isDefaultPrevented()&&f&&u&&(this._isSliding=!0,v&&this.pause(),this._setActiveIndicatorElement(u),c=t.Event(o.SLID,{relatedTarget:u,direction:h,from:p,to:w}),t(this._element).hasClass(ss)?(t(u).addClass(s),i.reflow(u),t(f).addClass(e),t(u).addClass(e),l=parseInt(u.getAttribute("data-interval"),10),this._config.interval=l?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,l):this._config.defaultInterval||this._config.interval,y=i.getTransitionDurationFromElement(f),t(f).one(i.TRANSITION_END,function(){t(u).removeClass(e+" "+s).addClass(k);t(f).removeClass(k+" "+s+" "+e);a._isSliding=!1;setTimeout(function(){return t(a._element).trigger(c)},0)}).emulateTransitionEnd(y)):(t(f).removeClass(k),t(u).addClass(k),this._isSliding=!1,t(this._element).trigger(c)),v&&this.cycle())},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(ri),f=u({},eu,t(this).data()),e;if("object"==typeof n&&(f=u({},f,n)),e="string"==typeof n?n:f.slide,i||(i=new r(this,f),t(this).data(ri,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 f.interval&&f.ride&&(i.pause(),i.cycle())})},r._dataApiClickHandler=function(n){var s=i.getSelectorFromElement(this),f,o,e;s&&(f=t(s)[0],f&&t(f).hasClass(os)&&(o=u({},t(f).data(),t(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),r._jQueryInterface.call(t(f),o),e&&t(f).data(ri).to(e),n.preventDefault()))},l(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return eu}}]),r}();t(document).on(o.CLICK_DATA_API,"[data-slide], [data-slide-to]",ot._dataApiClickHandler);t(window).on(o.LOAD_DATA_API,function(){for(var i,r=[].slice.call(document.querySelectorAll(ds)),n=0,u=r.length;n<u;n++)i=t(r[n]),ot._jQueryInterface.call(i,i.data())});t.fn[et]=ot._jQueryInterface;t.fn[et].Constructor=ot;t.fn[et].noConflict=function(){return t.fn[et]=rs,ot._jQueryInterface};var st="collapse",d="bs.collapse",ui="."+d,gs=t.fn[st],su={toggle:!0,parent:""},nh={toggle:"boolean",parent:"(string|element)"},fi={SHOW:"show"+ui,SHOWN:"shown"+ui,HIDE:"hide"+ui,HIDDEN:"hidden"+ui,CLICK_DATA_API:"click"+ui+".data-api"},g="show",ei="collapse",sr="collapsing",hu="collapsed",pf="width",th="height",ih=".show, .collapsing",wf='[data-toggle="collapse"]',oi=function(){function r(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(wf)),r=0,o=f.length;r<o;r++){var e=f[r],u=i.getSelectorFromElement(e),s=[].slice.call(document.querySelectorAll(u)).filter(function(t){return t===n});null!==u&&0<s.length&&(this._selector=u,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=r.prototype;return n.toggle=function(){t(this._element).hasClass(g)?this.hide():this.show()},n.show=function(){var n,e,u=this,o,f,s,h;this._isTransitioning||t(this._element).hasClass(g)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(ih)).filter(function(n){return"string"==typeof u._config.parent?n.getAttribute("data-parent")===u._config.parent:n.classList.contains(ei)})).length&&(n=null),n&&(e=t(n).not(this._selector).data(d))&&e._isTransitioning)||(o=t.Event(fi.SHOW),(t(this._element).trigger(o),o.isDefaultPrevented())||(n&&(r._jQueryInterface.call(t(n).not(this._selector),"hide"),e||t(n).data(d,null)),f=this._getDimension(),t(this._element).removeClass(ei).addClass(sr),this._element.style[f]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(hu).attr("aria-expanded",!0),this.setTransitioning(!0),s="scroll"+(f[0].toUpperCase()+f.slice(1)),h=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,function(){t(u._element).removeClass(sr).addClass(ei).addClass(g);u._element.style[f]="";u.setTransitioning(!1);t(u._element).trigger(fi.SHOWN)}).emulateTransitionEnd(h),this._element.style[f]=this._element[s]+"px"))},n.hide=function(){var s=this,u,n,f,r,e,o,h;if(!this._isTransitioning&&t(this._element).hasClass(g)&&(u=t.Event(fi.HIDE),t(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",i.reflow(this._element),t(this._element).addClass(sr).removeClass(ei).removeClass(g),f=this._triggerArray.length,0<f)for(r=0;r<f;r++)e=this._triggerArray[r],o=i.getSelectorFromElement(e),null!==o&&(t([].slice.call(document.querySelectorAll(o))).hasClass(g)||t(e).addClass(hu).attr("aria-expanded",!1));this.setTransitioning(!0);this._element.style[n]="";h=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,function(){s.setTransitioning(!1);t(s._element).removeClass(sr).addClass(ei).trigger(fi.HIDDEN)}).emulateTransitionEnd(h)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,d);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return(n=u({},su,n)).toggle=Boolean(n.toggle),i.typeCheckConfig(st,n,nh),n},n._getDimension=function(){return t(this._element).hasClass(pf)?pf:th},n._getParent=function(){var n,e=this,u,f;return i.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),u='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',f=[].slice.call(n.querySelectorAll(u)),t(f).each(function(n,t){e._addAriaAndCollapsedClass(r._getTargetFromElement(t),[t])}),n},n._addAriaAndCollapsedClass=function(n,i){var r=t(n).hasClass(g);i.length&&t(i).toggleClass(hu,!r).attr("aria-expanded",r)},r._getTargetFromElement=function(n){var t=i.getSelectorFromElement(n);return t?document.querySelector(t):null},r._jQueryInterface=function(n){return this.each(function(){var f=t(this),i=f.data(d),e=u({},su,f.data(),"object"==typeof n&&n?n:{});if(!i&&e.toggle&&/show|hide/.test(n)&&(e.toggle=!1),i||(i=new r(this,e),f.data(d,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},l(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return su}}]),r}();t(document).on(fi.CLICK_DATA_API,wf,function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var r=t(this),u=i.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));t(f).each(function(){var n=t(this),i=n.data(d)?"toggle":r.data();oi._jQueryInterface.call(n,i)})});t.fn[st]=oi._jQueryInterface;t.fn[st].Constructor=oi;t.fn[st].noConflict=function(){return t.fn[st]=gs,oi._jQueryInterface};for(var si="undefined"!=typeof window&&"undefined"!=typeof document,bf=["Edge","Trident","Firefox"],kf=0,cu=0;cu<bf.length;cu+=1)if(si&&0<=navigator.userAgent.indexOf(bf[cu])){kf=1;break}df=si&&window.Promise?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()},kf))}};au=si&&!(!window.MSInputMethodContext||!document.documentMode);vu=si&&/MSIE 10/.test(navigator.userAgent);var rh=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}}(),at=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},h=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};le=si&&/Firefox/i.test(navigator.userAgent);nf=["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"];lr=nf.slice(3);var eh="flip",oh="clockwise",sh="counterclockwise";ye={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(n){var r=n.placement,c=r.split("-")[0],u=r.split("-")[1];if(u){var f=n.offsets,i=f.reference,e=f.popper,o=-1!==["bottom","top"].indexOf(c),t=o?"left":"top",s=o?"width":"height",l={start:at({},t,i[t]),end:at({},t,i[t]+i[s]-e[s])};n.offsets.popper=h({},e,l[u])}return n}},offset:{order:200,enabled:!0,fn:function(n,t){var f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0],r=void 0;return r=du(+f)?[+f,0]:hh(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},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(n,t){var f=t.boundariesElement||ct(n.instance.popper),u;n.instance.reference===f&&(f=ct(f));var e=ku("transform"),r=n.instance.popper.style,o=r.top,s=r.left,c=r[e];r.top="";r.left="";r[e]="";u=bu(n.instance.popper,n.instance.reference,t.padding,f,n.positionFixed);r.top=o;r.left=s;r[e]=c;t.boundaries=u;var l=t.priority,i=n.offsets.popper,a={primary:function(n){var r=i[n];return i[n]<u[n]&&!t.escapeWithReference&&(r=Math.max(i[n],u[n])),at({},n,r)},secondary:function(n){var r="right"===n?"left":"top",f=i[r];return i[n]>u[n]&&!t.escapeWithReference&&(f=Math.min(i[r],u[n]-("right"===n?i.width:i.height))),at({},r,f)}};return l.forEach(function(n){var t=-1!==["left","top"].indexOf(n)?"primary":"secondary";i=h({},i,a[t](n))}),n.offsets.popper=i,n},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=Math.floor,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,t){var h,r;if(!ae(n.instance.modifiers,"arrow","keepTogether"))return n;if(r=t.element,"string"==typeof r){if(!(r=n.instance.popper.querySelector(r)))return n}else if(!n.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var w=n.placement.split("-")[0],v=n.offsets,e=v.popper,u=v.reference,o=-1!==["left","right"].indexOf(w),c=o?"height":"width",l=o?"Top":"Left",i=l.toLowerCase(),b=o?"left":"top",s=o?"bottom":"right",f=ee(r)[c];u[s]-f<e[i]&&(n.offsets.popper[i]-=e[i]-(u[s]-f));u[i]+f>e[s]&&(n.offsets.popper[i]+=u[i]+f-e[s]);n.offsets.popper=p(n.offsets.popper);var k=u[i]+u[c]/2-f/2,y=nt(n.instance.popper),d=parseFloat(y["margin"+l],10),g=parseFloat(y["border"+l+"Width"],10),a=k-n.offsets.popper[i]-d-g;return a=Math.max(Math.min(e[c]-f,a),0),n.arrowElement=r,n.offsets.arrow=(at(h={},i,Math.round(a)),at(h,b,""),h),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(n,t){if(he(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var f=bu(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement,n.positionFixed),i=n.placement.split("-")[0],e=cr(i),r=n.placement.split("-")[1]||"",u=[];switch(t.behavior){case eh:u=[i,e];break;case oh:u=ve(i);break;case sh:u=ve(i,!0);break;default:u=t.behavior}return u.forEach(function(o,s){if(i!==o||u.length===s+1)return n;i=n.placement.split("-")[0];e=cr(i);var y,l=n.offsets.popper,a=n.offsets.reference,c=Math.floor,p="left"===i&&c(l.right)>c(a.left)||"right"===i&&c(l.left)<c(a.right)||"top"===i&&c(l.bottom)>c(a.top)||"bottom"===i&&c(l.top)<c(a.bottom),w=c(l.left)<c(f.left),b=c(l.right)>c(f.right),k=c(l.top)<c(f.top),d=c(l.bottom)>c(f.bottom),g="left"===i&&w||"right"===i&&b||"top"===i&&k||"bottom"===i&&d,v=-1!==["top","bottom"].indexOf(i),nt=!!t.flipVariations&&(v&&"start"===r&&w||v&&"end"===r&&b||!v&&"start"===r&&k||!v&&"end"===r&&d);(p||g||nt)&&(n.flipped=!0,(p||g)&&(i=u[s+1]),nt&&(r="end"===(y=r)?"start":"start"===y?"end":y),n.placement=i+(r?"-"+r:""),n.offsets.popper=h({},n.offsets.popper,oe(n.instance.popper,n.offsets.reference,n.placement)),n=se(n.instance.modifiers,n,"flip"))}),n},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(n){var r=n.placement,t=r.split("-")[0],u=n.offsets,i=u.popper,e=u.reference,f=-1!==["left","right"].indexOf(t),o=-1===["top","left"].indexOf(t);return i[f?"left":"top"]=e[t]-(o?i[f?"width":"height"]:0),n.placement=cr(r),n.offsets.popper=p(i),n}},hide:{order:800,enabled:!0,fn:function(n){if(!ae(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=ci(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(n,t){var ht=t.x,lt=t.y,at=n.offsets.popper,a=ci(n.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,et,ot,st;void 0!==a&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var c,l,v,r,nt,f,tt,y,p,w,it,b,rt,k,vt=void 0!==a?a:t.gpuAcceleration,e=ct(n.instance.popper),ut=pu(e),i={position:at.position},u=(c=n,l=window.devicePixelRatio<2||!le,v=c.offsets,r=v.popper,nt=v.reference,f=Math.round,tt=Math.floor,y=function(n){return n},p=f(nt.width),w=f(r.width),it=-1!==["left","right"].indexOf(c.placement),b=-1!==c.placement.indexOf("-"),k=l?f:y,{left:(rt=l?it||b||p%2==w%2?f:tt:y)(p%2==1&&w%2==1&&!b&&l?r.left-1:r.left),top:k(r.top),bottom:k(r.bottom),right:rt(r.right)}),o="bottom"===ht?"top":"bottom",s="right"===lt?"left":"right",ft=ku("transform"),d=void 0,g=void 0;return(g="bottom"===o?"HTML"===e.nodeName?-e.clientHeight+u.bottom:-ut.height+u.bottom:u.top,d="right"===s?"HTML"===e.nodeName?-e.clientWidth+u.right:-ut.width+u.right:u.left,vt&&ft)?(i[ft]="translate3d("+d+"px, "+g+"px, 0)",i[o]=0,i[s]=0,i.willChange="transform"):(et="bottom"===o?-1:1,ot="right"===s?-1:1,i[o]=g*et,i[s]=d*ot,i.willChange=o+", "+s),st={"x-placement":n.placement},n.attributes=h({},st,n.attributes),n.styles=h({},i,n.styles),n.arrowStyles=h({},n.offsets.arrow,n.arrowStyles),n},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){var i,t;return gu(n.instance.popper,n.styles),i=n.instance.popper,t=n.attributes,Object.keys(t).forEach(function(n){!1!==t[n]?i.setAttribute(n,t[n]):i.removeAttribute(n)}),n.arrowElement&&Object.keys(n.arrowStyles).length&&gu(n.arrowElement,n.arrowStyles),n},onLoad:function(n,t,i,r,u){var f=fe(u,t,n,i.positionFixed),e=ue(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),gu(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}};w=function(){function n(t,i){var r=this,u=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},f;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.scheduleUpdate=function(){return requestAnimationFrame(r.update)};this.update=df(this.update.bind(this));this.options=h({},n.Defaults,u);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=t&&t.jquery?t[0]:t;this.popper=i&&i.jquery?i[0]:i;this.options.modifiers={};Object.keys(h({},n.Defaults.modifiers,u.modifiers)).forEach(function(t){r.options.modifiers[t]=h({},n.Defaults.modifiers[t]||{},u.modifiers?u.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(n){return h({name:n},r.options.modifiers[n])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&gf(n.onLoad)&&n.onLoad(r.reference,r.popper,r.options,n,r.state)});this.update();f=this.options.eventsEnabled;f&&this.enableEventListeners();this.state.eventsEnabled=f}return rh(n,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=fe(this.state,this.popper,this.reference,this.options.positionFixed);n.placement=ue(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=oe(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute";n=se(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,he(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[ku("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=uh(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return fh.call(this)}}]),n}();w.Utils=("undefined"!=typeof window?window:global).PopperUtils;w.placements=nf;w.Defaults=ye;var vt="dropdown",li="bs.dropdown",y="."+li,tf=".data-api",ch=t.fn[vt],lh=new RegExp("38|40|27"),f={HIDE:"hide"+y,HIDDEN:"hidden"+y,SHOW:"show"+y,SHOWN:"shown"+y,CLICK:"click"+y,CLICK_DATA_API:"click"+y+tf,KEYDOWN_DATA_API:"keydown"+y+tf,KEYUP_DATA_API:"keyup"+y+tf},ar="disabled",s="show",ah="dropup",vh="dropright",yh="dropleft",pe="dropdown-menu-right",ph="position-static",vr='[data-toggle="dropdown"]',rf=".dropdown-menu",wh=".navbar-nav",bh=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",kh="top-start",dh="top-end",gh="bottom-start",nc="bottom-end",tc="right-start",ic="left-start",rc={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},uc={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},b=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 r=n.prototype;return r.toggle=function(){var r,h,e,o,u;if(!this._element.disabled&&!t(this._element).hasClass(ar)&&(r=n._getParentFromElement(this._element),h=t(this._menu).hasClass(s),(n._clearMenus(),!h)&&(e={relatedTarget:this._element},o=t.Event(f.SHOW,e),t(r).trigger(o),!o.isDefaultPrevented()))){if(!this._inNavbar){if("undefined"==typeof w)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");u=this._element;"parent"===this._config.reference?u=r:i.isElement(this._config.reference)&&(u=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(u=this._config.reference[0]));"scrollParent"!==this._config.boundary&&t(r).addClass(ph);this._popper=new w(u,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(r).closest(wh).length&&t(document.body).children().on("mouseover",null,t.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);t(this._menu).toggleClass(s);t(r).toggleClass(s).trigger(t.Event(f.SHOWN,e))}},r.show=function(){if(!(this._element.disabled||t(this._element).hasClass(ar)||t(this._menu).hasClass(s))){var i={relatedTarget:this._element},r=t.Event(f.SHOW,i),u=n._getParentFromElement(this._element);t(u).trigger(r);r.isDefaultPrevented()||(t(this._menu).toggleClass(s),t(u).toggleClass(s).trigger(t.Event(f.SHOWN,i)))}},r.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(ar)&&t(this._menu).hasClass(s)){var i={relatedTarget:this._element},r=t.Event(f.HIDE,i),u=n._getParentFromElement(this._element);t(u).trigger(r);r.isDefaultPrevented()||(t(this._menu).toggleClass(s),t(u).toggleClass(s).trigger(t.Event(f.HIDDEN,i)))}},r.dispose=function(){t.removeData(this._element,li);t(this._element).off(y);this._element=null;(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},r.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},r._addEventListeners=function(){var n=this;t(this._element).on(f.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},r._getConfig=function(n){return n=u({},this.constructor.Default,t(this._element).data(),n),i.typeCheckConfig(vt,n,this.constructor.DefaultType),n},r._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(rf))}return this._menu},r._getPlacement=function(){var i=t(this._element.parentNode),n=gh;return i.hasClass(ah)?(n=kh,t(this._menu).hasClass(pe)&&(n=dh)):i.hasClass(vh)?n=tc:i.hasClass(yh)?n=ic:t(this._menu).hasClass(pe)&&(n=nc),n},r._detectNavbar=function(){return 0<t(this._element).closest(".navbar").length},r._getOffset=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=u({},n.offsets,t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},r._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}),n},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(li);if(r||(r=new n(this,"object"==typeof i?i:null),t(this).data(li,r)),"string"==typeof i){if("undefined"==typeof r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},n._clearMenus=function(i){var l,h;if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(var u=[].slice.call(document.querySelectorAll(vr)),r=0,a=u.length;r<a;r++){var e=n._getParentFromElement(u[r]),c=t(u[r]).data(li),o={relatedTarget:u[r]};(i&&"click"===i.type&&(o.clickEvent=i),c)&&(l=c._menu,!t(e).hasClass(s)||i&&("click"===i.type&&/input|textarea/i.test(i.target.tagName)||"keyup"===i.type&&9===i.which)&&t.contains(e,i.target)||(h=t.Event(f.HIDE,o),t(e).trigger(h),h.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),u[r].setAttribute("aria-expanded","false"),t(l).removeClass(s),t(e).removeClass(s).trigger(t.Event(f.HIDDEN,o)))))}},n._getParentFromElement=function(n){var t,r=i.getSelectorFromElement(n);return r&&(t=document.querySelector(r)),t||n.parentNode},n._dataApiKeydownHandler=function(i){var f,e,u,r,o;(/input|textarea/i.test(i.target.tagName)?32===i.which||27!==i.which&&(40!==i.which&&38!==i.which||t(i.target).closest(rf).length):!lh.test(i.which))||(i.preventDefault(),i.stopPropagation(),this.disabled||t(this).hasClass(ar))||(f=n._getParentFromElement(this),e=t(f).hasClass(s),e&&(!e||27!==i.which&&32!==i.which)?(u=[].slice.call(f.querySelectorAll(bh)),0!==u.length&&(r=u.indexOf(i.target),38===i.which&&0<r&&r--,40===i.which&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())):(27===i.which&&(o=f.querySelector(vr),t(o).trigger("focus")),t(this).trigger("click")))},l(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return rc}},{key:"DefaultType",get:function(){return uc}}]),n}();t(document).on(f.KEYDOWN_DATA_API,vr,b._dataApiKeydownHandler).on(f.KEYDOWN_DATA_API,rf,b._dataApiKeydownHandler).on(f.CLICK_DATA_API+" "+f.KEYUP_DATA_API,b._clearMenus).on(f.CLICK_DATA_API,vr,function(n){n.preventDefault();n.stopPropagation();b._jQueryInterface.call(t(this),"toggle")}).on(f.CLICK_DATA_API,".dropdown form",function(n){n.stopPropagation()});t.fn[vt]=b._jQueryInterface;t.fn[vt].Constructor=b;t.fn[vt].noConflict=function(){return t.fn[vt]=ch,b._jQueryInterface};var yt="modal",ai="bs.modal",c="."+ai,fc=t.fn[yt],uf={backdrop:!0,keyboard:!0,focus:!0,show:!0},ec={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},r={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,FOCUSIN:"focusin"+c,RESIZE:"resize"+c,CLICK_DISMISS:"click.dismiss"+c,KEYDOWN_DISMISS:"keydown.dismiss"+c,MOUSEUP_DISMISS:"mouseup.dismiss"+c,MOUSEDOWN_DISMISS:"mousedown.dismiss"+c,CLICK_DATA_API:"click"+c+".data-api"},oc="modal-dialog-scrollable",sc="modal-scrollbar-measure",hc="modal-backdrop",we="modal-open",pt="fade",yr="show",cc=".modal-dialog",lc=".modal-body",ac='[data-dismiss="modal"]',be=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ke=".sticky-top",vi=function(){function f(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(cc);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=f.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var i=this,u;this._isShown||this._isTransitioning||(t(this._element).hasClass(pt)&&(this._isTransitioning=!0),u=t.Event(r.SHOW,{relatedTarget:n}),t(this._element).trigger(u),this._isShown||u.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(r.CLICK_DISMISS,ac,function(n){return i.hide(n)}),t(this._dialog).on(r.MOUSEDOWN_DISMISS,function(){t(i._element).one(r.MOUSEUP_DISMISS,function(n){t(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return i._showElement(n)})))},n.hide=function(n){var o=this,u,f,e;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(u=t.Event(r.HIDE),(t(this._element).trigger(u),this._isShown&&!u.isDefaultPrevented())&&(this._isShown=!1,f=t(this._element).hasClass(pt),(f&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(r.FOCUSIN),t(this._element).removeClass(yr),t(this._element).off(r.CLICK_DISMISS),t(this._dialog).off(r.MOUSEDOWN_DISMISS),f)?(e=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(e)):this._hideModal()))},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return t(n).off(c)});t(document).off(r.FOCUSIN);t.removeData(this._element,ai);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=u({},uf,n),i.typeCheckConfig(yt,n,ec),n},n._showElement=function(n){var u=this,e=t(this._element).hasClass(pt),o,f,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);t(this._dialog).hasClass(oc)?this._dialog.querySelector(lc).scrollTop=0:this._element.scrollTop=0;e&&i.reflow(this._element);t(this._element).addClass(yr);this._config.focus&&this._enforceFocus();o=t.Event(r.SHOWN,{relatedTarget:n});f=function(){u._config.focus&&u._element.focus();u._isTransitioning=!1;t(u._element).trigger(o)};e?(s=i.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(i.TRANSITION_END,f).emulateTransitionEnd(s)):f()},n._enforceFocus=function(){var n=this;t(document).off(r.FOCUSIN).on(r.FOCUSIN,function(i){document!==i.target&&n._element!==i.target&&0===t(n._element).has(i.target).length&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;this._isShown&&this._config.keyboard?t(this._element).on(r.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),n.hide())}):this._isShown||t(this._element).off(r.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var n=this;this._isShown?t(window).on(r.RESIZE,function(t){return n.handleUpdate(t)}):t(window).off(r.RESIZE)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._element.removeAttribute("aria-modal");this._isTransitioning=!1;this._showBackdrop(function(){t(document.body).removeClass(we);n._resetAdjustments();n._resetScrollbar();t(n._element).trigger(r.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var u=this,f=t(this._element).hasClass(pt)?pt:"",o,e,s;if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=hc,f&&this._backdrop.classList.add(f),t(this._backdrop).appendTo(document.body),t(this._element).on(r.CLICK_DISMISS,function(n){u._ignoreBackdropClick?u._ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"===u._config.backdrop?u._element.focus():u.hide())}),f&&i.reflow(this._backdrop),t(this._backdrop).addClass(yr),!n)return;if(!f)return void n();o=i.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(i.TRANSITION_END,n).emulateTransitionEnd(o)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(yr),e=function(){u._removeBackdrop();n&&n()},t(this._element).hasClass(pt)?(s=i.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(i.TRANSITION_END,e).emulateTransitionEnd(s)):e()):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=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,i,r,u,f;this._isBodyOverflowing&&(i=[].slice.call(document.querySelectorAll(be)),r=[].slice.call(document.querySelectorAll(ke)),t(i).each(function(i,r){var u=r.style.paddingRight,f=t(r).css("padding-right");t(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),t(r).each(function(i,r){var u=r.style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=t(document.body).css("padding-right"),t(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"));t(document.body).addClass(we)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(be)),n,i;t(r).each(function(n,i){var r=t(i).data("padding-right");t(i).removeData("padding-right");i.style.paddingRight=r||""});n=[].slice.call(document.querySelectorAll(""+ke));t(n).each(function(n,i){var r=t(i).data("margin-right");"undefined"!=typeof r&&t(i).css("margin-right",r).removeData("margin-right")});i=t(document.body).data("padding-right");t(document.body).removeData("padding-right");document.body.style.paddingRight=i||""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=sc,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},f._jQueryInterface=function(n,i){return this.each(function(){var r=t(this).data(ai),e=u({},uf,t(this).data(),"object"==typeof n&&n?n:{});if(r||(r=new f(this,e),t(this).data(ai,r)),"string"==typeof n){if("undefined"==typeof r[n])throw new TypeError('No method named "'+n+'"');r[n](i)}else e.show&&r.show(i)})},l(f,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return uf}}]),f}();t(document).on(r.CLICK_DATA_API,'[data-toggle="modal"]',function(n){var f,e=this,o=i.getSelectorFromElement(this),s,h;o&&(f=document.querySelector(o));s=t(f).data(ai)?"toggle":u({},t(f).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();h=t(f).one(r.SHOW,function(n){n.isDefaultPrevented()||h.one(r.HIDDEN,function(){t(e).is(":visible")&&e.focus()})});vi._jQueryInterface.call(t(f),s,this)});t.fn[yt]=vi._jQueryInterface;t.fn[yt].Constructor=vi;t.fn[yt].noConflict=function(){return t.fn[yt]=fc,vi._jQueryInterface};var vc=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],yc=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,pc=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;var tt="tooltip",pr="bs.tooltip",a="."+pr,wc=t.fn[tt],ge="bs-tooltip",bc=new RegExp("(^|\\s)"+ge+"\\S+","g"),kc=["sanitize","whiteList","sanitizeFn"],dc={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"},gc={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},nl={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","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},yi="show",ff="out",tl={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},pi="fade",wi="show",il=".tooltip-inner",rl=".arrow",bi="hover",ef="focus",ul="click",fl="manual",it=function(){function r(n,t){if("undefined"==typeof w)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=r.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 r=this.constructor.DATA_KEY,i=t(n.currentTarget).data(r);i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(wi))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);t.removeData(this.element,this.constructor.DATA_KEY);t(this.element).off(this.constructor.EVENT_KEY);t(this.element).closest(".modal").off("hide.bs.modal");this.tip&&t(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;(this._activeTrigger=null)!==this._popper&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},n.show=function(){var n=this,u,f,h,r,e,c,o,l,s,a;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");if(u=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(u),f=i.findShadowRoot(this.element),h=t.contains(null!==f?f:this.element.ownerDocument.documentElement,this.element),u.isDefaultPrevented()||!h)return;r=this.getTipElement();e=i.getUID(this.constructor.NAME);r.setAttribute("id",e);this.element.setAttribute("aria-describedby",e);this.setContent();this.config.animation&&t(r).addClass(pi);c="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement;o=this._getAttachment(c);this.addAttachmentClass(o);l=this._getContainer();t(r).data(this.constructor.DATA_KEY,this);t.contains(this.element.ownerDocument.documentElement,this.tip)||t(r).appendTo(l);t(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new w(this.element,r,{placement:o,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:rl},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&n._handlePopperPlacementChange(t)},onUpdate:function(t){return n._handlePopperPlacementChange(t)}});t(r).addClass(wi);"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);s=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);i===ff&&n._leave(null,n)};t(this.tip).hasClass(pi)?(a=i.getTransitionDurationFromElement(this.tip),t(this.tip).one(i.TRANSITION_END,s).emulateTransitionEnd(a)):s()}},n.hide=function(n){var r=this,u=this.getTipElement(),f=t.Event(this.constructor.Event.HIDE),e=function(){r._hoverState!==yi&&u.parentNode&&u.parentNode.removeChild(u);r._cleanTipClass();r.element.removeAttribute("aria-describedby");t(r.element).trigger(r.constructor.Event.HIDDEN);null!==r._popper&&r._popper.destroy();n&&n()},o;(t(this.element).trigger(f),f.isDefaultPrevented())||((t(u).removeClass(wi),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[ul]=!1,this._activeTrigger[ef]=!1,this._activeTrigger[bi]=!1,t(this.tip).hasClass(pi))?(o=i.getTransitionDurationFromElement(u),t(u).one(i.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){t(this.getTipElement()).addClass(ge+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(t(n.querySelectorAll(il)),this.getTitle());t(n).removeClass(pi+" "+wi)},n.setElementContent=function(n,i){"object"!=typeof i||!i.nodeType&&!i.jquery?this.config.html?(this.config.sanitize&&(i=de(i,this.config.whiteList,this.config.sanitizeFn)),n.html(i)):n.text(i):this.config.html?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).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._getOffset=function(){var t=this,n={};return"function"==typeof this.config.offset?n.fn=function(n){return n.offsets=u({},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:i.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return gc[n.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==fl){var r=i===bi?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===bi?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}});t(this.element).closest(".modal").on("hide.bs.modal",function(){n.element&&n.hide()});this.config.selector?this.config=u({},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,i){var r=this.constructor.DATA_KEY;(i=i||t(n.currentTarget).data(r))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));n&&(i._activeTrigger["focusin"===n.type?ef:bi]=!0);t(i.getTipElement()).hasClass(wi)||i._hoverState===yi?i._hoverState=yi:(clearTimeout(i._timeout),i._hoverState=yi,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===yi&&i.show()},i.config.delay.show):i.show())},n._leave=function(n,i){var r=this.constructor.DATA_KEY;(i=i||t(n.currentTarget).data(r))||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));n&&(i._activeTrigger["focusout"===n.type?ef:bi]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=ff,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===ff&&i.hide()},i.config.delay.hide):i.hide())},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){var r=t(this.element).data();return Object.keys(r).forEach(function(n){-1!==kc.indexOf(n)&&delete r[n]}),"number"==typeof(n=u({},this.constructor.Default,r,"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()),i.typeCheckConfig(tt,n,this.constructor.DefaultType),n.sanitize&&(n.template=de(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 i=t(this.getTipElement()),n=i.attr("class").match(bc);null!==n&&n.length&&i.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){var t=n.instance;this.tip=t.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;null===n.getAttribute("x-placement")&&(t(n).removeClass(pi),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(pr),u="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new r(this,u),t(this).data(pr,i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},l(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return nl}},{key:"NAME",get:function(){return tt}},{key:"DATA_KEY",get:function(){return pr}},{key:"Event",get:function(){return tl}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return dc}}]),r}();t.fn[tt]=it._jQueryInterface;t.fn[tt].Constructor=it;t.fn[tt].noConflict=function(){return t.fn[tt]=wc,it._jQueryInterface};var wt="popover",wr="bs.popover",v="."+wr,el=t.fn[wt],no="bs-popover",ol=new RegExp("(^|\\s)"+no+"\\S+","g"),sl=u({},it.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>'}),hl=u({},it.DefaultType,{content:"(string|element|function)"}),cl="fade",ll="show",al=".popover-header",vl=".popover-body",yl={HIDE:"hide"+v,HIDDEN:"hidden"+v,SHOW:"show"+v,SHOWN:"shown"+v,INSERTED:"inserted"+v,CLICK:"click"+v,FOCUSIN:"focusin"+v,FOCUSOUT:"focusout"+v,MOUSEENTER:"mouseenter"+v,MOUSELEAVE:"mouseleave"+v},br=function(n){function r(){return n.apply(this,arguments)||this}var u,f,i;return f=n,(u=r).prototype=Object.create(f.prototype),(u.prototype.constructor=u).__proto__=f,i=r.prototype,i.isWithContent=function(){return this.getTitle()||this._getContent()},i.addAttachmentClass=function(n){t(this.getTipElement()).addClass(no+"-"+n)},i.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},i.setContent=function(){var i=t(this.getTipElement()),n;this.setElementContent(i.find(al),this.getTitle());n=this._getContent();"function"==typeof n&&(n=n.call(this.element));this.setElementContent(i.find(vl),n);i.removeClass(cl+" "+ll)},i._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},i._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(ol);null!==n&&0<n.length&&i.removeClass(n.join(""))},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(wr),u="object"==typeof n?n:null;if((i||!/dispose|hide/.test(n))&&(i||(i=new r(this,u),t(this).data(wr,i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},l(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return sl}},{key:"NAME",get:function(){return wt}},{key:"DATA_KEY",get:function(){return wr}},{key:"Event",get:function(){return yl}},{key:"EVENT_KEY",get:function(){return v}},{key:"DefaultType",get:function(){return hl}}]),r}(it);t.fn[wt]=br._jQueryInterface;t.fn[wt].Constructor=br;t.fn[wt].noConflict=function(){return t.fn[wt]=el,br._jQueryInterface};var rt="scrollspy",kr="bs.scrollspy",dr="."+kr,pl=t.fn[rt],to={offset:10,method:"auto",target:""},wl={offset:"number",method:"string",target:"(string|element)"},of={ACTIVATE:"activate"+dr,SCROLL:"scroll"+dr,LOAD_DATA_API:"load"+dr+".data-api"},bl="dropdown-item",ut="active",kl='[data-spy="scroll"]',io=".nav, .list-group",sf=".nav-link",dl=".nav-item",ro=".list-group-item",gl=".dropdown",na=".dropdown-item",ta=".dropdown-toggle",ia="offset",uo="position",ki=function(){function r(n,i){var r=this;this._element=n;this._scrollElement="BODY"===n.tagName?window:n;this._config=this._getConfig(i);this._selector=this._config.target+" "+sf+","+this._config.target+" "+ro+","+this._config.target+" "+na;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(of.SCROLL,function(n){return r._process(n)});this.refresh();this._process()}var n=r.prototype;return n.refresh=function(){var n=this,u=this._scrollElement===this._scrollElement.window?ia:uo,r="auto"===this._config.method?u:this._config.method,f=r===uo?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();[].slice.call(document.querySelectorAll(this._selector)).map(function(n){var u,e=i.getSelectorFromElement(n),o;return(e&&(u=document.querySelector(e)),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[t(u)[r]().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(){t.removeData(this._element,kr);t(this._scrollElement).off(dr);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=u({},to,"object"==typeof n&&n?n:{})).target){var r=t(n.target).attr("id");r||(r=i.getUID(rt),t(n.target).attr("id",r));n.target="#"+r}return i.typeCheckConfig(rt,n,wl),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(),u<=t)i=this._targets[this._targets.length-1],this._activeTarget!==i&&this._activate(i);else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[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 r=this._selector.split(",").map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'}),i=t([].slice.call(document.querySelectorAll(r.join(","))));i.hasClass(bl)?(i.closest(gl).find(ta).addClass(ut),i.addClass(ut)):(i.addClass(ut),i.parents(io).prev(sf+", "+ro).addClass(ut),i.parents(io).prev(dl).children(sf).addClass(ut));t(this._scrollElement).trigger(of.ACTIVATE,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(ut)}).forEach(function(n){return n.classList.remove(ut)})},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(kr);if(i||(i=new r(this,"object"==typeof n&&n),t(this).data(kr,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},l(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return to}}]),r}();t(window).on(of.LOAD_DATA_API,function(){for(var r,n=[].slice.call(document.querySelectorAll(kl)),i=n.length;i--;)r=t(n[i]),ki._jQueryInterface.call(r,r.data())});t.fn[rt]=ki._jQueryInterface;t.fn[rt].Constructor=ki;t.fn[rt].noConflict=function(){return t.fn[rt]=pl,ki._jQueryInterface};var gr="bs.tab",di="."+gr,ra=t.fn.tab,gi={HIDE:"hide"+di,HIDDEN:"hidden"+di,SHOW:"show"+di,SHOWN:"shown"+di,CLICK_DATA_API:"click"+di+".data-api"},ua="dropdown-menu",nr="active",fa="disabled",fo="fade",eo="show",ea=".dropdown",oa=".nav, .list-group",oo=".active",so="> li > .active",sa=".dropdown-toggle",ha="> .dropdown-menu .active",tr=function(){function n(n){this._element=n}var r=n.prototype;return r.show=function(){var h=this,u,n,r,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(nr)||t(this._element).hasClass(fa)||(r=t(this._element).closest(oa)[0],f=i.getSelectorFromElement(this._element),r&&(c="UL"===r.nodeName||"OL"===r.nodeName?so:oo,n=(n=t.makeArray(t(r).find(c)))[n.length-1]),e=t.Event(gi.HIDE,{relatedTarget:this._element}),o=t.Event(gi.SHOW,{relatedTarget:n}),(n&&t(n).trigger(e),t(this._element).trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(f&&(u=document.querySelector(f)),this._activate(this._element,r),s=function(){var i=t.Event(gi.HIDDEN,{relatedTarget:h._element}),r=t.Event(gi.SHOWN,{relatedTarget:n});t(n).trigger(i);t(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s()))},r.dispose=function(){t.removeData(this._element,gr);this._element=null},r._activate=function(n,r,u){var s=this,f=(!r||"UL"!==r.nodeName&&"OL"!==r.nodeName?t(r).children(oo):t(r).find(so))[0],h=u&&f&&t(f).hasClass(fo),e=function(){return s._transitionComplete(n,f,u)},o;f&&h?(o=i.getTransitionDurationFromElement(f),t(f).removeClass(eo).one(i.TRANSITION_END,e).emulateTransitionEnd(o)):e()},r._transitionComplete=function(n,r,u){var f,e,o;r&&(t(r).removeClass(nr),f=t(r.parentNode).find(ha)[0],f&&t(f).removeClass(nr),"tab"===r.getAttribute("role")&&r.setAttribute("aria-selected",!1));(t(n).addClass(nr),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),i.reflow(n),n.classList.contains(fo)&&n.classList.add(eo),n.parentNode&&t(n.parentNode).hasClass(ua))&&(e=t(n).closest(ea)[0],e&&(o=[].slice.call(e.querySelectorAll(sa)),t(o).addClass(nr)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(gr);if(r||(r=new n(this),u.data(gr,r)),"string"==typeof i){if("undefined"==typeof r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},l(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();t(document).on(gi.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(n){n.preventDefault();tr._jQueryInterface.call(t(this),"show")});t.fn.tab=tr._jQueryInterface;t.fn.tab.Constructor=tr;t.fn.tab.noConflict=function(){return t.fn.tab=ra,tr._jQueryInterface};var bt="toast",nu="bs.toast",ir="."+nu,ca=t.fn[bt],kt={CLICK_DISMISS:"click.dismiss"+ir,HIDE:"hide"+ir,HIDDEN:"hidden"+ir,SHOW:"show"+ir,SHOWN:"shown"+ir},la="fade",ho="hide",rr="show",co="showing",aa={animation:"boolean",autohide:"boolean",delay:"number"},lo={animation:!0,autohide:!0,delay:500},va='[data-dismiss="toast"]',tu=function(){function r(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=r.prototype;return n.show=function(){var n=this,r,u;t(this._element).trigger(kt.SHOW);this._config.animation&&this._element.classList.add(la);r=function(){n._element.classList.remove(co);n._element.classList.add(rr);t(n._element).trigger(kt.SHOWN);n._config.autohide&&n.hide()};(this._element.classList.remove(ho),this._element.classList.add(co),this._config.animation)?(u=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,r).emulateTransitionEnd(u)):r()},n.hide=function(n){var i=this;this._element.classList.contains(rr)&&(t(this._element).trigger(kt.HIDE),n?this._close():this._timeout=setTimeout(function(){i._close()},this._config.delay))},n.dispose=function(){clearTimeout(this._timeout);this._timeout=null;this._element.classList.contains(rr)&&this._element.classList.remove(rr);t(this._element).off(kt.CLICK_DISMISS);t.removeData(this._element,nu);this._element=null;this._config=null},n._getConfig=function(n){return n=u({},lo,t(this._element).data(),"object"==typeof n&&n?n:{}),i.typeCheckConfig(bt,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on(kt.CLICK_DISMISS,va,function(){return n.hide(!0)})},n._close=function(){var n=this,r=function(){n._element.classList.add(ho);t(n._element).trigger(kt.HIDDEN)},u;(this._element.classList.remove(rr),this._config.animation)?(u=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,r).emulateTransitionEnd(u)):r()},r._jQueryInterface=function(n){return this.each(function(){var u=t(this),i=u.data(nu);if(i||(i=new r(this,"object"==typeof n&&n),u.data(nu,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n](this)}})},l(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return aa}},{key:"Default",get:function(){return lo}}]),r}();t.fn[bt]=tu._jQueryInterface;t.fn[bt].Constructor=tu;t.fn[bt].noConflict=function(){return t.fn[bt]=ca,tu._jQueryInterface},function(){if("undefined"==typeof t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1===n[0]&&9===n[1]&&n[2]<1||4<=n[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}();n.Util=i;n.Alert=ft;n.Button=ii;n.Carousel=ot;n.Collapse=oi;n.Dropdown=b;n.Modal=vi;n.Popover=br;n.Scrollspy=ki;n.Tab=tr;n.Toast=tu;n.Tooltip=it;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);!function(n){if(n.document){var t=n.document;t.querySelectorAll||(t.querySelectorAll=function(i){var u,r=t.createElement("style"),f=[];for(t.documentElement.firstChild.appendChild(r),t._qsa=[],r.styleSheet.cssText=i+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",n.scrollBy(0,0),r.parentNode.removeChild(r);t._qsa.length;)u=t._qsa.shift(),u.style.removeAttribute("x-qsa"),f.push(u);return t._qsa=null,f});t.querySelector||(t.querySelector=function(n){var i=t.querySelectorAll(n);return i.length?i[0]:null});t.getElementsByClassName||(t.getElementsByClassName=function(n){return n=String(n).replace(/^|\s+/g,"."),t.querySelectorAll(n)});Object.keys||(Object.keys=function(n){if(n!==Object(n))throw TypeError("Object.keys called on non-object");var t,i=[];for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&i.push(t);return i});Array.prototype.forEach||(Array.prototype.forEach=function(n){var i,r,t,u;if(void 0===this||null===this)throw TypeError();if(i=Object(this),r=i.length>>>0,"function"!=typeof n)throw TypeError();for(u=arguments[1],t=0;t<r;t++)t in i&&n.call(u,i[t],t,i)}),function(n){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.atob=n.atob||function(n){n=String(n);var e,f=0,r=[],i=0,u=0;if(n=n.replace(/\s/g,""),n.length%4==0&&(n=n.replace(/=+$/,"")),n.length%4==1)throw Error("InvalidCharacterError");if(/[^+\/0-9A-Za-z]/.test(n))throw Error("InvalidCharacterError");for(;f<n.length;)e=t.indexOf(n.charAt(f)),i=i<<6|e,u+=6,24===u&&(r.push(String.fromCharCode(i>>16&255)),r.push(String.fromCharCode(i>>8&255)),r.push(String.fromCharCode(255&i)),u=0,i=0),f+=1;return 12===u?(i>>=4,r.push(String.fromCharCode(255&i))):18===u&&(i>>=2,r.push(String.fromCharCode(i>>8&255)),r.push(String.fromCharCode(255&i))),r.join("")};n.btoa=n.btoa||function(n){n=String(n);var u,f,e,s,h,o,r,i=0,c=[];if(/[^\x00-\xFF]/.test(n))throw Error("InvalidCharacterError");for(;i<n.length;)u=n.charCodeAt(i++),f=n.charCodeAt(i++),e=n.charCodeAt(i++),s=u>>2,h=(3&u)<<4|f>>4,o=(15&f)<<2|e>>6,r=63&e,i===n.length+2?(o=64,r=64):i===n.length+1&&(r=64),c.push(t.charAt(s),t.charAt(h),t.charAt(o),t.charAt(r));return c.join("")}}(n);Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(n){var t=this.__proto__||this.constructor.prototype;return n in this&&(!(n in t)||t[n]!==this[n])}),function(){if("performance"in n==!1&&(n.performance={}),Date.now=Date.now||function(){return(new Date).getTime()},"now"in n.performance==!1){var t=Date.now();performance.timing&&performance.timing.navigationStart&&(t=performance.timing.navigationStart);n.performance.now=function(){return Date.now()-t}}}();n.requestAnimationFrame||(n.webkitRequestAnimationFrame&&n.webkitCancelAnimationFrame?!function(n){n.requestAnimationFrame=function(t){return webkitRequestAnimationFrame(function(){t(n.performance.now())})};n.cancelAnimationFrame=n.webkitCancelAnimationFrame}(n):n.mozRequestAnimationFrame&&n.mozCancelAnimationFrame?!function(n){n.requestAnimationFrame=function(t){return mozRequestAnimationFrame(function(){t(n.performance.now())})};n.cancelAnimationFrame=n.mozCancelAnimationFrame}(n):!function(n){n.requestAnimationFrame=function(t){return n.setTimeout(t,1e3/60)};n.cancelAnimationFrame=n.clearTimeout}(n))}}(this),function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Holder=t():n.Holder=t()}(this,function(){return function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={exports:{},id:r,loaded:!1};return n[r].call(u.exports,u,u.exports,t),u.loaded=!0,u.exports}var i={};return t.m=n,t.c=i,t.p="",t(0)}([function(n,t,i){n.exports=i(1)},function(n,t,i){(function(t){function e(n,t,i,r){var u=p(i.substr(i.lastIndexOf(n.domain)),n);u&&w({mode:null,el:r,flags:u,engineSettings:t})}function p(n,t){var i={theme:o(r.settings.themes.gray,null),stylesheets:t.stylesheets,instanceOptions:t},l=n.indexOf("?"),e=[n],v,a,s,u,h,c,y;return(l!==-1&&(e=[n.slice(0,l),n.slice(l+1)]),v=e[0].split("/"),i.holderURL=n,a=v[1],s=a.match(/([\d]+p?)x([\d]+p?)/),!s)?!1:((i.fluid=a.indexOf("p")!==-1,i.dimensions={width:s[1].replace("p","%"),height:s[2].replace("p","%")},2===e.length)&&(u=et.parse(e[1]),f.truthy(u.ratio)&&(i.fluid=!0,h=parseFloat(i.dimensions.width.replace("%","")),c=parseFloat(i.dimensions.height.replace("%","")),c=Math.floor(100*(c/h)),h=100,i.dimensions.width=h+"%",i.dimensions.height=c+"%"),(i.auto=f.truthy(u.auto),u.bg&&(i.theme.bg=f.parseColor(u.bg)),u.fg&&(i.theme.fg=f.parseColor(u.fg)),u.bg&&!u.fg&&(i.autoFg=!0),u.theme&&i.instanceOptions.themes.hasOwnProperty(u.theme)&&(i.theme=o(i.instanceOptions.themes[u.theme],null)),u.text&&(i.text=u.text),u.textmode&&(i.textmode=u.textmode),u.size&&(i.size=u.size),u.font&&(i.font=u.font),u.align&&(i.align=u.align),u.lineWrap&&(i.lineWrap=u.lineWrap),i.nowrap=f.truthy(u.nowrap),i.outline=f.truthy(u.outline),f.truthy(u.random))&&(r.vars.cache.themeKeys=r.vars.cache.themeKeys||Object.keys(i.instanceOptions.themes),y=r.vars.cache.themeKeys[0|Math.random()*r.vars.cache.themeKeys.length],i.theme=o(i.instanceOptions.themes[y],null))),i)}function w(n){var a=n.mode,t=n.el,i=n.flags,tt=n.engineSettings,c=i.dimensions,e=i.theme,p=c.width+"x"+c.height,g,nt,v,y,w,b,h,k,d;if(a=null==a?i.fluid?"fluid":"image":a,g=/holder_([a-z]+)/g,nt=!1,null!=i.text&&(e.text=i.text,"object"===t.nodeName.toLowerCase())){for(v=e.text.split("\\n"),y=0;y<v.length;y++)v[y]=f.encodeHtmlEntity(v[y]);e.text=v.join("\\n")}e.text&&(w=e.text.match(g),null!==w&&w.forEach(function(n){"holder_dimensions"===n&&(e.text=e.text.replace(n,p))}));b=i.holderURL;h=o(tt,null);(i.font&&(e.font=i.font,!h.noFontFallback&&"img"===t.nodeName.toLowerCase()&&r.setup.supportsCanvas&&"svg"===h.renderer&&(h=o(h,{renderer:"canvas"}))),i.font&&"canvas"==h.renderer&&(h.reRender=!0),"background"==a)?null==t.getAttribute("data-background-src")&&u.setAttr(t,{"data-background-src":b}):(k={},k[r.vars.dataAttr]=b,u.setAttr(t,k));i.theme=e;t.holderData={flags:i,engineSettings:h};"image"!=a&&"fluid"!=a||u.setAttr(t,{alt:e.text?nt?e.text:e.text+" ["+p+"]":p});d={mode:a,el:t,holderSettings:{dimensions:c,theme:e,flags:i},engineSettings:h};"image"==a?(i.auto||(t.style.width=c.width+"px",t.style.height=c.height+"px"),"html"==h.renderer?t.style.backgroundColor=e.bg:(l(d),"exact"==i.textmode&&(t.holderData.resizeUpdate=!0,r.vars.resizableImages.push(t),s(t)))):"background"==a&&"html"!=h.renderer?l(d):"fluid"==a&&(t.holderData.resizeUpdate=!0,"%"==c.height.slice(-1)?t.style.height=c.height:null!=i.auto&&i.auto||(t.style.height=c.height+"px"),"%"==c.width.slice(-1)?t.style.width=c.width:null!=i.auto&&i.auto||(t.style.width=c.width+"px"),"inline"!=t.style.display&&""!==t.style.display&&"none"!=t.style.display||(t.style.display="block"),rt(t),"html"==h.renderer?t.style.backgroundColor=e.bg:(r.vars.resizableImages.push(t),s(t)))}function l(n){function c(){var t=null;switch(e.renderer){case"canvas":t=ct(h,n);break;case"svg":t=ht(h,n);break;default:throw"Holder: invalid renderer: "+e.renderer;}return t}var f=null,l=n.mode,i=n.el,o=n.holderSettings,e=n.engineSettings,s,h;switch(e.renderer){case"svg":if(!r.setup.supportsSVG)return;break;case"canvas":if(!r.setup.supportsCanvas)return;break;default:return}if(s={width:o.dimensions.width,height:o.dimensions.height,theme:o.theme,flags:o.flags},h=tt(s),f=c(),null==f)throw"Holder: couldn't render placeholder";"background"==l?(i.style.backgroundImage="url("+f+")",e.noBackgroundSize||(i.style.backgroundSize=s.width+"px "+s.height+"px")):("img"===i.nodeName.toLowerCase()?u.setAttr(i,{src:f}):"object"===i.nodeName.toLowerCase()&&u.setAttr(i,{data:f,type:"image/svg+xml"}),e.reRender&&t.setTimeout(function(){var n=c();if(null==n)throw"Holder: couldn't render placeholder";"img"===i.nodeName.toLowerCase()?u.setAttr(i,{src:n}):"object"===i.nodeName.toLowerCase()&&u.setAttr(i,{data:n,type:"image/svg+xml"})},150));u.setAttr(i,{"data-holder-rendered":!0})}function tt(n){function g(n,t,i,r){t.width=i;t.height=r;n.width=Math.max(n.width,t.width);n.height+=t.height}var w=r.defaults.size,a,b,t,u,e,i,p,v,d;switch(parseFloat(n.theme.size)?w=n.theme.size:parseFloat(n.flags.size)&&(w=n.flags.size),n.font={family:n.theme.font?n.theme.font:"Arial, Helvetica, Open Sans, sans-serif",size:it(n.width,n.height,w,r.defaults.scale),units:n.theme.units?n.theme.units:r.defaults.units,weight:n.theme.fontweight?n.theme.fontweight:"bold"},n.text=n.theme.text||Math.floor(n.width)+"x"+Math.floor(n.height),n.noWrap=n.theme.nowrap||n.flags.nowrap,n.align=n.theme.align||n.flags.align||"center",n.flags.textmode){case"literal":n.text=n.flags.dimensions.width+"x"+n.flags.dimensions.height;break;case"exact":if(!n.flags.exactDimensions)break;n.text=Math.floor(n.flags.exactDimensions.width)+"x"+Math.floor(n.flags.exactDimensions.height)}var nt=n.flags.lineWrap||r.setup.lineWrapRatio,s=n.width*nt,tt=s,c=new ot({width:n.width,height:n.height}),f=c.Shape,l=new f.Rect("holderBg",{fill:n.theme.bg});if((l.resize(n.width,n.height),c.root.add(l),n.flags.outline)&&(a=new h(l.properties.fill),a=a.lighten(a.lighterThan("7f7f7f")?-.1:.1),l.properties.outline={fill:a.toHex(!0),width:2}),b=n.theme.fg,n.flags.autoFg){var rt=new h(l.properties.fill),ft=new h("fff"),et=new h("000",{alpha:.285714});b=rt.blendAlpha(rt.lighterThan("7f7f7f")?et:ft).toHex(!0)}if(t=new f.Group("holderTextGroup",{text:n.text,align:n.align,font:n.font,fill:b}),t.moveTo(null,null,1),c.root.add(t),u=t.textPositionData=lt(c),!u)throw"Holder: staging fallback not supported yet.";if(t.properties.leading=u.boundingBox.height,e=null,i=null,u.lineCount>1){var y,o=0,ut=0,k=0;for(i=new f.Group("line"+k),"left"!==n.align&&"right"!==n.align||(tt=n.width*(1-2*(1-nt))),p=0;p<u.words.length;p++)v=u.words[p],e=new f.Text(v.text),d="\\n"==v.text,!n.noWrap&&(o+v.width>=tt||d===!0)&&(g(t,i,o,t.properties.leading),t.add(i),o=0,ut+=t.properties.leading,k+=1,i=new f.Group("line"+k),i.y=ut),d!==!0&&(e.moveTo(o,0),o+=u.spaceWidth+v.width,i.add(e));if(g(t,i,o,t.properties.leading),t.add(i),"left"===n.align)t.moveTo(n.width-s,null,null);else if("right"===n.align){for(y in t.children)i=t.children[y],i.moveTo(n.width-i.width,null,null);t.moveTo(0-(n.width-s),null,null)}else{for(y in t.children)i=t.children[y],i.moveTo((t.width-i.width)/2,null,null);t.moveTo((n.width-t.width)/2,null,null)}t.moveTo(null,(n.height-t.height)/2,null);(n.height-t.height)/2<0&&t.moveTo(null,0,null)}else e=new f.Text(n.text),i=new f.Group("line0"),i.add(e),t.add(i),"left"===n.align?t.moveTo(n.width-s,null,null):"right"===n.align?t.moveTo(0-(n.width-s),null,null):t.moveTo((n.width-u.boundingBox.width)/2,null,null),t.moveTo(null,(n.height-u.boundingBox.height)/2,null);return c}function it(n,t,i,r){var u=parseInt(n,10),f=parseInt(t,10),e=Math.max(u,f),o=Math.min(u,f),s=.8*Math.min(o,e*r);return Math.round(Math.max(i,s))}function s(n){var o,f,h,t,i,u,e,s;for(o=null==n||null==n.nodeType?r.vars.resizableImages:[n],f=0,h=o.length;f<h;f++)if(t=o[f],t.holderData)if(i=t.holderData.flags,u=v(t),u){if(!t.holderData.resizeUpdate)continue;if(i.fluid&&i.auto){e=t.holderData.fluidConfig;switch(e.mode){case"width":u.height=u.width/e.ratio;break;case"height":u.width=u.height*e.ratio}}s={mode:"image",holderSettings:{dimensions:u,theme:i.theme,flags:i},el:t,engineSettings:t.holderData.engineSettings};"exact"==i.textmode&&(i.exactDimensions=u,s.holderSettings.dimensions=i.dimensions);l(s)}else k(t)}function rt(n){var r,i,t;n.holderData&&(r=v(n),r?(i=n.holderData.flags,t={fluidHeight:"%"==i.dimensions.height.slice(-1),fluidWidth:"%"==i.dimensions.width.slice(-1),mode:null,initialDimensions:r},t.fluidWidth&&!t.fluidHeight?(t.mode="width",t.ratio=t.initialDimensions.width/parseFloat(i.dimensions.height)):!t.fluidWidth&&t.fluidHeight&&(t.mode="height",t.ratio=parseFloat(i.dimensions.width)/t.initialDimensions.height),n.holderData.fluidConfig=t):k(n))}function b(){var n,i=[],u=Object.keys(r.vars.invisibleImages);u.forEach(function(t){n=r.vars.invisibleImages[t];v(n)&&"img"==n.nodeName.toLowerCase()&&(i.push(n),delete r.vars.invisibleImages[t])});i.length&&c.run({images:i});setTimeout(function(){t.requestAnimationFrame(b)},10)}function ut(){r.vars.visibilityCheckStarted||(t.requestAnimationFrame(b),r.vars.visibilityCheckStarted=!0)}function k(n){n.holderData.invisibleId||(r.vars.invisibleId+=1,r.vars.invisibleImages["i"+r.vars.invisibleId]=n,n.holderData.invisibleId=r.vars.invisibleId)}function ft(n){r.vars.debounceTimer||n.call(this);r.vars.debounceTimer&&t.clearTimeout(r.vars.debounceTimer);r.vars.debounceTimer=t.setTimeout(function(){r.vars.debounceTimer=null;n.call(this)},r.setup.debounce)}function a(){ft(function(){s(null)})}var d=i(2),et=i(3),ot=i(6),f=i(7),st=i(8),u=i(9),h=i(10),g=i(11),ht=i(12),ct=i(15),o=f.extend,v=f.dimensionCheck,nt=g.svg_ns,c={version:g.version,addTheme:function(n,t){return null!=n&&null!=t&&(r.settings.themes[n]=t),delete r.vars.cache.themeKeys,this},addImage:function(n,t){var i=u.getNodeArray(t);return i.forEach(function(t){var i=u.newEl("img"),f={};f[r.setup.dataAttr]=n;u.setAttr(i,f);t.appendChild(i)}),this},setResizeUpdate:function(n,t){n.holderData&&(n.holderData.resizeUpdate=!!t,n.holderData.resizeUpdate&&s(n))},run:function(n){var s,i;n=n||{};s={};i=o(r.settings,n);r.vars.preempted=!0;r.vars.dataAttr=i.dataAttr||r.setup.dataAttr;s.renderer=i.renderer?i.renderer:r.setup.renderer;r.setup.renderers.join(",").indexOf(s.renderer)===-1&&(s.renderer=r.setup.supportsSVG?"svg":r.setup.supportsCanvas?"canvas":"html");var h=u.getNodeArray(i.images),c=u.getNodeArray(i.bgnodes),l=u.getNodeArray(i.stylenodes),a=u.getNodeArray(i.objects);return s.stylesheets=[],s.svgXMLStylesheet=!0,s.noFontFallback=!!i.noFontFallback,s.noBackgroundSize=!!i.noBackgroundSize,l.forEach(function(n){var i,t,r;n.attributes.rel&&n.attributes.href&&"stylesheet"==n.attributes.rel.value&&(i=n.attributes.href.value,t=u.newEl("a"),t.href=i,r=t.protocol+"//"+t.host+t.pathname+t.search,s.stylesheets.push(r))}),c.forEach(function(n){var e,o;if(t.getComputedStyle){var h=t.getComputedStyle(n,null).getPropertyValue("background-image"),c=n.getAttribute("data-background-src"),r=c||h,u=null,l=i.domain+"/",f=r.indexOf(l);if(0===f)u=r;else if(1===f&&"?"===r[0])u=r.slice(1);else if(e=r.substr(f).match(/([^\"]*)"?\)/),null!==e)u=e[1];else if(0===r.indexOf("url("))throw"Holder: unable to parse background URL: "+r;u&&(o=p(u,i),o&&w({mode:"background",el:n,flags:o,engineSettings:s}))}}),a.forEach(function(n){var t={},u,f;try{t.data=n.getAttribute("data");t.dataSrc=n.getAttribute(r.vars.dataAttr)}catch(o){}u=null!=t.data&&0===t.data.indexOf(i.domain);f=null!=t.dataSrc&&0===t.dataSrc.indexOf(i.domain);u?e(i,s,t.data,n):f&&e(i,s,t.dataSrc,n)}),h.forEach(function(n){var t={};try{t.src=n.getAttribute("src");t.dataSrc=n.getAttribute(r.vars.dataAttr);t.rendered=n.getAttribute("data-holder-rendered")}catch(c){}var o=null!=t.src,u=null!=t.dataSrc&&0===t.dataSrc.indexOf(i.domain),h=null!=t.rendered&&"true"==t.rendered;o?0===t.src.indexOf(i.domain)?e(i,s,t.src,n):u&&(h?e(i,s,t.dataSrc,n):!function(n,t,i,r,u){f.imageExists(n,function(n){n||e(t,i,r,u)})}(t.src,i,s,t.dataSrc,n)):u&&e(i,s,t.dataSrc,n)}),this}},r={settings:{domain:"holder.js",images:"img",objects:"object",bgnodes:"body .holderjs",stylenodes:"head link.holderjs",themes:{gray:{bg:"#EEEEEE",fg:"#AAAAAA"},social:{bg:"#3a5a97",fg:"#FFFFFF"},industrial:{bg:"#434A52",fg:"#C2F200"},sky:{bg:"#0D8FDB",fg:"#FFFFFF"},vine:{bg:"#39DBAC",fg:"#1E292C"},lava:{bg:"#F8591A",fg:"#1C2846"}}},defaults:{size:10,units:"pt",scale:1/16}},lt=function(){var n=null,t=null,i=null;return function(e){var c=e.root,l,y,p,o,s,k;if(r.setup.supportsSVG){l=!1;y=function(n){return document.createTextNode(n)};null!=n&&n.parentNode===document.body||(l=!0);n=st.initSVG(n,c.properties.width,c.properties.height);n.style.display="block";l&&(t=u.newEl("text",nt),i=y(null),u.setAttr(t,{x:0}),t.appendChild(i),n.appendChild(t),document.body.appendChild(n),n.style.visibility="hidden",n.style.position="absolute",n.style.top="-100%",n.style.left="-100%");p=c.children.holderTextGroup;o=p.properties;u.setAttr(t,{y:o.font.size,style:f.cssProps({"font-weight":o.font.weight,"font-size":o.font.size+o.font.units,"font-family":o.font.family})});i.nodeValue=o.text;var a=t.getBBox(),v=Math.ceil(a.width/c.properties.width),h=o.text.split(" "),w=o.text.match(/\\n/g);v+=null==w?0:w.length;i.nodeValue=o.text.replace(/[ ]+/g,"");var d=t.getComputedTextLength(),g=a.width-d,tt=Math.round(g/Math.max(1,h.length-1)),b=[];if(v>1)for(i.nodeValue="",s=0;s<h.length;s++)0!==h[s].length&&(i.nodeValue=f.decodeHtmlEntity(h[s]),k=t.getBBox(),b.push({text:h[s],width:k.width}));return n.style.display="none",{spaceWidth:tt,lineCount:v,boundingBox:a,words:b}}return!1}}(),y;for(y in r.flags)r.flags.hasOwnProperty(y)&&(r.flags[y].match=function(n){return n.match(this.regex)});r.setup={renderer:"html",debounce:100,ratio:1,supportsCanvas:!1,supportsSVG:!1,lineWrapRatio:.9,dataAttr:"data-src",renderers:["html","canvas","svg"]};r.vars={preempted:!1,resizableImages:[],invisibleImages:{},invisibleId:0,visibilityCheckStarted:!1,debounceTimer:null,cache:{}},function(){var n=u.newEl("canvas");n.getContext&&n.toDataURL("image/png").indexOf("data:image/png")!=-1&&(r.setup.renderer="canvas",r.setup.supportsCanvas=!0);document.createElementNS&&document.createElementNS(nt,"svg").createSVGRect&&(r.setup.renderer="svg",r.setup.supportsSVG=!0)}();ut();d&&d(function(){r.vars.preempted||c.run();t.addEventListener?(t.addEventListener("resize",a,!1),t.addEventListener("orientationchange",a,!1)):t.attachEvent("onresize",a);"object"==typeof t.Turbolinks&&t.document.addEventListener("page:change",function(){c.run()})});n.exports=c}).call(t,function(){return this}())},function(n){function t(n){function e(n){if(!f){if(!t.body)return u(e);for(f=!0;n=nt.shift();)u(n)}}function i(n){(l||n.type===o||t[p]===y)&&(a(),e())}function a(){l?(t[g](k,i,r),n[g](o,i,r)):(t[b](d,i),n[b](v,i))}function u(n,t){setTimeout(n,+t>=0?t:1)}function h(n){f?u(n):nt.push(n)}null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",function tt(){document.removeEventListener("DOMContentLoaded",tt,!1);document.readyState="complete"},!1),document.readyState="loading");var t=n.document,it=t.documentElement,o="load",r=!1,v="on"+o,y="complete",p="readyState",w="attachEvent",b="detachEvent",c="addEventListener",k="DOMContentLoaded",d="onreadystatechange",g="removeEventListener",l=c in t,s=r,f=r,nt=[];if(t[p]===y)u(e);else if(l)t[c](k,i,r),n[c](o,i,r);else{t[w](d,i);n[w](v,i);try{s=null==n.frameElement&&it}catch(ut){}s&&s.doScroll&&!function rt(){if(!f){try{s.doScroll("left")}catch(n){return u(rt,50)}a();e()}}()}return h.version="1.4.0",h.isReady=function(){return f},h}n.exports="undefined"!=typeof window&&t(window)},function(n,t,i){var r=encodeURIComponent,u=decodeURIComponent,f=i(4),e=i(5),o=/(\w+)\[(\d+)\]/,s=/\w+\.\w+/;t.parse=function(n){var t,i,r,e,c;if("string"!=typeof n)return{};if(n=f(n),""===n)return{};"?"===n.charAt(0)&&(n=n.slice(1));for(var h={},a=n.split("&"),l=0;l<a.length;l++)if(e=a[l].split("="),c=u(e[0]),t=o.exec(c))h[t[1]]=h[t[1]]||[],h[t[1]][t[2]]=u(e[1]);else if(t=s.test(c)){for(t=c.split("."),i=h;t.length;)if(r=t.shift(),r.length){if(i[r]){if(i[r]&&"object"!=typeof i[r])break}else i[r]={};t.length||(i[r]=u(e[1]));i=i[r]}}else h[e[0]]=null==e[1]?"":u(e[1]);return h};t.stringify=function(n){var u,t,f,i;if(!n)return"";u=[];for(t in n)if(f=n[t],"array"!=e(f))u.push(r(t)+"="+r(n[t]));else for(i=0;i<f.length;++i)u.push(r(t+"["+i+"]")+"="+r(f[i]));return u.join("&")}},function(n,t){function i(n){return n.replace(/^\s*|\s*$/g,"")}t=n.exports=i;t.left=function(n){return n.replace(/^\s*/,"")};t.right=function(n){return n.replace(/\s*$/,"")}},function(n){function t(n){return!(null==n||!(n._isBuffer||n.constructor&&"function"==typeof n.constructor.isBuffer&&n.constructor.isBuffer(n)))}var i=Object.prototype.toString;n.exports=function(n){switch(i.call(n)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===n?"null":void 0===n?"undefined":n!==n?"nan":n&&1===n.nodeType?"element":t(n)?"buffer":(n=n.valueOf?n.valueOf():Object.prototype.valueOf.apply(n),typeof n)}},function(n){var t=function(n){function h(n,t){for(var i in t)n[i]=t[i];return n}var r=1,i=function(n){r++;this.parent=null;this.children={};this.id=r;this.name="n"+r;"undefined"!=typeof n&&(this.name=n);this.x=this.y=this.z=0;this.width=this.height=0},u,t,f,e,o,s;return i.prototype.resize=function(n,t){null!=n&&(this.width=n);null!=t&&(this.height=t)},i.prototype.moveTo=function(n,t,i){this.x=null!=n?n:this.x;this.y=null!=t?t:this.y;this.z=null!=i?i:this.z},i.prototype.add=function(n){var t=n.name;if("undefined"!=typeof this.children[t])throw"SceneGraph: child already exists: "+t;this.children[t]=n;n.parent=this},u=function(){i.call(this,"root");this.properties=n},u.prototype=new i,t=function(n,t){if(i.call(this,n),this.properties={fill:"#000000"},"undefined"!=typeof t)h(this.properties,t);else if("undefined"!=typeof n&&"string"!=typeof n)throw"SceneGraph: invalid node name";},t.prototype=new i,f=function(){t.apply(this,arguments);this.type="group"},f.prototype=new t,e=function(){t.apply(this,arguments);this.type="rect"},e.prototype=new t,o=function(n){t.call(this);this.type="text";this.properties.text=n},o.prototype=new t,s=new u,this.Shape={Rect:e,Text:o,Group:f},this.root=s,this};n.exports=t},function(n,t){(function(n){t.extend=function(n,t){var u={},i,r;for(i in n)n.hasOwnProperty(i)&&(u[i]=n[i]);if(null!=t)for(r in t)t.hasOwnProperty(r)&&(u[r]=t[r]);return u};t.cssProps=function(n){var i=[],t;for(t in n)n.hasOwnProperty(t)&&i.push(t+":"+n[t]);return i.join(";")};t.encodeHtmlEntity=function(n){for(var i=[],r=0,t=n.length-1;t>=0;t--)r=n.charCodeAt(t),r>128?i.unshift(["&#",r,";"].join("")):i.unshift(n[t]);return i.join("")};t.imageExists=function(n,t){var i=new Image;i.onerror=function(){t.call(this,!1)};i.onload=function(){t.call(this,!0)};i.src=n};t.decodeHtmlEntity=function(n){return n.replace(/&#(\d+);/g,function(n,t){return String.fromCharCode(t)})};t.dimensionCheck=function(n){var t={height:n.clientHeight,width:n.clientWidth};return!(!t.height||!t.width)&&t};t.truthy=function(n){return"string"==typeof n?"true"===n||"yes"===n||"1"===n||"on"===n||"✓"===n:!!n};t.parseColor=function(n){var i,t=n.match(/(^(?:#?)[0-9a-f]{6}$)|(^(?:#?)[0-9a-f]{3}$)/i);return null!==t?(i=t[1]||t[2],"#"!==i[0]?"#"+i:i):(t=n.match(/^rgb\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/),null!==t?i="rgb("+t.slice(1).join(",")+")":(t=n.match(/^rgba\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0\.\d{1,}|1)\)$/),null!==t?i="rgba("+t.slice(1).join(",")+")":null))};t.canvasRatio=function(){var r=1,u=1,i,t;return n.document&&(i=n.document.createElement("canvas"),i.getContext&&(t=i.getContext("2d"),r=n.devicePixelRatio||1,u=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)),r/u}}).call(t,function(){return this}())},function(n,t,i){(function(n){var r=i(9),u="http://www.w3.org/2000/svg",f=8;t.initSVG=function(n,t,i){var s,e,h=!1,o;for(n&&n.querySelector?(e=n.querySelector("style"),null===e&&(h=!0)):(n=r.newEl("svg",u),h=!0),h&&(s=r.newEl("defs",u),e=r.newEl("style",u),r.setAttr(e,{type:"text/css"}),s.appendChild(e),n.appendChild(s)),n.webkitMatchesSelector&&n.setAttribute("xmlns",u),o=0;o<n.childNodes.length;o++)n.childNodes[o].nodeType===f&&n.removeChild(n.childNodes[o]);for(;e.childNodes.length;)e.removeChild(e.childNodes[0]);return r.setAttr(n,{width:t,height:i,viewBox:"0 0 "+t+" "+i,preserveAspectRatio:"none"}),n};t.svgStringToDataURI=function(){var t="data:image/svg+xml;charset=UTF-8,",i="data:image/svg+xml;charset=UTF-8;base64,";return function(r,u){return u?i+btoa(n.unescape(encodeURIComponent(r))):t+encodeURIComponent(r)}}();t.serializeSVG=function(t,i){var u,f,c,e;if(n.XMLSerializer){var o=new XMLSerializer,s="",h=i.stylesheets;if(i.svgXMLStylesheet){for(u=r.createXML(),f=h.length-1;f>=0;f--)c=u.createProcessingInstruction("xml-stylesheet",'href="'+h[f]+'" rel="stylesheet"'),u.insertBefore(c,u.firstChild);u.removeChild(u.documentElement);s=o.serializeToString(u)}return e=o.serializeToString(t),e=e.replace(/\&amp;(\#[0-9]{2,}\;)/g,"&$1"),s+e}}}).call(t,function(){return this}())},function(n,t){(function(n){t.newEl=function(t,i){if(n.document)return null==i?n.document.createElement(t):n.document.createElementNS(i,t)};t.setAttr=function(n,t){for(var i in t)n.setAttribute(i,t[i])};t.createXML=function(){if(n.DOMParser)return(new DOMParser).parseFromString("<xml />","application/xml")};t.getNodeArray=function(t){var i=null;return"string"==typeof t?i=document.querySelectorAll(t):n.NodeList&&t instanceof n.NodeList?i=t:n.Node&&t instanceof n.Node?i=[t]:n.HTMLCollection&&t instanceof n.HTMLCollection?i=t:t instanceof Array?i=t:null===t&&(i=[]),i=Array.prototype.slice.call(i)}}).call(t,function(){return this}())},function(n){var t=function(n,t){"string"==typeof n&&(this.original=n,"#"===n.charAt(0)&&(n=n.slice(1)),/[^a-f0-9]+/i.test(n)||(3===n.length&&(n=n.replace(/./g,"$&$&")),6===n.length&&(this.alpha=1,t&&t.alpha&&(this.alpha=t.alpha),this.set(parseInt(n,16)))))};t.rgb2hex=function(n,t,i){function r(n){var t=(0|n).toString(16);return n<16&&(t="0"+t),t}return[n,t,i].map(r).join("")};t.hsl2rgb=function(n,t,i){var r=n/60,u=(1-Math.abs(2*i-1))*t,s=u*(1-Math.abs(parseInt(r)%2-1)),h=i-u/2,f=0,e=0,o=0;return r>=0&&r<1?(f=u,e=s):r>=1&&r<2?(f=s,e=u):r>=2&&r<3?(e=u,o=s):r>=3&&r<4?(e=s,o=u):r>=4&&r<5?(f=s,o=u):r>=5&&r<6&&(f=u,o=s),f+=h,e+=h,o+=h,f=parseInt(255*f),e=parseInt(255*e),o=parseInt(255*o),[f,e,o]};t.prototype.set=function(n){this.raw=n;var t=(16711680&this.raw)>>16,i=(65280&this.raw)>>8,r=255&this.raw,u=.2126*t+.7152*i+.0722*r,f=-.09991*t-.33609*i+.436*r,e=.615*t-.55861*i-.05639*r;return this.rgb={r:t,g:i,b:r},this.yuv={y:u,u:f,v:e},this};t.prototype.lighten=function(n){var r=Math.min(1,Math.max(0,Math.abs(n)))*(n<0?-1:1),i=255*r|0,u=Math.min(255,Math.max(0,this.rgb.r+i)),f=Math.min(255,Math.max(0,this.rgb.g+i)),e=Math.min(255,Math.max(0,this.rgb.b+i)),o=t.rgb2hex(u,f,e);return new t(o)};t.prototype.toHex=function(n){return(n?"#":"")+this.raw.toString(16)};t.prototype.lighterThan=function(n){return n instanceof t||(n=new t(n)),this.yuv.y>n.yuv.y};t.prototype.blendAlpha=function(n){n instanceof t||(n=new t(n));var i=n,r=this,u=i.alpha*i.rgb.r+(1-i.alpha)*r.rgb.r,f=i.alpha*i.rgb.g+(1-i.alpha)*r.rgb.g,e=i.alpha*i.rgb.b+(1-i.alpha)*r.rgb.b;return new t(t.rgb2hex(u,f,e))};n.exports=t},function(n){n.exports={version:"2.9.4",svg_ns:"http://www.w3.org/2000/svg"}},function(n,t,i){function u(n,t){return r.element({tag:t,width:n.width,height:n.height,fill:n.properties.fill})}function f(n){return c.cssProps({fill:n.fill,"font-weight":n.font.weight,"font-family":n.font.family+", monospace","font-size":n.font.size+n.font.units})}function e(n,t,i){var r=i/2;return["M",r,r,"H",n-r,"V",t-r,"H",r,"V",0,"M",0,r,"L",n,t-r,"M",0,t-r,"L",n,r].join(" ")}var o=i(13),s=i(8),h=i(11),c=i(7),l=h.svg_ns,r={element:function(n){var t=n.tag,i=n.content||"";return delete n.tag,delete n.content,[t,i,n]}};n.exports=function(n,t){var d=t.engineSettings,g=d.stylesheets,nt=g.map(function(n){return'<?xml-stylesheet rel="stylesheet" href="'+n+'"?>'}).join("\n"),w="holder_"+Number(new Date).toString(16),i=n.root,h=i.children.holderTextGroup,tt="#"+w+" text { "+f(h.properties)+" } ",v,b,y,c,k,a;h.y+=.8*h.textPositionData.boundingBox.height;v=[];Object.keys(h.children).forEach(function(n){var t=h.children[n];Object.keys(t.children).forEach(function(n){var i=t.children[n],u=h.x+t.x+i.x,f=h.y+t.y+i.y,e=r.element({tag:"text",content:i.properties.text,x:u,y:f});v.push(e)})});b=r.element({tag:"g",content:v});y=null;i.children.holderBg.properties.outline&&(c=i.children.holderBg.properties.outline,y=r.element({tag:"path",d:e(i.children.holderBg.width,i.children.holderBg.height,c.width),"stroke-width":c.width,stroke:c.fill,fill:"none"}));k=u(i.children.holderBg,"rect");a=[];a.push(k);c&&a.push(y);a.push(b);var it=r.element({tag:"g",id:w,content:a}),rt=r.element({tag:"style",content:tt,type:"text/css"}),ut=r.element({tag:"defs",content:rt}),ft=r.element({tag:"svg",content:[ut,it],width:i.properties.width,height:i.properties.height,xmlns:l,viewBox:[0,0,i.properties.width,i.properties.height].join(" "),preserveAspectRatio:"none"}),p=o(ft);return p=nt+p[0],s.svgStringToDataURI(p,"background"===t.mode)}},function(n,t,i){i(14);n.exports=function r(n,t,i){"use strict";function c(n){var u=n.match(/^[\w-]+/),t={tag:u?u[0]:"div",attr:{},children:[]},r=n.match(/#([\w-]+)/),f=n.match(/\$([\w-]+)/),e=n.match(/\.[\w-]+/g);return r&&(t.attr.id=r[1],i[r[1]]=t),f&&(i[f[1]]=t),e&&(t.attr["class"]=e.join(" ").replace(/\./g,"")),n.match(/&$/g)&&(h=!1),t}function l(n,t){if(null!==t&&t!==!1&&void 0!==t)return"string"!=typeof t&&"object"!=typeof t?String(t):t}function a(n){return n||0===n?String(n).replace(/&/g,"&amp;").replace(/"/g,"&quot;"):""}function v(n){return String(n).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}var e,f,s,o,u=1,h=!0;if(i=i||{},"string"==typeof n[0])n[0]=c(n[0]);else{if(!Array.isArray(n[0]))throw new Error("First element of array must be a string, or an array and not "+JSON.stringify(n[0]));u=0}for(;u<n.length;u++){if(n[u]===!1||null===n[u]){n[0]=!1;break}if(void 0!==n[u]&&n[u]!==!0)if("string"==typeof n[u])h&&(n[u]=v(n[u])),n[0].children.push(n[u]);else if("number"==typeof n[u])n[0].children.push(n[u]);else if(Array.isArray(n[u])){if(Array.isArray(n[u][0])){if(n[u].reverse().forEach(function(t){n.splice(u+1,0,t)}),0!==u)continue;u++}r(n[u],t,i);n[u][0]&&n[0].children.push(n[u][0])}else if("function"==typeof n[u])s=n[u];else{if("object"!=typeof n[u])throw new TypeError('"'+n[u]+'" is not allowed as a value.');for(f in n[u])n[u].hasOwnProperty(f)&&null!==n[u][f]&&n[u][f]!==!1&&(n[0].attr[f]="style"===f&&"object"==typeof n[u][f]?JSON.stringify(n[u][f],l).slice(2,-2).replace(/","/g,";").replace(/":"/g,":").replace(/\\"/g,"'"):n[u][f])}}if(n[0]!==!1){e="<"+n[0].tag;for(o in n[0].attr)n[0].attr.hasOwnProperty(o)&&(e+=" "+o+'="'+a(n[0].attr[o])+'"');e+=">";n[0].children.forEach(function(n){e+=n});e+="<\/"+n[0].tag+">";n[0]=e}return i[0]=n[0],s&&s(n[0]),i}},function(n){"use strict";function t(n){var r=""+n,o=i.exec(r);if(!o)return r;for(var u,e="",t=0,f=0,t=o.index;t<r.length;t++){switch(r.charCodeAt(t)){case 34:u="&quot;";break;case 38:u="&amp;";break;case 39:u="&#39;";break;case 60:u="&lt;";break;case 62:u="&gt;";break;default:continue}f!==t&&(e+=r.substring(f,t));f=t+1;e+=u}return f!==t?e+r.substring(f,t):e}var i=/["'&<>]/;n.exports=t},function(n,t,i){var r=i(9),u=i(7);n.exports=function(){var t=r.newEl("canvas"),n=null;return function(i){var e,s,f,v,l,y;null==n&&(n=t.getContext("2d"));e=u.canvasRatio();s=i.root;t.width=e*s.properties.width;t.height=e*s.properties.height;n.textBaseline="middle";var o=s.children.holderBg,h=e*o.width,c=e*o.height,r=1;n.fillStyle=o.properties.fill;n.fillRect(0,0,h,c);o.properties.outline&&(n.strokeStyle=o.properties.outline.fill,n.lineWidth=o.properties.outline.width,n.moveTo(r,r),n.lineTo(h-r,r),n.lineTo(h-r,c-r),n.lineTo(r,c-r),n.lineTo(r,r),n.moveTo(0,r),n.lineTo(h,c-r),n.moveTo(0,c-r),n.lineTo(h,r),n.stroke());f=s.children.holderTextGroup;n.font=f.properties.font.weight+" "+e*f.properties.font.size+f.properties.font.units+" "+f.properties.font.family+", monospace";n.fillStyle=f.properties.fill;for(v in f.children){l=f.children[v];for(y in l.children){var a=l.children[y],p=e*(f.x+l.x+a.x),w=e*(f.y+l.y+a.y+f.properties.leading/2);n.fillText(a.properties.text,p,w)}}return t.toDataURL("image/png")}}()}])}),function(n,t){t&&(Holder=n.Holder)}(this,"undefined"!=typeof Meteor&&"undefined"!=typeof Package)