!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),
function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));
!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,a){function h(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,h){var u=a.data(h,i);if(!u)return void s(i+" not initialized. Cannot call methods, i.e. "+r);var d=u[e];if(!d||"_"==e.charAt(0))return void s(r+" is not a valid method");var l=d.apply(u,n);o=void 0===o?l:o}),void 0!==o?o:t}function u(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),a.data(n,i,o))})}a=a||e||t.jQuery,a&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=o.call(arguments,1);return h(this,t,e)}return u(this,t),this},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s="undefined"==typeof r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<i.length;o++){var r=i[o],s=n&&n[r];s&&(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=-1==t.indexOf("%")&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;u>e;e++){var i=h[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function o(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);s=200==Math.round(t(o.width)),r.isBoxSizeOuter=s,i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=n(e);if("none"==r.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==r.boxSizing,l=0;u>l;l++){var c=h[l],f=r[c],m=parseFloat(f);a[c]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,E=d&&s,b=t(r.width);b!==!1&&(a.width=b+(E?0:p+_));var x=t(r.height);return x!==!1&&(a.height=x+(E?0:g+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(g+z),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var s,a="undefined"==typeof console?e:function(t){console.error(t)},h=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=h.length,d=!1;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i],o=n+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e};var n=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))return t;if(null===t||void 0===t)return[];var e="object"==typeof t&&"number"==typeof t.length;return e?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var r=i.toDashed(n),s="data-"+r,a=document.querySelectorAll("["+s+"]"),h=document.querySelectorAll(".js-"+r),u=i.makeArray(a).concat(i.makeArray(h)),d=s+"-options",l=t.jQuery;u.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(d);try{i=r&&JSON.parse(r)}catch(a){return void(o&&o.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,i);l&&l.data(t,n,h)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var r=document.documentElement.style,s="string"==typeof r.transition?"transition":"WebkitTransition",a="string"==typeof r.transform?"transform":"WebkitTransform",h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],u={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},d=n.prototype=Object.create(t.prototype);d.constructor=n,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var n=u[i]||i;e[n]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*a.width),-1!=o.indexOf("%")&&(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var h=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",d=n?"bottom":"top",l=this.position.y+t[h];e[u]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),o&&!this.isTransitioning)return void this.layoutPosition();var r=t-i,s=e-n,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+o(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(h,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=c[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var o=e.onEnd[n];o.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(f)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(h&&h.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,u&&(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++l;this.element.outlayerGUID=o,c[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function s(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var o=m[n]||1;return i*o}var h=t.console,u=t.jQuery,d=function(){},l=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=e[o],s=new i(r,this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},f._getContainerSize=d,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s==r&&i()}var o=this,r=e.length;if(!e||!r)return void i();var s=0;e.forEach(function(e){e.once(t,n)})},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),u)if(this.$element=this.$element||u(this.element),e){var o=u.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=d,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i};var m={ms:1,s:1e3};return r.Item=o,r}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&&n.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",r=this[o](n,t),s={x:this.columnWidth*r.col,y:r.y},a=r.y+t.size.outerHeight,h=n+r.col,u=r.col;h>u;u++)this.colYs[u]=a;return s},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},n._getTopColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++)e[n]=this._getColGroupY(n,t);return e},n._getColGroupY=function(t,e){if(2>e)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,n=t>1&&i+t>this.cols;i=n?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var u=this._getOption("originTop"),d=(u?n.top:n.bottom)+i.outerHeight,l=a;h>=l;l++)this.colYs[l]=Math.max(d,this.colYs[l])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i});
!function(a){"use strict";var b=a.Masonry;b.prototype._remapV2Options=function(){this._remapOption("gutterWidth","gutter"),this._remapOption("isResizable","isResizeBound"),this._remapOption("isRTL","isOriginLeft",function(a){return!a});var a=this.options.isAnimated;if(void 0!==a&&(this.options.transitionDuration=a?this.options.transitionDuration:0),void 0===a||a){var b=this.options.animationOptions,c=b&&b.duration;c&&(this.options.transitionDuration="string"==typeof c?c:c+"ms")}},b.prototype._remapOption=function(a,b,c){var d=this.options[a];void 0!==d&&(this.options[b]=c?c(d):d)};var c=b.prototype._create;b.prototype._create=function(){var a=this;this._remapV2Options(),c.apply(this,arguments),setTimeout(function(){jQuery(a.element).addClass("masonry")},0)};var d=b.prototype.layout;b.prototype.layout=function(){this._remapV2Options(),d.apply(this,arguments)};var e=b.prototype.option;b.prototype.option=function(){e.apply(this,arguments),this._remapV2Options()};var f=b.prototype._itemize;b.prototype._itemize=function(a){var b=f.apply(this,arguments);return jQuery(a).addClass("masonry-brick"),b};var g=b.prototype.measureColumns;b.prototype.measureColumns=function(){var a=this.options.columnWidth;a&&"function"==typeof a&&(this.getContainerWidth(),this.columnWidth=a(this.containerWidth)),g.apply(this,arguments)},b.prototype.reload=function(){this.reloadItems.apply(this,arguments),this.layout.apply(this)};var h=b.prototype.destroy;b.prototype.destroy=function(){var a=this.getItemElements();jQuery(this.element).removeClass("masonry"),jQuery(a).removeClass("masonry-brick"),h.apply(this,arguments)}}(window);
!function(t, e){
"object"==typeof exports&&"undefined"!=typeof module ? e(exports, require("jquery")):"function"==typeof define&&define.amd ? define([ "exports", "jquery" ], e):e(t.bootstrap={}, t.jQuery);
}(this, function(t, p){
"use strict";
function i(t, e){
for (var n=0; n < e.length; n++){
var i=e[n];
i.enumerable=i.enumerable||!1, i.configurable = !0, "value" in i&&(i.writable = !0),
Object.defineProperty(t, i.key, i);
}}
function s(t, e, n){
return e&&i(t.prototype, e), n&&i(t, n), t;
}
function l(o){
for (var t=1; t < arguments.length; t++){
var r=null!=arguments[t] ? arguments[t]:{}, e=Object.keys(r);
"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){
return Object.getOwnPropertyDescriptor(r, t).enumerable;
}))), e.forEach(function(t){
var e, n, i;
e=o, i=r[n=t], n in e ? Object.defineProperty(e, n, {
value: i,
enumerable: !0,
configurable: !0,
writable: !0
}):e[n]=i;
});
}
return o;
}
function e(t){
var e=this, n = !1;
return p(this).one(U.TRANSITION_END, function(){
n = !0;
}), setTimeout(function(){
n||U.triggerTransitionEnd(e);
}, t), this;
}
function a(t){
return t&&"[object Function]"==={}.toString.call(t);
}
function y(t, e){
if(1!==t.nodeType) return [];
var n=t.ownerDocument.defaultView.getComputedStyle(t, null);
return e ? n[e]:n;
}
function d(t){
return "HTML"===t.nodeName ? t:t.parentNode||t.host;
}
function m(t){
if(!t) return document.body;
switch (t.nodeName){
case "HTML":
case "BODY":
return t.ownerDocument.body;
case "#document":
return t.body;
}
var e=y(t), n=e.overflow, i=e.overflowX, o=e.overflowY;
return /(auto|scroll|overlay)/.test(n + o + i) ? t:m(d(t));
}
function g(t){
return 11===t ? ee:10===t ? ne:ee||ne;
}
function L(t){
if(!t) return document.documentElement;
for (var e=g(10) ? document.body:null, n=t.offsetParent||null; n===e&&t.nextElementSibling;) n=(t=t.nextElementSibling).offsetParent;
var i=n&&n.nodeName;
return i&&"BODY"!==i&&"HTML"!==i ? -1!==[ "TH", "TD", "TABLE" ].indexOf(n.nodeName)&&"static"===y(n, "position") ? L(n):n : t ? t.ownerDocument.documentElement:document.documentElement;
}
function h(t){
return null!==t.parentNode ? h(t.parentNode):t;
}
function _(t, e){
if(!(t&&t.nodeType&&e && e.nodeType)) return document.documentElement;
var n=t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_FOLLOWING, i=n ? t:e, o=n ? e:t, r=document.createRange();
r.setStart(i, 0), r.setEnd(o, 0);
var s, a, l=r.commonAncestorContainer;
if(t!==l&&e!==l||i.contains(o)) return "BODY"===(a=(s=l).nodeName)||"HTML"!==a&&L(s.firstElementChild)!==s ? L(l):l;
var c=h(t);
return c.host ? _(c.host, e):_(t, h(e).host);
}
function v(t){
var e="top"===(1 < arguments.length&&void 0!==arguments[1] ? arguments[1]:"top") ? "scrollTop":"scrollLeft", n=t.nodeName;
if("BODY"===n||"HTML"===n){
var i=t.ownerDocument.documentElement;
return (t.ownerDocument.scrollingElement||i)[e];
}
return t[e];
}
function u(t, e){
var n="x"===e ? "Left":"Top", i="Left"===n ? "Right":"Bottom";
return parseFloat(t["border" + n + "Width"], 10) + parseFloat(t["border" + i + "Width"], 10);
}
function o(t, e, n, i){
return Math.max(e["offset" + t], e["scroll" + t], n["client" + t], n["offset" + t], n["scroll" + t], g(10) ? parseInt(n["offset" + t]) + parseInt(i["margin" + ("Height"===t ? "Top":"Left")]) + parseInt(i["margin" + ("Height"===t ? "Bottom":"Right")]):0);
}
function E(t){
var e=t.body, n=t.documentElement, i=g(10)&&getComputedStyle(n);
return {
height: o("Height", e, n, i),
width: o("Width", e, n, i)
};}
function b(t){
return se({}, t, {
right: t.left + t.width,
bottom: t.top + t.height
});
}
function k(t){
var e={};
try {
if(g(10)){
e=t.getBoundingClientRect();
var n=v(t, "top"), i=v(t, "left");
e.top +=n, e.left +=i, e.bottom +=n, e.right +=i;
} else e=t.getBoundingClientRect();
} catch (t){}
var o={
left: e.left,
top: e.top,
width: e.right - e.left,
height: e.bottom - e.top
}, r="HTML"===t.nodeName ? E(t.ownerDocument):{}, s=r.width||t.clientWidth||o.right - o.left, a=r.height||t.clientHeight||o.bottom - o.top, l=t.offsetWidth - s, c=t.offsetHeight - a;
if(l||c){
var h=y(t);
l -=u(h, "x"), c -=u(h, "y"), o.width -=l, o.height -=c;
}
return b(o);
}
function T(t, e){
var n=2 < arguments.length&&void 0!==arguments[2]&&arguments[2], i=g(10), o="HTML"===e.nodeName, r=k(t), s=k(e), a=m(t), l=y(e), c=parseFloat(l.borderTopWidth, 10), h=parseFloat(l.borderLeftWidth, 10);
n&&o && (s.top=Math.max(s.top, 0), s.left=Math.max(s.left, 0));
var u=b({
top: r.top - s.top - c,
left: r.left - s.left - h,
width: r.width,
height: r.height
});
if(u.marginTop=0, u.marginLeft=0, !i&&o){
var f=parseFloat(l.marginTop, 10), d=parseFloat(l.marginLeft, 10);
u.top -=c - f, u.bottom -=c - f, u.left -=h - d, u.right -=h - d, u.marginTop=f,
u.marginLeft=d;
}
return (i&&!n ? e.contains(a):e===a&&"BODY"!==a.nodeName)&&(u=function(t, e){
var n=2 < arguments.length&&void 0!==arguments[2]&&arguments[2], i=v(e, "top"), o=v(e, "left"), r=n ? -1:1;
return t.top +=i * r, t.bottom +=i * r, t.left +=o * r, t.right +=o * r, t;
}(u, e)), u;
}
function C(t){
if(!t||!t.parentElement||g()) return document.documentElement;
for (var e=t.parentElement; e&&"none"===y(e, "transform");) e=e.parentElement;
return e||document.documentElement;
}
function f(t, e, n, i){
var o=4 < arguments.length&&void 0!==arguments[4]&&arguments[4], r={
top: 0,
left: 0
}, s=o ? C(t):_(t, e);
if("viewport"===i) r=function(t){
var e=1 < arguments.length&&void 0!==arguments[1]&&arguments[1], n=t.ownerDocument.documentElement, i=T(t, n), o=Math.max(n.clientWidth, window.innerWidth||0), r=Math.max(n.clientHeight, window.innerHeight||0), s=e ? 0:v(n), a=e ? 0:v(n, "left");
return b({
top: s - i.top + i.marginTop,
left: a - i.left + i.marginLeft,
width: o,
height: r
});
}(s, o); else {
var a=void 0;
"scrollParent"===i ? "BODY"===(a=m(d(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i ? t.ownerDocument.documentElement:i;
var l=T(a, s, o);
if("HTML"!==a.nodeName||function t(e){
var n=e.nodeName;
return "BODY"!==n&&"HTML"!==n&&("fixed"===y(e, "position")||t(d(e)));
}(s)) r=l; else {
var c=E(t.ownerDocument), h=c.height, u=c.width;
r.top +=l.top - l.marginTop, r.bottom=h + l.top, r.left +=l.left - l.marginLeft,
r.right=u + l.left;
}}
var f="number"==typeof (n=n||0);
return r.left +=f ? n:n.left||0, r.top +=f ? n:n.top||0, r.right -=f ? n:n.right||0,
r.bottom -=f ? n:n.bottom||0, r;
}
function c(t, e, i, n, o){
var r=5 < arguments.length&&void 0!==arguments[5] ? arguments[5]:0;
if(-1===t.indexOf("auto")) return t;
var s=f(i, n, r, o), a={
top: {
width: s.width,
height: e.top - s.top
},
right: {
width: s.right - e.right,
height: s.height
},
bottom: {
width: s.width,
height: s.bottom - e.bottom
},
left: {
width: e.left - s.left,
height: s.height
}}, l=Object.keys(a).map(function(t){
return se({
key: t
}, a[t], {
area: (e=a[t], e.width * e.height)
});
var e;
}).sort(function(t, e){
return e.area - t.area;
}), c=l.filter(function(t){
var e=t.width, n=t.height;
return e >=i.clientWidth&&n >=i.clientHeight;
}), h=0 < c.length ? c[0].key:l[0].key, u=t.split("-")[1];
return h + (u ? "-" + u:"");
}
function w(t, e, n){
var i=3 < arguments.length&&void 0!==arguments[3] ? arguments[3]:null;
return T(n, i ? C(e):_(e, n), i);
}
function S(t){
var e=t.ownerDocument.defaultView.getComputedStyle(t), n=parseFloat(e.marginTop||0) + parseFloat(e.marginBottom||0), i=parseFloat(e.marginLeft||0) + parseFloat(e.marginRight||0);
return {
width: t.offsetWidth + i,
height: t.offsetHeight + n
};}
function I(t){
var e={
left: "right",
right: "left",
bottom: "top",
top: "bottom"
};
return t.replace(/left|right|bottom|top/g, function(t){
return e[t];
});
}
function D(t, e, n){
n=n.split("-")[0];
var i=S(t), o={
width: i.width,
height: i.height
}, r=-1!==[ "right", "left" ].indexOf(n), s=r ? "top":"left", a=r ? "left":"top", l=r ? "height":"width", c=r ? "width":"height";
return o[s]=e[s] + e[l] / 2 - i[l] / 2, o[a]=n===a ? e[a] - i[c]:e[I(a)],
o;
}
function P(t, e){
return Array.prototype.find ? t.find(e):t.filter(e)[0];
}
function A(t, n, e){
return (void 0===e ? t:t.slice(0, function(t, e, n){
if(Array.prototype.findIndex) return t.findIndex(function(t){
return t[e]===n;
});
var i=P(t, function(t){
return t[e]===n;
});
return t.indexOf(i);
}(t, "name", e))).forEach(function(t){
t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");
var e=t.function||t.fn;
t.enabled&&a(e)&&(n.offsets.popper=b(n.offsets.popper), n.offsets.reference=b(n.offsets.reference),
n=e(n, t));
}), n;
}
function n(t, n){
return t.some(function(t){
var e=t.name;
return t.enabled&&e===n;
});
}
function x(t){
for (var e=[ !1, "ms", "Webkit", "Moz", "O" ], n=t.charAt(0).toUpperCase() + t.slice(1), i=0; i < e.length; i++){
var o=e[i], r=o ? "" + o + n:t;
if(void 0!==document.body.style[r]) return r;
}
return null;
}
function r(t){
var e=t.ownerDocument;
return e ? e.defaultView:window;
}
function O(t, e, n, i){
n.updateBound=i, r(t).addEventListener("resize", n.updateBound, {
passive: !0
});
var o=m(t);
return function t(e, n, i, o){
var r="BODY"===e.nodeName, s=r ? e.ownerDocument.defaultView:e;
s.addEventListener(n, i, {
passive: !0
}), r||t(m(s.parentNode), n, i, o), o.push(s);
}(o, "scroll", n.updateBound, n.scrollParents), n.scrollElement=o, n.eventsEnabled = !0,
n;
}
function N(){
var t, e;
this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate), this.state=(t=this.reference,
e=this.state, r(t).removeEventListener("resize", e.updateBound), e.scrollParents.forEach(function(t){
t.removeEventListener("scroll", e.updateBound);
}), e.updateBound=null, e.scrollParents=[], e.scrollElement=null, e.eventsEnabled = !1,
e));
}
function H(t){
return ""!==t&&!isNaN(parseFloat(t))&&isFinite(t);
}
function R(n, i){
Object.keys(i).forEach(function(t){
var e="";
-1!==[ "width", "height", "top", "right", "bottom", "left" ].indexOf(t)&&H(i[t])&&(e="px"),
n.style[t]=i[t] + e;
});
}
function M(t, e, n){
var i=P(t, function(t){
return t.name===e;
}), o = !!i&&t.some(function(t){
return t.name===n&&t.enabled&&t.order < i.order;
});
if(!o){
var r="`" + e + "`", s="`" + n + "`";
console.warn(s + " modifier is required by " + r + " modifier in order to work, be sure to include it before " + r + "!");
}
return o;
}
function j(t){
var e=1 < arguments.length&&void 0!==arguments[1]&&arguments[1], n=ce.indexOf(t), i=ce.slice(n + 1).concat(ce.slice(0, n));
return e ? i.reverse():i;
}
function W(t, o, r, e){
var s=[ 0, 0 ], a=-1!==[ "right", "left" ].indexOf(e), n=t.split(/(\+|\-)/).map(function(t){
return t.trim();
}), i=n.indexOf(P(n, function(t){
return -1!==t.search(/,|\s/);
}));
n[i]&&-1===n[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");
var l=/\s*,\s*|\s+/, c=-1!==i ? [ n.slice(0, i).concat([ n[i].split(l)[0] ]), [ n[i].split(l)[1] ].concat(n.slice(i + 1)) ]:[ n ];
return (c=c.map(function(t, e){
var n=(1===e ? !a:a) ? "height":"width", i = !1;
return t.reduce(function(t, e){
return ""===t[t.length - 1]&&-1!==[ "+", "-" ].indexOf(e) ? (t[t.length - 1]=e,
i = !0, t):i ? (t[t.length - 1] +=e, i = !1, t):t.concat(e);
}, []).map(function(t){
return function(t, e, n, i){
var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/), r=+o[1], s=o[2];
if(!r) return t;
if(0===s.indexOf("%")){
var a=void 0;
switch (s){
case "%p":
a=n;
break;
case "%":
case "%r":
default:
a=i;
}
return b(a)[e] / 100 * r;
}
if("vh"===s||"vw"===s) return ("vh"===s ? Math.max(document.documentElement.clientHeight, window.innerHeight||0):Math.max(document.documentElement.clientWidth, window.innerWidth||0)) / 100 * r;
return r;
}(t, n, o, r);
});
})).forEach(function(n, i){
n.forEach(function(t, e){
H(t)&&(s[i] +=t * ("-"===n[e - 1] ? -1:1));
});
}), s;
}
p=p&&p.hasOwnProperty("default") ? p.default:p;
var F="transitionend", U={
TRANSITION_END: "bsTransitionEnd",
getUID: function(t){
for (;t +=~~(1e6 * Math.random()), document.getElementById(t);) ;
return t;
},
getSelectorFromElement: function(t){
var e=t.getAttribute("data-target");
if(!e||"#"===e){
var n=t.getAttribute("href");
e=n&&"#"!==n ? n.trim():"";
}
return e&&document.querySelector(e) ? e:null;
},
getTransitionDurationFromElement: function(t){
if(!t) return 0;
var e=p(t).css("transition-duration"), n=p(t).css("transition-delay"), i=parseFloat(e), o=parseFloat(n);
return i||o ? (e=e.split(",")[0], n=n.split(",")[0], 1e3 * (parseFloat(e) + parseFloat(n))):0;
},
reflow: function(t){
return t.offsetHeight;
},
triggerTransitionEnd: function(t){
p(t).trigger(F);
},
supportsTransitionEnd: function(){
return Boolean(F);
},
isElement: function(t){
return (t[0]||t).nodeType;
},
typeCheckConfig: function(t, e, n){
for (var i in n) if(Object.prototype.hasOwnProperty.call(n, i)){
var o=n[i], r=e[i], s=r&&U.isElement(r) ? "element":(a=r, {}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());
if(!new RegExp(o).test(s)) throw new Error(t.toUpperCase() + ': Option "' + i + '" provided type "' + s + '" but expected type "' + o + '".');
}
var a;
},
findShadowRoot: function(t){
if(!document.documentElement.attachShadow) return null;
if("function"==typeof t.getRootNode){
var e=t.getRootNode();
return e instanceof ShadowRoot ? e:null;
}
return t instanceof ShadowRoot ? t:t.parentNode ? U.findShadowRoot(t.parentNode):null;
}};
p.fn.emulateTransitionEnd=e, p.event.special[U.TRANSITION_END]={
bindType: F,
delegateType: F,
handle: function(t){
if(p(t.target).is(this)) return t.handleObj.handler.apply(this, arguments);
}};
var K="alert", B="bs.alert", q="." + B, V=p.fn[K], Q={
CLOSE: "close" + q,
CLOSED: "closed" + q,
CLICK_DATA_API: "click" + q + ".data-api"
}, Y="alert", G="fade", X="show", z=function(){
function i(t){
this._element=t;
}
var t=i.prototype;
return t.close=function(t){
var e=this._element;
t&&(e=this._getRootElement(t)), this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e);
}, t.dispose=function(){
p.removeData(this._element, B), this._element=null;
}, t._getRootElement=function(t){
var e=U.getSelectorFromElement(t), n = !1;
return e&&(n=document.querySelector(e)), n||(n=p(t).closest("." + Y)[0]),
n;
}, t._triggerCloseEvent=function(t){
var e=p.Event(Q.CLOSE);
return p(t).trigger(e), e;
}, t._removeElement=function(e){
var n=this;
if(p(e).removeClass(X), p(e).hasClass(G)){
var t=U.getTransitionDurationFromElement(e);
p(e).one(U.TRANSITION_END, function(t){
return n._destroyElement(e, t);
}).emulateTransitionEnd(t);
} else this._destroyElement(e);
}, t._destroyElement=function(t){
p(t).detach().trigger(Q.CLOSED).remove();
}, i._jQueryInterface=function(n){
return this.each(function(){
var t=p(this), e=t.data(B);
e||(e=new i(this), t.data(B, e)), "close"===n&&e[n](this);
});
}, i._handleDismiss=function(e){
return function(t){
t&&t.preventDefault(), e.close(this);
};}, s(i, null, [ {
key: "VERSION",
get: function(){
return "4.2.1";
}} ]), i;
}();
p(document).on(Q.CLICK_DATA_API, '[data-dismiss="alert"]', z._handleDismiss(new z())),
p.fn[K]=z._jQueryInterface, p.fn[K].Constructor=z, p.fn[K].noConflict=function(){
return p.fn[K]=V, z._jQueryInterface;
};
var J="button", Z="bs.button", $="." + Z, tt=".data-api", et=p.fn[J], nt="active", it="btn", ot="focus", rt='[data-toggle^="button"]', st='[data-toggle="buttons"]', at='input:not([type="hidden"])', lt=".active", ct=".btn", ht={
CLICK_DATA_API: "click" + $ + tt,
FOCUS_BLUR_DATA_API: "focus" + $ + tt + " blur" + $ + tt
}, ut=function(){
function n(t){
this._element=t;
}
var t=n.prototype;
return t.toggle=function(){
var t = !0, e = !0, n=p(this._element).closest(st)[0];
if(n){
var i=this._element.querySelector(at);
if(i){
if("radio"===i.type) if(i.checked&&this._element.classList.contains(nt)) t = !1; else {
var o=n.querySelector(lt);
o&&p(o).removeClass(nt);
}
if(t){
if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled")) return;
i.checked = !this._element.classList.contains(nt), p(i).trigger("change");
}
i.focus(), e = !1;
}}
e&&this._element.setAttribute("aria-pressed", !this._element.classList.contains(nt)),
t&&p(this._element).toggleClass(nt);
}, t.dispose=function(){
p.removeData(this._element, Z), this._element=null;
}, n._jQueryInterface=function(e){
return this.each(function(){
var t=p(this).data(Z);
t||(t=new n(this), p(this).data(Z, t)), "toggle"===e&&t[e]();
});
}, s(n, null, [ {
key: "VERSION",
get: function(){
return "4.2.1";
}} ]), n;
}();
p(document).on(ht.CLICK_DATA_API, rt, function(t){
t.preventDefault();
var e=t.target;
p(e).hasClass(it)||(e=p(e).closest(ct)), ut._jQueryInterface.call(p(e), "toggle");
}).on(ht.FOCUS_BLUR_DATA_API, rt, function(t){
var e=p(t.target).closest(ct)[0];
p(e).toggleClass(ot, /^focus(in)?$/.test(t.type));
}), p.fn[J]=ut._jQueryInterface, p.fn[J].Constructor=ut, p.fn[J].noConflict=function(){
return p.fn[J]=et, ut._jQueryInterface;
};
var ft="carousel", dt="bs.carousel", pt="." + dt, mt=".data-api", gt=p.fn[ft], _t={
interval: 5e3,
keyboard: !0,
slide: !1,
pause: "hover",
wrap: !0,
touch: !0
}, vt={
interval: "(number|boolean)",
keyboard: "boolean",
slide: "(boolean|string)",
pause: "(string|boolean)",
wrap: "boolean",
touch: "boolean"
}, Et="next", yt="prev", bt="left", Tt="right", Ct={
SLIDE: "slide" + pt,
SLID: "slid" + pt,
KEYDOWN: "keydown" + pt,
MOUSEENTER: "mouseenter" + pt,
MOUSELEAVE: "mouseleave" + pt,
TOUCHSTART: "touchstart" + pt,
TOUCHMOVE: "touchmove" + pt,
TOUCHEND: "touchend" + pt,
POINTERDOWN: "pointerdown" + pt,
POINTERUP: "pointerup" + pt,
DRAG_START: "dragstart" + pt,
LOAD_DATA_API: "load" + pt + mt,
CLICK_DATA_API: "click" + pt + mt
}, wt="carousel", St="active", It="slide", Dt="carousel-item-right", At="carousel-item-left", Ot="carousel-item-next", Nt="carousel-item-prev", Lt="pointer-event", kt={
ACTIVE: ".active",
ACTIVE_ITEM: ".active.carousel-item",
ITEM: ".carousel-item",
ITEM_IMG: ".carousel-item img",
NEXT_PREV: ".carousel-item-next, .carousel-item-prev",
INDICATORS: ".carousel-indicators",
DATA_SLIDE: "[data-slide], [data-slide-to]",
DATA_RIDE: '[data-ride="carousel"]'
}, Pt={
TOUCH: "touch",
PEN: "pen"
}, xt=function(){
function r(t, e){
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(e), this._element=t, this._indicatorsElement=this._element.querySelector(kt.INDICATORS),
this._touchSupported="ontouchstart" in document.documentElement||0 < navigator.maxTouchPoints,
this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent), this._addEventListeners();
}
var t=r.prototype;
return t.next=function(){
this._isSliding||this._slide(Et);
}, t.nextWhenVisible=function(){
!document.hidden&&p(this._element).is(":visible")&&"hidden"!==p(this._element).css("visibility")&&this.next();
}, t.prev=function(){
this._isSliding||this._slide(yt);
}, t.pause=function(t){
t||(this._isPaused = !0), this._element.querySelector(kt.NEXT_PREV)&&(U.triggerTransitionEnd(this._element),
this.cycle(!0)), clearInterval(this._interval), this._interval=null;
}, t.cycle=function(t){
t||(this._isPaused = !1), this._interval&&(clearInterval(this._interval), this._interval=null),
this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState ? this.nextWhenVisible:this.next).bind(this), this._config.interval));
}, t.to=function(t){
var e=this;
this._activeElement=this._element.querySelector(kt.ACTIVE_ITEM);
var n=this._getItemIndex(this._activeElement);
if(!(t > this._items.length - 1||t < 0)) if(this._isSliding) p(this._element).one(Ct.SLID, function(){
return e.to(t);
});else {
if(n===t) return this.pause(), void this.cycle();
var i=n < t ? Et:yt;
this._slide(i, this._items[t]);
}}, t.dispose=function(){
p(this._element).off(pt), p.removeData(this._element, dt), this._items=null, this._config=null,
this._element=null, this._interval=null, this._isPaused=null, this._isSliding=null,
this._activeElement=null, this._indicatorsElement=null;
}, t._getConfig=function(t){
return t=l({}, _t, t), U.typeCheckConfig(ft, t, vt), t;
}, t._handleSwipe=function(){
var t=Math.abs(this.touchDeltaX);
if(!(t <=40)){
var e=t / this.touchDeltaX;
0 < e&&this.prev(), e < 0&&this.next();
}}, t._addEventListeners=function(){
var e=this;
this._config.keyboard&&p(this._element).on(Ct.KEYDOWN, function(t){
return e._keydown(t);
}), "hover"===this._config.pause&&p(this._element).on(Ct.MOUSEENTER, function(t){
return e.pause(t);
}).on(Ct.MOUSELEAVE, function(t){
return e.cycle(t);
}), this._addTouchEventListeners();
}, t._addTouchEventListeners=function(){
var n=this;
if(this._touchSupported){
var e=function(t){
n._pointerEvent&&Pt[t.originalEvent.pointerType.toUpperCase()] ? n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX);
}, i=function(t){
n._pointerEvent&&Pt[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));
};
p(this._element.querySelectorAll(kt.ITEM_IMG)).on(Ct.DRAG_START, function(t){
return t.preventDefault();
}), this._pointerEvent ? (p(this._element).on(Ct.POINTERDOWN, function(t){
return e(t);
}), p(this._element).on(Ct.POINTERUP, function(t){
return i(t);
}), this._element.classList.add(Lt)):(p(this._element).on(Ct.TOUCHSTART, function(t){
return e(t);
}), p(this._element).on(Ct.TOUCHMOVE, function(t){
var e;
(e=t).originalEvent.touches&&1 < e.originalEvent.touches.length ? n.touchDeltaX=0:n.touchDeltaX=e.originalEvent.touches[0].clientX - n.touchStartX;
}), p(this._element).on(Ct.TOUCHEND, function(t){
return i(t);
}));
}}, t._keydown=function(t){
if(!/input|textarea/i.test(t.target.tagName)) switch (t.which){
case 37:
t.preventDefault(), this.prev();
break;
case 39:
t.preventDefault(), this.next();
}}, t._getItemIndex=function(t){
return this._items=t&&t.parentNode ? [].slice.call(t.parentNode.querySelectorAll(kt.ITEM)):[],
this._items.indexOf(t);
}, t._getItemByDirection=function(t, e){
var n=t===Et, i=t===yt, o=this._getItemIndex(e), r=this._items.length - 1;
if((i&&0===o||n&&o===r)&&!this._config.wrap) return e;
var s=(o + (t===yt ? -1:1)) % this._items.length;
return -1===s ? this._items[this._items.length - 1]:this._items[s];
}, t._triggerSlideEvent=function(t, e){
var n=this._getItemIndex(t), i=this._getItemIndex(this._element.querySelector(kt.ACTIVE_ITEM)), o=p.Event(Ct.SLIDE, {
relatedTarget: t,
direction: e,
from: i,
to: n
});
return p(this._element).trigger(o), o;
}, t._setActiveIndicatorElement=function(t){
if(this._indicatorsElement){
var e=[].slice.call(this._indicatorsElement.querySelectorAll(kt.ACTIVE));
p(e).removeClass(St);
var n=this._indicatorsElement.children[this._getItemIndex(t)];
n&&p(n).addClass(St);
}}, t._slide=function(t, e){
var n, i, o, r=this, s=this._element.querySelector(kt.ACTIVE_ITEM), a=this._getItemIndex(s), l=e||s&&this._getItemByDirection(t, s), c=this._getItemIndex(l), h=Boolean(this._interval);
if(t===Et ? (n=At, i=Ot, o=bt):(n=Dt, i=Nt, o=Tt), l&&p(l).hasClass(St)) this._isSliding = !1; else if(!this._triggerSlideEvent(l, o).isDefaultPrevented()&&s && l){
this._isSliding = !0, h&&this.pause(), this._setActiveIndicatorElement(l);
var u=p.Event(Ct.SLID, {
relatedTarget: l,
direction: o,
from: a,
to: c
});
if(p(this._element).hasClass(It)){
p(l).addClass(i), U.reflow(l), p(s).addClass(n), p(l).addClass(n);
var f=parseInt(l.getAttribute("data-interval"), 10);
f ? (this._config.defaultInterval=this._config.defaultInterval||this._config.interval,
this._config.interval=f):this._config.interval=this._config.defaultInterval||this._config.interval;
var d=U.getTransitionDurationFromElement(s);
p(s).one(U.TRANSITION_END, function(){
p(l).removeClass(n + " " + i).addClass(St), p(s).removeClass(St + " " + i + " " + n),
r._isSliding = !1, setTimeout(function(){
return p(r._element).trigger(u);
}, 0);
}).emulateTransitionEnd(d);
} else p(s).removeClass(St), p(l).addClass(St), this._isSliding = !1, p(this._element).trigger(u);
h&&this.cycle();
}}, r._jQueryInterface=function(i){
return this.each(function(){
var t=p(this).data(dt), e=l({}, _t, p(this).data());
"object"==typeof i&&(e=l({}, e, i));
var n="string"==typeof i ? i:e.slide;
if(t||(t=new r(this, e), p(this).data(dt, t)), "number"==typeof i) t.to(i); else if("string"==typeof n){
if(void 0===t[n]) throw new TypeError('No method named "' + n + '"');
t[n]();
} else e.interval&&(t.pause(), t.cycle());
});
}, r._dataApiClickHandler=function(t){
var e=U.getSelectorFromElement(this);
if(e){
var n=p(e)[0];
if(n&&p(n).hasClass(wt)){
var i=l({}, p(n).data(), p(this).data()), o=this.getAttribute("data-slide-to");
o&&(i.interval = !1), r._jQueryInterface.call(p(n), i), o&&p(n).data(dt).to(o),
t.preventDefault();
}}
}, s(r, null, [ {
key: "VERSION",
get: function(){
return "4.2.1";
}}, {
key: "Default",
get: function(){
return _t;
}} ]), r;
}();
p(document).on(Ct.CLICK_DATA_API, kt.DATA_SLIDE, xt._dataApiClickHandler), p(window).on(Ct.LOAD_DATA_API, function(){
for (var t=[].slice.call(document.querySelectorAll(kt.DATA_RIDE)), e=0, n=t.length; e < n; e++){
var i=p(t[e]);
xt._jQueryInterface.call(i, i.data());
}}), p.fn[ft]=xt._jQueryInterface, p.fn[ft].Constructor=xt, p.fn[ft].noConflict=function(){
return p.fn[ft]=gt, xt._jQueryInterface;
};
var Ht="collapse", Rt="bs.collapse", Mt="." + Rt, jt=p.fn[Ht], Wt={
toggle: !0,
parent: ""
}, Ft={
toggle: "boolean",
parent: "(string|element)"
}, Ut={
SHOW: "show" + Mt,
SHOWN: "shown" + Mt,
HIDE: "hide" + Mt,
HIDDEN: "hidden" + Mt,
CLICK_DATA_API: "click" + Mt + ".data-api"
}, Kt="show", Bt="collapse", qt="collapsing", Vt="collapsed", Qt="width", Yt="height", Gt={
ACTIVES: ".show, .collapsing",
DATA_TOGGLE: '[data-toggle="collapse"]'
}, Xt=function(){
function a(e, t){
this._isTransitioning = !1, this._element=e, this._config=this._getConfig(t),
this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#' + e.id + '"],[data-toggle="collapse"][data-target="#' + e.id + '"]'));
for (var n=[].slice.call(document.querySelectorAll(Gt.DATA_TOGGLE)), i=0, o=n.length; i < o; i++){
var r=n[i], s=U.getSelectorFromElement(r), a=[].slice.call(document.querySelectorAll(s)).filter(function(t){
return t===e;
});
null!==s&&0 < a.length&&(this._selector=s, this._triggerArray.push(r));
}
this._parent=this._config.parent ? this._getParent():null, this._config.parent||this._addAriaAndCollapsedClass(this._element, this._triggerArray),
this._config.toggle&&this.toggle();
}
var t=a.prototype;
return t.toggle=function(){
p(this._element).hasClass(Kt) ? this.hide():this.show();
}, t.show=function(){
var t, e, n=this;
if(!this._isTransitioning&&!p(this._element).hasClass(Kt)&&(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(Gt.ACTIVES)).filter(function(t){
return "string"==typeof n._config.parent ? t.getAttribute("data-parent")===n._config.parent:t.classList.contains(Bt);
})).length&&(t=null), !(t&&(e=p(t).not(this._selector).data(Rt))&&e._isTransitioning))){
var i=p.Event(Ut.SHOW);
if(p(this._element).trigger(i), !i.isDefaultPrevented()){
t&&(a._jQueryInterface.call(p(t).not(this._selector), "hide"), e||p(t).data(Rt, null));
var o=this._getDimension();
p(this._element).removeClass(Bt).addClass(qt), this._element.style[o]=0, this._triggerArray.length&&p(this._triggerArray).removeClass(Vt).attr("aria-expanded", !0),
this.setTransitioning(!0);
var r="scroll" + (o[0].toUpperCase() + o.slice(1)), s=U.getTransitionDurationFromElement(this._element);
p(this._element).one(U.TRANSITION_END, function(){
p(n._element).removeClass(qt).addClass(Bt).addClass(Kt), n._element.style[o]="",
n.setTransitioning(!1), p(n._element).trigger(Ut.SHOWN);
}).emulateTransitionEnd(s), this._element.style[o]=this._element[r] + "px";
}}
}, t.hide=function(){
var t=this;
if(!this._isTransitioning&&p(this._element).hasClass(Kt)){
var e=p.Event(Ut.HIDE);
if(p(this._element).trigger(e), !e.isDefaultPrevented()){
var n=this._getDimension();
this._element.style[n]=this._element.getBoundingClientRect()[n] + "px", U.reflow(this._element),
p(this._element).addClass(qt).removeClass(Bt).removeClass(Kt);
var i=this._triggerArray.length;
if(0 < i) for (var o=0; o < i; o++){
var r=this._triggerArray[o], s=U.getSelectorFromElement(r);
if(null!==s) p([].slice.call(document.querySelectorAll(s))).hasClass(Kt)||p(r).addClass(Vt).attr("aria-expanded", !1);
}
this.setTransitioning(!0);
this._element.style[n]="";
var a=U.getTransitionDurationFromElement(this._element);
p(this._element).one(U.TRANSITION_END, function(){
t.setTransitioning(!1), p(t._element).removeClass(qt).addClass(Bt).trigger(Ut.HIDDEN);
}).emulateTransitionEnd(a);
}}
}, t.setTransitioning=function(t){
this._isTransitioning=t;
}, t.dispose=function(){
p.removeData(this._element, Rt), this._config=null, this._parent=null, this._element=null,
this._triggerArray=null, this._isTransitioning=null;
}, t._getConfig=function(t){
return (t=l({}, Wt, t)).toggle=Boolean(t.toggle), U.typeCheckConfig(Ht, t, Ft),
t;
}, t._getDimension=function(){
return p(this._element).hasClass(Qt) ? Qt:Yt;
}, t._getParent=function(){
var t, n=this;
U.isElement(this._config.parent) ? (t=this._config.parent, void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);
var e='[data-toggle="collapse"][data-parent="' + this._config.parent + '"]', i=[].slice.call(t.querySelectorAll(e));
return p(i).each(function(t, e){
n._addAriaAndCollapsedClass(a._getTargetFromElement(e), [ e ]);
}), t;
}, t._addAriaAndCollapsedClass=function(t, e){
var n=p(t).hasClass(Kt);
e.length&&p(e).toggleClass(Vt, !n).attr("aria-expanded", n);
}, a._getTargetFromElement=function(t){
var e=U.getSelectorFromElement(t);
return e ? document.querySelector(e):null;
}, a._jQueryInterface=function(i){
return this.each(function(){
var t=p(this), e=t.data(Rt), n=l({}, Wt, t.data(), "object"==typeof i&&i ? i:{});
if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle = !1), e||(e=new a(this, n),
t.data(Rt, e)), "string"==typeof i){
if(void 0===e[i]) throw new TypeError('No method named "' + i + '"');
e[i]();
}});
}, s(a, null, [ {
key: "VERSION",
get: function(){
return "4.2.1";
}}, {
key: "Default",
get: function(){
return Wt;
}} ]), a;
}();
p(document).on(Ut.CLICK_DATA_API, Gt.DATA_TOGGLE, function(t){
"A"===t.currentTarget.tagName&&t.preventDefault();
var n=p(this), e=U.getSelectorFromElement(this), i=[].slice.call(document.querySelectorAll(e));
p(i).each(function(){
var t=p(this), e=t.data(Rt) ? "toggle":n.data();
Xt._jQueryInterface.call(t, e);
});
}), p.fn[Ht]=Xt._jQueryInterface, p.fn[Ht].Constructor=Xt, p.fn[Ht].noConflict=function(){
return p.fn[Ht]=jt, Xt._jQueryInterface;
};
for (var zt="undefined"!=typeof window&&"undefined"!=typeof document, Jt=[ "Edge", "Trident", "Firefox" ], Zt=0, $t=0; $t < Jt.length; $t +=1) if(zt&&0 <=navigator.userAgent.indexOf(Jt[$t])){
Zt=1;
break;
}
var te=zt&&window.Promise ? function(t){
var e = !1;
return function(){
e||(e = !0, window.Promise.resolve().then(function(){
e = !1, t();
}));
};}:function(t){
var e = !1;
return function(){
e||(e = !0, setTimeout(function(){
e = !1, t();
}, Zt));
};}, ee=zt&&!(!window.MSInputMethodContext||!document.documentMode), ne=zt&&/MSIE 10/.test(navigator.userAgent), ie=function(t, e){
if(!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
}, oe=function(){
function i(t, e){
for (var n=0; n < e.length; n++){
var i=e[n];
i.enumerable=i.enumerable||!1, i.configurable = !0, "value" in i&&(i.writable = !0),
Object.defineProperty(t, i.key, i);
}}
return function(t, e, n){
return e&&i(t.prototype, e), n&&i(t, n), t;
};}(), re=function(t, e, n){
return e in t ? Object.defineProperty(t, e, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}):t[e]=n, t;
}, se=Object.assign||function(t){
for (var e=1; e < arguments.length; e++){
var n=arguments[e];
for (var i in n) Object.prototype.hasOwnProperty.call(n, i)&&(t[i]=n[i]);
}
return t;
}, ae=zt&&/Firefox/i.test(navigator.userAgent), le=[ "auto-start", "auto", "auto-end", "top-start", "top", "top-end", "right-start", "right", "right-end", "bottom-end", "bottom", "bottom-start", "left-end", "left", "left-start" ], ce=le.slice(3), he={
FLIP: "flip",
CLOCKWISE: "clockwise",
COUNTERCLOCKWISE: "counterclockwise"
}, ue={
placement: "bottom",
positionFixed: !1,
eventsEnabled: !0,
removeOnDestroy: !1,
onCreate: function(){},
onUpdate: function(){},
modifiers: {
shift: {
order: 100,
enabled: !0,
fn: function(t){
var e=t.placement, n=e.split("-")[0], i=e.split("-")[1];
if(i){
var o=t.offsets, r=o.reference, s=o.popper, a=-1!==[ "bottom", "top" ].indexOf(n), l=a ? "left":"top", c=a ? "width":"height", h={
start: re({}, l, r[l]),
end: re({}, l, r[l] + r[c] - s[c])
};
t.offsets.popper=se({}, s, h[i]);
}
return t;
}},
offset: {
order: 200,
enabled: !0,
fn: function(t, e){
var n=e.offset, i=t.placement, o=t.offsets, r=o.popper, s=o.reference, a=i.split("-")[0], l=void 0;
return l=H(+n) ? [ +n, 0 ]:W(n, r, s, a), "left"===a ? (r.top +=l[0], r.left -=l[1]):"right"===a ? (r.top +=l[0],
r.left +=l[1]):"top"===a ? (r.left +=l[0], r.top -=l[1]):"bottom"===a&&(r.left +=l[0],
r.top +=l[1]), t.popper=r, t;
},
offset: 0
},
preventOverflow: {
order: 300,
enabled: !0,
fn: function(t, i){
var e=i.boundariesElement||L(t.instance.popper);
t.instance.reference===e&&(e=L(e));
var n=x("transform"), o=t.instance.popper.style, r=o.top, s=o.left, a=o[n];
o.top="", o.left="", o[n]="";
var l=f(t.instance.popper, t.instance.reference, i.padding, e, t.positionFixed);
o.top=r, o.left=s, o[n]=a, i.boundaries=l;
var c=i.priority, h=t.offsets.popper, u={
primary: function(t){
var e=h[t];
return h[t] < l[t]&&!i.escapeWithReference&&(e=Math.max(h[t], l[t])), re({}, t, e);
},
secondary: function(t){
var e="right"===t ? "left":"top", n=h[e];
return h[t] > l[t]&&!i.escapeWithReference&&(n=Math.min(h[e], l[t] - ("right"===t ? h.width:h.height))),
re({}, e, n);
}};
return c.forEach(function(t){
var e=-1!==[ "left", "top" ].indexOf(t) ? "primary":"secondary";
h=se({}, h, u[e](t));
}), t.offsets.popper=h, t;
},
priority: [ "left", "right", "top", "bottom" ],
padding: 5,
boundariesElement: "scrollParent"
},
keepTogether: {
order: 400,
enabled: !0,
fn: function(t){
var e=t.offsets, n=e.popper, i=e.reference, o=t.placement.split("-")[0], r=Math.floor, s=-1!==[ "top", "bottom" ].indexOf(o), a=s ? "right":"bottom", l=s ? "left":"top", c=s ? "width":"height";
return n[a] < r(i[l])&&(t.offsets.popper[l]=r(i[l]) - n[c]), n[l] > r(i[a])&&(t.offsets.popper[l]=r(i[a])),
t;
}},
arrow: {
order: 500,
enabled: !0,
fn: function(t, e){
var n;
if(!M(t.instance.modifiers, "arrow", "keepTogether")) return t;
var i=e.element;
if("string"==typeof i){
if(!(i=t.instance.popper.querySelector(i))) return t;
}else if(!t.instance.popper.contains(i)) return console.warn("WARNING: `arrow.element` must be child of its popper element!"),
t;
var o=t.placement.split("-")[0], r=t.offsets, s=r.popper, a=r.reference, l=-1!==[ "left", "right" ].indexOf(o), c=l ? "height":"width", h=l ? "Top":"Left", u=h.toLowerCase(), f=l ? "left":"top", d=l ? "bottom":"right", p=S(i)[c];
a[d] - p < s[u]&&(t.offsets.popper[u] -=s[u] - (a[d] - p)), a[u] + p > s[d]&&(t.offsets.popper[u] +=a[u] + p - s[d]),
t.offsets.popper=b(t.offsets.popper);
var m=a[u] + a[c] / 2 - p / 2, g=y(t.instance.popper), _=parseFloat(g["margin" + h], 10), v=parseFloat(g["border" + h + "Width"], 10), E=m - t.offsets.popper[u] - _ - v;
return E=Math.max(Math.min(s[c] - p, E), 0), t.arrowElement=i, t.offsets.arrow=(re(n={}, u, Math.round(E)),
re(n, f, ""), n), t;
},
element: "[x-arrow]"
},
flip: {
order: 600,
enabled: !0,
fn: function(p, m){
if(n(p.instance.modifiers, "inner")) return p;
if(p.flipped&&p.placement===p.originalPlacement) return p;
var g=f(p.instance.popper, p.instance.reference, m.padding, m.boundariesElement, p.positionFixed), _=p.placement.split("-")[0], v=I(_), E=p.placement.split("-")[1]||"", y=[];
switch (m.behavior){
case he.FLIP:
y=[ _, v ];
break;
case he.CLOCKWISE:
y=j(_);
break;
case he.COUNTERCLOCKWISE:
y=j(_, !0);
break;
default:
y=m.behavior;
}
return y.forEach(function(t, e){
if(_!==t||y.length===e + 1) return p;
_=p.placement.split("-")[0], v=I(_);
var n, i=p.offsets.popper, o=p.offsets.reference, r=Math.floor, s="left"===_&&r(i.right) > r(o.left)||"right"===_&&r(i.left) < r(o.right)||"top"===_&&r(i.bottom) > r(o.top)||"bottom"===_&&r(i.top) < r(o.bottom), a=r(i.left) < r(g.left), l=r(i.right) > r(g.right), c=r(i.top) < r(g.top), h=r(i.bottom) > r(g.bottom), u="left"===_&&a||"right"===_&&l||"top"===_&&c||"bottom"===_&&h, f=-1!==[ "top", "bottom" ].indexOf(_), d = !!m.flipVariations&&(f&&"start"===E&&a||f&&"end"===E&&l||!f&&"start"===E&&c||!f&&"end"===E&&h);
(s||u || d)&&(p.flipped = !0, (s||u)&&(_=y[e + 1]), d&&(E="end"===(n=E) ? "start":"start"===n ? "end":n),
p.placement=_ + (E ? "-" + E:""), p.offsets.popper=se({}, p.offsets.popper, D(p.instance.popper, p.offsets.reference, p.placement)),
p=A(p.instance.modifiers, p, "flip"));
}), p;
},
behavior: "flip",
padding: 5,
boundariesElement: "viewport"
},
inner: {
order: 700,
enabled: !1,
fn: function(t){
var e=t.placement, n=e.split("-")[0], i=t.offsets, o=i.popper, r=i.reference, s=-1!==[ "left", "right" ].indexOf(n), a=-1===[ "top", "left" ].indexOf(n);
return o[s ? "left":"top"]=r[n] - (a ? o[s ? "width":"height"]:0), t.placement=I(e),
t.offsets.popper=b(o), t;
}},
hide: {
order: 800,
enabled: !0,
fn: function(t){
if(!M(t.instance.modifiers, "hide", "preventOverflow")) return t;
var e=t.offsets.reference, n=P(t.instance.modifiers, function(t){
return "preventOverflow"===t.name;
}).boundaries;
if(e.bottom < n.top||e.left > n.right||e.top > n.bottom||e.right < n.left){
if(!0===t.hide) return t;
t.hide = !0, t.attributes["x-out-of-boundaries"]="";
}else{
if(!1===t.hide) return t;
t.hide = !1, t.attributes["x-out-of-boundaries"] = !1;
}
return t;
}},
computeStyle: {
order: 850,
enabled: !0,
fn: function(t, e){
var n=e.x, i=e.y, o=t.offsets.popper, r=P(t.instance.modifiers, function(t){
return "applyStyle"===t.name;
}).gpuAcceleration;
void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");
var s, a, l, c, h, u, f, d, p, m, g, _, v=void 0!==r ? r:e.gpuAcceleration, E=L(t.instance.popper), y=k(E), b={
position: o.position
}, T=(s=t, a=window.devicePixelRatio < 2||!ae, l=s.offsets, c=l.popper,
h=l.reference, u=-1!==[ "left", "right" ].indexOf(s.placement), f=-1!==s.placement.indexOf("-"),
d=h.width % 2==c.width % 2, p=h.width % 2==1&&c.width % 2==1, m=function(t){
return t;
}, g=a ? u||f || d ? Math.round:Math.floor:m, _=a ? Math.round:m, {
left: g(p&&!f&&a ? c.left - 1:c.left),
top: _(c.top),
bottom: _(c.bottom),
right: g(c.right)
}), C="bottom"===n ? "top":"bottom", w="right"===i ? "left":"right", S=x("transform"), I=void 0, D=void 0;
if(D="bottom"===C ? "HTML"===E.nodeName ? -E.clientHeight + T.bottom:-y.height + T.bottom:T.top,
I="right"===w ? "HTML"===E.nodeName ? -E.clientWidth + T.right:-y.width + T.right:T.left,
v&&S) b[S]="translate3d(" + I + "px, " + D + "px, 0)", b[C]=0, b[w]=0, b.willChange="transform"; else {
var A="bottom"===C ? -1:1, O="right"===w ? -1:1;
b[C]=D * A, b[w]=I * O, b.willChange=C + ", " + w;
}
var N={
"x-placement": t.placement
};
return t.attributes=se({}, N, t.attributes), t.styles=se({}, b, t.styles), t.arrowStyles=se({}, t.offsets.arrow, t.arrowStyles),
t;
},
gpuAcceleration: !0,
x: "bottom",
y: "right"
},
applyStyle: {
order: 900,
enabled: !0,
fn: function(t){
var e, n;
return R(t.instance.popper, t.styles), e=t.instance.popper, n=t.attributes,
Object.keys(n).forEach(function(t){
!1!==n[t] ? e.setAttribute(t, n[t]):e.removeAttribute(t);
}), t.arrowElement&&Object.keys(t.arrowStyles).length&&R(t.arrowElement, t.arrowStyles),
t;
},
onLoad: function(t, e, n, i, o){
var r=w(o, e, t, n.positionFixed), s=c(n.placement, r, e, t, n.modifiers.flip.boundariesElement, n.modifiers.flip.padding);
return e.setAttribute("x-placement", s), R(e, {
position: n.positionFixed ? "fixed":"absolute"
}), n;
},
gpuAcceleration: void 0
}}
}, fe=function(){
function r(t, e){
var n=this, i=2 < arguments.length&&void 0!==arguments[2] ? arguments[2]:{};
ie(this, r), this.scheduleUpdate=function(){
return requestAnimationFrame(n.update);
}, this.update=te(this.update.bind(this)), this.options=se({}, r.Defaults, i),
this.state={
isDestroyed: !1,
isCreated: !1,
scrollParents: []
}, this.reference=t&&t.jquery ? t[0]:t, this.popper=e&&e.jquery ? e[0]:e,
this.options.modifiers={}, Object.keys(se({}, r.Defaults.modifiers, i.modifiers)).forEach(function(t){
n.options.modifiers[t]=se({}, r.Defaults.modifiers[t]||{}, i.modifiers ? i.modifiers[t]:{});
}), this.modifiers=Object.keys(this.options.modifiers).map(function(t){
return se({
name: t
}, n.options.modifiers[t]);
}).sort(function(t, e){
return t.order - e.order;
}), this.modifiers.forEach(function(t){
t.enabled&&a(t.onLoad)&&t.onLoad(n.reference, n.popper, n.options, t, n.state);
}), this.update();
var o=this.options.eventsEnabled;
o&&this.enableEventListeners(), this.state.eventsEnabled=o;
}
return oe(r, [ {
key: "update",
value: function(){
return function(){
if(!this.state.isDestroyed){
var t={
instance: this,
styles: {},
arrowStyles: {},
attributes: {},
flipped: !1,
offsets: {}};
t.offsets.reference=w(this.state, this.popper, this.reference, this.options.positionFixed),
t.placement=c(this.options.placement, t.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding),
t.originalPlacement=t.placement, t.positionFixed=this.options.positionFixed,
t.offsets.popper=D(this.popper, t.offsets.reference, t.placement), t.offsets.popper.position=this.options.positionFixed ? "fixed":"absolute",
t=A(this.modifiers, t), this.state.isCreated ? this.options.onUpdate(t):(this.state.isCreated = !0,
this.options.onCreate(t));
}}.call(this);
}}, {
key: "destroy",
value: function(){
return function(){
return this.state.isDestroyed = !0, n(this.modifiers, "applyStyle")&&(this.popper.removeAttribute("x-placement"),
this.popper.style.position="", this.popper.style.top="", this.popper.style.left="",
this.popper.style.right="", this.popper.style.bottom="", this.popper.style.willChange="",
this.popper.style[x("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=O(this.reference, this.options, this.state, this.scheduleUpdate));
}.call(this);
}}, {
key: "disableEventListeners",
value: function(){
return N.call(this);
}} ]), r;
}();
fe.Utils=("undefined"!=typeof window ? window:global).PopperUtils, fe.placements=le,
fe.Defaults=ue;
var de="dropdown", pe="bs.dropdown", me="." + pe, ge=".data-api", _e=p.fn[de], ve=new RegExp("38|40|27"), Ee={
HIDE: "hide" + me,
HIDDEN: "hidden" + me,
SHOW: "show" + me,
SHOWN: "shown" + me,
CLICK: "click" + me,
CLICK_DATA_API: "click" + me + ge,
KEYDOWN_DATA_API: "keydown" + me + ge,
KEYUP_DATA_API: "keyup" + me + ge
}, ye="disabled", be="show", Te="dropup", Ce="dropright", we="dropleft", Se="dropdown-menu-right", Ie="position-static", De='[data-toggle="dropdown"]', Ae=".dropdown form", Oe=".dropdown-menu", Ne=".navbar-nav", Le=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", ke="top-start", Pe="top-end", xe="bottom-start", He="bottom-end", Re="right-start", Me="left-start", je={
offset: 0,
flip: !0,
boundary: "scrollParent",
reference: "toggle",
display: "dynamic"
}, We={
offset: "(number|string|function)",
flip: "boolean",
boundary: "(string|element)",
reference: "(string|element)",
display: "string"
}, Fe=function(){
function c(t, e){
this._element=t, this._popper=null, this._config=this._getConfig(e), this._menu=this._getMenuElement(),
this._inNavbar=this._detectNavbar(), this._addEventListeners();
}
var t=c.prototype;
return t.toggle=function(){
if(!this._element.disabled&&!p(this._element).hasClass(ye)){
var t=c._getParentFromElement(this._element), e=p(this._menu).hasClass(be);
if(c._clearMenus(), !e){
var n={
relatedTarget: this._element
}, i=p.Event(Ee.SHOW, n);
if(p(t).trigger(i), !i.isDefaultPrevented()){
if(!this._inNavbar){
if(void 0===fe) throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");
var o=this._element;
"parent"===this._config.reference ? o=t:U.isElement(this._config.reference)&&(o=this._config.reference,
void 0!==this._config.reference.jquery&&(o=this._config.reference[0])), "scrollParent"!==this._config.boundary&&p(t).addClass(Ie),
this._popper=new fe(o, this._menu, this._getPopperConfig());
}
"ontouchstart" in document.documentElement&&0===p(t).closest(Ne).length&&p(document.body).children().on("mouseover", null, p.noop),
this._element.focus(), this._element.setAttribute("aria-expanded", !0), p(this._menu).toggleClass(be),
p(t).toggleClass(be).trigger(p.Event(Ee.SHOWN, n));
}}
}}, t.show=function(){
if(!(this._element.disabled||p(this._element).hasClass(ye)||p(this._menu).hasClass(be))){
var t={
relatedTarget: this._element
}, e=p.Event(Ee.SHOW, t), n=c._getParentFromElement(this._element);
p(n).trigger(e), e.isDefaultPrevented()||(p(this._menu).toggleClass(be), p(n).toggleClass(be).trigger(p.Event(Ee.SHOWN, t)));
}}, t.hide=function(){
if(!this._element.disabled&&!p(this._element).hasClass(ye)&&p(this._menu).hasClass(be)){
var t={
relatedTarget: this._element
}, e=p.Event(Ee.HIDE, t), n=c._getParentFromElement(this._element);
p(n).trigger(e), e.isDefaultPrevented()||(p(this._menu).toggleClass(be), p(n).toggleClass(be).trigger(p.Event(Ee.HIDDEN, t)));
}}, t.dispose=function(){
p.removeData(this._element, pe), p(this._element).off(me), this._element=null,
(this._menu=null)!==this._popper&&(this._popper.destroy(), this._popper=null);
}, t.update=function(){
this._inNavbar=this._detectNavbar(), null!==this._popper&&this._popper.scheduleUpdate();
}, t._addEventListeners=function(){
var e=this;
p(this._element).on(Ee.CLICK, function(t){
t.preventDefault(), t.stopPropagation(), e.toggle();
});
}, t._getConfig=function(t){
return t=l({}, this.constructor.Default, p(this._element).data(), t), U.typeCheckConfig(de, t, this.constructor.DefaultType),
t;
}, t._getMenuElement=function(){
if(!this._menu){
var t=c._getParentFromElement(this._element);
t&&(this._menu=t.querySelector(Oe));
}
return this._menu;
}, t._getPlacement=function(){
var t=p(this._element.parentNode), e=xe;
return t.hasClass(Te) ? (e=ke, p(this._menu).hasClass(Se)&&(e=Pe)):t.hasClass(Ce) ? e=Re:t.hasClass(we) ? e=Me:p(this._menu).hasClass(Se)&&(e=He),
e;
}, t._detectNavbar=function(){
return 0 < p(this._element).closest(".navbar").length;
}, t._getPopperConfig=function(){
var e=this, t={};
"function"==typeof this._config.offset ? t.fn=function(t){
return t.offsets=l({}, t.offsets, e._config.offset(t.offsets)||{}), t;
}:t.offset=this._config.offset;
var n={
placement: this._getPlacement(),
modifiers: {
offset: t,
flip: {
enabled: this._config.flip
},
preventOverflow: {
boundariesElement: this._config.boundary
}}
};
return "static"===this._config.display&&(n.modifiers.applyStyle={
enabled: !1
}), n;
}, c._jQueryInterface=function(e){
return this.each(function(){
var t=p(this).data(pe);
if(t||(t=new c(this, "object"==typeof e ? e:null), p(this).data(pe, t)),
"string"==typeof e){
if(void 0===t[e]) throw new TypeError('No method named "' + e + '"');
t[e]();
}});
}, c._clearMenus=function(t){
if(!t||3!==t.which&&("keyup"!==t.type||9===t.which)) for (var e=[].slice.call(document.querySelectorAll(De)), n=0, i=e.length; n < i; n++){
var o=c._getParentFromElement(e[n]), r=p(e[n]).data(pe), s={
relatedTarget: e[n]
};
if(t&&"click"===t.type&&(s.clickEvent=t), r){
var a=r._menu;
if(p(o).hasClass(be)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&p.contains(o, t.target))){
var l=p.Event(Ee.HIDE, s);
p(o).trigger(l), l.isDefaultPrevented()||("ontouchstart" in document.documentElement&&p(document.body).children().off("mouseover", null, p.noop),
e[n].setAttribute("aria-expanded", "false"), p(a).removeClass(be), p(o).removeClass(be).trigger(p.Event(Ee.HIDDEN, s)));
}}
}}, c._getParentFromElement=function(t){
var e, n=U.getSelectorFromElement(t);
return n&&(e=document.querySelector(n)), e||t.parentNode;
}, c._dataApiKeydownHandler=function(t){
if((/input|textarea/i.test(t.target.tagName) ? !(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||p(t.target).closest(Oe).length)):ve.test(t.which))&&(t.preventDefault(),
t.stopPropagation(), !this.disabled&&!p(this).hasClass(ye))){
var e=c._getParentFromElement(this), n=p(e).hasClass(be);
if(n&&(!n||27!==t.which&&32!==t.which)){
var i=[].slice.call(e.querySelectorAll(Le));
if(0!==i.length){
var o=i.indexOf(t.target);
38===t.which&&0 < o&&o--, 40===t.which&&o < i.length - 1&&o++, o < 0&&(o=0),
i[o].focus();
}}else{
if(27===t.which){
var r=e.querySelector(De);
p(r).trigger("focus");
}
p(this).trigger("click");
}}
}, s(c, null, [ {
key: "VERSION",
get: function(){
return "4.2.1";
}}, {
key: "Default",
get: function(){
return je;
}}, {
key: "DefaultType",
get: function(){
return We;
}} ]), c;
}();
p(document).on(Ee.KEYDOWN_DATA_API, De, Fe._dataApiKeydownHandler).on(Ee.KEYDOWN_DATA_API, Oe, Fe._dataApiKeydownHandler).on(Ee.CLICK_DATA_API + " " + Ee.KEYUP_DATA_API, Fe._clearMenus).on(Ee.CLICK_DATA_API, De, function(t){
t.preventDefault(), t.stopPropagation(), Fe._jQueryInterface.call(p(this), "toggle");
}).on(Ee.CLICK_DATA_API, Ae, function(t){
t.stopPropagation();
}), p.fn[de]=Fe._jQueryInterface, p.fn[de].Constructor=Fe, p.fn[de].noConflict=function(){
return p.fn[de]=_e, Fe._jQueryInterface;
};
var Ue="modal", Ke="bs.modal", Be="." + Ke, qe=p.fn[Ue], Ve={
backdrop: !0,
keyboard: !0,
focus: !0,
show: !0
}, Qe={
backdrop: "(boolean|string)",
keyboard: "boolean",
focus: "boolean",
show: "boolean"
}, Ye={
HIDE: "hide" + Be,
HIDDEN: "hidden" + Be,
SHOW: "show" + Be,
SHOWN: "shown" + Be,
FOCUSIN: "focusin" + Be,
RESIZE: "resize" + Be,
CLICK_DISMISS: "click.dismiss" + Be,
KEYDOWN_DISMISS: "keydown.dismiss" + Be,
MOUSEUP_DISMISS: "mouseup.dismiss" + Be,
MOUSEDOWN_DISMISS: "mousedown.dismiss" + Be,
CLICK_DATA_API: "click" + Be + ".data-api"
}, Ge="modal-scrollbar-measure", Xe="modal-backdrop", ze="modal-open", Je="fade", Ze="show", $e={
DIALOG: ".modal-dialog",
DATA_TOGGLE: '[data-toggle="modal"]',
DATA_DISMISS: '[data-dismiss="modal"]',
FIXED_CONTENT: ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",
STICKY_CONTENT: ".sticky-top"
}, tn=function(){
function o(t, e){
this._config=this._getConfig(e), this._element=t, this._dialog=t.querySelector($e.DIALOG),
this._backdrop=null, this._isShown = !1, this._isBodyOverflowing = !1, this._ignoreBackdropClick = !1,
this._isTransitioning = !1, this._scrollbarWidth=0;
}
var t=o.prototype;
return t.toggle=function(t){
return this._isShown ? this.hide():this.show(t);
}, t.show=function(t){
var e=this;
if(!this._isShown&&!this._isTransitioning){
p(this._element).hasClass(Je)&&(this._isTransitioning = !0);
var n=p.Event(Ye.SHOW, {
relatedTarget: t
});
p(this._element).trigger(n), this._isShown||n.isDefaultPrevented()||(this._isShown = !0,
this._checkScrollbar(), this._setScrollbar(), this._adjustDialog(), this._setEscapeEvent(),
this._setResizeEvent(), p(this._element).on(Ye.CLICK_DISMISS, $e.DATA_DISMISS, function(t){
return e.hide(t);
}), p(this._dialog).on(Ye.MOUSEDOWN_DISMISS, function(){
p(e._element).one(Ye.MOUSEUP_DISMISS, function(t){
p(t.target).is(e._element)&&(e._ignoreBackdropClick = !0);
});
}), this._showBackdrop(function(){
return e._showElement(t);
}));
}}, t.hide=function(t){
var e=this;
if(t&&t.preventDefault(), this._isShown&&!this._isTransitioning){
var n=p.Event(Ye.HIDE);
if(p(this._element).trigger(n), this._isShown&&!n.isDefaultPrevented()){
this._isShown = !1;
var i=p(this._element).hasClass(Je);
if(i&&(this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(),
p(document).off(Ye.FOCUSIN), p(this._element).removeClass(Ze), p(this._element).off(Ye.CLICK_DISMISS),
p(this._dialog).off(Ye.MOUSEDOWN_DISMISS), i){
var o=U.getTransitionDurationFromElement(this._element);
p(this._element).one(U.TRANSITION_END, function(t){
return e._hideModal(t);
}).emulateTransitionEnd(o);
} else this._hideModal();
}}
}, t.dispose=function(){
[ window, this._element, this._dialog ].forEach(function(t){
return p(t).off(Be);
}), p(document).off(Ye.FOCUSIN), p.removeData(this._element, Ke), this._config=null,
this._element=null, this._dialog=null, this._backdrop=null, this._isShown=null,
this._isBodyOverflowing=null, this._ignoreBackdropClick=null, this._isTransitioning=null,
this._scrollbarWidth=null;
}, t.handleUpdate=function(){
this._adjustDialog();
}, t._getConfig=function(t){
return t=l({}, Ve, t), U.typeCheckConfig(Ue, t, Qe), t;
}, t._showElement=function(t){
var e=this, n=p(this._element).hasClass(Je);
this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),
this._element.style.display="block", this._element.removeAttribute("aria-hidden"),
this._element.setAttribute("aria-modal", !0), this._element.scrollTop=0, n&&U.reflow(this._element),
p(this._element).addClass(Ze), this._config.focus&&this._enforceFocus();
var i=p.Event(Ye.SHOWN, {
relatedTarget: t
}), o=function(){
e._config.focus&&e._element.focus(), e._isTransitioning = !1, p(e._element).trigger(i);
};
if(n){
var r=U.getTransitionDurationFromElement(this._dialog);
p(this._dialog).one(U.TRANSITION_END, o).emulateTransitionEnd(r);
} else o();
}, t._enforceFocus=function(){
var e=this;
p(document).off(Ye.FOCUSIN).on(Ye.FOCUSIN, function(t){
document!==t.target&&e._element!==t.target&&0===p(e._element).has(t.target).length&&e._element.focus();
});
}, t._setEscapeEvent=function(){
var e=this;
this._isShown&&this._config.keyboard ? p(this._element).on(Ye.KEYDOWN_DISMISS, function(t){
27===t.which&&(t.preventDefault(), e.hide());
}):this._isShown||p(this._element).off(Ye.KEYDOWN_DISMISS);
}, t._setResizeEvent=function(){
var e=this;
this._isShown ? p(window).on(Ye.RESIZE, function(t){
return e.handleUpdate(t);
}):p(window).off(Ye.RESIZE);
}, t._hideModal=function(){
var t=this;
this._element.style.display="none", this._element.setAttribute("aria-hidden", !0),
this._element.removeAttribute("aria-modal"), this._isTransitioning = !1, this._showBackdrop(function(){
p(document.body).removeClass(ze), t._resetAdjustments(), t._resetScrollbar(), p(t._element).trigger(Ye.HIDDEN);
});
}, t._removeBackdrop=function(){
this._backdrop&&(p(this._backdrop).remove(), this._backdrop=null);
}, t._showBackdrop=function(t){
var e=this, n=p(this._element).hasClass(Je) ? Je:"";
if(this._isShown&&this._config.backdrop){
if(this._backdrop=document.createElement("div"), this._backdrop.className=Xe,
n&&this._backdrop.classList.add(n), p(this._backdrop).appendTo(document.body),
p(this._element).on(Ye.CLICK_DISMISS, function(t){
e._ignoreBackdropClick ? e._ignoreBackdropClick = !1:t.target===t.currentTarget&&("static"===e._config.backdrop ? e._element.focus():e.hide());
}), n&&U.reflow(this._backdrop), p(this._backdrop).addClass(Ze), !t) return;
if(!n) return void t();
var i=U.getTransitionDurationFromElement(this._backdrop);
p(this._backdrop).one(U.TRANSITION_END, t).emulateTransitionEnd(i);
}else if(!this._isShown&&this._backdrop){
p(this._backdrop).removeClass(Ze);
var o=function(){
e._removeBackdrop(), t&&t();
};
if(p(this._element).hasClass(Je)){
var r=U.getTransitionDurationFromElement(this._backdrop);
p(this._backdrop).one(U.TRANSITION_END, o).emulateTransitionEnd(r);
} else o();
} else t&&t();
}, t._adjustDialog=function(){
var t=this._element.scrollHeight > document.documentElement.clientHeight;
!this._isBodyOverflowing&&t && (this._element.style.paddingLeft=this._scrollbarWidth + "px"),
this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth + "px");
}, t._resetAdjustments=function(){
this._element.style.paddingLeft="", this._element.style.paddingRight="";
}, t._checkScrollbar=function(){
var t=document.body.getBoundingClientRect();
this._isBodyOverflowing=t.left + t.right < window.innerWidth, this._scrollbarWidth=this._getScrollbarWidth();
}, t._setScrollbar=function(){
var o=this;
if(this._isBodyOverflowing){
var t=[].slice.call(document.querySelectorAll($e.FIXED_CONTENT)), e=[].slice.call(document.querySelectorAll($e.STICKY_CONTENT));
p(t).each(function(t, e){
var n=e.style.paddingRight, i=p(e).css("padding-right");
p(e).data("padding-right", n).css("padding-right", parseFloat(i) + o._scrollbarWidth + "px");
}), p(e).each(function(t, e){
var n=e.style.marginRight, i=p(e).css("margin-right");
p(e).data("margin-right", n).css("margin-right", parseFloat(i) - o._scrollbarWidth + "px");
});
var n=document.body.style.paddingRight, i=p(document.body).css("padding-right");
p(document.body).data("padding-right", n).css("padding-right", parseFloat(i) + this._scrollbarWidth + "px");
}
p(document.body).addClass(ze);
}, t._resetScrollbar=function(){
var t=[].slice.call(document.querySelectorAll($e.FIXED_CONTENT));
p(t).each(function(t, e){
var n=p(e).data("padding-right");
p(e).removeData("padding-right"), e.style.paddingRight=n||"";
});
var e=[].slice.call(document.querySelectorAll("" + $e.STICKY_CONTENT));
p(e).each(function(t, e){
var n=p(e).data("margin-right");
void 0!==n&&p(e).css("margin-right", n).removeData("margin-right");
});
var n=p(document.body).data("padding-right");
p(document.body).removeData("padding-right"), document.body.style.paddingRight=n||"";
}, t._getScrollbarWidth=function(){
var t=document.createElement("div");
t.className=Ge, document.body.appendChild(t);
var e=t.getBoundingClientRect().width - t.clientWidth;
return document.body.removeChild(t), e;
}, o._jQueryInterface=function(n, i){
return this.each(function(){
var t=p(this).data(Ke), e=l({}, Ve, p(this).data(), "object"==typeof n&&n ? n:{});
if(t||(t=new o(this, e), p(this).data(Ke, t)), "string"==typeof n){
if(void 0===t[n]) throw new TypeError('No method named "' + n + '"');
t[n](i);
} else e.show&&t.show(i);
});
}, s(o, null, [ {
key: "VERSION",
get: function(){
return "4.2.1";
}}, {
key: "Default",
get: function(){
return Ve;
}} ]), o;
}();
p(document).on(Ye.CLICK_DATA_API, $e.DATA_TOGGLE, function(t){
var e, n=this, i=U.getSelectorFromElement(this);
i&&(e=document.querySelector(i));
var o=p(e).data(Ke) ? "toggle":l({}, p(e).data(), p(this).data());
"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();
var r=p(e).one(Ye.SHOW, function(t){
t.isDefaultPrevented()||r.one(Ye.HIDDEN, function(){
p(n).is(":visible")&&n.focus();
});
});
tn._jQueryInterface.call(p(e), o, this);
}), p.fn[Ue]=tn._jQueryInterface, p.fn[Ue].Constructor=tn, p.fn[Ue].noConflict=function(){
return p.fn[Ue]=qe, tn._jQueryInterface;
};
var en="tooltip", nn="bs.tooltip", on="." + nn, rn=p.fn[en], sn="bs-tooltip", an=new RegExp("(^|\\s)" + sn + "\\S+", "g"), ln={
animation: "boolean",
template: "string",
title: "(string|element|function)",
trigger: "string",
delay: "(number|object)",
html: "boolean",
selector: "(string|boolean)",
placement: "(string|function)",
offset: "(number|string)",
container: "(string|element|boolean)",
fallbackPlacement: "(string|array)",
boundary: "(string|element)"
}, cn={
AUTO: "auto",
TOP: "top",
RIGHT: "right",
BOTTOM: "bottom",
LEFT: "left"
}, hn={
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"
}, un="show", fn="out", dn={
HIDE: "hide" + on,
HIDDEN: "hidden" + on,
SHOW: "show" + on,
SHOWN: "shown" + on,
INSERTED: "inserted" + on,
CLICK: "click" + on,
FOCUSIN: "focusin" + on,
FOCUSOUT: "focusout" + on,
MOUSEENTER: "mouseenter" + on,
MOUSELEAVE: "mouseleave" + on
}, pn="fade", mn="show", gn=".tooltip-inner", _n=".arrow", vn="hover", En="focus", yn="click", bn="manual", Tn=function(){
function i(t, e){
if(void 0===fe) 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=t, this.config=this._getConfig(e), this.tip=null,
this._setListeners();
}
var t=i.prototype;
return t.enable=function(){
this._isEnabled = !0;
}, t.disable=function(){
this._isEnabled = !1;
}, t.toggleEnabled=function(){
this._isEnabled = !this._isEnabled;
}, t.toggle=function(t){
if(this._isEnabled) if(t){
var e=this.constructor.DATA_KEY, n=p(t.currentTarget).data(e);
n||(n=new this.constructor(t.currentTarget, this._getDelegateConfig()), p(t.currentTarget).data(e, n)),
n._activeTrigger.click = !n._activeTrigger.click, n._isWithActiveTrigger() ? n._enter(null, n):n._leave(null, n);
}else{
if(p(this.getTipElement()).hasClass(mn)) return void this._leave(null, this);
this._enter(null, this);
}}, t.dispose=function(){
clearTimeout(this._timeout), p.removeData(this.element, this.constructor.DATA_KEY),
p(this.element).off(this.constructor.EVENT_KEY), p(this.element).closest(".modal").off("hide.bs.modal"),
this.tip&&p(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;
}, t.show=function(){
var e=this;
if("none"===p(this.element).css("display")) throw new Error("Please use show on visible elements");
var t=p.Event(this.constructor.Event.SHOW);
if(this.isWithContent()&&this._isEnabled){
p(this.element).trigger(t);
var n=U.findShadowRoot(this.element), i=p.contains(null!==n ? n:this.element.ownerDocument.documentElement, this.element);
if(t.isDefaultPrevented()||!i) return;
var o=this.getTipElement(), r=U.getUID(this.constructor.NAME);
o.setAttribute("id", r), this.element.setAttribute("aria-describedby", r), this.setContent(),
this.config.animation&&p(o).addClass(pn);
var s="function"==typeof this.config.placement ? this.config.placement.call(this, o, this.element):this.config.placement, a=this._getAttachment(s);
this.addAttachmentClass(a);
var l=this._getContainer();
p(o).data(this.constructor.DATA_KEY, this), p.contains(this.element.ownerDocument.documentElement, this.tip)||p(o).appendTo(l),
p(this.element).trigger(this.constructor.Event.INSERTED), this._popper=new fe(this.element, o, {
placement: a,
modifiers: {
offset: {
offset: this.config.offset
},
flip: {
behavior: this.config.fallbackPlacement
},
arrow: {
element: _n
},
preventOverflow: {
boundariesElement: this.config.boundary
}},
onCreate: function(t){
t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t);
},
onUpdate: function(t){
return e._handlePopperPlacementChange(t);
}}), p(o).addClass(mn), "ontouchstart" in document.documentElement&&p(document.body).children().on("mouseover", null, p.noop);
var c=function(){
e.config.animation&&e._fixTransition();
var t=e._hoverState;
e._hoverState=null, p(e.element).trigger(e.constructor.Event.SHOWN), t===fn&&e._leave(null, e);
};
if(p(this.tip).hasClass(pn)){
var h=U.getTransitionDurationFromElement(this.tip);
p(this.tip).one(U.TRANSITION_END, c).emulateTransitionEnd(h);
} else c();
}}, t.hide=function(t){
var e=this, n=this.getTipElement(), i=p.Event(this.constructor.Event.HIDE), o=function(){
e._hoverState!==un&&n.parentNode&&n.parentNode.removeChild(n), e._cleanTipClass(),
e.element.removeAttribute("aria-describedby"), p(e.element).trigger(e.constructor.Event.HIDDEN),
null!==e._popper&&e._popper.destroy(), t&&t();
};
if(p(this.element).trigger(i), !i.isDefaultPrevented()){
if(p(n).removeClass(mn), "ontouchstart" in document.documentElement&&p(document.body).children().off("mouseover", null, p.noop),
this._activeTrigger[yn] = !1, this._activeTrigger[En] = !1, this._activeTrigger[vn] = !1,
p(this.tip).hasClass(pn)){
var r=U.getTransitionDurationFromElement(n);
p(n).one(U.TRANSITION_END, o).emulateTransitionEnd(r);
} else o();
this._hoverState="";
}}, t.update=function(){
null!==this._popper&&this._popper.scheduleUpdate();
}, t.isWithContent=function(){
return Boolean(this.getTitle());
}, t.addAttachmentClass=function(t){
p(this.getTipElement()).addClass(sn + "-" + t);
}, t.getTipElement=function(){
return this.tip=this.tip||p(this.config.template)[0], this.tip;
}, t.setContent=function(){
var t=this.getTipElement();
this.setElementContent(p(t.querySelectorAll(gn)), this.getTitle()), p(t).removeClass(pn + " " + mn);
}, t.setElementContent=function(t, e){
var n=this.config.html;
"object"==typeof e&&(e.nodeType||e.jquery) ? n ? p(e).parent().is(t)||t.empty().append(e):t.text(p(e).text()):t[n ? "html":"text"](e);
}, t.getTitle=function(){
var t=this.element.getAttribute("data-original-title");
return t||(t="function"==typeof this.config.title ? this.config.title.call(this.element):this.config.title),
t;
}, t._getContainer=function(){
return !1===this.config.container ? document.body:U.isElement(this.config.container) ? p(this.config.container):p(document).find(this.config.container);
}, t._getAttachment=function(t){
return cn[t.toUpperCase()];
}, t._setListeners=function(){
var i=this;
this.config.trigger.split(" ").forEach(function(t){
if("click"===t) p(i.element).on(i.constructor.Event.CLICK, i.config.selector, function(t){
return i.toggle(t);
});else if(t!==bn){
var e=t===vn ? i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN, n=t===vn ? i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;
p(i.element).on(e, i.config.selector, function(t){
return i._enter(t);
}).on(n, i.config.selector, function(t){
return i._leave(t);
});
}}), p(this.element).closest(".modal").on("hide.bs.modal", function(){
i.element&&i.hide();
}), this.config.selector ? this.config=l({}, this.config, {
trigger: "manual",
selector: ""
}):this._fixTitle();
}, t._fixTitle=function(){
var t=typeof this.element.getAttribute("data-original-title");
(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title", this.element.getAttribute("title")||""),
this.element.setAttribute("title", ""));
}, t._enter=function(t, e){
var n=this.constructor.DATA_KEY;
(e=e||p(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget, this._getDelegateConfig()),
p(t.currentTarget).data(n, e)), t&&(e._activeTrigger["focusin"===t.type ? En:vn] = !0),
p(e.getTipElement()).hasClass(mn)||e._hoverState===un ? e._hoverState=un:(clearTimeout(e._timeout),
e._hoverState=un, e.config.delay&&e.config.delay.show ? e._timeout=setTimeout(function(){
e._hoverState===un&&e.show();
}, e.config.delay.show):e.show());
}, t._leave=function(t, e){
var n=this.constructor.DATA_KEY;
(e=e||p(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget, this._getDelegateConfig()),
p(t.currentTarget).data(n, e)), t&&(e._activeTrigger["focusout"===t.type ? En:vn] = !1),
e._isWithActiveTrigger()||(clearTimeout(e._timeout), e._hoverState=fn, e.config.delay&&e.config.delay.hide ? e._timeout=setTimeout(function(){
e._hoverState===fn&&e.hide();
}, e.config.delay.hide):e.hide());
}, t._isWithActiveTrigger=function(){
for (var t in this._activeTrigger) if(this._activeTrigger[t]) return !0;
return !1;
}, t._getConfig=function(t){
return "number"==typeof (t=l({}, this.constructor.Default, p(this.element).data(), "object"==typeof t&&t ? t:{})).delay&&(t.delay={
show: t.delay,
hide: t.delay
}), "number"==typeof t.title&&(t.title=t.title.toString()), "number"==typeof t.content&&(t.content=t.content.toString()),
U.typeCheckConfig(en, t, this.constructor.DefaultType), t;
}, t._getDelegateConfig=function(){
var t={};
if(this.config) for (var e in this.config) this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);
return t;
}, t._cleanTipClass=function(){
var t=p(this.getTipElement()), e=t.attr("class").match(an);
null!==e&&e.length&&t.removeClass(e.join(""));
}, t._handlePopperPlacementChange=function(t){
var e=t.instance;
this.tip=e.popper, this._cleanTipClass(), this.addAttachmentClass(this._getAttachment(t.placement));
}, t._fixTransition=function(){
var t=this.getTipElement(), e=this.config.animation;
null===t.getAttribute("x-placement")&&(p(t).removeClass(pn), this.config.animation = !1,
this.hide(), this.show(), this.config.animation=e);
}, i._jQueryInterface=function(n){
return this.each(function(){
var t=p(this).data(nn), e="object"==typeof n&&n;
if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this, e), p(this).data(nn, t)),
"string"==typeof n)){
if(void 0===t[n]) throw new TypeError('No method named "' + n + '"');
t[n]();
}});
}, s(i, null, [ {
key: "VERSION",
get: function(){
return "4.2.1";
}}, {
key: "Default",
get: function(){
return hn;
}}, {
key: "NAME",
get: function(){
return en;
}}, {
key: "DATA_KEY",
get: function(){
return nn;
}}, {
key: "Event",
get: function(){
return dn;
}}, {
key: "EVENT_KEY",
get: function(){
return on;
}}, {
key: "DefaultType",
get: function(){
return ln;
}} ]), i;
}();
p.fn[en]=Tn._jQueryInterface, p.fn[en].Constructor=Tn, p.fn[en].noConflict=function(){
return p.fn[en]=rn, Tn._jQueryInterface;
};
var Cn="popover", wn="bs.popover", Sn="." + wn, In=p.fn[Cn], Dn="bs-popover", An=new RegExp("(^|\\s)" + Dn + "\\S+", "g"), On=l({}, Tn.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>'
}), Nn=l({}, Tn.DefaultType, {
content: "(string|element|function)"
}), Ln="fade", kn="show", Pn=".popover-header", xn=".popover-body", Hn={
HIDE: "hide" + Sn,
HIDDEN: "hidden" + Sn,
SHOW: "show" + Sn,
SHOWN: "shown" + Sn,
INSERTED: "inserted" + Sn,
CLICK: "click" + Sn,
FOCUSIN: "focusin" + Sn,
FOCUSOUT: "focusout" + Sn,
MOUSEENTER: "mouseenter" + Sn,
MOUSELEAVE: "mouseleave" + Sn
}, Rn=function(t){
function i(){
return t.apply(this, arguments)||this;
}
var e, n;
n=t, (e=i).prototype=Object.create(n.prototype), (e.prototype.constructor=e).__proto__=n;
var o=i.prototype;
return o.isWithContent=function(){
return this.getTitle()||this._getContent();
}, o.addAttachmentClass=function(t){
p(this.getTipElement()).addClass(Dn + "-" + t);
}, o.getTipElement=function(){
return this.tip=this.tip||p(this.config.template)[0], this.tip;
}, o.setContent=function(){
var t=p(this.getTipElement());
this.setElementContent(t.find(Pn), this.getTitle());
var e=this._getContent();
"function"==typeof e&&(e=e.call(this.element)), this.setElementContent(t.find(xn), e),
t.removeClass(Ln + " " + kn);
}, o._getContent=function(){
return this.element.getAttribute("data-content")||this.config.content;
}, o._cleanTipClass=function(){
var t=p(this.getTipElement()), e=t.attr("class").match(An);
null!==e&&0 < e.length&&t.removeClass(e.join(""));
}, i._jQueryInterface=function(n){
return this.each(function(){
var t=p(this).data(wn), e="object"==typeof n ? n:null;
if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this, e), p(this).data(wn, t)),
"string"==typeof n)){
if(void 0===t[n]) throw new TypeError('No method named "' + n + '"');
t[n]();
}});
}, s(i, null, [ {
key: "VERSION",
get: function(){
return "4.2.1";
}}, {
key: "Default",
get: function(){
return On;
}}, {
key: "NAME",
get: function(){
return Cn;
}}, {
key: "DATA_KEY",
get: function(){
return wn;
}}, {
key: "Event",
get: function(){
return Hn;
}}, {
key: "EVENT_KEY",
get: function(){
return Sn;
}}, {
key: "DefaultType",
get: function(){
return Nn;
}} ]), i;
}(Tn);
p.fn[Cn]=Rn._jQueryInterface, p.fn[Cn].Constructor=Rn, p.fn[Cn].noConflict=function(){
return p.fn[Cn]=In, Rn._jQueryInterface;
};
var Mn="scrollspy", jn="bs.scrollspy", Wn="." + jn, Fn=p.fn[Mn], Un={
offset: 10,
method: "auto",
target: ""
}, Kn={
offset: "number",
method: "string",
target: "(string|element)"
}, Bn={
ACTIVATE: "activate" + Wn,
SCROLL: "scroll" + Wn,
LOAD_DATA_API: "load" + Wn + ".data-api"
}, qn="dropdown-item", Vn="active", Qn={
DATA_SPY: '[data-spy="scroll"]',
ACTIVE: ".active",
NAV_LIST_GROUP: ".nav, .list-group",
NAV_LINKS: ".nav-link",
NAV_ITEMS: ".nav-item",
LIST_ITEMS: ".list-group-item",
DROPDOWN: ".dropdown",
DROPDOWN_ITEMS: ".dropdown-item",
DROPDOWN_TOGGLE: ".dropdown-toggle"
}, Yn="offset", Gn="position", Xn=function(){
function n(t, e){
var n=this;
this._element=t, this._scrollElement="BODY"===t.tagName ? window:t, this._config=this._getConfig(e),
this._selector=this._config.target + " " + Qn.NAV_LINKS + "," + this._config.target + " " + Qn.LIST_ITEMS + "," + this._config.target + " " + Qn.DROPDOWN_ITEMS,
this._offsets=[], this._targets=[], this._activeTarget=null, this._scrollHeight=0,
p(this._scrollElement).on(Bn.SCROLL, function(t){
return n._process(t);
}), this.refresh(), this._process();
}
var t=n.prototype;
return t.refresh=function(){
var e=this, t=this._scrollElement===this._scrollElement.window ? Yn:Gn, o="auto"===this._config.method ? t:this._config.method, r=o===Gn ? this._getScrollTop():0;
this._offsets=[], this._targets=[], this._scrollHeight=this._getScrollHeight(),
[].slice.call(document.querySelectorAll(this._selector)).map(function(t){
var e, n=U.getSelectorFromElement(t);
if(n&&(e=document.querySelector(n)), e){
var i=e.getBoundingClientRect();
if(i.width||i.height) return [ p(e)[o]().top + r, n ];
}
return null;
}).filter(function(t){
return t;
}).sort(function(t, e){
return t[0] - e[0];
}).forEach(function(t){
e._offsets.push(t[0]), e._targets.push(t[1]);
});
}, t.dispose=function(){
p.removeData(this._element, jn), p(this._scrollElement).off(Wn), this._element=null,
this._scrollElement=null, this._config=null, this._selector=null, this._offsets=null,
this._targets=null, this._activeTarget=null, this._scrollHeight=null;
}, t._getConfig=function(t){
if("string"!=typeof (t=l({}, Un, "object"==typeof t&&t ? t:{})).target){
var e=p(t.target).attr("id");
e||(e=U.getUID(Mn), p(t.target).attr("id", e)), t.target="#" + e;
}
return U.typeCheckConfig(Mn, t, Kn), t;
}, t._getScrollTop=function(){
return this._scrollElement===window ? this._scrollElement.pageYOffset:this._scrollElement.scrollTop;
}, t._getScrollHeight=function(){
return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);
}, t._getOffsetHeight=function(){
return this._scrollElement===window ? window.innerHeight:this._scrollElement.getBoundingClientRect().height;
}, t._process=function(){
var t=this._getScrollTop() + this._config.offset, e=this._getScrollHeight(), n=this._config.offset + e - this._getOffsetHeight();
if(this._scrollHeight!==e&&this.refresh(), n <=t){
var 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 (var o=this._offsets.length; o--;){
this._activeTarget!==this._targets[o]&&t >=this._offsets[o]&&(void 0===this._offsets[o + 1]||t < this._offsets[o + 1])&&this._activate(this._targets[o]);
}}
}, t._activate=function(e){
this._activeTarget=e, this._clear();
var t=this._selector.split(",").map(function(t){
return t + '[data-target="' + e + '"],' + t + '[href="' + e + '"]';
}), n=p([].slice.call(document.querySelectorAll(t.join(","))));
n.hasClass(qn) ? (n.closest(Qn.DROPDOWN).find(Qn.DROPDOWN_TOGGLE).addClass(Vn),
n.addClass(Vn)):(n.addClass(Vn), n.parents(Qn.NAV_LIST_GROUP).prev(Qn.NAV_LINKS + ", " + Qn.LIST_ITEMS).addClass(Vn),
n.parents(Qn.NAV_LIST_GROUP).prev(Qn.NAV_ITEMS).children(Qn.NAV_LINKS).addClass(Vn)),
p(this._scrollElement).trigger(Bn.ACTIVATE, {
relatedTarget: e
});
}, t._clear=function(){
[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){
return t.classList.contains(Vn);
}).forEach(function(t){
return t.classList.remove(Vn);
});
}, n._jQueryInterface=function(e){
return this.each(function(){
var t=p(this).data(jn);
if(t||(t=new n(this, "object"==typeof e&&e), p(this).data(jn, t)), "string"==typeof e){
if(void 0===t[e]) throw new TypeError('No method named "' + e + '"');
t[e]();
}});
}, s(n, null, [ {
key: "VERSION",
get: function(){
return "4.2.1";
}}, {
key: "Default",
get: function(){
return Un;
}} ]), n;
}();
p(window).on(Bn.LOAD_DATA_API, function(){
for (var t=[].slice.call(document.querySelectorAll(Qn.DATA_SPY)), e=t.length; e--;){
var n=p(t[e]);
Xn._jQueryInterface.call(n, n.data());
}}), p.fn[Mn]=Xn._jQueryInterface, p.fn[Mn].Constructor=Xn, p.fn[Mn].noConflict=function(){
return p.fn[Mn]=Fn, Xn._jQueryInterface;
};
var zn="bs.tab", Jn="." + zn, Zn=p.fn.tab, $n={
HIDE: "hide" + Jn,
HIDDEN: "hidden" + Jn,
SHOW: "show" + Jn,
SHOWN: "shown" + Jn,
CLICK_DATA_API: "click" + Jn + ".data-api"
}, ti="dropdown-menu", ei="active", ni="disabled", ii="fade", oi="show", ri=".dropdown", si=".nav, .list-group", ai=".active", li="> li > .active", ci='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', hi=".dropdown-toggle", ui="> .dropdown-menu .active", fi=function(){
function i(t){
this._element=t;
}
var t=i.prototype;
return t.show=function(){
var n=this;
if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&p(this._element).hasClass(ei)||p(this._element).hasClass(ni))){
var t, i, e=p(this._element).closest(si)[0], o=U.getSelectorFromElement(this._element);
if(e){
var r="UL"===e.nodeName||"OL"===e.nodeName ? li:ai;
i=(i=p.makeArray(p(e).find(r)))[i.length - 1];
}
var s=p.Event($n.HIDE, {
relatedTarget: this._element
}), a=p.Event($n.SHOW, {
relatedTarget: i
});
if(i&&p(i).trigger(s), p(this._element).trigger(a), !a.isDefaultPrevented()&&!s.isDefaultPrevented()){
o&&(t=document.querySelector(o)), this._activate(this._element, e);
var l=function(){
var t=p.Event($n.HIDDEN, {
relatedTarget: n._element
}), e=p.Event($n.SHOWN, {
relatedTarget: i
});
p(i).trigger(t), p(n._element).trigger(e);
};
t ? this._activate(t, t.parentNode, l):l();
}}
}, t.dispose=function(){
p.removeData(this._element, zn), this._element=null;
}, t._activate=function(t, e, n){
var i=this, o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName ? p(e).children(ai):p(e).find(li))[0], r=n&&o && p(o).hasClass(ii), s=function(){
return i._transitionComplete(t, o, n);
};
if(o&&r){
var a=U.getTransitionDurationFromElement(o);
p(o).removeClass(oi).one(U.TRANSITION_END, s).emulateTransitionEnd(a);
} else s();
}, t._transitionComplete=function(t, e, n){
if(e){
p(e).removeClass(ei);
var i=p(e.parentNode).find(ui)[0];
i&&p(i).removeClass(ei), "tab"===e.getAttribute("role")&&e.setAttribute("aria-selected", !1);
}
if(p(t).addClass(ei), "tab"===t.getAttribute("role")&&t.setAttribute("aria-selected", !0),
U.reflow(t), p(t).addClass(oi), t.parentNode&&p(t.parentNode).hasClass(ti)){
var o=p(t).closest(ri)[0];
if(o){
var r=[].slice.call(o.querySelectorAll(hi));
p(r).addClass(ei);
}
t.setAttribute("aria-expanded", !0);
}
n&&n();
}, i._jQueryInterface=function(n){
return this.each(function(){
var t=p(this), e=t.data(zn);
if(e||(e=new i(this), t.data(zn, e)), "string"==typeof n){
if(void 0===e[n]) throw new TypeError('No method named "' + n + '"');
e[n]();
}});
}, s(i, null, [ {
key: "VERSION",
get: function(){
return "4.2.1";
}} ]), i;
}();
p(document).on($n.CLICK_DATA_API, ci, function(t){
t.preventDefault(), fi._jQueryInterface.call(p(this), "show");
}), p.fn.tab=fi._jQueryInterface, p.fn.tab.Constructor=fi, p.fn.tab.noConflict=function(){
return p.fn.tab=Zn, fi._jQueryInterface;
};
var di="toast", pi="bs.toast", mi="." + pi, gi=p.fn[di], _i={
CLICK_DISMISS: "click.dismiss" + mi,
HIDE: "hide" + mi,
HIDDEN: "hidden" + mi,
SHOW: "show" + mi,
SHOWN: "shown" + mi
}, vi="fade", Ei="hide", yi="show", bi="showing", Ti={
animation: "boolean",
autohide: "boolean",
delay: "number"
}, Ci={
animation: !0,
autohide: !0,
delay: 500
}, wi='[data-dismiss="toast"]', Si=function(){
function i(t, e){
this._element=t, this._config=this._getConfig(e), this._timeout=null, this._setListeners();
}
var t=i.prototype;
return t.show=function(){
var t=this;
p(this._element).trigger(_i.SHOW), this._config.animation&&this._element.classList.add(vi);
var e=function(){
t._element.classList.remove(bi), t._element.classList.add(yi), p(t._element).trigger(_i.SHOWN),
t._config.autohide&&t.hide();
};
if(this._element.classList.remove(Ei), this._element.classList.add(bi), this._config.animation){
var n=U.getTransitionDurationFromElement(this._element);
p(this._element).one(U.TRANSITION_END, e).emulateTransitionEnd(n);
} else e();
}, t.hide=function(t){
var e=this;
this._element.classList.contains(yi)&&(p(this._element).trigger(_i.HIDE), t ? this._close():this._timeout=setTimeout(function(){
e._close();
}, this._config.delay));
}, t.dispose=function(){
clearTimeout(this._timeout), this._timeout=null, this._element.classList.contains(yi)&&this._element.classList.remove(yi),
p(this._element).off(_i.CLICK_DISMISS), p.removeData(this._element, pi), this._element=null,
this._config=null;
}, t._getConfig=function(t){
return t=l({}, Ci, p(this._element).data(), "object"==typeof t&&t ? t:{}),
U.typeCheckConfig(di, t, this.constructor.DefaultType), t;
}, t._setListeners=function(){
var t=this;
p(this._element).on(_i.CLICK_DISMISS, wi, function(){
return t.hide(!0);
});
}, t._close=function(){
var t=this, e=function(){
t._element.classList.add(Ei), p(t._element).trigger(_i.HIDDEN);
};
if(this._element.classList.remove(yi), this._config.animation){
var n=U.getTransitionDurationFromElement(this._element);
p(this._element).one(U.TRANSITION_END, e).emulateTransitionEnd(n);
} else e();
}, i._jQueryInterface=function(n){
return this.each(function(){
var t=p(this), e=t.data(pi);
if(e||(e=new i(this, "object"==typeof n&&n), t.data(pi, e)), "string"==typeof n){
if(void 0===e[n]) throw new TypeError('No method named "' + n + '"');
e[n](this);
}});
}, s(i, null, [ {
key: "VERSION",
get: function(){
return "4.2.1";
}}, {
key: "DefaultType",
get: function(){
return Ti;
}} ]), i;
}();
p.fn[di]=Si._jQueryInterface, p.fn[di].Constructor=Si, p.fn[di].noConflict=function(){
return p.fn[di]=gi, Si._jQueryInterface;
}, function(){
if(void 0===p) throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");
var t=p.fn.jquery.split(" ")[0].split(".");
if(t[0] < 2&&t[1] < 9||1===t[0]&&9===t[1]&&t[2] < 1||4 <=t[0]) throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");
}(), t.Util=U, t.Alert=z, t.Button=ut, t.Carousel=xt, t.Collapse=Xt, t.Dropdown=Fe,
t.Modal=tn, t.Popover=Rn, t.Scrollspy=Xn, t.Tab=fi, t.Toast=Si, t.Tooltip=Tn,
Object.defineProperty(t, "__esModule", {
value: !0
});
}), function(){
var t=-1 < navigator.userAgent.toLowerCase().indexOf("webkit"), e=-1 < navigator.userAgent.toLowerCase().indexOf("opera"), n=-1 < navigator.userAgent.toLowerCase().indexOf("msie");
(t||e || n)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange", function(){
var t, e=location.hash.substring(1);
/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),
t.focus());
}, !1);
}();