UNPKG

bootstrap-vue

Version:

BootstrapVue, with over 40 plugins and more than 80 custom components, custom directives, and over 300 icons, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-AR

10 lines 425 kB
/*! * BootstrapVue 2.4.1 * * @link https://bootstrap-vue.js.org * @source https://github.com/bootstrap-vue/bootstrap-vue * @copyright (c) 2016-2020 BootstrapVue * @license MIT * https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE */ "use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(exports,"__esModule",{value:!0});var e=t(require("vue")),i=require("vue-functional-data-merge"),a=t(require("popper.js")),n=require("portal-vue");function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function s(t,e,i){return e&&r(t.prototype,e),i&&r(t,i),t}function d(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function u(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(Object(i),!0).forEach((function(e){d(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function m(t,e,i){return(m=v()?Reflect.construct:function(t,e,i){var a=[null];a.push.apply(a,e);var n=new(Function.bind.apply(t,a));return i&&f(n,i.prototype),n}).apply(null,arguments)}function g(t){var e="function"==typeof Map?new Map:void 0;return(g=function(t){if(null===t||(i=t,-1===Function.toString.call(i).indexOf("[native code]")))return t;var i;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!=typeof e){if(e.has(t))return e.get(t);e.set(t,a)}function a(){return m(t,arguments,p(this).constructor)}return a.prototype=Object.create(t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),f(a,t)})(t)}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?b(t):e}function B(t,e,i){return(B="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var a=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(a){var n=Object.getOwnPropertyDescriptor(a,e);return n.get?n.get.call(i):n.value}})(t,e,i||t)}function S(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var x,T,z=function(){return Array.from.apply(Array,arguments)},w=function(t){return Array.isArray(t)},I=function(t,e){return-1!==t.indexOf(e)},C=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return Array.prototype.concat.apply([],e)},k=function(){return Object.assign.apply(Object,arguments)},M=function(t,e){return Object.create(t,e)},V=function(t,e){return Object.defineProperties(t,e)},A=function(t,e,i){return Object.defineProperty(t,e,i)},F=function(t){return Object.freeze(t)},H=function(t){return Object.getOwnPropertyNames(t)},$=function(t){return Object.keys(t)},_=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},L=function(t){return null!==t&&"object"===o(t)},P=function(t){return"[object Object]"===Object.prototype.toString.call(t)},D=function(t){return c({},t)},O=function(t,e){return $(t).filter((function(t){return-1===e.indexOf(t)})).reduce((function(e,i){return c({},e,d({},i,t[i]))}),{})},E="undefined"!=typeof window,R="undefined"!=typeof document,N="undefined"!=typeof navigator,G="undefined"!=typeof Promise,j="undefined"!=typeof MutationObserver||"undefined"!=typeof WebKitMutationObserver||"undefined"!=typeof MozMutationObserver,U=E&&R&&N,W=U?window.navigator.userAgent.toLowerCase():"",q=W.indexOf("jsdom")>0,K=(/msie|trident/.test(W),function(){var t=!1;if(U)try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t}()),X=U&&("ontouchstart"in document.documentElement||navigator.maxTouchPoints>0),J=U&&Boolean(window.PointerEvent||window.MSPointerEvent),Q=U&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,Z=function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i="undefined"!=typeof process&&process&&process.env||{};return t?i[t]||e:i}("BOOTSTRAP_VUE_NO_WARN")},Y=E?window:{},tt=E?Y.Element:function(t){function Element(){return l(this,Element),y(this,p(Element).apply(this,arguments))}return h(Element,g(Object)),Element}(),HTMLElement=E?Y.HTMLElement:function(t){function HTMLElement(){return l(this,HTMLElement),y(this,p(HTMLElement).apply(this,arguments))}return h(HTMLElement,tt),HTMLElement}(),SVGElement=E?Y.SVGElement:function(t){function SVGElement(){return l(this,SVGElement),y(this,p(SVGElement).apply(this,arguments))}return h(SVGElement,tt),SVGElement}(),et=E?Y.File:function(t){function e(){return l(this,e),y(this,p(e).apply(this,arguments))}return h(e,g(Object)),e}(),it=function(t){return o(t)},at=function(t){return void 0===t},nt=function(t){return null===t},ot=function(t){return at(t)||nt(t)},lt=function(t){return"function"===it(t)},rt=function(t){return"boolean"===it(t)},st=function(t){return"string"===it(t)},dt=function(t){return"number"===it(t)},ut=function(t){return t instanceof Date},ct=function(t){return t instanceof Event},ht=function(t){return t instanceof et},pt=function(t){return"RegExp"===function(t){return Object.prototype.toString.call(t).slice(8,-1)}(t)},ft=function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return w(e)?e.reduce((function(e,i){return[].concat(S(e),[t(i,i)])}),[]):P(e)?$(e).reduce((function(i,a){return c({},i,d({},a,t(e[a],e[a])))}),{}):i},vt=function(t){return t},mt=/\[(\d+)]/g,gt=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!(e=w(e)?e.join("."):e)||!L(t))return i;if(e in t)return t[e];var a=(e=String(e).replace(mt,".$1")).split(".").filter(vt);return 0===a.length?i:a.every((function(e){return L(t)&&e in t&&null!=(t=t[e])}))?t:i},bt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Z()||console.warn("[BootstrapVue warn]: ".concat(e?"".concat(e," - "):"").concat(t))},yt=function(t){return!U&&(bt("".concat(t,": Can not be called during SSR.")),!0)},Bt=function(t){return!G&&(bt("".concat(t,": Requires Promise support.")),!0)},St=function t(e){return $(e).forEach((function(i){var a=e[i];e[i]=a&&(P(a)||w(a))?t(a):a})),F(e)}({breakpoints:["xs","sm","md","lg","xl"],formControls:{size:null},BAlert:{dismissLabel:"Close",variant:"info"},BBadge:{variant:"secondary"},BButton:{size:null,variant:"secondary"},BButtonClose:{content:"&times;",textVariant:null,ariaLabel:"Close"},BCardSubTitle:{subTitleTextVariant:"muted"},BCarousel:{labelPrev:"Previous Slide",labelNext:"Next Slide",labelGotoSlide:"Goto Slide",labelIndicators:"Select a slide to display"},BDropdown:{toggleText:"Toggle Dropdown",size:null,variant:"secondary",splitVariant:null},BFormFile:{browseText:"Browse",placeholder:"No file chosen",dropPlaceholder:"Drop files here"},BFormTag:{removeLabel:"Remove tag",variant:"secondary"},BFormTags:{addButtonText:"Add",addButtonVariant:"outline-secondary",duplicateTagText:"Duplicate tag(s)",invalidTagText:"Invalid tag(s)",placeholder:"Add tag...",tagRemoveLabel:"Remove tag",tagVariant:"secondary"},BFormText:{textVariant:"muted"},BImg:{blankColor:"transparent"},BImgLazy:{blankColor:"transparent"},BInputGroup:{size:null},BJumbotron:{bgVariant:null,borderVariant:null,textVariant:null},BListGroupItem:{variant:null},BModal:{titleTag:"h5",size:"md",headerBgVariant:null,headerBorderVariant:null,headerTextVariant:null,headerCloseVariant:null,bodyBgVariant:null,bodyTextVariant:null,footerBgVariant:null,footerBorderVariant:null,footerTextVariant:null,cancelTitle:"Cancel",cancelVariant:"secondary",okTitle:"OK",okVariant:"primary",headerCloseContent:"&times;",headerCloseLabel:"Close"},BNavbar:{variant:null},BNavbarToggle:{label:"Toggle navigation"},BPagination:{size:null},BPaginationNav:{size:null},BPopover:{boundary:"scrollParent",boundaryPadding:5,customClass:null,delay:50,variant:null},BProgress:{variant:null},BProgressBar:{variant:null},BSpinner:{variant:null},BTable:{selectedVariant:"active",headVariant:null,footVariant:null},BToast:{toaster:"b-toaster-top-right",autoHideDelay:5e3,variant:null,toastClass:null,headerClass:null,bodyClass:null},BToaster:{ariaLive:null,ariaAtomic:null,role:null},BTooltip:{boundary:"scrollParent",boundaryPadding:5,customClass:null,delay:50,variant:null}}),xt="BvConfig",Tt=function(){function t(){l(this,t),this.$_config={},this.$_cachedBreakpoints=null}return s(t,[{key:"getDefaults",value:function(){return this.defaults}},{key:"setConfig",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(P(e)){var i=H(e);i.forEach((function(i){if(_(St,i)){var a=e[i];if("breakpoints"===i){var n=e.breakpoints;!w(n)||n.length<2||n.some((function(t){return!st(t)||0===t.length}))?bt('"breakpoints" must be an array of at least 2 breakpoint names',xt):t.$_config.breakpoints=ft(n)}else if(P(a)){H(a).forEach((function(e){_(St[i],e)?(t.$_config[i]=t.$_config[i]||{},at(a[e])||(t.$_config[i][e]=ft(a[e]))):bt('Unknown config property "'.concat(i,".").concat(e,'"'),xt)}))}}else bt('Unknown config property "'.concat(i,'"'),xt)}))}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return ft(this.$_config)}},{key:"getConfigValue",value:function(t){return ft(gt(this.$_config,t,gt(St,t)))}},{key:"defaults",get:function(){return St}}],[{key:"Defaults",get:function(){return St}}]),t}(),zt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;i.prototype.$bvConfig=e.prototype.$bvConfig=i.prototype.$bvConfig||e.prototype.$bvConfig||new Tt,i.prototype.$bvConfig.setConfig(t)},wt=(x=!1,T=["Multiple instances of Vue detected!","You may need to set up an alias for Vue in your bundler config.","See: https://bootstrap-vue.js.org/docs#using-module-bundlers"].join("\n"),function(t){x||e===t||q||bt(T),x=!0}),It=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.components,i=t.directives,a=t.plugins,n=function t(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.installed||(t.installed=!0,wt(n),zt(o,n),Ft(n,e),$t(n,i),Vt(n,a))};return n.installed=!1,n},Ct=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.components,i=t.directives,a=t.plugins,n=function t(n){t.installed||(t.installed=!0,wt(n),Ft(n,e),$t(n,i),Vt(n,a))};return n.installed=!1,n},kt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c({},e,{install:It(t)})},Mt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c({},e,{install:Ct(t)})},Vt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in e)i&&e[i]&&t.use(e[i])},At=function(t,e,i){t&&e&&i&&t.component(e,i)},Ft=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in e)At(t,i,e[i])},Ht=function(t,e,i){t&&e&&i&&t.directive(e.replace(/^VB/,"B"),i)},$t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in e)Ht(t,i,e[i])},_t=function(t){var e=M(null);return function(){for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];var o=JSON.stringify(a);return e[o]=e[o]||t.apply(null,a)}},Lt=e.prototype,Pt=function(t){return Lt.$bvConfig?Lt.$bvConfig.getConfigValue(t):ft(gt(St,t))},Dt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e?Pt("".concat(t,".").concat(e)):Pt(t)||{}},Ot=function(){return Pt("breakpoints")},Et=_t((function(){return Ot()})),Rt=_t((function(){var t=ft(Et());return t[0]="",t})),Nt=E?window:{},Gt=R?document:{},jt="undefined"!=typeof Element?Element.prototype:{},Ut=jt.matches||jt.msMatchesSelector||jt.webkitMatchesSelector,Wt=jt.closest||function(t){var e=this;do{if(ne(e,t))return e;e=e.parentElement||e.parentNode}while(!nt(e)&&e.nodeType===Node.ELEMENT_NODE);return null},qt=Nt.requestAnimationFrame||Nt.webkitRequestAnimationFrame||Nt.mozRequestAnimationFrame||Nt.msRequestAnimationFrame||Nt.oRequestAnimationFrame||function(t){return setTimeout(t,16)},Kt=Nt.MutationObserver||Nt.WebKitMutationObserver||Nt.MozMutationObserver||null,Xt=function(t){return K?L(t)?t:{useCapture:!!t||!1}:!!(L(t)?t.useCapture:t)},Jt=function(t,e,i,a){t&&t.addEventListener&&t.addEventListener(e,i,Xt(a))},Qt=function(t,e,i,a){t&&t.removeEventListener&&t.removeEventListener(e,i,Xt(a))},Zt=function(t){return!(!t||t.nodeType!==Node.ELEMENT_NODE)},Yt=function(t){if(!Zt(t)||!t.parentNode||!le(Gt.body,t))return!1;if("none"===t.style.display)return!1;var e=ve(t);return!!(e&&e.height>0&&e.width>0)},te=function(t){return!Zt(t)||t.disabled||fe(t,"disabled")||ue(t,"disabled")},ee=function(t){return Zt(t)&&t.offsetHeight},ie=function(t,e){return z((Zt(e)?e:Gt).querySelectorAll(t))},ae=function(t,e){return(Zt(e)?e:Gt).querySelector(t)||null},ne=function(t,e){return!!Zt(t)&&Ut.call(t,e)},oe=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!Zt(e))return null;var a=Wt.call(e,t);return i?a:a===e?null:a},le=function(t,e){return!(!t||!lt(t.contains))&&t.contains(e)},re=function(t){return Gt.getElementById(/^#/.test(t)?t.slice(1):t)||null},se=function(t,e){e&&Zt(t)&&t.classList&&t.classList.add(e)},de=function(t,e){e&&Zt(t)&&t.classList&&t.classList.remove(e)},ue=function(t,e){return!!(e&&Zt(t)&&t.classList)&&t.classList.contains(e)},ce=function(t,e,i){e&&Zt(t)&&t.setAttribute(e,i)},he=function(t,e){e&&Zt(t)&&t.removeAttribute(e)},pe=function(t,e){return e&&Zt(t)?t.getAttribute(e):null},fe=function(t,e){return e&&Zt(t)?t.hasAttribute(e):null},ve=function(t){return Zt(t)?t.getBoundingClientRect():null},me=function(t){return E&&Zt(t)?Nt.getComputedStyle(t):{}},ge=function(){return E&&Nt.getSelection?Nt.getSelection():null},be=function(t){var e={top:0,left:0};if(!Zt(t)||0===t.getClientRects().length)return e;var i=ve(t);if(i){var a=t.ownerDocument.defaultView;e.top=i.top+a.pageYOffset,e.left=i.left+a.pageXOffset}return e},ye=function(t){var e={top:0,left:0};if(!Zt(t))return e;var i={top:0,left:0},a=me(t);if("fixed"===a.position)e=ve(t)||e;else{e=be(t);for(var n=t.ownerDocument,o=t.offsetParent||n.documentElement;o&&(o===n.body||o===n.documentElement)&&"static"===me(o).position;)o=o.parentNode;if(o&&o!==t&&o.nodeType===Node.ELEMENT_NODE){i=be(o);var l=me(o);i.top+=parseFloat(l.borderTopWidth),i.left+=parseFloat(l.borderLeftWidth)}}return{top:e.top-i.top-parseFloat(a.marginTop),left:e.left-i.left-parseFloat(a.marginLeft)}},Be=function(t){return parseInt(t,10)},Se=function(t){return parseFloat(t)},xe=function(t,e){return Se(t).toFixed(Be(e)||0)},Te={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},ze=c({},Te,{enterActiveClass:"fade",leaveActiveClass:"fade"}),we=e.extend({name:"BVTransition",functional:!0,props:{noFade:{type:Boolean,default:!1},appear:{type:Boolean,default:!1},mode:{type:String},transProps:{type:Object,default:null}},render:function(t,e){var a=e.children,n=e.data,o=(e.listeners,e.props),l=o.transProps;return P(l)||(l=o.noFade?Te:ze,o.appear&&(l=c({},l,{appear:!0,appearClass:l.enterClass,appearActiveClass:l.enterActiveClass,appearToClass:l.enterToClass}))),l=c({mode:o.mode},l,{css:!0}),t("transition",i.mergeData(n,{props:l}),a)}}),Ie=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(t=C(t).filter(vt)).some((function(t){return e[t]||i[t]}))},Ce=function(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t=C(t).filter(vt);for(var o=0;o<t.length&&!e;o++){var l=t[o];e=a[l]||n[l]}return lt(e)?e(i):e},ke={methods:{hasNormalizedSlot:function(t){return Ie(t,this.$scopedSlots,this.$slots)},normalizeSlot:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Ce(t,e,this.$scopedSlots,this.$slots);return i?C(i):i}}},Me="BButtonClose",Ve={content:{type:String,default:function(){return Dt(Me,"content")}},disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:function(){return Dt(Me,"ariaLabel")}},textVariant:{type:String,default:function(){return Dt(Me,"textVariant")}}},Ae=e.extend({name:Me,functional:!0,props:Ve,render:function(t,e){var a=e.props,n=e.data,o=(e.listeners,e.slots),l=e.scopedSlots,r=o(),s=l||{},u={staticClass:"close",class:d({},"text-".concat(a.textVariant),a.textVariant),attrs:{type:"button",disabled:a.disabled,"aria-label":a.ariaLabel?String(a.ariaLabel):null},on:{click:function(t){a.disabled&&ct(t)&&(t.stopPropagation(),t.preventDefault())}}};return Ie("default",s,r)||(u.domProps={innerHTML:a.content}),t("button",i.mergeData(n,u),Ce("default",{},s,r))}}),Fe=function(t){return""===t||rt(t)?0:(t=Be(t))>0?t:0},He=function(t){return""===t||!0===t||!(Be(t)<1)&&!!t},$e=function(t){return!isNaN(Be(t))},_e=e.extend({name:"BAlert",mixins:[ke],model:{prop:"show",event:"input"},props:{variant:{type:String,default:function(){return Dt("BAlert","variant")}},dismissible:{type:Boolean,default:!1},dismissLabel:{type:String,default:function(){return Dt("BAlert","dismissLabel")}},show:{type:[Boolean,Number,String],default:!1},fade:{type:Boolean,default:!1}},data:function(){return{countDownTimerId:null,countDown:0,localShow:He(this.show)}},watch:{show:function(t){this.countDown=Fe(t),this.localShow=He(t)},countDown:function(t){var e=this;this.clearTimer(),$e(this.show)&&(this.$emit("dismiss-count-down",t),this.show!==t&&this.$emit("input",t),t>0?(this.localShow=!0,this.countDownTimerId=setTimeout((function(){e.countDown--}),1e3)):this.$nextTick((function(){qt((function(){e.localShow=!1}))})))},localShow:function(t){t||!this.dismissible&&!$e(this.show)||this.$emit("dismissed"),$e(this.show)||this.show===t||this.$emit("input",t)}},created:function(){this.countDown=Fe(this.show),this.localShow=He(this.show)},mounted:function(){this.countDown=Fe(this.show),this.localShow=He(this.show)},beforeDestroy:function(){this.clearTimer()},methods:{dismiss:function(){this.clearTimer(),this.countDown=0,this.localShow=!1},clearTimer:function(){this.countDownTimerId&&(clearInterval(this.countDownTimerId),this.countDownTimerId=null)}},render:function(t){var e;if(this.localShow){var i=t();this.dismissible&&(i=t(Ae,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot("dismiss")])),e=[e=t("div",{key:this._uid,staticClass:"alert",class:d({"alert-dismissible":this.dismissible},"alert-".concat(this.variant),this.variant),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0}},[i,this.normalizeSlot("default")])]}return t(we,{props:{noFade:!this.fade}},e)}}),Le=kt({components:{BAlert:_e}}),Pe=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:vt;return(w(t)?t.slice():$(t)).reduce((function(t,a){return t[i(a)]=e[a],t}),{})},De=/^\s+/,Oe=/[-/\\^$*+?.()|[\]{}]/g,Ee=/-(\w)/g,Re=/\B([A-Z])/g,Ne=function(t){return t.replace(Re,"-$1").toLowerCase()},Ge=function(t){return(t=Ne(t).replace(Ee,(function(t,e){return e?e.toUpperCase():""}))).charAt(0).toUpperCase()+t.slice(1)},je=function(t){return(t=st(t)?t.trim():String(t)).charAt(0).toUpperCase()+t.slice(1)},Ue=function(t){return t.replace(Oe,"\\$&")},We=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return ot(t)?"":w(t)||P(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},qe=function(t){return We(t).trim()},Ke=function(t){return We(t).toLowerCase()},Xe=/%2C/g,Je=/[!'()*]/g,Qe=/\+/g,Ze=/^(\?|#|&)/,Ye=function(t){return"%"+t.charCodeAt(0).toString(16)},ti=function(t){return encodeURIComponent(We(t)).replace(Je,Ye).replace(Xe,",")},ei=decodeURIComponent,ii=function(t){if(!P(t))return"";var e=$(t).map((function(e){var i=t[e];return at(i)?"":nt(i)?ti(e):w(i)?i.reduce((function(t,i){return nt(i)?t.push(ti(e)):at(i)||t.push(ti(e)+"="+ti(i)),t}),[]).join("&"):ti(e)+"="+ti(i)})).filter((function(t){return t.length>0})).join("&");return e?"?".concat(e):""},ai=function(t){var e={};return(t=We(t).trim().replace(Ze,""))?(t.split("&").forEach((function(t){var i=t.replace(Qe," ").split("="),a=ei(i.shift()),n=i.length>0?ei(i.join("=")):null;at(e[a])?e[a]=n:w(e[a])?e[a].push(n):e[a]=[e[a],n]})),e):e},ni=function(t){return"a"!==We(t).toLowerCase()},oi=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.href,i=t.to,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(ni(a))return null;if(e)return e;if(i){if(st(i))return i||o;if(P(i)&&(i.path||i.query||i.hash)){var l=We(i.path),r=ii(i.query),s=We(i.hash);return s=s&&"#"!==s.charAt(0)?"#".concat(s):s,"".concat(l).concat(r).concat(s)||o}}return n},li=function(){return{href:{type:String,default:null},rel:{type:String,default:null},target:{type:String,default:"_self"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{type:[String,Object],default:null},append:{type:Boolean,default:!1},replace:{type:Boolean,default:!1},event:{type:[String,Array],default:"click"},activeClass:{type:String},exact:{type:Boolean,default:!1},exactActiveClass:{type:String},routerTag:{type:String,default:"a"},noPrefetch:{type:Boolean,default:!1}}},ri=e.extend({name:"BLink",mixins:[ke],inheritAttrs:!1,props:li(),computed:{computedTag:function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.to,i=t.disabled,a=arguments.length>1?arguments[1]:void 0;return a.$router&&e&&!i?a.$nuxt?"nuxt-link":"router-link":"a"}({to:this.to,disabled:this.disabled},this)},isRouterLink:function(){return ni(this.computedTag)},computedRel:function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,i=t.rel;return"_blank"===e&&nt(i)?"noopener":i||null}({target:this.target,rel:this.rel})},computedHref:function(){return oi({to:this.to,href:this.href},this.computedTag)},computedProps:function(){return this.isRouterLink?c({},this.$props,{tag:this.routerTag}):{}}},methods:{onClick:function(t){var e=arguments,i=ct(t),a=this.isRouterLink,n=this.$listeners.click;i&&this.disabled?(t.stopPropagation(),t.stopImmediatePropagation()):(a&&t.currentTarget.__vue__&&t.currentTarget.__vue__.$emit("click",t),C(n).filter((function(t){return lt(t)})).forEach((function(t){t.apply(void 0,S(e))})),this.$root.$emit("clicked::link",t)),i&&(this.disabled||!a&&"#"===this.computedHref)&&t.preventDefault()},focus:function(){this.$el&&this.$el.focus&&this.$el.focus()},blur:function(){this.$el&&this.$el.blur&&this.$el.blur()}},render:function(t){var e=this.computedTag,i=this.computedRel,a=this.computedHref,n=this.isRouterLink,o={class:{active:this.active,disabled:this.disabled},attrs:c({},this.$attrs,{rel:i,target:this.target,tabindex:this.disabled?"-1":at(this.$attrs.tabindex)?null:this.$attrs.tabindex,"aria-disabled":this.disabled?"true":null}),props:this.computedProps};return o[n?"nativeOn":"on"]=c({},this.$listeners,{click:this.onClick}),a?o.attrs.href=a:delete o.props.href,t(e,o,this.normalizeSlot("default"))}}),si=li();delete si.href.default,delete si.to.default;var di=c({},si,{tag:{type:String,default:"span"},variant:{type:String,default:function(){return Dt("BBadge","variant")}},pill:{type:Boolean,default:!1}}),ui=e.extend({name:"BBadge",functional:!0,props:di,render:function(t,e){var a=e.props,n=e.data,o=e.children,l=a.href||a.to,r=l?ri:a.tag,s={staticClass:"badge",class:[a.variant?"badge-".concat(a.variant):"badge-secondary",{"badge-pill":a.pill,active:a.active,disabled:a.disabled}],props:l?Pe(si,a):{}};return t(r,i.mergeData(n,s),o)}}),ci=kt({components:{BBadge:ui}}),hi=/(<([^>]+)>)/gi,pi=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(hi,"")},fi=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}},vi=c({},li(),{text:{type:String,default:null},html:{type:String,default:null},ariaCurrent:{type:String,default:"location"}}),mi=e.extend({name:"BBreadcrumbLink",functional:!0,props:vi,render:function(t,e){var a=e.props,n=e.data,o=e.children,l=a.active?"span":ri,r={props:Pe(vi,a)};return a.active&&(r.attrs={"aria-current":a.ariaCurrent}),o||(r.domProps=fi(a.html,a.text)),t(l,i.mergeData(n,r),o)}}),gi=e.extend({name:"BBreadcrumbItem",functional:!0,props:vi,render:function(t,e){var a=e.props,n=e.data,o=e.children;return t("li",i.mergeData(n,{staticClass:"breadcrumb-item",class:{active:a.active}}),[t(mi,{props:a},o)])}}),bi={items:{type:Array,default:null}},yi=e.extend({name:"BBreadcrumb",functional:!0,props:bi,render:function(t,e){var a=e.props,n=e.data,o=e.children;if(w(a.items)){var l=!1;o=a.items.map((function(e,i){L(e)||(e={text:We(e)});var n=e.active;return n&&(l=!0),n||l||(n=i+1===a.items.length),t(gi,{props:c({},e,{active:n})})}))}return t("ol",i.mergeData(n,{staticClass:"breadcrumb"}),o)}}),Bi=kt({components:{BBreadcrumb:yi,BBreadcrumbItem:gi,BBreadcrumbLink:mi}}),Si={block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String,default:function(){return Dt("BButton","size")}},variant:{type:String,default:function(){return Dt("BButton","variant")}},type:{type:String,default:"button"},tag:{type:String,default:"button"},pill:{type:Boolean,default:!1},squared:{type:Boolean,default:!1},pressed:{type:Boolean,default:null}},xi=li();delete xi.href.default,delete xi.to.default;var Ti=$(xi),zi=c({},xi,{},Si),wi=function(t,e){return We(t).toLowerCase()===We(e).toLowerCase()},Ii=function(t){"focusin"===t.type?se(t.target,"focus"):"focusout"===t.type&&de(t.target,"focus")},Ci=function(t){return t.href||t.to||wi(t.tag,"a")},ki=function(t){return rt(t.pressed)},Mi=function(t){return!(Ci(t)||t.tag&&!wi(t.tag,"button"))},Vi=function(t){var e;return["btn-".concat(t.variant||Dt("BButton","variant")),(e={},d(e,"btn-".concat(t.size),t.size),d(e,"btn-block",t.block),d(e,"rounded-pill",t.pill),d(e,"rounded-0",t.squared&&!t.pill),d(e,"disabled",t.disabled),d(e,"active",t.pressed),e)]},Ai=function(t){return Ci(t)?Pe(Ti,t):null},Fi=function(t,e){var i=Mi(t),a=Ci(t),n=ki(t),o=function(t){return!Ci(t)&&!Mi(t)}(t),l=e.attrs&&e.attrs.role?e.attrs.role:null,r=e.attrs?e.attrs.tabindex:null;return o&&(r="0"),{type:i&&!a?t.type:null,disabled:i?t.disabled:null,role:o?"button":l,"aria-disabled":o?String(t.disabled):null,"aria-pressed":n?String(t.pressed):null,autocomplete:n?"off":null,tabindex:t.disabled&&!i?"-1":r}},Hi=e.extend({name:"BButton",functional:!0,props:zi,render:function(t,e){var a=e.props,n=e.data,o=e.listeners,l=e.children,r=ki(a),s=Ci(a),d={click:function(t){a.disabled&&ct(t)?(t.stopPropagation(),t.preventDefault()):r&&o&&o["update:pressed"]&&C(o["update:pressed"]).forEach((function(t){lt(t)&&t(!a.pressed)}))}};r&&(d.focusin=Ii,d.focusout=Ii);var u={staticClass:"btn",class:Vi(a),props:Ai(a),attrs:Fi(a,n),on:d};return t(s?ri:a.tag,i.mergeData(n,u),l)}}),$i=kt({components:{BButton:Hi,BBtn:Hi,BButtonClose:Ae,BBtnClose:Ae}}),_i={vertical:{type:Boolean,default:!1},size:{type:String,default:function(){return Dt("BButton","size")}},tag:{type:String,default:"div"},ariaRole:{type:String,default:"group"}},Li=e.extend({name:"BButtonGroup",functional:!0,props:_i,render:function(t,e){var a=e.props,n=e.data,o=e.children;return t(a.tag,i.mergeData(n,{class:d({"btn-group":!a.vertical,"btn-group-vertical":a.vertical},"btn-group-".concat(a.size),a.size),attrs:{role:a.ariaRole}}),o)}}),Pi=kt({components:{BButtonGroup:Li,BBtnGroup:Li}}),Di=F({SPACE:32,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,PAGEUP:33,PAGEDOWN:34,HOME:36,END:35,TAB:9,SHIFT:16,CTRL:17,BACKSPACE:8,ALT:18,PAUSE:19,BREAK:19,INSERT:45,INS:45,DELETE:46}),Oi=[".btn:not(.disabled):not([disabled]):not(.dropdown-item)",".form-control:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])",'input[type="checkbox"]:not(.disabled)','input[type="radio"]:not(.disabled)'].join(","),Ei=e.extend({name:"BButtonToolbar",mixins:[ke],props:{justify:{type:Boolean,default:!1},keyNav:{type:Boolean,default:!1}},mounted:function(){this.keyNav&&this.getItems()},methods:{onFocusin:function(t){t.target===this.$el&&(t.preventDefault(),t.stopPropagation(),this.focusFirst(t))},stop:function(t){t.preventDefault(),t.stopPropagation()},onKeydown:function(t){if(this.keyNav){var e=t.keyCode,i=t.shiftKey;e===Di.UP||e===Di.LEFT?(this.stop(t),i?this.focusFirst(t):this.focusPrev(t)):e!==Di.DOWN&&e!==Di.RIGHT||(this.stop(t),i?this.focusLast(t):this.focusNext(t))}},setItemFocus:function(t){t&&t.focus&&t.focus()},focusFirst:function(t){var e=this.getItems();this.setItemFocus(e[0])},focusPrev:function(t){var e=this.getItems(),i=e.indexOf(t.target);i>-1&&(e=e.slice(0,i).reverse(),this.setItemFocus(e[0]))},focusNext:function(t){var e=this.getItems(),i=e.indexOf(t.target);i>-1&&(e=e.slice(i+1),this.setItemFocus(e[0]))},focusLast:function(t){var e=this.getItems().reverse();this.setItemFocus(e[0])},getItems:function(){var t=ie(Oi,this.$el);return t.forEach((function(t){t.tabIndex=-1})),t.filter((function(t){return Yt(t)}))}},render:function(t){return t("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:this.keyNav?"0":null},on:this.keyNav?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot("default")])}}),Ri=kt({components:{BButtonToolbar:Ei,BBtnToolbar:Ei}}),Ni=function(t,e){return t+je(e)},Gi=function(t,e){return i=e.replace(t,""),(i=st(i)?i.trim():String(i)).charAt(0).toLowerCase()+i.slice(1);var i},ji=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vt;if(w(t))return t.map(e);var i={};for(var a in t)t.hasOwnProperty(a)&&(i[e(a)]=L(t[a])?D(t[a]):t[a]);return i},Ui={props:{tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}}},Wi={title:{type:String,default:""},titleTag:{type:String,default:"h4"}},qi=e.extend({name:"BCardTitle",functional:!0,props:Wi,render:function(t,e){var a=e.props,n=e.data,o=e.children;return t(a.titleTag,i.mergeData(n,{staticClass:"card-title"}),o||a.title)}}),Ki={subTitle:{type:String,default:""},subTitleTag:{type:String,default:"h6"},subTitleTextVariant:{type:String,default:function(){return Dt("BCardSubTitle","subTitleTextVariant")}}},Xi=e.extend({name:"BCardSubTitle",functional:!0,props:Ki,render:function(t,e){var a=e.props,n=e.data,o=e.children;return t(a.subTitleTag,i.mergeData(n,{staticClass:"card-subtitle",class:[a.subTitleTextVariant?"text-".concat(a.subTitleTextVariant):null]}),o||a.subTitle)}}),Ji=c({},ji(Ui.props,Ni.bind(null,"body")),{bodyClass:{type:[String,Object,Array],default:null}},Wi,{},Ki,{overlay:{type:Boolean,default:!1}}),Qi=e.extend({name:"BCardBody",functional:!0,props:Ji,render:function(t,e){var a,n=e.props,o=e.data,l=e.children,r=t(),s=t(),u=l||[t()];return n.title&&(r=t(qi,{props:Pe(Wi,n)})),n.subTitle&&(s=t(Xi,{props:Pe(Ki,n),class:["mb-2"]})),t(n.bodyTag,i.mergeData(o,{staticClass:"card-body",class:[(a={"card-img-overlay":n.overlay},d(a,"bg-".concat(n.bodyBgVariant),n.bodyBgVariant),d(a,"border-".concat(n.bodyBorderVariant),n.bodyBorderVariant),d(a,"text-".concat(n.bodyTextVariant),n.bodyTextVariant),a),n.bodyClass||{}]}),[r,s].concat(S(u)))}}),Zi=c({},ji(Ui.props,Ni.bind(null,"header")),{header:{type:String,default:null},headerHtml:{type:String,default:null},headerClass:{type:[String,Object,Array],default:null}}),Yi=e.extend({name:"BCardHeader",functional:!0,props:Zi,render:function(t,e){var a,n=e.props,o=e.data,l=e.children;return t(n.headerTag,i.mergeData(o,{staticClass:"card-header",class:[n.headerClass,(a={},d(a,"bg-".concat(n.headerBgVariant),n.headerBgVariant),d(a,"border-".concat(n.headerBorderVariant),n.headerBorderVariant),d(a,"text-".concat(n.headerTextVariant),n.headerTextVariant),a)]}),l||[t("div",{domProps:fi(n.headerHtml,n.header)})])}}),ta=c({},ji(Ui.props,Ni.bind(null,"footer")),{footer:{type:String,default:null},footerHtml:{type:String,default:null},footerClass:{type:[String,Object,Array],default:null}}),ea=e.extend({name:"BCardFooter",functional:!0,props:ta,render:function(t,e){var a,n=e.props,o=e.data,l=e.children;return t(n.footerTag,i.mergeData(o,{staticClass:"card-footer",class:[n.footerClass,(a={},d(a,"bg-".concat(n.footerBgVariant),n.footerBgVariant),d(a,"border-".concat(n.footerBorderVariant),n.footerBorderVariant),d(a,"text-".concat(n.footerTextVariant),n.footerTextVariant),a)]}),l||[t("div",{domProps:fi(n.footerHtml,n.footer)})])}}),ia={src:{type:String,default:null,required:!0},alt:{type:String,default:null},top:{type:Boolean,default:!1},bottom:{type:Boolean,default:!1},start:{type:Boolean,default:!1},left:{type:Boolean,default:!1},end:{type:Boolean,default:!1},right:{type:Boolean,default:!1},height:{type:[Number,String],default:null},width:{type:[Number,String],default:null}},aa=e.extend({name:"BCardImg",functional:!0,props:ia,render:function(t,e){var a=e.props,n=e.data,o="card-img";return a.top?o+="-top":a.right||a.end?o+="-right":a.bottom?o+="-bottom":(a.left||a.start)&&(o+="-left"),t("img",i.mergeData(n,{class:[o],attrs:{src:a.src,alt:a.alt,height:a.height,width:a.width}}))}}),na=ji(ia,Ni.bind(null,"img"));na.imgSrc.required=!1;var oa=c({},Ji,{},Zi,{},ta,{},na,{},ji(Ui.props),{align:{type:String,default:null},noBody:{type:Boolean,default:!1}}),la=e.extend({name:"BCard",functional:!0,props:oa,render:function(t,e){var a,n=e.props,o=e.data,l=e.slots,r=e.scopedSlots,s=l(),u=r||{},c=t(),h=t(),p=t(),f=t(),v=t();if(n.imgSrc){var m=t(aa,{props:Pe(na,n,Gi.bind(null,"img"))});n.imgBottom?v=m:c=m}return(n.header||Ie("header",u,s))&&(h=t(Yi,{props:Pe(Zi,n)},Ce("header",{},u,s))),p=Ce("default",{},u,s)||[],n.noBody||(p=[t(Qi,{props:Pe(Ji,n)},S(p))]),(n.footer||Ie("footer",u,s))&&(f=t(ea,{props:Pe(ta,n)},Ce("footer",{},u,s))),t(n.tag,i.mergeData(o,{staticClass:"card",class:(a={"flex-row":n.imgLeft||n.imgStart,"flex-row-reverse":(n.imgRight||n.imgEnd)&&!(n.imgLeft||n.imgStart)},d(a,"text-".concat(n.align),n.align),d(a,"bg-".concat(n.bgVariant),n.bgVariant),d(a,"border-".concat(n.borderVariant),n.borderVariant),d(a,"text-".concat(n.textVariant),n.textVariant),a)}),[c,h].concat(S(p),[f,v]))}}),ra=function(t,e){if(t.length!==e.length)return!1;for(var i=!0,a=0;i&&a<t.length;a++)i=sa(t[a],e[a]);return i},sa=function t(e,i){if(e===i)return!0;var a=ut(e),n=ut(i);if(a||n)return!(!a||!n)&&e.getTime()===i.getTime();if(a=w(e),n=w(i),a||n)return!(!a||!n)&&ra(e,i);if(a=L(e),n=L(i),a||n){if(!a||!n)return!1;if($(e).length!==$(i).length)return!1;for(var o in e){var l=e.hasOwnProperty(o),r=i.hasOwnProperty(o);if(l&&!r||!l&&r||!t(e[o],i[o]))return!1}}return String(e)===String(i)},da="__bv__visibility_observer",ua=/^\d+$/,ca=function(){function t(e,i,a){l(this,t),this.el=e,this.callback=i.callback,this.margin=i.margin||0,this.once=i.once||!1,this.observer=null,this.visible=void 0,this.doneOnce=!1,this.createObserver(a)}return s(t,[{key:"createObserver",value:function(t){var e=this;if(this.observer&&this.stop(),!this.doneOnce&&lt(this.callback)){try{this.observer=new IntersectionObserver(this.handler.bind(this),{root:null,rootMargin:this.margin,threshold:0})}catch(t){return this.doneOnce=!0,this.observer=void 0,void this.callback(null)}t.context.$nextTick((function(){qt((function(){e.observer&&e.observer.observe(e.el)}))}))}}},{key:"handler",value:function(t){var e=t?t[0]:{},i=Boolean(e.isIntersecting||e.intersectionRatio>0);i!==this.visible&&(this.visible=i,this.callback(i),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){var t=this.observer;t&&t.disconnect&&t.disconnect(),this.observer=null}}]),t}(),ha=function(t){var e=t[da];e&&e.stop&&e.stop(),delete t[da]},pa=function(t,e,i){var a=e.value,n=e.modifiers,o={margin:"0px",once:!1,callback:a};$(n).forEach((function(t){ua.test(t)?o.margin="".concat(t,"px"):"once"===t.toLowerCase()&&(o.once=!0)})),ha(t),t[da]=new ca(t,o,i),t[da]._prevModifiers=D(n)},fa={bind:pa,componentUpdated:function(t,e,i){var a=e.value,n=e.oldValue,o=e.modifiers;o=D(o),!t||a===n&&t[da]&&sa(o,t[da]._prevModifiers)||pa(t,{value:a,modifiers:o},i)},unbind:function(t){ha(t)}},va='<svg width="%{w}" height="%{h}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 %{w} %{h}" preserveAspectRatio="none"><rect width="100%" height="100%" style="fill:%{f};"></rect></svg>',ma={src:{type:String,default:null},srcset:{type:[String,Array],default:null},sizes:{type:[String,Array],default:null},alt:{type:String,default:null},width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},block:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},thumbnail:{type:Boolean,default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},center:{type:Boolean,default:!1},blank:{type:Boolean,default:!1},blankColor:{type:String,default:function(){return Dt("BImg","blankColor")}}},ga=e.extend({name:"BImg",functional:!0,props:ma,render:function(t,e){var a,n=e.props,o=e.data,l=n.src,r=Be(n.width)||null,s=Be(n.height)||null,u=null,c=n.block,h=C(n.srcset).filter(vt).join(","),p=C(n.sizes).filter(vt).join(",");return n.blank&&(!s&&r?s=r:!r&&s&&(r=s),r||s||(r=1,s=1),l=function(t,e,i){var a=encodeURIComponent(va.replace("%{w}",We(t)).replace("%{h}",We(e)).replace("%{f}",i));return"data:image/svg+xml;charset=UTF-8,".concat(a)}(r,s,n.blankColor||"transparent"),h=null,p=null),n.left?u="float-left":n.right?u="float-right":n.center&&(u="mx-auto",c=!0),t("img",i.mergeData(o,{attrs:{src:l,alt:n.alt,width:r?We(r):null,height:s?We(s):null,srcset:h||null,sizes:p||null},class:(a={"img-thumbnail":n.thumbnail,"img-fluid":n.fluid||n.fluidGrow,"w-100":n.fluidGrow,rounded:""===n.rounded||!0===n.rounded},d(a,"rounded-".concat(n.rounded),st(n.rounded)&&""!==n.rounded),d(a,u,u),d(a,"d-block",c),a)}))}}),ba={src:{type:String,default:null,required:!0},srcset:{type:[String,Array],default:null},sizes:{type:[String,Array],default:null},alt:{type:String,default:null},width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},blankSrc:{type:String,default:null},blankColor:{type:String,default:function(){return Dt("BImgLazy","blankColor")}},blankWidth:{type:[Number,String],default:null},blankHeight:{type:[Number,String],default:null},show:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},block:{type:Boolean,default:!1},thumbnail:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},center:{type:Boolean,default:!1},offset:{type:[Number,String],default:360}},ya=e.extend({name:"BImgLazy",directives:{bVisible:fa},props:ba,data:function(){return{isShown:this.show}},computed:{computedSrc:function(){return!this.blankSrc||this.isShown?this.src:this.blankSrc},computedBlank:function(){return!(this.isShown||this.blankSrc)},computedWidth:function(){return this.isShown?this.width:this.blankWidth||this.width},computedHeight:function(){return this.isShown?this.height:this.blankHeight||this.height},computedSrcset:function(){var t=C(this.srcset).filter(vt).join(",");return!this.blankSrc||this.isShown?t:null},computedSizes:function(){var t=C(this.sizes).filter(vt).join(",");return!this.blankSrc||this.isShown?t:null}},watch:{show:function(t,e){if(t!==e){var i=!Q||t;this.isShown=i,i!==t&&this.$nextTick(this.updateShowProp)}},isShown:function(t,e){t!==e&&this.updateShowProp()}},mounted:function(){this.isShown=!Q||this.show},methods:{updateShowProp:function(){this.$emit("update:show",this.isShown)},doShow:function(t){!t&&null!==t||this.isShown||(this.isShown=!0)}},render:function(t){var e,i=[];this.isShown||i.push({name:"b-visible",value:this.doShow,modifiers:(e={},d(e,"".concat(Be(this.offset)||0),!0),d(e,"once",!0),e)});return t(ga,{directives:i,props:{src:this.computedSrc,blank:this.computedBlank,width:this.computedWidth,height:this.computedHeight,srcset:this.computedSrcset||null,sizes:this.computedSizes||null,alt:this.alt,blankColor:this.blankColor,fluid:this.fluid,fluidGrow:this.fluidGrow,block:this.block,thumbnail:this.thumbnail,rounded:this.rounded,left:this.left,right:this.right,center:this.center}})}}),Ba=O(ba,["left","right","center","block","rounded","thumbnail","fluid","fluidGrow"]),Sa=c({},Ba,{top:{type:Boolean,default:!1},bottom:{type:Boolean,default:!1},start:{type:Boolean,default:!1},left:{type:Boolean,default:!1},end:{type:Boolean,default:!1},right:{type:Boolean,default:!1}}),xa=e.extend({name:"BCardImgLazy",functional:!0,props:Sa,render:function(t,e){var a=e.props,n=e.data,o="card-img";a.top?o+="-top":a.right||a.end?o+="-right":a.bottom?o+="-bottom":(a.left||a.start)&&(o+="-left");var l=c({},a,{left:!1,right:!1,center:!1});return t(ya,i.mergeData(n,{class:[o],props:l}))}}),Ta={textTag:{type:String,default:"p"}},za=e.extend({name:"BCardText",functional:!0,props:Ta,render:function(t,e){var a=e.props,n=e.data,o=e.children;return t(a.textTag,i.mergeData(n,{staticClass:"card-text"}),o)}}),wa={tag:{type:String,default:"div"},deck:{type:Boolean,default:!1},columns:{type:Boolean,default:!1}},Ia=e.extend({name:"BCardGroup",functional:!0,props:wa,render:function(t,e){var a=e.props,n=e.data,o=e.children;return t(a.tag,i.mergeData(n,{class:a.deck?"card-deck":a.columns?"card-columns":"card-group"}),o)}}),Ca=kt({components:{BCard:la,BCardHeader:Yi,BCardBody:Qi,BCardTitle:qi,BCardSubTitle:Xi,BCardFooter:ea,BCardImg:aa,BCardImgLazy:xa,BCardText:za,BCardGroup:Ia}}),ka=function(){},Ma=function(t,e,i){if(t=t?t.$el||t:null,!Zt(t))return null;if(a="observeDom",!j&&(bt("".concat(a,": Requires MutationObserver support.")),1))return null;var a,n=new Kt((function(t){for(var i=!1,a=0;a<t.length&&!i;a++){var n=t[a],o=n.type,l=n.target;"characterData"===o&&l.nodeType===Node.TEXT_NODE?i=!0:"attributes"===o?i=!0:"childList"===o&&(n.addedNodes.length>0||n.removedNodes.length>0)&&(i=!0)}i&&e()}));return n.observe(t,c({childList:!0,subtree:!0},i)),n},Va={props:{id:{type:String,default:null}},data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_;return function(e){return t?(e=String(e||"").replace(/\s+/g,"_"))?t+"_"+e:t:null}}},mounted:function(){var t=this;this.$nextTick((function(){t.localId_="__BVID__".concat(t._uid)}))}},Aa="BCarousel",Fa={next:{dirClass:"carousel-item-left",overlayClass:"carousel-item-next"},prev:{dirClass:"carousel-item-right",overlayClass:"carousel-item-prev"}},Ha={TOUCH:"touch",PEN:"pen"},$a={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend oTransitionEnd",transition:"transitionend"},_a={passive:!0,capture:!1},La=e.extend({name:Aa,mixins:[Va,ke],provide:function(){return{bvCarousel:this}},model:{prop:"value",event:"input"},props:{labelPrev:{type:String,default:function(){return Dt(Aa,"labelPrev")}},labelNext:{type:String,default:function(){return Dt(Aa,"labelNext")}},labelGotoSlide:{type:String,default:function(){return Dt(Aa,"labelGotoSlide")}},labelIndicators:{type:String,default:function(){return Dt(Aa,"labelIndicators")}},interval:{type:Number,default:5e3},indicators:{type:Boolean,default:!1},controls:{type:Boolean,default:!1},noAnimation:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},noWrap:{type:Boolean,default:!1},noTouch:{type:Boolean,default:!1},noHoverPause:{type:Boolean,default:!1},imgWidth:{type:[Number,String]},imgHeight:{type:[Number,String]},background:{type:String},value:{type:Number,default:0}},data:function(){return{index:this.value||0,isSliding:!1,transitionEndEvent:null,slides:[],direction:null,isPaused:!(Be(this.interval)>0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:{value:function(t,e){t!==e&&this.setSlide(Be(t)||0)},interval:function(t,e){t!==e&&(t?(this.pause(!0),this.start(!1)):this.pause(!1))},isPaused:function(t,e){t!==e&&this.$emit(t?"paused":"unpaused")},index:function(t,e){t===e||this.isSliding||this.doSlide(t,e)}},created:function(){this._intervalId=null,this._animationTimeout=null,this._touchTimeout=null,this.isPaused=!(Be(this.interval)>0)},mounted:function(){this.transitionEndEvent=function(t){for(var e in $a)if(!at(t.style[e]))return $a[e];return null}(this.$el)||null,this.updateSlides(),Ma(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]})},beforeDestroy:function(){clearTimeout(this._animationTimeout),clearTimeout(this._touchTimeout),clearInterval(this._intervalId),this._intervalId=null,this._animationTimeout=null,this._touchTimeout=null},methods:{setSlide:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(U&&document.visibilityState&&document.hidden)){var a=this.noWrap,n=this.numSlides;t=Math.floor(t),0!==n&&(this.isSliding?this.$once("sliding-end",(function(){return e.setSlide(t,i)})):(this.direction=i,this.index=t>=n?a?n-1:0:t<0?a?0:n-1:t,a&&this.index!==t&&this.index!==this.value&&this.$emit("input",this.index)))}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(t){t||(this.isPaused=!0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=null)},start:function(t){t||(this.isPaused=!1),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=null),this.interval&&this.numSlides>1&&(this._intervalId=setInterval(this.next,Math.max(1e3,this.interval)))},restart:function(t){this.$el.contains(document.activeElement)||this.start()},doSlide:function(t,e){var i=this,a=Boolean(this.interval),n=this.calcDirection(this.direction,e,t),o=n.overlayClass,l=n.dirClass,r=this.slides[e],s=this.slides[t];if(r&&s){if(this.isSliding=!0,a&&this.pause(!1),this.$emit("sliding-start",t),this.$emit("input",this.index),this.noAnimation)se(s,"active"),de(r,"active"),this.isSliding=!1,this.$nextTick((function(){return i.$emit("sliding-end",t)}));else{se(s,o),ee(s),se(r,l),se(s,l);var d=!1,u=function e(a){if(!d){if(d=!0,i.transitionEndEvent)i.transitionEndEvent.split(/\s+/).forEach((function(t){return Qt(r,t,e,_a)}));i._animationTimeout=null,de(s,l),de(s,o),se(s,"active"),de(r,"active"),de(r,l),de(r,o),ce(r,"aria-current","false"),ce(s,"aria-current","true"),ce(r,"aria-hidden","true"),ce(s,"aria-hidden","false"),i.isSliding=!1,i.direction=null,i.$nextTick((function(){return i.$emit("sliding-end",t)}))}};if(this.transitionEndEvent)this.transitionEndEvent.split(/\s+/).forEach((function(t){return Jt(r,t,u,_a)}));this._animationTimeout=setTimeout(u,650)}a&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=ie(".carousel-item",this.$refs.inner);var t=this.slides.length,e=Math.max(0,Math.min(Math.floor(this.index),t-1));this.slides.forEach((function(i,a){var n=a+1;a===e?(se(i,"active"),ce(i,"aria-current","true")):(de(i,"active"),ce(i,"aria-current","false")),ce(i,"aria-posinset",String(n)),ce(i,"aria-setsize",String(t))})),this.setSlide(e),this.start(this.isPaused)},calcDirection:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t?Fa[t]:i>e?Fa.next:Fa.prev},handleClick:function(t,e){var i=t.keyCode;"click"!==t.type&&i!==Di.SPACE&&i!==Di.ENTER||(t.preventDefault(),t.stopPropagation(),e())},handleSwipe:function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0?this.prev():e<0&&this.next()}},touchStart:function(t){J&&Ha[t.pointerType.toUpperCase()]?this.touchStartX=t.clientX:J||(this.touchStartX=t.touches[0].clientX)},touchMove:function(t){t.touches&&t.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=t.touches[0].clientX-this.touchStartX},touchEnd:function(t){J&&Ha[t.pointerType.toUpperCase()]&&(this.touchDeltaX=t.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this._touchTimeout&&clearTimeout(this._touchTimeout),this._touchTimeout=setTime