moodle_local_treestudyplan/amd/build/bootstrap-vue/bootstrap-vue.min.js
2023-12-02 23:22:00 +01:00

12 lines
530 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*!
* BootstrapVue 2.23.1
*
* @link https://bootstrap-vue.org
* @source https://github.com/bootstrap-vue/bootstrap-vue
* @copyright (c) 2016-2022 BootstrapVue
* @license MIT
* https://github.com/bootstrap-vue/bootstrap-vue/blob/master/LICENSE
*/
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?module.exports=factory(require("../vue/vue")):"function"==typeof define&&define.amd?define("local_treestudyplan/bootstrap-vue/bootstrap-vue",["../vue/vue"],factory):(global="undefined"!=typeof globalThis?globalThis:global||self).bootstrapVue=factory(global.Vue)}(window,(function(Vue){var Vue__default=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(Vue);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread2$3(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}function _typeof$1(obj){return _typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof$1(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(subClass,"prototype",{value:Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _construct(Parent,args,Class){return _construct=_isNativeReflectConstruct()?Reflect.construct:function(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&_setPrototypeOf(instance,Class.prototype),instance},_construct.apply(null,arguments)}function _wrapNativeSuper(Class){var _cache="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(Class){if(null===Class||(fn=Class,-1===Function.toString.call(fn).indexOf("[native code]")))return Class;var fn;if("function"!=typeof Class)throw new TypeError("Super expression must either be null or a function");if(void 0!==_cache){if(_cache.has(Class))return _cache.get(Class);_cache.set(Class,Wrapper)}function Wrapper(){return _construct(Class,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,Class)},_wrapNativeSuper(Class)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return function(self,call){if(call&&("object"==typeof call||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(self)}(this,result)}}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(target,property,receiver){var base=function(object,property){for(;!Object.prototype.hasOwnProperty.call(object,property)&&null!==(object=_getPrototypeOf(object)););return object}(target,property);if(base){var desc=Object.getOwnPropertyDescriptor(base,property);return desc.get?desc.get.call(arguments.length<3?target:receiver):desc.value}},_get.apply(this,arguments)}function _slicedToArray(arr,i){return function(arr){if(Array.isArray(arr))return arr}(arr)||function(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null==_i)return;var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _toConsumableArray$1(arr){return function(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}var e=function(){return(e=Object.assign||function(e){for(var t,r=1,s=arguments.length;r<s;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},t={kebab:/-(\w)/g,styleProp:/:(.*)/,styleList:/;(?![^(]*\))/g};function r(e,t){return t?t.toUpperCase():""}function s(e){for(var s,a={},c=0,o=e.split(t.styleList);c<o.length;c++){var n=o[c].split(t.styleProp),i=n[0],l=n[1];(i=i.trim())&&("string"==typeof l&&(l=l.trim()),a[(s=i,s.replace(t.kebab,r))]=l)}return a}function a(){for(var t,r,a={},c=arguments.length;c--;)for(var o=0,n=Object.keys(arguments[c]);o<n.length;o++)switch(t=n[o]){case"class":case"style":case"directives":if(Array.isArray(a[t])||(a[t]=[]),"style"===t){var i=void 0;i=Array.isArray(arguments[c].style)?arguments[c].style:[arguments[c].style];for(var l=0;l<i.length;l++){var y=i[l];"string"==typeof y&&(i[l]=s(y))}arguments[c].style=i}a[t]=a[t].concat(arguments[c][t]);break;case"staticClass":if(!arguments[c][t])break;void 0===a[t]&&(a[t]=""),a[t]&&(a[t]+=" "),a[t]+=arguments[c][t].trim();break;case"on":case"nativeOn":a[t]||(a[t]={});for(var p=0,f=Object.keys(arguments[c][t]||{});p<f.length;p++)r=f[p],a[t][r]?a[t][r]=[].concat(a[t][r],arguments[c][t][r]):a[t][r]=arguments[c][t][r];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":a[t]||(a[t]={}),a[t]=e({},arguments[c][t],a[t]);break;default:a[t]||(a[t]=arguments[c][t])}return a}var isVue3=Vue__default.default.version.startsWith("3"),REF_FOR_KEY=isVue3?"ref_for":"refInFor",ALLOWED_FIELDS_IN_DATA=["class","staticClass","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"],extend=Vue__default.default.extend.bind(Vue__default.default);if(isVue3){var originalExtend=Vue__default.default.extend,KNOWN_COMPONENTS=["router-link","transition","transition-group"],originalVModelDynamicCreated=Vue__default.default.vModelDynamic.created,originalVModelDynamicBeforeUpdate=Vue__default.default.vModelDynamic.beforeUpdate;Vue__default.default.vModelDynamic.created=function(el,binding,vnode){originalVModelDynamicCreated.call(this,el,binding,vnode),el._assign||(el._assign=function(){})},Vue__default.default.vModelDynamic.beforeUpdate=function(el,binding,vnode){originalVModelDynamicBeforeUpdate.call(this,el,binding,vnode),el._assign||(el._assign=function(){})},extend=function(definition){if("object"===_typeof$1(definition)&&definition.render&&!definition.__alreadyPatched){var originalRender=definition.render;definition.__alreadyPatched=!0,definition.render=function(h){var patchedH=function(tag,dataObjOrChildren,rawSlots){var slots=void 0===rawSlots?[]:[Array.isArray(rawSlots)?rawSlots.filter(Boolean):rawSlots],isTag="string"==typeof tag&&!KNOWN_COMPONENTS.includes(tag);if(!(dataObjOrChildren&&"object"===_typeof$1(dataObjOrChildren)&&!Array.isArray(dataObjOrChildren)))return h.apply(void 0,[tag,dataObjOrChildren].concat(slots));var attrs=dataObjOrChildren.attrs,props=dataObjOrChildren.props,normalizedData=_objectSpread2$3(_objectSpread2$3({},_objectWithoutProperties(dataObjOrChildren,["attrs","props"])),{},{attrs:attrs,props:isTag?{}:props});return"router-link"!==tag||normalizedData.slots||normalizedData.scopedSlots||(normalizedData.scopedSlots={$hasNormal:function(){}}),h.apply(void 0,[tag,normalizedData].concat(slots))};if(definition.functional){var _ctx$children,_ctx$children$default,ctx=arguments[1],patchedCtx=_objectSpread2$3({},ctx);patchedCtx.data={attrs:_objectSpread2$3({},ctx.data.attrs||{}),props:_objectSpread2$3({},ctx.data.props||{})},Object.keys(ctx.data||{}).forEach((function(key){ALLOWED_FIELDS_IN_DATA.includes(key)?patchedCtx.data[key]=ctx.data[key]:key in ctx.props?patchedCtx.data.props[key]=ctx.data[key]:key.startsWith("on")||(patchedCtx.data.attrs[key]=ctx.data[key])}));var IGNORED_CHILDREN_KEYS=["_ctx"],children=(null===(_ctx$children=ctx.children)||void 0===_ctx$children||null===(_ctx$children$default=_ctx$children.default)||void 0===_ctx$children$default?void 0:_ctx$children$default.call(_ctx$children))||ctx.children;return children&&0===Object.keys(patchedCtx.children).filter((function(k){return!IGNORED_CHILDREN_KEYS.includes(k)})).length?delete patchedCtx.children:patchedCtx.children=children,patchedCtx.data.on=ctx.listeners,originalRender.call(this,patchedH,patchedCtx)}return originalRender.call(this,patchedH)}}return originalExtend.call(this,definition)}.bind(Vue__default.default)}var nextTick=Vue__default.default.nextTick,HAS_WINDOW_SUPPORT="undefined"!=typeof window,HAS_DOCUMENT_SUPPORT="undefined"!=typeof document,HAS_NAVIGATOR_SUPPORT="undefined"!=typeof navigator,HAS_PROMISE_SUPPORT="undefined"!=typeof Promise,HAS_MUTATION_OBSERVER_SUPPORT="undefined"!=typeof MutationObserver||"undefined"!=typeof WebKitMutationObserver||"undefined"!=typeof MozMutationObserver,IS_BROWSER=HAS_WINDOW_SUPPORT&&HAS_DOCUMENT_SUPPORT&&HAS_NAVIGATOR_SUPPORT,WINDOW=HAS_WINDOW_SUPPORT?window:{},DOCUMENT=HAS_DOCUMENT_SUPPORT?document:{},NAVIGATOR=HAS_NAVIGATOR_SUPPORT?navigator:{},USER_AGENT=(NAVIGATOR.userAgent||"").toLowerCase(),IS_JSDOM=USER_AGENT.indexOf("jsdom")>0;/msie|trident/.test(USER_AGENT);var checkMultipleVueWarned,MULTIPLE_VUE_WARNING,_watch$k,HAS_PASSIVE_EVENT_SUPPORT=function(){var passiveEventSupported=!1;if(IS_BROWSER)try{var options={get passive(){passiveEventSupported=!0}};WINDOW.addEventListener("test",options,options),WINDOW.removeEventListener("test",options,options)}catch(_unused){passiveEventSupported=!1}return passiveEventSupported}(),HAS_TOUCH_SUPPORT=IS_BROWSER&&("ontouchstart"in DOCUMENT.documentElement||NAVIGATOR.maxTouchPoints>0),HAS_POINTER_EVENT_SUPPORT=IS_BROWSER&&Boolean(WINDOW.PointerEvent||WINDOW.MSPointerEvent),HAS_INTERACTION_OBSERVER_SUPPORT=IS_BROWSER&&"IntersectionObserver"in WINDOW&&"IntersectionObserverEntry"in WINDOW&&"intersectionRatio"in WINDOW.IntersectionObserverEntry.prototype,DEFAULT_BREAKPOINT=["xs","sm","md","lg","xl"],RX_ARRAY_NOTATION=/\[(\d+)]/g,RX_BV_PREFIX=/^(BV?)/,RX_DIGITS=/^\d+$/,RX_EXTENSION=/^\..+/,RX_HASH=/^#/,RX_HASH_ID=/^#[A-Za-z]+[\w\-:.]*$/,RX_HTML_TAGS=/(<([^>]+)>)/gi,RX_HYPHENATE=/\B([A-Z])/g,RX_LOWER_UPPER=/([a-z])([A-Z])/g,RX_NUMBER=/^[0-9]*\.?[0-9]+$/,RX_PLUS=/\+/g,RX_REGEXP_REPLACE=/[-/\\^$*+?.()|[\]{}]/g,RX_SPACES=/[\s\uFEFF\xA0]+/g,RX_SPACE_SPLIT=/\s+/,RX_STAR=/\/\*$/,RX_START_SPACE_WORD=/(\s|^)(\w)/g,RX_TRIM_LEFT=/^\s+/,RX_UNDERSCORE=/_/g,RX_UN_KEBAB=/-(\w)/g,RX_DATE=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,RX_DATE_SPLIT=/-|\s|T/,RX_TIME=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,RX_HREF=/^.*(#[^#]+)$/,RX_ENCODED_COMMA=/%2C/g,RX_ENCODE_REVERSE=/[!'()*]/g,RX_QUERY_START=/^(\?|#|&)/,RX_ASPECT=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,RX_ASPECT_SEPARATOR=/[/:]/,RX_COL_CLASS=/^col-/,RX_ICON_PREFIX=/^BIcon/,RX_STRIP_LOCALE_MODS=/-u-.+/,Element=HAS_WINDOW_SUPPORT?WINDOW.Element:function(_Object){_inherits(Element,_Object);var _super=_createSuper(Element);function Element(){return _classCallCheck(this,Element),_super.apply(this,arguments)}return Element}(_wrapNativeSuper(Object)),HTMLElement=HAS_WINDOW_SUPPORT?WINDOW.HTMLElement:function(_Element){_inherits(HTMLElement,_Element);var _super2=_createSuper(HTMLElement);function HTMLElement(){return _classCallCheck(this,HTMLElement),_super2.apply(this,arguments)}return HTMLElement}(Element),SVGElement=HAS_WINDOW_SUPPORT?WINDOW.SVGElement:function(_Element2){_inherits(SVGElement,_Element2);var _super3=_createSuper(SVGElement);function SVGElement(){return _classCallCheck(this,SVGElement),_super3.apply(this,arguments)}return SVGElement}(Element),File=HAS_WINDOW_SUPPORT?WINDOW.File:function(_Object2){_inherits(File,_Object2);var _super4=_createSuper(File);function File(){return _classCallCheck(this,File),_super4.apply(this,arguments)}return File}(_wrapNativeSuper(Object)),toType$1=function(value){return _typeof$1(value)},isUndefined=function(value){return void 0===value},isNull=function(value){return null===value},isUndefinedOrNull=function(value){return isUndefined(value)||isNull(value)},isFunction$1=function(value){return"function"===toType$1(value)},isBoolean=function(value){return"boolean"===toType$1(value)},isString=function(value){return"string"===toType$1(value)},isNumber=function(value){return"number"===toType$1(value)},isNumeric$1=function(value){return RX_NUMBER.test(String(value))},isArray=function(value){return Array.isArray(value)},isObject=function(obj){return null!==obj&&"object"===_typeof$1(obj)},isPlainObject=function(obj){return"[object Object]"===Object.prototype.toString.call(obj)},isDate=function(value){return value instanceof Date},isEvent=function(value){return value instanceof Event},isRegExp=function(value){return"RegExp"===function(value){return Object.prototype.toString.call(value).slice(8,-1)}(value)},assign=function(){return Object.assign.apply(Object,arguments)},create=function(proto,optionalProps){return Object.create(proto,optionalProps)},defineProperties=function(obj,props){return Object.defineProperties(obj,props)},defineProperty$1=function(obj,prop,descriptor){return Object.defineProperty(obj,prop,descriptor)},getOwnPropertyNames=function(obj){return Object.getOwnPropertyNames(obj)},keys=function(obj){return Object.keys(obj)},hasOwnProperty=function(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)},clone=function(obj){return _objectSpread2$3({},obj)},pick$1=function(obj,props){return keys(obj).filter((function(key){return-1!==props.indexOf(key)})).reduce((function(result,key){return _objectSpread2$3(_objectSpread2$3({},result),{},_defineProperty({},key,obj[key]))}),{})},omit=function(obj,props){return keys(obj).filter((function(key){return-1===props.indexOf(key)})).reduce((function(result,key){return _objectSpread2$3(_objectSpread2$3({},result),{},_defineProperty({},key,obj[key]))}),{})},mergeDeep=function mergeDeep(target,source){return isObject(target)&&isObject(source)&&keys(source).forEach((function(key){isObject(source[key])?(target[key]&&isObject(target[key])||(target[key]=source[key]),mergeDeep(target[key],source[key])):assign(target,_defineProperty({},key,source[key]))})),target},sortKeys=function(obj){return keys(obj).sort().reduce((function(result,key){return _objectSpread2$3(_objectSpread2$3({},result),{},_defineProperty({},key,obj[key]))}),{})},cloneDeep=function cloneDeep(obj){var defaultValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:obj;return isArray(obj)?obj.reduce((function(result,val){return[].concat(_toConsumableArray$1(result),[cloneDeep(val,val)])}),[]):isPlainObject(obj)?keys(obj).reduce((function(result,key){return _objectSpread2$3(_objectSpread2$3({},result),{},_defineProperty({},key,cloneDeep(obj[key],obj[key])))}),{}):defaultValue},identity=function(x){return x},getRaw=function(obj,path){var defaultValue=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!(path=isArray(path)?path.join("."):path)||!isObject(obj))return defaultValue;if(path in obj)return obj[path];var steps=(path=String(path).replace(RX_ARRAY_NOTATION,".$1")).split(".").filter(identity);return 0===steps.length?defaultValue:steps.every((function(step){return isObject(obj)&&step in obj&&!isUndefinedOrNull(obj=obj[step])}))?obj:isNull(obj)?null:defaultValue},get=function(obj,path){var defaultValue=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,value=getRaw(obj,path);return isUndefinedOrNull(value)?defaultValue:value},getEnv=function(key){var fallback=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,env="undefined"!=typeof process&&process&&process.env||{};return key?env[key]||fallback:env},warn=function(message){var source=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;getEnv("BOOTSTRAP_VUE_NO_WARN")||"production"===getEnv("NODE_ENV")||console.warn("[BootstrapVue warn]: ".concat(source?"".concat(source," - "):"").concat(message))},warnNotClient=function(source){return!IS_BROWSER&&(warn("".concat(source,": Can not be called during SSR.")),!0)},warnNoPromiseSupport=function(source){return!HAS_PROMISE_SUPPORT&&(warn("".concat(source,": Requires Promise support.")),!0)},BvConfig=function(){function BvConfig(){_classCallCheck(this,BvConfig),this.$_config={}}return _createClass(BvConfig,[{key:"setConfig",value:function(){var _this=this,config=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};isPlainObject(config)&&getOwnPropertyNames(config).forEach((function(key){var subConfig=config[key];"breakpoints"===key?!isArray(subConfig)||subConfig.length<2||subConfig.some((function(b){return!isString(b)||0===b.length}))?warn('"breakpoints" must be an array of at least 2 breakpoint names',"BvConfig"):_this.$_config[key]=cloneDeep(subConfig):isPlainObject(subConfig)&&(_this.$_config[key]=getOwnPropertyNames(subConfig).reduce((function(config,prop){return isUndefined(subConfig[prop])||(config[prop]=cloneDeep(subConfig[prop])),config}),_this.$_config[key]||{}))}))}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return cloneDeep(this.$_config)}},{key:"getConfigValue",value:function(key){var defaultValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return cloneDeep(getRaw(this.$_config,key,defaultValue))}}]),BvConfig}(),checkMultipleVue=(checkMultipleVueWarned=!1,MULTIPLE_VUE_WARNING=["Multiple instances of Vue detected!","You may need to set up an alias for Vue in your bundler config.","See: https://bootstrap-vue.org/docs#using-module-bundlers"].join("\n"),function(Vue){checkMultipleVueWarned||Vue__default.default===Vue||IS_JSDOM||warn(MULTIPLE_VUE_WARNING),checkMultipleVueWarned=!0}),installFactory=function(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},components=_ref.components,directives=_ref.directives,plugins=_ref.plugins,install=function install(Vue){var config=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};install.installed||(install.installed=!0,checkMultipleVue(Vue),function(){var config=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Vue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Vue__default.default;Vue.prototype.$bvConfig=Vue__default.default.prototype.$bvConfig=Vue.prototype.$bvConfig||Vue__default.default.prototype.$bvConfig||new BvConfig,Vue.prototype.$bvConfig.setConfig(config)}(config,Vue),registerComponents(Vue,components),registerDirectives(Vue,directives),registerPlugins(Vue,plugins))};return install.installed=!1,install},pluginFactory=function(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _objectSpread2$3(_objectSpread2$3({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{install:installFactory(options)})},registerPlugins=function(Vue){var plugins=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var plugin in plugins)plugin&&plugins[plugin]&&Vue.use(plugins[plugin])},registerComponent=function(Vue,name,def){Vue&&name&&def&&Vue.component(name,def)},registerComponents=function(Vue){var components=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var component in components)registerComponent(Vue,component,components[component])},registerDirective=function(Vue,name,def){Vue&&name&&def&&Vue.directive(name.replace(/^VB/,"B"),def)},registerDirectives=function(Vue){var directives=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var directive in directives)registerDirective(Vue,directive,directives[directive])},HOOK_EVENT_NAME_BEFORE_DESTROY=isVue3?"vnodeBeforeUnmount":"hook:beforeDestroy",HOOK_EVENT_NAME_DESTROYED=isVue3?"vNodeUnmounted":"hook:destroyed",ROOT_EVENT_NAME_PREFIX="bv",EVENT_OPTIONS_PASSIVE={passive:!0},EVENT_OPTIONS_NO_CAPTURE={passive:!0,capture:!1},PROP_TYPE_ARRAY=Array,PROP_TYPE_BOOLEAN=Boolean,PROP_TYPE_DATE=Date,PROP_TYPE_FUNCTION=Function,PROP_TYPE_NUMBER=Number,PROP_TYPE_OBJECT=Object,PROP_TYPE_REG_EXP=RegExp,PROP_TYPE_STRING=String,PROP_TYPE_ARRAY_FUNCTION=[PROP_TYPE_ARRAY,PROP_TYPE_FUNCTION],PROP_TYPE_ARRAY_OBJECT=[PROP_TYPE_ARRAY,PROP_TYPE_OBJECT],PROP_TYPE_ARRAY_OBJECT_STRING=[PROP_TYPE_ARRAY,PROP_TYPE_OBJECT,PROP_TYPE_STRING],PROP_TYPE_ARRAY_STRING=[PROP_TYPE_ARRAY,PROP_TYPE_STRING],PROP_TYPE_BOOLEAN_NUMBER=[PROP_TYPE_BOOLEAN,PROP_TYPE_NUMBER],PROP_TYPE_BOOLEAN_NUMBER_STRING=[PROP_TYPE_BOOLEAN,PROP_TYPE_NUMBER,PROP_TYPE_STRING],PROP_TYPE_BOOLEAN_STRING=[PROP_TYPE_BOOLEAN,PROP_TYPE_STRING],PROP_TYPE_DATE_STRING=[PROP_TYPE_DATE,PROP_TYPE_STRING],PROP_TYPE_FUNCTION_STRING=[PROP_TYPE_FUNCTION,PROP_TYPE_STRING],PROP_TYPE_NUMBER_STRING=[PROP_TYPE_NUMBER,PROP_TYPE_STRING],PROP_TYPE_NUMBER_OBJECT_STRING=[PROP_TYPE_NUMBER,PROP_TYPE_OBJECT,PROP_TYPE_STRING],PROP_TYPE_OBJECT_FUNCTION=[PROP_TYPE_OBJECT,PROP_TYPE_FUNCTION],PROP_TYPE_OBJECT_STRING=[PROP_TYPE_OBJECT,PROP_TYPE_STRING],from=function(){return Array.from.apply(Array,arguments)},arrayIncludes=function(array,value){return-1!==array.indexOf(value)},concat=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return Array.prototype.concat.apply([],args)},createArray=function(length,fillFn){var mapFn=isFunction$1(fillFn)?fillFn:function(){return fillFn};return Array.apply(null,{length:length}).map(mapFn)},flattenDeep=function flattenDeep(array){return array.reduce((function(result,item){return concat(result,Array.isArray(item)?flattenDeep(item):item)}),[])},hasNormalizedSlot=function(names){var $scopedSlots=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},$slots=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(names=concat(names).filter(identity)).some((function(name){return $scopedSlots[name]||$slots[name]}))},normalizeSlot=function(names){var slot,scope=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},$scopedSlots=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},$slots=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};names=concat(names).filter(identity);for(var i=0;i<names.length&&!slot;i++){var name=names[i];slot=$scopedSlots[name]||$slots[name]}return isFunction$1(slot)?slot(scope):slot},normalizeSlotMixin=extend({methods:{hasNormalizedSlot:function(){var name=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",scopedSlots=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$scopedSlots,slots=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$slots;return hasNormalizedSlot(name,scopedSlots,slots)},normalizeSlot:function(){var name=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",scope=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},scopedSlots=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$scopedSlots,slots=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.$slots,vNodes=normalizeSlot(name,scope,scopedSlots,slots);return vNodes?concat(vNodes):vNodes}}}),toInteger=function(value){var defaultValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,integer=parseInt(value,10);return isNaN(integer)?defaultValue:integer},toFloat=function(value){var defaultValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,float=parseFloat(value);return isNaN(float)?defaultValue:float},toFixed=function(val,precision){return toFloat(val).toFixed(toInteger(precision,0))},kebabCase=function(str){return str.replace(RX_HYPHENATE,"-$1").toLowerCase()},pascalCase=function(str){return(str=kebabCase(str).replace(RX_UN_KEBAB,(function(_,c){return c?c.toUpperCase():""}))).charAt(0).toUpperCase()+str.slice(1)},startCase=function(str){return str.replace(RX_UNDERSCORE," ").replace(RX_LOWER_UPPER,(function(str,$1,$2){return $1+" "+$2})).replace(RX_START_SPACE_WORD,(function(str,$1,$2){return $1+$2.toUpperCase()}))},upperFirst=function(str){return(str=isString(str)?str.trim():String(str)).charAt(0).toUpperCase()+str.slice(1)},escapeRegExp=function(str){return str.replace(RX_REGEXP_REPLACE,"\\$&")},toString=function(val){var spaces=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return isUndefinedOrNull(val)?"":isArray(val)||isPlainObject(val)&&val.toString===Object.prototype.toString?JSON.stringify(val,null,spaces):String(val)},trim=function(str){return toString(str).trim()},lowerCase=function(str){return toString(str).toLowerCase()},ELEMENT_PROTO=Element.prototype,TABABLE_SELECTOR=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map((function(s){return"".concat(s,":not(:disabled):not([disabled])")})).join(", "),matchesEl=ELEMENT_PROTO.matches||ELEMENT_PROTO.msMatchesSelector||ELEMENT_PROTO.webkitMatchesSelector,closestEl=ELEMENT_PROTO.closest||function(sel){var el=this;do{if(matches(el,sel))return el;el=el.parentElement||el.parentNode}while(!isNull(el)&&el.nodeType===Node.ELEMENT_NODE);return null},requestAF=(WINDOW.requestAnimationFrame||WINDOW.webkitRequestAnimationFrame||WINDOW.mozRequestAnimationFrame||WINDOW.msRequestAnimationFrame||WINDOW.oRequestAnimationFrame||function(cb){return setTimeout(cb,16)}).bind(WINDOW),MutationObs=WINDOW.MutationObserver||WINDOW.WebKitMutationObserver||WINDOW.MozMutationObserver||null,isElement=function(el){return!(!el||el.nodeType!==Node.ELEMENT_NODE)},getActiveElement=function(){var excludes=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],activeElement=DOCUMENT.activeElement;return activeElement&&!excludes.some((function(el){return el===activeElement}))?activeElement:null},isTag=function(tag,name){return toString(tag).toLowerCase()===toString(name).toLowerCase()},isActiveElement=function(el){return isElement(el)&&el===getActiveElement()},isVisible=function(el){if(!isElement(el)||!el.parentNode||!contains(DOCUMENT.body,el))return!1;if("none"===getStyle(el,"display"))return!1;var bcr=getBCR(el);return!!(bcr&&bcr.height>0&&bcr.width>0)},isDisabled=function(el){return!isElement(el)||el.disabled||hasAttr(el,"disabled")||hasClass(el,"disabled")},reflow=function(el){return isElement(el)&&el.offsetHeight},selectAll=function(selector,root){return from((isElement(root)?root:DOCUMENT).querySelectorAll(selector))},select=function(selector,root){return(isElement(root)?root:DOCUMENT).querySelector(selector)||null},matches=function(el,selector){return!!isElement(el)&&matchesEl.call(el,selector)},closest=function(selector,root){var includeRoot=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!isElement(root))return null;var el=closestEl.call(root,selector);return includeRoot?el:el===root?null:el},contains=function(parent,child){return!(!parent||!isFunction$1(parent.contains))&&parent.contains(child)},getById=function(id){return DOCUMENT.getElementById(/^#/.test(id)?id.slice(1):id)||null},addClass=function(el,className){className&&isElement(el)&&el.classList&&el.classList.add(className)},removeClass=function(el,className){className&&isElement(el)&&el.classList&&el.classList.remove(className)},hasClass=function(el,className){return!!(className&&isElement(el)&&el.classList)&&el.classList.contains(className)},setAttr=function(el,attr,value){attr&&isElement(el)&&el.setAttribute(attr,value)},removeAttr=function(el,attr){attr&&isElement(el)&&el.removeAttribute(attr)},getAttr=function(el,attr){return attr&&isElement(el)?el.getAttribute(attr):null},hasAttr=function(el,attr){return attr&&isElement(el)?el.hasAttribute(attr):null},setStyle=function(el,prop,value){prop&&isElement(el)&&(el.style[prop]=value)},removeStyle=function(el,prop){prop&&isElement(el)&&(el.style[prop]="")},getStyle=function(el,prop){return prop&&isElement(el)&&el.style[prop]||null},getBCR=function(el){return isElement(el)?el.getBoundingClientRect():null},getCS=function(el){var getComputedStyle=WINDOW.getComputedStyle;return getComputedStyle&&isElement(el)?getComputedStyle(el):{}},offset$1=function(el){var _offset={top:0,left:0};if(!isElement(el)||0===el.getClientRects().length)return _offset;var bcr=getBCR(el);if(bcr){var win=el.ownerDocument.defaultView;_offset.top=bcr.top+win.pageYOffset,_offset.left=bcr.left+win.pageXOffset}return _offset},position=function(el){var _offset={top:0,left:0};if(!isElement(el))return _offset;var parentOffset={top:0,left:0},elStyles=getCS(el);if("fixed"===elStyles.position)_offset=getBCR(el)||_offset;else{_offset=offset$1(el);for(var doc=el.ownerDocument,offsetParent=el.offsetParent||doc.documentElement;offsetParent&&(offsetParent===doc.body||offsetParent===doc.documentElement)&&"static"===getCS(offsetParent).position;)offsetParent=offsetParent.parentNode;if(offsetParent&&offsetParent!==el&&offsetParent.nodeType===Node.ELEMENT_NODE){parentOffset=offset$1(offsetParent);var offsetParentStyles=getCS(offsetParent);parentOffset.top+=toFloat(offsetParentStyles.borderTopWidth,0),parentOffset.left+=toFloat(offsetParentStyles.borderLeftWidth,0)}}return{top:_offset.top-parentOffset.top-toFloat(elStyles.marginTop,0),left:_offset.left-parentOffset.left-toFloat(elStyles.marginLeft,0)}},getTabables=function(){var rootEl=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return selectAll(TABABLE_SELECTOR,rootEl).filter(isVisible).filter((function(el){return el.tabIndex>-1&&!el.disabled}))},attemptFocus=function(el){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{el.focus(options)}catch(_unused){}return isActiveElement(el)},attemptBlur=function(el){try{el.blur()}catch(_unused2){}return!isActiveElement(el)},memoize=function(fn){var cache=create(null);return function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var argsKey=JSON.stringify(args);return cache[argsKey]=cache[argsKey]||fn.apply(null,args)}},VueProto=Vue__default.default.prototype,getConfigValue=function(key){var defaultValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,bvConfig=VueProto.$bvConfig;return bvConfig?bvConfig.getConfigValue(key,defaultValue):cloneDeep(defaultValue)},getComponentConfig=function(key){var propKey=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,defaultValue=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return propKey?getConfigValue("".concat(key,".").concat(propKey),defaultValue):getConfigValue(key,{})},getBreakpoints=function(){return getConfigValue("breakpoints",DEFAULT_BREAKPOINT)},_getBreakpointsCached=memoize((function(){return getBreakpoints()})),getBreakpointsUpCached=memoize((function(){var breakpoints=cloneDeep(_getBreakpointsCached());return breakpoints[0]="",breakpoints})),prefixPropName=function(prefix,value){return prefix+upperFirst(value)},unprefixPropName=function(prefix,value){return str=value.replace(prefix,""),(str=isString(str)?str.trim():String(str)).charAt(0).toLowerCase()+str.slice(1);var str},suffixPropName=function(suffix,value){return value+(suffix?upperFirst(suffix):"")},makeProp=function(){var type=arguments.length>0&&void 0!==arguments[0]?arguments[0]:undefined,value=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,requiredOrValidator=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,validator=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,required=!0===requiredOrValidator;return validator=required?validator:requiredOrValidator,_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},type?{type:type}:{}),required?{required:required}:isUndefined(value)?{}:{default:isObject(value)?function(){return value}:value}),isUndefined(validator)?{}:{validator:validator})},copyProps=function(props){var transformFn=arguments.length>1&&void 0!==arguments[1]?arguments[1]:identity;if(isArray(props))return props.map(transformFn);var copied={};for(var prop in props)hasOwnProperty(props,prop)&&(copied[transformFn(prop)]=isObject(props[prop])?clone(props[prop]):props[prop]);return copied},pluckProps=function(keysToPluck,objToPluck){var transformFn=arguments.length>2&&void 0!==arguments[2]?arguments[2]:identity;return(isArray(keysToPluck)?keysToPluck.slice():keys(keysToPluck)).reduce((function(memo,prop){return memo[transformFn(prop)]=objToPluck[prop],memo}),{})},makePropConfigurable=function(prop,key,componentKey){return _objectSpread2$3(_objectSpread2$3({},cloneDeep(prop)),{},{default:function(){var value=getComponentConfig(componentKey,key,prop.default);return isFunction$1(value)?value():value}})},makePropsConfigurable=function(props,componentKey){return keys(props).reduce((function(result,key){return _objectSpread2$3(_objectSpread2$3({},result),{},_defineProperty({},key,makePropConfigurable(props[key],key,componentKey)))}),{})},configurablePropDefaultFnName=makePropConfigurable({},"","").default.name,hasPropFunction=function(fn){return isFunction$1(fn)&&fn.name&&fn.name!==configurablePropDefaultFnName},makeModelMixin=function(prop){var _ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref$type=_ref.type,type=void 0===_ref$type?undefined:_ref$type,_ref$defaultValue=_ref.defaultValue,defaultValue=void 0===_ref$defaultValue?void 0:_ref$defaultValue,_ref$validator=_ref.validator,validator=void 0===_ref$validator?void 0:_ref$validator,_ref$event=_ref.event,event=void 0===_ref$event?"input":_ref$event,props=_defineProperty({},prop,makeProp(type,defaultValue,validator));return{mixin:extend({model:{prop:prop,event:event},props:props}),props:props,prop:prop,event:event}},parseEventOptions=function(options){return HAS_PASSIVE_EVENT_SUPPORT?isObject(options)?options:{capture:!!options||!1}:!!(isObject(options)?options.capture:options)},eventOn=function(el,eventName,handler,options){el&&el.addEventListener&&el.addEventListener(eventName,handler,parseEventOptions(options))},eventOff=function(el,eventName,handler,options){el&&el.removeEventListener&&el.removeEventListener(eventName,handler,parseEventOptions(options))},eventOnOff=function(on){for(var method=on?eventOn:eventOff,_len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];method.apply(void 0,args)},stopEvent=function(event){var _ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref$preventDefault=_ref.preventDefault,preventDefault=void 0===_ref$preventDefault||_ref$preventDefault,_ref$propagation=_ref.propagation,propagation=void 0===_ref$propagation||_ref$propagation,_ref$immediatePropaga=_ref.immediatePropagation,immediatePropagation=void 0!==_ref$immediatePropaga&&_ref$immediatePropaga;preventDefault&&event.preventDefault(),propagation&&event.stopPropagation(),immediatePropagation&&event.stopImmediatePropagation()},getBaseEventName=function(value){return kebabCase(value.replace(RX_BV_PREFIX,""))},getRootEventName=function(name,eventName){return[ROOT_EVENT_NAME_PREFIX,getBaseEventName(name),eventName].join("::")},getRootActionEventName=function(name,actionName){return[ROOT_EVENT_NAME_PREFIX,actionName,getBaseEventName(name)].join("::")},props$2l=makePropsConfigurable({ariaLabel:makeProp(PROP_TYPE_STRING,"Close"),content:makeProp(PROP_TYPE_STRING,"&times;"),disabled:makeProp(PROP_TYPE_BOOLEAN,!1),textVariant:makeProp(PROP_TYPE_STRING)},"BButtonClose"),BButtonClose=extend({name:"BButtonClose",functional:!0,props:props$2l,render:function(h,_ref){var props=_ref.props,data=_ref.data,slots=_ref.slots,scopedSlots=_ref.scopedSlots,$slots=slots(),$scopedSlots=scopedSlots||{},componentData={staticClass:"close",class:_defineProperty({},"text-".concat(props.textVariant),props.textVariant),attrs:{type:"button",disabled:props.disabled,"aria-label":props.ariaLabel?String(props.ariaLabel):null},on:{click:function(event){props.disabled&&isEvent(event)&&stopEvent(event)}}};return hasNormalizedSlot("default",$scopedSlots,$slots)||(componentData.domProps={innerHTML:props.content}),h("button",a(data,componentData),normalizeSlot("default",{},$scopedSlots,$slots))}}),NO_FADE_PROPS={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},FADE_PROPS=_objectSpread2$3(_objectSpread2$3({},NO_FADE_PROPS),{},{enterActiveClass:"fade",leaveActiveClass:"fade"}),props$2k={appear:makeProp(PROP_TYPE_BOOLEAN,!1),mode:makeProp(PROP_TYPE_STRING),noFade:makeProp(PROP_TYPE_BOOLEAN,!1),transProps:makeProp(PROP_TYPE_OBJECT)},BVTransition=extend({name:"BVTransition",functional:!0,props:props$2k,render:function(h,_ref){var children=_ref.children,data=_ref.data,props=_ref.props,transProps=props.transProps;isPlainObject(transProps)||(transProps=props.noFade?NO_FADE_PROPS:FADE_PROPS,props.appear&&(transProps=_objectSpread2$3(_objectSpread2$3({},transProps),{},{appear:!0,appearClass:transProps.enterClass,appearActiveClass:transProps.enterActiveClass,appearToClass:transProps.enterToClass}))),transProps=_objectSpread2$3(_objectSpread2$3({mode:props.mode},transProps),{},{css:!0});var dataCopy=_objectSpread2$3({},data);return delete dataCopy.props,h("transition",a(dataCopy,{props:transProps}),children)}}),_makeModelMixin$k=makeModelMixin("show",{type:PROP_TYPE_BOOLEAN_NUMBER_STRING,defaultValue:!1}),modelMixin$j=_makeModelMixin$k.mixin,modelProps$j=_makeModelMixin$k.props,MODEL_PROP_NAME$j=_makeModelMixin$k.prop,MODEL_EVENT_NAME$j=_makeModelMixin$k.event,parseCountDown=function(show){return""===show||isBoolean(show)?0:(show=toInteger(show,0))>0?show:0},parseShow=function(show){return""===show||!0===show||!(toInteger(show,0)<1)&&!!show},props$2j=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},modelProps$j),{},{dismissLabel:makeProp(PROP_TYPE_STRING,"Close"),dismissible:makeProp(PROP_TYPE_BOOLEAN,!1),fade:makeProp(PROP_TYPE_BOOLEAN,!1),variant:makeProp(PROP_TYPE_STRING,"info")})),"BAlert"),AlertPlugin=pluginFactory({components:{BAlert:extend({name:"BAlert",mixins:[modelMixin$j,normalizeSlotMixin],props:props$2j,data:function(){return{countDown:0,localShow:parseShow(this[MODEL_PROP_NAME$j])}},watch:(_watch$k={},_defineProperty(_watch$k,MODEL_PROP_NAME$j,(function(newValue){this.countDown=parseCountDown(newValue),this.localShow=parseShow(newValue)})),_defineProperty(_watch$k,"countDown",(function(newValue){var _this=this;this.clearCountDownInterval();var show=this[MODEL_PROP_NAME$j];isNumeric$1(show)&&(this.$emit("dismiss-count-down",newValue),show!==newValue&&this.$emit(MODEL_EVENT_NAME$j,newValue),newValue>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout((function(){_this.countDown--}),1e3)):this.$nextTick((function(){requestAF((function(){_this.localShow=!1}))})))})),_defineProperty(_watch$k,"localShow",(function(newValue){var show=this[MODEL_PROP_NAME$j];newValue||!this.dismissible&&!isNumeric$1(show)||this.$emit("dismissed"),isNumeric$1(show)||show===newValue||this.$emit(MODEL_EVENT_NAME$j,newValue)})),_watch$k),created:function(){this.$_filterTimer=null;var show=this[MODEL_PROP_NAME$j];this.countDown=parseCountDown(show),this.localShow=parseShow(show)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){clearTimeout(this.$_countDownTimeout),this.$_countDownTimeout=null}},render:function(h){var $alert=h();if(this.localShow){var dismissible=this.dismissible,variant=this.variant,$dismissButton=h();dismissible&&($dismissButton=h(BButtonClose,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot("dismiss")])),$alert=h("div",{staticClass:"alert",class:_defineProperty({"alert-dismissible":dismissible},"alert-".concat(variant),variant),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this._uid},[$dismissButton,this.normalizeSlot()])}return h(BVTransition,{props:{noFade:!this.fade}},[$alert])}})}}),mathMin=Math.min,mathMax=Math.max,mathAbs=Math.abs,mathCeil=Math.ceil,mathFloor=Math.floor,mathPow=Math.pow,mathRound=Math.round,props$2i=makePropsConfigurable({aspect:makeProp(PROP_TYPE_NUMBER_STRING,"1:1"),tag:makeProp(PROP_TYPE_STRING,"div")},"BAspect"),BAspect=extend({name:"BAspect",mixins:[normalizeSlotMixin],props:props$2i,computed:{padding:function(){var aspect=this.aspect,ratio=1;if(RX_ASPECT.test(aspect)){var _aspect$split$map2=_slicedToArray(aspect.split(RX_ASPECT_SEPARATOR).map((function(v){return toFloat(v)||1})),2);ratio=_aspect$split$map2[0]/_aspect$split$map2[1]}else ratio=toFloat(aspect)||1;return"".concat(100/mathAbs(ratio),"%")}},render:function(h){var $sizer=h("div",{staticClass:"".concat("b-aspect","-sizer flex-grow-1"),style:{paddingBottom:this.padding,height:0}}),$content=h("div",{staticClass:"".concat("b-aspect","-content flex-grow-1 w-100 mw-100"),style:{marginLeft:"-100%"}},this.normalizeSlot());return h(this.tag,{staticClass:"".concat("b-aspect"," d-flex")},[$sizer,$content])}}),AspectPlugin=pluginFactory({components:{BAspect:BAspect}});function safeVueInstance(target){return isVue3?new Proxy(target,{get:function(target,prop){return prop in target?target[prop]:void 0}}):target}var encodeReserveReplacer=function(c){return"%"+c.charCodeAt(0).toString(16)},encode=function(str){return encodeURIComponent(toString(str)).replace(RX_ENCODE_REVERSE,encodeReserveReplacer).replace(RX_ENCODED_COMMA,",")},decode=decodeURIComponent,parseQuery=function(query){var parsed={};return(query=toString(query).trim().replace(RX_QUERY_START,""))?(query.split("&").forEach((function(param){var parts=param.replace(RX_PLUS," ").split("="),key=decode(parts.shift()),value=parts.length>0?decode(parts.join("=")):null;isUndefined(parsed[key])?parsed[key]=value:isArray(parsed[key])?parsed[key].push(value):parsed[key]=[parsed[key],value]})),parsed):parsed},isLink$1=function(props){return!(!props.href&&!props.to)},isRouterLink=function(tag){return!(!tag||isTag(tag,"a"))},computeHref=function(){var _ref3=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},href=_ref3.href,to=_ref3.to,fallback=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",toFallback=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(href)return href;if(isRouterLink(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a"))return null;if(isString(to))return to||toFallback;if(isPlainObject(to)&&(to.path||to.query||to.hash)){var path=toString(to.path),query=function(obj){if(!isPlainObject(obj))return"";var query=keys(obj).map((function(key){var value=obj[key];return isUndefined(value)?"":isNull(value)?encode(key):isArray(value)?value.reduce((function(results,value2){return isNull(value2)?results.push(encode(key)):isUndefined(value2)||results.push(encode(key)+"="+encode(value2)),results}),[]).join("&"):encode(key)+"="+encode(value)})).filter((function(x){return x.length>0})).join("&");return query?"?".concat(query):""}(to.query),hash=toString(to.hash);return hash=hash&&"#"!==hash.charAt(0)?"#".concat(hash):hash,"".concat(path).concat(query).concat(hash)||toFallback}return fallback},BASE_ATTRS={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},STACKED_ATTRS={width:null,height:null,focusable:null,role:null,"aria-label":null},props$2h={animation:makeProp(PROP_TYPE_STRING),content:makeProp(PROP_TYPE_STRING),flipH:makeProp(PROP_TYPE_BOOLEAN,!1),flipV:makeProp(PROP_TYPE_BOOLEAN,!1),fontScale:makeProp(PROP_TYPE_NUMBER_STRING,1),rotate:makeProp(PROP_TYPE_NUMBER_STRING,0),scale:makeProp(PROP_TYPE_NUMBER_STRING,1),shiftH:makeProp(PROP_TYPE_NUMBER_STRING,0),shiftV:makeProp(PROP_TYPE_NUMBER_STRING,0),stacked:makeProp(PROP_TYPE_BOOLEAN,!1),title:makeProp(PROP_TYPE_STRING),variant:makeProp(PROP_TYPE_STRING)},BVIconBase=extend({name:"BIconBase",functional:!0,props:props$2h,render:function(h,_ref){var _class,data=_ref.data,props=_ref.props,children=_ref.children,animation=props.animation,content=props.content,flipH=props.flipH,flipV=props.flipV,stacked=props.stacked,title=props.title,variant=props.variant,fontScale=mathMax(toFloat(props.fontScale,1),0)||1,scale=mathMax(toFloat(props.scale,1),0)||1,rotate=toFloat(props.rotate,0),shiftH=toFloat(props.shiftH,0),shiftV=toFloat(props.shiftV,0),hasScale=flipH||flipV||1!==scale,hasTransforms=hasScale||rotate,hasShift=shiftH||shiftV,hasContent=!isUndefinedOrNull(content),$inner=h("g",{attrs:{transform:[hasTransforms?"translate(8 8)":null,hasScale?"scale(".concat((flipH?-1:1)*scale," ").concat((flipV?-1:1)*scale,")"):null,rotate?"rotate(".concat(rotate,")"):null,hasTransforms?"translate(-8 -8)":null].filter(identity).join(" ")||null},domProps:hasContent?{innerHTML:content||""}:{}},children);hasShift&&($inner=h("g",{attrs:{transform:"translate(".concat(16*shiftH/16," ").concat(-16*shiftV/16,")")}},[$inner])),stacked&&($inner=h("g",[$inner]));var $content=[title?h("title",title):null,$inner].filter(identity);return h("svg",a({staticClass:"b-icon bi",class:(_class={},_defineProperty(_class,"text-".concat(variant),variant),_defineProperty(_class,"b-icon-animation-".concat(animation),animation),_class),attrs:BASE_ATTRS,style:stacked?{}:{fontSize:1===fontScale?null:"".concat(100*fontScale,"%")}},data,stacked?{attrs:STACKED_ATTRS}:{},{attrs:{xmlns:stacked?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),$content)}}),iconProps$1=omit(props$2h,["content"]),makeIcon=function(name,content){var kebabName=kebabCase(name),iconName="BIcon".concat(pascalCase(name)),iconNameClass="bi-".concat(kebabName),iconTitle=kebabName.replace(/-/g," "),svgContent=trim(content||"");return extend({name:iconName,functional:!0,props:iconProps$1,render:function(h,_ref){var data=_ref.data,props=_ref.props;return h(BVIconBase,a({props:{title:iconTitle},attrs:{"aria-label":iconTitle}},data,{staticClass:iconNameClass,props:_objectSpread2$3(_objectSpread2$3({},props),{},{content:svgContent})}))}})},BIconBlank=makeIcon("Blank",""),BIconCalendar=makeIcon("Calendar",'<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/>'),BIconCalendarFill=makeIcon("CalendarFill",'<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5h16V4H0V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5z"/>'),BIconChevronBarLeft=makeIcon("ChevronBarLeft",'<path fill-rule="evenodd" d="M11.854 3.646a.5.5 0 0 1 0 .708L8.207 8l3.647 3.646a.5.5 0 0 1-.708.708l-4-4a.5.5 0 0 1 0-.708l4-4a.5.5 0 0 1 .708 0zM4.5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5z"/>'),BIconChevronDoubleLeft=makeIcon("ChevronDoubleLeft",'<path fill-rule="evenodd" d="M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/><path fill-rule="evenodd" d="M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>'),BIconChevronDown=makeIcon("ChevronDown",'<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>'),BIconChevronLeft=makeIcon("ChevronLeft",'<path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>'),BIconChevronUp=makeIcon("ChevronUp",'<path fill-rule="evenodd" d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"/>'),BIconCircleFill=makeIcon("CircleFill",'<circle cx="8" cy="8" r="8"/>'),BIconClock=makeIcon("Clock",'<path d="M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/><path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z"/>'),BIconClockFill=makeIcon("ClockFill",'<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z"/>'),BIconDash=makeIcon("Dash",'<path d="M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z"/>'),BIconPersonFill=makeIcon("PersonFill",'<path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>'),BIconPlus=makeIcon("Plus",'<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/>'),BIconStar=makeIcon("Star",'<path d="M2.866 14.85c-.078.444.36.791.746.593l4.39-2.256 4.389 2.256c.386.198.824-.149.746-.592l-.83-4.73 3.522-3.356c.33-.314.16-.888-.282-.95l-4.898-.696L8.465.792a.513.513 0 0 0-.927 0L5.354 5.12l-4.898.696c-.441.062-.612.636-.283.95l3.523 3.356-.83 4.73zm4.905-2.767-3.686 1.894.694-3.957a.565.565 0 0 0-.163-.505L1.71 6.745l4.052-.576a.525.525 0 0 0 .393-.288L8 2.223l1.847 3.658a.525.525 0 0 0 .393.288l4.052.575-2.906 2.77a.565.565 0 0 0-.163.506l.694 3.957-3.686-1.894a.503.503 0 0 0-.461 0z"/>'),BIconStarFill=makeIcon("StarFill",'<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>'),BIconStarHalf=makeIcon("StarHalf",'<path d="M5.354 5.119 7.538.792A.516.516 0 0 1 8 .5c.183 0 .366.097.465.292l2.184 4.327 4.898.696A.537.537 0 0 1 16 6.32a.548.548 0 0 1-.17.445l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256a.52.52 0 0 1-.146.05c-.342.06-.668-.254-.6-.642l.83-4.73L.173 6.765a.55.55 0 0 1-.172-.403.58.58 0 0 1 .085-.302.513.513 0 0 1 .37-.245l4.898-.696zM8 12.027a.5.5 0 0 1 .232.056l3.686 1.894-.694-3.957a.565.565 0 0 1 .162-.505l2.907-2.77-4.052-.576a.525.525 0 0 1-.393-.288L8.001 2.223 8 2.226v9.8z"/>'),BIconX=makeIcon("X",'<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>'),findIconComponent=function findIconComponent(ctx,iconName){if(!ctx)return Vue__default.default.component(iconName);var components=(ctx.$options||{}).components;return components&&components[iconName]||findIconComponent(ctx.$parent,iconName)},iconProps=omit(props$2h,["content"]),props$2g=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},iconProps),{},{icon:makeProp(PROP_TYPE_STRING)})),"BIcon"),BIcon=extend({name:"BIcon",functional:!0,props:props$2g,render:function(h,_ref){var data=_ref.data,props=_ref.props,parent=_ref.parent,icon=pascalCase(trim(props.icon||"")).replace(RX_ICON_PREFIX,"");return h(icon&&findIconComponent(parent,"BIcon".concat(icon))||BIconBlank,a(data,{props:pluckProps(iconProps,props)}))}}),CODE_DOWN=40,CODE_END=35,CODE_ENTER=13,CODE_HOME=36,CODE_LEFT=37,CODE_RIGHT=39,CODE_SPACE=32,CODE_UP=38,compareArrays=function(a,b){if(a.length!==b.length)return!1;for(var equal=!0,i=0;equal&&i<a.length;i++)equal=looseEqual(a[i],b[i]);return equal},looseEqual=function looseEqual(a,b){if(a===b)return!0;var aValidType=isDate(a),bValidType=isDate(b);if(aValidType||bValidType)return!(!aValidType||!bValidType)&&a.getTime()===b.getTime();if(aValidType=isArray(a),bValidType=isArray(b),aValidType||bValidType)return!(!aValidType||!bValidType)&&compareArrays(a,b);if(aValidType=isObject(a),bValidType=isObject(b),aValidType||bValidType){if(!aValidType||!bValidType)return!1;if(keys(a).length!==keys(b).length)return!1;for(var key in a){var aHasKey=hasOwnProperty(a,key),bHasKey=hasOwnProperty(b,key);if(aHasKey&&!bHasKey||!aHasKey&&bHasKey||!looseEqual(a[key],b[key]))return!1}}return String(a)===String(b)},isEmpty=function(value){return!value||0===keys(value).length},makePropWatcher=function(propName){return{handler:function(newValue,oldValue){if(!looseEqual(newValue,oldValue))if(isEmpty(newValue)||isEmpty(oldValue))this[propName]=cloneDeep(newValue);else{for(var key in oldValue)hasOwnProperty(newValue,key)||this.$delete(this.$data[propName],key);for(var _key in newValue)this.$set(this.$data[propName],_key,newValue[_key])}}}},makePropCacheMixin=function(propName,proxyPropName){return extend({data:function(){return _defineProperty({},proxyPropName,cloneDeep(this[propName]))},watch:_defineProperty({},propName,makePropWatcher(proxyPropName))})},attrsMixinVue2=makePropCacheMixin("$attrs","bvAttrs"),attrsMixinVue3=extend({computed:{bvAttrs:function(){var bvAttrs=_objectSpread2$3({},this.$attrs);return Object.keys(bvAttrs).forEach((function(key){void 0===bvAttrs[key]&&delete bvAttrs[key]})),bvAttrs}}}),attrsMixin=isVue3?attrsMixinVue3:attrsMixinVue2,getEventRoot=function(vm){return vm.$root.$options.bvEventRoot||vm.$root},PROP$3="$_rootListeners",listenOnRootMixin=extend({computed:{bvEventRoot:function(){return getEventRoot(this)}},created:function(){this[PROP$3]={}},beforeDestroy:function(){var _this=this;keys(this[PROP$3]||{}).forEach((function(event){_this[PROP$3][event].forEach((function(callback){_this.listenOffRoot(event,callback)}))})),this[PROP$3]=null},methods:{registerRootListener:function(event,callback){this[PROP$3]&&(this[PROP$3][event]=this[PROP$3][event]||[],arrayIncludes(this[PROP$3][event],callback)||this[PROP$3][event].push(callback))},unregisterRootListener:function(event,callback){this[PROP$3]&&this[PROP$3][event]&&(this[PROP$3][event]=this[PROP$3][event].filter((function(cb){return cb!==callback})))},listenOnRoot:function(event,callback){this.bvEventRoot&&(this.bvEventRoot.$on(event,callback),this.registerRootListener(event,callback))},listenOnRootOnce:function(event,callback){var _this2=this;if(this.bvEventRoot){var _callback=function _callback(){_this2.unregisterRootListener(_callback),callback.apply(void 0,arguments)};this.bvEventRoot.$once(event,_callback),this.registerRootListener(event,_callback)}},listenOffRoot:function(event,callback){this.unregisterRootListener(event,callback),this.bvEventRoot&&this.bvEventRoot.$off(event,callback)},emitOnRoot:function(event){if(this.bvEventRoot){for(var _this$bvEventRoot,_len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];(_this$bvEventRoot=this.bvEventRoot).$emit.apply(_this$bvEventRoot,[event].concat(args))}}}}),listenersMixinVue2=makePropCacheMixin("$listeners","bvListeners"),listenersMixinVue3=extend({data:function(){return{bvListeners:{}}},created:function(){this.bvListeners=_objectSpread2$3({},this.$listeners)},beforeUpdate:function(){this.bvListeners=_objectSpread2$3({},this.$listeners)}}),listenersMixin=isVue3?listenersMixinVue3:listenersMixinVue2,ROOT_EVENT_NAME_CLICKED=getRootEventName("BLink","clicked"),routerLinkProps={activeClass:makeProp(PROP_TYPE_STRING),append:makeProp(PROP_TYPE_BOOLEAN,!1),event:makeProp(PROP_TYPE_ARRAY_STRING),exact:makeProp(PROP_TYPE_BOOLEAN,!1),exactActiveClass:makeProp(PROP_TYPE_STRING),exactPath:makeProp(PROP_TYPE_BOOLEAN,!1),exactPathActiveClass:makeProp(PROP_TYPE_STRING),replace:makeProp(PROP_TYPE_BOOLEAN,!1),routerTag:makeProp(PROP_TYPE_STRING),to:makeProp(PROP_TYPE_OBJECT_STRING)},nuxtLinkProps={noPrefetch:makeProp(PROP_TYPE_BOOLEAN,!1),prefetch:makeProp(PROP_TYPE_BOOLEAN,null)},props$2f=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},nuxtLinkProps),routerLinkProps),{},{active:makeProp(PROP_TYPE_BOOLEAN,!1),disabled:makeProp(PROP_TYPE_BOOLEAN,!1),href:makeProp(PROP_TYPE_STRING),rel:makeProp(PROP_TYPE_STRING,null),routerComponentName:makeProp(PROP_TYPE_STRING),target:makeProp(PROP_TYPE_STRING,"_self")})),"BLink"),BLink=extend({name:"BLink",mixins:[attrsMixin,listenersMixin,listenOnRootMixin,normalizeSlotMixin],inheritAttrs:!1,props:props$2f,computed:{computedTag:function(){return function(_ref,thisOrParent){var to=_ref.to,disabled=_ref.disabled,routerComponentName=_ref.routerComponentName,hasRouter=!!safeVueInstance(thisOrParent).$router,hasNuxt=!!safeVueInstance(thisOrParent).$nuxt;return!hasRouter||hasRouter&&(disabled||!to)?"a":routerComponentName||(hasNuxt?"nuxt-link":"router-link")}({to:this.to,disabled:this.disabled,routerComponentName:this.routerComponentName},this)},isRouterLink:function(){return isRouterLink(this.computedTag)},computedRel:function(){return function(){var _ref2=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},target=_ref2.target,rel=_ref2.rel;return"_blank"===target&&isNull(rel)?"noopener":rel||null}({target:this.target,rel:this.rel})},computedHref:function(){var to=this.to,href=this.href;return computeHref({to:to,href:href},this.computedTag)},computedProps:function(){var event=this.event,prefetch=this.prefetch,routerTag=this.routerTag;return this.isRouterLink?_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},pluckProps(omit(_objectSpread2$3(_objectSpread2$3({},routerLinkProps),"nuxt-link"===this.computedTag?nuxtLinkProps:{}),["event","prefetch","routerTag"]),this)),event?{event:event}:{}),isBoolean(prefetch)?{prefetch:prefetch}:{}),routerTag?{tag:routerTag}:{}):{}},computedAttrs:function(){var bvAttrs=this.bvAttrs,href=this.computedHref,rel=this.computedRel,disabled=this.disabled,target=this.target,routerTag=this.routerTag,isRouterLink=this.isRouterLink;return _objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},bvAttrs),href?{href:href}:{}),isRouterLink&&routerTag&&!isTag(routerTag,"a")?{}:{rel:rel,target:target}),{},{tabindex:disabled?"-1":isUndefined(bvAttrs.tabindex)?null:bvAttrs.tabindex,"aria-disabled":disabled?"true":null})},computedListeners:function(){return _objectSpread2$3(_objectSpread2$3({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(event){var _arguments=arguments,eventIsEvent=isEvent(event),isRouterLink=this.isRouterLink,suppliedHandler=this.bvListeners.click;if(eventIsEvent&&this.disabled)stopEvent(event,{immediatePropagation:!0});else{var _event$currentTarget$;if(isRouterLink)null===(_event$currentTarget$=event.currentTarget.__vue__)||void 0===_event$currentTarget$||_event$currentTarget$.$emit("click",event);concat(suppliedHandler).filter((function(h){return isFunction$1(h)})).forEach((function(handler){handler.apply(void 0,_toConsumableArray$1(_arguments))})),this.emitOnRoot(ROOT_EVENT_NAME_CLICKED,event),this.emitOnRoot("clicked::link",event)}eventIsEvent&&!isRouterLink&&"#"===this.computedHref&&stopEvent(event,{propagation:!1})},focus:function(){attemptFocus(this.$el)},blur:function(){attemptBlur(this.$el)}},render:function(h){var active=this.active,disabled=this.disabled;return h(this.computedTag,_defineProperty({class:{active:active,disabled:disabled},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}}),linkProps$7=omit(props$2f,["event","routerTag"]);delete linkProps$7.href.default,delete linkProps$7.to.default;var props$2e=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},linkProps$7),{},{block:makeProp(PROP_TYPE_BOOLEAN,!1),disabled:makeProp(PROP_TYPE_BOOLEAN,!1),pill:makeProp(PROP_TYPE_BOOLEAN,!1),pressed:makeProp(PROP_TYPE_BOOLEAN,null),size:makeProp(PROP_TYPE_STRING),squared:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"button"),type:makeProp(PROP_TYPE_STRING,"button"),variant:makeProp(PROP_TYPE_STRING,"secondary")})),"BButton"),handleFocus=function(event){"focusin"===event.type?addClass(event.target,"focus"):"focusout"===event.type&&removeClass(event.target,"focus")},isLink=function(props){return isLink$1(props)||isTag(props.tag,"a")},isToggle=function(props){return isBoolean(props.pressed)},isButton=function(props){return!(isLink(props)||props.tag&&!isTag(props.tag,"button"))},isNonStandardTag$1=function(props){return!isLink(props)&&!isButton(props)},computeClass=function(props){var _ref;return["btn-".concat(props.variant||"secondary"),(_ref={},_defineProperty(_ref,"btn-".concat(props.size),props.size),_defineProperty(_ref,"btn-block",props.block),_defineProperty(_ref,"rounded-pill",props.pill),_defineProperty(_ref,"rounded-0",props.squared&&!props.pill),_defineProperty(_ref,"disabled",props.disabled),_defineProperty(_ref,"active",props.pressed),_ref)]},computeLinkProps=function(props){return isLink(props)?pluckProps(linkProps$7,props):{}},computeAttrs=function(props,data){var button=isButton(props),link=isLink(props),toggle=isToggle(props),nonStandardTag=isNonStandardTag$1(props),hashLink=link&&"#"===props.href,role=data.attrs&&data.attrs.role?data.attrs.role:null,tabindex=data.attrs?data.attrs.tabindex:null;return(nonStandardTag||hashLink)&&(tabindex="0"),{type:button&&!link?props.type:null,disabled:button?props.disabled:null,role:nonStandardTag||hashLink?"button":role,"aria-disabled":nonStandardTag?String(props.disabled):null,"aria-pressed":toggle?String(props.pressed):null,autocomplete:toggle?"off":null,tabindex:props.disabled&&!button?"-1":tabindex}},BButton=extend({name:"BButton",functional:!0,props:props$2e,render:function(h,_ref2){var props=_ref2.props,data=_ref2.data,listeners=_ref2.listeners,children=_ref2.children,toggle=isToggle(props),link=isLink(props),nonStandardTag=isNonStandardTag$1(props),hashLink=link&&"#"===props.href,on={keydown:function(event){if(!props.disabled&&(nonStandardTag||hashLink)){var keyCode=event.keyCode;if(keyCode===CODE_SPACE||keyCode===CODE_ENTER&&nonStandardTag){var target=event.currentTarget||event.target;stopEvent(event,{propagation:!1}),target.click()}}},click:function(event){props.disabled&&isEvent(event)?stopEvent(event):toggle&&listeners&&listeners["update:pressed"]&&concat(listeners["update:pressed"]).forEach((function(fn){isFunction$1(fn)&&fn(!props.pressed)}))}};toggle&&(on.focusin=handleFocus,on.focusout=handleFocus);var componentData={staticClass:"btn",class:computeClass(props),props:computeLinkProps(props),attrs:computeAttrs(props,data),on:on};return h(link?BLink:props.tag,a(_objectSpread2$3(_objectSpread2$3({},data),{},{props:void 0}),componentData),children)}}),SIZES=["sm",null,"lg"],computeSize=function(value){return value=isString(value)&&isNumeric$1(value)?toFloat(value,0):value,isNumber(value)?"".concat(value,"px"):value||null},linkProps$6=omit(props$2f,["active","event","routerTag"]),props$2d=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},linkProps$6),{},{alt:makeProp(PROP_TYPE_STRING,"avatar"),ariaLabel:makeProp(PROP_TYPE_STRING),badge:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),badgeLeft:makeProp(PROP_TYPE_BOOLEAN,!1),badgeOffset:makeProp(PROP_TYPE_STRING),badgeTop:makeProp(PROP_TYPE_BOOLEAN,!1),badgeVariant:makeProp(PROP_TYPE_STRING,"primary"),button:makeProp(PROP_TYPE_BOOLEAN,!1),buttonType:makeProp(PROP_TYPE_STRING,"button"),icon:makeProp(PROP_TYPE_STRING),rounded:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),size:makeProp(PROP_TYPE_NUMBER_STRING),square:makeProp(PROP_TYPE_BOOLEAN,!1),src:makeProp(PROP_TYPE_STRING),text:makeProp(PROP_TYPE_STRING),variant:makeProp(PROP_TYPE_STRING,"secondary")})),"BAvatar"),BAvatar=extend({name:"BAvatar",mixins:[normalizeSlotMixin],inject:{getBvAvatarGroup:{default:function(){return function(){return null}}}},props:props$2d,data:function(){return{localSrc:this.src||null}},computed:{bvAvatarGroup:function(){return this.getBvAvatarGroup()},computedSize:function(){var bvAvatarGroup=this.bvAvatarGroup;return computeSize(bvAvatarGroup?bvAvatarGroup.size:this.size)},computedVariant:function(){var bvAvatarGroup=this.bvAvatarGroup;return bvAvatarGroup&&bvAvatarGroup.variant?bvAvatarGroup.variant:this.variant},computedRounded:function(){var bvAvatarGroup=this.bvAvatarGroup,square=!(!bvAvatarGroup||!bvAvatarGroup.square)||this.square,rounded=bvAvatarGroup&&bvAvatarGroup.rounded?bvAvatarGroup.rounded:this.rounded;return square?"0":""===rounded||(rounded||"circle")},fontStyle:function(){var size=this.computedSize,fontSize=-1===SIZES.indexOf(size)?"calc(".concat(size," * ").concat(.4,")"):null;return fontSize?{fontSize:fontSize}:{}},marginStyle:function(){var size=this.computedSize,bvAvatarGroup=this.bvAvatarGroup,overlapScale=bvAvatarGroup?bvAvatarGroup.overlapScale:0,value=size&&overlapScale?"calc(".concat(size," * -").concat(overlapScale,")"):null;return value?{marginLeft:value,marginRight:value}:{}},badgeStyle:function(){var size=this.computedSize,badgeTop=this.badgeTop,badgeLeft=this.badgeLeft,offset=this.badgeOffset||"0px";return{fontSize:-1===SIZES.indexOf(size)?"calc(".concat(size," * ").concat(.27999999999999997," )"):null,top:badgeTop?offset:null,bottom:badgeTop?null:offset,left:badgeLeft?offset:null,right:badgeLeft?null:offset}}},watch:{src:function(newValue,oldValue){newValue!==oldValue&&(this.localSrc=newValue||null)}},methods:{onImgError:function(event){this.localSrc=null,this.$emit("img-error",event)},onClick:function(event){this.$emit("click",event)}},render:function(h){var _class2,variant=this.computedVariant,disabled=this.disabled,rounded=this.computedRounded,icon=this.icon,src=this.localSrc,text=this.text,fontStyle=this.fontStyle,marginStyle=this.marginStyle,size=this.computedSize,button=this.button,type=this.buttonType,badge=this.badge,badgeVariant=this.badgeVariant,badgeStyle=this.badgeStyle,link=!button&&isLink$1(this),tag=button?BButton:link?BLink:"span",alt=this.alt,ariaLabel=this.ariaLabel||null,$content=null;this.hasNormalizedSlot()?$content=h("span",{staticClass:"b-avatar-custom"},[this.normalizeSlot()]):src?($content=h("img",{style:variant?{}:{width:"100%",height:"100%"},attrs:{src:src,alt:alt},on:{error:this.onImgError}}),$content=h("span",{staticClass:"b-avatar-img"},[$content])):$content=icon?h(BIcon,{props:{icon:icon},attrs:{"aria-hidden":"true",alt:alt}}):text?h("span",{staticClass:"b-avatar-text",style:fontStyle},[h("span",text)]):h(BIconPersonFill,{attrs:{"aria-hidden":"true",alt:alt}});var $badge=h(),hasBadgeSlot=this.hasNormalizedSlot("badge");if(badge||""===badge||hasBadgeSlot){var badgeText=!0===badge?"":badge;$badge=h("span",{staticClass:"b-avatar-badge",class:_defineProperty({},"badge-".concat(badgeVariant),badgeVariant),style:badgeStyle},[hasBadgeSlot?this.normalizeSlot("badge"):badgeText])}return h(tag,{staticClass:"b-avatar",class:(_class2={},_defineProperty(_class2,"".concat("b-avatar","-").concat(size),size&&-1!==SIZES.indexOf(size)),_defineProperty(_class2,"badge-".concat(variant),!button&&variant),_defineProperty(_class2,"rounded",!0===rounded),_defineProperty(_class2,"rounded-".concat(rounded),rounded&&!0!==rounded),_defineProperty(_class2,"disabled",disabled),_class2),style:_objectSpread2$3(_objectSpread2$3({},marginStyle),{},{width:size,height:size}),attrs:{"aria-label":ariaLabel||null},props:button?{variant:variant,disabled:disabled,type:type}:link?pluckProps(linkProps$6,this):{},on:button||link?{click:this.onClick}:{}},[$content,$badge])}}),props$2c=makePropsConfigurable({overlap:makeProp(PROP_TYPE_NUMBER_STRING,.3),rounded:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),size:makeProp(PROP_TYPE_STRING),square:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"div"),variant:makeProp(PROP_TYPE_STRING)},"BAvatarGroup"),AvatarPlugin=pluginFactory({components:{BAvatar:BAvatar,BAvatarGroup:extend({name:"BAvatarGroup",mixins:[normalizeSlotMixin],provide:function(){var _this=this;return{getBvAvatarGroup:function(){return _this}}},props:props$2c,computed:{computedSize:function(){return computeSize(this.size)},overlapScale:function(){return mathMin(mathMax(toFloat(this.overlap,0),0),1)/2},paddingStyle:function(){var value=this.computedSize;return(value=value?"calc(".concat(value," * ").concat(this.overlapScale,")"):null)?{paddingLeft:value,paddingRight:value}:{}}},render:function(h){var $inner=h("div",{staticClass:"b-avatar-group-inner",style:this.paddingStyle},this.normalizeSlot());return h(this.tag,{staticClass:"b-avatar-group",attrs:{role:"group"}},[$inner])}})}}),linkProps$5=omit(props$2f,["event","routerTag"]);delete linkProps$5.href.default,delete linkProps$5.to.default;var _watch$j,props$2b=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},linkProps$5),{},{pill:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"span"),variant:makeProp(PROP_TYPE_STRING,"secondary")})),"BBadge"),BBadge=extend({name:"BBadge",functional:!0,props:props$2b,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,active=props.active,disabled=props.disabled,link=isLink$1(props),tag=link?BLink:props.tag,variant=props.variant||"secondary";return h(tag,a(data,{staticClass:"badge",class:["badge-".concat(variant),{"badge-pill":props.pill,active:active,disabled:disabled}],props:link?pluckProps(linkProps$5,props):{}}),children)}}),BadgePlugin=pluginFactory({components:{BBadge:BBadge}}),stripTags=function(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(RX_HTML_TAGS,"")},htmlOrText=function(innerHTML,textContent){return innerHTML?{innerHTML:innerHTML}:textContent?{textContent:textContent}:{}},props$2a=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},omit(props$2f,["event","routerTag"])),{},{ariaCurrent:makeProp(PROP_TYPE_STRING,"location"),html:makeProp(PROP_TYPE_STRING),text:makeProp(PROP_TYPE_STRING)})),"BBreadcrumbLink"),BBreadcrumbLink=extend({name:"BBreadcrumbLink",functional:!0,props:props$2a,render:function(h,_ref){var suppliedProps=_ref.props,data=_ref.data,children=_ref.children,active=suppliedProps.active,tag=active?"span":BLink,componentData={attrs:{"aria-current":active?suppliedProps.ariaCurrent:null},props:pluckProps(props$2a,suppliedProps)};return children||(componentData.domProps=htmlOrText(suppliedProps.html,suppliedProps.text)),h(tag,a(data,componentData),children)}}),props$29=makePropsConfigurable(props$2a,"BBreadcrumbItem"),BBreadcrumbItem=extend({name:"BBreadcrumbItem",functional:!0,props:props$29,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h("li",a(data,{staticClass:"breadcrumb-item",class:{active:props.active}}),[h(BBreadcrumbLink,{props:props},children)])}}),props$28=makePropsConfigurable({items:makeProp(PROP_TYPE_ARRAY)},"BBreadcrumb"),BBreadcrumb=extend({name:"BBreadcrumb",functional:!0,props:props$28,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,items=props.items,childNodes=children;if(isArray(items)){var activeDefined=!1;childNodes=items.map((function(item,idx){isObject(item)||(item={text:toString(item)});var active=item.active;return active&&(activeDefined=!0),active||activeDefined||(active=idx+1===items.length),h(BBreadcrumbItem,{props:_objectSpread2$3(_objectSpread2$3({},item),{},{active:active})})}))}return h("ol",a(data,{staticClass:"breadcrumb"}),childNodes)}}),BreadcrumbPlugin=pluginFactory({components:{BBreadcrumb:BBreadcrumb,BBreadcrumbItem:BBreadcrumbItem,BBreadcrumbLink:BBreadcrumbLink}}),ButtonPlugin=pluginFactory({components:{BButton:BButton,BBtn:BButton,BButtonClose:BButtonClose,BBtnClose:BButtonClose}}),props$27=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},pick$1(props$2e,["size"])),{},{ariaRole:makeProp(PROP_TYPE_STRING,"group"),size:makeProp(PROP_TYPE_STRING),tag:makeProp(PROP_TYPE_STRING,"div"),vertical:makeProp(PROP_TYPE_BOOLEAN,!1)})),"BButtonGroup"),BButtonGroup=extend({name:"BButtonGroup",functional:!0,props:props$27,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h(props.tag,a(data,{class:_defineProperty({"btn-group":!props.vertical,"btn-group-vertical":props.vertical},"btn-group-".concat(props.size),props.size),attrs:{role:props.ariaRole}}),children)}}),ButtonGroupPlugin=pluginFactory({components:{BButtonGroup:BButtonGroup,BBtnGroup:BButtonGroup}}),ITEM_SELECTOR=[".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(","),props$26=makePropsConfigurable({justify:makeProp(PROP_TYPE_BOOLEAN,!1),keyNav:makeProp(PROP_TYPE_BOOLEAN,!1)},"BButtonToolbar"),BButtonToolbar=extend({name:"BButtonToolbar",mixins:[normalizeSlotMixin],props:props$26,mounted:function(){this.keyNav&&this.getItems()},methods:{getItems:function(){var items=selectAll(ITEM_SELECTOR,this.$el);return items.forEach((function(item){item.tabIndex=-1})),items.filter((function(el){return isVisible(el)}))},focusFirst:function(){var items=this.getItems();attemptFocus(items[0])},focusPrev:function(event){var items=this.getItems(),index=items.indexOf(event.target);index>-1&&(items=items.slice(0,index).reverse(),attemptFocus(items[0]))},focusNext:function(event){var items=this.getItems(),index=items.indexOf(event.target);index>-1&&(items=items.slice(index+1),attemptFocus(items[0]))},focusLast:function(){var items=this.getItems().reverse();attemptFocus(items[0])},onFocusin:function(event){var $el=this.$el;event.target!==$el||contains($el,event.relatedTarget)||(stopEvent(event),this.focusFirst(event))},onKeydown:function(event){var keyCode=event.keyCode,shiftKey=event.shiftKey;keyCode===CODE_UP||keyCode===CODE_LEFT?(stopEvent(event),shiftKey?this.focusFirst(event):this.focusPrev(event)):keyCode!==CODE_DOWN&&keyCode!==CODE_RIGHT||(stopEvent(event),shiftKey?this.focusLast(event):this.focusNext(event))}},render:function(h){var keyNav=this.keyNav;return h("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:keyNav?"0":null},on:keyNav?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot()])}}),ButtonToolbarPlugin=pluginFactory({components:{BButtonToolbar:BButtonToolbar,BBtnToolbar:BButtonToolbar}}),createDate=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _construct(Date,args)},parseYMD=function(date){if(isString(date)&&RX_DATE.test(date.trim())){var _date$split$map2=_slicedToArray(date.split(RX_DATE_SPLIT).map((function(v){return toInteger(v,1)})),3),year=_date$split$map2[0],month=_date$split$map2[1],day=_date$split$map2[2];return createDate(year,month-1,day)}return isDate(date)?createDate(date.getFullYear(),date.getMonth(),date.getDate()):null},formatYMD=function(date){if(!(date=parseYMD(date)))return null;var year=date.getFullYear(),month="0".concat(date.getMonth()+1).slice(-2),day="0".concat(date.getDate()).slice(-2);return"".concat(year,"-").concat(month,"-").concat(day)},createDateFormatter=function(locale,options){return new Intl.DateTimeFormat(locale,options).format},datesEqual=function(date1,date2){return formatYMD(date1)===formatYMD(date2)},firstDateOfMonth=function(date){return(date=createDate(date)).setDate(1),date},lastDateOfMonth=function(date){return(date=createDate(date)).setMonth(date.getMonth()+1),date.setDate(0),date},addYears=function(date,numberOfYears){var month=(date=createDate(date)).getMonth();return date.setFullYear(date.getFullYear()+numberOfYears),date.getMonth()!==month&&date.setDate(0),date},oneMonthAgo=function(date){var month=(date=createDate(date)).getMonth();return date.setMonth(month-1),date.getMonth()===month&&date.setDate(0),date},oneMonthAhead=function(date){var month=(date=createDate(date)).getMonth();return date.setMonth(month+1),date.getMonth()===(month+2)%12&&date.setDate(0),date},oneYearAgo=function(date){return addYears(date,-1)},oneYearAhead=function(date){return addYears(date,1)},oneDecadeAgo=function(date){return addYears(date,-10)},oneDecadeAhead=function(date){return addYears(date,10)},constrainDate=function(date){var min=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,max=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return date=parseYMD(date),min=parseYMD(min)||date,max=parseYMD(max)||date,date?date<min?min:date>max?max:date:null},RTL_LANGS=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map((function(locale){return locale.toLowerCase()})),isLocaleRTL=function(locale){var parts=toString(locale).toLowerCase().replace(RX_STRIP_LOCALE_MODS,"").split("-"),locale1=parts.slice(0,2).join("-"),locale2=parts[0];return arrayIncludes(RTL_LANGS,locale1)||arrayIncludes(RTL_LANGS,locale2)},props$25={id:makeProp(PROP_TYPE_STRING)},idMixin=extend({props:props$25,data:function(){return{localId_:null}},computed:{safeId:function(){var id=this.id||this.localId_;return function(suffix){return id?(suffix=String(suffix||"").replace(/\s+/g,"_"))?id+"_"+suffix:id:null}}},mounted:function(){var _this=this;this.$nextTick((function(){_this.localId_="__BVID__".concat(_this._uid)}))}}),_makeModelMixin$j=makeModelMixin("value",{type:PROP_TYPE_DATE_STRING}),modelMixin$i=_makeModelMixin$j.mixin,modelProps$i=_makeModelMixin$j.props,MODEL_PROP_NAME$i=_makeModelMixin$j.prop,MODEL_EVENT_NAME$i=_makeModelMixin$j.event,props$24=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$i),{},{ariaControls:makeProp(PROP_TYPE_STRING),block:makeProp(PROP_TYPE_BOOLEAN,!1),dateDisabledFn:makeProp(PROP_TYPE_FUNCTION),dateFormatOptions:makeProp(PROP_TYPE_OBJECT,{year:"numeric",month:"long",day:"numeric",weekday:"long"}),dateInfoFn:makeProp(PROP_TYPE_FUNCTION),direction:makeProp(PROP_TYPE_STRING),disabled:makeProp(PROP_TYPE_BOOLEAN,!1),headerTag:makeProp(PROP_TYPE_STRING,"header"),hidden:makeProp(PROP_TYPE_BOOLEAN,!1),hideHeader:makeProp(PROP_TYPE_BOOLEAN,!1),initialDate:makeProp(PROP_TYPE_DATE_STRING),labelCalendar:makeProp(PROP_TYPE_STRING,"Calendar"),labelCurrentMonth:makeProp(PROP_TYPE_STRING,"Current month"),labelHelp:makeProp(PROP_TYPE_STRING,"Use cursor keys to navigate calendar dates"),labelNav:makeProp(PROP_TYPE_STRING,"Calendar navigation"),labelNextDecade:makeProp(PROP_TYPE_STRING,"Next decade"),labelNextMonth:makeProp(PROP_TYPE_STRING,"Next month"),labelNextYear:makeProp(PROP_TYPE_STRING,"Next year"),labelNoDateSelected:makeProp(PROP_TYPE_STRING,"No date selected"),labelPrevDecade:makeProp(PROP_TYPE_STRING,"Previous decade"),labelPrevMonth:makeProp(PROP_TYPE_STRING,"Previous month"),labelPrevYear:makeProp(PROP_TYPE_STRING,"Previous year"),labelSelected:makeProp(PROP_TYPE_STRING,"Selected date"),labelToday:makeProp(PROP_TYPE_STRING,"Today"),locale:makeProp(PROP_TYPE_ARRAY_STRING),max:makeProp(PROP_TYPE_DATE_STRING),min:makeProp(PROP_TYPE_DATE_STRING),navButtonVariant:makeProp(PROP_TYPE_STRING,"secondary"),noHighlightToday:makeProp(PROP_TYPE_BOOLEAN,!1),noKeyNav:makeProp(PROP_TYPE_BOOLEAN,!1),readonly:makeProp(PROP_TYPE_BOOLEAN,!1),roleDescription:makeProp(PROP_TYPE_STRING),selectedVariant:makeProp(PROP_TYPE_STRING,"primary"),showDecadeNav:makeProp(PROP_TYPE_BOOLEAN,!1),startWeekday:makeProp(PROP_TYPE_NUMBER_STRING,0),todayVariant:makeProp(PROP_TYPE_STRING),valueAsDate:makeProp(PROP_TYPE_BOOLEAN,!1),weekdayHeaderFormat:makeProp(PROP_TYPE_STRING,"short",(function(value){return arrayIncludes(["long","short","narrow"],value)})),width:makeProp(PROP_TYPE_STRING,"270px")})),"BCalendar"),BCalendar=extend({name:"BCalendar",mixins:[attrsMixin,idMixin,modelMixin$i,normalizeSlotMixin],props:props$24,data:function(){var selected=formatYMD(this[MODEL_PROP_NAME$i])||"";return{selectedYMD:selected,activeYMD:selected||formatYMD(constrainDate(this.initialDate||this.getToday()),this.min,this.max),gridHasFocus:!1,isLive:!1}},computed:{valueId:function(){return this.safeId()},widgetId:function(){return this.safeId("_calendar-wrapper_")},navId:function(){return this.safeId("_calendar-nav_")},gridId:function(){return this.safeId("_calendar-grid_")},gridCaptionId:function(){return this.safeId("_calendar-grid-caption_")},gridHelpId:function(){return this.safeId("_calendar-grid-help_")},activeId:function(){return this.activeYMD?this.safeId("_cell-".concat(this.activeYMD,"_")):null},selectedDate:function(){return parseYMD(this.selectedYMD)},activeDate:function(){return parseYMD(this.activeYMD)},computedMin:function(){return parseYMD(this.min)},computedMax:function(){return parseYMD(this.max)},computedWeekStarts:function(){return mathMax(toInteger(this.startWeekday,0),0)%7},computedLocale:function(){return function(locales){var calendar=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"gregory";return locales=concat(locales).filter(identity),new Intl.DateTimeFormat(locales,{calendar:calendar}).resolvedOptions().locale}(concat(this.locale).filter(identity),"gregory")},computedDateDisabledFn:function(){var dateDisabledFn=this.dateDisabledFn;return hasPropFunction(dateDisabledFn)?dateDisabledFn:function(){return!1}},computedDateInfoFn:function(){var dateInfoFn=this.dateInfoFn;return hasPropFunction(dateInfoFn)?dateInfoFn:function(){return{}}},calendarLocale:function(){var fmt=new Intl.DateTimeFormat(this.computedLocale,{calendar:"gregory"}),calendar=fmt.resolvedOptions().calendar,locale=fmt.resolvedOptions().locale;return"gregory"!==calendar&&(locale=locale.replace(/-u-.+$/i,"").concat("-u-ca-gregory")),locale},calendarYear:function(){return this.activeDate.getFullYear()},calendarMonth:function(){return this.activeDate.getMonth()},calendarFirstDay:function(){return createDate(this.calendarYear,this.calendarMonth,1,12)},calendarDaysInMonth:function(){var date=createDate(this.calendarFirstDay);return date.setMonth(date.getMonth()+1,0),date.getDate()},computedVariant:function(){return"btn-".concat(this.selectedVariant||"primary")},computedTodayVariant:function(){return"btn-outline-".concat(this.todayVariant||this.selectedVariant||"primary")},computedNavButtonVariant:function(){return"btn-outline-".concat(this.navButtonVariant||"primary")},isRTL:function(){var dir=toString(this.direction).toLowerCase();return"rtl"===dir||"ltr"!==dir&&isLocaleRTL(this.computedLocale)},context:function(){var selectedYMD=this.selectedYMD,activeYMD=this.activeYMD,selectedDate=parseYMD(selectedYMD),activeDate=parseYMD(activeYMD);return{selectedYMD:selectedYMD,selectedDate:selectedDate,selectedFormatted:selectedDate?this.formatDateString(selectedDate):this.labelNoDateSelected,activeYMD:activeYMD,activeDate:activeDate,activeFormatted:activeDate?this.formatDateString(activeDate):"",disabled:this.dateDisabled(activeDate),locale:this.computedLocale,calendarLocale:this.calendarLocale,rtl:this.isRTL}},dateOutOfRange:function(){var min=this.computedMin,max=this.computedMax;return function(date){return date=parseYMD(date),min&&date<min||max&&date>max}},dateDisabled:function(){var _this=this,rangeFn=this.dateOutOfRange;return function(date){date=parseYMD(date);var ymd=formatYMD(date);return!(!rangeFn(date)&&!_this.computedDateDisabledFn(ymd,date))}},formatDateString:function(){return createDateFormatter(this.calendarLocale,_objectSpread2$3(_objectSpread2$3({year:"numeric",month:"2-digit",day:"2-digit"},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:"gregory"}))},formatYearMonth:function(){return createDateFormatter(this.calendarLocale,{year:"numeric",month:"long",calendar:"gregory"})},formatWeekdayName:function(){return createDateFormatter(this.calendarLocale,{weekday:"long",calendar:"gregory"})},formatWeekdayNameShort:function(){return createDateFormatter(this.calendarLocale,{weekday:this.weekdayHeaderFormat||"short",calendar:"gregory"})},formatDay:function(){var nf=new Intl.NumberFormat([this.computedLocale],{style:"decimal",minimumIntegerDigits:1,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return function(date){return nf.format(date.getDate())}},prevDecadeDisabled:function(){var min=this.computedMin;return this.disabled||min&&lastDateOfMonth(oneDecadeAgo(this.activeDate))<min},prevYearDisabled:function(){var min=this.computedMin;return this.disabled||min&&lastDateOfMonth(oneYearAgo(this.activeDate))<min},prevMonthDisabled:function(){var min=this.computedMin;return this.disabled||min&&lastDateOfMonth(oneMonthAgo(this.activeDate))<min},thisMonthDisabled:function(){return this.disabled},nextMonthDisabled:function(){var max=this.computedMax;return this.disabled||max&&firstDateOfMonth(oneMonthAhead(this.activeDate))>max},nextYearDisabled:function(){var max=this.computedMax;return this.disabled||max&&firstDateOfMonth(oneYearAhead(this.activeDate))>max},nextDecadeDisabled:function(){var max=this.computedMax;return this.disabled||max&&firstDateOfMonth(oneDecadeAhead(this.activeDate))>max},calendar:function(){for(var matrix=[],firstDay=this.calendarFirstDay,calendarYear=firstDay.getFullYear(),calendarMonth=firstDay.getMonth(),daysInMonth=this.calendarDaysInMonth,startIndex=firstDay.getDay(),currentDay=0-((this.computedWeekStarts>startIndex?7:0)-this.computedWeekStarts)-startIndex,week=0;week<6&&currentDay<daysInMonth;week++){matrix[week]=[];for(var j=0;j<7;j++){currentDay++;var date=createDate(calendarYear,calendarMonth,currentDay),month=date.getMonth(),dayYMD=formatYMD(date),dayDisabled=this.dateDisabled(date),dateInfo=this.computedDateInfoFn(dayYMD,parseYMD(dayYMD));dateInfo=isString(dateInfo)||isArray(dateInfo)?{class:dateInfo}:isPlainObject(dateInfo)?_objectSpread2$3({class:""},dateInfo):{class:""},matrix[week].push({ymd:dayYMD,day:this.formatDay(date),label:this.formatDateString(date),isThisMonth:month===calendarMonth,isDisabled:dayDisabled,info:dateInfo})}}return matrix},calendarHeadings:function(){var _this2=this;return this.calendar[0].map((function(d){return{text:_this2.formatWeekdayNameShort(parseYMD(d.ymd)),label:_this2.formatWeekdayName(parseYMD(d.ymd))}}))}},watch:(_watch$j={},_defineProperty(_watch$j,MODEL_PROP_NAME$i,(function(newValue,oldValue){var selected=formatYMD(newValue)||"",old=formatYMD(oldValue)||"";datesEqual(selected,old)||(this.activeYMD=selected||this.activeYMD,this.selectedYMD=selected)})),_defineProperty(_watch$j,"selectedYMD",(function(newYMD,oldYMD){newYMD!==oldYMD&&this.$emit(MODEL_EVENT_NAME$i,this.valueAsDate?parseYMD(newYMD)||null:newYMD||"")})),_defineProperty(_watch$j,"context",(function(newValue,oldValue){looseEqual(newValue,oldValue)||this.$emit("context",newValue)})),_defineProperty(_watch$j,"hidden",(function(newValue){this.activeYMD=this.selectedYMD||formatYMD(this[MODEL_PROP_NAME$i]||this.constrainDate(this.initialDate||this.getToday())),this.setLive(!newValue)})),_watch$j),created:function(){var _this3=this;this.$nextTick((function(){_this3.$emit("context",_this3.context)}))},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||attemptFocus(this.$refs.grid)},blur:function(){this.disabled||attemptBlur(this.$refs.grid)},setLive:function(on){var _this4=this;on?this.$nextTick((function(){requestAF((function(){_this4.isLive=!0}))})):this.isLive=!1},getToday:function(){return parseYMD(createDate())},constrainDate:function(date){return constrainDate(date,this.computedMin,this.computedMax)},emitSelected:function(date){var _this5=this;this.$nextTick((function(){_this5.$emit("selected",formatYMD(date)||"",parseYMD(date)||null)}))},setGridFocusFlag:function(event){this.gridHasFocus=!this.disabled&&"focus"===event.type},onKeydownWrapper:function(event){if(!this.noKeyNav){var altKey=event.altKey,ctrlKey=event.ctrlKey,keyCode=event.keyCode;if(arrayIncludes([33,34,CODE_END,CODE_HOME,CODE_LEFT,CODE_UP,CODE_RIGHT,CODE_DOWN],keyCode)){stopEvent(event);var activeDate=createDate(this.activeDate),checkDate=createDate(this.activeDate),day=activeDate.getDate(),constrainedToday=this.constrainDate(this.getToday()),isRTL=this.isRTL;33===keyCode?(activeDate=(altKey?ctrlKey?oneDecadeAgo:oneYearAgo:oneMonthAgo)(activeDate),(checkDate=createDate(activeDate)).setDate(1)):34===keyCode?(activeDate=(altKey?ctrlKey?oneDecadeAhead:oneYearAhead:oneMonthAhead)(activeDate),(checkDate=createDate(activeDate)).setMonth(checkDate.getMonth()+1),checkDate.setDate(0)):keyCode===CODE_LEFT?(activeDate.setDate(day+(isRTL?1:-1)),checkDate=activeDate=this.constrainDate(activeDate)):keyCode===CODE_RIGHT?(activeDate.setDate(day+(isRTL?-1:1)),checkDate=activeDate=this.constrainDate(activeDate)):keyCode===CODE_UP?(activeDate.setDate(day-7),checkDate=activeDate=this.constrainDate(activeDate)):keyCode===CODE_DOWN?(activeDate.setDate(day+7),checkDate=activeDate=this.constrainDate(activeDate)):keyCode===CODE_HOME?checkDate=activeDate=constrainedToday:keyCode===CODE_END&&(checkDate=activeDate=parseYMD(this.selectedDate)||constrainedToday),this.dateOutOfRange(checkDate)||datesEqual(activeDate,this.activeDate)||(this.activeYMD=formatYMD(activeDate)),this.focus()}}},onKeydownGrid:function(event){var keyCode=event.keyCode,activeDate=this.activeDate;keyCode!==CODE_ENTER&&keyCode!==CODE_SPACE||(stopEvent(event),this.disabled||this.readonly||this.dateDisabled(activeDate)||(this.selectedYMD=formatYMD(activeDate),this.emitSelected(activeDate)),this.focus())},onClickDay:function(day){var selectedDate=this.selectedDate,activeDate=this.activeDate,clickedDate=parseYMD(day.ymd);this.disabled||day.isDisabled||this.dateDisabled(clickedDate)||(this.readonly||(this.selectedYMD=formatYMD(datesEqual(clickedDate,selectedDate)?selectedDate:clickedDate),this.emitSelected(clickedDate)),this.activeYMD=formatYMD(datesEqual(clickedDate,activeDate)?activeDate:createDate(clickedDate)),this.focus())},gotoPrevDecade:function(){this.activeYMD=formatYMD(this.constrainDate(oneDecadeAgo(this.activeDate)))},gotoPrevYear:function(){this.activeYMD=formatYMD(this.constrainDate(oneYearAgo(this.activeDate)))},gotoPrevMonth:function(){this.activeYMD=formatYMD(this.constrainDate(oneMonthAgo(this.activeDate)))},gotoCurrentMonth:function(){this.activeYMD=formatYMD(this.constrainDate(this.getToday()))},gotoNextMonth:function(){this.activeYMD=formatYMD(this.constrainDate(oneMonthAhead(this.activeDate)))},gotoNextYear:function(){this.activeYMD=formatYMD(this.constrainDate(oneYearAhead(this.activeDate)))},gotoNextDecade:function(){this.activeYMD=formatYMD(this.constrainDate(oneDecadeAhead(this.activeDate)))},onHeaderClick:function(){this.disabled||(this.activeYMD=this.selectedYMD||formatYMD(this.getToday()),this.focus())}},render:function(h){var _this6=this;if(this.hidden)return h();var valueId=this.valueId,widgetId=this.widgetId,navId=this.navId,gridId=this.gridId,gridCaptionId=this.gridCaptionId,gridHelpId=this.gridHelpId,activeId=this.activeId,disabled=this.disabled,noKeyNav=this.noKeyNav,isLive=this.isLive,isRTL=this.isRTL,activeYMD=this.activeYMD,selectedYMD=this.selectedYMD,safeId=this.safeId,hideDecadeNav=!this.showDecadeNav,todayYMD=formatYMD(this.getToday()),highlightToday=!this.noHighlightToday,$header=h("output",{staticClass:"form-control form-control-sm text-center",class:{"text-muted":disabled,readonly:this.readonly||disabled},attrs:{id:valueId,for:gridId,role:"status",tabindex:disabled?null:"-1","data-selected":toString(selectedYMD),"aria-live":isLive?"polite":"off","aria-atomic":isLive?"true":null},on:{click:this.onHeaderClick,focus:this.onHeaderClick}},this.selectedDate?[h("bdi",{staticClass:"sr-only"}," (".concat(toString(this.labelSelected),") ")),h("bdi",this.formatDateString(this.selectedDate))]:this.labelNoDateSelected||" ");$header=h(this.headerTag,{staticClass:"b-calendar-header",class:{"sr-only":this.hideHeader},attrs:{title:this.selectedDate&&this.labelSelected||null}},[$header]);var navScope={isRTL:isRTL},navProps={shiftV:.5},navPrevProps=_objectSpread2$3(_objectSpread2$3({},navProps),{},{flipH:isRTL}),navNextProps=_objectSpread2$3(_objectSpread2$3({},navProps),{},{flipH:!isRTL}),$prevDecadeIcon=this.normalizeSlot("nav-prev-decade",navScope)||h(BIconChevronBarLeft,{props:navPrevProps}),$prevYearIcon=this.normalizeSlot("nav-prev-year",navScope)||h(BIconChevronDoubleLeft,{props:navPrevProps}),$prevMonthIcon=this.normalizeSlot("nav-prev-month",navScope)||h(BIconChevronLeft,{props:navPrevProps}),$thisMonthIcon=this.normalizeSlot("nav-this-month",navScope)||h(BIconCircleFill,{props:navProps}),$nextMonthIcon=this.normalizeSlot("nav-next-month",navScope)||h(BIconChevronLeft,{props:navNextProps}),$nextYearIcon=this.normalizeSlot("nav-next-year",navScope)||h(BIconChevronDoubleLeft,{props:navNextProps}),$nextDecadeIcon=this.normalizeSlot("nav-next-decade",navScope)||h(BIconChevronBarLeft,{props:navNextProps}),makeNavBtn=function(content,label,handler,btnDisabled,shortcut){return h("button",{staticClass:"btn btn-sm border-0 flex-fill",class:[_this6.computedNavButtonVariant,{disabled:btnDisabled}],attrs:{title:label||null,type:"button",tabindex:noKeyNav?"-1":null,"aria-label":label||null,"aria-disabled":btnDisabled?"true":null,"aria-keyshortcuts":shortcut||null},on:btnDisabled?{}:{click:handler}},[h("div",{attrs:{"aria-hidden":"true"}},[content])])},$nav=h("div",{staticClass:"b-calendar-nav d-flex",attrs:{id:navId,role:"group",tabindex:noKeyNav?"-1":null,"aria-hidden":disabled?"true":null,"aria-label":this.labelNav||null,"aria-controls":gridId}},[hideDecadeNav?h():makeNavBtn($prevDecadeIcon,this.labelPrevDecade,this.gotoPrevDecade,this.prevDecadeDisabled,"Ctrl+Alt+PageDown"),makeNavBtn($prevYearIcon,this.labelPrevYear,this.gotoPrevYear,this.prevYearDisabled,"Alt+PageDown"),makeNavBtn($prevMonthIcon,this.labelPrevMonth,this.gotoPrevMonth,this.prevMonthDisabled,"PageDown"),makeNavBtn($thisMonthIcon,this.labelCurrentMonth,this.gotoCurrentMonth,this.thisMonthDisabled,"Home"),makeNavBtn($nextMonthIcon,this.labelNextMonth,this.gotoNextMonth,this.nextMonthDisabled,"PageUp"),makeNavBtn($nextYearIcon,this.labelNextYear,this.gotoNextYear,this.nextYearDisabled,"Alt+PageUp"),hideDecadeNav?h():makeNavBtn($nextDecadeIcon,this.labelNextDecade,this.gotoNextDecade,this.nextDecadeDisabled,"Ctrl+Alt+PageUp")]),$gridCaption=h("div",{staticClass:"b-calendar-grid-caption text-center font-weight-bold",class:{"text-muted":disabled},attrs:{id:gridCaptionId,"aria-live":isLive?"polite":null,"aria-atomic":isLive?"true":null},key:"grid-caption"},this.formatYearMonth(this.calendarFirstDay)),$gridWeekDays=h("div",{staticClass:"b-calendar-grid-weekdays row no-gutters border-bottom",attrs:{"aria-hidden":"true"}},this.calendarHeadings.map((function(d,idx){return h("small",{staticClass:"col text-truncate",class:{"text-muted":disabled},attrs:{title:d.label===d.text?null:d.label,"aria-label":d.label},key:idx},d.text)}))),$gridBody=this.calendar.map((function(week){var $cells=week.map((function(day,dIndex){var _class,isSelected=day.ymd===selectedYMD,isActive=day.ymd===activeYMD,isToday=day.ymd===todayYMD,idCell=safeId("_cell-".concat(day.ymd,"_")),$btn=h("span",{staticClass:"btn border-0 rounded-circle text-nowrap",class:(_class={focus:isActive&&_this6.gridHasFocus,disabled:day.isDisabled||disabled,active:isSelected},_defineProperty(_class,_this6.computedVariant,isSelected),_defineProperty(_class,_this6.computedTodayVariant,isToday&&highlightToday&&!isSelected&&day.isThisMonth),_defineProperty(_class,"btn-outline-light",!(isToday&&highlightToday||isSelected||isActive)),_defineProperty(_class,"btn-light",!(isToday&&highlightToday)&&!isSelected&&isActive),_defineProperty(_class,"text-muted",!day.isThisMonth&&!isSelected),_defineProperty(_class,"text-dark",!(isToday&&highlightToday)&&!isSelected&&!isActive&&day.isThisMonth),_defineProperty(_class,"font-weight-bold",(isSelected||day.isThisMonth)&&!day.isDisabled),_class),on:{click:function(){return _this6.onClickDay(day)}}},day.day);return h("div",{staticClass:"col p-0",class:day.isDisabled?"bg-light":day.info.class||"",attrs:{id:idCell,role:"button","data-date":day.ymd,"aria-hidden":day.isThisMonth?null:"true","aria-disabled":day.isDisabled||disabled?"true":null,"aria-label":[day.label,isSelected?"(".concat(_this6.labelSelected,")"):null,isToday?"(".concat(_this6.labelToday,")"):null].filter(identity).join(" "),"aria-selected":isSelected?"true":null,"aria-current":isSelected?"date":null},key:dIndex},[$btn])}));return h("div",{staticClass:"row no-gutters",key:week[0].ymd},$cells)}));$gridBody=h("div",{staticClass:"b-calendar-grid-body",style:disabled?{pointerEvents:"none"}:{}},$gridBody);var $gridHelp=h("div",{staticClass:"b-calendar-grid-help border-top small text-muted text-center bg-light",attrs:{id:gridHelpId}},[h("div",{staticClass:"small"},this.labelHelp)]),$grid=h("div",{staticClass:"b-calendar-grid form-control h-auto text-center",attrs:{id:gridId,role:"application",tabindex:noKeyNav?"-1":disabled?null:"0","data-month":activeYMD.slice(0,-3),"aria-roledescription":this.labelCalendar||null,"aria-labelledby":gridCaptionId,"aria-describedby":gridHelpId,"aria-disabled":disabled?"true":null,"aria-activedescendant":activeId},on:{keydown:this.onKeydownGrid,focus:this.setGridFocusFlag,blur:this.setGridFocusFlag},ref:"grid"},[$gridCaption,$gridWeekDays,$gridBody,$gridHelp]),$slot=this.normalizeSlot();$slot=$slot?h("footer",{staticClass:"b-calendar-footer"},$slot):h();var $widget=h("div",{staticClass:"b-calendar-inner",style:this.block?{}:{width:this.width},attrs:{id:widgetId,dir:isRTL?"rtl":"ltr",lang:this.computedLocale||null,role:"group","aria-disabled":disabled?"true":null,"aria-controls":this.ariaControls||null,"aria-roledescription":this.roleDescription||null,"aria-describedby":[this.bvAttrs["aria-describedby"],valueId,gridHelpId].filter(identity).join(" ")},on:{keydown:this.onKeydownWrapper}},[$header,$nav,$grid,$slot]);return h("div",{staticClass:"b-calendar",class:{"d-block":this.block}},[$widget])}}),CalendarPlugin=pluginFactory({components:{BCalendar:BCalendar}}),props$23=makePropsConfigurable({bgVariant:makeProp(PROP_TYPE_STRING),borderVariant:makeProp(PROP_TYPE_STRING),tag:makeProp(PROP_TYPE_STRING,"div"),textVariant:makeProp(PROP_TYPE_STRING)},"BCard");extend({props:props$23});var props$22=makePropsConfigurable({title:makeProp(PROP_TYPE_STRING),titleTag:makeProp(PROP_TYPE_STRING,"h4")},"BCardTitle"),BCardTitle=extend({name:"BCardTitle",functional:!0,props:props$22,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h(props.titleTag,a(data,{staticClass:"card-title"}),children||toString(props.title))}}),props$21=makePropsConfigurable({subTitle:makeProp(PROP_TYPE_STRING),subTitleTag:makeProp(PROP_TYPE_STRING,"h6"),subTitleTextVariant:makeProp(PROP_TYPE_STRING,"muted")},"BCardSubTitle"),BCardSubTitle=extend({name:"BCardSubTitle",functional:!0,props:props$21,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h(props.subTitleTag,a(data,{staticClass:"card-subtitle",class:[props.subTitleTextVariant?"text-".concat(props.subTitleTextVariant):null]}),children||toString(props.subTitle))}}),props$20=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$22),props$21),copyProps(props$23,prefixPropName.bind(null,"body"))),{},{bodyClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),overlay:makeProp(PROP_TYPE_BOOLEAN,!1)})),"BCardBody"),BCardBody=extend({name:"BCardBody",functional:!0,props:props$20,render:function(h,_ref){var _ref2,props=_ref.props,data=_ref.data,children=_ref.children,bodyBgVariant=props.bodyBgVariant,bodyBorderVariant=props.bodyBorderVariant,bodyTextVariant=props.bodyTextVariant,$title=h();props.title&&($title=h(BCardTitle,{props:pluckProps(props$22,props)}));var $subTitle=h();return props.subTitle&&($subTitle=h(BCardSubTitle,{props:pluckProps(props$21,props),class:["mb-2"]})),h(props.bodyTag,a(data,{staticClass:"card-body",class:[(_ref2={"card-img-overlay":props.overlay},_defineProperty(_ref2,"bg-".concat(bodyBgVariant),bodyBgVariant),_defineProperty(_ref2,"border-".concat(bodyBorderVariant),bodyBorderVariant),_defineProperty(_ref2,"text-".concat(bodyTextVariant),bodyTextVariant),_ref2),props.bodyClass]}),[$title,$subTitle,children])}}),props$1$=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},copyProps(props$23,prefixPropName.bind(null,"header"))),{},{header:makeProp(PROP_TYPE_STRING),headerClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),headerHtml:makeProp(PROP_TYPE_STRING)})),"BCardHeader"),BCardHeader=extend({name:"BCardHeader",functional:!0,props:props$1$,render:function(h,_ref){var _ref2,props=_ref.props,data=_ref.data,children=_ref.children,headerBgVariant=props.headerBgVariant,headerBorderVariant=props.headerBorderVariant,headerTextVariant=props.headerTextVariant;return h(props.headerTag,a(data,{staticClass:"card-header",class:[props.headerClass,(_ref2={},_defineProperty(_ref2,"bg-".concat(headerBgVariant),headerBgVariant),_defineProperty(_ref2,"border-".concat(headerBorderVariant),headerBorderVariant),_defineProperty(_ref2,"text-".concat(headerTextVariant),headerTextVariant),_ref2)],domProps:children?{}:htmlOrText(props.headerHtml,props.header)}),children)}}),props$1_=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},copyProps(props$23,prefixPropName.bind(null,"footer"))),{},{footer:makeProp(PROP_TYPE_STRING),footerClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),footerHtml:makeProp(PROP_TYPE_STRING)})),"BCardFooter"),BCardFooter=extend({name:"BCardFooter",functional:!0,props:props$1_,render:function(h,_ref){var _ref2,props=_ref.props,data=_ref.data,children=_ref.children,footerBgVariant=props.footerBgVariant,footerBorderVariant=props.footerBorderVariant,footerTextVariant=props.footerTextVariant;return h(props.footerTag,a(data,{staticClass:"card-footer",class:[props.footerClass,(_ref2={},_defineProperty(_ref2,"bg-".concat(footerBgVariant),footerBgVariant),_defineProperty(_ref2,"border-".concat(footerBorderVariant),footerBorderVariant),_defineProperty(_ref2,"text-".concat(footerTextVariant),footerTextVariant),_ref2)],domProps:children?{}:htmlOrText(props.footerHtml,props.footer)}),children)}}),BLANK_TEMPLATE='<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>',props$1Z=makePropsConfigurable({alt:makeProp(PROP_TYPE_STRING),blank:makeProp(PROP_TYPE_BOOLEAN,!1),blankColor:makeProp(PROP_TYPE_STRING,"transparent"),block:makeProp(PROP_TYPE_BOOLEAN,!1),center:makeProp(PROP_TYPE_BOOLEAN,!1),fluid:makeProp(PROP_TYPE_BOOLEAN,!1),fluidGrow:makeProp(PROP_TYPE_BOOLEAN,!1),height:makeProp(PROP_TYPE_NUMBER_STRING),left:makeProp(PROP_TYPE_BOOLEAN,!1),right:makeProp(PROP_TYPE_BOOLEAN,!1),rounded:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),sizes:makeProp(PROP_TYPE_ARRAY_STRING),src:makeProp(PROP_TYPE_STRING),srcset:makeProp(PROP_TYPE_ARRAY_STRING),thumbnail:makeProp(PROP_TYPE_BOOLEAN,!1),width:makeProp(PROP_TYPE_NUMBER_STRING)},"BImg"),BImg=extend({name:"BImg",functional:!0,props:props$1Z,render:function(h,_ref){var _class,props=_ref.props,data=_ref.data,alt=props.alt,src=props.src,block=props.block,fluidGrow=props.fluidGrow,rounded=props.rounded,width=toInteger(props.width)||null,height=toInteger(props.height)||null,align=null,srcset=concat(props.srcset).filter(identity).join(","),sizes=concat(props.sizes).filter(identity).join(",");return props.blank&&(!height&&width?height=width:!width&&height&&(width=height),width||height||(width=1,height=1),src=function(width,height,color){var src=encodeURIComponent(BLANK_TEMPLATE.replace("%{w}",toString(width)).replace("%{h}",toString(height)).replace("%{f}",color));return"data:image/svg+xml;charset=UTF-8,".concat(src)}(width,height,props.blankColor||"transparent"),srcset=null,sizes=null),props.left?align="float-left":props.right?align="float-right":props.center&&(align="mx-auto",block=!0),h("img",a(data,{attrs:{src:src,alt:alt,width:width?toString(width):null,height:height?toString(height):null,srcset:srcset||null,sizes:sizes||null},class:(_class={"img-thumbnail":props.thumbnail,"img-fluid":props.fluid||fluidGrow,"w-100":fluidGrow,rounded:""===rounded||!0===rounded},_defineProperty(_class,"rounded-".concat(rounded),isString(rounded)&&""!==rounded),_defineProperty(_class,align,align),_defineProperty(_class,"d-block",block),_class)}))}}),props$1Y=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},pick$1(props$1Z,["src","alt","width","height","left","right"])),{},{bottom:makeProp(PROP_TYPE_BOOLEAN,!1),end:makeProp(PROP_TYPE_BOOLEAN,!1),start:makeProp(PROP_TYPE_BOOLEAN,!1),top:makeProp(PROP_TYPE_BOOLEAN,!1)})),"BCardImg"),BCardImg=extend({name:"BCardImg",functional:!0,props:props$1Y,render:function(h,_ref){var props=_ref.props,data=_ref.data,src=props.src,alt=props.alt,width=props.width,height=props.height,baseClass="card-img";return props.top?baseClass+="-top":props.right||props.end?baseClass+="-right":props.bottom?baseClass+="-bottom":(props.left||props.start)&&(baseClass+="-left"),h("img",a(data,{class:baseClass,attrs:{src:src,alt:alt,width:width,height:height}}))}}),cardImgProps=copyProps(props$1Y,prefixPropName.bind(null,"img"));cardImgProps.imgSrc.required=!1;var _watch$i,_watch$h,_watch$g,props$1X=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$20),props$1$),props$1_),cardImgProps),props$23),{},{align:makeProp(PROP_TYPE_STRING),noBody:makeProp(PROP_TYPE_BOOLEAN,!1)})),"BCard"),BCard=extend({name:"BCard",functional:!0,props:props$1X,render:function(h,_ref){var _class,props=_ref.props,data=_ref.data,slots=_ref.slots,scopedSlots=_ref.scopedSlots,imgSrc=props.imgSrc,imgLeft=props.imgLeft,imgRight=props.imgRight,imgStart=props.imgStart,imgEnd=props.imgEnd,imgBottom=props.imgBottom,header=props.header,headerHtml=props.headerHtml,footer=props.footer,footerHtml=props.footerHtml,align=props.align,textVariant=props.textVariant,bgVariant=props.bgVariant,borderVariant=props.borderVariant,$scopedSlots=scopedSlots||{},$slots=slots(),slotScope={},$imgFirst=h(),$imgLast=h();if(imgSrc){var $img=h(BCardImg,{props:pluckProps(cardImgProps,props,unprefixPropName.bind(null,"img"))});imgBottom?$imgLast=$img:$imgFirst=$img}var $header=h(),hasHeaderSlot=hasNormalizedSlot("header",$scopedSlots,$slots);(hasHeaderSlot||header||headerHtml)&&($header=h(BCardHeader,{props:pluckProps(props$1$,props),domProps:hasHeaderSlot?{}:htmlOrText(headerHtml,header)},normalizeSlot("header",slotScope,$scopedSlots,$slots)));var $content=normalizeSlot("default",slotScope,$scopedSlots,$slots);props.noBody||($content=h(BCardBody,{props:pluckProps(props$20,props)},$content),props.overlay&&imgSrc&&($content=h("div",{staticClass:"position-relative"},[$imgFirst,$content,$imgLast]),$imgFirst=h(),$imgLast=h()));var $footer=h();return(hasNormalizedSlot("footer",$scopedSlots,$slots)||footer||footerHtml)&&($footer=h(BCardFooter,{props:pluckProps(props$1_,props),domProps:hasHeaderSlot?{}:htmlOrText(footerHtml,footer)},normalizeSlot("footer",slotScope,$scopedSlots,$slots))),h(props.tag,a(data,{staticClass:"card",class:(_class={"flex-row":imgLeft||imgStart,"flex-row-reverse":(imgRight||imgEnd)&&!(imgLeft||imgStart)},_defineProperty(_class,"text-".concat(align),align),_defineProperty(_class,"bg-".concat(bgVariant),bgVariant),_defineProperty(_class,"border-".concat(borderVariant),borderVariant),_defineProperty(_class,"text-".concat(textVariant),textVariant),_class)}),[$imgFirst,$header,$content,$footer,$imgLast])}}),OBSERVER_PROP_NAME="__bv__visibility_observer",VisibilityObserver=function(){function VisibilityObserver(el,options){_classCallCheck(this,VisibilityObserver),this.el=el,this.callback=options.callback,this.margin=options.margin||0,this.once=options.once||!1,this.observer=null,this.visible=void 0,this.doneOnce=!1,this.createObserver()}return _createClass(VisibilityObserver,[{key:"createObserver",value:function(){var _this=this;if(this.observer&&this.stop(),!this.doneOnce&&isFunction$1(this.callback)){try{this.observer=new IntersectionObserver(this.handler.bind(this),{root:null,rootMargin:this.margin,threshold:0})}catch(_unused){return this.doneOnce=!0,this.observer=void 0,void this.callback(null)}nextTick((function(){requestAF((function(){_this.observer&&_this.observer.observe(_this.el)}))}))}}},{key:"handler",value:function(entries){var entry=entries?entries[0]:{},isIntersecting=Boolean(entry.isIntersecting||entry.intersectionRatio>0);isIntersecting!==this.visible&&(this.visible=isIntersecting,this.callback(isIntersecting),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){this.observer&&this.observer.disconnect(),this.observer=null}}]),VisibilityObserver}(),destroy$1=function(el){var observer=el[OBSERVER_PROP_NAME];observer&&observer.stop&&observer.stop(),delete el[OBSERVER_PROP_NAME]},bind$1=function(el,_ref){var value=_ref.value,modifiers=_ref.modifiers,options={margin:"0px",once:!1,callback:value};keys(modifiers).forEach((function(mod){RX_DIGITS.test(mod)?options.margin="".concat(mod,"px"):"once"===mod.toLowerCase()&&(options.once=!0)})),destroy$1(el),el[OBSERVER_PROP_NAME]=new VisibilityObserver(el,options),el[OBSERVER_PROP_NAME]._prevModifiers=clone(modifiers)},VBVisible={bind:bind$1,componentUpdated:function(el,_ref2,vnode){var value=_ref2.value,oldValue=_ref2.oldValue,modifiers=_ref2.modifiers;modifiers=clone(modifiers),!el||value===oldValue&&el[OBSERVER_PROP_NAME]&&looseEqual(modifiers,el[OBSERVER_PROP_NAME]._prevModifiers)||bind$1(el,{value:value,modifiers:modifiers})},unbind:function(el){destroy$1(el)}},imgProps$1=omit(props$1Z,["blank"]),props$1W=makePropsConfigurable(_objectSpread2$3(_objectSpread2$3({},imgProps$1),{},_defineProperty({blankHeight:makeProp(PROP_TYPE_NUMBER_STRING),blankSrc:makeProp(PROP_TYPE_STRING,null),blankWidth:makeProp(PROP_TYPE_NUMBER_STRING),offset:makeProp(PROP_TYPE_NUMBER_STRING,360)},"show",makeProp(PROP_TYPE_BOOLEAN,!1))),"BImgLazy"),BImgLazy=extend({name:"BImgLazy",directives:{"b-visible":VBVisible},props:props$1W,data:function(){return{isShown:this.show}},computed:{computedSrc:function(){var blankSrc=this.blankSrc;return!blankSrc||this.isShown?this.src:blankSrc},computedBlank:function(){return!(this.isShown||this.blankSrc)},computedWidth:function(){var width=this.width;return this.isShown?width:this.blankWidth||width},computedHeight:function(){var height=this.height;return this.isShown?height:this.blankHeight||height},computedSrcset:function(){var srcset=concat(this.srcset).filter(identity).join(",");return!srcset||this.blankSrc&&!this.isShown?null:srcset},computedSizes:function(){var sizes=concat(this.sizes).filter(identity).join(",");return!sizes||this.blankSrc&&!this.isShown?null:sizes}},watch:(_watch$i={},_defineProperty(_watch$i,"show",(function(newValue,oldValue){if(newValue!==oldValue){var visible=!HAS_INTERACTION_OBSERVER_SUPPORT||newValue;this.isShown=visible,newValue!==visible&&this.$nextTick(this.updateShowProp)}})),_defineProperty(_watch$i,"isShown",(function(newValue,oldValue){newValue!==oldValue&&this.updateShowProp()})),_watch$i),mounted:function(){var _this=this;this.$nextTick((function(){_this.isShown=!HAS_INTERACTION_OBSERVER_SUPPORT||_this.show}))},methods:{updateShowProp:function(){this.$emit("update:show",this.isShown)},doShow:function(visible){var _this2=this;!visible&&null!==visible||this.isShown||requestAF((function(){_this2.isShown=!0}))}},render:function(h){var _modifiers,directives=[];this.isShown||directives.push({name:"b-visible",value:this.doShow,modifiers:(_modifiers={},_defineProperty(_modifiers,"".concat(toInteger(this.offset,0)),!0),_defineProperty(_modifiers,"once",!0),_modifiers)});return h(BImg,{directives:directives,props:_objectSpread2$3(_objectSpread2$3({},pluckProps(imgProps$1,this.$props)),{},{src:this.computedSrc,blank:this.computedBlank,width:this.computedWidth,height:this.computedHeight,srcset:this.computedSrcset,sizes:this.computedSizes})})}}),props$1V=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},omit(props$1W,keys(props$1Z))),omit(props$1Y,["src","alt","width","height"]))),"BCardImgLazy"),BCardImgLazy=extend({name:"BCardImgLazy",functional:!0,props:props$1V,render:function(h,_ref){var props=_ref.props,data=_ref.data,baseClass="card-img";return props.top?baseClass+="-top":props.right||props.end?baseClass+="-right":props.bottom?baseClass+="-bottom":(props.left||props.start)&&(baseClass+="-left"),h(BImgLazy,a(data,{class:[baseClass],props:omit(props,["left","right"])}))}}),props$1U=makePropsConfigurable({textTag:makeProp(PROP_TYPE_STRING,"p")},"BCardText"),BCardText=extend({name:"BCardText",functional:!0,props:props$1U,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h(props.textTag,a(data,{staticClass:"card-text"}),children)}}),props$1T=makePropsConfigurable({columns:makeProp(PROP_TYPE_BOOLEAN,!1),deck:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"div")},"BCardGroup"),BCardGroup=extend({name:"BCardGroup",functional:!0,props:props$1T,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h(props.tag,a(data,{class:props.deck?"card-deck":props.columns?"card-columns":"card-group"}),children)}}),CardPlugin=pluginFactory({components:{BCard:BCard,BCardHeader:BCardHeader,BCardBody:BCardBody,BCardTitle:BCardTitle,BCardSubTitle:BCardSubTitle,BCardFooter:BCardFooter,BCardImg:BCardImg,BCardImgLazy:BCardImgLazy,BCardText:BCardText,BCardGroup:BCardGroup}}),noop=function(){},observeDom=function(el,callback,options){if(el=el?el.$el||el:null,!isElement(el))return null;if(source="observeDom",!HAS_MUTATION_OBSERVER_SUPPORT&&(warn("".concat(source,": Requires MutationObserver support.")),1))return null;var source,obs=new MutationObs((function(mutations){for(var changed=!1,i=0;i<mutations.length&&!changed;i++){var mutation=mutations[i],type=mutation.type,target=mutation.target;("characterData"===type&&target.nodeType===Node.TEXT_NODE||"attributes"===type||"childList"===type&&(mutation.addedNodes.length>0||mutation.removedNodes.length>0))&&(changed=!0)}changed&&callback()}));return obs.observe(el,_objectSpread2$3({childList:!0,subtree:!0},options)),obs},_makeModelMixin$i=makeModelMixin("value",{type:PROP_TYPE_NUMBER,defaultValue:0}),modelMixin$h=_makeModelMixin$i.mixin,modelProps$h=_makeModelMixin$i.props,MODEL_PROP_NAME$h=_makeModelMixin$i.prop,MODEL_EVENT_NAME$h=_makeModelMixin$i.event,DIRECTION={next:{dirClass:"carousel-item-left",overlayClass:"carousel-item-next"},prev:{dirClass:"carousel-item-right",overlayClass:"carousel-item-prev"}},PointerType={TOUCH:"touch",PEN:"pen"},TransitionEndEvents$1={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend oTransitionEnd",transition:"transitionend"},props$1S=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$h),{},{background:makeProp(PROP_TYPE_STRING),controls:makeProp(PROP_TYPE_BOOLEAN,!1),fade:makeProp(PROP_TYPE_BOOLEAN,!1),imgHeight:makeProp(PROP_TYPE_NUMBER_STRING),imgWidth:makeProp(PROP_TYPE_NUMBER_STRING),indicators:makeProp(PROP_TYPE_BOOLEAN,!1),interval:makeProp(PROP_TYPE_NUMBER,5e3),labelGotoSlide:makeProp(PROP_TYPE_STRING,"Goto slide"),labelIndicators:makeProp(PROP_TYPE_STRING,"Select a slide to display"),labelNext:makeProp(PROP_TYPE_STRING,"Next slide"),labelPrev:makeProp(PROP_TYPE_STRING,"Previous slide"),noAnimation:makeProp(PROP_TYPE_BOOLEAN,!1),noHoverPause:makeProp(PROP_TYPE_BOOLEAN,!1),noTouch:makeProp(PROP_TYPE_BOOLEAN,!1),noWrap:makeProp(PROP_TYPE_BOOLEAN,!1)})),"BCarousel"),BCarousel=extend({name:"BCarousel",mixins:[idMixin,modelMixin$h,normalizeSlotMixin],provide:function(){var _this=this;return{getBvCarousel:function(){return _this}}},props:props$1S,data:function(){return{index:this[MODEL_PROP_NAME$h]||0,isSliding:!1,transitionEndEvent:null,slides:[],direction:null,isPaused:!(toInteger(this.interval,0)>0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(_watch$h={},_defineProperty(_watch$h,MODEL_PROP_NAME$h,(function(newValue,oldValue){newValue!==oldValue&&this.setSlide(toInteger(newValue,0))})),_defineProperty(_watch$h,"interval",(function(newValue,oldValue){newValue!==oldValue&&(newValue?(this.pause(!0),this.start(!1)):this.pause(!1))})),_defineProperty(_watch$h,"isPaused",(function(newValue,oldValue){newValue!==oldValue&&this.$emit(newValue?"paused":"unpaused")})),_defineProperty(_watch$h,"index",(function(to,from){to===from||this.isSliding||this.doSlide(to,from)})),_watch$h),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(toInteger(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=function(el){for(var name in TransitionEndEvents$1)if(!isUndefined(el.style[name]))return TransitionEndEvents$1[name];return null}(this.$el)||null,this.updateSlides(),this.setObserver(!0)},beforeDestroy:function(){this.clearInterval(),this.clearAnimationTimeout(),this.clearTouchTimeout(),this.setObserver(!1)},methods:{clearInterval:function(_clearInterval){function clearInterval(){return _clearInterval.apply(this,arguments)}return clearInterval.toString=function(){return _clearInterval.toString()},clearInterval}((function(){clearInterval(this.$_interval),this.$_interval=null})),clearAnimationTimeout:function(){clearTimeout(this.$_animationTimeout),this.$_animationTimeout=null},clearTouchTimeout:function(){clearTimeout(this.$_touchTimeout),this.$_touchTimeout=null},setObserver:function(){var on=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,on&&(this.$_observer=observeDom(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(slide){var _this2=this,direction=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(IS_BROWSER&&document.visibilityState&&document.hidden)){var noWrap=this.noWrap,numSlides=this.numSlides;slide=mathFloor(slide),0!==numSlides&&(this.isSliding?this.$once("sliding-end",(function(){requestAF((function(){return _this2.setSlide(slide,direction)}))})):(this.direction=direction,this.index=slide>=numSlides?noWrap?numSlides-1:0:slide<0?noWrap?0:numSlides-1:slide,noWrap&&this.index!==slide&&this.index!==this[MODEL_PROP_NAME$h]&&this.$emit(MODEL_EVENT_NAME$h,this.index)))}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(event){event||(this.isPaused=!0),this.clearInterval()},start:function(event){event||(this.isPaused=!1),this.clearInterval(),this.interval&&this.numSlides>1&&(this.$_interval=setInterval(this.next,mathMax(1e3,this.interval)))},restart:function(){this.$el.contains(getActiveElement())||this.start()},doSlide:function(to,from){var _this3=this,isCycling=Boolean(this.interval),direction=this.calcDirection(this.direction,from,to),overlayClass=direction.overlayClass,dirClass=direction.dirClass,currentSlide=this.slides[from],nextSlide=this.slides[to];if(currentSlide&&nextSlide){if(this.isSliding=!0,isCycling&&this.pause(!1),this.$emit("sliding-start",to),this.$emit(MODEL_EVENT_NAME$h,this.index),this.noAnimation)addClass(nextSlide,"active"),removeClass(currentSlide,"active"),this.isSliding=!1,this.$nextTick((function(){return _this3.$emit("sliding-end",to)}));else{addClass(nextSlide,overlayClass),reflow(nextSlide),addClass(currentSlide,dirClass),addClass(nextSlide,dirClass);var called=!1,onceTransEnd=function onceTransEnd(){if(!called){if(called=!0,_this3.transitionEndEvent)_this3.transitionEndEvent.split(/\s+/).forEach((function(event){return eventOff(nextSlide,event,onceTransEnd,EVENT_OPTIONS_NO_CAPTURE)}));_this3.clearAnimationTimeout(),removeClass(nextSlide,dirClass),removeClass(nextSlide,overlayClass),addClass(nextSlide,"active"),removeClass(currentSlide,"active"),removeClass(currentSlide,dirClass),removeClass(currentSlide,overlayClass),setAttr(currentSlide,"aria-current","false"),setAttr(nextSlide,"aria-current","true"),setAttr(currentSlide,"aria-hidden","true"),setAttr(nextSlide,"aria-hidden","false"),_this3.isSliding=!1,_this3.direction=null,_this3.$nextTick((function(){return _this3.$emit("sliding-end",to)}))}};if(this.transitionEndEvent)this.transitionEndEvent.split(/\s+/).forEach((function(event){return eventOn(nextSlide,event,onceTransEnd,EVENT_OPTIONS_NO_CAPTURE)}));this.$_animationTimeout=setTimeout(onceTransEnd,650)}isCycling&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=selectAll(".carousel-item",this.$refs.inner);var numSlides=this.slides.length,index=mathMax(0,mathMin(mathFloor(this.index),numSlides-1));this.slides.forEach((function(slide,idx){var n=idx+1;idx===index?(addClass(slide,"active"),setAttr(slide,"aria-current","true")):(removeClass(slide,"active"),setAttr(slide,"aria-current","false")),setAttr(slide,"aria-posinset",String(n)),setAttr(slide,"aria-setsize",String(numSlides))})),this.setSlide(index),this.start(this.isPaused)},calcDirection:function(){var direction=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return direction?DIRECTION[direction]:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)>(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)?DIRECTION.next:DIRECTION.prev},handleClick:function(event,fn){var keyCode=event.keyCode;"click"!==event.type&&keyCode!==CODE_SPACE&&keyCode!==CODE_ENTER||(stopEvent(event),fn())},handleSwipe:function(){var absDeltaX=mathAbs(this.touchDeltaX);if(!(absDeltaX<=40)){var direction=absDeltaX/this.touchDeltaX;this.touchDeltaX=0,direction>0?this.prev():direction<0&&this.next()}},touchStart:function(event){HAS_POINTER_EVENT_SUPPORT&&PointerType[event.pointerType.toUpperCase()]?this.touchStartX=event.clientX:HAS_POINTER_EVENT_SUPPORT||(this.touchStartX=event.touches[0].clientX)},touchMove:function(event){event.touches&&event.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=event.touches[0].clientX-this.touchStartX},touchEnd:function(event){HAS_POINTER_EVENT_SUPPORT&&PointerType[event.pointerType.toUpperCase()]&&(this.touchDeltaX=event.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,500+mathMax(1e3,this.interval))}},render:function(h){var _this4=this,indicators=this.indicators,background=this.background,noAnimation=this.noAnimation,noHoverPause=this.noHoverPause,noTouch=this.noTouch,index=this.index,isSliding=this.isSliding,pause=this.pause,restart=this.restart,touchStart=this.touchStart,touchEnd=this.touchEnd,idInner=this.safeId("__BV_inner_"),$inner=h("div",{staticClass:"carousel-inner",attrs:{id:idInner,role:"list"},ref:"inner"},[this.normalizeSlot()]),$controls=h();if(this.controls){var makeControl=function(direction,label,handler){var handlerWrapper=function(event){isSliding?stopEvent(event,{propagation:!1}):_this4.handleClick(event,handler)};return h("a",{staticClass:"carousel-control-".concat(direction),attrs:{href:"#",role:"button","aria-controls":idInner,"aria-disabled":isSliding?"true":null},on:{click:handlerWrapper,keydown:handlerWrapper}},[h("span",{staticClass:"carousel-control-".concat(direction,"-icon"),attrs:{"aria-hidden":"true"}}),h("span",{class:"sr-only"},[label])])};$controls=[makeControl("prev",this.labelPrev,this.prev),makeControl("next",this.labelNext,this.next)]}var $indicators=h("ol",{staticClass:"carousel-indicators",directives:[{name:"show",value:indicators}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":indicators?"false":"true","aria-label":this.labelIndicators,"aria-owns":idInner}},this.slides.map((function(slide,i){var handler=function(event){_this4.handleClick(event,(function(){_this4.setSlide(i)}))};return h("li",{class:{active:i===index},attrs:{role:"button",id:_this4.safeId("__BV_indicator_".concat(i+1,"_")),tabindex:indicators?"0":"-1","aria-current":i===index?"true":"false","aria-label":"".concat(_this4.labelGotoSlide," ").concat(i+1),"aria-describedby":slide.id||null,"aria-controls":idInner},on:{click:handler,keydown:handler},key:"slide_".concat(i)})}))),on={mouseenter:noHoverPause?noop:pause,mouseleave:noHoverPause?noop:restart,focusin:pause,focusout:restart,keydown:function(event){if(!/input|textarea/i.test(event.target.tagName)){var keyCode=event.keyCode;keyCode!==CODE_LEFT&&keyCode!==CODE_RIGHT||(stopEvent(event),_this4[keyCode===CODE_LEFT?"prev":"next"]())}}};return HAS_TOUCH_SUPPORT&&!noTouch&&(HAS_POINTER_EVENT_SUPPORT?(on["&pointerdown"]=touchStart,on["&pointerup"]=touchEnd):(on["&touchstart"]=touchStart,on["&touchmove"]=this.touchMove,on["&touchend"]=touchEnd)),h("div",{staticClass:"carousel",class:{slide:!noAnimation,"carousel-fade":!noAnimation&&this.fade,"pointer-event":HAS_TOUCH_SUPPORT&&HAS_POINTER_EVENT_SUPPORT&&!noTouch},style:{background:background},attrs:{role:"region",id:this.safeId(),"aria-busy":isSliding?"true":"false"},on:on},[$inner,$controls,$indicators])}}),imgProps={imgAlt:makeProp(PROP_TYPE_STRING),imgBlank:makeProp(PROP_TYPE_BOOLEAN,!1),imgBlankColor:makeProp(PROP_TYPE_STRING,"transparent"),imgHeight:makeProp(PROP_TYPE_NUMBER_STRING),imgSrc:makeProp(PROP_TYPE_STRING),imgWidth:makeProp(PROP_TYPE_NUMBER_STRING)},props$1R=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),imgProps),{},{background:makeProp(PROP_TYPE_STRING),caption:makeProp(PROP_TYPE_STRING),captionHtml:makeProp(PROP_TYPE_STRING),captionTag:makeProp(PROP_TYPE_STRING,"h3"),contentTag:makeProp(PROP_TYPE_STRING,"div"),contentVisibleUp:makeProp(PROP_TYPE_STRING),text:makeProp(PROP_TYPE_STRING),textHtml:makeProp(PROP_TYPE_STRING),textTag:makeProp(PROP_TYPE_STRING,"p")})),"BCarouselSlide"),BCarouselSlide=extend({name:"BCarouselSlide",mixins:[idMixin,normalizeSlotMixin],inject:{getBvCarousel:{default:function(){return function(){return{noTouch:!0}}}}},props:props$1R,computed:{bvCarousel:function(){return this.getBvCarousel()},contentClasses:function(){return[this.contentVisibleUp?"d-none":"",this.contentVisibleUp?"d-".concat(this.contentVisibleUp,"-block"):""]},computedWidth:function(){return this.imgWidth||this.bvCarousel.imgWidth||null},computedHeight:function(){return this.imgHeight||this.bvCarousel.imgHeight||null}},render:function(h){var $img=this.normalizeSlot("img");if(!$img&&(this.imgSrc||this.imgBlank)){var on={};!this.bvCarousel.noTouch&&HAS_TOUCH_SUPPORT&&(on.dragstart=function(event){return stopEvent(event,{propagation:!1})}),$img=h(BImg,{props:_objectSpread2$3(_objectSpread2$3({},pluckProps(imgProps,this.$props,unprefixPropName.bind(null,"img"))),{},{width:this.computedWidth,height:this.computedHeight,fluidGrow:!0,block:!0}),on:on})}var $contentChildren=[!(!this.caption&&!this.captionHtml)&&h(this.captionTag,{domProps:htmlOrText(this.captionHtml,this.caption)}),!(!this.text&&!this.textHtml)&&h(this.textTag,{domProps:htmlOrText(this.textHtml,this.text)}),this.normalizeSlot()||!1],$content=h();return $contentChildren.some(identity)&&($content=h(this.contentTag,{staticClass:"carousel-caption",class:this.contentClasses},$contentChildren.map((function($child){return $child||h()})))),h("div",{staticClass:"carousel-item",style:{background:this.background||this.bvCarousel.background||null},attrs:{id:this.safeId(),role:"listitem"}},[$img,$content])}}),CarouselPlugin=pluginFactory({components:{BCarousel:BCarousel,BCarouselSlide:BCarouselSlide}}),TRANSITION_PROPS={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},TRANSITION_HANDLERS={enter:function(el){setStyle(el,"height",0),requestAF((function(){reflow(el),setStyle(el,"height","".concat(el.scrollHeight,"px"))}))},afterEnter:function(el){removeStyle(el,"height")},leave:function(el){setStyle(el,"height","auto"),setStyle(el,"display","block"),setStyle(el,"height","".concat(getBCR(el).height,"px")),reflow(el),setStyle(el,"height",0)},afterLeave:function(el){removeStyle(el,"height")}},props$1Q={appear:makeProp(PROP_TYPE_BOOLEAN,!1)},BVCollapse=extend({name:"BVCollapse",functional:!0,props:props$1Q,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h("transition",a(data,{props:TRANSITION_PROPS,on:TRANSITION_HANDLERS},{props:props}),children)}}),ROOT_ACTION_EVENT_NAME_TOGGLE$2=getRootActionEventName("BCollapse","toggle"),ROOT_ACTION_EVENT_NAME_REQUEST_STATE$2=getRootActionEventName("BCollapse","request-state"),ROOT_EVENT_NAME_ACCORDION=getRootEventName("BCollapse","accordion"),ROOT_EVENT_NAME_STATE$3=getRootEventName("BCollapse","state"),ROOT_EVENT_NAME_SYNC_STATE$3=getRootEventName("BCollapse","sync-state"),_makeModelMixin$h=makeModelMixin("visible",{type:PROP_TYPE_BOOLEAN,defaultValue:!1}),modelMixin$g=_makeModelMixin$h.mixin,modelProps$g=_makeModelMixin$h.props,MODEL_PROP_NAME$g=_makeModelMixin$h.prop,MODEL_EVENT_NAME$g=_makeModelMixin$h.event,props$1P=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$g),{},{accordion:makeProp(PROP_TYPE_STRING),appear:makeProp(PROP_TYPE_BOOLEAN,!1),isNav:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"div")})),"BCollapse"),BCollapse=extend({name:"BCollapse",mixins:[idMixin,modelMixin$g,normalizeSlotMixin,listenOnRootMixin],props:props$1P,data:function(){return{show:this[MODEL_PROP_NAME$g],transitioning:!1}},computed:{classObject:function(){var transitioning=this.transitioning;return{"navbar-collapse":this.isNav,collapse:!transitioning,show:this.show&&!transitioning}},slotScope:function(){var _this=this;return{visible:this.show,close:function(){_this.show=!1}}}},watch:(_watch$g={},_defineProperty(_watch$g,MODEL_PROP_NAME$g,(function(newValue){newValue!==this.show&&(this.show=newValue)})),_defineProperty(_watch$g,"show",(function(newValue,oldValue){newValue!==oldValue&&this.emitState()})),_watch$g),created:function(){this.show=this[MODEL_PROP_NAME$g]},mounted:function(){var _this2=this;this.show=this[MODEL_PROP_NAME$g],this.listenOnRoot(ROOT_ACTION_EVENT_NAME_TOGGLE$2,this.handleToggleEvent),this.listenOnRoot(ROOT_EVENT_NAME_ACCORDION,this.handleAccordionEvent),this.isNav&&(this.setWindowEvents(!0),this.handleResize()),this.$nextTick((function(){_this2.emitState()})),this.listenOnRoot(ROOT_ACTION_EVENT_NAME_REQUEST_STATE$2,(function(id){id===_this2.safeId()&&_this2.$nextTick(_this2.emitSync)}))},updated:function(){this.emitSync()},deactivated:function(){this.isNav&&this.setWindowEvents(!1)},activated:function(){this.isNav&&this.setWindowEvents(!0),this.emitSync()},beforeDestroy:function(){this.show=!1,this.isNav&&IS_BROWSER&&this.setWindowEvents(!1)},methods:{setWindowEvents:function(on){eventOnOff(on,window,"resize",this.handleResize,EVENT_OPTIONS_NO_CAPTURE),eventOnOff(on,window,"orientationchange",this.handleResize,EVENT_OPTIONS_NO_CAPTURE)},toggle:function(){this.show=!this.show},onEnter:function(){this.transitioning=!0,this.$emit("show")},onAfterEnter:function(){this.transitioning=!1,this.$emit("shown")},onLeave:function(){this.transitioning=!0,this.$emit("hide")},onAfterLeave:function(){this.transitioning=!1,this.$emit("hidden")},emitState:function(){var show=this.show,accordion=this.accordion,id=this.safeId();this.$emit(MODEL_EVENT_NAME$g,show),this.emitOnRoot(ROOT_EVENT_NAME_STATE$3,id,show),accordion&&show&&this.emitOnRoot(ROOT_EVENT_NAME_ACCORDION,id,accordion)},emitSync:function(){this.emitOnRoot(ROOT_EVENT_NAME_SYNC_STATE$3,this.safeId(),this.show)},checkDisplayBlock:function(){var $el=this.$el,restore=hasClass($el,"show");removeClass($el,"show");var isBlock="block"===getCS($el).display;return restore&&addClass($el,"show"),isBlock},clickHandler:function(event){var el=event.target;this.isNav&&el&&"block"===getCS(this.$el).display&&(!matches(el,".nav-link,.dropdown-item")&&!closest(".nav-link,.dropdown-item",el)||this.checkDisplayBlock()||(this.show=!1))},handleToggleEvent:function(id){id===this.safeId()&&this.toggle()},handleAccordionEvent:function(openedId,openAccordion){var accordion=this.accordion,show=this.show;if(accordion&&accordion===openAccordion){var isThis=openedId===this.safeId();(isThis&&!show||!isThis&&show)&&this.toggle()}},handleResize:function(){this.show="block"===getCS(this.$el).display}},render:function(h){var appear=this.appear,$content=h(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.safeId()},on:{click:this.clickHandler}},this.normalizeSlot("default",this.slotScope));return h(BVCollapse,{props:{appear:appear},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[$content])}}),getInstanceFromDirective=function(vnode,bindings){return isVue3?bindings.instance:vnode.context},BV_BASE="__BV_toggle",BV_TOGGLE_ROOT_HANDLER="".concat(BV_BASE,"_HANDLER__"),BV_TOGGLE_CLICK_HANDLER="".concat(BV_BASE,"_CLICK__"),BV_TOGGLE_STATE="".concat(BV_BASE,"_STATE__"),BV_TOGGLE_TARGETS="".concat(BV_BASE,"_TARGETS__"),ROOT_ACTION_EVENT_NAME_TOGGLE$1=getRootActionEventName("BCollapse","toggle"),ROOT_EVENT_NAME_STATE$2=getRootEventName("BCollapse","state"),ROOT_EVENT_NAME_SYNC_STATE$2=getRootEventName("BCollapse","sync-state"),ROOT_ACTION_EVENT_NAME_REQUEST_STATE$1=getRootActionEventName("BCollapse","request-state"),KEYDOWN_KEY_CODES=[CODE_ENTER,CODE_SPACE],isNonStandardTag=function(el){return!arrayIncludes(["button","a"],el.tagName.toLowerCase())},removeClickListener=function(el){var handler=el[BV_TOGGLE_CLICK_HANDLER];handler&&(eventOff(el,"click",handler,EVENT_OPTIONS_PASSIVE),eventOff(el,"keydown",handler,EVENT_OPTIONS_PASSIVE)),el[BV_TOGGLE_CLICK_HANDLER]=null},removeRootListeners=function(el,instance){el[BV_TOGGLE_ROOT_HANDLER]&&instance&&getEventRoot(instance).$off([ROOT_EVENT_NAME_STATE$2,ROOT_EVENT_NAME_SYNC_STATE$2],el[BV_TOGGLE_ROOT_HANDLER]),el[BV_TOGGLE_ROOT_HANDLER]=null},setToggleState=function(el,state){state?(removeClass(el,"collapsed"),addClass(el,"not-collapsed"),setAttr(el,"aria-expanded","true")):(removeClass(el,"not-collapsed"),addClass(el,"collapsed"),setAttr(el,"aria-expanded","false"))},resetProp=function(el,prop){el[prop]=null,delete el[prop]},handleUpdate=function(el,binding,vnode){if(IS_BROWSER&&getInstanceFromDirective(vnode,binding)){isNonStandardTag(el)&&(hasAttr(el,"role")||setAttr(el,"role","button"),hasAttr(el,"tabindex")||setAttr(el,"tabindex","0")),setToggleState(el,el[BV_TOGGLE_STATE]);var targets=function(_ref,el){var modifiers=_ref.modifiers,arg=_ref.arg,value=_ref.value,targets=keys(modifiers||{});if(value=isString(value)?value.split(RX_SPACE_SPLIT):value,isTag(el.tagName,"a")){var href=getAttr(el,"href")||"";RX_HASH_ID.test(href)&&targets.push(href.replace(RX_HASH,""))}return concat(arg,value).forEach((function(t){return isString(t)&&targets.push(t)})),targets.filter((function(t,index,arr){return t&&arr.indexOf(t)===index}))}(binding,el);targets.length>0?(setAttr(el,"aria-controls",targets.join(" ")),setStyle(el,"overflow-anchor","none")):(removeAttr(el,"aria-controls"),removeStyle(el,"overflow-anchor")),requestAF((function(){!function(el,instance){if(removeClickListener(el),instance){var handler=function(event){"keydown"===event.type&&!arrayIncludes(KEYDOWN_KEY_CODES,event.keyCode)||isDisabled(el)||(el[BV_TOGGLE_TARGETS]||[]).forEach((function(target){getEventRoot(instance).$emit(ROOT_ACTION_EVENT_NAME_TOGGLE$1,target)}))};el[BV_TOGGLE_CLICK_HANDLER]=handler,eventOn(el,"click",handler,EVENT_OPTIONS_PASSIVE),isNonStandardTag(el)&&eventOn(el,"keydown",handler,EVENT_OPTIONS_PASSIVE)}}(el,getInstanceFromDirective(vnode,binding))})),looseEqual(targets,el[BV_TOGGLE_TARGETS])||(el[BV_TOGGLE_TARGETS]=targets,targets.forEach((function(target){getEventRoot(getInstanceFromDirective(vnode,binding)).$emit(ROOT_ACTION_EVENT_NAME_REQUEST_STATE$1,target)})))}},VBToggle={bind:function(el,binding,vnode){el[BV_TOGGLE_STATE]=!1,el[BV_TOGGLE_TARGETS]=[],function(el,instance){if(removeRootListeners(el,instance),instance){var handler=function(id,state){arrayIncludes(el[BV_TOGGLE_TARGETS]||[],id)&&(el[BV_TOGGLE_STATE]=state,setToggleState(el,state))};el[BV_TOGGLE_ROOT_HANDLER]=handler,getEventRoot(instance).$on([ROOT_EVENT_NAME_STATE$2,ROOT_EVENT_NAME_SYNC_STATE$2],handler)}}(el,getInstanceFromDirective(vnode,binding)),handleUpdate(el,binding,vnode)},componentUpdated:handleUpdate,updated:handleUpdate,unbind:function(el,binding,vnode){removeClickListener(el),removeRootListeners(el,getInstanceFromDirective(vnode,binding)),resetProp(el,BV_TOGGLE_ROOT_HANDLER),resetProp(el,BV_TOGGLE_CLICK_HANDLER),resetProp(el,BV_TOGGLE_STATE),resetProp(el,BV_TOGGLE_TARGETS),removeClass(el,"collapsed"),removeClass(el,"not-collapsed"),removeAttr(el,"aria-expanded"),removeAttr(el,"aria-controls"),removeAttr(el,"role"),removeStyle(el,"overflow-anchor")}},VBTogglePlugin=pluginFactory({directives:{VBToggle:VBToggle}}),CollapsePlugin=pluginFactory({components:{BCollapse:BCollapse},plugins:{VBTogglePlugin:VBTogglePlugin}}),isBrowser="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,timeoutDuration=function(){for(var longerTimeoutBrowsers=["Edge","Trident","Firefox"],i=0;i<longerTimeoutBrowsers.length;i+=1)if(isBrowser&&navigator.userAgent.indexOf(longerTimeoutBrowsers[i])>=0)return 1;return 0}();var debounce=isBrowser&&window.Promise?function(fn){var called=!1;return function(){called||(called=!0,window.Promise.resolve().then((function(){called=!1,fn()})))}}:function(fn){var scheduled=!1;return function(){scheduled||(scheduled=!0,setTimeout((function(){scheduled=!1,fn()}),timeoutDuration))}};function isFunction(functionToCheck){return functionToCheck&&"[object Function]"==={}.toString.call(functionToCheck)}function getStyleComputedProperty(element,property){if(1!==element.nodeType)return[];var css=element.ownerDocument.defaultView.getComputedStyle(element,null);return property?css[property]:css}function getParentNode(element){return"HTML"===element.nodeName?element:element.parentNode||element.host}function getScrollParent(element){if(!element)return document.body;switch(element.nodeName){case"HTML":case"BODY":return element.ownerDocument.body;case"#document":return element.body}var _getStyleComputedProp=getStyleComputedProperty(element),overflow=_getStyleComputedProp.overflow,overflowX=_getStyleComputedProp.overflowX,overflowY=_getStyleComputedProp.overflowY;return/(auto|scroll|overlay)/.test(overflow+overflowY+overflowX)?element:getScrollParent(getParentNode(element))}function getReferenceNode(reference){return reference&&reference.referenceNode?reference.referenceNode:reference}var isIE11=isBrowser&&!(!window.MSInputMethodContext||!document.documentMode),isIE10=isBrowser&&/MSIE 10/.test(navigator.userAgent);function isIE(version){return 11===version?isIE11:10===version?isIE10:isIE11||isIE10}function getOffsetParent(element){if(!element)return document.documentElement;for(var noOffsetParent=isIE(10)?document.body:null,offsetParent=element.offsetParent||null;offsetParent===noOffsetParent&&element.nextElementSibling;)offsetParent=(element=element.nextElementSibling).offsetParent;var nodeName=offsetParent&&offsetParent.nodeName;return nodeName&&"BODY"!==nodeName&&"HTML"!==nodeName?-1!==["TH","TD","TABLE"].indexOf(offsetParent.nodeName)&&"static"===getStyleComputedProperty(offsetParent,"position")?getOffsetParent(offsetParent):offsetParent:element?element.ownerDocument.documentElement:document.documentElement}function getRoot(node){return null!==node.parentNode?getRoot(node.parentNode):node}function findCommonOffsetParent(element1,element2){if(!(element1&&element1.nodeType&&element2&&element2.nodeType))return document.documentElement;var order=element1.compareDocumentPosition(element2)&Node.DOCUMENT_POSITION_FOLLOWING,start=order?element1:element2,end=order?element2:element1,range=document.createRange();range.setStart(start,0),range.setEnd(end,0);var element,nodeName,commonAncestorContainer=range.commonAncestorContainer;if(element1!==commonAncestorContainer&&element2!==commonAncestorContainer||start.contains(end))return"BODY"===(nodeName=(element=commonAncestorContainer).nodeName)||"HTML"!==nodeName&&getOffsetParent(element.firstElementChild)!==element?getOffsetParent(commonAncestorContainer):commonAncestorContainer;var element1root=getRoot(element1);return element1root.host?findCommonOffsetParent(element1root.host,element2):findCommonOffsetParent(element1,getRoot(element2).host)}function getScroll(element){var upperSide="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",nodeName=element.nodeName;if("BODY"===nodeName||"HTML"===nodeName){var html=element.ownerDocument.documentElement;return(element.ownerDocument.scrollingElement||html)[upperSide]}return element[upperSide]}function getBordersSize(styles,axis){var sideA="x"===axis?"Left":"Top",sideB="Left"===sideA?"Right":"Bottom";return parseFloat(styles["border"+sideA+"Width"])+parseFloat(styles["border"+sideB+"Width"])}function getSize(axis,body,html,computedStyle){return Math.max(body["offset"+axis],body["scroll"+axis],html["client"+axis],html["offset"+axis],html["scroll"+axis],isIE(10)?parseInt(html["offset"+axis])+parseInt(computedStyle["margin"+("Height"===axis?"Top":"Left")])+parseInt(computedStyle["margin"+("Height"===axis?"Bottom":"Right")]):0)}function getWindowSizes(document){var body=document.body,html=document.documentElement,computedStyle=isIE(10)&&getComputedStyle(html);return{height:getSize("Height",body,html,computedStyle),width:getSize("Width",body,html,computedStyle)}}var createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),defineProperty=function(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj},_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};function getClientRect(offsets){return _extends({},offsets,{right:offsets.left+offsets.width,bottom:offsets.top+offsets.height})}function getBoundingClientRect(element){var rect={};try{if(isIE(10)){rect=element.getBoundingClientRect();var scrollTop=getScroll(element,"top"),scrollLeft=getScroll(element,"left");rect.top+=scrollTop,rect.left+=scrollLeft,rect.bottom+=scrollTop,rect.right+=scrollLeft}else rect=element.getBoundingClientRect()}catch(e){}var result={left:rect.left,top:rect.top,width:rect.right-rect.left,height:rect.bottom-rect.top},sizes="HTML"===element.nodeName?getWindowSizes(element.ownerDocument):{},width=sizes.width||element.clientWidth||result.width,height=sizes.height||element.clientHeight||result.height,horizScrollbar=element.offsetWidth-width,vertScrollbar=element.offsetHeight-height;if(horizScrollbar||vertScrollbar){var styles=getStyleComputedProperty(element);horizScrollbar-=getBordersSize(styles,"x"),vertScrollbar-=getBordersSize(styles,"y"),result.width-=horizScrollbar,result.height-=vertScrollbar}return getClientRect(result)}function getOffsetRectRelativeToArbitraryNode(children,parent){var fixedPosition=arguments.length>2&&void 0!==arguments[2]&&arguments[2],isIE10=isIE(10),isHTML="HTML"===parent.nodeName,childrenRect=getBoundingClientRect(children),parentRect=getBoundingClientRect(parent),scrollParent=getScrollParent(children),styles=getStyleComputedProperty(parent),borderTopWidth=parseFloat(styles.borderTopWidth),borderLeftWidth=parseFloat(styles.borderLeftWidth);fixedPosition&&isHTML&&(parentRect.top=Math.max(parentRect.top,0),parentRect.left=Math.max(parentRect.left,0));var offsets=getClientRect({top:childrenRect.top-parentRect.top-borderTopWidth,left:childrenRect.left-parentRect.left-borderLeftWidth,width:childrenRect.width,height:childrenRect.height});if(offsets.marginTop=0,offsets.marginLeft=0,!isIE10&&isHTML){var marginTop=parseFloat(styles.marginTop),marginLeft=parseFloat(styles.marginLeft);offsets.top-=borderTopWidth-marginTop,offsets.bottom-=borderTopWidth-marginTop,offsets.left-=borderLeftWidth-marginLeft,offsets.right-=borderLeftWidth-marginLeft,offsets.marginTop=marginTop,offsets.marginLeft=marginLeft}return(isIE10&&!fixedPosition?parent.contains(scrollParent):parent===scrollParent&&"BODY"!==scrollParent.nodeName)&&(offsets=function(rect,element){var subtract=arguments.length>2&&void 0!==arguments[2]&&arguments[2],scrollTop=getScroll(element,"top"),scrollLeft=getScroll(element,"left"),modifier=subtract?-1:1;return rect.top+=scrollTop*modifier,rect.bottom+=scrollTop*modifier,rect.left+=scrollLeft*modifier,rect.right+=scrollLeft*modifier,rect}(offsets,parent)),offsets}function isFixed(element){var nodeName=element.nodeName;if("BODY"===nodeName||"HTML"===nodeName)return!1;if("fixed"===getStyleComputedProperty(element,"position"))return!0;var parentNode=getParentNode(element);return!!parentNode&&isFixed(parentNode)}function getFixedPositionOffsetParent(element){if(!element||!element.parentElement||isIE())return document.documentElement;for(var el=element.parentElement;el&&"none"===getStyleComputedProperty(el,"transform");)el=el.parentElement;return el||document.documentElement}function getBoundaries(popper,reference,padding,boundariesElement){var fixedPosition=arguments.length>4&&void 0!==arguments[4]&&arguments[4],boundaries={top:0,left:0},offsetParent=fixedPosition?getFixedPositionOffsetParent(popper):findCommonOffsetParent(popper,getReferenceNode(reference));if("viewport"===boundariesElement)boundaries=function(element){var excludeScroll=arguments.length>1&&void 0!==arguments[1]&&arguments[1],html=element.ownerDocument.documentElement,relativeOffset=getOffsetRectRelativeToArbitraryNode(element,html),width=Math.max(html.clientWidth,window.innerWidth||0),height=Math.max(html.clientHeight,window.innerHeight||0),scrollTop=excludeScroll?0:getScroll(html),scrollLeft=excludeScroll?0:getScroll(html,"left");return getClientRect({top:scrollTop-relativeOffset.top+relativeOffset.marginTop,left:scrollLeft-relativeOffset.left+relativeOffset.marginLeft,width:width,height:height})}(offsetParent,fixedPosition);else{var boundariesNode=void 0;"scrollParent"===boundariesElement?"BODY"===(boundariesNode=getScrollParent(getParentNode(reference))).nodeName&&(boundariesNode=popper.ownerDocument.documentElement):boundariesNode="window"===boundariesElement?popper.ownerDocument.documentElement:boundariesElement;var offsets=getOffsetRectRelativeToArbitraryNode(boundariesNode,offsetParent,fixedPosition);if("HTML"!==boundariesNode.nodeName||isFixed(offsetParent))boundaries=offsets;else{var _getWindowSizes=getWindowSizes(popper.ownerDocument),height=_getWindowSizes.height,width=_getWindowSizes.width;boundaries.top+=offsets.top-offsets.marginTop,boundaries.bottom=height+offsets.top,boundaries.left+=offsets.left-offsets.marginLeft,boundaries.right=width+offsets.left}}var isPaddingNumber="number"==typeof(padding=padding||0);return boundaries.left+=isPaddingNumber?padding:padding.left||0,boundaries.top+=isPaddingNumber?padding:padding.top||0,boundaries.right-=isPaddingNumber?padding:padding.right||0,boundaries.bottom-=isPaddingNumber?padding:padding.bottom||0,boundaries}function computeAutoPlacement(placement,refRect,popper,reference,boundariesElement){var padding=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===placement.indexOf("auto"))return placement;var boundaries=getBoundaries(popper,reference,padding,boundariesElement),rects={top:{width:boundaries.width,height:refRect.top-boundaries.top},right:{width:boundaries.right-refRect.right,height:boundaries.height},bottom:{width:boundaries.width,height:boundaries.bottom-refRect.bottom},left:{width:refRect.left-boundaries.left,height:boundaries.height}},sortedAreas=Object.keys(rects).map((function(key){return _extends({key:key},rects[key],{area:(_ref=rects[key],_ref.width*_ref.height)});var _ref})).sort((function(a,b){return b.area-a.area})),filteredAreas=sortedAreas.filter((function(_ref2){var width=_ref2.width,height=_ref2.height;return width>=popper.clientWidth&&height>=popper.clientHeight})),computedPlacement=filteredAreas.length>0?filteredAreas[0].key:sortedAreas[0].key,variation=placement.split("-")[1];return computedPlacement+(variation?"-"+variation:"")}function getReferenceOffsets(state,popper,reference){var fixedPosition=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return getOffsetRectRelativeToArbitraryNode(reference,fixedPosition?getFixedPositionOffsetParent(popper):findCommonOffsetParent(popper,getReferenceNode(reference)),fixedPosition)}function getOuterSizes(element){var styles=element.ownerDocument.defaultView.getComputedStyle(element),x=parseFloat(styles.marginTop||0)+parseFloat(styles.marginBottom||0),y=parseFloat(styles.marginLeft||0)+parseFloat(styles.marginRight||0);return{width:element.offsetWidth+y,height:element.offsetHeight+x}}function getOppositePlacement(placement){var hash={left:"right",right:"left",bottom:"top",top:"bottom"};return placement.replace(/left|right|bottom|top/g,(function(matched){return hash[matched]}))}function getPopperOffsets(popper,referenceOffsets,placement){placement=placement.split("-")[0];var popperRect=getOuterSizes(popper),popperOffsets={width:popperRect.width,height:popperRect.height},isHoriz=-1!==["right","left"].indexOf(placement),mainSide=isHoriz?"top":"left",secondarySide=isHoriz?"left":"top",measurement=isHoriz?"height":"width",secondaryMeasurement=isHoriz?"width":"height";return popperOffsets[mainSide]=referenceOffsets[mainSide]+referenceOffsets[measurement]/2-popperRect[measurement]/2,popperOffsets[secondarySide]=placement===secondarySide?referenceOffsets[secondarySide]-popperRect[secondaryMeasurement]:referenceOffsets[getOppositePlacement(secondarySide)],popperOffsets}function find(arr,check){return Array.prototype.find?arr.find(check):arr.filter(check)[0]}function runModifiers(modifiers,data,ends){var modifiersToRun=void 0===ends?modifiers:modifiers.slice(0,function(arr,prop,value){if(Array.prototype.findIndex)return arr.findIndex((function(cur){return cur[prop]===value}));var match=find(arr,(function(obj){return obj[prop]===value}));return arr.indexOf(match)}(modifiers,"name",ends));return modifiersToRun.forEach((function(modifier){modifier.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var fn=modifier.function||modifier.fn;modifier.enabled&&isFunction(fn)&&(data.offsets.popper=getClientRect(data.offsets.popper),data.offsets.reference=getClientRect(data.offsets.reference),data=fn(data,modifier))})),data}function update(){if(!this.state.isDestroyed){var data={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};data.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference,this.options.positionFixed),data.placement=computeAutoPlacement(this.options.placement,data.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),data.originalPlacement=data.placement,data.positionFixed=this.options.positionFixed,data.offsets.popper=getPopperOffsets(this.popper,data.offsets.reference,data.placement),data.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",data=runModifiers(this.modifiers,data),this.state.isCreated?this.options.onUpdate(data):(this.state.isCreated=!0,this.options.onCreate(data))}}function isModifierEnabled(modifiers,modifierName){return modifiers.some((function(_ref){var name=_ref.name;return _ref.enabled&&name===modifierName}))}function getSupportedPropertyName(property){for(var prefixes=[!1,"ms","Webkit","Moz","O"],upperProp=property.charAt(0).toUpperCase()+property.slice(1),i=0;i<prefixes.length;i++){var prefix=prefixes[i],toCheck=prefix?""+prefix+upperProp:property;if(void 0!==document.body.style[toCheck])return toCheck}return null}function destroy(){return this.state.isDestroyed=!0,isModifierEnabled(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[getSupportedPropertyName("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function getWindow(element){var ownerDocument=element.ownerDocument;return ownerDocument?ownerDocument.defaultView:window}function attachToScrollParents(scrollParent,event,callback,scrollParents){var isBody="BODY"===scrollParent.nodeName,target=isBody?scrollParent.ownerDocument.defaultView:scrollParent;target.addEventListener(event,callback,{passive:!0}),isBody||attachToScrollParents(getScrollParent(target.parentNode),event,callback,scrollParents),scrollParents.push(target)}function setupEventListeners(reference,options,state,updateBound){state.updateBound=updateBound,getWindow(reference).addEventListener("resize",state.updateBound,{passive:!0});var scrollElement=getScrollParent(reference);return attachToScrollParents(scrollElement,"scroll",state.updateBound,state.scrollParents),state.scrollElement=scrollElement,state.eventsEnabled=!0,state}function enableEventListeners(){this.state.eventsEnabled||(this.state=setupEventListeners(this.reference,this.options,this.state,this.scheduleUpdate))}function disableEventListeners(){var reference,state;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(reference=this.reference,state=this.state,getWindow(reference).removeEventListener("resize",state.updateBound),state.scrollParents.forEach((function(target){target.removeEventListener("scroll",state.updateBound)})),state.updateBound=null,state.scrollParents=[],state.scrollElement=null,state.eventsEnabled=!1,state))}function isNumeric(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function setStyles(element,styles){Object.keys(styles).forEach((function(prop){var unit="";-1!==["width","height","top","right","bottom","left"].indexOf(prop)&&isNumeric(styles[prop])&&(unit="px"),element.style[prop]=styles[prop]+unit}))}var isFirefox=isBrowser&&/Firefox/i.test(navigator.userAgent);function isModifierRequired(modifiers,requestingName,requestedName){var requesting=find(modifiers,(function(_ref){return _ref.name===requestingName})),isRequired=!!requesting&&modifiers.some((function(modifier){return modifier.name===requestedName&&modifier.enabled&&modifier.order<requesting.order}));if(!isRequired){var _requesting="`"+requestingName+"`",requested="`"+requestedName+"`";console.warn(requested+" modifier is required by "+_requesting+" modifier in order to work, be sure to include it before "+_requesting+"!")}return isRequired}var placements=["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"],validPlacements=placements.slice(3);function clockwise(placement){var counter=arguments.length>1&&void 0!==arguments[1]&&arguments[1],index=validPlacements.indexOf(placement),arr=validPlacements.slice(index+1).concat(validPlacements.slice(0,index));return counter?arr.reverse():arr}var BEHAVIORS_FLIP="flip",BEHAVIORS_CLOCKWISE="clockwise",BEHAVIORS_COUNTERCLOCKWISE="counterclockwise";function parseOffset(offset,popperOffsets,referenceOffsets,basePlacement){var offsets=[0,0],useHeight=-1!==["right","left"].indexOf(basePlacement),fragments=offset.split(/(\+|\-)/).map((function(frag){return frag.trim()})),divider=fragments.indexOf(find(fragments,(function(frag){return-1!==frag.search(/,|\s/)})));fragments[divider]&&-1===fragments[divider].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var splitRegex=/\s*,\s*|\s+/,ops=-1!==divider?[fragments.slice(0,divider).concat([fragments[divider].split(splitRegex)[0]]),[fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider+1))]:[fragments];return ops=ops.map((function(op,index){var measurement=(1===index?!useHeight:useHeight)?"height":"width",mergeWithPrevious=!1;return op.reduce((function(a,b){return""===a[a.length-1]&&-1!==["+","-"].indexOf(b)?(a[a.length-1]=b,mergeWithPrevious=!0,a):mergeWithPrevious?(a[a.length-1]+=b,mergeWithPrevious=!1,a):a.concat(b)}),[]).map((function(str){return function(str,measurement,popperOffsets,referenceOffsets){var split=str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),value=+split[1],unit=split[2];if(!value)return str;if(0===unit.indexOf("%")){return getClientRect("%p"===unit?popperOffsets:referenceOffsets)[measurement]/100*value}if("vh"===unit||"vw"===unit)return("vh"===unit?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*value;return value}(str,measurement,popperOffsets,referenceOffsets)}))})),ops.forEach((function(op,index){op.forEach((function(frag,index2){isNumeric(frag)&&(offsets[index]+=frag*("-"===op[index2-1]?-1:1))}))})),offsets}var modifiers={shift:{order:100,enabled:!0,fn:function(data){var placement=data.placement,basePlacement=placement.split("-")[0],shiftvariation=placement.split("-")[1];if(shiftvariation){var _data$offsets=data.offsets,reference=_data$offsets.reference,popper=_data$offsets.popper,isVertical=-1!==["bottom","top"].indexOf(basePlacement),side=isVertical?"left":"top",measurement=isVertical?"width":"height",shiftOffsets={start:defineProperty({},side,reference[side]),end:defineProperty({},side,reference[side]+reference[measurement]-popper[measurement])};data.offsets.popper=_extends({},popper,shiftOffsets[shiftvariation])}return data}},offset:{order:200,enabled:!0,fn:function(data,_ref){var offset=_ref.offset,placement=data.placement,_data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference,basePlacement=placement.split("-")[0],offsets=void 0;return offsets=isNumeric(+offset)?[+offset,0]:parseOffset(offset,popper,reference,basePlacement),"left"===basePlacement?(popper.top+=offsets[0],popper.left-=offsets[1]):"right"===basePlacement?(popper.top+=offsets[0],popper.left+=offsets[1]):"top"===basePlacement?(popper.left+=offsets[0],popper.top-=offsets[1]):"bottom"===basePlacement&&(popper.left+=offsets[0],popper.top+=offsets[1]),data.popper=popper,data},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(data,options){var boundariesElement=options.boundariesElement||getOffsetParent(data.instance.popper);data.instance.reference===boundariesElement&&(boundariesElement=getOffsetParent(boundariesElement));var transformProp=getSupportedPropertyName("transform"),popperStyles=data.instance.popper.style,top=popperStyles.top,left=popperStyles.left,transform=popperStyles[transformProp];popperStyles.top="",popperStyles.left="",popperStyles[transformProp]="";var boundaries=getBoundaries(data.instance.popper,data.instance.reference,options.padding,boundariesElement,data.positionFixed);popperStyles.top=top,popperStyles.left=left,popperStyles[transformProp]=transform,options.boundaries=boundaries;var order=options.priority,popper=data.offsets.popper,check={primary:function(placement){var value=popper[placement];return popper[placement]<boundaries[placement]&&!options.escapeWithReference&&(value=Math.max(popper[placement],boundaries[placement])),defineProperty({},placement,value)},secondary:function(placement){var mainSide="right"===placement?"left":"top",value=popper[mainSide];return popper[placement]>boundaries[placement]&&!options.escapeWithReference&&(value=Math.min(popper[mainSide],boundaries[placement]-("right"===placement?popper.width:popper.height))),defineProperty({},mainSide,value)}};return order.forEach((function(placement){var side=-1!==["left","top"].indexOf(placement)?"primary":"secondary";popper=_extends({},popper,check[side](placement))})),data.offsets.popper=popper,data},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(data){var _data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference,placement=data.placement.split("-")[0],floor=Math.floor,isVertical=-1!==["top","bottom"].indexOf(placement),side=isVertical?"right":"bottom",opSide=isVertical?"left":"top",measurement=isVertical?"width":"height";return popper[side]<floor(reference[opSide])&&(data.offsets.popper[opSide]=floor(reference[opSide])-popper[measurement]),popper[opSide]>floor(reference[side])&&(data.offsets.popper[opSide]=floor(reference[side])),data}},arrow:{order:500,enabled:!0,fn:function(data,options){var _data$offsets$arrow;if(!isModifierRequired(data.instance.modifiers,"arrow","keepTogether"))return data;var arrowElement=options.element;if("string"==typeof arrowElement){if(!(arrowElement=data.instance.popper.querySelector(arrowElement)))return data}else if(!data.instance.popper.contains(arrowElement))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),data;var placement=data.placement.split("-")[0],_data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference,isVertical=-1!==["left","right"].indexOf(placement),len=isVertical?"height":"width",sideCapitalized=isVertical?"Top":"Left",side=sideCapitalized.toLowerCase(),altSide=isVertical?"left":"top",opSide=isVertical?"bottom":"right",arrowElementSize=getOuterSizes(arrowElement)[len];reference[opSide]-arrowElementSize<popper[side]&&(data.offsets.popper[side]-=popper[side]-(reference[opSide]-arrowElementSize)),reference[side]+arrowElementSize>popper[opSide]&&(data.offsets.popper[side]+=reference[side]+arrowElementSize-popper[opSide]),data.offsets.popper=getClientRect(data.offsets.popper);var center=reference[side]+reference[len]/2-arrowElementSize/2,css=getStyleComputedProperty(data.instance.popper),popperMarginSide=parseFloat(css["margin"+sideCapitalized]),popperBorderSide=parseFloat(css["border"+sideCapitalized+"Width"]),sideValue=center-data.offsets.popper[side]-popperMarginSide-popperBorderSide;return sideValue=Math.max(Math.min(popper[len]-arrowElementSize,sideValue),0),data.arrowElement=arrowElement,data.offsets.arrow=(defineProperty(_data$offsets$arrow={},side,Math.round(sideValue)),defineProperty(_data$offsets$arrow,altSide,""),_data$offsets$arrow),data},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(data,options){if(isModifierEnabled(data.instance.modifiers,"inner"))return data;if(data.flipped&&data.placement===data.originalPlacement)return data;var boundaries=getBoundaries(data.instance.popper,data.instance.reference,options.padding,options.boundariesElement,data.positionFixed),placement=data.placement.split("-")[0],placementOpposite=getOppositePlacement(placement),variation=data.placement.split("-")[1]||"",flipOrder=[];switch(options.behavior){case BEHAVIORS_FLIP:flipOrder=[placement,placementOpposite];break;case BEHAVIORS_CLOCKWISE:flipOrder=clockwise(placement);break;case BEHAVIORS_COUNTERCLOCKWISE:flipOrder=clockwise(placement,!0);break;default:flipOrder=options.behavior}return flipOrder.forEach((function(step,index){if(placement!==step||flipOrder.length===index+1)return data;placement=data.placement.split("-")[0],placementOpposite=getOppositePlacement(placement);var popperOffsets=data.offsets.popper,refOffsets=data.offsets.reference,floor=Math.floor,overlapsRef="left"===placement&&floor(popperOffsets.right)>floor(refOffsets.left)||"right"===placement&&floor(popperOffsets.left)<floor(refOffsets.right)||"top"===placement&&floor(popperOffsets.bottom)>floor(refOffsets.top)||"bottom"===placement&&floor(popperOffsets.top)<floor(refOffsets.bottom),overflowsLeft=floor(popperOffsets.left)<floor(boundaries.left),overflowsRight=floor(popperOffsets.right)>floor(boundaries.right),overflowsTop=floor(popperOffsets.top)<floor(boundaries.top),overflowsBottom=floor(popperOffsets.bottom)>floor(boundaries.bottom),overflowsBoundaries="left"===placement&&overflowsLeft||"right"===placement&&overflowsRight||"top"===placement&&overflowsTop||"bottom"===placement&&overflowsBottom,isVertical=-1!==["top","bottom"].indexOf(placement),flippedVariationByRef=!!options.flipVariations&&(isVertical&&"start"===variation&&overflowsLeft||isVertical&&"end"===variation&&overflowsRight||!isVertical&&"start"===variation&&overflowsTop||!isVertical&&"end"===variation&&overflowsBottom),flippedVariationByContent=!!options.flipVariationsByContent&&(isVertical&&"start"===variation&&overflowsRight||isVertical&&"end"===variation&&overflowsLeft||!isVertical&&"start"===variation&&overflowsBottom||!isVertical&&"end"===variation&&overflowsTop),flippedVariation=flippedVariationByRef||flippedVariationByContent;(overlapsRef||overflowsBoundaries||flippedVariation)&&(data.flipped=!0,(overlapsRef||overflowsBoundaries)&&(placement=flipOrder[index+1]),flippedVariation&&(variation=function(variation){return"end"===variation?"start":"start"===variation?"end":variation}(variation)),data.placement=placement+(variation?"-"+variation:""),data.offsets.popper=_extends({},data.offsets.popper,getPopperOffsets(data.instance.popper,data.offsets.reference,data.placement)),data=runModifiers(data.instance.modifiers,data,"flip"))})),data},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(data){var placement=data.placement,basePlacement=placement.split("-")[0],_data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference,isHoriz=-1!==["left","right"].indexOf(basePlacement),subtractLength=-1===["top","left"].indexOf(basePlacement);return popper[isHoriz?"left":"top"]=reference[basePlacement]-(subtractLength?popper[isHoriz?"width":"height"]:0),data.placement=getOppositePlacement(placement),data.offsets.popper=getClientRect(popper),data}},hide:{order:800,enabled:!0,fn:function(data){if(!isModifierRequired(data.instance.modifiers,"hide","preventOverflow"))return data;var refRect=data.offsets.reference,bound=find(data.instance.modifiers,(function(modifier){return"preventOverflow"===modifier.name})).boundaries;if(refRect.bottom<bound.top||refRect.left>bound.right||refRect.top>bound.bottom||refRect.right<bound.left){if(!0===data.hide)return data;data.hide=!0,data.attributes["x-out-of-boundaries"]=""}else{if(!1===data.hide)return data;data.hide=!1,data.attributes["x-out-of-boundaries"]=!1}return data}},computeStyle:{order:850,enabled:!0,fn:function(data,options){var x=options.x,y=options.y,popper=data.offsets.popper,legacyGpuAccelerationOption=find(data.instance.modifiers,(function(modifier){return"applyStyle"===modifier.name})).gpuAcceleration;void 0!==legacyGpuAccelerationOption&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var gpuAcceleration=void 0!==legacyGpuAccelerationOption?legacyGpuAccelerationOption:options.gpuAcceleration,offsetParent=getOffsetParent(data.instance.popper),offsetParentRect=getBoundingClientRect(offsetParent),styles={position:popper.position},offsets=function(data,shouldRound){var _data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference,round=Math.round,floor=Math.floor,noRound=function(v){return v},referenceWidth=round(reference.width),popperWidth=round(popper.width),isVertical=-1!==["left","right"].indexOf(data.placement),isVariation=-1!==data.placement.indexOf("-"),horizontalToInteger=shouldRound?isVertical||isVariation||referenceWidth%2==popperWidth%2?round:floor:noRound,verticalToInteger=shouldRound?round:noRound;return{left:horizontalToInteger(referenceWidth%2==1&&popperWidth%2==1&&!isVariation&&shouldRound?popper.left-1:popper.left),top:verticalToInteger(popper.top),bottom:verticalToInteger(popper.bottom),right:horizontalToInteger(popper.right)}}(data,window.devicePixelRatio<2||!isFirefox),sideA="bottom"===x?"top":"bottom",sideB="right"===y?"left":"right",prefixedProperty=getSupportedPropertyName("transform"),left=void 0,top=void 0;if(top="bottom"===sideA?"HTML"===offsetParent.nodeName?-offsetParent.clientHeight+offsets.bottom:-offsetParentRect.height+offsets.bottom:offsets.top,left="right"===sideB?"HTML"===offsetParent.nodeName?-offsetParent.clientWidth+offsets.right:-offsetParentRect.width+offsets.right:offsets.left,gpuAcceleration&&prefixedProperty)styles[prefixedProperty]="translate3d("+left+"px, "+top+"px, 0)",styles[sideA]=0,styles[sideB]=0,styles.willChange="transform";else{var invertTop="bottom"===sideA?-1:1,invertLeft="right"===sideB?-1:1;styles[sideA]=top*invertTop,styles[sideB]=left*invertLeft,styles.willChange=sideA+", "+sideB}var attributes={"x-placement":data.placement};return data.attributes=_extends({},attributes,data.attributes),data.styles=_extends({},styles,data.styles),data.arrowStyles=_extends({},data.offsets.arrow,data.arrowStyles),data},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(data){var element,attributes;return setStyles(data.instance.popper,data.styles),element=data.instance.popper,attributes=data.attributes,Object.keys(attributes).forEach((function(prop){!1!==attributes[prop]?element.setAttribute(prop,attributes[prop]):element.removeAttribute(prop)})),data.arrowElement&&Object.keys(data.arrowStyles).length&&setStyles(data.arrowElement,data.arrowStyles),data},onLoad:function(reference,popper,options,modifierOptions,state){var referenceOffsets=getReferenceOffsets(state,popper,reference,options.positionFixed),placement=computeAutoPlacement(options.placement,referenceOffsets,popper,reference,options.modifiers.flip.boundariesElement,options.modifiers.flip.padding);return popper.setAttribute("x-placement",placement),setStyles(popper,{position:options.positionFixed?"fixed":"absolute"}),options},gpuAcceleration:void 0}},Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:modifiers},Popper=function(){function Popper(reference,popper){var _this=this,options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Popper),this.scheduleUpdate=function(){return requestAnimationFrame(_this.update)},this.update=debounce(this.update.bind(this)),this.options=_extends({},Popper.Defaults,options),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=reference&&reference.jquery?reference[0]:reference,this.popper=popper&&popper.jquery?popper[0]:popper,this.options.modifiers={},Object.keys(_extends({},Popper.Defaults.modifiers,options.modifiers)).forEach((function(name){_this.options.modifiers[name]=_extends({},Popper.Defaults.modifiers[name]||{},options.modifiers?options.modifiers[name]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(name){return _extends({name:name},_this.options.modifiers[name])})).sort((function(a,b){return a.order-b.order})),this.modifiers.forEach((function(modifierOptions){modifierOptions.enabled&&isFunction(modifierOptions.onLoad)&&modifierOptions.onLoad(_this.reference,_this.popper,_this.options,modifierOptions,_this.state)})),this.update();var eventsEnabled=this.options.eventsEnabled;eventsEnabled&&this.enableEventListeners(),this.state.eventsEnabled=eventsEnabled}return createClass(Popper,[{key:"update",value:function(){return update.call(this)}},{key:"destroy",value:function(){return destroy.call(this)}},{key:"enableEventListeners",value:function(){return enableEventListeners.call(this)}},{key:"disableEventListeners",value:function(){return disableEventListeners.call(this)}}]),Popper}();Popper.Utils=("undefined"!=typeof window?window:global).PopperUtils,Popper.placements=placements,Popper.Defaults=Defaults;var BvEvent=function(){function BvEvent(type){var eventInit=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(_classCallCheck(this,BvEvent),!type)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));assign(this,BvEvent.Defaults,this.constructor.Defaults,eventInit,{type:type}),defineProperties(this,{type:{enumerable:!0,configurable:!1,writable:!1},cancelable:{enumerable:!0,configurable:!1,writable:!1},nativeEvent:{enumerable:!0,configurable:!1,writable:!1},target:{enumerable:!0,configurable:!1,writable:!1},relatedTarget:{enumerable:!0,configurable:!1,writable:!1},vueTarget:{enumerable:!0,configurable:!1,writable:!1},componentId:{enumerable:!0,configurable:!1,writable:!1}});var defaultPrevented=!1;this.preventDefault=function(){this.cancelable&&(defaultPrevented=!0)},defineProperty$1(this,"defaultPrevented",{enumerable:!0,get:function(){return defaultPrevented}})}return _createClass(BvEvent,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),BvEvent}(),clickOutMixin=extend({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(newValue,oldValue){newValue!==oldValue&&(eventOff(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,EVENT_OPTIONS_NO_CAPTURE),newValue&&eventOn(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,EVENT_OPTIONS_NO_CAPTURE))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&eventOn(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,EVENT_OPTIONS_NO_CAPTURE)},beforeDestroy:function(){eventOff(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,EVENT_OPTIONS_NO_CAPTURE)},methods:{isClickOut:function(event){return!contains(this.$el,event.target)},_clickOutHandler:function(event){this.clickOutHandler&&this.isClickOut(event)&&this.clickOutHandler(event)}}}),focusInMixin=extend({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(newValue,oldValue){newValue!==oldValue&&(eventOff(this.focusInElement,"focusin",this._focusInHandler,EVENT_OPTIONS_NO_CAPTURE),newValue&&eventOn(this.focusInElement,"focusin",this._focusInHandler,EVENT_OPTIONS_NO_CAPTURE))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&eventOn(this.focusInElement,"focusin",this._focusInHandler,EVENT_OPTIONS_NO_CAPTURE)},beforeDestroy:function(){eventOff(this.focusInElement,"focusin",this._focusInHandler,EVENT_OPTIONS_NO_CAPTURE)},methods:{_focusInHandler:function(event){this.focusInHandler&&this.focusInHandler(event)}}}),registry=null;isVue3&&(registry=new WeakMap);var _watch$f,_methods,_objectSpread2$2,_watch$e,_objectSpread2$1,_watch$d,_watch$c,_watch$b,_watch$a,_watch$9,_watch$8,_watch$7,ROOT_EVENT_NAME_SHOWN=getRootEventName("BDropdown","shown"),ROOT_EVENT_NAME_HIDDEN=getRootEventName("BDropdown","hidden"),SELECTOR_ITEM=[".dropdown-item",".b-dropdown-form"].map((function(selector){return"".concat(selector,":not(.disabled):not([disabled])")})).join(", "),props$1O=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$25),{},{boundary:makeProp([HTMLElement,PROP_TYPE_STRING],"scrollParent"),disabled:makeProp(PROP_TYPE_BOOLEAN,!1),dropleft:makeProp(PROP_TYPE_BOOLEAN,!1),dropright:makeProp(PROP_TYPE_BOOLEAN,!1),dropup:makeProp(PROP_TYPE_BOOLEAN,!1),noFlip:makeProp(PROP_TYPE_BOOLEAN,!1),offset:makeProp(PROP_TYPE_NUMBER_STRING,0),popperOpts:makeProp(PROP_TYPE_OBJECT,{}),right:makeProp(PROP_TYPE_BOOLEAN,!1)})),"BDropdown"),dropdownMixin=extend({mixins:[idMixin,listenOnRootMixin,clickOutMixin,focusInMixin],provide:function(){var _this=this;return{getBvDropdown:function(){return _this}}},inject:{getBvNavbar:{default:function(){return function(){return null}}}},props:props$1O,data:function(){return{visible:!1,visibleChangePrevented:!1}},computed:{bvNavbar:function(){return this.getBvNavbar()},inNavbar:function(){return!isNull(this.bvNavbar)},toggler:function(){var toggle=this.$refs.toggle;return toggle?toggle.$el||toggle:null},directionClass:function(){return this.dropup?"dropup":this.dropright?"dropright":this.dropleft?"dropleft":""},boundaryClass:function(){return"scrollParent"===this.boundary||this.inNavbar?"":"position-static"},hideDelay:function(){return this.inNavbar?HAS_TOUCH_SUPPORT?300:50:0}},watch:{visible:function(newValue,oldValue){if(this.visibleChangePrevented)this.visibleChangePrevented=!1;else if(newValue!==oldValue){var bvEvent=new BvEvent(newValue?"show":"hide",{cancelable:!0,vueTarget:this,target:this.$refs.menu,relatedTarget:null,componentId:this.safeId?this.safeId():this.id||null});if(this.emitEvent(bvEvent),bvEvent.defaultPrevented)return this.visibleChangePrevented=!0,this.visible=oldValue,void this.$off("hidden",this.focusToggler);newValue?this.showMenu():this.hideMenu()}},disabled:function(newValue,oldValue){newValue!==oldValue&&newValue&&this.visible&&(this.visible=!1)}},created:function(){this.$_popper=null,this.$_hideTimeout=null},deactivated:function(){this.visible=!1,this.whileOpenListen(!1),this.destroyPopper()},mounted:function(){var element,instance;element=this.$el,instance=this,isVue3&&registry.set(element,instance)},beforeDestroy:function(){var element;this.visible=!1,this.whileOpenListen(!1),this.destroyPopper(),this.clearHideTimeout(),element=this.$el,isVue3&&registry.delete(element)},methods:{emitEvent:function(bvEvent){var type=bvEvent.type;this.emitOnRoot(getRootEventName("BDropdown",type),bvEvent),this.$emit(type,bvEvent)},showMenu:function(){var _this2=this;if(!this.disabled){if(!this.inNavbar)if(void 0===Popper)warn("Popper.js not found. Falling back to CSS positioning","BDropdown");else{var el=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;el=el.$el||el,this.createPopper(el)}this.emitOnRoot(ROOT_EVENT_NAME_SHOWN,this),this.whileOpenListen(!0),this.$nextTick((function(){_this2.focusMenu(),_this2.$emit("shown")}))}},hideMenu:function(){this.whileOpenListen(!1),this.emitOnRoot(ROOT_EVENT_NAME_HIDDEN,this),this.$emit("hidden"),this.destroyPopper()},createPopper:function(element){this.destroyPopper(),this.$_popper=new Popper(element,this.$refs.menu,this.getPopperConfig())},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){try{this.$_popper.scheduleUpdate()}catch(_unused){}},clearHideTimeout:function(){clearTimeout(this.$_hideTimeout),this.$_hideTimeout=null},getPopperConfig:function(){var placement="bottom-start";this.dropup?placement=this.right?"top-end":"top-start":this.dropright?placement="right-start":this.dropleft?placement="left-start":this.right&&(placement="bottom-end");var popperConfig={placement:placement,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}},boundariesElement=this.boundary;return boundariesElement&&(popperConfig.modifiers.preventOverflow={boundariesElement:boundariesElement}),mergeDeep(popperConfig,this.popperOpts||{})},whileOpenListen:function(isOpen){this.listenForClickOut=isOpen,this.listenForFocusIn=isOpen,this[isOpen?"listenOnRoot":"listenOffRoot"](ROOT_EVENT_NAME_SHOWN,this.rootCloseListener)},rootCloseListener:function(vm){vm!==this&&(this.visible=!1)},show:function(){var _this3=this;this.disabled||requestAF((function(){_this3.visible=!0}))},hide:function(){var refocus=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.disabled||(this.visible=!1,refocus&&this.$once("hidden",this.focusToggler))},toggle:function(event){var _event=event=event||{},type=_event.type,keyCode=_event.keyCode;("click"===type||"keydown"===type&&-1!==[CODE_ENTER,CODE_SPACE,CODE_DOWN].indexOf(keyCode))&&(this.disabled?this.visible=!1:(this.$emit("toggle",event),stopEvent(event),this.visible?this.hide(!0):this.show()))},onMousedown:function(event){stopEvent(event,{propagation:!1})},onKeydown:function(event){var keyCode=event.keyCode;27===keyCode?this.onEsc(event):keyCode===CODE_DOWN?this.focusNext(event,!1):keyCode===CODE_UP&&this.focusNext(event,!0)},onEsc:function(event){this.visible&&(this.visible=!1,stopEvent(event),this.$once("hidden",this.focusToggler))},onSplitClick:function(event){this.disabled?this.visible=!1:this.$emit("click",event)},hideHandler:function(event){var _this4=this,target=event.target;!this.visible||contains(this.$refs.menu,target)||contains(this.toggler,target)||(this.clearHideTimeout(),this.$_hideTimeout=setTimeout((function(){return _this4.hide()}),this.hideDelay))},clickOutHandler:function(event){this.hideHandler(event)},focusInHandler:function(event){this.hideHandler(event)},focusNext:function(event,up){var _this5=this,target=event.target;!this.visible||event&&closest(".dropdown form",target)||(stopEvent(event),this.$nextTick((function(){var items=_this5.getItems();if(!(items.length<1)){var index=items.indexOf(target);up&&index>0?index--:!up&&index<items.length-1&&index++,index<0&&(index=0),_this5.focusItem(index,items)}})))},focusItem:function(index,items){var el=items.find((function(el,i){return i===index}));attemptFocus(el)},getItems:function(){return(selectAll(SELECTOR_ITEM,this.$refs.menu)||[]).filter(isVisible)},focusMenu:function(){attemptFocus(this.$refs.menu)},focusToggler:function(){var _this6=this;this.$nextTick((function(){attemptFocus(_this6.toggler)}))}}}),props$1N=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),props$1O),{},{block:makeProp(PROP_TYPE_BOOLEAN,!1),html:makeProp(PROP_TYPE_STRING),lazy:makeProp(PROP_TYPE_BOOLEAN,!1),menuClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),noCaret:makeProp(PROP_TYPE_BOOLEAN,!1),role:makeProp(PROP_TYPE_STRING,"menu"),size:makeProp(PROP_TYPE_STRING),split:makeProp(PROP_TYPE_BOOLEAN,!1),splitButtonType:makeProp(PROP_TYPE_STRING,"button",(function(value){return arrayIncludes(["button","submit","reset"],value)})),splitClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),splitHref:makeProp(PROP_TYPE_STRING),splitTo:makeProp(PROP_TYPE_OBJECT_STRING),splitVariant:makeProp(PROP_TYPE_STRING),text:makeProp(PROP_TYPE_STRING),toggleAttrs:makeProp(PROP_TYPE_OBJECT,{}),toggleClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),toggleTag:makeProp(PROP_TYPE_STRING,"button"),toggleText:makeProp(PROP_TYPE_STRING,"Toggle dropdown"),variant:makeProp(PROP_TYPE_STRING,"secondary")})),"BDropdown"),BDropdown=extend({name:"BDropdown",mixins:[idMixin,dropdownMixin,normalizeSlotMixin],props:props$1N,computed:{dropdownClasses:function(){var block=this.block,split=this.split;return[this.directionClass,this.boundaryClass,{show:this.visible,"btn-group":split||!block,"d-flex":block&&split}]},menuClasses:function(){return[this.menuClass,{"dropdown-menu-right":this.right,show:this.visible}]},toggleClasses:function(){var split=this.split;return[this.toggleClass,{"dropdown-toggle-split":split,"dropdown-toggle-no-caret":this.noCaret&&!split}]}},render:function(h){var visible=this.visible,variant=this.variant,size=this.size,block=this.block,disabled=this.disabled,split=this.split,role=this.role,hide=this.hide,toggle=this.toggle,commonProps={variant:variant,size:size,block:block,disabled:disabled},$buttonChildren=this.normalizeSlot("button-content"),buttonContentDomProps=this.hasNormalizedSlot("button-content")?{}:htmlOrText(this.html,this.text),$split=h();if(split){var splitTo=this.splitTo,splitHref=this.splitHref,splitButtonType=this.splitButtonType,btnProps=_objectSpread2$3(_objectSpread2$3({},commonProps),{},{variant:this.splitVariant||variant});splitTo?btnProps.to=splitTo:splitHref?btnProps.href=splitHref:splitButtonType&&(btnProps.type=splitButtonType),$split=h(BButton,{class:this.splitClass,attrs:{id:this.safeId("_BV_button_")},props:btnProps,domProps:buttonContentDomProps,on:{click:this.onSplitClick},ref:"button"},$buttonChildren),$buttonChildren=[h("span",{class:["sr-only"]},[this.toggleText])],buttonContentDomProps={}}var $toggle=h(BButton,{staticClass:"dropdown-toggle",class:this.toggleClasses,attrs:_objectSpread2$3(_objectSpread2$3({},this.toggleAttrs),{},{id:this.safeId("_BV_toggle_"),"aria-haspopup":["menu","listbox","tree","grid","dialog"].includes(role)?role:"false","aria-expanded":toString(visible)}),props:_objectSpread2$3(_objectSpread2$3({},commonProps),{},{tag:this.toggleTag,block:block&&!split}),domProps:buttonContentDomProps,on:{mousedown:this.onMousedown,click:toggle,keydown:toggle},ref:"toggle"},$buttonChildren),$menu=h("ul",{staticClass:"dropdown-menu",class:this.menuClasses,attrs:{role:role,tabindex:"-1","aria-labelledby":this.safeId(split?"_BV_button_":"_BV_toggle_")},on:{keydown:this.onKeydown},ref:"menu"},[!this.lazy||visible?this.normalizeSlot("default",{hide:hide}):h()]);return h("div",{staticClass:"dropdown b-dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[$split,$toggle,$menu])}}),linkProps$4=omit(props$2f,["event","routerTag"]),props$1M=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},linkProps$4),{},{linkClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),variant:makeProp(PROP_TYPE_STRING)})),"BDropdownItem"),BDropdownItem=extend({name:"BDropdownItem",mixins:[attrsMixin,normalizeSlotMixin],inject:{getBvDropdown:{default:function(){return function(){return null}}}},inheritAttrs:!1,props:props$1M,computed:{bvDropdown:function(){return this.getBvDropdown()},computedAttrs:function(){return _objectSpread2$3(_objectSpread2$3({},this.bvAttrs),{},{role:"menuitem"})}},methods:{closeDropdown:function(){var _this=this;requestAF((function(){_this.bvDropdown&&_this.bvDropdown.hide(!0)}))},onClick:function(event){this.$emit("click",event),this.closeDropdown()}},render:function(h){var linkClass=this.linkClass,variant=this.variant,active=this.active,disabled=this.disabled,onClick=this.onClick,bvAttrs=this.bvAttrs;return h("li",{class:bvAttrs.class,style:bvAttrs.style,attrs:{role:"presentation"}},[h(BLink,{staticClass:"dropdown-item",class:[linkClass,_defineProperty({},"text-".concat(variant),variant&&!(active||disabled))],props:pluckProps(linkProps$4,this.$props),attrs:this.computedAttrs,on:{click:onClick},ref:"item"},this.normalizeSlot())])}}),props$1L=makePropsConfigurable({active:makeProp(PROP_TYPE_BOOLEAN,!1),activeClass:makeProp(PROP_TYPE_STRING,"active"),buttonClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),disabled:makeProp(PROP_TYPE_BOOLEAN,!1),variant:makeProp(PROP_TYPE_STRING)},"BDropdownItemButton"),BDropdownItemButton=extend({name:"BDropdownItemButton",mixins:[attrsMixin,normalizeSlotMixin],inject:{getBvDropdown:{default:function(){return function(){return null}}}},inheritAttrs:!1,props:props$1L,computed:{bvDropdown:function(){return this.getBvDropdown()},computedAttrs:function(){return _objectSpread2$3(_objectSpread2$3({},this.bvAttrs),{},{role:"menuitem",type:"button",disabled:this.disabled})}},methods:{closeDropdown:function(){this.bvDropdown&&this.bvDropdown.hide(!0)},onClick:function(event){this.$emit("click",event),this.closeDropdown()}},render:function(h){var _ref,active=this.active,variant=this.variant,bvAttrs=this.bvAttrs;return h("li",{class:bvAttrs.class,style:bvAttrs.style,attrs:{role:"presentation"}},[h("button",{staticClass:"dropdown-item",class:[this.buttonClass,(_ref={},_defineProperty(_ref,this.activeClass,active),_defineProperty(_ref,"text-".concat(variant),variant&&!(active||this.disabled)),_ref)],attrs:this.computedAttrs,on:{click:this.onClick},ref:"button"},this.normalizeSlot())])}}),props$1K=makePropsConfigurable({id:makeProp(PROP_TYPE_STRING),tag:makeProp(PROP_TYPE_STRING,"header"),variant:makeProp(PROP_TYPE_STRING)},"BDropdownHeader"),BDropdownHeader=extend({name:"BDropdownHeader",functional:!0,props:props$1K,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,tag=props.tag,variant=props.variant;return h("li",a(omit(data,["attrs"]),{attrs:{role:"presentation"}}),[h(tag,{staticClass:"dropdown-header",class:_defineProperty({},"text-".concat(variant),variant),attrs:_objectSpread2$3(_objectSpread2$3({},data.attrs||{}),{},{id:props.id||null,role:isTag(tag,"header")?null:"heading"}),ref:"header"},children)])}}),props$1J=makePropsConfigurable({tag:makeProp(PROP_TYPE_STRING,"hr")},"BDropdownDivider"),BDropdownDivider=extend({name:"BDropdownDivider",functional:!0,props:props$1J,render:function(h,_ref){var props=_ref.props,data=_ref.data;return h("li",a(omit(data,["attrs"]),{attrs:{role:"presentation"}}),[h(props.tag,{staticClass:"dropdown-divider",attrs:_objectSpread2$3(_objectSpread2$3({},data.attrs||{}),{},{role:"separator","aria-orientation":"horizontal"}),ref:"divider"})])}}),props$1I=makePropsConfigurable({id:makeProp(PROP_TYPE_STRING),inline:makeProp(PROP_TYPE_BOOLEAN,!1),novalidate:makeProp(PROP_TYPE_BOOLEAN,!1),validated:makeProp(PROP_TYPE_BOOLEAN,!1)},"BForm"),BForm=extend({name:"BForm",functional:!0,props:props$1I,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h("form",a(data,{class:{"form-inline":props.inline,"was-validated":props.validated},attrs:{id:props.id,novalidate:props.novalidate}}),children)}}),props$1H=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$1I),{},{disabled:makeProp(PROP_TYPE_BOOLEAN,!1),formClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)})),"BDropdownForm"),BDropdownForm=extend({name:"BDropdownForm",functional:!0,props:props$1H,render:function(h,_ref){var props=_ref.props,data=_ref.data,listeners=_ref.listeners,children=_ref.children;return h("li",a(omit(data,["attrs","on"]),{attrs:{role:"presentation"}}),[h(BForm,{staticClass:"b-dropdown-form",class:[props.formClass,{disabled:props.disabled}],props:props,attrs:_objectSpread2$3(_objectSpread2$3({},data.attrs||{}),{},{disabled:props.disabled,tabindex:props.disabled?null:"-1"}),on:listeners,ref:"form"},children)])}}),props$1G=makePropsConfigurable({tag:makeProp(PROP_TYPE_STRING,"p"),textClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),variant:makeProp(PROP_TYPE_STRING)},"BDropdownText"),BDropdownText=extend({name:"BDropdownText",functional:!0,props:props$1G,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,tag=props.tag,textClass=props.textClass,variant=props.variant;return h("li",a(omit(data,["attrs"]),{attrs:{role:"presentation"}}),[h(tag,{staticClass:"b-dropdown-text",class:[textClass,_defineProperty({},"text-".concat(variant),variant)],props:props,attrs:data.attrs||{},ref:"text"},children)])}}),props$1F=makePropsConfigurable({ariaDescribedby:makeProp(PROP_TYPE_STRING),header:makeProp(PROP_TYPE_STRING),headerClasses:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),headerTag:makeProp(PROP_TYPE_STRING,"header"),headerVariant:makeProp(PROP_TYPE_STRING),id:makeProp(PROP_TYPE_STRING)},"BDropdownGroup"),BDropdownGroup=extend({name:"BDropdownGroup",functional:!0,props:props$1F,render:function(h,_ref){var props=_ref.props,data=_ref.data,slots=_ref.slots,scopedSlots=_ref.scopedSlots,id=props.id,variant=props.variant,header=props.header,headerTag=props.headerTag,$slots=slots(),$scopedSlots=scopedSlots||{},slotScope={},headerId=id?"_bv_".concat(id,"_group_dd_header"):null,$header=h();return(hasNormalizedSlot("header",$scopedSlots,$slots)||header)&&($header=h(headerTag,{staticClass:"dropdown-header",class:[props.headerClasses,_defineProperty({},"text-".concat(variant),variant)],attrs:{id:headerId,role:isTag(headerTag,"header")?null:"heading"}},normalizeSlot("header",slotScope,$scopedSlots,$slots)||header)),h("li",a(omit(data,["attrs"]),{attrs:{role:"presentation"}}),[$header,h("ul",{staticClass:"list-unstyled",attrs:_objectSpread2$3(_objectSpread2$3({},data.attrs||{}),{},{id:id,role:"group","aria-describedby":[headerId,props.ariaDescribedBy].filter(identity).join(" ").trim()||null})},normalizeSlot("default",slotScope,$scopedSlots,$slots))])}}),DropdownPlugin=pluginFactory({components:{BDropdown:BDropdown,BDd:BDropdown,BDropdownItem:BDropdownItem,BDdItem:BDropdownItem,BDropdownItemButton:BDropdownItemButton,BDropdownItemBtn:BDropdownItemButton,BDdItemButton:BDropdownItemButton,BDdItemBtn:BDropdownItemButton,BDropdownHeader:BDropdownHeader,BDdHeader:BDropdownHeader,BDropdownDivider:BDropdownDivider,BDdDivider:BDropdownDivider,BDropdownForm:BDropdownForm,BDdForm:BDropdownForm,BDropdownText:BDropdownText,BDdText:BDropdownText,BDropdownGroup:BDropdownGroup,BDdGroup:BDropdownGroup}}),TYPES$2=["iframe","embed","video","object","img","b-img","b-img-lazy"],props$1E=makePropsConfigurable({aspect:makeProp(PROP_TYPE_STRING,"16by9"),tag:makeProp(PROP_TYPE_STRING,"div"),type:makeProp(PROP_TYPE_STRING,"iframe",(function(value){return arrayIncludes(TYPES$2,value)}))},"BEmbed"),BEmbed=extend({name:"BEmbed",functional:!0,props:props$1E,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,aspect=props.aspect;return h(props.tag,{staticClass:"embed-responsive",class:_defineProperty({},"embed-responsive-".concat(aspect),aspect),ref:data.ref},[h(props.type,a(omit(data,["ref"]),{staticClass:"embed-responsive-item"}),children)])}}),EmbedPlugin=pluginFactory({components:{BEmbed:BEmbed}}),props$1D=makePropsConfigurable({disabledField:makeProp(PROP_TYPE_STRING,"disabled"),htmlField:makeProp(PROP_TYPE_STRING,"html"),options:makeProp(PROP_TYPE_ARRAY_OBJECT,[]),textField:makeProp(PROP_TYPE_STRING,"text"),valueField:makeProp(PROP_TYPE_STRING,"value")},"formOptionControls"),formOptionsMixin=extend({props:props$1D,computed:{formOptions:function(){return this.normalizeOptions(this.options)}},methods:{normalizeOption:function(option){var key=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(isPlainObject(option)){var value=get(option,this.valueField),text=get(option,this.textField);return{value:isUndefined(value)?key||text:value,text:stripTags(String(isUndefined(text)?key:text)),html:get(option,this.htmlField),disabled:Boolean(get(option,this.disabledField))}}return{value:key||option,text:stripTags(String(option)),disabled:!1}},normalizeOptions:function(options){var _this=this;return isArray(options)?options.map((function(option){return _this.normalizeOption(option)})):isPlainObject(options)?(warn('Setting prop "options" to an object is deprecated. Use the array format instead.',this.$options.name),keys(options).map((function(key){return _this.normalizeOption(options[key]||{},key)}))):[]}}}),props$1C=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$1D),{},{id:makeProp(PROP_TYPE_STRING,void 0,!0)})),"BFormDatalist"),BFormDatalist=extend({name:"BFormDatalist",mixins:[formOptionsMixin,normalizeSlotMixin],props:props$1C,render:function(h){var id=this.id,$options=this.formOptions.map((function(option,index){var value=option.value,text=option.text,html=option.html,disabled=option.disabled;return h("option",{attrs:{value:value,disabled:disabled},domProps:htmlOrText(html,text),key:"option_".concat(index)})}));return h("datalist",{attrs:{id:id}},[$options,this.normalizeSlot()])}}),props$1B=makePropsConfigurable({id:makeProp(PROP_TYPE_STRING),inline:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"small"),textVariant:makeProp(PROP_TYPE_STRING,"muted")},"BFormText"),BFormText=extend({name:"BFormText",functional:!0,props:props$1B,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h(props.tag,a(data,{class:_defineProperty({"form-text":!props.inline},"text-".concat(props.textVariant),props.textVariant),attrs:{id:props.id}}),children)}}),props$1A=makePropsConfigurable({ariaLive:makeProp(PROP_TYPE_STRING),forceShow:makeProp(PROP_TYPE_BOOLEAN,!1),id:makeProp(PROP_TYPE_STRING),role:makeProp(PROP_TYPE_STRING),state:makeProp(PROP_TYPE_BOOLEAN,null),tag:makeProp(PROP_TYPE_STRING,"div"),tooltip:makeProp(PROP_TYPE_BOOLEAN,!1)},"BFormInvalidFeedback"),BFormInvalidFeedback=extend({name:"BFormInvalidFeedback",functional:!0,props:props$1A,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,tooltip=props.tooltip,ariaLive=props.ariaLive,show=!0===props.forceShow||!1===props.state;return h(props.tag,a(data,{class:{"d-block":show,"invalid-feedback":!tooltip,"invalid-tooltip":tooltip},attrs:{id:props.id||null,role:props.role||null,"aria-live":ariaLive||null,"aria-atomic":ariaLive?"true":null}}),children)}}),props$1z=makePropsConfigurable({ariaLive:makeProp(PROP_TYPE_STRING),forceShow:makeProp(PROP_TYPE_BOOLEAN,!1),id:makeProp(PROP_TYPE_STRING),role:makeProp(PROP_TYPE_STRING),state:makeProp(PROP_TYPE_BOOLEAN,null),tag:makeProp(PROP_TYPE_STRING,"div"),tooltip:makeProp(PROP_TYPE_BOOLEAN,!1)},"BFormValidFeedback"),BFormValidFeedback=extend({name:"BFormValidFeedback",functional:!0,props:props$1z,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,tooltip=props.tooltip,ariaLive=props.ariaLive,show=!0===props.forceShow||!0===props.state;return h(props.tag,a(data,{class:{"d-block":show,"valid-feedback":!tooltip,"valid-tooltip":tooltip},attrs:{id:props.id||null,role:props.role||null,"aria-live":ariaLive||null,"aria-atomic":ariaLive?"true":null}}),children)}}),props$1y=makePropsConfigurable({tag:makeProp(PROP_TYPE_STRING,"div")},"BFormRow"),BFormRow=extend({name:"BFormRow",functional:!0,props:props$1y,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h(props.tag,a(data,{staticClass:"form-row"}),children)}}),FormPlugin=pluginFactory({components:{BForm:BForm,BFormDatalist:BFormDatalist,BDatalist:BFormDatalist,BFormText:BFormText,BFormInvalidFeedback:BFormInvalidFeedback,BFormFeedback:BFormInvalidFeedback,BFormValidFeedback:BFormValidFeedback,BFormRow:BFormRow}}),looseIndexOf=function(array,value){for(var i=0;i<array.length;i++)if(looseEqual(array[i],value))return i;return-1},props$1x=makePropsConfigurable({autofocus:makeProp(PROP_TYPE_BOOLEAN,!1),disabled:makeProp(PROP_TYPE_BOOLEAN,!1),form:makeProp(PROP_TYPE_STRING),id:makeProp(PROP_TYPE_STRING),name:makeProp(PROP_TYPE_STRING),required:makeProp(PROP_TYPE_BOOLEAN,!1)},"formControls"),formControlMixin=extend({props:props$1x,mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{handleAutofocus:function(){var _this=this;this.$nextTick((function(){requestAF((function(){var el=_this.$el;_this.autofocus&&isVisible(el)&&(matches(el,"input, textarea, select")||(el=select("input, textarea, select",el)),attemptFocus(el))}))}))}}}),props$1w=makePropsConfigurable({plain:makeProp(PROP_TYPE_BOOLEAN,!1)},"formControls"),formCustomMixin=extend({props:props$1w,computed:{custom:function(){return!this.plain}}}),props$1v=makePropsConfigurable({size:makeProp(PROP_TYPE_STRING)},"formControls"),formSizeMixin=extend({props:props$1v,computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]}}}),props$1u=makePropsConfigurable({state:makeProp(PROP_TYPE_BOOLEAN,null)},"formState"),formStateMixin=extend({props:props$1u,computed:{computedState:function(){return isBoolean(this.state)?this.state:null},stateClass:function(){var state=this.computedState;return!0===state?"is-valid":!1===state?"is-invalid":null},computedAriaInvalid:function(){var ariaInvalid=safeVueInstance(this).ariaInvalid;return!0===ariaInvalid||"true"===ariaInvalid||""===ariaInvalid||!1===this.computedState?"true":ariaInvalid}}}),_makeModelMixin$g=makeModelMixin("checked",{defaultValue:null}),modelMixin$f=_makeModelMixin$g.mixin,modelProps$f=_makeModelMixin$g.props,MODEL_PROP_NAME$f=_makeModelMixin$g.prop,MODEL_EVENT_NAME$f=_makeModelMixin$g.event,props$1t=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$f),props$1x),props$1v),props$1u),props$1w),{},{ariaLabel:makeProp(PROP_TYPE_STRING),ariaLabelledby:makeProp(PROP_TYPE_STRING),button:makeProp(PROP_TYPE_BOOLEAN,!1),buttonVariant:makeProp(PROP_TYPE_STRING),inline:makeProp(PROP_TYPE_BOOLEAN,!1),value:makeProp(undefined)})),"formRadioCheckControls"),formRadioCheckMixin=extend({mixins:[attrsMixin,idMixin,modelMixin$f,normalizeSlotMixin,formControlMixin,formSizeMixin,formStateMixin,formCustomMixin],inheritAttrs:!1,props:props$1t,data:function(){return{localChecked:this.isGroup?this.bvGroup[MODEL_PROP_NAME$f]:this[MODEL_PROP_NAME$f],hasFocus:!1}},computed:{computedLocalChecked:{get:function(){return this.isGroup?this.bvGroup.localChecked:this.localChecked},set:function(value){this.isGroup?this.bvGroup.localChecked=value:this.localChecked=value}},isChecked:function(){return looseEqual(this.value,this.computedLocalChecked)},isRadio:function(){return!0},isGroup:function(){return!!this.bvGroup},isBtnMode:function(){return this.isGroup?this.bvGroup.buttons:this.button},isPlain:function(){return!this.isBtnMode&&(this.isGroup?this.bvGroup.plain:this.plain)},isCustom:function(){return!this.isBtnMode&&!this.isPlain},isSwitch:function(){return!(this.isBtnMode||this.isRadio||this.isPlain)&&(this.isGroup?this.bvGroup.switches:this.switch)},isInline:function(){return this.isGroup?this.bvGroup.inline:this.inline},isDisabled:function(){return this.isGroup&&this.bvGroup.disabled||this.disabled},isRequired:function(){return this.computedName&&(this.isGroup?this.bvGroup.required:this.required)},computedName:function(){return(this.isGroup?this.bvGroup.groupName:this.name)||null},computedForm:function(){return(this.isGroup?this.bvGroup.form:this.form)||null},computedSize:function(){return(this.isGroup?this.bvGroup.size:this.size)||""},computedState:function(){return this.isGroup?this.bvGroup.computedState:isBoolean(this.state)?this.state:null},computedButtonVariant:function(){var buttonVariant=this.buttonVariant;return buttonVariant||(this.isGroup&&this.bvGroup.buttonVariant?this.bvGroup.buttonVariant:"secondary")},buttonClasses:function(){var _ref,computedSize=this.computedSize;return["btn","btn-".concat(this.computedButtonVariant),(_ref={},_defineProperty(_ref,"btn-".concat(computedSize),computedSize),_defineProperty(_ref,"disabled",this.isDisabled),_defineProperty(_ref,"active",this.isChecked),_defineProperty(_ref,"focus",this.hasFocus),_ref)]},computedAttrs:function(){var disabled=this.isDisabled,required=this.isRequired;return _objectSpread2$3(_objectSpread2$3({},this.bvAttrs),{},{id:this.safeId(),type:this.isRadio?"radio":"checkbox",name:this.computedName,form:this.computedForm,disabled:disabled,required:required,"aria-required":required||null,"aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||null})}},watch:(_watch$f={},_defineProperty(_watch$f,MODEL_PROP_NAME$f,(function(){this["".concat(MODEL_PROP_NAME$f,"Watcher")].apply(this,arguments)})),_defineProperty(_watch$f,"computedLocalChecked",(function(){this.computedLocalCheckedWatcher.apply(this,arguments)})),_watch$f),methods:(_methods={},_defineProperty(_methods,"".concat(MODEL_PROP_NAME$f,"Watcher"),(function(newValue){looseEqual(newValue,this.computedLocalChecked)||(this.computedLocalChecked=newValue)})),_defineProperty(_methods,"computedLocalCheckedWatcher",(function(newValue,oldValue){looseEqual(newValue,oldValue)||this.$emit(MODEL_EVENT_NAME$f,newValue)})),_defineProperty(_methods,"handleChange",(function(_ref2){var _this=this,checked=_ref2.target.checked,value=this.value,localChecked=checked?value:null;this.computedLocalChecked=value,this.$nextTick((function(){_this.$emit("change",localChecked),_this.isGroup&&_this.bvGroup.$emit("change",localChecked)}))})),_defineProperty(_methods,"handleFocus",(function(event){event.target&&("focus"===event.type?this.hasFocus=!0:"blur"===event.type&&(this.hasFocus=!1))})),_defineProperty(_methods,"focus",(function(){this.isDisabled||attemptFocus(this.$refs.input)})),_defineProperty(_methods,"blur",(function(){this.isDisabled||attemptBlur(this.$refs.input)})),_methods),render:function(h){var isRadio=this.isRadio,isBtnMode=this.isBtnMode,isPlain=this.isPlain,isCustom=this.isCustom,isInline=this.isInline,isSwitch=this.isSwitch,computedSize=this.computedSize,bvAttrs=this.bvAttrs,$content=this.normalizeSlot(),$input=h("input",{class:[{"form-check-input":isPlain,"custom-control-input":isCustom,"position-static":isPlain&&!$content},isBtnMode?"":this.stateClass],directives:[{name:"model",value:this.computedLocalChecked}],attrs:this.computedAttrs,domProps:{value:this.value,checked:this.isChecked},on:_objectSpread2$3({change:this.handleChange},isBtnMode?{focus:this.handleFocus,blur:this.handleFocus}:{}),key:"input",ref:"input"});if(isBtnMode){var $button=h("label",{class:this.buttonClasses},[$input,$content]);return this.isGroup||($button=h("div",{class:["btn-group-toggle","d-inline-block"]},[$button])),$button}var $label=h();return isPlain&&!$content||($label=h("label",{class:{"form-check-label":isPlain,"custom-control-label":isCustom},attrs:{for:this.safeId()}},$content)),h("div",{class:[_defineProperty({"form-check":isPlain,"form-check-inline":isPlain&&isInline,"custom-control":isCustom,"custom-control-inline":isCustom&&isInline,"custom-checkbox":isCustom&&!isRadio&&!isSwitch,"custom-switch":isSwitch,"custom-radio":isCustom&&isRadio},"b-custom-control-".concat(computedSize),computedSize&&!isBtnMode),bvAttrs.class],style:bvAttrs.style},[$input,$label])}}),props$1s=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$1t),{},(_defineProperty(_objectSpread2$2={},"indeterminate",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_objectSpread2$2,"switch",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_objectSpread2$2,"uncheckedValue",makeProp(undefined,!1)),_defineProperty(_objectSpread2$2,"value",makeProp(undefined,!0)),_objectSpread2$2))),"BFormCheckbox"),BFormCheckbox=extend({name:"BFormCheckbox",mixins:[formRadioCheckMixin],inject:{getBvGroup:{from:"getBvCheckGroup",default:function(){return function(){return null}}}},props:props$1s,computed:{bvGroup:function(){return this.getBvGroup()},isChecked:function(){var value=this.value,checked=this.computedLocalChecked;return isArray(checked)?looseIndexOf(checked,value)>-1:looseEqual(checked,value)},isRadio:function(){return!1}},watch:_defineProperty({},"indeterminate",(function(newValue,oldValue){looseEqual(newValue,oldValue)||this.setIndeterminate(newValue)})),mounted:function(){this.setIndeterminate(this.indeterminate)},methods:{computedLocalCheckedWatcher:function(newValue,oldValue){if(!looseEqual(newValue,oldValue)){this.$emit(MODEL_EVENT_NAME$f,newValue);var $input=this.$refs.input;$input&&this.$emit("update:indeterminate",$input.indeterminate)}},handleChange:function(_ref){var _this=this,_ref$target=_ref.target,checked=_ref$target.checked,indeterminate=_ref$target.indeterminate,value=this.value,uncheckedValue=this.uncheckedValue,localChecked=this.computedLocalChecked;if(isArray(localChecked)){var index=looseIndexOf(localChecked,value);checked&&index<0?localChecked=localChecked.concat(value):!checked&&index>-1&&(localChecked=localChecked.slice(0,index).concat(localChecked.slice(index+1)))}else localChecked=checked?value:uncheckedValue;this.computedLocalChecked=localChecked,this.$nextTick((function(){_this.$emit("change",localChecked),_this.isGroup&&_this.bvGroup.$emit("change",localChecked),_this.$emit("update:indeterminate",indeterminate)}))},setIndeterminate:function(state){isArray(this.computedLocalChecked)&&(state=!1);var $input=this.$refs.input;$input&&($input.indeterminate=state,this.$emit("update:indeterminate",state))}}}),props$1r=makePropsConfigurable(props$1t,"BFormRadio"),BFormRadio=extend({name:"BFormRadio",mixins:[formRadioCheckMixin],inject:{getBvGroup:{from:"getBvRadioGroup",default:function(){return function(){return null}}}},props:props$1r,computed:{bvGroup:function(){return this.getBvGroup()}}}),PASS_DOWN_ATTRS=["aria-describedby","aria-labelledby"],_makeModelMixin$f=makeModelMixin("checked"),modelMixin$e=_makeModelMixin$f.mixin,modelProps$e=_makeModelMixin$f.props,MODEL_PROP_NAME$e=_makeModelMixin$f.prop,MODEL_EVENT_NAME$e=_makeModelMixin$f.event,props$1q=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$e),props$1x),props$1D),props$1v),props$1u),props$1w),{},{ariaInvalid:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),buttonVariant:makeProp(PROP_TYPE_STRING),buttons:makeProp(PROP_TYPE_BOOLEAN,!1),stacked:makeProp(PROP_TYPE_BOOLEAN,!1),validated:makeProp(PROP_TYPE_BOOLEAN,!1)})),"formRadioCheckGroups"),formRadioCheckGroupMixin=extend({mixins:[idMixin,modelMixin$e,normalizeSlotMixin,formControlMixin,formOptionsMixin,formSizeMixin,formStateMixin,formCustomMixin],inheritAttrs:!1,props:props$1q,data:function(){return{localChecked:this[MODEL_PROP_NAME$e]}},computed:{inline:function(){return!this.stacked},groupName:function(){return this.name||this.safeId()},groupClasses:function(){var inline=this.inline,size=this.size,classes={"was-validated":this.validated};return this.buttons&&(classes=[classes,"btn-group-toggle",_defineProperty({"btn-group":inline,"btn-group-vertical":!inline},"btn-group-".concat(size),size)]),classes}},watch:(_watch$e={},_defineProperty(_watch$e,MODEL_PROP_NAME$e,(function(newValue){looseEqual(newValue,this.localChecked)||(this.localChecked=newValue)})),_defineProperty(_watch$e,"localChecked",(function(newValue,oldValue){looseEqual(newValue,oldValue)||this.$emit(MODEL_EVENT_NAME$e,newValue)})),_watch$e),render:function(h){var _this=this,isRadioGroup=this.isRadioGroup,attrs=pick$1(this.$attrs,PASS_DOWN_ATTRS),optionComponent=isRadioGroup?BFormRadio:BFormCheckbox,$inputs=this.formOptions.map((function(option,index){var key="BV_option_".concat(index);return h(optionComponent,{props:{disabled:option.disabled||!1,id:_this.safeId(key),value:option.value},attrs:attrs,key:key},[h("span",{domProps:htmlOrText(option.html,option.text)})])}));return h("div",{class:[this.groupClasses,"bv-no-focus-ring"],attrs:_objectSpread2$3(_objectSpread2$3({},omit(this.$attrs,PASS_DOWN_ATTRS)),{},{"aria-invalid":this.computedAriaInvalid,"aria-required":this.required?"true":null,id:this.safeId(),role:isRadioGroup?"radiogroup":"group",tabindex:"-1"})},[this.normalizeSlot("first"),$inputs,this.normalizeSlot()])}}),props$1p=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$1q),{},(_defineProperty(_objectSpread2$1={},MODEL_PROP_NAME$e,makeProp(PROP_TYPE_ARRAY,[])),_defineProperty(_objectSpread2$1,"switches",makeProp(PROP_TYPE_BOOLEAN,!1)),_objectSpread2$1))),"BFormCheckboxGroup"),BFormCheckboxGroup=extend({name:"BFormCheckboxGroup",mixins:[formRadioCheckGroupMixin],provide:function(){var _this=this;return{getBvCheckGroup:function(){return _this}}},props:props$1p,computed:{isRadioGroup:function(){return!1}}}),FormCheckboxPlugin=pluginFactory({components:{BFormCheckbox:BFormCheckbox,BCheckbox:BFormCheckbox,BCheck:BFormCheckbox,BFormCheckboxGroup:BFormCheckboxGroup,BCheckboxGroup:BFormCheckboxGroup,BCheckGroup:BFormCheckboxGroup}}),PROP$2="__BV_hover_handler__",updateListeners=function(on,el,listener){eventOnOff(on,el,"mouseenter",listener,EVENT_OPTIONS_NO_CAPTURE),eventOnOff(on,el,"mouseleave",listener,EVENT_OPTIONS_NO_CAPTURE)},directive=function(el,_ref){var _ref$value=_ref.value,handler=void 0===_ref$value?null:_ref$value;if(IS_BROWSER){var listener=el[PROP$2],hasListener=isFunction$1(listener),handlerChanged=!(hasListener&&listener.fn===handler);hasListener&&handlerChanged&&(updateListeners(!1,el,listener),delete el[PROP$2]),isFunction$1(handler)&&handlerChanged&&(el[PROP$2]=function(handler){var listener=function(event){handler("mouseenter"===event.type,event)};return listener.fn=handler,listener}(handler),updateListeners(!0,el,el[PROP$2]))}},VBHover={bind:directive,componentUpdated:directive,unbind:function(el){directive(el,{value:null})}},props$1o=sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),props$1v),props$1u),omit(props$1O,["disabled"])),omit(props$1x,["autofocus"])),{},{buttonOnly:makeProp(PROP_TYPE_BOOLEAN,!1),buttonVariant:makeProp(PROP_TYPE_STRING,"secondary"),formattedValue:makeProp(PROP_TYPE_STRING),labelSelected:makeProp(PROP_TYPE_STRING),lang:makeProp(PROP_TYPE_STRING),menuClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),placeholder:makeProp(PROP_TYPE_STRING),readonly:makeProp(PROP_TYPE_BOOLEAN,!1),rtl:makeProp(PROP_TYPE_BOOLEAN,null),value:makeProp(PROP_TYPE_STRING,"")})),BVFormBtnLabelControl=extend({name:"BVFormBtnLabelControl",directives:{"b-hover":VBHover},mixins:[idMixin,formSizeMixin,formStateMixin,dropdownMixin,normalizeSlotMixin],props:props$1o,data:function(){return{isHovered:!1,hasFocus:!1}},computed:{idButton:function(){return this.safeId()},idLabel:function(){return this.safeId("_value_")},idMenu:function(){return this.safeId("_dialog_")},idWrapper:function(){return this.safeId("_outer_")},computedDir:function(){return!0===this.rtl?"rtl":!1===this.rtl?"ltr":null}},methods:{focus:function(){this.disabled||attemptFocus(this.$refs.toggle)},blur:function(){this.disabled||attemptBlur(this.$refs.toggle)},setFocus:function(event){this.hasFocus="focus"===event.type},handleHover:function(hovered){this.isHovered=hovered}},render:function(h){var _class,idButton=this.idButton,idLabel=this.idLabel,idMenu=this.idMenu,idWrapper=this.idWrapper,disabled=this.disabled,readonly=this.readonly,required=this.required,name=this.name,state=this.state,visible=this.visible,size=this.size,isHovered=this.isHovered,hasFocus=this.hasFocus,labelSelected=this.labelSelected,buttonVariant=this.buttonVariant,buttonOnly=this.buttonOnly,value=toString(this.value)||"",invalid=!1===state||required&&!value,btnScope={isHovered:isHovered,hasFocus:hasFocus,state:state,opened:visible},$button=h("button",{staticClass:"btn",class:(_class={},_defineProperty(_class,"btn-".concat(buttonVariant),buttonOnly),_defineProperty(_class,"btn-".concat(size),size),_defineProperty(_class,"h-auto",!buttonOnly),_defineProperty(_class,"dropdown-toggle",buttonOnly),_defineProperty(_class,"dropdown-toggle-no-caret",buttonOnly),_class),attrs:{id:idButton,type:"button",disabled:disabled,"aria-haspopup":"dialog","aria-expanded":visible?"true":"false","aria-invalid":invalid?"true":null,"aria-required":required?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle,"!focus":this.setFocus,"!blur":this.setFocus},ref:"toggle"},[this.hasNormalizedSlot("button-content")?this.normalizeSlot("button-content",btnScope):h(BIconChevronDown,{props:{scale:1.25}})]),$hidden=h();name&&!disabled&&($hidden=h("input",{attrs:{type:"hidden",name:name||null,form:this.form||null,value:value}}));var $menu=h("div",{staticClass:"dropdown-menu",class:[this.menuClass,{show:visible,"dropdown-menu-right":this.right}],attrs:{id:idMenu,role:"dialog",tabindex:"-1","aria-modal":"false","aria-labelledby":idLabel},on:{keydown:this.onKeydown},ref:"menu"},[this.normalizeSlot("default",{opened:visible})]),$label=h("label",{class:buttonOnly?"sr-only":["form-control",{"text-muted":!value},this.stateClass,this.sizeFormClass],attrs:{id:idLabel,for:idButton,"aria-invalid":invalid?"true":null,"aria-required":required?"true":null},directives:[{name:"b-hover",value:this.handleHover}],on:{"!click":function(event){stopEvent(event,{preventDefault:!1})}}},[value?this.formattedValue||value:this.placeholder||"",value&&labelSelected?h("bdi",{staticClass:"sr-only"},labelSelected):""]);return h("div",{staticClass:"b-form-btn-label-control dropdown",class:[this.directionClass,this.boundaryClass,[{"btn-group":buttonOnly,"form-control":!buttonOnly,focus:hasFocus&&!buttonOnly,show:visible,"is-valid":!0===state,"is-invalid":!1===state},buttonOnly?null:this.sizeFormClass]],attrs:{id:idWrapper,role:buttonOnly?null:"group",lang:this.lang||null,dir:this.computedDir,"aria-disabled":disabled,"aria-readonly":readonly&&!disabled,"aria-labelledby":idLabel,"aria-invalid":!1===state||required&&!value?"true":null,"aria-required":required?"true":null}},[$button,$hidden,$menu,$label])}}),_makeModelMixin$e=makeModelMixin("value",{type:PROP_TYPE_DATE_STRING}),modelMixin$d=_makeModelMixin$e.mixin,modelProps$d=_makeModelMixin$e.props,MODEL_PROP_NAME$d=_makeModelMixin$e.prop,MODEL_EVENT_NAME$d=_makeModelMixin$e.event,calendarProps=omit(props$24,["block","hidden","id","noKeyNav","roleDescription","value","width"]),formBtnLabelControlProps$1=omit(props$1o,["formattedValue","id","lang","rtl","value"]),props$1n=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$d),calendarProps),formBtnLabelControlProps$1),{},{calendarWidth:makeProp(PROP_TYPE_STRING,"270px"),closeButton:makeProp(PROP_TYPE_BOOLEAN,!1),closeButtonVariant:makeProp(PROP_TYPE_STRING,"outline-secondary"),dark:makeProp(PROP_TYPE_BOOLEAN,!1),labelCloseButton:makeProp(PROP_TYPE_STRING,"Close"),labelResetButton:makeProp(PROP_TYPE_STRING,"Reset"),labelTodayButton:makeProp(PROP_TYPE_STRING,"Select today"),noCloseOnSelect:makeProp(PROP_TYPE_BOOLEAN,!1),resetButton:makeProp(PROP_TYPE_BOOLEAN,!1),resetButtonVariant:makeProp(PROP_TYPE_STRING,"outline-danger"),resetValue:makeProp(PROP_TYPE_DATE_STRING),todayButton:makeProp(PROP_TYPE_BOOLEAN,!1),todayButtonVariant:makeProp(PROP_TYPE_STRING,"outline-primary")})),"BFormDatepicker"),BFormDatepicker=extend({name:"BFormDatepicker",mixins:[idMixin,modelMixin$d],props:props$1n,data:function(){return{localYMD:formatYMD(this[MODEL_PROP_NAME$d])||"",isVisible:!1,localLocale:null,isRTL:!1,formattedValue:"",activeYMD:""}},computed:{calendarYM:function(){return this.activeYMD.slice(0,-3)},computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null},computedResetValue:function(){return formatYMD(constrainDate(this.resetValue))||""}},watch:(_watch$d={},_defineProperty(_watch$d,MODEL_PROP_NAME$d,(function(newValue){this.localYMD=formatYMD(newValue)||""})),_defineProperty(_watch$d,"localYMD",(function(newValue){this.isVisible&&this.$emit(MODEL_EVENT_NAME$d,this.valueAsDate?parseYMD(newValue)||null:newValue||"")})),_defineProperty(_watch$d,"calendarYM",(function(newValue,oldValue){if(newValue!==oldValue&&oldValue)try{this.$refs.control.updatePopper()}catch(_unused){}})),_watch$d),methods:{focus:function(){this.disabled||attemptFocus(this.$refs.control)},blur:function(){this.disabled||attemptBlur(this.$refs.control)},setAndClose:function(ymd){var _this=this;this.localYMD=ymd,this.noCloseOnSelect||this.$nextTick((function(){_this.$refs.control.hide(!0)}))},onSelected:function(ymd){var _this2=this;this.$nextTick((function(){_this2.setAndClose(ymd)}))},onInput:function(ymd){this.localYMD!==ymd&&(this.localYMD=ymd)},onContext:function(ctx){var activeYMD=ctx.activeYMD,isRTL=ctx.isRTL,locale=ctx.locale,selectedYMD=ctx.selectedYMD,selectedFormatted=ctx.selectedFormatted;this.isRTL=isRTL,this.localLocale=locale,this.formattedValue=selectedFormatted,this.localYMD=selectedYMD,this.activeYMD=activeYMD,this.$emit("context",ctx)},onTodayButton:function(){this.setAndClose(formatYMD(constrainDate(createDate(),this.min,this.max)))},onResetButton:function(){this.setAndClose(this.computedResetValue)},onCloseButton:function(){this.$refs.control.hide(!0)},onShow:function(){this.isVisible=!0},onShown:function(){var _this3=this;this.$nextTick((function(){attemptFocus(_this3.$refs.calendar),_this3.$emit("shown")}))},onHidden:function(){this.isVisible=!1,this.$emit("hidden")},defaultButtonFn:function(_ref){var isHovered=_ref.isHovered,hasFocus=_ref.hasFocus;return this.$createElement(isHovered||hasFocus?BIconCalendarFill:BIconCalendar,{attrs:{"aria-hidden":"true"}})}},render:function(h){var localYMD=this.localYMD,disabled=this.disabled,readonly=this.readonly,dark=this.dark,$props=this.$props,$scopedSlots=this.$scopedSlots,placeholder=isUndefinedOrNull(this.placeholder)?this.labelNoDateSelected:this.placeholder,$footer=[];if(this.todayButton){var label=this.labelTodayButton;$footer.push(h(BButton,{props:{disabled:disabled||readonly,size:"sm",variant:this.todayButtonVariant},attrs:{"aria-label":label||null},on:{click:this.onTodayButton}},label))}if(this.resetButton){var _label=this.labelResetButton;$footer.push(h(BButton,{props:{disabled:disabled||readonly,size:"sm",variant:this.resetButtonVariant},attrs:{"aria-label":_label||null},on:{click:this.onResetButton}},_label))}if(this.closeButton){var _label2=this.labelCloseButton;$footer.push(h(BButton,{props:{disabled:disabled,size:"sm",variant:this.closeButtonVariant},attrs:{"aria-label":_label2||null},on:{click:this.onCloseButton}},_label2))}$footer.length>0&&($footer=[h("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":$footer.length>1,"justify-content-end":$footer.length<2}},$footer)]);var $calendar=h(BCalendar,{staticClass:"b-form-date-calendar w-100",props:_objectSpread2$3(_objectSpread2$3({},pluckProps(calendarProps,$props)),{},{hidden:!this.isVisible,value:localYMD,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:pick$1($scopedSlots,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"]),key:"calendar",ref:"calendar"},$footer);return h(BVFormBtnLabelControl,{staticClass:"b-form-datepicker",props:_objectSpread2$3(_objectSpread2$3({},pluckProps(formBtnLabelControlProps$1,$props)),{},{formattedValue:localYMD?this.formattedValue:"",id:this.safeId(),lang:this.computedLang,menuClass:[{"bg-dark":dark,"text-light":dark},this.menuClass],placeholder:placeholder,rtl:this.isRTL,value:localYMD}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:_defineProperty({},"button-content",$scopedSlots["button-content"]||this.defaultButtonFn),ref:"control"},[$calendar])}}),FormDatepickerPlugin=pluginFactory({components:{BFormDatepicker:BFormDatepicker,BDatepicker:BFormDatepicker}}),_makeModelMixin$d=makeModelMixin("value",{type:[PROP_TYPE_ARRAY,File],defaultValue:null,validator:function(value){return""===value?(warn(VALUE_EMPTY_DEPRECATED_MSG,"BFormFile"),!0):isUndefinedOrNull(value)||isValidValue(value)}}),modelMixin$c=_makeModelMixin$d.mixin,modelProps$c=_makeModelMixin$d.props,MODEL_PROP_NAME$c=_makeModelMixin$d.prop,MODEL_EVENT_NAME$c=_makeModelMixin$d.event,VALUE_EMPTY_DEPRECATED_MSG='Setting "value"/"v-model" to an empty string for reset is deprecated. Set to "null" instead.',isValidValue=function isValidValue(value){return function(value){return value instanceof File}(value)||isArray(value)&&value.every((function(v){return isValidValue(v)}))},getDataTransferItemEntry=function(item){return isFunction$1(item.getAsEntry)?item.getAsEntry():isFunction$1(item.webkitGetAsEntry)?item.webkitGetAsEntry():null},getAllFileEntriesInDirectory=function getAllFileEntriesInDirectory(directoryReader){var path=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return new Promise((function(resolve){var entryPromises=[];!function readDirectoryEntries(){directoryReader.readEntries((function(entries){0===entries.length?resolve(Promise.all(entryPromises).then((function(entries){return entries.reduce((function(result,item){return concat(result,item)}),[])}))):(entryPromises.push(Promise.all(entries.map((function(entry){if(entry){if(entry.isDirectory)return getAllFileEntriesInDirectory(entry.createReader(),"".concat(path).concat(entry.name,"/"));if(entry.isFile)return new Promise((function(resolve){entry.file((function(file){file.$path="".concat(path).concat(file.name),resolve(file)}))}))}return null})).filter(identity))),readDirectoryEntries())}))}()}))},props$1m=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$c),props$1x),props$1w),props$1u),props$1v),{},{accept:makeProp(PROP_TYPE_STRING,""),browseText:makeProp(PROP_TYPE_STRING,"Browse"),capture:makeProp(PROP_TYPE_BOOLEAN,!1),directory:makeProp(PROP_TYPE_BOOLEAN,!1),dropPlaceholder:makeProp(PROP_TYPE_STRING,"Drop files here"),fileNameFormatter:makeProp(PROP_TYPE_FUNCTION),multiple:makeProp(PROP_TYPE_BOOLEAN,!1),noDrop:makeProp(PROP_TYPE_BOOLEAN,!1),noDropPlaceholder:makeProp(PROP_TYPE_STRING,"Not allowed"),noTraverse:makeProp(PROP_TYPE_BOOLEAN,!1),placeholder:makeProp(PROP_TYPE_STRING,"No file chosen")})),"BFormFile"),BFormFile=extend({name:"BFormFile",mixins:[attrsMixin,idMixin,modelMixin$c,normalizeSlotMixin,formControlMixin,formStateMixin,formCustomMixin,normalizeSlotMixin],inheritAttrs:!1,props:props$1m,data:function(){return{files:[],dragging:!1,dropAllowed:!this.noDrop,hasFocus:!1}},computed:{computedAccept:function(){var accept=this.accept;return 0===(accept=(accept||"").trim().split(/[,\s]+/).filter(identity)).length?null:accept.map((function(extOrType){var prop="name",startMatch="^",endMatch="$";return RX_EXTENSION.test(extOrType)?startMatch="":(prop="type",RX_STAR.test(extOrType)&&(endMatch=".+$",extOrType=extOrType.slice(0,-1))),extOrType=escapeRegExp(extOrType),{rx:new RegExp("".concat(startMatch).concat(extOrType).concat(endMatch)),prop:prop}}))},computedCapture:function(){var capture=this.capture;return!0===capture||""===capture||(capture||null)},computedAttrs:function(){var name=this.name,disabled=this.disabled,required=this.required,form=this.form,computedCapture=this.computedCapture,accept=this.accept,multiple=this.multiple,directory=this.directory;return _objectSpread2$3(_objectSpread2$3({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:name,disabled:disabled,required:required,form:form||null,capture:computedCapture,accept:accept||null,multiple:multiple,directory:directory,webkitdirectory:directory,"aria-required":required?"true":null})},computedFileNameFormatter:function(){var fileNameFormatter=this.fileNameFormatter;return hasPropFunction(fileNameFormatter)?fileNameFormatter:this.defaultFileNameFormatter},clonedFiles:function(){return cloneDeep(this.files)},flattenedFiles:function(){return flattenDeep(this.files)},fileNames:function(){return this.flattenedFiles.map((function(file){return file.name}))},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot("drop-placeholder",{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:this.$createElement("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(0===this.files.length)return this.normalizeSlot("placeholder")||this.placeholder;var flattenedFiles=this.flattenedFiles,clonedFiles=this.clonedFiles,fileNames=this.fileNames,computedFileNameFormatter=this.computedFileNameFormatter;return this.hasNormalizedSlot("file-name")?this.normalizeSlot("file-name",{files:flattenedFiles,filesTraversed:clonedFiles,names:fileNames}):computedFileNameFormatter(flattenedFiles,clonedFiles,fileNames)}},watch:(_watch$c={},_defineProperty(_watch$c,MODEL_PROP_NAME$c,(function(newValue){(!newValue||isArray(newValue)&&0===newValue.length)&&this.reset()})),_defineProperty(_watch$c,"files",(function(newValue,oldValue){if(!looseEqual(newValue,oldValue)){var multiple=this.multiple,noTraverse=this.noTraverse,files=!multiple||noTraverse?flattenDeep(newValue):newValue;this.$emit(MODEL_EVENT_NAME$c,multiple?files:files[0]||null)}})),_watch$c),created:function(){this.$_form=null},mounted:function(){var $form=closest("form",this.$el);$form&&(eventOn($form,"reset",this.reset,EVENT_OPTIONS_PASSIVE),this.$_form=$form)},beforeDestroy:function(){var $form=this.$_form;$form&&eventOff($form,"reset",this.reset,EVENT_OPTIONS_PASSIVE)},methods:{isFileValid:function(file){if(!file)return!1;var accept=this.computedAccept;return!accept||accept.some((function(a){return a.rx.test(file[a.prop])}))},isFilesArrayValid:function(files){var _this=this;return isArray(files)?files.every((function(file){return _this.isFileValid(file)})):this.isFileValid(files)},defaultFileNameFormatter:function(flattenedFiles,clonedFiles,fileNames){return fileNames.join(", ")},setFiles:function(files){this.dropAllowed=!this.noDrop,this.dragging=!1,this.files=this.multiple?this.directory?files:flattenDeep(files):flattenDeep(files).slice(0,1)},setInputFiles:function(files){try{var dataTransfer=new ClipboardEvent("").clipboardData||new DataTransfer;flattenDeep(cloneDeep(files)).forEach((function(file){delete file.$path,dataTransfer.items.add(file)})),this.$refs.input.files=dataTransfer.files}catch(_unused){}},reset:function(){try{var $input=this.$refs.input;$input.value="",$input.type="",$input.type="file"}catch(_unused2){}this.files=[]},handleFiles:function(files){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var filteredFiles=files.filter(this.isFilesArrayValid);filteredFiles.length>0&&(this.setFiles(filteredFiles),this.setInputFiles(filteredFiles))}else this.setFiles(files)},focusHandler:function(event){this.plain||"focusout"===event.type?this.hasFocus=!1:this.hasFocus=!0},onChange:function(event){var _this2=this,type=event.type,target=event.target,_event$dataTransfer=event.dataTransfer,dataTransfer=void 0===_event$dataTransfer?{}:_event$dataTransfer,isDrop="drop"===type;this.$emit("change",event);var items=from(dataTransfer.items||[]);if(HAS_PROMISE_SUPPORT&&items.length>0&&!isNull(getDataTransferItemEntry(items[0])))(function(dataTransferItemList){var traverseDirectories=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.all(from(dataTransferItemList).filter((function(item){return"file"===item.kind})).map((function(item){var entry=getDataTransferItemEntry(item);if(entry){if(entry.isDirectory&&traverseDirectories)return getAllFileEntriesInDirectory(entry.createReader(),"".concat(entry.name,"/"));if(entry.isFile)return new Promise((function(resolve){entry.file((function(file){file.$path="",resolve(file)}))}))}return null})).filter(identity))})(items,this.directory).then((function(files){return _this2.handleFiles(files,isDrop)}));else{var files=from(target.files||dataTransfer.files||[]).map((function(file){return file.$path=file.webkitRelativePath||"",file}));this.handleFiles(files,isDrop)}},onDragenter:function(event){stopEvent(event),this.dragging=!0;var _event$dataTransfer2=event.dataTransfer,dataTransfer=void 0===_event$dataTransfer2?{}:_event$dataTransfer2;if(this.noDrop||this.disabled||!this.dropAllowed)return dataTransfer.dropEffect="none",void(this.dropAllowed=!1);dataTransfer.dropEffect="copy"},onDragover:function(event){stopEvent(event),this.dragging=!0;var _event$dataTransfer3=event.dataTransfer,dataTransfer=void 0===_event$dataTransfer3?{}:_event$dataTransfer3;if(this.noDrop||this.disabled||!this.dropAllowed)return dataTransfer.dropEffect="none",void(this.dropAllowed=!1);dataTransfer.dropEffect="copy"},onDragleave:function(event){var _this3=this;stopEvent(event),this.$nextTick((function(){_this3.dragging=!1,_this3.dropAllowed=!_this3.noDrop}))},onDrop:function(event){var _this4=this;stopEvent(event),this.dragging=!1,this.noDrop||this.disabled||!this.dropAllowed?this.$nextTick((function(){_this4.dropAllowed=!_this4.noDrop})):this.onChange(event)}},render:function(h){var custom=this.custom,plain=this.plain,size=this.size,dragging=this.dragging,stateClass=this.stateClass,bvAttrs=this.bvAttrs,$input=h("input",{class:[{"form-control-file":plain,"custom-file-input":custom,focus:custom&&this.hasFocus},stateClass],style:custom?{zIndex:-5}:{},attrs:this.computedAttrs,on:{change:this.onChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.reset},ref:"input"});if(plain)return $input;var $label=h("label",{staticClass:"custom-file-label",class:{dragging:dragging},attrs:{for:this.safeId(),"data-browse":this.browseText||null}},[h("span",{staticClass:"d-block form-file-text",style:{pointerEvents:"none"}},[this.labelContent])]);return h("div",{staticClass:"custom-file b-form-file",class:[_defineProperty({},"b-custom-control-".concat(size),size),stateClass,bvAttrs.class],style:bvAttrs.style,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[$input,$label])}}),FormFilePlugin=pluginFactory({components:{BFormFile:BFormFile,BFile:BFormFile}}),escapeChar=function(value){return"\\"+value},cssEscape=function(value){var length=(value=toString(value)).length,firstCharCode=value.charCodeAt(0);return value.split("").reduce((function(result,char,index){var charCode=value.charCodeAt(index);return 0===charCode?result+"<22>":127===charCode||charCode>=1&&charCode<=31||0===index&&charCode>=48&&charCode<=57||1===index&&charCode>=48&&charCode<=57&&45===firstCharCode?result+escapeChar("".concat(charCode.toString(16)," ")):0===index&&45===charCode&&1===length?result+escapeChar(char):charCode>=128||45===charCode||95===charCode||charCode>=48&&charCode<=57||charCode>=65&&charCode<=90||charCode>=97&&charCode<=122?result+char:result+escapeChar(char)}),"")},ALIGN_SELF_VALUES=["auto","start","end","center","baseline","stretch"],computeBreakpointClass=memoize((function(type,breakpoint,value){var className=type;if(!isUndefinedOrNull(value)&&!1!==value)return breakpoint&&(className+="-".concat(breakpoint)),"col"!==type||""!==value&&!0!==value?(className+="-".concat(value),lowerCase(className)):lowerCase(className)})),breakpointPropMap=create(null),BCol={name:"BCol",functional:!0,get props(){return delete this.props,this.props=(breakpoints=getBreakpointsUpCached().filter(identity),breakpointCol=breakpoints.reduce((function(props,breakpoint){return props[breakpoint]=makeProp(PROP_TYPE_BOOLEAN_NUMBER_STRING),props}),create(null)),breakpointOffset=breakpoints.reduce((function(props,breakpoint){return props[suffixPropName(breakpoint,"offset")]=makeProp(PROP_TYPE_NUMBER_STRING),props}),create(null)),breakpointOrder=breakpoints.reduce((function(props,breakpoint){return props[suffixPropName(breakpoint,"order")]=makeProp(PROP_TYPE_NUMBER_STRING),props}),create(null)),breakpointPropMap=assign(create(null),{col:keys(breakpointCol),offset:keys(breakpointOffset),order:keys(breakpointOrder)}),makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},breakpointCol),breakpointOffset),breakpointOrder),{},{alignSelf:makeProp(PROP_TYPE_STRING,null,(function(value){return arrayIncludes(ALIGN_SELF_VALUES,value)})),col:makeProp(PROP_TYPE_BOOLEAN,!1),cols:makeProp(PROP_TYPE_NUMBER_STRING),offset:makeProp(PROP_TYPE_NUMBER_STRING),order:makeProp(PROP_TYPE_NUMBER_STRING),tag:makeProp(PROP_TYPE_STRING,"div")})),"BCol"));var breakpoints,breakpointCol,breakpointOffset,breakpointOrder},render:function(h,_ref){var _classList$push,props=_ref.props,data=_ref.data,children=_ref.children,cols=props.cols,offset=props.offset,order=props.order,alignSelf=props.alignSelf,classList=[];for(var type in breakpointPropMap)for(var _keys=breakpointPropMap[type],i=0;i<_keys.length;i++){var c=computeBreakpointClass(type,_keys[i].replace(type,""),props[_keys[i]]);c&&classList.push(c)}var hasColClasses=classList.some((function(className){return RX_COL_CLASS.test(className)}));return classList.push((_defineProperty(_classList$push={col:props.col||!hasColClasses&&!cols},"col-".concat(cols),cols),_defineProperty(_classList$push,"offset-".concat(offset),offset),_defineProperty(_classList$push,"order-".concat(order),order),_defineProperty(_classList$push,"align-self-".concat(alignSelf),alignSelf),_classList$push)),h(props.tag,a(data,{class:classList}),children)}},INPUTS=["input","select","textarea"],INPUT_SELECTOR=INPUTS.map((function(v){return"".concat(v,":not([disabled])")})).join(),LEGEND_INTERACTIVE_ELEMENTS=[].concat(INPUTS,["a","button","label"]),BFormGroup={name:"BFormGroup",mixins:[idMixin,formStateMixin,normalizeSlotMixin],get props(){return delete this.props,this.props=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),props$1u),getBreakpointsUpCached().reduce((function(props,breakpoint){return props[suffixPropName(breakpoint,"contentCols")]=makeProp(PROP_TYPE_BOOLEAN_NUMBER_STRING),props[suffixPropName(breakpoint,"labelAlign")]=makeProp(PROP_TYPE_STRING),props[suffixPropName(breakpoint,"labelCols")]=makeProp(PROP_TYPE_BOOLEAN_NUMBER_STRING),props}),create(null))),{},{description:makeProp(PROP_TYPE_STRING),disabled:makeProp(PROP_TYPE_BOOLEAN,!1),feedbackAriaLive:makeProp(PROP_TYPE_STRING,"assertive"),invalidFeedback:makeProp(PROP_TYPE_STRING),label:makeProp(PROP_TYPE_STRING),labelClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),labelFor:makeProp(PROP_TYPE_STRING),labelSize:makeProp(PROP_TYPE_STRING),labelSrOnly:makeProp(PROP_TYPE_BOOLEAN,!1),tooltip:makeProp(PROP_TYPE_BOOLEAN,!1),validFeedback:makeProp(PROP_TYPE_STRING),validated:makeProp(PROP_TYPE_BOOLEAN,!1)})),"BFormGroup")},data:function(){return{ariaDescribedby:null}},computed:{contentColProps:function(){return this.getColProps(this.$props,"content")},labelAlignClasses:function(){return this.getAlignClasses(this.$props,"label")},labelColProps:function(){return this.getColProps(this.$props,"label")},isHorizontal:function(){return keys(this.contentColProps).length>0||keys(this.labelColProps).length>0}},watch:{ariaDescribedby:function(newValue,oldValue){newValue!==oldValue&&this.updateAriaDescribedby(newValue,oldValue)}},mounted:function(){var _this=this;this.$nextTick((function(){_this.updateAriaDescribedby(_this.ariaDescribedby)}))},methods:{getAlignClasses:function(props,prefix){return getBreakpointsUpCached().reduce((function(result,breakpoint){var propValue=props[suffixPropName(breakpoint,"".concat(prefix,"Align"))]||null;return propValue&&result.push(["text",breakpoint,propValue].filter(identity).join("-")),result}),[])},getColProps:function(props,prefix){return getBreakpointsUpCached().reduce((function(result,breakpoint){var propValue=props[suffixPropName(breakpoint,"".concat(prefix,"Cols"))];return isBoolean(propValue=""===propValue||(propValue||!1))||"auto"===propValue||(propValue=(propValue=toInteger(propValue,0))>0&&propValue),propValue&&(result[breakpoint||(isBoolean(propValue)?"col":"cols")]=propValue),result}),{})},updateAriaDescribedby:function(newValue,oldValue){var labelFor=this.labelFor;if(IS_BROWSER&&labelFor){var $input=select("#".concat(cssEscape(labelFor)),this.$refs.content);if($input){var attr="aria-describedby",newIds=(newValue||"").split(RX_SPACE_SPLIT),oldIds=(oldValue||"").split(RX_SPACE_SPLIT),ids=(getAttr($input,attr)||"").split(RX_SPACE_SPLIT).filter((function(id){return!arrayIncludes(oldIds,id)})).concat(newIds).filter((function(id,index,ids){return ids.indexOf(id)===index})).filter(identity).join(" ").trim();ids?setAttr($input,attr,ids):removeAttr($input,attr)}}},onLegendClick:function(event){if(!this.labelFor){var target=event.target,tagName=target?target.tagName:"";if(-1===LEGEND_INTERACTIVE_ELEMENTS.indexOf(tagName)){var inputs=selectAll(INPUT_SELECTOR,this.$refs.content).filter(isVisible);1===inputs.length&&attemptFocus(inputs[0])}}}},render:function(h){var state=this.computedState,feedbackAriaLive=this.feedbackAriaLive,isHorizontal=this.isHorizontal,labelFor=this.labelFor,normalizeSlot=this.normalizeSlot,safeId=this.safeId,tooltip=this.tooltip,id=safeId(),isFieldset=!labelFor,$label=h(),labelContent=normalizeSlot("label")||this.label,labelId=labelContent?safeId("_BV_label_"):null;if(labelContent||isHorizontal){var labelSize=this.labelSize,labelColProps=this.labelColProps,labelTag=isFieldset?"legend":"label";this.labelSrOnly?(labelContent&&($label=h(labelTag,{class:"sr-only",attrs:{id:labelId,for:labelFor||null}},[labelContent])),$label=h(isHorizontal?BCol:"div",{props:isHorizontal?labelColProps:{}},[$label])):$label=h(isHorizontal?BCol:labelTag,{on:isFieldset?{click:this.onLegendClick}:{},props:isHorizontal?_objectSpread2$3(_objectSpread2$3({},labelColProps),{},{tag:labelTag}):{},attrs:{id:labelId,for:labelFor||null,tabindex:isFieldset?"-1":null},class:[isFieldset?"bv-no-focus-ring":"",isHorizontal||isFieldset?"col-form-label":"",!isHorizontal&&isFieldset?"pt-0":"",isHorizontal||isFieldset?"":"d-block",labelSize?"col-form-label-".concat(labelSize):"",this.labelAlignClasses,this.labelClass]},[labelContent])}var $invalidFeedback=h(),invalidFeedbackContent=normalizeSlot("invalid-feedback")||this.invalidFeedback,invalidFeedbackId=invalidFeedbackContent?safeId("_BV_feedback_invalid_"):null;invalidFeedbackContent&&($invalidFeedback=h(BFormInvalidFeedback,{props:{ariaLive:feedbackAriaLive,id:invalidFeedbackId,state:state,tooltip:tooltip},attrs:{tabindex:invalidFeedbackContent?"-1":null}},[invalidFeedbackContent]));var $validFeedback=h(),validFeedbackContent=normalizeSlot("valid-feedback")||this.validFeedback,validFeedbackId=validFeedbackContent?safeId("_BV_feedback_valid_"):null;validFeedbackContent&&($validFeedback=h(BFormValidFeedback,{props:{ariaLive:feedbackAriaLive,id:validFeedbackId,state:state,tooltip:tooltip},attrs:{tabindex:validFeedbackContent?"-1":null}},[validFeedbackContent]));var $description=h(),descriptionContent=normalizeSlot("description")||this.description,descriptionId=descriptionContent?safeId("_BV_description_"):null;descriptionContent&&($description=h(BFormText,{attrs:{id:descriptionId,tabindex:"-1"}},[descriptionContent]));var ariaDescribedby=this.ariaDescribedby=[descriptionId,!1===state?invalidFeedbackId:null,!0===state?validFeedbackId:null].filter(identity).join(" ")||null,$content=h(isHorizontal?BCol:"div",{props:isHorizontal?this.contentColProps:{},ref:"content"},[normalizeSlot("default",{ariaDescribedby:ariaDescribedby,descriptionId:descriptionId,id:id,labelId:labelId})||h(),$invalidFeedback,$validFeedback,$description]);return h(isFieldset?"fieldset":isHorizontal?BFormRow:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:id,disabled:isFieldset?this.disabled:null,role:isFieldset?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":isFieldset&&isHorizontal?labelId:null}},isHorizontal&&isFieldset?[h(BFormRow,[$label,$content])]:[$label,$content])}},FormGroupPlugin=pluginFactory({components:{BFormGroup:BFormGroup,BFormFieldset:BFormGroup}}),formSelectionMixin=extend({computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(val){this.$refs.input.selectionStart=val}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(val){this.$refs.input.selectionEnd=val}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(val){this.$refs.input.selectionDirection=val}}},methods:{select:function(){var _this$$refs$input;(_this$$refs$input=this.$refs.input).select.apply(_this$$refs$input,arguments)},setSelectionRange:function(){var _this$$refs$input2;(_this$$refs$input2=this.$refs.input).setSelectionRange.apply(_this$$refs$input2,arguments)},setRangeText:function(){var _this$$refs$input3;(_this$$refs$input3=this.$refs.input).setRangeText.apply(_this$$refs$input3,arguments)}}}),_makeModelMixin$c=makeModelMixin("value",{type:PROP_TYPE_NUMBER_STRING,defaultValue:"",event:"update"}),modelMixin$b=_makeModelMixin$c.mixin,modelProps$b=_makeModelMixin$c.props,MODEL_PROP_NAME$b=_makeModelMixin$c.prop,MODEL_EVENT_NAME$b=_makeModelMixin$c.event,props$1l=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},modelProps$b),{},{ariaInvalid:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),autocomplete:makeProp(PROP_TYPE_STRING),debounce:makeProp(PROP_TYPE_NUMBER_STRING,0),formatter:makeProp(PROP_TYPE_FUNCTION),lazy:makeProp(PROP_TYPE_BOOLEAN,!1),lazyFormatter:makeProp(PROP_TYPE_BOOLEAN,!1),number:makeProp(PROP_TYPE_BOOLEAN,!1),placeholder:makeProp(PROP_TYPE_STRING),plaintext:makeProp(PROP_TYPE_BOOLEAN,!1),readonly:makeProp(PROP_TYPE_BOOLEAN,!1),trim:makeProp(PROP_TYPE_BOOLEAN,!1)})),"formTextControls"),formTextMixin=extend({mixins:[modelMixin$b],props:props$1l,data:function(){var value=this[MODEL_PROP_NAME$b];return{localValue:toString(value),vModelValue:this.modifyValue(value)}},computed:{computedClass:function(){var plaintext=this.plaintext,type=this.type,isRange="range"===type,isColor="color"===type;return[{"custom-range":isRange,"form-control-plaintext":plaintext&&!isRange&&!isColor,"form-control":isColor||!plaintext&&!isRange},this.sizeFormClass,this.stateClass]},computedDebounce:function(){return mathMax(toInteger(this.debounce,0),0)},hasFormatter:function(){return hasPropFunction(this.formatter)}},watch:_defineProperty({},MODEL_PROP_NAME$b,(function(newValue){var stringifyValue=toString(newValue),modifiedValue=this.modifyValue(newValue);stringifyValue===this.localValue&&modifiedValue===this.vModelValue||(this.clearDebounce(),this.localValue=stringifyValue,this.vModelValue=modifiedValue)})),created:function(){this.$_inputDebounceTimer=null},beforeDestroy:function(){this.clearDebounce()},methods:{clearDebounce:function(){clearTimeout(this.$_inputDebounceTimer),this.$_inputDebounceTimer=null},formatValue:function(value,event){var force=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return value=toString(value),!this.hasFormatter||this.lazyFormatter&&!force||(value=this.formatter(value,event)),value},modifyValue:function(value){return value=toString(value),this.trim&&(value=value.trim()),this.number&&(value=toFloat(value,value)),value},updateValue:function(value){var _this=this,force=arguments.length>1&&void 0!==arguments[1]&&arguments[1],lazy=this.lazy;if(!lazy||force){this.clearDebounce();var doUpdate=function(){if((value=_this.modifyValue(value))!==_this.vModelValue)_this.vModelValue=value,_this.$emit(MODEL_EVENT_NAME$b,value);else if(_this.hasFormatter){var $input=_this.$refs.input;$input&&value!==$input.value&&($input.value=value)}},debounce=this.computedDebounce;debounce>0&&!lazy&&!force?this.$_inputDebounceTimer=setTimeout(doUpdate,debounce):doUpdate()}},onInput:function(event){if(!event.target.composing){var value=event.target.value,formattedValue=this.formatValue(value,event);!1===formattedValue||event.defaultPrevented?stopEvent(event,{propagation:!1}):(this.localValue=formattedValue,this.updateValue(formattedValue),this.$emit("input",formattedValue))}},onChange:function(event){var value=event.target.value,formattedValue=this.formatValue(value,event);!1===formattedValue||event.defaultPrevented?stopEvent(event,{propagation:!1}):(this.localValue=formattedValue,this.updateValue(formattedValue,!0),this.$emit("change",formattedValue))},onBlur:function(event){var value=event.target.value,formattedValue=this.formatValue(value,event,!0);!1!==formattedValue&&(this.localValue=toString(this.modifyValue(formattedValue)),this.updateValue(formattedValue,!0)),this.$emit("blur",event)},focus:function(){this.disabled||attemptFocus(this.$el)},blur:function(){this.disabled||attemptBlur(this.$el)}}}),formValidityMixin=extend({computed:{validity:{cache:!1,get:function(){return this.$refs.input.validity}},validationMessage:{cache:!1,get:function(){return this.$refs.input.validationMessage}},willValidate:{cache:!1,get:function(){return this.$refs.input.willValidate}}},methods:{setCustomValidity:function(){var _this$$refs$input;return(_this$$refs$input=this.$refs.input).setCustomValidity.apply(_this$$refs$input,arguments)},checkValidity:function(){var _this$$refs$input2;return(_this$$refs$input2=this.$refs.input).checkValidity.apply(_this$$refs$input2,arguments)},reportValidity:function(){var _this$$refs$input3;return(_this$$refs$input3=this.$refs.input).reportValidity.apply(_this$$refs$input3,arguments)}}}),TYPES$1=["text","password","email","number","url","tel","search","range","color","date","time","datetime","datetime-local","month","week"],props$1k=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),props$1x),props$1v),props$1u),props$1l),{},{list:makeProp(PROP_TYPE_STRING),max:makeProp(PROP_TYPE_NUMBER_STRING),min:makeProp(PROP_TYPE_NUMBER_STRING),noWheel:makeProp(PROP_TYPE_BOOLEAN,!1),step:makeProp(PROP_TYPE_NUMBER_STRING),type:makeProp(PROP_TYPE_STRING,"text",(function(type){return arrayIncludes(TYPES$1,type)}))})),"BFormInput"),BFormInput=extend({name:"BFormInput",mixins:[listenersMixin,idMixin,formControlMixin,formSizeMixin,formStateMixin,formTextMixin,formSelectionMixin,formValidityMixin],props:props$1k,computed:{localType:function(){var type=this.type;return arrayIncludes(TYPES$1,type)?type:"text"},computedAttrs:function(){var type=this.localType,name=this.name,form=this.form,disabled=this.disabled,placeholder=this.placeholder,required=this.required,min=this.min,max=this.max,step=this.step;return{id:this.safeId(),name:name,form:form,type:type,disabled:disabled,placeholder:placeholder,required:required,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,min:min,max:max,step:step,list:"password"!==type?this.list:null,"aria-required":required?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return _objectSpread2$3(_objectSpread2$3({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{noWheel:function(newValue){this.setWheelStopper(newValue)}},mounted:function(){this.setWheelStopper(this.noWheel)},deactivated:function(){this.setWheelStopper(!1)},activated:function(){this.setWheelStopper(this.noWheel)},beforeDestroy:function(){this.setWheelStopper(!1)},methods:{setWheelStopper:function(on){var input=this.$el;eventOnOff(on,input,"focus",this.onWheelFocus),eventOnOff(on,input,"blur",this.onWheelBlur),on||eventOff(document,"wheel",this.stopWheel)},onWheelFocus:function(){eventOn(document,"wheel",this.stopWheel)},onWheelBlur:function(){eventOff(document,"wheel",this.stopWheel)},stopWheel:function(event){stopEvent(event,{propagation:!1}),attemptBlur(this.$el)}},render:function(h){return h("input",{class:this.computedClass,attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),FormInputPlugin=pluginFactory({components:{BFormInput:BFormInput,BInput:BFormInput}}),props$1j=makePropsConfigurable(props$1q,"BFormRadioGroup"),BFormRadioGroup=extend({name:"BFormRadioGroup",mixins:[formRadioCheckGroupMixin],provide:function(){var _this=this;return{getBvRadioGroup:function(){return _this}}},props:props$1j,computed:{isRadioGroup:function(){return!0}}}),FormRadioPlugin=pluginFactory({components:{BFormRadio:BFormRadio,BRadio:BFormRadio,BFormRadioGroup:BFormRadioGroup,BRadioGroup:BFormRadioGroup}}),_makeModelMixin$b=makeModelMixin("value",{type:PROP_TYPE_NUMBER_STRING,event:"change"}),modelMixin$a=_makeModelMixin$b.mixin,modelProps$a=_makeModelMixin$b.props,MODEL_PROP_NAME$a=_makeModelMixin$b.prop,MODEL_EVENT_NAME$a=_makeModelMixin$b.event,computeStars=function(stars){return mathMax(3,toInteger(stars,5))},clampValue=function(value,min,max){return mathMax(mathMin(value,max),min)},BVFormRatingStar=extend({name:"BVFormRatingStar",mixins:[normalizeSlotMixin],props:{disabled:makeProp(PROP_TYPE_BOOLEAN,!1),focused:makeProp(PROP_TYPE_BOOLEAN,!1),hasClear:makeProp(PROP_TYPE_BOOLEAN,!1),rating:makeProp(PROP_TYPE_NUMBER,0),readonly:makeProp(PROP_TYPE_BOOLEAN,!1),star:makeProp(PROP_TYPE_NUMBER,0),variant:makeProp(PROP_TYPE_STRING)},methods:{onClick:function(event){this.disabled||this.readonly||(stopEvent(event,{propagation:!1}),this.$emit("selected",this.star))}},render:function(h){var rating=this.rating,star=this.star,focused=this.focused,hasClear=this.hasClear,variant=this.variant,disabled=this.disabled,readonly=this.readonly,minStar=hasClear?0:1,type=rating>=star?"full":rating>=star-.5?"half":"empty",slotScope={variant:variant,disabled:disabled,readonly:readonly};return h("span",{staticClass:"b-rating-star",class:{focused:focused&&rating===star||!toInteger(rating)&&star===minStar,"b-rating-star-empty":"empty"===type,"b-rating-star-half":"half"===type,"b-rating-star-full":"full"===type},attrs:{tabindex:disabled||readonly?null:"-1"},on:{click:this.onClick}},[h("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(type,slotScope)])])}}),props$1i=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$a),omit(props$1x,["required","autofocus"])),props$1v),{},{color:makeProp(PROP_TYPE_STRING),iconClear:makeProp(PROP_TYPE_STRING,"x"),iconEmpty:makeProp(PROP_TYPE_STRING,"star"),iconFull:makeProp(PROP_TYPE_STRING,"star-fill"),iconHalf:makeProp(PROP_TYPE_STRING,"star-half"),inline:makeProp(PROP_TYPE_BOOLEAN,!1),locale:makeProp(PROP_TYPE_ARRAY_STRING),noBorder:makeProp(PROP_TYPE_BOOLEAN,!1),precision:makeProp(PROP_TYPE_NUMBER_STRING),readonly:makeProp(PROP_TYPE_BOOLEAN,!1),showClear:makeProp(PROP_TYPE_BOOLEAN,!1),showValue:makeProp(PROP_TYPE_BOOLEAN,!1),showValueMax:makeProp(PROP_TYPE_BOOLEAN,!1),stars:makeProp(PROP_TYPE_NUMBER_STRING,5,(function(value){return toInteger(value)>=3})),variant:makeProp(PROP_TYPE_STRING)})),"BFormRating"),BFormRating=extend({name:"BFormRating",components:{BIconStar:BIconStar,BIconStarHalf:BIconStarHalf,BIconStarFill:BIconStarFill,BIconX:BIconX},mixins:[idMixin,modelMixin$a,formSizeMixin],props:props$1i,data:function(){var value=toFloat(this[MODEL_PROP_NAME$a],null),stars=computeStars(this.stars);return{localValue:isNull(value)?null:clampValue(value,0,stars),hasFocus:!1}},computed:{computedStars:function(){return computeStars(this.stars)},computedRating:function(){var value=toFloat(this.localValue,0),precision=toInteger(this.precision,3);return clampValue(toFloat(value.toFixed(precision)),0,this.computedStars)},computedLocale:function(){var locales=concat(this.locale).filter(identity);return new Intl.NumberFormat(locales).resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return isLocaleRTL(this.computedLocale)},formattedRating:function(){var precision=toInteger(this.precision),showValueMax=this.showValueMax,locale=this.computedLocale,formatOptions={notation:"standard",minimumFractionDigits:isNaN(precision)?0:precision,maximumFractionDigits:isNaN(precision)?3:precision},stars=this.computedStars.toLocaleString(locale),value=this.localValue;return value=isNull(value)?showValueMax?"-":"":value.toLocaleString(locale,formatOptions),showValueMax?"".concat(value,"/").concat(stars):value}},watch:(_watch$b={},_defineProperty(_watch$b,MODEL_PROP_NAME$a,(function(newValue,oldValue){if(newValue!==oldValue){var value=toFloat(newValue,null);this.localValue=isNull(value)?null:clampValue(value,0,this.computedStars)}})),_defineProperty(_watch$b,"localValue",(function(newValue,oldValue){newValue!==oldValue&&newValue!==(this.value||0)&&this.$emit(MODEL_EVENT_NAME$a,newValue||null)})),_defineProperty(_watch$b,"disabled",(function(newValue){newValue&&(this.hasFocus=!1,this.blur())})),_watch$b),methods:{focus:function(){this.disabled||attemptFocus(this.$el)},blur:function(){this.disabled||attemptBlur(this.$el)},onKeydown:function(event){var keyCode=event.keyCode;if(this.isInteractive&&arrayIncludes([CODE_LEFT,CODE_DOWN,CODE_RIGHT,CODE_UP],keyCode)){stopEvent(event,{propagation:!1});var value=toInteger(this.localValue,0),min=this.showClear?0:1,stars=this.computedStars,amountRtl=this.isRTL?-1:1;keyCode===CODE_LEFT?this.localValue=clampValue(value-amountRtl,min,stars)||null:keyCode===CODE_RIGHT?this.localValue=clampValue(value+amountRtl,min,stars):keyCode===CODE_DOWN?this.localValue=clampValue(value-1,min,stars)||null:keyCode===CODE_UP&&(this.localValue=clampValue(value+1,min,stars))}},onSelected:function(value){this.isInteractive&&(this.localValue=value)},onFocus:function(event){this.hasFocus=!!this.isInteractive&&"focus"===event.type},renderIcon:function(icon){return this.$createElement(BIcon,{props:{icon:icon,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(BIcon,{props:{icon:this.iconClear}})}},render:function(h){var _this=this,disabled=this.disabled,readonly=this.readonly,name=this.name,form=this.form,inline=this.inline,variant=this.variant,color=this.color,noBorder=this.noBorder,hasFocus=this.hasFocus,computedRating=this.computedRating,computedStars=this.computedStars,formattedRating=this.formattedRating,showClear=this.showClear,isRTL=this.isRTL,isInteractive=this.isInteractive,$scopedSlots=this.$scopedSlots,$content=[];if(showClear&&!disabled&&!readonly){var $icon=h("span",{staticClass:"b-rating-icon"},[($scopedSlots["icon-clear"]||this.iconClearFn)()]);$content.push(h("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:hasFocus&&0===computedRating},attrs:{tabindex:isInteractive?"-1":null},on:{click:function(){return _this.onSelected(null)}},key:"clear"},[$icon]))}for(var index=0;index<computedStars;index++){var value=index+1;$content.push(h(BVFormRatingStar,{staticClass:"flex-grow-1",style:color&&!disabled?{color:color}:{},props:{rating:computedRating,star:value,variant:disabled?null:variant||null,disabled:disabled,readonly:readonly,focused:hasFocus,hasClear:showClear},on:{selected:this.onSelected},scopedSlots:{empty:$scopedSlots["icon-empty"]||this.iconEmptyFn,half:$scopedSlots["icon-half"]||this.iconHalfFn,full:$scopedSlots["icon-full"]||this.iconFullFn},key:index}))}return name&&$content.push(h("input",{attrs:{type:"hidden",value:isNull(this.localValue)?"":computedRating,name:name,form:form||null},key:"hidden"})),this.showValue&&$content.push(h("b",{staticClass:"b-rating-value flex-grow-1",attrs:{"aria-hidden":"true"},key:"value"},toString(formattedRating))),h("output",{staticClass:"b-rating form-control align-items-center",class:[{"d-inline-flex":inline,"d-flex":!inline,"border-0":noBorder,disabled:disabled,readonly:!disabled&&readonly},this.sizeFormClass],attrs:{id:this.safeId(),dir:isRTL?"rtl":"ltr",tabindex:disabled?null:"0",disabled:disabled,role:"slider","aria-disabled":disabled?"true":null,"aria-readonly":!disabled&&readonly?"true":null,"aria-live":"off","aria-valuemin":showClear?"0":"1","aria-valuemax":toString(computedStars),"aria-valuenow":computedRating?toString(computedRating):null},on:{keydown:this.onKeydown,focus:this.onFocus,blur:this.onFocus}},$content)}}),FormRatingPlugin=pluginFactory({components:{BFormRating:BFormRating,BRating:BFormRating}}),_makeModelMixin$a=makeModelMixin("value"),mixin=_makeModelMixin$a.mixin,props$1h=_makeModelMixin$a.props,prop=_makeModelMixin$a.prop,event=_makeModelMixin$a.event,props$1g=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$1D),{},{labelField:makeProp(PROP_TYPE_STRING,"label"),optionsField:makeProp(PROP_TYPE_STRING,"options")})),"formOptions"),optionsMixin=extend({mixins:[formOptionsMixin],props:props$1g,methods:{normalizeOption:function(option){var key=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(isPlainObject(option)){var value=get(option,this.valueField),text=get(option,this.textField),options=get(option,this.optionsField,null);return isNull(options)?{value:isUndefined(value)?key||text:value,text:String(isUndefined(text)?key:text),html:get(option,this.htmlField),disabled:Boolean(get(option,this.disabledField))}:{label:String(get(option,this.labelField)||text),options:this.normalizeOptions(options)}}return{value:key||option,text:String(option),disabled:!1}}}}),props$1f=makePropsConfigurable({disabled:makeProp(PROP_TYPE_BOOLEAN,!1),value:makeProp(undefined,void 0,!0)},"BFormSelectOption"),BFormSelectOption=extend({name:"BFormSelectOption",functional:!0,props:props$1f,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,value=props.value;return h("option",a(data,{attrs:{disabled:props.disabled},domProps:{value:value}}),children)}}),props$1e=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$1D),{},{label:makeProp(PROP_TYPE_STRING,void 0,!0)})),"BFormSelectOptionGroup"),BFormSelectOptionGroup=extend({name:"BFormSelectOptionGroup",mixins:[normalizeSlotMixin,formOptionsMixin],props:props$1e,render:function(h){var label=this.label,$options=this.formOptions.map((function(option,index){var value=option.value,text=option.text,html=option.html,disabled=option.disabled;return h(BFormSelectOption,{attrs:{value:value,disabled:disabled},domProps:htmlOrText(html,text),key:"option_".concat(index)})}));return h("optgroup",{attrs:{label:label}},[this.normalizeSlot("first"),$options,this.normalizeSlot()])}}),props$1d=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),props$1h),props$1x),props$1w),props$1v),props$1u),{},{ariaInvalid:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),multiple:makeProp(PROP_TYPE_BOOLEAN,!1),selectSize:makeProp(PROP_TYPE_NUMBER,0)})),"BFormSelect"),BFormSelect=extend({name:"BFormSelect",mixins:[idMixin,mixin,formControlMixin,formSizeMixin,formStateMixin,formCustomMixin,optionsMixin,normalizeSlotMixin],props:props$1d,data:function(){return{localValue:this[prop]}},computed:{computedSelectSize:function(){return this.plain||0!==this.selectSize?this.selectSize:null},inputClass:function(){return[this.plain?"form-control":"custom-select",this.size&&this.plain?"form-control-".concat(this.size):null,this.size&&!this.plain?"custom-select-".concat(this.size):null,this.stateClass]}},watch:{value:function(newValue){this.localValue=newValue},localValue:function(){this.$emit(event,this.localValue)}},methods:{focus:function(){attemptFocus(this.$refs.input)},blur:function(){attemptBlur(this.$refs.input)},onChange:function(event){var _this=this,target=event.target,selectedValue=from(target.options).filter((function(o){return o.selected})).map((function(o){return"_value"in o?o._value:o.value}));this.localValue=target.multiple?selectedValue:selectedValue[0],this.$nextTick((function(){_this.$emit("change",_this.localValue)}))}},render:function(h){var name=this.name,disabled=this.disabled,required=this.required,size=this.computedSelectSize,value=this.localValue,$options=this.formOptions.map((function(option,index){var value=option.value,label=option.label,options=option.options,disabled=option.disabled,key="option_".concat(index);return isArray(options)?h(BFormSelectOptionGroup,{props:{label:label,options:options},key:key}):h(BFormSelectOption,{props:{value:value,disabled:disabled},domProps:htmlOrText(option.html,option.text),key:key})}));return h("select",{class:this.inputClass,attrs:{id:this.safeId(),name:name,form:this.form||null,multiple:this.multiple||null,size:size,disabled:disabled,required:required,"aria-required":required?"true":null,"aria-invalid":this.computedAriaInvalid},on:{change:this.onChange},directives:[{name:"model",value:value}],ref:"input"},[this.normalizeSlot("first"),$options,this.normalizeSlot()])}}),FormSelectPlugin=pluginFactory({components:{BFormSelect:BFormSelect,BFormSelectOption:BFormSelectOption,BFormSelectOptionGroup:BFormSelectOptionGroup,BSelect:BFormSelect,BSelectOption:BFormSelectOption,BSelectOptionGroup:BFormSelectOptionGroup}}),_makeModelMixin$9=makeModelMixin("value",{type:PROP_TYPE_BOOLEAN_NUMBER}),modelMixin$9=_makeModelMixin$9.mixin,modelProps$9=_makeModelMixin$9.props,MODEL_PROP_NAME$9=_makeModelMixin$9.prop,MODEL_EVENT_NAME$9=_makeModelMixin$9.event,KEY_CODES=[CODE_UP,CODE_DOWN,CODE_HOME,CODE_END,33,34],props$1c=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$9),omit(props$1x,["required","autofocus"])),props$1v),props$1u),{},{ariaControls:makeProp(PROP_TYPE_STRING),ariaLabel:makeProp(PROP_TYPE_STRING),formatterFn:makeProp(PROP_TYPE_FUNCTION),inline:makeProp(PROP_TYPE_BOOLEAN,!1),labelDecrement:makeProp(PROP_TYPE_STRING,"Decrement"),labelIncrement:makeProp(PROP_TYPE_STRING,"Increment"),locale:makeProp(PROP_TYPE_ARRAY_STRING),max:makeProp(PROP_TYPE_NUMBER_STRING,100),min:makeProp(PROP_TYPE_NUMBER_STRING,1),placeholder:makeProp(PROP_TYPE_STRING),readonly:makeProp(PROP_TYPE_BOOLEAN,!1),repeatDelay:makeProp(PROP_TYPE_NUMBER_STRING,500),repeatInterval:makeProp(PROP_TYPE_NUMBER_STRING,100),repeatStepMultiplier:makeProp(PROP_TYPE_NUMBER_STRING,4),repeatThreshold:makeProp(PROP_TYPE_NUMBER_STRING,10),step:makeProp(PROP_TYPE_NUMBER_STRING,1),vertical:makeProp(PROP_TYPE_BOOLEAN,!1),wrap:makeProp(PROP_TYPE_BOOLEAN,!1)})),"BFormSpinbutton"),BFormSpinbutton=extend({name:"BFormSpinbutton",mixins:[attrsMixin,idMixin,modelMixin$9,formSizeMixin,formStateMixin,normalizeSlotMixin],inheritAttrs:!1,props:props$1c,data:function(){return{localValue:toFloat(this[MODEL_PROP_NAME$9],null),hasFocus:!1}},computed:{required:function(){return!1},spinId:function(){return this.safeId()},computedInline:function(){return this.inline&&!this.vertical},computedReadonly:function(){return this.readonly&&!this.disabled},computedRequired:function(){return this.required&&!this.computedReadonly&&!this.disabled},computedStep:function(){return toFloat(this.step,1)},computedMin:function(){return toFloat(this.min,1)},computedMax:function(){var max=toFloat(this.max,100),step=this.computedStep,min=this.computedMin;return mathFloor((max-min)/step)*step+min},computedDelay:function(){var delay=toInteger(this.repeatDelay,0);return delay>0?delay:500},computedInterval:function(){var interval=toInteger(this.repeatInterval,0);return interval>0?interval:100},computedThreshold:function(){return mathMax(toInteger(this.repeatThreshold,10),1)},computedStepMultiplier:function(){return mathMax(toInteger(this.repeatStepMultiplier,4),1)},computedPrecision:function(){var step=this.computedStep;return mathFloor(step)===step?0:(step.toString().split(".")[1]||"").length},computedMultiplier:function(){return mathPow(10,this.computedPrecision||0)},valueAsFixed:function(){var value=this.localValue;return isNull(value)?"":value.toFixed(this.computedPrecision)},computedLocale:function(){var locales=concat(this.locale).filter(identity);return new Intl.NumberFormat(locales).resolvedOptions().locale},computedRTL:function(){return isLocaleRTL(this.computedLocale)},defaultFormatter:function(){var precision=this.computedPrecision;return new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:precision,maximumFractionDigits:precision,notation:"standard"}).format},computedFormatter:function(){var formatterFn=this.formatterFn;return hasPropFunction(formatterFn)?formatterFn:this.defaultFormatter},computedAttrs:function(){return _objectSpread2$3(_objectSpread2$3({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var spinId=this.spinId,value=this.localValue,required=this.computedRequired,disabled=this.disabled,state=this.state,computedFormatter=this.computedFormatter,hasValue=!isNull(value);return _objectSpread2$3(_objectSpread2$3({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:spinId,role:"spinbutton",tabindex:disabled?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":!1===state||!hasValue&&required?"true":null,"aria-required":required?"true":null,"aria-valuemin":toString(this.computedMin),"aria-valuemax":toString(this.computedMax),"aria-valuenow":hasValue?value:null,"aria-valuetext":hasValue?computedFormatter(value):null})}},watch:(_watch$a={},_defineProperty(_watch$a,MODEL_PROP_NAME$9,(function(value){this.localValue=toFloat(value,null)})),_defineProperty(_watch$a,"localValue",(function(value){this.$emit(MODEL_EVENT_NAME$9,value)})),_defineProperty(_watch$a,"disabled",(function(_disabled){_disabled&&this.clearRepeat()})),_defineProperty(_watch$a,"readonly",(function(_readonly){_readonly&&this.clearRepeat()})),_watch$a),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||attemptFocus(this.$refs.spinner)},blur:function(){this.disabled||attemptBlur(this.$refs.spinner)},emitChange:function(){this.$emit("change",this.localValue)},stepValue:function(direction){var value=this.localValue;if(!this.disabled&&!isNull(value)){var step=this.computedStep*direction,min=this.computedMin,max=this.computedMax,multiplier=this.computedMultiplier,wrap=this.wrap;value=mathRound((value-min)/step)*step+min+step,value=mathRound(value*multiplier)/multiplier,this.localValue=value>max?wrap?min:max:value<min?wrap?max:min:value}},onFocusBlur:function(event){this.hasFocus=!this.disabled&&"focus"===event.type},stepUp:function(){var multiplier=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,value=this.localValue;isNull(value)?this.localValue=this.computedMin:this.stepValue(1*multiplier)},stepDown:function(){var multiplier=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,value=this.localValue;isNull(value)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*multiplier)},onKeydown:function(event){var keyCode=event.keyCode,altKey=event.altKey,ctrlKey=event.ctrlKey,metaKey=event.metaKey;if(!(this.disabled||this.readonly||altKey||ctrlKey||metaKey)&&arrayIncludes(KEY_CODES,keyCode)){if(stopEvent(event,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),arrayIncludes([CODE_UP,CODE_DOWN],keyCode)?(this.$_keyIsDown=!0,keyCode===CODE_UP?this.handleStepRepeat(event,this.stepUp):keyCode===CODE_DOWN&&this.handleStepRepeat(event,this.stepDown)):33===keyCode?this.stepUp(this.computedStepMultiplier):34===keyCode?this.stepDown(this.computedStepMultiplier):keyCode===CODE_HOME?this.localValue=this.computedMin:keyCode===CODE_END&&(this.localValue=this.computedMax)}},onKeyup:function(event){var keyCode=event.keyCode,altKey=event.altKey,ctrlKey=event.ctrlKey,metaKey=event.metaKey;this.disabled||this.readonly||altKey||ctrlKey||metaKey||arrayIncludes(KEY_CODES,keyCode)&&(stopEvent(event,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(event,stepper){var _this=this,_ref=event||{},type=_ref.type,button=_ref.button;if(!this.disabled&&!this.readonly){if("mousedown"===type&&button)return;this.resetTimers(),stepper(1);var threshold=this.computedThreshold,multiplier=this.computedStepMultiplier,delay=this.computedDelay,interval=this.computedInterval;this.$_autoDelayTimer=setTimeout((function(){var count=0;_this.$_autoRepeatTimer=setInterval((function(){stepper(count<threshold?1:multiplier),count++}),interval)}),delay)}},onMouseup:function(event){var _ref2=event||{},type=_ref2.type,button=_ref2.button;"mouseup"===type&&button||(stopEvent(event,{propagation:!1}),this.resetTimers(),this.setMouseup(!1),this.emitChange())},setMouseup:function(on){try{eventOnOff(on,document.body,"mouseup",this.onMouseup,!1),eventOnOff(on,document.body,"touchend",this.onMouseup,!1)}catch(_unused){}},resetTimers:function(){clearTimeout(this.$_autoDelayTimer),clearInterval(this.$_autoRepeatTimer),this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null},clearRepeat:function(){this.resetTimers(),this.setMouseup(!1),this.$_keyIsDown=!1}},render:function(h){var _this2=this,spinId=this.spinId,value=this.localValue,inline=this.computedInline,readonly=this.computedReadonly,vertical=this.vertical,disabled=this.disabled,computedFormatter=this.computedFormatter,hasValue=!isNull(value),makeButton=function(stepper,label,IconCmp,keyRef,shortcut,btnDisabled,slotName){var $icon=h(IconCmp,{props:{scale:_this2.hasFocus?1.5:1.25},attrs:{"aria-hidden":"true"}}),scope={hasFocus:_this2.hasFocus},handler=function(event){disabled||readonly||(stopEvent(event,{propagation:!1}),_this2.setMouseup(!0),attemptFocus(event.currentTarget),_this2.handleStepRepeat(event,stepper))};return h("button",{staticClass:"btn btn-sm border-0 rounded-0",class:{"py-0":!vertical},attrs:{tabindex:"-1",type:"button",disabled:disabled||readonly||btnDisabled,"aria-disabled":disabled||readonly||btnDisabled?"true":null,"aria-controls":spinId,"aria-label":label||null,"aria-keyshortcuts":shortcut||null},on:{mousedown:handler,touchstart:handler},key:keyRef||null,ref:keyRef},[_this2.normalizeSlot(slotName,scope)||$icon])},$increment=makeButton(this.stepUp,this.labelIncrement,BIconPlus,"inc","ArrowUp",!1,"increment"),$decrement=makeButton(this.stepDown,this.labelDecrement,BIconDash,"dec","ArrowDown",!1,"decrement"),$hidden=h();this.name&&!disabled&&($hidden=h("input",{attrs:{type:"hidden",name:this.name,form:this.form||null,value:this.valueAsFixed},key:"hidden"}));var $spin=h("output",{staticClass:"flex-grow-1",class:{"d-flex":vertical,"align-self-center":!vertical,"align-items-center":vertical,"border-top":vertical,"border-bottom":vertical,"border-left":!vertical,"border-right":!vertical},attrs:this.computedSpinAttrs,key:"output",ref:"spinner"},[h("bdi",hasValue?computedFormatter(value):this.placeholder||"")]);return h("div",{staticClass:"b-form-spinbutton form-control",class:[{disabled:disabled,readonly:readonly,focus:this.hasFocus,"d-inline-flex":inline||vertical,"d-flex":!inline&&!vertical,"align-items-stretch":!vertical,"flex-column":vertical},this.sizeFormClass,this.stateClass],attrs:this.computedAttrs,on:{keydown:this.onKeydown,keyup:this.onKeyup,"!focus":this.onFocusBlur,"!blur":this.onFocusBlur}},vertical?[$increment,$hidden,$spin,$decrement]:[$decrement,$hidden,$spin,$increment])}}),FormSpinbuttonPlugin=pluginFactory({components:{BFormSpinbutton:BFormSpinbutton,BSpinbutton:BFormSpinbutton}}),props$1b=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$25),{},{disabled:makeProp(PROP_TYPE_BOOLEAN,!1),noRemove:makeProp(PROP_TYPE_BOOLEAN,!1),pill:makeProp(PROP_TYPE_BOOLEAN,!1),removeLabel:makeProp(PROP_TYPE_STRING,"Remove tag"),tag:makeProp(PROP_TYPE_STRING,"span"),title:makeProp(PROP_TYPE_STRING),variant:makeProp(PROP_TYPE_STRING,"secondary")})),"BFormTag"),BFormTag=extend({name:"BFormTag",mixins:[idMixin,normalizeSlotMixin],props:props$1b,methods:{onRemove:function(event){var type=event.type,keyCode=event.keyCode;this.disabled||"click"!==type&&("keydown"!==type||46!==keyCode)||this.$emit("remove")}},render:function(h){var title=this.title,tag=this.tag,variant=this.variant,pill=this.pill,disabled=this.disabled,tagId=this.safeId(),tagLabelId=this.safeId("_taglabel_"),$remove=h();this.noRemove||disabled||($remove=h(BButtonClose,{staticClass:"b-form-tag-remove",props:{ariaLabel:this.removeLabel},attrs:{"aria-controls":tagId,"aria-describedby":tagLabelId,"aria-keyshortcuts":"Delete"},on:{click:this.onRemove,keydown:this.onRemove}}));var $tag=h("span",{staticClass:"b-form-tag-content flex-grow-1 text-truncate",attrs:{id:tagLabelId}},this.normalizeSlot()||title);return h(BBadge,{staticClass:"b-form-tag d-inline-flex align-items-baseline mw-100",class:{disabled:disabled},props:{tag:tag,variant:variant,pill:pill},attrs:{id:tagId,title:title||null,"aria-labelledby":tagLabelId}},[$tag,$remove])}}),_makeModelMixin$8=makeModelMixin("value",{type:PROP_TYPE_ARRAY,defaultValue:[]}),modelMixin$8=_makeModelMixin$8.mixin,modelProps$8=_makeModelMixin$8.props,MODEL_PROP_NAME$8=_makeModelMixin$8.prop,MODEL_EVENT_NAME$8=_makeModelMixin$8.event,TYPES=["text","email","tel","url","number"],DEFAULT_INPUT_FOCUS_SELECTOR=[".b-form-tag","button","input","select"].join(" "),cleanTags=function(tags){return concat(tags).map((function(tag){return trim(toString(tag))})).filter((function(tag,index,arr){return tag.length>0&&arr.indexOf(tag)===index}))},processEventValue=function(event){return isString(event)?event:isEvent(event)&&event.target.value||""},props$1a=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$8),props$1x),props$1v),props$1u),{},{addButtonText:makeProp(PROP_TYPE_STRING,"Add"),addButtonVariant:makeProp(PROP_TYPE_STRING,"outline-secondary"),addOnChange:makeProp(PROP_TYPE_BOOLEAN,!1),duplicateTagText:makeProp(PROP_TYPE_STRING,"Duplicate tag(s)"),feedbackAriaLive:makeProp(PROP_TYPE_STRING,"assertive"),ignoreInputFocusSelector:makeProp(PROP_TYPE_ARRAY_STRING,DEFAULT_INPUT_FOCUS_SELECTOR),inputAttrs:makeProp(PROP_TYPE_OBJECT,{}),inputClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),inputId:makeProp(PROP_TYPE_STRING),inputType:makeProp(PROP_TYPE_STRING,"text",(function(value){return arrayIncludes(TYPES,value)})),invalidTagText:makeProp(PROP_TYPE_STRING,"Invalid tag(s)"),limit:makeProp(PROP_TYPE_NUMBER),limitTagsText:makeProp(PROP_TYPE_STRING,"Tag limit reached"),noAddOnEnter:makeProp(PROP_TYPE_BOOLEAN,!1),noOuterFocus:makeProp(PROP_TYPE_BOOLEAN,!1),noTagRemove:makeProp(PROP_TYPE_BOOLEAN,!1),placeholder:makeProp(PROP_TYPE_STRING,"Add tag..."),removeOnDelete:makeProp(PROP_TYPE_BOOLEAN,!1),separator:makeProp(PROP_TYPE_ARRAY_STRING),tagClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),tagPills:makeProp(PROP_TYPE_BOOLEAN,!1),tagRemoveLabel:makeProp(PROP_TYPE_STRING,"Remove tag"),tagRemovedLabel:makeProp(PROP_TYPE_STRING,"Tag removed"),tagValidator:makeProp(PROP_TYPE_FUNCTION),tagVariant:makeProp(PROP_TYPE_STRING,"secondary")})),"BFormTags"),BFormTags=extend({name:"BFormTags",mixins:[listenersMixin,idMixin,modelMixin$8,formControlMixin,formSizeMixin,formStateMixin,normalizeSlotMixin],props:props$1a,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:{all:[],valid:[],invalid:[],duplicate:[]},focusState:null}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return arrayIncludes(TYPES,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var disabled=this.disabled,form=this.form;return _objectSpread2$3(_objectSpread2$3({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:disabled,form:form})},computedInputHandlers:function(){return _objectSpread2$3(_objectSpread2$3({},omit(this.bvListeners,["focusin","focusout"])),{},{blur:this.onInputBlur,change:this.onInputChange,focus:this.onInputFocus,input:this.onInputInput,keydown:this.onInputKeydown,reset:this.reset})},computedSeparator:function(){return concat(this.separator).filter(isString).filter(identity).join("")},computedSeparatorRegExp:function(){var separator=this.computedSeparator;return separator?new RegExp("[".concat(escapeRegExp(separator).replace(RX_SPACES,"\\s"),"]+")):null},computedJoiner:function(){var joiner=this.computedSeparator.charAt(0);return" "!==joiner?"".concat(joiner," "):joiner},computeIgnoreInputFocusSelector:function(){return concat(this.ignoreInputFocusSelector).filter(identity).join(",").trim()},disableAddButton:function(){var _this=this,newTag=trim(this.newTag);return""===newTag||!this.splitTags(newTag).some((function(t){return!arrayIncludes(_this.tags,t)&&_this.validateTag(t)}))},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var limit=this.limit;return isNumber(limit)&&limit>=0&&this.tags.length>=limit}},watch:(_watch$9={},_defineProperty(_watch$9,MODEL_PROP_NAME$8,(function(newValue){this.tags=cleanTags(newValue)})),_defineProperty(_watch$9,"tags",(function(newValue,oldValue){looseEqual(newValue,this[MODEL_PROP_NAME$8])||this.$emit(MODEL_EVENT_NAME$8,newValue),looseEqual(newValue,oldValue)||(newValue=concat(newValue).filter(identity),oldValue=concat(oldValue).filter(identity),this.removedTags=oldValue.filter((function(old){return!arrayIncludes(newValue,old)})))})),_defineProperty(_watch$9,"tagsState",(function(newValue,oldValue){looseEqual(newValue,oldValue)||this.$emit("tag-state",newValue.valid,newValue.invalid,newValue.duplicate)})),_watch$9),created:function(){this.tags=cleanTags(this[MODEL_PROP_NAME$8])},mounted:function(){var $form=closest("form",this.$el);$form&&eventOn($form,"reset",this.reset,EVENT_OPTIONS_PASSIVE)},beforeDestroy:function(){var $form=closest("form",this.$el);$form&&eventOff($form,"reset",this.reset,EVENT_OPTIONS_PASSIVE)},methods:{addTag:function(newTag){if(newTag=isString(newTag)?newTag:this.newTag,!this.disabled&&""!==trim(newTag)&&!this.isLimitReached){var parsed=this.parseTags(newTag);if(parsed.valid.length>0||0===parsed.all.length)if(matches(this.getInput(),"select"))this.newTag="";else{var invalidAndDuplicates=[].concat(_toConsumableArray$1(parsed.invalid),_toConsumableArray$1(parsed.duplicate));this.newTag=parsed.all.filter((function(tag){return arrayIncludes(invalidAndDuplicates,tag)})).join(this.computedJoiner).concat(invalidAndDuplicates.length>0?this.computedJoiner.charAt(0):"")}parsed.valid.length>0&&(this.tags=concat(this.tags,parsed.valid)),this.tagsState=parsed,this.focus()}},removeTag:function(tag){this.disabled||(this.tags=this.tags.filter((function(t){return t!==tag})))},reset:function(){var _this2=this;this.newTag="",this.tags=[],this.$nextTick((function(){_this2.removedTags=[],_this2.tagsState={all:[],valid:[],invalid:[],duplicate:[]}}))},onInputInput:function(event){if(!(this.disabled||isEvent(event)&&event.target.composing)){var newTag=processEventValue(event),separatorRe=this.computedSeparatorRegExp;this.newTag!==newTag&&(this.newTag=newTag),newTag=toString(newTag).replace(RX_TRIM_LEFT,""),separatorRe&&separatorRe.test(newTag.slice(-1))?this.addTag():this.tagsState=""===newTag?{all:[],valid:[],invalid:[],duplicate:[]}:this.parseTags(newTag)}},onInputChange:function(event){if(!this.disabled&&this.addOnChange){var newTag=processEventValue(event);this.newTag!==newTag&&(this.newTag=newTag),this.addTag()}},onInputKeydown:function(event){if(!this.disabled&&isEvent(event)){var keyCode=event.keyCode,value=event.target.value||"";this.noAddOnEnter||keyCode!==CODE_ENTER?!this.removeOnDelete||8!==keyCode&&46!==keyCode||""!==value||(stopEvent(event,{propagation:!1}),this.tags=this.tags.slice(0,-1)):(stopEvent(event,{propagation:!1}),this.addTag())}},onClick:function(event){var _this3=this,ignoreFocusSelector=this.computeIgnoreInputFocusSelector;ignoreFocusSelector&&closest(ignoreFocusSelector,event.target,!0)||this.$nextTick((function(){_this3.focus()}))},onInputFocus:function(event){var _this4=this;"out"!==this.focusState&&(this.focusState="in",this.$nextTick((function(){requestAF((function(){_this4.hasFocus&&(_this4.$emit("focus",event),_this4.focusState=null)}))})))},onInputBlur:function(event){var _this5=this;"in"!==this.focusState&&(this.focusState="out",this.$nextTick((function(){requestAF((function(){_this5.hasFocus||(_this5.$emit("blur",event),_this5.focusState=null)}))})))},onFocusin:function(event){this.hasFocus=!0,this.$emit("focusin",event)},onFocusout:function(event){this.hasFocus=!1,this.$emit("focusout",event)},handleAutofocus:function(){var _this6=this;this.$nextTick((function(){requestAF((function(){_this6.autofocus&&_this6.focus()}))}))},focus:function(){this.disabled||attemptFocus(this.getInput())},blur:function(){this.disabled||attemptBlur(this.getInput())},splitTags:function(newTag){newTag=toString(newTag);var separatorRe=this.computedSeparatorRegExp;return(separatorRe?newTag.split(separatorRe):[newTag]).map(trim).filter(identity)},parseTags:function(newTag){var _this7=this,tags=this.splitTags(newTag),parsed={all:tags,valid:[],invalid:[],duplicate:[]};return tags.forEach((function(tag){arrayIncludes(_this7.tags,tag)||arrayIncludes(parsed.valid,tag)?arrayIncludes(parsed.duplicate,tag)||parsed.duplicate.push(tag):_this7.validateTag(tag)?parsed.valid.push(tag):arrayIncludes(parsed.invalid,tag)||parsed.invalid.push(tag)})),parsed},validateTag:function(tag){var tagValidator=this.tagValidator;return!hasPropFunction(tagValidator)||tagValidator(tag)},getInput:function(){return select("#".concat(cssEscape(this.computedInputId)),this.$el)},defaultRender:function(_ref){var addButtonText=_ref.addButtonText,addButtonVariant=_ref.addButtonVariant,addTag=_ref.addTag,disableAddButton=_ref.disableAddButton,disabled=_ref.disabled,duplicateTagText=_ref.duplicateTagText,inputAttrs=_ref.inputAttrs,inputClass=_ref.inputClass,inputHandlers=_ref.inputHandlers,inputType=_ref.inputType,invalidTagText=_ref.invalidTagText,isDuplicate=_ref.isDuplicate,isInvalid=_ref.isInvalid,isLimitReached=_ref.isLimitReached,limitTagsText=_ref.limitTagsText,noTagRemove=_ref.noTagRemove,placeholder=_ref.placeholder,removeTag=_ref.removeTag,tagClass=_ref.tagClass,tagPills=_ref.tagPills,tagRemoveLabel=_ref.tagRemoveLabel,tagVariant=_ref.tagVariant,tags=_ref.tags,h=this.$createElement,$tags=tags.map((function(tag){return tag=toString(tag),h(BFormTag,{class:tagClass,props:{disabled:disabled,noRemove:noTagRemove,pill:tagPills,removeLabel:tagRemoveLabel,tag:"li",title:tag,variant:tagVariant},on:{remove:function(){return removeTag(tag)}},key:"tags_".concat(tag)},tag)})),invalidFeedbackId=invalidTagText&&isInvalid?this.safeId("__invalid_feedback__"):null,duplicateFeedbackId=duplicateTagText&&isDuplicate?this.safeId("__duplicate_feedback__"):null,limitFeedbackId=limitTagsText&&isLimitReached?this.safeId("__limit_feedback__"):null,ariaDescribedby=[inputAttrs["aria-describedby"],invalidFeedbackId,duplicateFeedbackId,limitFeedbackId].filter(identity).join(" "),$input=h("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:inputClass,style:{outline:0,minWidth:"5rem"},attrs:_objectSpread2$3(_objectSpread2$3({},inputAttrs),{},{"aria-describedby":ariaDescribedby||null,type:inputType,placeholder:placeholder||null}),domProps:{value:inputAttrs.value},on:inputHandlers,directives:[{name:"model",value:inputAttrs.value}],ref:"input"}),$button=h(BButton,{staticClass:"b-form-tags-button py-0",class:{invisible:disableAddButton},style:{fontSize:"90%"},props:{disabled:disableAddButton||isLimitReached,variant:addButtonVariant},on:{click:function(){return addTag()}},ref:"button"},[this.normalizeSlot("add-button-text")||addButtonText]),tagListId=this.safeId("__tag_list__"),$field=h("li",{staticClass:"b-form-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":tagListId},key:"tags_field"},[h("div",{staticClass:"d-flex",attrs:{role:"group"}},[$input,$button])]),$ul=h("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:tagListId},key:"tags_list"},[$tags,$field]),$feedback=h();if(invalidTagText||duplicateTagText||limitTagsText){var ariaLive=this.feedbackAriaLive,joiner=this.computedJoiner,$invalid=h();invalidFeedbackId&&($invalid=h(BFormInvalidFeedback,{props:{id:invalidFeedbackId,ariaLive:ariaLive,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(joiner)]));var $duplicate=h();duplicateFeedbackId&&($duplicate=h(BFormText,{props:{id:duplicateFeedbackId,ariaLive:ariaLive},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(joiner)]));var $limit=h();limitFeedbackId&&($limit=h(BFormText,{props:{id:limitFeedbackId,ariaLive:ariaLive},key:"tags_limit_feedback"},[limitTagsText])),$feedback=h("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[$invalid,$duplicate,$limit])}return[$ul,$feedback]}},render:function(h){var name=this.name,disabled=this.disabled,required=this.required,form=this.form,tags=this.tags,computedInputId=this.computedInputId,hasFocus=this.hasFocus,noOuterFocus=this.noOuterFocus,scope=_objectSpread2$3({tags:tags.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:computedInputId,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},pick$1(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),$content=this.normalizeSlot("default",scope)||this.defaultRender(scope),$output=h("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:computedInputId,"aria-live":hasFocus?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),$removed=h("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":hasFocus?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),$hidden=h();if(name&&!disabled){var hasTags=tags.length>0;$hidden=(hasTags?tags:[""]).map((function(tag){return h("input",{class:{"sr-only":!hasTags},attrs:{type:hasTags?"hidden":"text",value:tag,required:required,name:name,form:form},key:"tag_input_".concat(tag)})}))}return h("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:hasFocus&&!noOuterFocus&&!disabled,disabled:disabled},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:disabled||noOuterFocus?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[$output,$removed,$content,$hidden])}}),FormTagsPlugin=pluginFactory({components:{BFormTags:BFormTags,BTags:BFormTags,BFormTag:BFormTag,BTag:BFormTag}}),props$19=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),props$1x),props$1v),props$1u),props$1l),{},{maxRows:makeProp(PROP_TYPE_NUMBER_STRING),noAutoShrink:makeProp(PROP_TYPE_BOOLEAN,!1),noResize:makeProp(PROP_TYPE_BOOLEAN,!1),rows:makeProp(PROP_TYPE_NUMBER_STRING,2),wrap:makeProp(PROP_TYPE_STRING,"soft")})),"BFormTextarea"),BFormTextarea=extend({name:"BFormTextarea",directives:{"b-visible":VBVisible},mixins:[listenersMixin,idMixin,listenOnRootMixin,formControlMixin,formSizeMixin,formStateMixin,formTextMixin,formSelectionMixin,formValidityMixin],props:props$19,data:function(){return{heightInPx:null}},computed:{type:function(){return null},computedStyle:function(){var styles={resize:!this.computedRows||this.noResize?"none":null};return this.computedRows||(styles.height=this.heightInPx,styles.overflowY="scroll"),styles},computedMinRows:function(){return mathMax(toInteger(this.rows,2),2)},computedMaxRows:function(){return mathMax(this.computedMinRows,toInteger(this.maxRows,0))},computedRows:function(){return this.computedMinRows===this.computedMaxRows?this.computedMinRows:null},computedAttrs:function(){var disabled=this.disabled,required=this.required;return{id:this.safeId(),name:this.name||null,form:this.form||null,disabled:disabled,placeholder:this.placeholder||null,required:required,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,rows:this.computedRows,wrap:this.wrap||null,"aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid}},computedListeners:function(){return _objectSpread2$3(_objectSpread2$3({},this.bvListeners),{},{input:this.onInput,change:this.onChange,blur:this.onBlur})}},watch:{localValue:function(){this.setHeight()}},mounted:function(){this.setHeight()},methods:{visibleCallback:function(visible){visible&&this.$nextTick(this.setHeight)},setHeight:function(){var _this=this;this.$nextTick((function(){requestAF((function(){_this.heightInPx=_this.computeHeight()}))}))},computeHeight:function(){if(this.$isServer||!isNull(this.computedRows))return null;var el=this.$el;if(!isVisible(el))return null;var computedStyle=getCS(el),lineHeight=toFloat(computedStyle.lineHeight,1),border=toFloat(computedStyle.borderTopWidth,0)+toFloat(computedStyle.borderBottomWidth,0),padding=toFloat(computedStyle.paddingTop,0)+toFloat(computedStyle.paddingBottom,0),offset=border+padding,minHeight=lineHeight*this.computedMinRows+offset,oldHeight=getStyle(el,"height")||computedStyle.height;setStyle(el,"height","auto");var scrollHeight=el.scrollHeight;setStyle(el,"height",oldHeight);var contentRows=mathMax((scrollHeight-padding)/lineHeight,2),rows=mathMin(mathMax(contentRows,this.computedMinRows),this.computedMaxRows),height=mathMax(mathCeil(rows*lineHeight+offset),minHeight);return this.noAutoShrink&&toFloat(oldHeight,0)>height?oldHeight:"".concat(height,"px")}},render:function(h){return h("textarea",{class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),FormTextareaPlugin=pluginFactory({components:{BFormTextarea:BFormTextarea,BTextarea:BFormTextarea}}),_makeModelMixin$7=makeModelMixin("value",{type:PROP_TYPE_STRING,defaultValue:""}),modelMixin$7=_makeModelMixin$7.mixin,modelProps$7=_makeModelMixin$7.props,MODEL_PROP_NAME$7=_makeModelMixin$7.prop,MODEL_EVENT_NAME$7=_makeModelMixin$7.event,padLeftZeros=function(value){return"00".concat(value||"").slice(-2)},parseHMS=function(value){value=toString(value);var hh=null,mm=null,ss=null;if(RX_TIME.test(value)){var _value$split$map2=_slicedToArray(value.split(":").map((function(v){return toInteger(v,null)})),3);hh=_value$split$map2[0],mm=_value$split$map2[1],ss=_value$split$map2[2]}return{hours:isUndefinedOrNull(hh)?null:hh,minutes:isUndefinedOrNull(mm)?null:mm,seconds:isUndefinedOrNull(ss)?null:ss,ampm:isUndefinedOrNull(hh)||hh<12?0:1}},props$18=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$7),pick$1(props$1c,["labelIncrement","labelDecrement"])),{},{ariaLabelledby:makeProp(PROP_TYPE_STRING),disabled:makeProp(PROP_TYPE_BOOLEAN,!1),footerTag:makeProp(PROP_TYPE_STRING,"footer"),headerTag:makeProp(PROP_TYPE_STRING,"header"),hidden:makeProp(PROP_TYPE_BOOLEAN,!1),hideHeader:makeProp(PROP_TYPE_BOOLEAN,!1),hour12:makeProp(PROP_TYPE_BOOLEAN,null),labelAm:makeProp(PROP_TYPE_STRING,"AM"),labelAmpm:makeProp(PROP_TYPE_STRING,"AM/PM"),labelHours:makeProp(PROP_TYPE_STRING,"Hours"),labelMinutes:makeProp(PROP_TYPE_STRING,"Minutes"),labelNoTimeSelected:makeProp(PROP_TYPE_STRING,"No time selected"),labelPm:makeProp(PROP_TYPE_STRING,"PM"),labelSeconds:makeProp(PROP_TYPE_STRING,"Seconds"),labelSelected:makeProp(PROP_TYPE_STRING,"Selected time"),locale:makeProp(PROP_TYPE_ARRAY_STRING),minutesStep:makeProp(PROP_TYPE_NUMBER_STRING,1),readonly:makeProp(PROP_TYPE_BOOLEAN,!1),secondsStep:makeProp(PROP_TYPE_NUMBER_STRING,1),showSeconds:makeProp(PROP_TYPE_BOOLEAN,!1)})),"BTime"),BTime=extend({name:"BTime",mixins:[idMixin,modelMixin$7,normalizeSlotMixin],props:props$18,data:function(){var parsed=parseHMS(this[MODEL_PROP_NAME$7]||"");return{modelHours:parsed.hours,modelMinutes:parsed.minutes,modelSeconds:parsed.seconds,modelAmpm:parsed.ampm,isLive:!1}},computed:{computedHMS:function(){return function(_ref){var hours=_ref.hours,minutes=_ref.minutes,seconds=_ref.seconds,requireSeconds=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return isNull(hours)||isNull(minutes)||requireSeconds&&isNull(seconds)?"":[hours,minutes,requireSeconds?seconds:0].map(padLeftZeros).join(":")}({hours:this.modelHours,minutes:this.modelMinutes,seconds:this.modelSeconds},this.showSeconds)},resolvedOptions:function(){var locale=concat(this.locale).filter(identity),options={hour:"numeric",minute:"numeric",second:"numeric"};isUndefinedOrNull(this.hour12)||(options.hour12=!!this.hour12);var resolved=new Intl.DateTimeFormat(locale,options).resolvedOptions(),hour12=resolved.hour12||!1,hourCycle=resolved.hourCycle||(hour12?"h12":"h23");return{locale:resolved.locale,hour12:hour12,hourCycle:hourCycle}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return isLocaleRTL(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(identity).join(" ")||null},timeFormatter:function(){var options={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:"numeric",minute:"numeric",timeZone:"UTC"};return this.showSeconds&&(options.second="numeric"),createDateFormatter(this.computedLocale,options)},numberFormatter:function(){return new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"}).format},formattedTimeString:function(){var hours=this.modelHours,minutes=this.modelMinutes,seconds=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter(createDate(Date.UTC(0,0,1,hours,minutes,seconds))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var h=this.$createElement;return{increment:function(_ref2){var hasFocus=_ref2.hasFocus;return h(BIconChevronUp,{props:{scale:hasFocus?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(_ref3){var hasFocus=_ref3.hasFocus;return h(BIconChevronUp,{props:{flipV:!0,scale:hasFocus?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(_watch$8={},_defineProperty(_watch$8,MODEL_PROP_NAME$7,(function(newValue,oldValue){if(newValue!==oldValue&&!looseEqual(parseHMS(newValue),parseHMS(this.computedHMS))){var _parseHMS=parseHMS(newValue),hours=_parseHMS.hours,minutes=_parseHMS.minutes,seconds=_parseHMS.seconds,ampm=_parseHMS.ampm;this.modelHours=hours,this.modelMinutes=minutes,this.modelSeconds=seconds,this.modelAmpm=ampm}})),_defineProperty(_watch$8,"computedHMS",(function(newValue,oldValue){newValue!==oldValue&&this.$emit(MODEL_EVENT_NAME$7,newValue)})),_defineProperty(_watch$8,"context",(function(newValue,oldValue){looseEqual(newValue,oldValue)||this.$emit("context",newValue)})),_defineProperty(_watch$8,"modelAmpm",(function(newValue,oldValue){var _this=this;if(newValue!==oldValue){var hours=isNull(this.modelHours)?0:this.modelHours;this.$nextTick((function(){0===newValue&&hours>11?_this.modelHours=hours-12:1===newValue&&hours<12&&(_this.modelHours=hours+12)}))}})),_defineProperty(_watch$8,"modelHours",(function(newHours,oldHours){newHours!==oldHours&&(this.modelAmpm=newHours>11?1:0)})),_watch$8),created:function(){var _this2=this;this.$nextTick((function(){_this2.$emit("context",_this2.context)}))},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||attemptFocus(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var activeElement=getActiveElement();contains(this.$el,activeElement)&&attemptBlur(activeElement)}},formatHours:function(hh){var hourCycle=this.computedHourCycle;return hh=0===(hh=this.is12Hour&&hh>12?hh-12:hh)&&"h12"===hourCycle?12:0===hh&&"h24"===hourCycle?24:12===hh&&"h11"===hourCycle?0:hh,this.numberFormatter(hh)},formatMinutes:function(mm){return this.numberFormatter(mm)},formatSeconds:function(ss){return this.numberFormatter(ss)},formatAmpm:function(ampm){return 0===ampm?this.labelAm:1===ampm?this.labelPm:""},setHours:function(value){this.modelHours=value},setMinutes:function(value){this.modelMinutes=value},setSeconds:function(value){this.modelSeconds=value},setAmpm:function(value){this.modelAmpm=value},onSpinLeftRight:function(){var event=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},type=event.type,keyCode=event.keyCode;if(!this.disabled&&"keydown"===type&&(keyCode===CODE_LEFT||keyCode===CODE_RIGHT)){stopEvent(event);var spinners=this.$refs.spinners||[],index=spinners.map((function(cmp){return!!cmp.hasFocus})).indexOf(!0);index=(index+=keyCode===CODE_LEFT?-1:1)>=spinners.length?0:index<0?spinners.length-1:index,attemptFocus(spinners[index])}},setLive:function(on){var _this3=this;on?this.$nextTick((function(){requestAF((function(){_this3.isLive=!0}))})):this.isLive=!1}},render:function(h){var _this4=this;if(this.hidden)return h();var disabled=this.disabled,readonly=this.readonly,locale=this.computedLocale,ariaLabelledby=this.computedAriaLabelledby,labelIncrement=this.labelIncrement,labelDecrement=this.labelDecrement,valueId=this.valueId,focusHandler=this.focus,spinIds=[],makeSpinbutton=function(handler,key,classes){var spinbuttonProps=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},id=_this4.safeId("_spinbutton_".concat(key,"_"))||null;return spinIds.push(id),h(BFormSpinbutton,_defineProperty({class:classes,props:_objectSpread2$3({id:id,placeholder:"--",vertical:!0,required:!0,disabled:disabled,readonly:readonly,locale:locale,labelIncrement:labelIncrement,labelDecrement:labelDecrement,wrap:!0,ariaControls:valueId,min:0},spinbuttonProps),scopedSlots:_this4.spinScopedSlots,on:{change:handler},key:key,ref:"spinners"},REF_FOR_KEY,!0))},makeColon=function(){return h("div",{staticClass:"d-flex flex-column",class:{"text-muted":disabled||readonly},attrs:{"aria-hidden":"true"}},[h(BIconCircleFill,{props:{shiftV:4,scale:.5}}),h(BIconCircleFill,{props:{shiftV:-4,scale:.5}})])},$spinners=[];$spinners.push(makeSpinbutton(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),$spinners.push(makeColon()),$spinners.push(makeSpinbutton(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&($spinners.push(makeColon()),$spinners.push(makeSpinbutton(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.isLive&&this.is12Hour&&$spinners.push(makeSpinbutton(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),$spinners=h("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:disabled||readonly?null:"-1","aria-labelledby":ariaLabelledby},on:{keydown:this.onSpinLeftRight,click:function(event){event.target===event.currentTarget&&focusHandler()}}},$spinners);var $value=h("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:disabled||readonly},attrs:{id:valueId,role:"status",for:spinIds.filter(identity).join(" ")||null,tabindex:disabled?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:focusHandler,focus:focusHandler}},[h("bdi",this.formattedTimeString),this.computedHMS?h("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),$header=h(this.headerTag,{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[$value]),$content=this.normalizeSlot(),$footer=$content?h(this.footerTag,{staticClass:"b-time-footer"},$content):h();return h("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":ariaLabelledby||null,"aria-disabled":disabled?"true":null,"aria-readonly":readonly&&!disabled?"true":null}},[$header,$spinners,$footer])}}),_makeModelMixin$6=makeModelMixin("value",{type:PROP_TYPE_STRING,defaultValue:""}),modelMixin$6=_makeModelMixin$6.mixin,modelProps$6=_makeModelMixin$6.props,MODEL_PROP_NAME$6=_makeModelMixin$6.prop,MODEL_EVENT_NAME$6=_makeModelMixin$6.event,timeProps=omit(props$18,["hidden","id","value"]),formBtnLabelControlProps=omit(props$1o,["formattedValue","id","lang","rtl","value"]),props$17=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$6),timeProps),formBtnLabelControlProps),{},{closeButtonVariant:makeProp(PROP_TYPE_STRING,"outline-secondary"),labelCloseButton:makeProp(PROP_TYPE_STRING,"Close"),labelNowButton:makeProp(PROP_TYPE_STRING,"Select now"),labelResetButton:makeProp(PROP_TYPE_STRING,"Reset"),noCloseButton:makeProp(PROP_TYPE_BOOLEAN,!1),nowButton:makeProp(PROP_TYPE_BOOLEAN,!1),nowButtonVariant:makeProp(PROP_TYPE_STRING,"outline-primary"),resetButton:makeProp(PROP_TYPE_BOOLEAN,!1),resetButtonVariant:makeProp(PROP_TYPE_STRING,"outline-danger"),resetValue:makeProp(PROP_TYPE_DATE_STRING)})),"BFormTimepicker"),BFormTimepicker=extend({name:"BFormTimepicker",mixins:[idMixin,modelMixin$6],props:props$17,data:function(){return{localHMS:this[MODEL_PROP_NAME$6]||"",localLocale:null,isRTL:!1,formattedValue:"",isVisible:!1}},computed:{computedLang:function(){return(this.localLocale||"").replace(/-u-.*$/i,"")||null}},watch:(_watch$7={},_defineProperty(_watch$7,MODEL_PROP_NAME$6,(function(newValue){this.localHMS=newValue||""})),_defineProperty(_watch$7,"localHMS",(function(newValue){this.isVisible&&this.$emit(MODEL_EVENT_NAME$6,newValue||"")})),_watch$7),methods:{focus:function(){this.disabled||attemptFocus(this.$refs.control)},blur:function(){this.disabled||attemptBlur(this.$refs.control)},setAndClose:function(value){var _this=this;this.localHMS=value,this.$nextTick((function(){_this.$refs.control.hide(!0)}))},onInput:function(hms){this.localHMS!==hms&&(this.localHMS=hms)},onContext:function(ctx){var isRTL=ctx.isRTL,locale=ctx.locale,value=ctx.value,formatted=ctx.formatted;this.isRTL=isRTL,this.localLocale=locale,this.formattedValue=formatted,this.localHMS=value||"",this.$emit("context",ctx)},onNowButton:function(){var now=new Date,value=[now.getHours(),now.getMinutes(),this.showSeconds?now.getSeconds():0].map((function(v){return"00".concat(v||"").slice(-2)})).join(":");this.setAndClose(value)},onResetButton:function(){this.setAndClose(this.resetValue)},onCloseButton:function(){this.$refs.control.hide(!0)},onShow:function(){this.isVisible=!0},onShown:function(){var _this2=this;this.$nextTick((function(){attemptFocus(_this2.$refs.time),_this2.$emit("shown")}))},onHidden:function(){this.isVisible=!1,this.$emit("hidden")},defaultButtonFn:function(_ref){var isHovered=_ref.isHovered,hasFocus=_ref.hasFocus;return this.$createElement(isHovered||hasFocus?BIconClockFill:BIconClock,{attrs:{"aria-hidden":"true"}})}},render:function(h){var localHMS=this.localHMS,disabled=this.disabled,readonly=this.readonly,$props=this.$props,placeholder=isUndefinedOrNull(this.placeholder)?this.labelNoTimeSelected:this.placeholder,$footer=[];if(this.nowButton){var label=this.labelNowButton;$footer.push(h(BButton,{props:{size:"sm",disabled:disabled||readonly,variant:this.nowButtonVariant},attrs:{"aria-label":label||null},on:{click:this.onNowButton},key:"now-btn"},label))}if(this.resetButton){$footer.length>0&&$footer.push(h("span"," "));var _label=this.labelResetButton;$footer.push(h(BButton,{props:{size:"sm",disabled:disabled||readonly,variant:this.resetButtonVariant},attrs:{"aria-label":_label||null},on:{click:this.onResetButton},key:"reset-btn"},_label))}if(!this.noCloseButton){$footer.length>0&&$footer.push(h("span"," "));var _label2=this.labelCloseButton;$footer.push(h(BButton,{props:{size:"sm",disabled:disabled,variant:this.closeButtonVariant},attrs:{"aria-label":_label2||null},on:{click:this.onCloseButton},key:"close-btn"},_label2))}$footer.length>0&&($footer=[h("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":$footer.length>1,"justify-content-end":$footer.length<2}},$footer)]);var $time=h(BTime,{staticClass:"b-form-time-control",props:_objectSpread2$3(_objectSpread2$3({},pluckProps(timeProps,$props)),{},{value:localHMS,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},$footer);return h(BVFormBtnLabelControl,{staticClass:"b-form-timepicker",props:_objectSpread2$3(_objectSpread2$3({},pluckProps(formBtnLabelControlProps,$props)),{},{id:this.safeId(),value:localHMS,formattedValue:localHMS?this.formattedValue:"",placeholder:placeholder,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:_defineProperty({},"button-content",this.$scopedSlots["button-content"]||this.defaultButtonFn),ref:"control"},[$time])}}),FormTimepickerPlugin=pluginFactory({components:{BFormTimepicker:BFormTimepicker,BTimepicker:BFormTimepicker}}),ImagePlugin=pluginFactory({components:{BImg:BImg,BImgLazy:BImgLazy}}),props$16=makePropsConfigurable({tag:makeProp(PROP_TYPE_STRING,"div")},"BInputGroupText"),BInputGroupText=extend({name:"BInputGroupText",functional:!0,props:props$16,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h(props.tag,a(data,{staticClass:"input-group-text"}),children)}}),props$15=makePropsConfigurable({append:makeProp(PROP_TYPE_BOOLEAN,!1),id:makeProp(PROP_TYPE_STRING),isText:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"div")},"BInputGroupAddon"),BInputGroupAddon=extend({name:"BInputGroupAddon",functional:!0,props:props$15,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,append=props.append;return h(props.tag,a(data,{class:{"input-group-append":append,"input-group-prepend":!append},attrs:{id:props.id}}),props.isText?[h(BInputGroupText,children)]:children)}}),props$14=makePropsConfigurable(omit(props$15,["append"]),"BInputGroupAppend"),BInputGroupAppend=extend({name:"BInputGroupAppend",functional:!0,props:props$14,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h(BInputGroupAddon,a(data,{props:_objectSpread2$3(_objectSpread2$3({},props),{},{append:!0})}),children)}}),props$13=makePropsConfigurable(omit(props$15,["append"]),"BInputGroupPrepend"),BInputGroupPrepend=extend({name:"BInputGroupPrepend",functional:!0,props:props$13,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h(BInputGroupAddon,a(data,{props:_objectSpread2$3(_objectSpread2$3({},props),{},{append:!1})}),children)}}),props$12=makePropsConfigurable({append:makeProp(PROP_TYPE_STRING),appendHtml:makeProp(PROP_TYPE_STRING),id:makeProp(PROP_TYPE_STRING),prepend:makeProp(PROP_TYPE_STRING),prependHtml:makeProp(PROP_TYPE_STRING),size:makeProp(PROP_TYPE_STRING),tag:makeProp(PROP_TYPE_STRING,"div")},"BInputGroup"),BInputGroup=extend({name:"BInputGroup",functional:!0,props:props$12,render:function(h,_ref){var props=_ref.props,data=_ref.data,slots=_ref.slots,scopedSlots=_ref.scopedSlots,prepend=props.prepend,prependHtml=props.prependHtml,append=props.append,appendHtml=props.appendHtml,size=props.size,$scopedSlots=scopedSlots||{},$slots=slots(),slotScope={},$prepend=h(),hasPrependSlot=hasNormalizedSlot("prepend",$scopedSlots,$slots);(hasPrependSlot||prepend||prependHtml)&&($prepend=h(BInputGroupPrepend,[hasPrependSlot?normalizeSlot("prepend",slotScope,$scopedSlots,$slots):h(BInputGroupText,{domProps:htmlOrText(prependHtml,prepend)})]));var $append=h(),hasAppendSlot=hasNormalizedSlot("append",$scopedSlots,$slots);return(hasAppendSlot||append||appendHtml)&&($append=h(BInputGroupAppend,[hasAppendSlot?normalizeSlot("append",slotScope,$scopedSlots,$slots):h(BInputGroupText,{domProps:htmlOrText(appendHtml,append)})])),h(props.tag,a(data,{staticClass:"input-group",class:_defineProperty({},"input-group-".concat(size),size),attrs:{id:props.id||null,role:"group"}}),[$prepend,normalizeSlot("default",slotScope,$scopedSlots,$slots),$append])}}),InputGroupPlugin=pluginFactory({components:{BInputGroup:BInputGroup,BInputGroupAddon:BInputGroupAddon,BInputGroupPrepend:BInputGroupPrepend,BInputGroupAppend:BInputGroupAppend,BInputGroupText:BInputGroupText}}),props$11=makePropsConfigurable({fluid:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),tag:makeProp(PROP_TYPE_STRING,"div")},"BContainer"),BContainer=extend({name:"BContainer",functional:!0,props:props$11,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,fluid=props.fluid;return h(props.tag,a(data,{class:_defineProperty({container:!(fluid||""===fluid),"container-fluid":!0===fluid||""===fluid},"container-".concat(fluid),fluid&&!0!==fluid)}),children)}}),props$10=makePropsConfigurable({bgVariant:makeProp(PROP_TYPE_STRING),borderVariant:makeProp(PROP_TYPE_STRING),containerFluid:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),fluid:makeProp(PROP_TYPE_BOOLEAN,!1),header:makeProp(PROP_TYPE_STRING),headerHtml:makeProp(PROP_TYPE_STRING),headerLevel:makeProp(PROP_TYPE_NUMBER_STRING,3),headerTag:makeProp(PROP_TYPE_STRING,"h1"),lead:makeProp(PROP_TYPE_STRING),leadHtml:makeProp(PROP_TYPE_STRING),leadTag:makeProp(PROP_TYPE_STRING,"p"),tag:makeProp(PROP_TYPE_STRING,"div"),textVariant:makeProp(PROP_TYPE_STRING)},"BJumbotron"),BJumbotron=extend({name:"BJumbotron",functional:!0,props:props$10,render:function(h,_ref){var _class2,props=_ref.props,data=_ref.data,slots=_ref.slots,scopedSlots=_ref.scopedSlots,header=props.header,headerHtml=props.headerHtml,lead=props.lead,leadHtml=props.leadHtml,textVariant=props.textVariant,bgVariant=props.bgVariant,borderVariant=props.borderVariant,$scopedSlots=scopedSlots||{},$slots=slots(),slotScope={},$header=h(),hasHeaderSlot=hasNormalizedSlot("header",$scopedSlots,$slots);if(hasHeaderSlot||header||headerHtml){var headerLevel=props.headerLevel;$header=h(props.headerTag,{class:_defineProperty({},"display-".concat(headerLevel),headerLevel),domProps:hasHeaderSlot?{}:htmlOrText(headerHtml,header)},normalizeSlot("header",slotScope,$scopedSlots,$slots))}var $lead=h(),hasLeadSlot=hasNormalizedSlot("lead",$scopedSlots,$slots);(hasLeadSlot||lead||leadHtml)&&($lead=h(props.leadTag,{staticClass:"lead",domProps:hasLeadSlot?{}:htmlOrText(leadHtml,lead)},normalizeSlot("lead",slotScope,$scopedSlots,$slots)));var $children=[$header,$lead,normalizeSlot("default",slotScope,$scopedSlots,$slots)];return props.fluid&&($children=[h(BContainer,{props:{fluid:props.containerFluid}},$children)]),h(props.tag,a(data,{staticClass:"jumbotron",class:(_class2={"jumbotron-fluid":props.fluid},_defineProperty(_class2,"text-".concat(textVariant),textVariant),_defineProperty(_class2,"bg-".concat(bgVariant),bgVariant),_defineProperty(_class2,"border-".concat(borderVariant),borderVariant),_defineProperty(_class2,"border",borderVariant),_class2)}),$children)}}),JumbotronPlugin=pluginFactory({components:{BJumbotron:BJumbotron}}),COMMON_ALIGNMENT=["start","end","center"],computeRowColsClass=memoize((function(breakpoint,cols){return(cols=trim(toString(cols)))?lowerCase(["row-cols",breakpoint,cols].filter(identity).join("-")):null})),computeRowColsBreakpoint=memoize((function(prop){return lowerCase(prop.replace("cols",""))})),rowColsPropList=[],BRow={name:"BRow",functional:!0,get props(){var rowColsProps;return delete this.props,this.props=(rowColsProps=getBreakpointsUpCached().reduce((function(props,breakpoint){return props[suffixPropName(breakpoint,"cols")]=makeProp(PROP_TYPE_NUMBER_STRING),props}),create(null)),rowColsPropList=keys(rowColsProps),makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},rowColsProps),{},{alignContent:makeProp(PROP_TYPE_STRING,null,(function(value){return arrayIncludes(concat(COMMON_ALIGNMENT,"between","around","stretch"),value)})),alignH:makeProp(PROP_TYPE_STRING,null,(function(value){return arrayIncludes(concat(COMMON_ALIGNMENT,"between","around"),value)})),alignV:makeProp(PROP_TYPE_STRING,null,(function(value){return arrayIncludes(concat(COMMON_ALIGNMENT,"baseline","stretch"),value)})),noGutters:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"div")})),"BRow")),this.props},render:function(h,_ref){var _classList$push,props=_ref.props,data=_ref.data,children=_ref.children,alignV=props.alignV,alignH=props.alignH,alignContent=props.alignContent,classList=[];return rowColsPropList.forEach((function(prop){var c=computeRowColsClass(computeRowColsBreakpoint(prop),props[prop]);c&&classList.push(c)})),classList.push((_defineProperty(_classList$push={"no-gutters":props.noGutters},"align-items-".concat(alignV),alignV),_defineProperty(_classList$push,"justify-content-".concat(alignH),alignH),_defineProperty(_classList$push,"align-content-".concat(alignContent),alignContent),_classList$push)),h(props.tag,a(data,{staticClass:"row",class:classList}),children)}},LayoutPlugin=pluginFactory({components:{BContainer:BContainer,BRow:BRow,BCol:BCol,BFormRow:BFormRow}}),LinkPlugin=pluginFactory({components:{BLink:BLink}}),props$$=makePropsConfigurable({flush:makeProp(PROP_TYPE_BOOLEAN,!1),horizontal:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),tag:makeProp(PROP_TYPE_STRING,"div")},"BListGroup"),BListGroup=extend({name:"BListGroup",functional:!0,props:props$$,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,horizontal=""===props.horizontal||props.horizontal;horizontal=!props.flush&&horizontal;var componentData={staticClass:"list-group",class:_defineProperty({"list-group-flush":props.flush,"list-group-horizontal":!0===horizontal},"list-group-horizontal-".concat(horizontal),isString(horizontal))};return h(props.tag,a(data,componentData),children)}}),actionTags=["a","router-link","button","b-link"],linkProps$3=omit(props$2f,["event","routerTag"]);delete linkProps$3.href.default,delete linkProps$3.to.default;var props$_=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},linkProps$3),{},{action:makeProp(PROP_TYPE_BOOLEAN,!1),button:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"div"),variant:makeProp(PROP_TYPE_STRING)})),"BListGroupItem"),BListGroupItem=extend({name:"BListGroupItem",functional:!0,props:props$_,render:function(h,_ref){var _class,props=_ref.props,data=_ref.data,children=_ref.children,button=props.button,variant=props.variant,active=props.active,disabled=props.disabled,link=isLink$1(props),tag=button?"button":link?BLink:props.tag,action=!!(props.action||link||button||arrayIncludes(actionTags,props.tag)),attrs={},itemProps={};return isTag(tag,"button")?(data.attrs&&data.attrs.type||(attrs.type="button"),props.disabled&&(attrs.disabled=!0)):itemProps=pluckProps(linkProps$3,props),h(tag,a(data,{attrs:attrs,props:itemProps,staticClass:"list-group-item",class:(_class={},_defineProperty(_class,"list-group-item-".concat(variant),variant),_defineProperty(_class,"list-group-item-action",action),_defineProperty(_class,"active",active),_defineProperty(_class,"disabled",disabled),_class)}),children)}}),ListGroupPlugin=pluginFactory({components:{BListGroup:BListGroup,BListGroupItem:BListGroupItem}}),props$Z=makePropsConfigurable({right:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"div"),verticalAlign:makeProp(PROP_TYPE_STRING,"top")},"BMediaAside"),BMediaAside=extend({name:"BMediaAside",functional:!0,props:props$Z,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,verticalAlign=props.verticalAlign,align="top"===verticalAlign?"start":"bottom"===verticalAlign?"end":verticalAlign;return h(props.tag,a(data,{staticClass:"media-aside",class:_defineProperty({"media-aside-right":props.right},"align-self-".concat(align),align)}),children)}}),props$Y=makePropsConfigurable({tag:makeProp(PROP_TYPE_STRING,"div")},"BMediaBody"),BMediaBody=extend({name:"BMediaBody",functional:!0,props:props$Y,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children;return h(props.tag,a(data,{staticClass:"media-body"}),children)}}),props$X=makePropsConfigurable({noBody:makeProp(PROP_TYPE_BOOLEAN,!1),rightAlign:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"div"),verticalAlign:makeProp(PROP_TYPE_STRING,"top")},"BMedia"),BMedia=extend({name:"BMedia",functional:!0,props:props$X,render:function(h,_ref){var props=_ref.props,data=_ref.data,slots=_ref.slots,scopedSlots=_ref.scopedSlots,children=_ref.children,noBody=props.noBody,rightAlign=props.rightAlign,verticalAlign=props.verticalAlign,$children=noBody?children:[];if(!noBody){var slotScope={},$slots=slots(),$scopedSlots=scopedSlots||{};$children.push(h(BMediaBody,normalizeSlot("default",slotScope,$scopedSlots,$slots)));var $aside=normalizeSlot("aside",slotScope,$scopedSlots,$slots);$aside&&$children[rightAlign?"push":"unshift"](h(BMediaAside,{props:{right:rightAlign,verticalAlign:verticalAlign}},$aside))}return h(props.tag,a(data,{staticClass:"media"}),$children)}}),MediaPlugin=pluginFactory({components:{BMedia:BMedia,BMediaAside:BMediaAside,BMediaBody:BMediaBody}}),PROP$1="$_documentListeners",listenOnDocumentMixin=extend({created:function(){this[PROP$1]={}},beforeDestroy:function(){var _this=this;keys(this[PROP$1]||{}).forEach((function(event){_this[PROP$1][event].forEach((function(callback){_this.listenOffDocument(event,callback)}))})),this[PROP$1]=null},methods:{registerDocumentListener:function(event,callback){this[PROP$1]&&(this[PROP$1][event]=this[PROP$1][event]||[],arrayIncludes(this[PROP$1][event],callback)||this[PROP$1][event].push(callback))},unregisterDocumentListener:function(event,callback){this[PROP$1]&&this[PROP$1][event]&&(this[PROP$1][event]=this[PROP$1][event].filter((function(cb){return cb!==callback})))},listenDocument:function(on,event,callback){on?this.listenOnDocument(event,callback):this.listenOffDocument(event,callback)},listenOnDocument:function(event,callback){IS_BROWSER&&(eventOn(document,event,callback,EVENT_OPTIONS_NO_CAPTURE),this.registerDocumentListener(event,callback))},listenOffDocument:function(event,callback){IS_BROWSER&&eventOff(document,event,callback,EVENT_OPTIONS_NO_CAPTURE),this.unregisterDocumentListener(event,callback)}}}),PROP="$_windowListeners",listenOnWindowMixin=extend({created:function(){this[PROP]={}},beforeDestroy:function(){var _this=this;keys(this[PROP]||{}).forEach((function(event){_this[PROP][event].forEach((function(callback){_this.listenOffWindow(event,callback)}))})),this[PROP]=null},methods:{registerWindowListener:function(event,callback){this[PROP]&&(this[PROP][event]=this[PROP][event]||[],arrayIncludes(this[PROP][event],callback)||this[PROP][event].push(callback))},unregisterWindowListener:function(event,callback){this[PROP]&&this[PROP][event]&&(this[PROP][event]=this[PROP][event].filter((function(cb){return cb!==callback})))},listenWindow:function(on,event,callback){on?this.listenOnWindow(event,callback):this.listenOffWindow(event,callback)},listenOnWindow:function(event,callback){IS_BROWSER&&(eventOn(window,event,callback,EVENT_OPTIONS_NO_CAPTURE),this.registerWindowListener(event,callback))},listenOffWindow:function(event,callback){IS_BROWSER&&eventOff(window,event,callback,EVENT_OPTIONS_NO_CAPTURE),this.unregisterWindowListener(event,callback)}}}),useParentMixin=extend({computed:{bvParent:function(){return this.$parent||this.$root===this&&this.$options.bvParent}}}),getScopeId=function(vm){var defaultValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return vm&&vm.$options._scopeId||defaultValue},scopedStyleMixin=extend({mixins:[useParentMixin],computed:{scopedStyleAttrs:function(){var scopeId=getScopeId(this.bvParent);return scopeId?_defineProperty({},scopeId,""):{}}}}),createNewChildComponent=function(parent,Component){var config=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},bvEventRoot=parent.$root?parent.$root.$options.bvEventRoot||parent.$root:null;return new Component(_objectSpread2$3(_objectSpread2$3({},config),{},{parent:parent,bvParent:parent,bvEventRoot:bvEventRoot}))},BVTransporterTarget=extend({abstract:!0,name:"BVTransporterTarget",props:{nodes:makeProp(PROP_TYPE_ARRAY_FUNCTION)},data:function(vm){return{updatedNodes:vm.nodes}},destroyed:function(){var el;(el=this.$el)&&el.parentNode&&el.parentNode.removeChild(el)},render:function(h){var updatedNodes=this.updatedNodes,$nodes=isFunction$1(updatedNodes)?updatedNodes({}):updatedNodes;return($nodes=concat($nodes).filter(identity))&&$nodes.length>0&&!$nodes[0].text?$nodes[0]:h()}}),props$W={container:makeProp([HTMLElement,PROP_TYPE_STRING],"body"),disabled:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"div")},BVTransporterVue2=extend({name:"BVTransporter",mixins:[normalizeSlotMixin],props:props$W,watch:{disabled:{immediate:!0,handler:function(disabled){disabled?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(IS_BROWSER){var container=this.container;return isString(container)?select(container):container}return null},mountTarget:function(){if(!this.$_target){var $container=this.getContainer();if($container){var $el=document.createElement("div");$container.appendChild($el),this.$_target=createNewChildComponent(this,BVTransporterTarget,{el:$el,propsData:{nodes:concat(this.normalizeSlot())}})}}},updateTarget:function(){if(IS_BROWSER&&this.$_target){var defaultFn=this.$scopedSlots.default;this.disabled||(defaultFn&&this.$_defaultFn!==defaultFn?this.$_target.updatedNodes=defaultFn:defaultFn||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=defaultFn}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(h){if(this.disabled){var $nodes=concat(this.normalizeSlot()).filter(identity);if($nodes.length>0&&!$nodes[0].text)return $nodes[0]}return h()}}),BVTransporterVue3=extend({name:"BVTransporter",mixins:[normalizeSlotMixin],props:props$W,render:function(h){if(this.disabled){var $nodes=concat(this.normalizeSlot()).filter(identity);if($nodes.length>0)return $nodes[0]}return h(Vue__default.default.Teleport,{to:this.container},this.normalizeSlot())}}),BVTransporter=isVue3?BVTransporterVue3:BVTransporterVue2,BvModalEvent=function(_BvEvent){_inherits(BvModalEvent,_BvEvent);var _super=_createSuper(BvModalEvent);function BvModalEvent(type){var _this,eventInit=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _classCallCheck(this,BvModalEvent),_this=_super.call(this,type,eventInit),defineProperties(_assertThisInitialized(_this),{trigger:{enumerable:!0,configurable:!1,writable:!1}}),_this}return _createClass(BvModalEvent,null,[{key:"Defaults",get:function(){return _objectSpread2$3(_objectSpread2$3({},_get(_getPrototypeOf(BvModalEvent),"Defaults",this)),{},{trigger:null})}}]),BvModalEvent}(BvEvent),modalManager=new(extend({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(newCount,oldCount){IS_BROWSER&&(this.getScrollbarWidth(),newCount>0&&0===oldCount?(this.checkScrollbar(),this.setScrollbar(),addClass(document.body,"modal-open")):0===newCount&&oldCount>0&&(this.resetScrollbar(),removeClass(document.body,"modal-open")),setAttr(document.body,"data-modal-open-count",String(newCount)))},modals:function(newValue){var _this=this;this.checkScrollbar(),requestAF((function(){_this.updateModals(newValue||[])}))}},methods:{registerModal:function(modal){modal&&-1===this.modals.indexOf(modal)&&this.modals.push(modal)},unregisterModal:function(modal){var index=this.modals.indexOf(modal);index>-1&&(this.modals.splice(index,1),modal._isBeingDestroyed||modal._isDestroyed||this.resetModal(modal))},getBaseZIndex:function(){if(IS_BROWSER&&isNull(this.baseZIndex)){var div=document.createElement("div");addClass(div,"modal-backdrop"),addClass(div,"d-none"),setStyle(div,"display","none"),document.body.appendChild(div),this.baseZIndex=toInteger(getCS(div).zIndex,1040),document.body.removeChild(div)}return this.baseZIndex||1040},getScrollbarWidth:function(){if(IS_BROWSER&&isNull(this.scrollbarWidth)){var div=document.createElement("div");addClass(div,"modal-scrollbar-measure"),document.body.appendChild(div),this.scrollbarWidth=getBCR(div).width-div.clientWidth,document.body.removeChild(div)}return this.scrollbarWidth||0},updateModals:function(modals){var _this2=this,baseZIndex=this.getBaseZIndex(),scrollbarWidth=this.getScrollbarWidth();modals.forEach((function(modal,index){modal.zIndex=baseZIndex+index,modal.scrollbarWidth=scrollbarWidth,modal.isTop=index===_this2.modals.length-1,modal.isBodyOverflowing=_this2.isBodyOverflowing}))},resetModal:function(modal){modal&&(modal.zIndex=this.getBaseZIndex(),modal.isTop=!0,modal.isBodyOverflowing=!1)},checkScrollbar:function(){var _getBCR=getBCR(document.body),left=_getBCR.left,right=_getBCR.right;this.isBodyOverflowing=left+right<window.innerWidth},setScrollbar:function(){var body=document.body;if(body._paddingChangedForModal=body._paddingChangedForModal||[],body._marginChangedForModal=body._marginChangedForModal||[],this.isBodyOverflowing){var scrollbarWidth=this.scrollbarWidth;selectAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top").forEach((function(el){var actualPadding=getStyle(el,"paddingRight")||"";setAttr(el,"data-padding-right",actualPadding),setStyle(el,"paddingRight","".concat(toFloat(getCS(el).paddingRight,0)+scrollbarWidth,"px")),body._paddingChangedForModal.push(el)})),selectAll(".sticky-top").forEach((function(el){var actualMargin=getStyle(el,"marginRight")||"";setAttr(el,"data-margin-right",actualMargin),setStyle(el,"marginRight","".concat(toFloat(getCS(el).marginRight,0)-scrollbarWidth,"px")),body._marginChangedForModal.push(el)})),selectAll(".navbar-toggler").forEach((function(el){var actualMargin=getStyle(el,"marginRight")||"";setAttr(el,"data-margin-right",actualMargin),setStyle(el,"marginRight","".concat(toFloat(getCS(el).marginRight,0)+scrollbarWidth,"px")),body._marginChangedForModal.push(el)}));var actualPadding=getStyle(body,"paddingRight")||"";setAttr(body,"data-padding-right",actualPadding),setStyle(body,"paddingRight","".concat(toFloat(getCS(body).paddingRight,0)+scrollbarWidth,"px"))}},resetScrollbar:function(){var body=document.body;body._paddingChangedForModal&&body._paddingChangedForModal.forEach((function(el){hasAttr(el,"data-padding-right")&&(setStyle(el,"paddingRight",getAttr(el,"data-padding-right")||""),removeAttr(el,"data-padding-right"))})),body._marginChangedForModal&&body._marginChangedForModal.forEach((function(el){hasAttr(el,"data-margin-right")&&(setStyle(el,"marginRight",getAttr(el,"data-margin-right")||""),removeAttr(el,"data-margin-right"))})),body._paddingChangedForModal=null,body._marginChangedForModal=null,hasAttr(body,"data-padding-right")&&(setStyle(body,"paddingRight",getAttr(body,"data-padding-right")||""),removeAttr(body,"data-padding-right"))}}})),_makeModelMixin$5=makeModelMixin("visible",{type:PROP_TYPE_BOOLEAN,defaultValue:!1,event:"change"}),modelMixin$5=_makeModelMixin$5.mixin,modelProps$5=_makeModelMixin$5.props,MODEL_PROP_NAME$5=_makeModelMixin$5.prop,MODEL_EVENT_NAME$5=_makeModelMixin$5.event,BUTTONS=["cancel","headerclose","ok"],OBSERVER_CONFIG={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},props$V=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$5),{},{ariaLabel:makeProp(PROP_TYPE_STRING),autoFocusButton:makeProp(PROP_TYPE_STRING,null,(function(value){return isUndefinedOrNull(value)||arrayIncludes(BUTTONS,value)})),bodyBgVariant:makeProp(PROP_TYPE_STRING),bodyClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),bodyTextVariant:makeProp(PROP_TYPE_STRING),busy:makeProp(PROP_TYPE_BOOLEAN,!1),buttonSize:makeProp(PROP_TYPE_STRING),cancelDisabled:makeProp(PROP_TYPE_BOOLEAN,!1),cancelTitle:makeProp(PROP_TYPE_STRING,"Cancel"),cancelTitleHtml:makeProp(PROP_TYPE_STRING),cancelVariant:makeProp(PROP_TYPE_STRING,"secondary"),centered:makeProp(PROP_TYPE_BOOLEAN,!1),contentClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),dialogClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),footerBgVariant:makeProp(PROP_TYPE_STRING),footerBorderVariant:makeProp(PROP_TYPE_STRING),footerClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),footerTag:makeProp(PROP_TYPE_STRING,"footer"),footerTextVariant:makeProp(PROP_TYPE_STRING),headerBgVariant:makeProp(PROP_TYPE_STRING),headerBorderVariant:makeProp(PROP_TYPE_STRING),headerClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),headerCloseContent:makeProp(PROP_TYPE_STRING,"&times;"),headerCloseLabel:makeProp(PROP_TYPE_STRING,"Close"),headerCloseVariant:makeProp(PROP_TYPE_STRING),headerTag:makeProp(PROP_TYPE_STRING,"header"),headerTextVariant:makeProp(PROP_TYPE_STRING),hideBackdrop:makeProp(PROP_TYPE_BOOLEAN,!1),hideFooter:makeProp(PROP_TYPE_BOOLEAN,!1),hideHeader:makeProp(PROP_TYPE_BOOLEAN,!1),hideHeaderClose:makeProp(PROP_TYPE_BOOLEAN,!1),ignoreEnforceFocusSelector:makeProp(PROP_TYPE_ARRAY_STRING),lazy:makeProp(PROP_TYPE_BOOLEAN,!1),modalClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),noCloseOnBackdrop:makeProp(PROP_TYPE_BOOLEAN,!1),noCloseOnEsc:makeProp(PROP_TYPE_BOOLEAN,!1),noEnforceFocus:makeProp(PROP_TYPE_BOOLEAN,!1),noFade:makeProp(PROP_TYPE_BOOLEAN,!1),noStacking:makeProp(PROP_TYPE_BOOLEAN,!1),okDisabled:makeProp(PROP_TYPE_BOOLEAN,!1),okOnly:makeProp(PROP_TYPE_BOOLEAN,!1),okTitle:makeProp(PROP_TYPE_STRING,"OK"),okTitleHtml:makeProp(PROP_TYPE_STRING),okVariant:makeProp(PROP_TYPE_STRING,"primary"),returnFocus:makeProp([HTMLElement,PROP_TYPE_OBJECT,PROP_TYPE_STRING]),scrollable:makeProp(PROP_TYPE_BOOLEAN,!1),size:makeProp(PROP_TYPE_STRING,"md"),static:makeProp(PROP_TYPE_BOOLEAN,!1),title:makeProp(PROP_TYPE_STRING),titleClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),titleHtml:makeProp(PROP_TYPE_STRING),titleSrOnly:makeProp(PROP_TYPE_BOOLEAN,!1),titleTag:makeProp(PROP_TYPE_STRING,"h5")})),"BModal"),BModal=extend({name:"BModal",mixins:[attrsMixin,idMixin,modelMixin$5,listenOnDocumentMixin,listenOnRootMixin,listenOnWindowMixin,normalizeSlotMixin,scopedStyleMixin],inheritAttrs:!1,props:props$V,data:function(){return{isHidden:!0,isVisible:!1,isTransitioning:!1,isShow:!1,isBlock:!1,isOpening:!1,isClosing:!1,ignoreBackdropClick:!1,isModalOverflowing:!1,scrollbarWidth:0,zIndex:modalManager.getBaseZIndex(),isTop:!0,isBodyOverflowing:!1}},computed:{modalId:function(){return this.safeId()},modalOuterId:function(){return this.safeId("__BV_modal_outer_")},modalHeaderId:function(){return this.safeId("__BV_modal_header_")},modalBodyId:function(){return this.safeId("__BV_modal_body_")},modalTitleId:function(){return this.safeId("__BV_modal_title_")},modalContentId:function(){return this.safeId("__BV_modal_content_")},modalFooterId:function(){return this.safeId("__BV_modal_footer_")},modalBackdropId:function(){return this.safeId("__BV_modal_backdrop_")},modalClasses:function(){return[{fade:!this.noFade,show:this.isShow},this.modalClass]},modalStyles:function(){var sbWidth="".concat(this.scrollbarWidth,"px");return{paddingLeft:!this.isBodyOverflowing&&this.isModalOverflowing?sbWidth:"",paddingRight:this.isBodyOverflowing&&!this.isModalOverflowing?sbWidth:"",display:this.isBlock?"block":"none"}},dialogClasses:function(){var _ref;return[(_ref={},_defineProperty(_ref,"modal-".concat(this.size),this.size),_defineProperty(_ref,"modal-dialog-centered",this.centered),_defineProperty(_ref,"modal-dialog-scrollable",this.scrollable),_ref),this.dialogClass]},headerClasses:function(){var _ref2;return[(_ref2={},_defineProperty(_ref2,"bg-".concat(this.headerBgVariant),this.headerBgVariant),_defineProperty(_ref2,"text-".concat(this.headerTextVariant),this.headerTextVariant),_defineProperty(_ref2,"border-".concat(this.headerBorderVariant),this.headerBorderVariant),_ref2),this.headerClass]},titleClasses:function(){return[{"sr-only":this.titleSrOnly},this.titleClass]},bodyClasses:function(){var _ref3;return[(_ref3={},_defineProperty(_ref3,"bg-".concat(this.bodyBgVariant),this.bodyBgVariant),_defineProperty(_ref3,"text-".concat(this.bodyTextVariant),this.bodyTextVariant),_ref3),this.bodyClass]},footerClasses:function(){var _ref4;return[(_ref4={},_defineProperty(_ref4,"bg-".concat(this.footerBgVariant),this.footerBgVariant),_defineProperty(_ref4,"text-".concat(this.footerTextVariant),this.footerTextVariant),_defineProperty(_ref4,"border-".concat(this.footerBorderVariant),this.footerBorderVariant),_ref4),this.footerClass]},modalOuterStyle:function(){return{position:"absolute",zIndex:this.zIndex}},slotScope:function(){return{cancel:this.onCancel,close:this.onClose,hide:this.hide,ok:this.onOk,visible:this.isVisible}},computeIgnoreEnforceFocusSelector:function(){return concat(this.ignoreEnforceFocusSelector).filter(identity).join(",").trim()},computedAttrs:function(){return _objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},this.static?{}:this.scopedStyleAttrs),this.bvAttrs),{},{id:this.modalOuterId})},computedModalAttrs:function(){var isVisible=this.isVisible,ariaLabel=this.ariaLabel;return{id:this.modalId,role:"dialog","aria-hidden":isVisible?null:"true","aria-modal":isVisible?"true":null,"aria-label":ariaLabel,"aria-labelledby":this.hideHeader||ariaLabel||!(this.hasNormalizedSlot("modal-title")||this.titleHtml||this.title)?null:this.modalTitleId,"aria-describedby":this.modalBodyId}}},watch:_defineProperty({},MODEL_PROP_NAME$5,(function(newValue,oldValue){newValue!==oldValue&&this[newValue?"show":"hide"]()})),created:function(){this.$_observer=null,this.$_returnFocus=this.returnFocus||null},mounted:function(){this.zIndex=modalManager.getBaseZIndex(),this.listenOnRoot(getRootActionEventName("BModal","show"),this.showHandler),this.listenOnRoot(getRootActionEventName("BModal","hide"),this.hideHandler),this.listenOnRoot(getRootActionEventName("BModal","toggle"),this.toggleHandler),this.listenOnRoot(getRootEventName("BModal","show"),this.modalListener),!0===this[MODEL_PROP_NAME$5]&&this.$nextTick(this.show)},beforeDestroy:function(){modalManager.unregisterModal(this),this.setObserver(!1),this.isVisible&&(this.isVisible=!1,this.isShow=!1,this.isTransitioning=!1)},methods:{setObserver:function(){var on=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,on&&(this.$_observer=observeDom(this.$refs.content,this.checkModalOverflow.bind(this),OBSERVER_CONFIG))},updateModel:function(value){value!==this[MODEL_PROP_NAME$5]&&this.$emit(MODEL_EVENT_NAME$5,value)},buildEvent:function(type){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new BvModalEvent(type,_objectSpread2$3(_objectSpread2$3({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},options),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!this.isVisible&&!this.isOpening)if(this.isClosing)this.$once("hidden",this.show);else{this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var showEvent=this.buildEvent("show",{cancelable:!0});if(this.emitEvent(showEvent),showEvent.defaultPrevented||this.isVisible)return this.isOpening=!1,void this.updateModel(!1);this.doShow()}},hide:function(){var trigger=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.isVisible&&!this.isClosing){this.isClosing=!0;var hideEvent=this.buildEvent("hide",{cancelable:"FORCE"!==trigger,trigger:trigger||null});if("ok"===trigger?this.$emit("ok",hideEvent):"cancel"===trigger?this.$emit("cancel",hideEvent):"headerclose"===trigger&&this.$emit("close",hideEvent),this.emitEvent(hideEvent),hideEvent.defaultPrevented||!this.isVisible)return this.isClosing=!1,void this.updateModel(!0);this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(triggerEl){triggerEl&&(this.$_returnFocus=triggerEl),this.isVisible?this.hide("toggle"):this.show()},getActiveElement:function(){var activeElement=getActiveElement(IS_BROWSER?[document.body]:[]);return activeElement&&activeElement.focus?activeElement:null},doShow:function(){var _this=this;modalManager.modalsAreOpen&&this.noStacking?this.listenOnRootOnce(getRootEventName("BModal","hidden"),this.doShow):(modalManager.registerModal(this),this.isHidden=!1,this.$nextTick((function(){_this.isVisible=!0,_this.isOpening=!1,_this.updateModel(!0),_this.$nextTick((function(){_this.setObserver(!0)}))})))},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var _this2=this;this.isBlock=!0,requestAF((function(){requestAF((function(){_this2.isShow=!0}))}))},onAfterEnter:function(){var _this3=this;this.checkModalOverflow(),this.isTransitioning=!1,requestAF((function(){_this3.emitEvent(_this3.buildEvent("shown")),_this3.setEnforceFocus(!0),_this3.$nextTick((function(){_this3.focusFirst()}))}))},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var _this4=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick((function(){_this4.isClosing=!1,modalManager.unregisterModal(_this4),_this4.returnFocusTo(),_this4.emitEvent(_this4.buildEvent("hidden"))}))},emitEvent:function(bvEvent){var type=bvEvent.type;this.emitOnRoot(getRootEventName("BModal",type),bvEvent,bvEvent.componentId),this.$emit(type,bvEvent)},onDialogMousedown:function(){var _this5=this,modal=this.$refs.modal;eventOn(modal,"mouseup",(function onceModalMouseup(event){eventOff(modal,"mouseup",onceModalMouseup,EVENT_OPTIONS_NO_CAPTURE),event.target===modal&&(_this5.ignoreBackdropClick=!0)}),EVENT_OPTIONS_NO_CAPTURE)},onClickOut:function(event){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:this.isVisible&&!this.noCloseOnBackdrop&&contains(document.body,event.target)&&(contains(this.$refs.content,event.target)||this.hide("backdrop"))},onOk:function(){this.hide("ok")},onCancel:function(){this.hide("cancel")},onClose:function(){this.hide("headerclose")},onEsc:function(event){27===event.keyCode&&this.isVisible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(event){var content=this.$refs.content,target=event.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!content||document===target||contains(content,target)||this.computeIgnoreEnforceFocusSelector&&closest(this.computeIgnoreEnforceFocusSelector,target,!0))){var tabables=getTabables(this.$refs.content),bottomTrap=this.$refs["bottom-trap"],topTrap=this.$refs["top-trap"];if(bottomTrap&&target===bottomTrap){if(attemptFocus(tabables[0]))return}else if(topTrap&&target===topTrap&&attemptFocus(tabables[tabables.length-1]))return;attemptFocus(content,{preventScroll:!0})}},setEnforceFocus:function(on){this.listenDocument(on,"focusin",this.focusHandler)},setResizeEvent:function(on){this.listenWindow(on,"resize",this.checkModalOverflow),this.listenWindow(on,"orientationchange",this.checkModalOverflow)},showHandler:function(id,triggerEl){id===this.modalId&&(this.$_returnFocus=triggerEl||this.getActiveElement(),this.show())},hideHandler:function(id){id===this.modalId&&this.hide("event")},toggleHandler:function(id,triggerEl){id===this.modalId&&this.toggle(triggerEl)},modalListener:function(bvEvent){this.noStacking&&bvEvent.vueTarget!==this&&this.hide()},focusFirst:function(){var _this6=this;IS_BROWSER&&requestAF((function(){var modal=_this6.$refs.modal,content=_this6.$refs.content,activeElement=_this6.getActiveElement();if(modal&&content&&(!activeElement||!contains(content,activeElement))){var ok=_this6.$refs["ok-button"],cancel=_this6.$refs["cancel-button"],close=_this6.$refs["close-button"],autoFocus=_this6.autoFocusButton,el="ok"===autoFocus&&ok?ok.$el||ok:"cancel"===autoFocus&&cancel?cancel.$el||cancel:"headerclose"===autoFocus&&close?close.$el||close:content;attemptFocus(el),el===content&&_this6.$nextTick((function(){modal.scrollTop=0}))}}))},returnFocusTo:function(){var el=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick((function(){(el=isString(el)?select(el):el)&&(el=el.$el||el,attemptFocus(el))}))},checkModalOverflow:function(){if(this.isVisible){var modal=this.$refs.modal;this.isModalOverflowing=modal.scrollHeight>document.documentElement.clientHeight}},makeModal:function(h){var $header=h();if(!this.hideHeader){var $modalHeader=this.normalizeSlot("modal-header",this.slotScope);if(!$modalHeader){var $closeButton=h();this.hideHeaderClose||($closeButton=h(BButtonClose,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot("modal-header-close")])),$modalHeader=[h(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot("modal-title")?{}:htmlOrText(this.titleHtml,this.title)},this.normalizeSlot("modal-title",this.slotScope)),$closeButton]}$header=h(this.headerTag,{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[$modalHeader])}var $body=h("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot("default",this.slotScope)),$footer=h();if(!this.hideFooter){var $modalFooter=this.normalizeSlot("modal-footer",this.slotScope);if(!$modalFooter){var $cancelButton=h();this.okOnly||($cancelButton=h(BButton,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-cancel")?{}:htmlOrText(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot("modal-cancel"))),$modalFooter=[$cancelButton,h(BButton,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-ok")?{}:htmlOrText(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot("modal-ok"))]}$footer=h(this.footerTag,{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[$modalFooter])}var $modalContent=h("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[$header,$body,$footer]),$tabTrapTop=h(),$tabTrapBottom=h();this.isVisible&&!this.noEnforceFocus&&($tabTrapTop=h("span",{attrs:{tabindex:"0"},ref:"top-trap"}),$tabTrapBottom=h("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var $modalDialog=h("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[$tabTrapTop,$modalContent,$tabTrapBottom]),$modal=h("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[$modalDialog]);$modal=h("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[$modal]);var $backdrop=h();return!this.hideBackdrop&&this.isVisible&&($backdrop=h("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot("modal-backdrop"))),$backdrop=h(BVTransition,{props:{noFade:this.noFade}},[$backdrop]),h("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this._uid)},[$modal,$backdrop])}},render:function(h){return this.static?this.lazy&&this.isHidden?h():this.makeModal(h):this.isHidden?h():h(BVTransporter,[this.makeModal(h)])}}),ROOT_ACTION_EVENT_NAME_SHOW=getRootActionEventName("BModal","show"),PROPERTY="__bv_modal_directive__",getTarget=function(_ref){var _ref$modifiers=_ref.modifiers,modifiers=void 0===_ref$modifiers?{}:_ref$modifiers,arg=_ref.arg,value=_ref.value;return isString(value)?value:isString(arg)?arg:keys(modifiers).reverse()[0]},getTriggerElement=function(el){return el&&matches(el,".dropdown-menu > li, li.nav-item")&&select("a, button",el)||el},setRole=function(trigger){trigger&&"BUTTON"!==trigger.tagName&&(hasAttr(trigger,"role")||setAttr(trigger,"role","button"),"A"===trigger.tagName||hasAttr(trigger,"tabindex")||setAttr(trigger,"tabindex","0"))},unbind=function(el){var oldProp=el[PROPERTY]||{},trigger=oldProp.trigger,handler=oldProp.handler;trigger&&handler&&(eventOff(trigger,"click",handler,EVENT_OPTIONS_PASSIVE),eventOff(trigger,"keydown",handler,EVENT_OPTIONS_PASSIVE),eventOff(el,"click",handler,EVENT_OPTIONS_PASSIVE),eventOff(el,"keydown",handler,EVENT_OPTIONS_PASSIVE)),delete el[PROPERTY]},componentUpdated=function(el,binding,vnode){var oldProp=el[PROPERTY]||{},target=getTarget(binding),trigger=getTriggerElement(el);target===oldProp.target&&trigger===oldProp.trigger||(unbind(el),function(el,binding,vnode){var target=getTarget(binding),trigger=getTriggerElement(el);if(target&&trigger){var handler=function(event){var currentTarget=event.currentTarget;if(!isDisabled(currentTarget)){var type=event.type,key=event.keyCode;"click"!==type&&("keydown"!==type||key!==CODE_ENTER&&key!==CODE_SPACE)||getEventRoot(getInstanceFromDirective(vnode,binding)).$emit(ROOT_ACTION_EVENT_NAME_SHOW,target,currentTarget)}};el[PROPERTY]={handler:handler,target:target,trigger:trigger},setRole(trigger),eventOn(trigger,"click",handler,EVENT_OPTIONS_PASSIVE),"BUTTON"!==trigger.tagName&&"button"===getAttr(trigger,"role")&&eventOn(trigger,"keydown",handler,EVENT_OPTIONS_PASSIVE)}}(el,binding,vnode)),setRole(trigger)},VBModal={inserted:componentUpdated,updated:function(){},componentUpdated:componentUpdated,unbind:unbind},BASE_PROPS$1=["id"].concat(_toConsumableArray$1(keys(omit(props$V,["busy","lazy","noStacking","static","visible"])))),defaultResolver=function(){},propsToSlots$1={msgBoxContent:"default",title:"modal-title",okTitle:"modal-ok",cancelTitle:"modal-cancel"},filterOptions$1=function(options){return BASE_PROPS$1.reduce((function(memo,key){return isUndefined(options[key])||(memo[key]=options[key]),memo}),{})},BVModalPlugin=pluginFactory({plugins:{plugin:function(Vue){var BMsgBox=Vue.extend({name:"BMsgBox",extends:BModal,mixins:[useParentMixin],destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},mounted:function(){var _this=this,handleDestroy=function(){_this.$nextTick((function(){requestAF((function(){_this.$destroy()}))}))};this.bvParent.$once(HOOK_EVENT_NAME_DESTROYED,handleDestroy),this.$once("hidden",handleDestroy),this.$router&&this.$route&&this.$once(HOOK_EVENT_NAME_BEFORE_DESTROY,this.$watch("$router",handleDestroy)),this.show()}}),makeMsgBox=function(parent,content){var options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},resolver=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(content&&!warnNoPromiseSupport("$bvModal")&&!warnNotClient("$bvModal")&&isFunction$1(resolver))return function(parent,props){var resolver=arguments.length>2&&void 0!==arguments[2]?arguments[2]:defaultResolver;if(!warnNotClient("$bvModal")&&!warnNoPromiseSupport("$bvModal")){var msgBox=createNewChildComponent(parent,BMsgBox,{propsData:_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},filterOptions$1(getComponentConfig("BModal"))),{},{hideHeaderClose:!0,hideHeader:!(props.title||props.titleHtml)},omit(props,keys(propsToSlots$1))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return keys(propsToSlots$1).forEach((function(prop){isUndefined(props[prop])||(msgBox.$slots[propsToSlots$1[prop]]=concat(props[prop]))})),new Promise((function(resolve,reject){var resolved=!1;msgBox.$once(HOOK_EVENT_NAME_DESTROYED,(function(){resolved||reject(new Error("BootstrapVue MsgBox destroyed before resolve"))})),msgBox.$on("hide",(function(bvModalEvent){if(!bvModalEvent.defaultPrevented){var result=resolver(bvModalEvent);bvModalEvent.defaultPrevented||(resolved=!0,resolve(result))}}));var div=document.createElement("div");document.body.appendChild(div),msgBox.$mount(div)}))}}(parent,_objectSpread2$3(_objectSpread2$3({},filterOptions$1(options)),{},{msgBoxContent:content}),resolver)},BvModal=function(){function BvModal(vm){_classCallCheck(this,BvModal),assign(this,{_vm:vm,_root:getEventRoot(vm)}),defineProperties(this,{_vm:{enumerable:!0,configurable:!1,writable:!1},_root:{enumerable:!0,configurable:!1,writable:!1}})}return _createClass(BvModal,[{key:"show",value:function(id){if(id&&this._root){for(var _this$_root,_len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];(_this$_root=this._root).$emit.apply(_this$_root,[getRootActionEventName("BModal","show"),id].concat(args))}}},{key:"hide",value:function(id){if(id&&this._root){for(var _this$_root2,_len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];(_this$_root2=this._root).$emit.apply(_this$_root2,[getRootActionEventName("BModal","hide"),id].concat(args))}}},{key:"msgBoxOk",value:function(message){var props=_objectSpread2$3(_objectSpread2$3({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:message});return makeMsgBox(this._vm,message,props,(function(){return!0}))}},{key:"msgBoxConfirm",value:function(message){var props=_objectSpread2$3(_objectSpread2$3({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return makeMsgBox(this._vm,message,props,(function(bvModalEvent){var trigger=bvModalEvent.trigger;return"ok"===trigger||"cancel"!==trigger&&null}))}}]),BvModal}();Vue.mixin({beforeCreate:function(){this._bv__modal=new BvModal(this)}}),hasOwnProperty(Vue.prototype,"$bvModal")||defineProperty$1(Vue.prototype,"$bvModal",{get:function(){return this&&this._bv__modal||warn('"'.concat("$bvModal",'" must be accessed from a Vue instance "this" context.'),"BModal"),this._bv__modal}})}}}),ModalPlugin=pluginFactory({components:{BModal:BModal},directives:{VBModal:VBModal},plugins:{BVModalPlugin:BVModalPlugin}}),props$U=makePropsConfigurable({align:makeProp(PROP_TYPE_STRING),cardHeader:makeProp(PROP_TYPE_BOOLEAN,!1),fill:makeProp(PROP_TYPE_BOOLEAN,!1),justified:makeProp(PROP_TYPE_BOOLEAN,!1),pills:makeProp(PROP_TYPE_BOOLEAN,!1),small:makeProp(PROP_TYPE_BOOLEAN,!1),tabs:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"ul"),vertical:makeProp(PROP_TYPE_BOOLEAN,!1)},"BNav"),BNav=extend({name:"BNav",functional:!0,props:props$U,render:function(h,_ref){var _class,value,props=_ref.props,data=_ref.data,children=_ref.children,tabs=props.tabs,pills=props.pills,vertical=props.vertical,align=props.align,cardHeader=props.cardHeader;return h(props.tag,a(data,{staticClass:"nav",class:(_class={"nav-tabs":tabs,"nav-pills":pills&&!tabs,"card-header-tabs":!vertical&&cardHeader&&tabs,"card-header-pills":!vertical&&cardHeader&&pills&&!tabs,"flex-column":vertical,"nav-fill":!vertical&&props.fill,"nav-justified":!vertical&&props.justified},_defineProperty(_class,(value=align,"justify-content-".concat(value="left"===value?"start":"right"===value?"end":value)),!vertical&&align),_defineProperty(_class,"small",props.small),_class)}),children)}}),linkProps$2=omit(props$2f,["event","routerTag"]),props$T=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},linkProps$2),{},{linkAttrs:makeProp(PROP_TYPE_OBJECT,{}),linkClasses:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)})),"BNavItem"),BNavItem=extend({name:"BNavItem",functional:!0,props:props$T,render:function(h,_ref){var props=_ref.props,data=_ref.data,listeners=_ref.listeners,children=_ref.children;return h("li",a(omit(data,["on"]),{staticClass:"nav-item"}),[h(BLink,{staticClass:"nav-link",class:props.linkClasses,attrs:props.linkAttrs,props:pluckProps(linkProps$2,props),on:listeners},children)])}}),BNavText=extend({name:"BNavText",functional:!0,props:{},render:function(h,_ref){var data=_ref.data,children=_ref.children;return h("li",a(data,{staticClass:"navbar-text"}),children)}}),formProps=omit(props$1I,["inline"]),props$R=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},formProps),{},{formClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)})),"BNavForm"),BNavForm=extend({name:"BNavForm",functional:!0,props:props$R,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,listeners=_ref.listeners,$form=h(BForm,{class:props.formClass,props:_objectSpread2$3(_objectSpread2$3({},pluckProps(formProps,props)),{},{inline:!0}),attrs:data.attrs,on:listeners},children);return h("li",a(omit(data,["attrs","on"]),{staticClass:"form-inline"}),[$form])}}),props$Q=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$25),pick$1(props$1N,[].concat(_toConsumableArray$1(keys(props$1O)),["html","lazy","menuClass","noCaret","role","text","toggleClass"])))),"BNavItemDropdown"),BNavItemDropdown=extend({name:"BNavItemDropdown",mixins:[idMixin,dropdownMixin,normalizeSlotMixin],props:props$Q,computed:{toggleId:function(){return this.safeId("_BV_toggle_")},menuId:function(){return this.safeId("_BV_toggle_menu_")},dropdownClasses:function(){return[this.directionClass,this.boundaryClass,{show:this.visible}]},menuClasses:function(){return[this.menuClass,{"dropdown-menu-right":this.right,show:this.visible}]},toggleClasses:function(){return[this.toggleClass,{"dropdown-toggle-no-caret":this.noCaret}]}},render:function(h){var toggleId=this.toggleId,menuId=this.menuId,visible=this.visible,hide=this.hide,$toggle=h(BLink,{staticClass:"nav-link dropdown-toggle",class:this.toggleClasses,props:{href:"#".concat(this.id||""),disabled:this.disabled},attrs:{id:toggleId,role:"button","aria-haspopup":"true","aria-expanded":visible?"true":"false","aria-controls":menuId},on:{mousedown:this.onMousedown,click:this.toggle,keydown:this.toggle},ref:"toggle"},[this.normalizeSlot(["button-content","text"])||h("span",{domProps:htmlOrText(this.html,this.text)})]),$menu=h("ul",{staticClass:"dropdown-menu",class:this.menuClasses,attrs:{tabindex:"-1","aria-labelledby":toggleId,id:menuId},on:{keydown:this.onKeydown},ref:"menu"},!this.lazy||visible?this.normalizeSlot("default",{hide:hide}):[h()]);return h("li",{staticClass:"nav-item b-nav-dropdown dropdown",class:this.dropdownClasses,attrs:{id:this.safeId()}},[$toggle,$menu])}}),NavPlugin=pluginFactory({components:{BNav:BNav,BNavItem:BNavItem,BNavText:BNavText,BNavForm:BNavForm,BNavItemDropdown:BNavItemDropdown,BNavItemDd:BNavItemDropdown,BNavDropdown:BNavItemDropdown,BNavDd:BNavItemDropdown},plugins:{DropdownPlugin:DropdownPlugin}}),props$P=makePropsConfigurable({fixed:makeProp(PROP_TYPE_STRING),print:makeProp(PROP_TYPE_BOOLEAN,!1),sticky:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"nav"),toggleable:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),type:makeProp(PROP_TYPE_STRING,"light"),variant:makeProp(PROP_TYPE_STRING)},"BNavbar"),BNavbar=extend({name:"BNavbar",mixins:[normalizeSlotMixin],provide:function(){var _this=this;return{getBvNavbar:function(){return _this}}},props:props$P,computed:{breakpointClass:function(){var toggleable=this.toggleable,xs=getBreakpoints()[0],breakpoint=null;return toggleable&&isString(toggleable)&&toggleable!==xs?breakpoint="navbar-expand-".concat(toggleable):!1===toggleable&&(breakpoint="navbar-expand"),breakpoint}},render:function(h){var _ref,tag=this.tag,type=this.type,variant=this.variant,fixed=this.fixed;return h(tag,{staticClass:"navbar",class:[(_ref={"d-print":this.print,"sticky-top":this.sticky},_defineProperty(_ref,"navbar-".concat(type),type),_defineProperty(_ref,"bg-".concat(variant),variant),_defineProperty(_ref,"fixed-".concat(fixed),fixed),_ref),this.breakpointClass],attrs:{role:isTag(tag,"nav")?null:"navigation"}},[this.normalizeSlot()])}}),props$O=makePropsConfigurable(pick$1(props$U,["tag","fill","justified","align","small"]),"BNavbarNav"),BNavbarNav=extend({name:"BNavbarNav",functional:!0,props:props$O,render:function(h,_ref){var _class,value,props=_ref.props,data=_ref.data,children=_ref.children,align=props.align;return h(props.tag,a(data,{staticClass:"navbar-nav",class:(_class={"nav-fill":props.fill,"nav-justified":props.justified},_defineProperty(_class,(value=align,"justify-content-".concat(value="left"===value?"start":"right"===value?"end":value)),align),_defineProperty(_class,"small",props.small),_class)}),children)}}),linkProps$1=omit(props$2f,["event","routerTag"]);linkProps$1.href.default=void 0,linkProps$1.to.default=void 0;var _watch$6,_makePropsConfigurabl,_watch$5,_watch$4,props$N=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},linkProps$1),{},{tag:makeProp(PROP_TYPE_STRING,"div")})),"BNavbarBrand"),BNavbarBrand=extend({name:"BNavbarBrand",functional:!0,props:props$N,render:function(h,_ref){var props=_ref.props,data=_ref.data,children=_ref.children,isLink=props.to||props.href;return h(isLink?BLink:props.tag,a(data,{staticClass:"navbar-brand",props:isLink?pluckProps(linkProps$1,props):{}}),children)}}),ROOT_EVENT_NAME_STATE$1=getRootEventName("BCollapse","state"),ROOT_EVENT_NAME_SYNC_STATE$1=getRootEventName("BCollapse","sync-state"),props$M=makePropsConfigurable({disabled:makeProp(PROP_TYPE_BOOLEAN,!1),label:makeProp(PROP_TYPE_STRING,"Toggle navigation"),target:makeProp(PROP_TYPE_ARRAY_STRING,void 0,!0)},"BNavbarToggle"),BNavbarToggle=extend({name:"BNavbarToggle",directives:{VBToggle:VBToggle},mixins:[listenOnRootMixin,normalizeSlotMixin],props:props$M,data:function(){return{toggleState:!1}},created:function(){this.listenOnRoot(ROOT_EVENT_NAME_STATE$1,this.handleStateEvent),this.listenOnRoot(ROOT_EVENT_NAME_SYNC_STATE$1,this.handleStateEvent)},methods:{onClick:function(event){this.disabled||this.$emit("click",event)},handleStateEvent:function(id,state){id===this.target&&(this.toggleState=state)}},render:function(h){var disabled=this.disabled;return h("button",{staticClass:"navbar-toggler",class:{disabled:disabled},directives:[{name:"VBToggle",value:this.target}],attrs:{type:"button",disabled:disabled,"aria-label":this.label},on:{click:this.onClick}},[this.normalizeSlot("default",{expanded:this.toggleState})||h("span",{staticClass:"".concat("navbar-toggler","-icon")})])}}),NavbarPlugin=pluginFactory({components:{BNavbar:BNavbar,BNavbarNav:BNavbarNav,BNavbarBrand:BNavbarBrand,BNavbarToggle:BNavbarToggle,BNavToggle:BNavbarToggle},plugins:{NavPlugin:NavPlugin,CollapsePlugin:CollapsePlugin,DropdownPlugin:DropdownPlugin}}),props$L=makePropsConfigurable({label:makeProp(PROP_TYPE_STRING),role:makeProp(PROP_TYPE_STRING,"status"),small:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"span"),type:makeProp(PROP_TYPE_STRING,"border"),variant:makeProp(PROP_TYPE_STRING)},"BSpinner"),BSpinner=extend({name:"BSpinner",functional:!0,props:props$L,render:function(h,_ref){var _class,props=_ref.props,data=_ref.data,slots=_ref.slots,scopedSlots=_ref.scopedSlots,$slots=slots(),$label=normalizeSlot("label",{},scopedSlots||{},$slots)||props.label;return $label&&($label=h("span",{staticClass:"sr-only"},$label)),h(props.tag,a(data,{attrs:{role:$label?props.role||"status":null,"aria-hidden":$label?null:"true"},class:(_class={},_defineProperty(_class,"spinner-".concat(props.type),props.type),_defineProperty(_class,"spinner-".concat(props.type,"-sm"),props.small),_defineProperty(_class,"text-".concat(props.variant),props.variant),_class)}),[$label||h()])}}),POSITION_COVER={top:0,left:0,bottom:0,right:0},props$K=makePropsConfigurable({bgColor:makeProp(PROP_TYPE_STRING),blur:makeProp(PROP_TYPE_STRING,"2px"),fixed:makeProp(PROP_TYPE_BOOLEAN,!1),noCenter:makeProp(PROP_TYPE_BOOLEAN,!1),noFade:makeProp(PROP_TYPE_BOOLEAN,!1),noWrap:makeProp(PROP_TYPE_BOOLEAN,!1),opacity:makeProp(PROP_TYPE_NUMBER_STRING,.85,(function(value){var number=toFloat(value,0);return number>=0&&number<=1})),overlayTag:makeProp(PROP_TYPE_STRING,"div"),rounded:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),show:makeProp(PROP_TYPE_BOOLEAN,!1),spinnerSmall:makeProp(PROP_TYPE_BOOLEAN,!1),spinnerType:makeProp(PROP_TYPE_STRING,"border"),spinnerVariant:makeProp(PROP_TYPE_STRING),variant:makeProp(PROP_TYPE_STRING,"light"),wrapTag:makeProp(PROP_TYPE_STRING,"div"),zIndex:makeProp(PROP_TYPE_NUMBER_STRING,10)},"BOverlay"),BOverlay=extend({name:"BOverlay",mixins:[normalizeSlotMixin],props:props$K,computed:{computedRounded:function(){var rounded=this.rounded;return!0===rounded||""===rounded?"rounded":rounded?"rounded-".concat(rounded):""},computedVariant:function(){var variant=this.variant;return variant&&!this.bgColor?"bg-".concat(variant):""},slotScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(_ref){var spinnerType=_ref.spinnerType,spinnerVariant=_ref.spinnerVariant,spinnerSmall=_ref.spinnerSmall;return this.$createElement(BSpinner,{props:{type:spinnerType,variant:spinnerVariant,small:spinnerSmall}})}},render:function(h){var _this=this,show=this.show,fixed=this.fixed,noFade=this.noFade,noWrap=this.noWrap,slotScope=this.slotScope,$overlay=h();if(show){var $background=h("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:_objectSpread2$3(_objectSpread2$3({},POSITION_COVER),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),$content=h("div",{staticClass:"position-absolute",style:this.noCenter?_objectSpread2$3({},POSITION_COVER):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot("overlay",slotScope)||this.defaultOverlayFn(slotScope)]);$overlay=h(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!noWrap||noWrap&&!fixed,"position-fixed":noWrap&&fixed},style:_objectSpread2$3(_objectSpread2$3({},POSITION_COVER),{},{zIndex:this.zIndex||10}),on:{click:function(event){return _this.$emit("click",event)}},key:"overlay"},[$background,$content])}return $overlay=h(BVTransition,{props:{noFade:noFade,appear:!0},on:{"after-enter":function(){return _this.$emit("shown")},"after-leave":function(){return _this.$emit("hidden")}}},[$overlay]),noWrap?$overlay:h(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":show?"true":null}},noWrap?[$overlay]:[this.normalizeSlot(),$overlay])}}),OverlayPlugin=pluginFactory({components:{BOverlay:BOverlay}}),_makeModelMixin$4=makeModelMixin("value",{type:PROP_TYPE_BOOLEAN_NUMBER_STRING,defaultValue:null,validator:function(value){return!(!isNull(value)&&toInteger(value,0)<1)||(warn('"v-model" value must be a number greater than "0"',"BPagination"),!1)}}),modelMixin$4=_makeModelMixin$4.mixin,modelProps$4=_makeModelMixin$4.props,MODEL_PROP_NAME$4=_makeModelMixin$4.prop,MODEL_EVENT_NAME$4=_makeModelMixin$4.event,sanitizeLimit=function(value){var limit=toInteger(value)||1;return limit<1?5:limit},sanitizeCurrentPage=function(val,numberOfPages){var page=toInteger(val)||1;return page>numberOfPages?numberOfPages:page<1?1:page},onSpaceKey=function(event){if(event.keyCode===CODE_SPACE)return stopEvent(event,{immediatePropagation:!0}),event.currentTarget.click(),!1},props$J=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},modelProps$4),{},{align:makeProp(PROP_TYPE_STRING,"left"),ariaLabel:makeProp(PROP_TYPE_STRING,"Pagination"),disabled:makeProp(PROP_TYPE_BOOLEAN,!1),ellipsisClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),ellipsisText:makeProp(PROP_TYPE_STRING,"…"),firstClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),firstNumber:makeProp(PROP_TYPE_BOOLEAN,!1),firstText:makeProp(PROP_TYPE_STRING,"«"),hideEllipsis:makeProp(PROP_TYPE_BOOLEAN,!1),hideGotoEndButtons:makeProp(PROP_TYPE_BOOLEAN,!1),labelFirstPage:makeProp(PROP_TYPE_STRING,"Go to first page"),labelLastPage:makeProp(PROP_TYPE_STRING,"Go to last page"),labelNextPage:makeProp(PROP_TYPE_STRING,"Go to next page"),labelPage:makeProp(PROP_TYPE_FUNCTION_STRING,"Go to page"),labelPrevPage:makeProp(PROP_TYPE_STRING,"Go to previous page"),lastClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),lastNumber:makeProp(PROP_TYPE_BOOLEAN,!1),lastText:makeProp(PROP_TYPE_STRING,"»"),limit:makeProp(PROP_TYPE_NUMBER_STRING,5,(function(value){return!(toInteger(value,0)<1)||(warn('Prop "limit" must be a number greater than "0"',"BPagination"),!1)})),nextClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),nextText:makeProp(PROP_TYPE_STRING,""),pageClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),pills:makeProp(PROP_TYPE_BOOLEAN,!1),prevClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),prevText:makeProp(PROP_TYPE_STRING,""),size:makeProp(PROP_TYPE_STRING)})),"pagination"),paginationMixin$1=extend({mixins:[modelMixin$4,normalizeSlotMixin],props:props$J,data:function(){var currentPage=toInteger(this[MODEL_PROP_NAME$4],0);return{currentPage:currentPage=currentPage>0?currentPage:-1,localNumberOfPages:1,localLimit:5}},computed:{btnSize:function(){var size=this.size;return size?"pagination-".concat(size):""},alignment:function(){var align=this.align;return"center"===align?"justify-content-center":"end"===align||"right"===align?"justify-content-end":"fill"===align?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return sanitizeCurrentPage(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var limit=this.localLimit,numberOfPages=this.localNumberOfPages,currentPage=this.computedCurrentPage,hideEllipsis=this.hideEllipsis,firstNumber=this.firstNumber,lastNumber=this.lastNumber,showFirstDots=!1,showLastDots=!1,numberOfLinks=limit,startNumber=1;numberOfPages<=limit?numberOfLinks=numberOfPages:currentPage<limit-1&&limit>3?(hideEllipsis&&!lastNumber||(showLastDots=!0,numberOfLinks=limit-(firstNumber?0:1)),numberOfLinks=mathMin(numberOfLinks,limit)):numberOfPages-currentPage+2<limit&&limit>3?(hideEllipsis&&!firstNumber||(showFirstDots=!0,numberOfLinks=limit-(lastNumber?0:1)),startNumber=numberOfPages-numberOfLinks+1):(limit>3&&(numberOfLinks=limit-(hideEllipsis?0:2),showFirstDots=!(hideEllipsis&&!firstNumber),showLastDots=!(hideEllipsis&&!lastNumber)),startNumber=currentPage-mathFloor(numberOfLinks/2)),startNumber<1?(startNumber=1,showFirstDots=!1):startNumber>numberOfPages-numberOfLinks&&(startNumber=numberOfPages-numberOfLinks+1,showLastDots=!1),showFirstDots&&firstNumber&&startNumber<4&&(numberOfLinks+=2,startNumber=1,showFirstDots=!1);var lastPageNumber=startNumber+numberOfLinks-1;return showLastDots&&lastNumber&&lastPageNumber>numberOfPages-3&&(numberOfLinks+=lastPageNumber===numberOfPages-2?2:3,showLastDots=!1),limit<=3&&(firstNumber&&1===startNumber?numberOfLinks=mathMin(numberOfLinks+1,numberOfPages,limit+1):lastNumber&&numberOfPages===startNumber+numberOfLinks-1&&(startNumber=mathMax(startNumber-1,1),numberOfLinks=mathMin(numberOfPages-startNumber+1,numberOfPages,limit+1))),{showFirstDots:showFirstDots,showLastDots:showLastDots,numberOfLinks:numberOfLinks=mathMin(numberOfLinks,numberOfPages-startNumber+1),startNumber:startNumber}},pageList:function(){var _this$paginationParam=this.paginationParams,numberOfLinks=_this$paginationParam.numberOfLinks,startNumber=_this$paginationParam.startNumber,currentPage=this.computedCurrentPage,pages=function(startNumber,numberOfPages){return createArray(numberOfPages,(function(_,i){return{number:startNumber+i,classes:null}}))}(startNumber,numberOfLinks);if(pages.length>3){var idx=currentPage-startNumber,classes="bv-d-xs-down-none";if(0===idx)for(var i=3;i<pages.length;i++)pages[i].classes=classes;else if(idx===pages.length-1)for(var _i=0;_i<pages.length-3;_i++)pages[_i].classes=classes;else{for(var _i2=0;_i2<idx-1;_i2++)pages[_i2].classes=classes;for(var _i3=pages.length-1;_i3>idx+1;_i3--)pages[_i3].classes=classes}}return pages}},watch:(_watch$6={},_defineProperty(_watch$6,MODEL_PROP_NAME$4,(function(newValue,oldValue){newValue!==oldValue&&(this.currentPage=sanitizeCurrentPage(newValue,this.localNumberOfPages))})),_defineProperty(_watch$6,"currentPage",(function(newValue,oldValue){newValue!==oldValue&&this.$emit(MODEL_EVENT_NAME$4,newValue>0?newValue:null)})),_defineProperty(_watch$6,"limit",(function(newValue,oldValue){newValue!==oldValue&&(this.localLimit=sanitizeLimit(newValue))})),_watch$6),created:function(){var _this=this;this.localLimit=sanitizeLimit(this.limit),this.$nextTick((function(){_this.currentPage=_this.currentPage>_this.localNumberOfPages?_this.localNumberOfPages:_this.currentPage}))},methods:{handleKeyNav:function(event){var keyCode=event.keyCode,shiftKey=event.shiftKey;this.isNav||(keyCode===CODE_LEFT||keyCode===CODE_UP?(stopEvent(event,{propagation:!1}),shiftKey?this.focusFirst():this.focusPrev()):keyCode!==CODE_RIGHT&&keyCode!==CODE_DOWN||(stopEvent(event,{propagation:!1}),shiftKey?this.focusLast():this.focusNext()))},getButtons:function(){return selectAll("button.page-link, a.page-link",this.$el).filter((function(btn){return isVisible(btn)}))},focusCurrent:function(){var _this2=this;this.$nextTick((function(){var btn=_this2.getButtons().find((function(el){return toInteger(getAttr(el,"aria-posinset"),0)===_this2.computedCurrentPage}));attemptFocus(btn)||_this2.focusFirst()}))},focusFirst:function(){var _this3=this;this.$nextTick((function(){var btn=_this3.getButtons().find((function(el){return!isDisabled(el)}));attemptFocus(btn)}))},focusLast:function(){var _this4=this;this.$nextTick((function(){var btn=_this4.getButtons().reverse().find((function(el){return!isDisabled(el)}));attemptFocus(btn)}))},focusPrev:function(){var _this5=this;this.$nextTick((function(){var buttons=_this5.getButtons(),index=buttons.indexOf(getActiveElement());index>0&&!isDisabled(buttons[index-1])&&attemptFocus(buttons[index-1])}))},focusNext:function(){var _this6=this;this.$nextTick((function(){var buttons=_this6.getButtons(),index=buttons.indexOf(getActiveElement());index<buttons.length-1&&!isDisabled(buttons[index+1])&&attemptFocus(buttons[index+1])}))}},render:function(h){var _this7=this,_safeVueInstance=safeVueInstance(this),disabled=_safeVueInstance.disabled,labelPage=_safeVueInstance.labelPage,ariaLabel=_safeVueInstance.ariaLabel,isNav=_safeVueInstance.isNav,numberOfPages=_safeVueInstance.localNumberOfPages,currentPage=_safeVueInstance.computedCurrentPage,pageNumbers=this.pageList.map((function(p){return p.number})),_this$paginationParam2=this.paginationParams,showFirstDots=_this$paginationParam2.showFirstDots,showLastDots=_this$paginationParam2.showLastDots,fill="fill"===this.align,$buttons=[],isActivePage=function(pageNumber){return pageNumber===currentPage},noCurrentPage=this.currentPage<1,makeEndBtn=function(linkTo,ariaLabel,btnSlot,btnText,btnClass,pageTest,key){var isDisabled=disabled||isActivePage(pageTest)||noCurrentPage||linkTo<1||linkTo>numberOfPages,pageNumber=linkTo<1?1:linkTo>numberOfPages?numberOfPages:linkTo,scope={disabled:isDisabled,page:pageNumber,index:pageNumber-1},$btnContent=_this7.normalizeSlot(btnSlot,scope)||toString(btnText)||h(),$inner=h(isDisabled?"span":isNav?BLink:"button",{staticClass:"page-link",class:{"flex-grow-1":!isNav&&!isDisabled&&fill},props:isDisabled||!isNav?{}:_this7.linkProps(linkTo),attrs:{role:isNav?null:"menuitem",type:isNav||isDisabled?null:"button",tabindex:isDisabled||isNav?null:"-1","aria-label":ariaLabel,"aria-controls":safeVueInstance(_this7).ariaControls||null,"aria-disabled":isDisabled?"true":null},on:isDisabled?{}:{"!click":function(event){_this7.onClick(event,linkTo)},keydown:onSpaceKey}},[$btnContent]);return h("li",{key:key,staticClass:"page-item",class:[{disabled:isDisabled,"flex-fill":fill,"d-flex":fill&&!isNav&&!isDisabled},btnClass],attrs:{role:isNav?null:"presentation","aria-hidden":isDisabled?"true":null}},[$inner])},makeEllipsis=function(isLast){return h("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",fill?"flex-fill":"",_this7.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(isLast?"last":"first")},[h("span",{staticClass:"page-link"},[_this7.normalizeSlot("ellipsis-text")||toString(_this7.ellipsisText)||h()])])},makePageButton=function(page,idx){var pageNumber=page.number,active=isActivePage(pageNumber)&&!noCurrentPage,tabIndex=disabled?null:active||noCurrentPage&&0===idx?"0":"-1",attrs={role:isNav?null:"menuitemradio",type:isNav||disabled?null:"button","aria-disabled":disabled?"true":null,"aria-controls":safeVueInstance(_this7).ariaControls||null,"aria-label":hasPropFunction(labelPage)?labelPage(pageNumber):"".concat(isFunction$1(labelPage)?labelPage():labelPage," ").concat(pageNumber),"aria-checked":isNav?null:active?"true":"false","aria-current":isNav&&active?"page":null,"aria-posinset":isNav?null:pageNumber,"aria-setsize":isNav?null:numberOfPages,tabindex:isNav?null:tabIndex},btnContent=toString(_this7.makePage(pageNumber)),scope={page:pageNumber,index:pageNumber-1,content:btnContent,active:active,disabled:disabled},$inner=h(disabled?"span":isNav?BLink:"button",{props:disabled||!isNav?{}:_this7.linkProps(pageNumber),staticClass:"page-link",class:{"flex-grow-1":!isNav&&!disabled&&fill},attrs:attrs,on:disabled?{}:{"!click":function(event){_this7.onClick(event,pageNumber)},keydown:onSpaceKey}},[_this7.normalizeSlot("page",scope)||btnContent]);return h("li",{staticClass:"page-item",class:[{disabled:disabled,active:active,"flex-fill":fill,"d-flex":fill&&!isNav&&!disabled},page.classes,_this7.pageClass],attrs:{role:isNav?null:"presentation"},key:"page-".concat(pageNumber)},[$inner])},$firstPageBtn=h();this.firstNumber||this.hideGotoEndButtons||($firstPageBtn=makeEndBtn(1,this.labelFirstPage,"first-text",this.firstText,this.firstClass,1,"pagination-goto-first")),$buttons.push($firstPageBtn),$buttons.push(makeEndBtn(currentPage-1,this.labelPrevPage,"prev-text",this.prevText,this.prevClass,1,"pagination-goto-prev")),$buttons.push(this.firstNumber&&1!==pageNumbers[0]?makePageButton({number:1},0):h()),$buttons.push(showFirstDots?makeEllipsis(!1):h()),this.pageList.forEach((function(page,idx){var offset=showFirstDots&&_this7.firstNumber&&1!==pageNumbers[0]?1:0;$buttons.push(makePageButton(page,idx+offset))})),$buttons.push(showLastDots?makeEllipsis(!0):h()),$buttons.push(this.lastNumber&&pageNumbers[pageNumbers.length-1]!==numberOfPages?makePageButton({number:numberOfPages},-1):h()),$buttons.push(makeEndBtn(currentPage+1,this.labelNextPage,"next-text",this.nextText,this.nextClass,numberOfPages,"pagination-goto-next"));var $lastPageBtn=h();this.lastNumber||this.hideGotoEndButtons||($lastPageBtn=makeEndBtn(numberOfPages,this.labelLastPage,"last-text",this.lastText,this.lastClass,numberOfPages,"pagination-goto-last")),$buttons.push($lastPageBtn);var $pagination=h("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:isNav?null:"menubar","aria-disabled":disabled?"true":"false","aria-label":isNav?null:ariaLabel||null},on:isNav?{}:{keydown:this.handleKeyNav},ref:"ul"},$buttons);return isNav?h("nav",{attrs:{"aria-disabled":disabled?"true":null,"aria-hidden":disabled?"true":"false","aria-label":isNav&&ariaLabel||null}},[$pagination]):$pagination}}),sanitizePerPage=function(value){return mathMax(toInteger(value)||20,1)},sanitizeTotalRows=function(value){return mathMax(toInteger(value)||0,0)},props$I=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$J),{},{ariaControls:makeProp(PROP_TYPE_STRING),perPage:makeProp(PROP_TYPE_NUMBER_STRING,20),totalRows:makeProp(PROP_TYPE_NUMBER_STRING,0)})),"BPagination"),BPagination=extend({name:"BPagination",mixins:[paginationMixin$1],props:props$I,computed:{numberOfPages:function(){var result=mathCeil(sanitizeTotalRows(this.totalRows)/sanitizePerPage(this.perPage));return result<1?1:result},pageSizeNumberOfPages:function(){return{perPage:sanitizePerPage(this.perPage),totalRows:sanitizeTotalRows(this.totalRows),numberOfPages:this.numberOfPages}}},watch:{pageSizeNumberOfPages:function(newValue,oldValue){isUndefinedOrNull(oldValue)||(newValue.perPage!==oldValue.perPage&&newValue.totalRows===oldValue.totalRows||newValue.numberOfPages!==oldValue.numberOfPages&&this.currentPage>newValue.numberOfPages)&&(this.currentPage=1),this.localNumberOfPages=newValue.numberOfPages}},created:function(){var _this=this;this.localNumberOfPages=this.numberOfPages;var currentPage=toInteger(this[MODEL_PROP_NAME$4],0);currentPage>0?this.currentPage=currentPage:this.$nextTick((function(){_this.currentPage=0}))},methods:{onClick:function(event,pageNumber){var _this2=this;if(pageNumber!==this.currentPage){var target=event.target,clickEvent=new BvEvent("page-click",{cancelable:!0,vueTarget:this,target:target});this.$emit(clickEvent.type,clickEvent,pageNumber),clickEvent.defaultPrevented||(this.currentPage=pageNumber,this.$emit("change",this.currentPage),this.$nextTick((function(){isVisible(target)&&_this2.$el.contains(target)?attemptFocus(target):_this2.focusCurrent()})))}},makePage:function(pageNum){return pageNum},linkProps:function(){return{}}}}),PaginationPlugin=pluginFactory({components:{BPagination:BPagination}}),_linkProps=omit(props$2f,["event","routerTag"]),props$H=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$J),_linkProps),{},{baseUrl:makeProp(PROP_TYPE_STRING,"/"),linkGen:makeProp(PROP_TYPE_FUNCTION),noPageDetect:makeProp(PROP_TYPE_BOOLEAN,!1),numberOfPages:makeProp(PROP_TYPE_NUMBER_STRING,1,(function(value){return!(toInteger(value,0)<1)||(warn('Prop "number-of-pages" must be a number greater than "0"',"BPaginationNav"),!1)})),pageGen:makeProp(PROP_TYPE_FUNCTION),pages:makeProp(PROP_TYPE_ARRAY),useRouter:makeProp(PROP_TYPE_BOOLEAN,!1)})),"BPaginationNav"),BPaginationNav=extend({name:"BPaginationNav",mixins:[paginationMixin$1],props:props$H,computed:{isNav:function(){return!0},computedValue:function(){var value=toInteger(this.value,0);return value<1?null:value}},watch:{numberOfPages:function(){var _this=this;this.$nextTick((function(){_this.setNumberOfPages()}))},pages:function(){var _this2=this;this.$nextTick((function(){_this2.setNumberOfPages()}))}},created:function(){this.setNumberOfPages()},mounted:function(){var _this3=this;this.$router&&this.$watch("$route",(function(){_this3.$nextTick((function(){requestAF((function(){_this3.guessCurrentPage()}))}))}))},methods:{setNumberOfPages:function(){var value,_this4=this;isArray(this.pages)&&this.pages.length>0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=(value=this.numberOfPages,mathMax(toInteger(value,0),1)),this.$nextTick((function(){_this4.guessCurrentPage()}))},onClick:function(event,pageNumber){var _this5=this;if(pageNumber!==this.currentPage){var target=event.currentTarget||event.target,clickEvent=new BvEvent("page-click",{cancelable:!0,vueTarget:this,target:target});this.$emit(clickEvent.type,clickEvent,pageNumber),clickEvent.defaultPrevented||(requestAF((function(){_this5.currentPage=pageNumber,_this5.$emit("change",pageNumber)})),this.$nextTick((function(){attemptBlur(target)})))}},getPageInfo:function(pageNumber){if(!isArray(this.pages)||0===this.pages.length||isUndefined(this.pages[pageNumber-1])){var link="".concat(this.baseUrl).concat(pageNumber);return{link:this.useRouter?{path:link}:link,text:toString(pageNumber)}}var info=this.pages[pageNumber-1];if(isObject(info)){var _link=info.link;return{link:isObject(_link)?_link:this.useRouter?{path:_link}:_link,text:toString(info.text||pageNumber)}}return{link:toString(info),text:toString(pageNumber)}},makePage:function(pageNumber){var pageGen=this.pageGen,info=this.getPageInfo(pageNumber);return hasPropFunction(pageGen)?pageGen(pageNumber,info):info.text},makeLink:function(pageNumber){var linkGen=this.linkGen,info=this.getPageInfo(pageNumber);return hasPropFunction(linkGen)?linkGen(pageNumber,info):info.link},linkProps:function(pageNumber){var props=pluckProps(_linkProps,this),link=this.makeLink(pageNumber);return this.useRouter||isObject(link)?props.to=link:props.href=link,props},resolveLink:function(){var link,to=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{(link=document.createElement("a")).href=computeHref({to:to},"a","/","/"),document.body.appendChild(link);var _link2=link,pathname=_link2.pathname,hash=_link2.hash,search=_link2.search;return document.body.removeChild(link),{path:pathname,hash:hash,query:parseQuery(search)}}catch(e){try{link&&link.parentNode&&link.parentNode.removeChild(link)}catch(_unused){}return{}}},resolveRoute:function(){var to=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{var route=this.$router.resolve(to,this.$route).route;return{path:route.path,hash:route.hash,query:route.query}}catch(e){return{}}},guessCurrentPage:function(){var $router=this.$router,$route=this.$route,guess=this.computedValue;if(!this.noPageDetect&&!guess&&(IS_BROWSER||!IS_BROWSER&&$router))for(var currentRoute=$router&&$route?{path:$route.path,hash:$route.hash,query:$route.query}:{},loc=IS_BROWSER?window.location||document.location:null,currentLink=loc?{path:loc.pathname,hash:loc.hash,query:parseQuery(loc.search)}:{},pageNumber=1;!guess&&pageNumber<=this.localNumberOfPages;pageNumber++){var to=this.makeLink(pageNumber);guess=$router&&(isObject(to)||this.useRouter)?looseEqual(this.resolveRoute(to),currentRoute)?pageNumber:null:IS_BROWSER?looseEqual(this.resolveLink(to),currentLink)?pageNumber:null:-1}this.currentPage=guess>0?guess:0}}}),PaginationNavPlugin=pluginFactory({components:{BPaginationNav:BPaginationNav}}),AttachmentMap={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},OffsetMap={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},props$G={arrowPadding:makeProp(PROP_TYPE_NUMBER_STRING,6),boundary:makeProp([HTMLElement,PROP_TYPE_STRING],"scrollParent"),boundaryPadding:makeProp(PROP_TYPE_NUMBER_STRING,5),fallbackPlacement:makeProp(PROP_TYPE_ARRAY_STRING,"flip"),offset:makeProp(PROP_TYPE_NUMBER_STRING,0),placement:makeProp(PROP_TYPE_STRING,"top"),target:makeProp([HTMLElement,SVGElement])},BVPopper=extend({name:"BVPopper",mixins:[useParentMixin],props:props$G,data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var _this=this,placement=this.placement;return{placement:this.getAttachment(placement),modifiers:{offset:{offset:this.getOffset(placement)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(data){data.originalPlacement!==data.placement&&_this.popperPlacementChange(data)},onUpdate:function(data){_this.popperPlacementChange(data)}}}},created:function(){var _this2=this;this.$_popper=null,this.localShow=!0,this.$on("show",(function(el){_this2.popperCreate(el)}));var handleDestroy=function(){_this2.$nextTick((function(){requestAF((function(){_this2.$destroy()}))}))};this.bvParent.$once(HOOK_EVENT_NAME_DESTROYED,handleDestroy),this.$once("hidden",handleDestroy)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var el=this.$el;el&&el.parentNode&&el.parentNode.removeChild(el)},methods:{hide:function(){this.localShow=!1},getAttachment:function(placement){return AttachmentMap[String(placement).toUpperCase()]||"auto"},getOffset:function(placement){if(!this.offset){var arrow=this.$refs.arrow||select(".arrow",this.$el),arrowOffset=toFloat(getCS(arrow).width,0)+toFloat(this.arrowPadding,0);switch(OffsetMap[String(placement).toUpperCase()]||0){case 1:return"+50%p - ".concat(arrowOffset,"px");case-1:return"-50%p + ".concat(arrowOffset,"px");default:return 0}}return this.offset},popperCreate:function(el){this.destroyPopper(),this.$_popper=new Popper(this.target,el,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(data){this.attachment=this.getAttachment(data.placement)},renderTemplate:function(h){return h("div")}},render:function(h){var _this3=this,noFade=this.noFade;return h(BVTransition,{props:{appear:!0,noFade:noFade},on:{beforeEnter:function(el){return _this3.$emit("show",el)},afterEnter:function(el){return _this3.$emit("shown",el)},beforeLeave:function(el){return _this3.$emit("hide",el)},afterLeave:function(el){return _this3.$emit("hidden",el)}}},[this.localShow?this.renderTemplate(h):h()])}}),props$F={html:makeProp(PROP_TYPE_BOOLEAN,!1),id:makeProp(PROP_TYPE_STRING)},BVTooltipTemplate=extend({name:"BVTooltipTemplate",extends:BVPopper,mixins:[scopedStyleMixin],props:props$F,data:function(){return{title:"",content:"",variant:null,customClass:null,interactive:!0}},computed:{templateType:function(){return"tooltip"},templateClasses:function(){var _ref,variant=this.variant,attachment=this.attachment,templateType=this.templateType;return[(_ref={noninteractive:!this.interactive},_defineProperty(_ref,"b-".concat(templateType,"-").concat(variant),variant),_defineProperty(_ref,"bs-".concat(templateType,"-").concat(attachment),attachment),_ref),this.customClass]},templateAttributes:function(){var id=this.id;return _objectSpread2$3(_objectSpread2$3({},this.bvParent.bvParent.$attrs),{},{id:id,role:"tooltip",tabindex:"-1"},this.scopedStyleAttrs)},templateListeners:function(){var _this=this;return{mouseenter:function(event){_this.$emit("mouseenter",event)},mouseleave:function(event){_this.$emit("mouseleave",event)},focusin:function(event){_this.$emit("focusin",event)},focusout:function(event){_this.$emit("focusout",event)}}}},methods:{renderTemplate:function(h){var title=this.title,$title=isFunction$1(title)?title({}):title,domProps=this.html&&!isFunction$1(title)?{innerHTML:title}:{};return h("div",{staticClass:"tooltip b-tooltip",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[h("div",{staticClass:"arrow",ref:"arrow"}),h("div",{staticClass:"tooltip-inner",domProps:domProps},[$title])])}}}),MODAL_SELECTOR=".modal-content",ROOT_EVENT_NAME_MODAL_HIDDEN=getRootEventName("BModal","hidden"),CONTAINER_SELECTOR=[MODAL_SELECTOR,".b-sidebar"].join(", "),templateData={title:"",content:"",variant:null,customClass:null,triggers:"",placement:"auto",fallbackPlacement:"flip",target:null,container:null,noFade:!1,boundary:"scrollParent",boundaryPadding:5,offset:0,delay:0,arrowPadding:6,interactive:!0,disabled:!1,id:null,html:!1},BVTooltip=extend({name:"BVTooltip",mixins:[listenOnRootMixin,useParentMixin],data:function(){return _objectSpread2$3(_objectSpread2$3({},templateData),{},{activeTrigger:{hover:!1,click:!1,focus:!1},localShow:!1})},computed:{templateType:function(){return"tooltip"},computedId:function(){return this.id||"__bv_".concat(this.templateType,"_").concat(this._uid,"__")},computedDelay:function(){var delay={show:0,hide:0};return isPlainObject(this.delay)?(delay.show=mathMax(toInteger(this.delay.show,0),0),delay.hide=mathMax(toInteger(this.delay.hide,0),0)):(isNumber(this.delay)||isString(this.delay))&&(delay.show=delay.hide=mathMax(toInteger(this.delay,0),0)),delay},computedTriggers:function(){return concat(this.triggers).filter(identity).join(" ").trim().toLowerCase().split(/\s+/).sort()},isWithActiveTrigger:function(){for(var trigger in this.activeTrigger)if(this.activeTrigger[trigger])return!0;return!1},computedTemplateData:function(){return{title:this.title,content:this.content,variant:this.variant,customClass:this.customClass,noFade:this.noFade,interactive:this.interactive}}},watch:{computedTriggers:function(newTriggers,oldTriggers){var _this=this;looseEqual(newTriggers,oldTriggers)||this.$nextTick((function(){_this.unListen(),oldTriggers.forEach((function(trigger){arrayIncludes(newTriggers,trigger)||_this.activeTrigger[trigger]&&(_this.activeTrigger[trigger]=!1)})),_this.listen()}))},computedTemplateData:function(){this.handleTemplateUpdate()},title:function(newValue,oldValue){newValue===oldValue||newValue||this.hide()},disabled:function(newValue){newValue?this.disable():this.enable()}},created:function(){var _this2=this;this.$_tip=null,this.$_hoverTimeout=null,this.$_hoverState="",this.$_visibleInterval=null,this.$_enabled=!this.disabled,this.$_noop=noop.bind(this),this.bvParent&&this.bvParent.$once(HOOK_EVENT_NAME_BEFORE_DESTROY,(function(){_this2.$nextTick((function(){requestAF((function(){_this2.$destroy()}))}))})),this.$nextTick((function(){var target=_this2.getTarget();target&&contains(document.body,target)?(_this2.scopeId=getScopeId(_this2.bvParent),_this2.listen()):warn(isString(_this2.target)?'Unable to find target element by ID "#'.concat(_this2.target,'" in document.'):"The provided target is no valid HTML element.",_this2.templateType)}))},updated:function(){this.$nextTick(this.handleTemplateUpdate)},deactivated:function(){this.forceHide()},beforeDestroy:function(){this.unListen(),this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.clearVisibilityInterval(),this.destroyTemplate(),this.$_noop=null},methods:{getTemplate:function(){return BVTooltipTemplate},updateData:function(){var _this3=this,data=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},titleUpdated=!1;keys(templateData).forEach((function(prop){isUndefined(data[prop])||_this3[prop]===data[prop]||(_this3[prop]=data[prop],"title"===prop&&(titleUpdated=!0))})),titleUpdated&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var container=this.getContainer(),Template=this.getTemplate(),$tip=this.$_tip=createNewChildComponent(this,Template,{propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:toInteger(this.offset,0),arrowPadding:toInteger(this.arrowPadding,0),boundaryPadding:toInteger(this.boundaryPadding,0)}});this.handleTemplateUpdate(),$tip.$once("show",this.onTemplateShow),$tip.$once("shown",this.onTemplateShown),$tip.$once("hide",this.onTemplateHide),$tip.$once("hidden",this.onTemplateHidden),$tip.$once(HOOK_EVENT_NAME_DESTROYED,this.destroyTemplate),$tip.$on("focusin",this.handleEvent),$tip.$on("focusout",this.handleEvent),$tip.$on("mouseenter",this.handleEvent),$tip.$on("mouseleave",this.handleEvent),$tip.$mount(container.appendChild(document.createElement("div")))},hideTemplate:function(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate:function(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch(_unused){}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var _this4=this,$tip=this.$_tip;if($tip){["title","content","variant","customClass","noFade","interactive"].forEach((function(prop){$tip[prop]!==_this4[prop]&&($tip[prop]=_this4[prop])}))}},show:function(){var target=this.getTarget();if(target&&contains(document.body,target)&&isVisible(target)&&!this.dropdownOpen()&&(!isUndefinedOrNull(this.title)&&""!==this.title||!isUndefinedOrNull(this.content)&&""!==this.content)&&!this.$_tip&&!this.localShow){this.localShow=!0;var showEvent=this.buildEvent("show",{cancelable:!0});this.emitEvent(showEvent),showEvent.defaultPrevented?this.destroyTemplate():(this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow())}},hide:function(){var force=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.getTemplateElement()&&this.localShow){var hideEvent=this.buildEvent("hide",{cancelable:!force});this.emitEvent(hideEvent),hideEvent.defaultPrevented||this.hideTemplate()}else this.restoreTitle()},forceHide:function(){this.getTemplateElement()&&this.localShow&&(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable:function(){this.$_enabled=!0,this.emitEvent(this.buildEvent("enabled"))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent("disabled"))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var prevHoverState=this.$_hoverState;this.$_hoverState="","out"===prevHoverState&&this.leave(null),this.emitEvent(this.buildEvent("shown"))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent("hidden"))},getTarget:function(){var target=this.target;return isString(target)?target=getById(target.replace(/^#/,"")):isFunction$1(target)?target=target():target&&(target=target.$el||target),isElement(target)?target:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var target=this.getTarget();return target&&target.id?target.id:null},getContainer:function(){var container=!!this.container&&(this.container.$el||this.container),body=document.body,target=this.getTarget();return!1===container?closest(CONTAINER_SELECTOR,target)||body:isString(container)&&getById(container.replace(/^#/,""))||body},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var target=this.getTarget();return target&&closest(MODAL_SELECTOR,target)},isDropdown:function(){var target=this.getTarget();return target&&hasClass(target,"dropdown")},dropdownOpen:function(){var target=this.getTarget();return this.isDropdown()&&target&&select(".dropdown-menu.show",target)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var trigger in this.activeTrigger)this.activeTrigger[trigger]=!1},addAriaDescribedby:function(){var target=this.getTarget(),desc=getAttr(target,"aria-describedby")||"";desc=desc.split(/\s+/).concat(this.computedId).join(" ").trim(),setAttr(target,"aria-describedby",desc)},removeAriaDescribedby:function(){var _this5=this,target=this.getTarget(),desc=getAttr(target,"aria-describedby")||"";(desc=desc.split(/\s+/).filter((function(d){return d!==_this5.computedId})).join(" ").trim())?setAttr(target,"aria-describedby",desc):removeAttr(target,"aria-describedby")},fixTitle:function(){var target=this.getTarget();if(hasAttr(target,"title")){var title=getAttr(target,"title");setAttr(target,"title",""),title&&setAttr(target,"data-original-title",title)}},restoreTitle:function(){var target=this.getTarget();if(hasAttr(target,"data-original-title")){var title=getAttr(target,"data-original-title");removeAttr(target,"data-original-title"),title&&setAttr(target,"title",title)}},buildEvent:function(type){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new BvEvent(type,_objectSpread2$3({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},options))},emitEvent:function(bvEvent){var type=bvEvent.type;this.emitOnRoot(getRootEventName(this.templateType,type),bvEvent),this.$emit(type,bvEvent)},listen:function(){var _this6=this,el=this.getTarget();el&&(this.setRootListener(!0),this.computedTriggers.forEach((function(trigger){"click"===trigger?eventOn(el,"click",_this6.handleEvent,EVENT_OPTIONS_NO_CAPTURE):"focus"===trigger?(eventOn(el,"focusin",_this6.handleEvent,EVENT_OPTIONS_NO_CAPTURE),eventOn(el,"focusout",_this6.handleEvent,EVENT_OPTIONS_NO_CAPTURE)):"blur"===trigger?eventOn(el,"focusout",_this6.handleEvent,EVENT_OPTIONS_NO_CAPTURE):"hover"===trigger&&(eventOn(el,"mouseenter",_this6.handleEvent,EVENT_OPTIONS_NO_CAPTURE),eventOn(el,"mouseleave",_this6.handleEvent,EVENT_OPTIONS_NO_CAPTURE))}),this))},unListen:function(){var _this7=this,target=this.getTarget();this.setRootListener(!1),["click","focusin","focusout","mouseenter","mouseleave"].forEach((function(event){target&&eventOff(target,event,_this7.handleEvent,EVENT_OPTIONS_NO_CAPTURE)}),this)},setRootListener:function(on){var method=on?"listenOnRoot":"listenOffRoot",type=this.templateType;this[method](getRootActionEventName(type,"hide"),this.doHide),this[method](getRootActionEventName(type,"show"),this.doShow),this[method](getRootActionEventName(type,"disable"),this.doDisable),this[method](getRootActionEventName(type,"enable"),this.doEnable)},setWhileOpenListeners:function(on){this.setModalListener(on),this.setDropdownListener(on),this.visibleCheck(on),this.setOnTouchStartListener(on)},visibleCheck:function(on){var _this8=this;this.clearVisibilityInterval();var target=this.getTarget();on&&(this.$_visibleInterval=setInterval((function(){!_this8.getTemplateElement()||!_this8.localShow||target.parentNode&&isVisible(target)||_this8.forceHide()}),100))},setModalListener:function(on){this.isInModal()&&this[on?"listenOnRoot":"listenOffRoot"](ROOT_EVENT_NAME_MODAL_HIDDEN,this.forceHide)},setOnTouchStartListener:function(on){var _this9=this;"ontouchstart"in document.documentElement&&from(document.body.children).forEach((function(el){eventOnOff(on,el,"mouseover",_this9.$_noop)}))},setDropdownListener:function(on){var target=this.getTarget();if(target&&this.bvEventRoot&&this.isDropdown){var instance=function(element){if(!isVue3)return element.__vue__;for(var currentElement=element;currentElement;){if(registry.has(currentElement))return registry.get(currentElement);currentElement=currentElement.parentNode}return null}(target);instance&&instance[on?"$on":"$off"]("shown",this.forceHide)}},handleEvent:function(event){var target=this.getTarget();if(target&&!isDisabled(target)&&this.$_enabled&&!this.dropdownOpen()){var type=event.type,triggers=this.computedTriggers;if("click"===type&&arrayIncludes(triggers,"click"))this.click(event);else if("mouseenter"===type&&arrayIncludes(triggers,"hover"))this.enter(event);else if("focusin"===type&&arrayIncludes(triggers,"focus"))this.enter(event);else if("focusout"===type&&(arrayIncludes(triggers,"focus")||arrayIncludes(triggers,"blur"))||"mouseleave"===type&&arrayIncludes(triggers,"hover")){var tip=this.getTemplateElement(),eventTarget=event.target,relatedTarget=event.relatedTarget;if(tip&&contains(tip,eventTarget)&&contains(target,relatedTarget)||tip&&contains(target,eventTarget)&&contains(tip,relatedTarget)||tip&&contains(tip,eventTarget)&&contains(tip,relatedTarget)||contains(target,eventTarget)&&contains(target,relatedTarget))return;this.leave(event)}}},doHide:function(id){id&&this.getTargetId()!==id&&this.computedId!==id||this.forceHide()},doShow:function(id){id&&this.getTargetId()!==id&&this.computedId!==id||this.show()},doDisable:function(id){id&&this.getTargetId()!==id&&this.computedId!==id||this.disable()},doEnable:function(id){id&&this.getTargetId()!==id&&this.computedId!==id||this.enable()},click:function(event){this.$_enabled&&!this.dropdownOpen()&&(attemptFocus(event.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle:function(){this.$_enabled&&!this.dropdownOpen()&&(this.localShow?this.leave(null):this.enter(null))},enter:function(){var _this10=this,event=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;event&&(this.activeTrigger["focusin"===event.type?"focus":"hover"]=!0),this.localShow||"in"===this.$_hoverState?this.$_hoverState="in":(this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout((function(){"in"===_this10.$_hoverState?_this10.show():_this10.localShow||_this10.restoreTitle()}),this.computedDelay.show)):this.show())},leave:function(){var _this11=this,event=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;event&&(this.activeTrigger["focusout"===event.type?"focus":"hover"]=!1,"focusout"===event.type&&arrayIncludes(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),this.isWithActiveTrigger||(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout((function(){"out"===_this11.$_hoverState&&_this11.hide()}),this.computedDelay.hide):this.hide())}}}),props$E=makePropsConfigurable((_defineProperty(_makePropsConfigurabl={boundary:makeProp([HTMLElement,PROP_TYPE_OBJECT,PROP_TYPE_STRING],"scrollParent"),boundaryPadding:makeProp(PROP_TYPE_NUMBER_STRING,50),container:makeProp([HTMLElement,PROP_TYPE_OBJECT,PROP_TYPE_STRING]),customClass:makeProp(PROP_TYPE_STRING),delay:makeProp(PROP_TYPE_NUMBER_OBJECT_STRING,50)},"disabled",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_makePropsConfigurabl,"fallbackPlacement",makeProp(PROP_TYPE_ARRAY_STRING,"flip")),_defineProperty(_makePropsConfigurabl,"id",makeProp(PROP_TYPE_STRING)),_defineProperty(_makePropsConfigurabl,"noFade",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_makePropsConfigurabl,"noninteractive",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_makePropsConfigurabl,"offset",makeProp(PROP_TYPE_NUMBER_STRING,0)),_defineProperty(_makePropsConfigurabl,"placement",makeProp(PROP_TYPE_STRING,"top")),_defineProperty(_makePropsConfigurabl,"show",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_makePropsConfigurabl,"target",makeProp([HTMLElement,SVGElement,PROP_TYPE_FUNCTION,PROP_TYPE_OBJECT,PROP_TYPE_STRING],void 0,!0)),_defineProperty(_makePropsConfigurabl,"title",makeProp(PROP_TYPE_STRING)),_defineProperty(_makePropsConfigurabl,"triggers",makeProp(PROP_TYPE_ARRAY_STRING,"hover focus")),_defineProperty(_makePropsConfigurabl,"variant",makeProp(PROP_TYPE_STRING)),_makePropsConfigurabl),"BTooltip"),BTooltip=extend({name:"BTooltip",mixins:[normalizeSlotMixin,useParentMixin],inheritAttrs:!1,props:props$E,data:function(){return{localShow:this.show,localTitle:"",localContent:""}},computed:{templateData:function(){return _objectSpread2$3({title:this.localTitle,content:this.localContent,interactive:!this.noninteractive},pick$1(this.$props,["boundary","boundaryPadding","container","customClass","delay","fallbackPlacement","id","noFade","offset","placement","target","target","triggers","variant","disabled"]))},templateTitleContent:function(){return{title:this.title,content:this.content}}},watch:(_watch$5={},_defineProperty(_watch$5,"show",(function(newValue,oldValue){newValue!==oldValue&&newValue!==this.localShow&&this.$_toolpop&&(newValue?this.$_toolpop.show():this.$_toolpop.forceHide())})),_defineProperty(_watch$5,"disabled",(function(newValue){newValue?this.doDisable():this.doEnable()})),_defineProperty(_watch$5,"localShow",(function(newValue){this.$emit("update:show",newValue)})),_defineProperty(_watch$5,"templateData",(function(){var _this=this;this.$nextTick((function(){_this.$_toolpop&&_this.$_toolpop.updateData(_this.templateData)}))})),_defineProperty(_watch$5,"templateTitleContent",(function(){this.$nextTick(this.updateContent)})),_watch$5),created:function(){this.$_toolpop=null},updated:function(){this.$nextTick(this.updateContent)},beforeDestroy:function(){this.$off("open",this.doOpen),this.$off("close",this.doClose),this.$off("disable",this.doDisable),this.$off("enable",this.doEnable),this.$_toolpop&&(this.$_toolpop.$destroy(),this.$_toolpop=null)},mounted:function(){var _this2=this;this.$nextTick((function(){var Component=_this2.getComponent();_this2.updateContent();var scopeId=getScopeId(_this2)||getScopeId(_this2.bvParent),$toolpop=_this2.$_toolpop=createNewChildComponent(_this2,Component,{_scopeId:scopeId||void 0});$toolpop.updateData(_this2.templateData),$toolpop.$on("show",_this2.onShow),$toolpop.$on("shown",_this2.onShown),$toolpop.$on("hide",_this2.onHide),$toolpop.$on("hidden",_this2.onHidden),$toolpop.$on("disabled",_this2.onDisabled),$toolpop.$on("enabled",_this2.onEnabled),_this2.disabled&&_this2.doDisable(),_this2.$on("open",_this2.doOpen),_this2.$on("close",_this2.doClose),_this2.$on("disable",_this2.doDisable),_this2.$on("enable",_this2.doEnable),_this2.localShow&&$toolpop.show()}))},methods:{getComponent:function(){return BVTooltip},updateContent:function(){this.setTitle(this.normalizeSlot()||this.title)},setTitle:function(value){value=isUndefinedOrNull(value)?"":value,this.localTitle!==value&&(this.localTitle=value)},setContent:function(value){value=isUndefinedOrNull(value)?"":value,this.localContent!==value&&(this.localContent=value)},onShow:function(bvEvent){this.$emit("show",bvEvent),bvEvent&&(this.localShow=!bvEvent.defaultPrevented)},onShown:function(bvEvent){this.localShow=!0,this.$emit("shown",bvEvent)},onHide:function(bvEvent){this.$emit("hide",bvEvent)},onHidden:function(bvEvent){this.$emit("hidden",bvEvent),this.localShow=!1},onDisabled:function(bvEvent){bvEvent&&"disabled"===bvEvent.type&&(this.$emit("update:disabled",!0),this.$emit("disabled",bvEvent))},onEnabled:function(bvEvent){bvEvent&&"enabled"===bvEvent.type&&(this.$emit("update:disabled",!1),this.$emit("enabled",bvEvent))},doOpen:function(){!this.localShow&&this.$_toolpop&&this.$_toolpop.show()},doClose:function(){this.localShow&&this.$_toolpop&&this.$_toolpop.hide()},doDisable:function(){this.$_toolpop&&this.$_toolpop.disable()},doEnable:function(){this.$_toolpop&&this.$_toolpop.enable()}},render:function(h){return h()}}),BVPopoverTemplate=extend({name:"BVPopoverTemplate",extends:BVTooltipTemplate,computed:{templateType:function(){return"popover"}},methods:{renderTemplate:function(h){var title=this.title,content=this.content,$title=isFunction$1(title)?title({}):title,$content=isFunction$1(content)?content({}):content,titleDomProps=this.html&&!isFunction$1(title)?{innerHTML:title}:{},contentDomProps=this.html&&!isFunction$1(content)?{innerHTML:content}:{};return h("div",{staticClass:"popover b-popover",class:this.templateClasses,attrs:this.templateAttributes,on:this.templateListeners},[h("div",{staticClass:"arrow",ref:"arrow"}),isUndefinedOrNull($title)||""===$title?h():h("h3",{staticClass:"popover-header",domProps:titleDomProps},[$title]),isUndefinedOrNull($content)||""===$content?h():h("div",{staticClass:"popover-body",domProps:contentDomProps},[$content])])}}}),BVPopover=extend({name:"BVPopover",extends:BVTooltip,computed:{templateType:function(){return"popover"}},methods:{getTemplate:function(){return BVPopoverTemplate}}}),props$D=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$E),{},{content:makeProp(PROP_TYPE_STRING),placement:makeProp(PROP_TYPE_STRING,"right"),triggers:makeProp(PROP_TYPE_ARRAY_STRING,"click")})),"BPopover"),BPopover=extend({name:"BPopover",extends:BTooltip,inheritAttrs:!1,props:props$D,methods:{getComponent:function(){return BVPopover},updateContent:function(){this.setContent(this.normalizeSlot()||this.content),this.setTitle(this.normalizeSlot("title")||this.title)}}}),BV_POPOVER="__BV_Popover__",validTriggers$1={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},htmlRE$1=/^html$/i,noFadeRE$1=/^nofade$/i,placementRE$1=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,boundaryRE$1=/^(window|viewport|scrollParent)$/i,delayRE$1=/^d\d+$/i,delayShowRE$1=/^ds\d+$/i,delayHideRE$1=/^dh\d+$/i,offsetRE$2=/^o-?\d+$/i,variantRE$1=/^v-.+$/i,spacesRE$1=/\s+/,applyPopover=function(el,bindings,vnode){if(IS_BROWSER){var config=function(bindings,vnode){var config={title:void 0,content:void 0,trigger:"",placement:"right",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,disabled:!1,id:null,html:!1,delay:getComponentConfig("BPopover","delay",50),boundary:String(getComponentConfig("BPopover","boundary","scrollParent")),boundaryPadding:toInteger(getComponentConfig("BPopover","boundaryPadding",5),0),variant:getComponentConfig("BPopover","variant"),customClass:getComponentConfig("BPopover","customClass")};if(isString(bindings.value)||isNumber(bindings.value)||isFunction$1(bindings.value)?config.content=bindings.value:isPlainObject(bindings.value)&&(config=_objectSpread2$3(_objectSpread2$3({},config),bindings.value)),bindings.arg&&(config.container="#".concat(bindings.arg)),isUndefined(config.title)){var data=vnode.data||{};config.title=data.attrs&&!isUndefinedOrNull(data.attrs.title)?data.attrs.title:void 0}isPlainObject(config.delay)||(config.delay={show:toInteger(config.delay,0),hide:toInteger(config.delay,0)}),keys(bindings.modifiers).forEach((function(mod){if(htmlRE$1.test(mod))config.html=!0;else if(noFadeRE$1.test(mod))config.animation=!1;else if(placementRE$1.test(mod))config.placement=mod;else if(boundaryRE$1.test(mod))mod="scrollparent"===mod?"scrollParent":mod,config.boundary=mod;else if(delayRE$1.test(mod)){var delay=toInteger(mod.slice(1),0);config.delay.show=delay,config.delay.hide=delay}else delayShowRE$1.test(mod)?config.delay.show=toInteger(mod.slice(2),0):delayHideRE$1.test(mod)?config.delay.hide=toInteger(mod.slice(2),0):offsetRE$2.test(mod)?config.offset=toInteger(mod.slice(1),0):variantRE$1.test(mod)&&(config.variant=mod.slice(2)||null)}));var selectedTriggers={};return concat(config.trigger||"").filter(identity).join(" ").trim().toLowerCase().split(spacesRE$1).forEach((function(trigger){validTriggers$1[trigger]&&(selectedTriggers[trigger]=!0)})),keys(bindings.modifiers).forEach((function(mod){mod=mod.toLowerCase(),validTriggers$1[mod]&&(selectedTriggers[mod]=!0)})),config.trigger=keys(selectedTriggers).join(" "),"blur"===config.trigger&&(config.trigger="focus"),config.trigger||(config.trigger="click"),config}(bindings,vnode);if(!el[BV_POPOVER]){var parent=getInstanceFromDirective(vnode,bindings);el[BV_POPOVER]=createNewChildComponent(parent,BVPopover,{_scopeId:getScopeId(parent,void 0)}),el[BV_POPOVER].__bv_prev_data__={},el[BV_POPOVER].$on("show",(function(){var data={};isFunction$1(config.title)&&(data.title=config.title(el)),isFunction$1(config.content)&&(data.content=config.content(el)),keys(data).length>0&&el[BV_POPOVER].updateData(data)}))}var data={title:config.title,content:config.content,triggers:config.trigger,placement:config.placement,fallbackPlacement:config.fallbackPlacement,variant:config.variant,customClass:config.customClass,container:config.container,boundary:config.boundary,delay:config.delay,offset:config.offset,noFade:!config.animation,id:config.id,disabled:config.disabled,html:config.html},oldData=el[BV_POPOVER].__bv_prev_data__;if(el[BV_POPOVER].__bv_prev_data__=data,!looseEqual(data,oldData)){var newData={target:el};keys(data).forEach((function(prop){data[prop]!==oldData[prop]&&(newData[prop]="title"!==prop&&"content"!==prop||!isFunction$1(data[prop])?data[prop]:data[prop](el))})),el[BV_POPOVER].updateData(newData)}}},VBPopoverPlugin=pluginFactory({directives:{VBPopover:{bind:function(el,bindings,vnode){applyPopover(el,bindings,vnode)},componentUpdated:function(el,bindings,vnode){nextTick((function(){applyPopover(el,bindings,vnode)}))},unbind:function(el){!function(el){el[BV_POPOVER]&&(el[BV_POPOVER].$destroy(),el[BV_POPOVER]=null),delete el[BV_POPOVER]}(el)}}}}),PopoverPlugin=pluginFactory({components:{BPopover:BPopover},plugins:{VBPopoverPlugin:VBPopoverPlugin}}),props$C=makePropsConfigurable({animated:makeProp(PROP_TYPE_BOOLEAN,null),label:makeProp(PROP_TYPE_STRING),labelHtml:makeProp(PROP_TYPE_STRING),max:makeProp(PROP_TYPE_NUMBER_STRING,null),precision:makeProp(PROP_TYPE_NUMBER_STRING,null),showProgress:makeProp(PROP_TYPE_BOOLEAN,null),showValue:makeProp(PROP_TYPE_BOOLEAN,null),striped:makeProp(PROP_TYPE_BOOLEAN,null),value:makeProp(PROP_TYPE_NUMBER_STRING,0),variant:makeProp(PROP_TYPE_STRING)},"BProgressBar"),BProgressBar=extend({name:"BProgressBar",mixins:[normalizeSlotMixin],inject:{getBvProgress:{default:function(){return function(){return{}}}}},props:props$C,computed:{bvProgress:function(){return this.getBvProgress()},progressBarClasses:function(){var computedAnimated=this.computedAnimated,computedVariant=this.computedVariant;return[computedVariant?"bg-".concat(computedVariant):"",this.computedStriped||computedAnimated?"progress-bar-striped":"",computedAnimated?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.computedValue/this.computedMax*100+"%"}},computedValue:function(){return toFloat(this.value,0)},computedMax:function(){var max=toFloat(this.max)||toFloat(this.bvProgress.max,0);return max>0?max:100},computedPrecision:function(){return mathMax(toInteger(this.precision,toInteger(this.bvProgress.precision,0)),0)},computedProgress:function(){var precision=this.computedPrecision,p=mathPow(10,precision);return toFixed(100*p*this.computedValue/this.computedMax/p,precision)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return isBoolean(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return isBoolean(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return isBoolean(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return isBoolean(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(h){var $children,label=this.label,labelHtml=this.labelHtml,computedValue=this.computedValue,computedPrecision=this.computedPrecision,domProps={};return this.hasNormalizedSlot()?$children=this.normalizeSlot():label||labelHtml?domProps=htmlOrText(labelHtml,label):this.computedShowProgress?$children=this.computedProgress:this.computedShowValue&&($children=toFixed(computedValue,computedPrecision)),h("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":toString(this.computedMax),"aria-valuenow":toFixed(computedValue,computedPrecision)},domProps:domProps},$children)}}),progressBarProps=omit(props$C,["label","labelHtml"]),props$B=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},progressBarProps),{},{animated:makeProp(PROP_TYPE_BOOLEAN,!1),height:makeProp(PROP_TYPE_STRING),max:makeProp(PROP_TYPE_NUMBER_STRING,100),precision:makeProp(PROP_TYPE_NUMBER_STRING,0),showProgress:makeProp(PROP_TYPE_BOOLEAN,!1),showValue:makeProp(PROP_TYPE_BOOLEAN,!1),striped:makeProp(PROP_TYPE_BOOLEAN,!1)})),"BProgress"),ProgressPlugin=pluginFactory({components:{BProgress:extend({name:"BProgress",mixins:[normalizeSlotMixin],provide:function(){var _this=this;return{getBvProgress:function(){return _this}}},props:props$B,computed:{progressHeight:function(){return{height:this.height||null}}},render:function(h){var $childNodes=this.normalizeSlot();return $childNodes||($childNodes=h(BProgressBar,{props:pluckProps(progressBarProps,this.$props)})),h("div",{staticClass:"progress",style:this.progressHeight},[$childNodes])}}),BProgressBar:BProgressBar}}),ROOT_ACTION_EVENT_NAME_REQUEST_STATE=getRootActionEventName("BCollapse","request-state"),ROOT_ACTION_EVENT_NAME_TOGGLE=getRootActionEventName("BCollapse","toggle"),ROOT_EVENT_NAME_STATE=getRootEventName("BCollapse","state"),ROOT_EVENT_NAME_SYNC_STATE=getRootEventName("BCollapse","sync-state"),_makeModelMixin$3=makeModelMixin("visible",{type:PROP_TYPE_BOOLEAN,defaultValue:!1,event:"change"}),modelMixin$3=_makeModelMixin$3.mixin,modelProps$3=_makeModelMixin$3.props,MODEL_PROP_NAME$3=_makeModelMixin$3.prop,MODEL_EVENT_NAME$3=_makeModelMixin$3.event,props$A=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$3),{},{ariaLabel:makeProp(PROP_TYPE_STRING),ariaLabelledby:makeProp(PROP_TYPE_STRING),backdrop:makeProp(PROP_TYPE_BOOLEAN,!1),backdropVariant:makeProp(PROP_TYPE_STRING,"dark"),bgVariant:makeProp(PROP_TYPE_STRING,"light"),bodyClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),closeLabel:makeProp(PROP_TYPE_STRING),footerClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),footerTag:makeProp(PROP_TYPE_STRING,"footer"),headerClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),headerTag:makeProp(PROP_TYPE_STRING,"header"),lazy:makeProp(PROP_TYPE_BOOLEAN,!1),noCloseOnBackdrop:makeProp(PROP_TYPE_BOOLEAN,!1),noCloseOnEsc:makeProp(PROP_TYPE_BOOLEAN,!1),noCloseOnRouteChange:makeProp(PROP_TYPE_BOOLEAN,!1),noEnforceFocus:makeProp(PROP_TYPE_BOOLEAN,!1),noHeader:makeProp(PROP_TYPE_BOOLEAN,!1),noHeaderClose:makeProp(PROP_TYPE_BOOLEAN,!1),noSlide:makeProp(PROP_TYPE_BOOLEAN,!1),right:makeProp(PROP_TYPE_BOOLEAN,!1),shadow:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),sidebarClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),tag:makeProp(PROP_TYPE_STRING,"div"),textVariant:makeProp(PROP_TYPE_STRING,"dark"),title:makeProp(PROP_TYPE_STRING),width:makeProp(PROP_TYPE_STRING),zIndex:makeProp(PROP_TYPE_NUMBER_STRING)})),"BSidebar"),renderHeader=function(h,ctx){if(ctx.noHeader)return h();var $content=ctx.normalizeSlot("header",ctx.slotScope);if(!$content){var $title=function(h,ctx){var title=ctx.normalizeSlot("title",ctx.slotScope)||ctx.title;return title?h("strong",{attrs:{id:ctx.safeId("__title__")}},[title]):h("span")}(h,ctx),$close=function(h,ctx){if(ctx.noHeaderClose)return h();var closeLabel=ctx.closeLabel,textVariant=ctx.textVariant,hide=ctx.hide;return h(BButtonClose,{props:{ariaLabel:closeLabel,textVariant:textVariant},on:{click:hide},ref:"close-button"},[ctx.normalizeSlot("header-close")||h(BIconX)])}(h,ctx);$content=ctx.right?[$close,$title]:[$title,$close]}return h(ctx.headerTag,{staticClass:"".concat("b-sidebar","-header"),class:ctx.headerClass,key:"header"},$content)},renderBody=function(h,ctx){return h("div",{staticClass:"".concat("b-sidebar","-body"),class:ctx.bodyClass,key:"body"},[ctx.normalizeSlot("default",ctx.slotScope)])},renderFooter=function(h,ctx){var $footer=ctx.normalizeSlot("footer",ctx.slotScope);return $footer?h(ctx.footerTag,{staticClass:"".concat("b-sidebar","-footer"),class:ctx.footerClass,key:"footer"},[$footer]):h()},renderContent=function(h,ctx){var $header=renderHeader(h,ctx);return ctx.lazy&&!ctx.isOpen?$header:[$header,renderBody(h,ctx),renderFooter(h,ctx)]},renderBackdrop=function(h,ctx){if(!ctx.backdrop)return h();var backdropVariant=ctx.backdropVariant;return h("div",{directives:[{name:"show",value:ctx.localShow}],staticClass:"b-sidebar-backdrop",class:_defineProperty({},"bg-".concat(backdropVariant),backdropVariant),on:{click:ctx.onBackdropClick}})},BSidebar=extend({name:"BSidebar",mixins:[attrsMixin,idMixin,modelMixin$3,listenOnRootMixin,normalizeSlotMixin],inheritAttrs:!1,props:props$A,data:function(){var visible=!!this[MODEL_PROP_NAME$3];return{localShow:visible,isOpen:visible}},computed:{transitionProps:function(){return this.noSlide?{css:!0}:{css:!0,enterClass:"",enterActiveClass:"slide",enterToClass:"show",leaveClass:"show",leaveActiveClass:"slide",leaveToClass:""}},slotScope:function(){return{hide:this.hide,right:this.right,visible:this.localShow}},hasTitle:function(){var $scopedSlots=this.$scopedSlots,$slots=this.$slots;return!(this.noHeader||this.hasNormalizedSlot("header")||!this.normalizeSlot("title",this.slotScope,$scopedSlots,$slots)&&!this.title)},titleId:function(){return this.hasTitle?this.safeId("__title__"):null},computedAttrs:function(){return _objectSpread2$3(_objectSpread2$3({},this.bvAttrs),{},{id:this.safeId(),tabindex:"-1",role:"dialog","aria-modal":this.backdrop?"true":"false","aria-hidden":this.localShow?null:"true","aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||this.titleId||null})}},watch:(_watch$4={},_defineProperty(_watch$4,MODEL_PROP_NAME$3,(function(newValue,oldValue){newValue!==oldValue&&(this.localShow=newValue)})),_defineProperty(_watch$4,"localShow",(function(newValue,oldValue){newValue!==oldValue&&(this.emitState(newValue),this.$emit(MODEL_EVENT_NAME$3,newValue))})),_defineProperty(_watch$4,"$route",(function(){var newValue=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},oldValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.noCloseOnRouteChange||newValue.fullPath===oldValue.fullPath||this.hide()})),_watch$4),created:function(){this.$_returnFocusEl=null},mounted:function(){var _this=this;this.listenOnRoot(ROOT_ACTION_EVENT_NAME_TOGGLE,this.handleToggle),this.listenOnRoot(ROOT_ACTION_EVENT_NAME_REQUEST_STATE,this.handleSync),this.$nextTick((function(){_this.emitState(_this.localShow)}))},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var state=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(ROOT_EVENT_NAME_STATE,this.safeId(),state)},emitSync:function(){var state=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(ROOT_EVENT_NAME_SYNC_STATE,this.safeId(),state)},handleToggle:function(id){id&&id===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(id){var _this2=this;id&&id===this.safeId()&&this.$nextTick((function(){_this2.emitSync(_this2.localShow)}))},onKeydown:function(event){var keyCode=event.keyCode;!this.noCloseOnEsc&&27===keyCode&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var tabables=getTabables(this.$refs.content);this.enforceFocus(tabables.reverse()[0])},onBottomTrapFocus:function(){var tabables=getTabables(this.$refs.content);this.enforceFocus(tabables[0])},onBeforeEnter:function(){this.$_returnFocusEl=getActiveElement(IS_BROWSER?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(el){contains(el,getActiveElement())||this.enforceFocus(el),this.$emit("shown")},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit("hidden")},enforceFocus:function(el){this.noEnforceFocus||attemptFocus(el)}},render:function(h){var _ref,bgVariant=this.bgVariant,width=this.width,textVariant=this.textVariant,localShow=this.localShow,shadow=""===this.shadow||this.shadow,$sidebar=h(this.tag,{staticClass:"b-sidebar",class:[(_ref={shadow:!0===shadow},_defineProperty(_ref,"shadow-".concat(shadow),shadow&&!0!==shadow),_defineProperty(_ref,"".concat("b-sidebar","-right"),this.right),_defineProperty(_ref,"bg-".concat(bgVariant),bgVariant),_defineProperty(_ref,"text-".concat(textVariant),textVariant),_ref),this.sidebarClass],style:{width:width},attrs:this.computedAttrs,directives:[{name:"show",value:localShow}],ref:"content"},[renderContent(h,this)]);$sidebar=h("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[$sidebar]);var $backdrop=h(BVTransition,{props:{noFade:this.noSlide}},[renderBackdrop(h,this)]),$tabTrapTop=h(),$tabTrapBottom=h();return this.backdrop&&localShow&&($tabTrapTop=h("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),$tabTrapBottom=h("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),h("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[$tabTrapTop,$sidebar,$tabTrapBottom,$backdrop])}}),SidebarPlugin=pluginFactory({components:{BSidebar:BSidebar},plugins:{VBTogglePlugin:VBTogglePlugin}}),props$z=makePropsConfigurable({animation:makeProp(PROP_TYPE_STRING,"wave"),height:makeProp(PROP_TYPE_STRING),size:makeProp(PROP_TYPE_STRING),type:makeProp(PROP_TYPE_STRING,"text"),variant:makeProp(PROP_TYPE_STRING),width:makeProp(PROP_TYPE_STRING)},"BSkeleton"),BSkeleton=extend({name:"BSkeleton",functional:!0,props:props$z,render:function(h,_ref){var _class,data=_ref.data,props=_ref.props,size=props.size,animation=props.animation,variant=props.variant;return h("div",a(data,{staticClass:"b-skeleton",style:{width:size||props.width,height:size||props.height},class:(_class={},_defineProperty(_class,"b-skeleton-".concat(props.type),!0),_defineProperty(_class,"b-skeleton-animate-".concat(animation),animation),_defineProperty(_class,"bg-".concat(variant),variant),_class)}))}});makePropsConfigurable(omit(props$2h,["content","stacked"]),"BIconstack");var _props,_watch$3,_watch$2,_objectSpread2,_watch$1,props$y=makePropsConfigurable({animation:makeProp(PROP_TYPE_STRING,"wave"),icon:makeProp(PROP_TYPE_STRING),iconProps:makeProp(PROP_TYPE_OBJECT,{})},"BSkeletonIcon"),BSkeletonIcon=extend({name:"BSkeletonIcon",functional:!0,props:props$y,render:function(h,_ref){var data=_ref.data,props=_ref.props,icon=props.icon,animation=props.animation,$icon=h(BIcon,{staticClass:"b-skeleton-icon",props:_objectSpread2$3(_objectSpread2$3({},props.iconProps),{},{icon:icon})});return h("div",a(data,{staticClass:"b-skeleton-icon-wrapper position-relative d-inline-block overflow-hidden",class:_defineProperty({},"b-skeleton-animate-".concat(animation),animation)}),[$icon])}}),props$x=makePropsConfigurable({animation:makeProp(PROP_TYPE_STRING),aspect:makeProp(PROP_TYPE_STRING,"16:9"),cardImg:makeProp(PROP_TYPE_STRING),height:makeProp(PROP_TYPE_STRING),noAspect:makeProp(PROP_TYPE_BOOLEAN,!1),variant:makeProp(PROP_TYPE_STRING),width:makeProp(PROP_TYPE_STRING)},"BSkeletonImg"),BSkeletonImg=extend({name:"BSkeletonImg",functional:!0,props:props$x,render:function(h,_ref){var data=_ref.data,props=_ref.props,aspect=props.aspect,width=props.width,height=props.height,animation=props.animation,variant=props.variant,cardImg=props.cardImg,$img=h(BSkeleton,a(data,{props:{type:"img",width:width,height:height,animation:animation,variant:variant},class:_defineProperty({},"card-img-".concat(cardImg),cardImg)}));return props.noAspect?$img:h(BAspect,{props:{aspect:aspect}},[$img])}}),hasListenerMixin=extend({methods:{hasListener:function(name){if(isVue3)return!0;var $listeners=this.$listeners||{},$events=this._events||{};return!isUndefined($listeners[name])||isArray($events[name])&&$events[name].length>0}}}),props$w=makePropsConfigurable({variant:makeProp(PROP_TYPE_STRING)},"BTr"),BTr=extend({name:"BTr",mixins:[attrsMixin,listenersMixin,normalizeSlotMixin],provide:function(){var _this=this;return{getBvTableTr:function(){return _this}}},inject:{getBvTableRowGroup:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:props$w,computed:{bvTableRowGroup:function(){return this.getBvTableRowGroup()},inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return"light"!==this.headVariant&&"light"!==this.footVariant&&("dark"===this.headVariant||"dark"===this.footVariant||this.isDark)},trClasses:function(){var variant=this.variant;return[variant?"".concat(this.isRowDark?"bg":"table","-").concat(variant):null]},trAttrs:function(){return _objectSpread2$3({role:"row"},this.bvAttrs)}},render:function(h){return h("tr",{class:this.trClasses,attrs:this.trAttrs,on:this.bvListeners},this.normalizeSlot())}}),props$v={},bottomRowMixin=extend({props:props$v,methods:{renderBottomRow:function(){var fields=this.computedFields,stacked=this.stacked,tbodyTrClass=this.tbodyTrClass,tbodyTrAttr=this.tbodyTrAttr,h=this.$createElement;return this.hasNormalizedSlot("bottom-row")&&!0!==stacked&&""!==stacked?h(BTr,{staticClass:"b-table-bottom-row",class:[isFunction$1(tbodyTrClass)?tbodyTrClass(null,"row-bottom"):tbodyTrClass],attrs:isFunction$1(tbodyTrAttr)?tbodyTrAttr(null,"row-bottom"):tbodyTrAttr,key:"b-bottom-row"},this.normalizeSlot("bottom-row",{columns:fields.length,fields:fields})):h()}}}),parseSpan=function(value){return(value=toInteger(value,0))>0?value:null},spanValidator=function(value){return isUndefinedOrNull(value)||parseSpan(value)>0},props$u=makePropsConfigurable({colspan:makeProp(PROP_TYPE_NUMBER_STRING,null,spanValidator),rowspan:makeProp(PROP_TYPE_NUMBER_STRING,null,spanValidator),stackedHeading:makeProp(PROP_TYPE_STRING),stickyColumn:makeProp(PROP_TYPE_BOOLEAN,!1),variant:makeProp(PROP_TYPE_STRING)},"BTableCell"),BTd=extend({name:"BTableCell",mixins:[attrsMixin,listenersMixin,normalizeSlotMixin],inject:{getBvTableTr:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:props$u,computed:{bvTableTr:function(){return this.getBvTableTr()},tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return parseSpan(this.colspan)},computedRowspan:function(){return parseSpan(this.rowspan)},cellClasses:function(){var variant=this.variant,headVariant=this.headVariant,isStickyColumn=this.isStickyColumn;return(!variant&&this.isStickyHeader&&!headVariant||!variant&&isStickyColumn&&this.inTfoot&&!this.footVariant||!variant&&isStickyColumn&&this.inThead&&!headVariant||!variant&&isStickyColumn&&this.inTbody)&&(variant=this.rowVariant||this.tableVariant||"b-table-default"),[variant?"".concat(this.isDark?"bg":"table","-").concat(variant):null,isStickyColumn?"b-table-sticky-column":null]},cellAttrs:function(){var stackedHeading=this.stackedHeading,headOrFoot=this.inThead||this.inTfoot,colspan=this.computedColspan,rowspan=this.computedRowspan,role="cell",scope=null;return headOrFoot?(role="columnheader",scope=colspan>0?"colspan":"col"):isTag(this.tag,"th")&&(role="rowheader",scope=rowspan>0?"rowgroup":"row"),_objectSpread2$3(_objectSpread2$3({colspan:colspan,rowspan:rowspan,role:role,scope:scope},this.bvAttrs),{},{"data-label":this.isStackedCell&&!isUndefinedOrNull(stackedHeading)?toString(stackedHeading):null})}},render:function(h){var $content=[this.normalizeSlot()];return h(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?h("div",[$content]):$content])}}),props$t=_defineProperty({},"busy",makeProp(PROP_TYPE_BOOLEAN,!1)),busyMixin=extend({props:props$t,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this.busy||this.localBusy}},watch:{localBusy:function(newValue,oldValue){newValue!==oldValue&&this.$emit("update:busy",newValue)}},methods:{stopIfBusy:function(event){return!!this.computedBusy&&(stopEvent(event),!0)},renderBusy:function(){var tbodyTrClass=this.tbodyTrClass,tbodyTrAttr=this.tbodyTrAttr,h=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot("table-busy")?h(BTr,{staticClass:"b-table-busy-slot",class:[isFunction$1(tbodyTrClass)?tbodyTrClass(null,"table-busy"):tbodyTrClass],attrs:isFunction$1(tbodyTrAttr)?tbodyTrAttr(null,"table-busy"):tbodyTrAttr,key:"table-busy-slot"},[h(BTd,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot("table-busy")])]):null}}}),props$s={caption:makeProp(PROP_TYPE_STRING),captionHtml:makeProp(PROP_TYPE_STRING)},captionMixin=extend({props:props$s,computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var caption=this.caption,captionHtml=this.captionHtml,h=this.$createElement,$caption=h(),hasCaptionSlot=this.hasNormalizedSlot("table-caption");return(hasCaptionSlot||caption||captionHtml)&&($caption=h("caption",{attrs:{id:this.captionId},domProps:hasCaptionSlot?{}:htmlOrText(captionHtml,caption),key:"caption",ref:"caption"},this.normalizeSlot("table-caption"))),$caption}}}),props$r={},colgroupMixin=extend({methods:{renderColgroup:function(){var fields=this.computedFields,h=this.$createElement,$colgroup=h();return this.hasNormalizedSlot("table-colgroup")&&($colgroup=h("colgroup",{key:"colgroup"},[this.normalizeSlot("table-colgroup",{columns:fields.length,fields:fields})])),$colgroup}}}),props$q={emptyFilteredHtml:makeProp(PROP_TYPE_STRING),emptyFilteredText:makeProp(PROP_TYPE_STRING,"There are no records matching your request"),emptyHtml:makeProp(PROP_TYPE_STRING),emptyText:makeProp(PROP_TYPE_STRING,"There are no records to show"),showEmpty:makeProp(PROP_TYPE_BOOLEAN,!1)},emptyMixin=extend({props:props$q,methods:{renderEmpty:function(){var _safeVueInstance=safeVueInstance(this),items=_safeVueInstance.computedItems,computedBusy=_safeVueInstance.computedBusy,h=this.$createElement,$empty=h();if(this.showEmpty&&(!items||0===items.length)&&(!computedBusy||!this.hasNormalizedSlot("table-busy"))){var fields=this.computedFields,isFiltered=this.isFiltered,emptyText=this.emptyText,emptyHtml=this.emptyHtml,emptyFilteredText=this.emptyFilteredText,emptyFilteredHtml=this.emptyFilteredHtml,tbodyTrClass=this.tbodyTrClass,tbodyTrAttr=this.tbodyTrAttr;($empty=this.normalizeSlot(isFiltered?"emptyfiltered":"empty",{emptyFilteredHtml:emptyFilteredHtml,emptyFilteredText:emptyFilteredText,emptyHtml:emptyHtml,emptyText:emptyText,fields:fields,items:items}))||($empty=h("div",{class:["text-center","my-2"],domProps:isFiltered?htmlOrText(emptyFilteredHtml,emptyFilteredText):htmlOrText(emptyHtml,emptyText)})),$empty=h(BTd,{props:{colspan:fields.length||null}},[h("div",{attrs:{role:"alert","aria-live":"polite"}},[$empty])]),$empty=h(BTr,{staticClass:"b-table-empty-row",class:[isFunction$1(tbodyTrClass)?tbodyTrClass(null,"row-empty"):tbodyTrClass],attrs:isFunction$1(tbodyTrAttr)?tbodyTrAttr(null,"row-empty"):tbodyTrAttr,key:isFiltered?"b-empty-filtered-row":"b-empty-row"},[$empty])}return $empty}}}),stringifyObjectValues=function stringifyObjectValues(value){return isUndefinedOrNull(value)?"":isObject(value)&&!isDate(value)?keys(value).sort().map((function(k){return stringifyObjectValues(value[k])})).filter((function(v){return!!v})).join(" "):toString(value)},FIELD_KEY_CELL_VARIANT="_cellVariants",FIELD_KEY_ROW_VARIANT="_rowVariant",FIELD_KEY_SHOW_DETAILS="_showDetails",IGNORED_FIELD_KEYS=[FIELD_KEY_CELL_VARIANT,FIELD_KEY_ROW_VARIANT,FIELD_KEY_SHOW_DETAILS].reduce((function(result,key){return _objectSpread2$3(_objectSpread2$3({},result),{},_defineProperty({},key,!0))}),{}),EVENT_FILTER=["a","a *","button","button *","input:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])","textarea:not(.disabled):not([disabled])",'[role="link"]','[role="link"] *','[role="button"]','[role="button"] *',"[tabindex]:not(.disabled):not([disabled])"].join(","),sanitizeRow=function(row,ignoreFields,includeFields){var fieldsObj=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},formattedRow=keys(fieldsObj).reduce((function(result,key){var field=fieldsObj[key],filterByFormatted=field.filterByFormatted,formatter=isFunction$1(filterByFormatted)?filterByFormatted:filterByFormatted?field.formatter:null;return isFunction$1(formatter)&&(result[key]=formatter(row[key],key,row)),result}),clone(row)),allowedKeys=keys(formattedRow).filter((function(key){return!(IGNORED_FIELD_KEYS[key]||isArray(ignoreFields)&&ignoreFields.length>0&&arrayIncludes(ignoreFields,key)||isArray(includeFields)&&includeFields.length>0&&!arrayIncludes(includeFields,key))}));return pick$1(formattedRow,allowedKeys)},props$p={filter:makeProp([].concat(_toConsumableArray$1(PROP_TYPE_ARRAY_OBJECT_STRING),[PROP_TYPE_REG_EXP])),filterDebounce:makeProp(PROP_TYPE_NUMBER_STRING,0,(function(value){return RX_DIGITS.test(String(value))})),filterFunction:makeProp(PROP_TYPE_FUNCTION),filterIgnoredFields:makeProp(PROP_TYPE_ARRAY,[]),filterIncludedFields:makeProp(PROP_TYPE_ARRAY,[])},filteringMixin=extend({props:props$p,data:function(){return{isFiltered:!1,localFilter:this.filterSanitize(this.filter)}},computed:{computedFilterIgnored:function(){return concat(this.filterIgnoredFields||[]).filter(identity)},computedFilterIncluded:function(){return concat(this.filterIncludedFields||[]).filter(identity)},computedFilterDebounce:function(){var ms=toInteger(this.filterDebounce,0);return ms>0&&warn('Prop "filter-debounce" is deprecated. Use the debounce feature of "<b-form-input>" instead.',"BTable"),ms},localFiltering:function(){return!this.hasProvider||!!this.noProviderFiltering},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilterFn:function(){var filterFunction=this.filterFunction;return hasPropFunction(filterFunction)?filterFunction:null},filteredItems:function(){var items=this.localItems,criteria=this.localFilter,filterFn=this.localFiltering?this.filterFnFactory(this.localFilterFn,criteria)||this.defaultFilterFnFactory(criteria):null;return filterFn&&items.length>0?items.filter(filterFn):items}},watch:{computedFilterDebounce:function(newValue){!newValue&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(newCriteria){var _this=this,timeout=this.computedFilterDebounce;this.clearFilterTimer(),timeout&&timeout>0?this.$_filterTimer=setTimeout((function(){_this.localFilter=_this.filterSanitize(newCriteria)}),timeout):this.localFilter=this.filterSanitize(newCriteria)}},filteredCheck:function(_ref){var filteredItems=_ref.filteredItems,localFilter=_ref.localFilter,isFiltered=!1;localFilter?looseEqual(localFilter,[])||looseEqual(localFilter,{})?isFiltered=!1:localFilter&&(isFiltered=!0):isFiltered=!1,isFiltered&&this.$emit("filtered",filteredItems,filteredItems.length),this.isFiltered=isFiltered},isFiltered:function(newValue,oldValue){if(!1===newValue&&!0===oldValue){var localItems=this.localItems;this.$emit("filtered",localItems,localItems.length)}}},created:function(){var _this2=this;this.$_filterTimer=null,this.$nextTick((function(){_this2.isFiltered=Boolean(_this2.localFilter)}))},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(criteria){return!this.localFiltering||this.localFilterFn||isString(criteria)||isRegExp(criteria)?cloneDeep(criteria):""},filterFnFactory:function(filterFn,criteria){if(!filterFn||!isFunction$1(filterFn)||!criteria||looseEqual(criteria,[])||looseEqual(criteria,{}))return null;return function(item){return filterFn(item,criteria)}},defaultFilterFnFactory:function(criteria){var _this3=this;if(!criteria||!isString(criteria)&&!isRegExp(criteria))return null;var regExp=criteria;if(isString(regExp)){var pattern=escapeRegExp(criteria).replace(RX_SPACES,"\\s+");regExp=new RegExp(".*".concat(pattern,".*"),"i")}return function(item){return regExp.lastIndex=0,regExp.test((row=item,ignoreFields=_this3.computedFilterIgnored,includeFields=_this3.computedFilterIncluded,fieldsObj=_this3.computedFieldsObj,isObject(row)?stringifyObjectValues(sanitizeRow(row,ignoreFields,includeFields,fieldsObj)):""));var row,ignoreFields,includeFields,fieldsObj}}}}),normalizeFields=function(origFields,items){var fields=[];if(isArray(origFields)&&origFields.filter(identity).forEach((function(f){if(isString(f))fields.push({key:f,label:startCase(f)});else if(isObject(f)&&f.key&&isString(f.key))fields.push(clone(f));else if(isObject(f)&&1===keys(f).length){var key=keys(f)[0],field=function(key,value){var field=null;return isString(value)?field={key:key,label:value}:isFunction$1(value)?field={key:key,formatter:value}:isObject(value)?(field=clone(value)).key=field.key||key:!1!==value&&(field={key:key}),field}(key,f[key]);field&&fields.push(field)}})),0===fields.length&&isArray(items)&&items.length>0){var sample=items[0];keys(sample).forEach((function(k){IGNORED_FIELD_KEYS[k]||fields.push({key:k,label:startCase(k)})}))}var memo={};return fields.filter((function(f){return!memo[f.key]&&(memo[f.key]=!0,f.label=isString(f.label)?f.label:startCase(f.key),!0)}))},_makeModelMixin$2=makeModelMixin("value",{type:PROP_TYPE_ARRAY,defaultValue:[]}),modelMixin$2=_makeModelMixin$2.mixin,modelProps$2=_makeModelMixin$2.props,MODEL_PROP_NAME$2=_makeModelMixin$2.prop,MODEL_EVENT_NAME$2=_makeModelMixin$2.event,props$o=sortKeys(_objectSpread2$3(_objectSpread2$3({},modelProps$2),{},_defineProperty({fields:makeProp(PROP_TYPE_ARRAY,null),items:makeProp(PROP_TYPE_ARRAY,[]),primaryKey:makeProp(PROP_TYPE_STRING)},MODEL_PROP_NAME$2,makeProp(PROP_TYPE_ARRAY,[])))),itemsMixin=extend({mixins:[modelMixin$2,useParentMixin],props:props$o,data:function(){var items=this.items;return{localItems:isArray(items)?items.slice():[]}},computed:{computedFields:function(){return normalizeFields(this.fields,this.localItems)},computedFieldsObj:function(){var bvParent=this.bvParent;return this.computedFields.reduce((function(obj,f){if(obj[f.key]=clone(f),f.formatter){var formatter=f.formatter;isString(formatter)&&isFunction$1(bvParent[formatter])?formatter=bvParent[formatter]:isFunction$1(formatter)||(formatter=void 0),obj[f.key].formatter=formatter}return obj}),{})},computedItems:function(){var _safeVueInstance=safeVueInstance(this),paginatedItems=_safeVueInstance.paginatedItems,sortedItems=_safeVueInstance.sortedItems,filteredItems=_safeVueInstance.filteredItems,localItems=_safeVueInstance.localItems;return(paginatedItems||sortedItems||filteredItems||localItems||[]).slice()},context:function(){var _safeVueInstance2=safeVueInstance(this),perPage=_safeVueInstance2.perPage,currentPage=_safeVueInstance2.currentPage;return{filter:this.localFilter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,perPage:mathMax(toInteger(perPage,0),0),currentPage:mathMax(toInteger(currentPage,0),1),apiUrl:this.apiUrl}}},watch:{items:function(newValue){this.localItems=isArray(newValue)?newValue.slice():[]},computedItems:function(newValue,oldValue){looseEqual(newValue,oldValue)||this.$emit(MODEL_EVENT_NAME$2,newValue)},context:function(newValue,oldValue){looseEqual(newValue,oldValue)||this.$emit("context-changed",newValue)}},mounted:function(){this.$emit(MODEL_EVENT_NAME$2,this.computedItems)},methods:{getFieldFormatter:function(key){var field=this.computedFieldsObj[key];return field?field.formatter:void 0}}}),props$n={currentPage:makeProp(PROP_TYPE_NUMBER_STRING,1),perPage:makeProp(PROP_TYPE_NUMBER_STRING,0)},paginationMixin=extend({props:props$n,computed:{localPaging:function(){return!this.hasProvider||!!this.noProviderPaging},paginatedItems:function(){var _safeVueInstance=safeVueInstance(this),sortedItems=_safeVueInstance.sortedItems,filteredItems=_safeVueInstance.filteredItems,localItems=_safeVueInstance.localItems,items=sortedItems||filteredItems||localItems||[],currentPage=mathMax(toInteger(this.currentPage,1),1),perPage=mathMax(toInteger(this.perPage,0),0);return this.localPaging&&perPage&&(items=items.slice((currentPage-1)*perPage,currentPage*perPage)),items}}}),ROOT_EVENT_NAME_REFRESHED=getRootEventName("BTable","refreshed"),ROOT_ACTION_EVENT_NAME_REFRESH=getRootActionEventName("BTable","refresh"),props$m={apiUrl:makeProp(PROP_TYPE_STRING),items:makeProp(PROP_TYPE_ARRAY_FUNCTION,[]),noProviderFiltering:makeProp(PROP_TYPE_BOOLEAN,!1),noProviderPaging:makeProp(PROP_TYPE_BOOLEAN,!1),noProviderSorting:makeProp(PROP_TYPE_BOOLEAN,!1)},providerMixin=extend({mixins:[listenOnRootMixin],props:props$m,computed:{hasProvider:function(){return isFunction$1(this.items)},providerTriggerContext:function(){var ctx={apiUrl:this.apiUrl,filter:null,sortBy:null,sortDesc:null,perPage:null,currentPage:null};return this.noProviderFiltering||(ctx.filter=this.localFilter),this.noProviderSorting||(ctx.sortBy=this.localSortBy,ctx.sortDesc=this.localSortDesc),this.noProviderPaging||(ctx.perPage=this.perPage,ctx.currentPage=this.currentPage),clone(ctx)}},watch:{items:function(newValue){(this.hasProvider||isFunction$1(newValue))&&this.$nextTick(this._providerUpdate)},providerTriggerContext:function(newValue,oldValue){looseEqual(newValue,oldValue)||this.$nextTick(this._providerUpdate)}},mounted:function(){var _this=this;!this.hasProvider||this.localItems&&0!==this.localItems.length||this._providerUpdate(),this.listenOnRoot(ROOT_ACTION_EVENT_NAME_REFRESH,(function(id){id!==_this.id&&id!==_this||_this.refresh()}))},methods:{refresh:function(){var _safeVueInstance=safeVueInstance(this),items=_safeVueInstance.items,refresh=_safeVueInstance.refresh,computedBusy=_safeVueInstance.computedBusy;this.$off("refreshed",refresh),computedBusy?this.localBusy&&this.hasProvider&&this.$on("refreshed",refresh):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=isArray(items)?items.slice():[])},_providerSetLocal:function(items){this.localItems=isArray(items)?items.slice():[],this.localBusy=!1,this.$emit("refreshed"),this.id&&this.emitOnRoot(ROOT_EVENT_NAME_REFRESHED,this.id)},_providerUpdate:function(){var _this2=this;this.hasProvider&&(safeVueInstance(this).computedBusy?this.$nextTick(this.refresh):(this.localBusy=!0,this.$nextTick((function(){try{var data=_this2.items(_this2.context,_this2._providerSetLocal);!isUndefinedOrNull(value=data)&&isFunction$1(value.then)&&isFunction$1(value.catch)?data.then((function(items){_this2._providerSetLocal(items)})):isArray(data)?_this2._providerSetLocal(data):2!==_this2.items.length&&(warn("Provider function didn't request callback and did not return a promise or data.","BTable"),_this2.localBusy=!1)}catch(e){warn("Provider function error [".concat(e.name,"] ").concat(e.message,"."),"BTable"),_this2.localBusy=!1,_this2.$off("refreshed",_this2.refresh)}var value}))))}}}),SELECT_MODES=["range","multi","single"],props$l={noSelectOnClick:makeProp(PROP_TYPE_BOOLEAN,!1),selectMode:makeProp(PROP_TYPE_STRING,"multi",(function(value){return arrayIncludes(SELECT_MODES,value)})),selectable:makeProp(PROP_TYPE_BOOLEAN,!1),selectedVariant:makeProp(PROP_TYPE_STRING,"active")},selectableMixin=extend({props:props$l,data:function(){return{selectedRows:[],selectedLastRow:-1}},computed:{isSelectable:function(){return this.selectable&&this.selectMode},hasSelectableRowClick:function(){return this.isSelectable&&!this.noSelectOnClick},supportsSelectableRows:function(){return!0},selectableHasSelection:function(){var selectedRows=this.selectedRows;return this.isSelectable&&selectedRows&&selectedRows.length>0&&selectedRows.some(identity)},selectableIsMultiSelect:function(){return this.isSelectable&&arrayIncludes(["range","multi"],this.selectMode)},selectableTableClasses:function(){var _ref,isSelectable=this.isSelectable;return _defineProperty(_ref={"b-table-selectable":isSelectable},"b-table-select-".concat(this.selectMode),isSelectable),_defineProperty(_ref,"b-table-selecting",this.selectableHasSelection),_defineProperty(_ref,"b-table-selectable-no-click",isSelectable&&!this.hasSelectableRowClick),_ref},selectableTableAttrs:function(){if(!this.isSelectable)return{};var role=this.bvAttrs.role||"grid";return{role:role,"aria-multiselectable":"grid"===role?toString(this.selectableIsMultiSelect):null}}},watch:{computedItems:function(newValue,oldValue){var equal=!1;if(this.isSelectable&&this.selectedRows.length>0){equal=isArray(newValue)&&isArray(oldValue)&&newValue.length===oldValue.length;for(var i=0;equal&&i<newValue.length;i++)equal=looseEqual(sanitizeRow(newValue[i]),sanitizeRow(oldValue[i]))}equal||this.clearSelected()},selectable:function(newValue){this.clearSelected(),this.setSelectionHandlers(newValue)},selectMode:function(){this.clearSelected()},hasSelectableRowClick:function(newValue){this.clearSelected(),this.setSelectionHandlers(!newValue)},selectedRows:function(_selectedRows,oldValue){var _this=this;if(this.isSelectable&&!looseEqual(_selectedRows,oldValue)){var items=[];_selectedRows.forEach((function(v,idx){v&&items.push(_this.computedItems[idx])})),this.$emit("row-selected",items)}}},beforeMount:function(){this.isSelectable&&this.setSelectionHandlers(!0)},methods:{selectRow:function(index){if(this.isSelectable&&isNumber(index)&&index>=0&&index<this.computedItems.length&&!this.isRowSelected(index)){var selectedRows=this.selectableIsMultiSelect?this.selectedRows.slice():[];selectedRows[index]=!0,this.selectedLastClicked=-1,this.selectedRows=selectedRows}},unselectRow:function(index){if(this.isSelectable&&isNumber(index)&&this.isRowSelected(index)){var selectedRows=this.selectedRows.slice();selectedRows[index]=!1,this.selectedLastClicked=-1,this.selectedRows=selectedRows}},selectAllRows:function(){var length=this.computedItems.length;this.isSelectable&&length>0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?createArray(length,!0):[!0])},isRowSelected:function(index){return!(!isNumber(index)||!this.selectedRows[index])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(index){if(this.isSelectable&&this.isRowSelected(index)){var variant=this.selectedVariant;return _defineProperty({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(variant),variant)}return{}},selectableRowAttrs:function(index){return{"aria-selected":this.isSelectable?this.isRowSelected(index)?"true":"false":null}},setSelectionHandlers:function(on){var method=on&&!this.noSelectOnClick?"$on":"$off";this[method]("row-clicked",this.selectionHandler),this[method]("filtered",this.clearSelected),this[method]("context-changed",this.clearSelected)},selectionHandler:function(item,index,event){if(this.isSelectable&&!this.noSelectOnClick){var selectMode=this.selectMode,selectedLastRow=this.selectedLastRow,selectedRows=this.selectedRows.slice(),selected=!selectedRows[index];if("single"===selectMode)selectedRows=[];else if("range"===selectMode)if(selectedLastRow>-1&&event.shiftKey){for(var idx=mathMin(selectedLastRow,index);idx<=mathMax(selectedLastRow,index);idx++)selectedRows[idx]=!0;selected=!0}else event.ctrlKey||event.metaKey||(selectedRows=[],selected=!0),selected&&(this.selectedLastRow=index);selectedRows[index]=selected,this.selectedRows=selectedRows}else this.clearSelected()}}}),stableSort$1=function(array,compareFn){return array.map((function(a,index){return[index,a]})).sort(function(a,b){return this(a[1],b[1])||a[0]-b[0]}.bind(compareFn)).map((function(e){return e[1]}))},normalizeValue=function(value){return isUndefinedOrNull(value)?"":isNumeric$1(value)?toFloat(value,value):value},SORT_DIRECTIONS=["asc","desc","last"],props$k=(_defineProperty(_props={labelSortAsc:makeProp(PROP_TYPE_STRING,"Click to sort ascending"),labelSortClear:makeProp(PROP_TYPE_STRING,"Click to clear sorting"),labelSortDesc:makeProp(PROP_TYPE_STRING,"Click to sort descending"),noFooterSorting:makeProp(PROP_TYPE_BOOLEAN,!1),noLocalSorting:makeProp(PROP_TYPE_BOOLEAN,!1),noSortReset:makeProp(PROP_TYPE_BOOLEAN,!1)},"sortBy",makeProp(PROP_TYPE_STRING)),_defineProperty(_props,"sortCompare",makeProp(PROP_TYPE_FUNCTION)),_defineProperty(_props,"sortCompareLocale",makeProp(PROP_TYPE_ARRAY_STRING)),_defineProperty(_props,"sortCompareOptions",makeProp(PROP_TYPE_OBJECT,{numeric:!0})),_defineProperty(_props,"sortDesc",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_props,"sortDirection",makeProp(PROP_TYPE_STRING,"asc",(function(value){return arrayIncludes(SORT_DIRECTIONS,value)}))),_defineProperty(_props,"sortIconLeft",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_props,"sortNullLast",makeProp(PROP_TYPE_BOOLEAN,!1)),_props),sortingMixin=extend({props:props$k,data:function(){return{localSortBy:this.sortBy||"",localSortDesc:this.sortDesc||!1}},computed:{localSorting:function(){return this.hasProvider?!!this.noProviderSorting:!this.noLocalSorting},isSortable:function(){return this.computedFields.some((function(f){return f.sortable}))},sortedItems:function(){var _safeVueInstance=safeVueInstance(this),sortBy=_safeVueInstance.localSortBy,sortDesc=_safeVueInstance.localSortDesc,locale=_safeVueInstance.sortCompareLocale,nullLast=_safeVueInstance.sortNullLast,sortCompare=_safeVueInstance.sortCompare,localSorting=_safeVueInstance.localSorting,filteredItems=_safeVueInstance.filteredItems,localItems=_safeVueInstance.localItems,items=(filteredItems||localItems||[]).slice(),localeOptions=_objectSpread2$3(_objectSpread2$3({},this.sortCompareOptions),{},{usage:"sort"});if(sortBy&&localSorting){var sortByFormatted=(this.computedFieldsObj[sortBy]||{}).sortByFormatted,formatter=isFunction$1(sortByFormatted)?sortByFormatted:sortByFormatted?this.getFieldFormatter(sortBy):void 0;return stableSort$1(items,(function(a,b){var result=null;return isFunction$1(sortCompare)&&(result=sortCompare(a,b,sortBy,sortDesc,formatter,localeOptions,locale)),(isUndefinedOrNull(result)||!1===result)&&(result=function(a,b){var _ref=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_ref$sortBy=_ref.sortBy,sortBy=void 0===_ref$sortBy?null:_ref$sortBy,_ref$formatter=_ref.formatter,formatter=void 0===_ref$formatter?null:_ref$formatter,_ref$locale=_ref.locale,locale=void 0===_ref$locale?void 0:_ref$locale,_ref$localeOptions=_ref.localeOptions,localeOptions=void 0===_ref$localeOptions?{}:_ref$localeOptions,_ref$nullLast=_ref.nullLast,nullLast=void 0!==_ref$nullLast&&_ref$nullLast,aa=get(a,sortBy,null),bb=get(b,sortBy,null);return isFunction$1(formatter)&&(aa=formatter(aa,sortBy,a),bb=formatter(bb,sortBy,b)),aa=normalizeValue(aa),bb=normalizeValue(bb),isDate(aa)&&isDate(bb)||isNumber(aa)&&isNumber(bb)?aa<bb?-1:aa>bb?1:0:nullLast&&""===aa&&""!==bb?1:nullLast&&""!==aa&&""===bb?-1:stringifyObjectValues(aa).localeCompare(stringifyObjectValues(bb),locale,localeOptions)}(a,b,{sortBy:sortBy,formatter:formatter,locale:locale,localeOptions:localeOptions,nullLast:nullLast})),(result||0)*(sortDesc?-1:1)}))}return items}},watch:(_watch$3={isSortable:function(newValue){newValue?this.isSortable&&this.$on("head-clicked",this.handleSort):this.$off("head-clicked",this.handleSort)}},_defineProperty(_watch$3,"sortDesc",(function(newValue){newValue!==this.localSortDesc&&(this.localSortDesc=newValue||!1)})),_defineProperty(_watch$3,"sortBy",(function(newValue){newValue!==this.localSortBy&&(this.localSortBy=newValue||"")})),_defineProperty(_watch$3,"localSortDesc",(function(newValue,oldValue){newValue!==oldValue&&this.$emit("update:sortDesc",newValue)})),_defineProperty(_watch$3,"localSortBy",(function(newValue,oldValue){newValue!==oldValue&&this.$emit("update:sortBy",newValue)})),_watch$3),created:function(){this.isSortable&&this.$on("head-clicked",this.handleSort)},methods:{handleSort:function(key,field,event,isFoot){var _this=this;if(this.isSortable&&(!isFoot||!this.noFooterSorting)){var sortChanged=!1,toggleLocalSortDesc=function(){var sortDirection=field.sortDirection||_this.sortDirection;"asc"===sortDirection?_this.localSortDesc=!1:"desc"===sortDirection&&(_this.localSortDesc=!0)};if(field.sortable){var sortKey=!this.localSorting&&field.sortKey?field.sortKey:key;this.localSortBy===sortKey?this.localSortDesc=!this.localSortDesc:(this.localSortBy=sortKey,toggleLocalSortDesc()),sortChanged=!0}else this.localSortBy&&!this.noSortReset&&(this.localSortBy="",toggleLocalSortDesc(),sortChanged=!0);sortChanged&&this.$emit("sort-changed",this.context)}},sortTheadThClasses:function(key,field,isFoot){return{"b-table-sort-icon-left":field.sortable&&this.sortIconLeft&&!(isFoot&&this.noFooterSorting)}},sortTheadThAttrs:function(key,field,isFoot){var _field$sortKey,isSortable=this.isSortable,noFooterSorting=this.noFooterSorting,localSortDesc=this.localSortDesc,localSortBy=this.localSortBy,localSorting=this.localSorting;if(!isSortable||isFoot&&noFooterSorting)return{};var sortable=field.sortable,sortKey=localSorting?key:null!==(_field$sortKey=field.sortKey)&&void 0!==_field$sortKey?_field$sortKey:key;return{"aria-sort":sortable&&localSortBy===sortKey?localSortDesc?"descending":"ascending":sortable?"none":null}},sortTheadThLabel:function(key,field,isFoot){if(!this.isSortable||isFoot&&this.noFooterSorting)return null;var localSortBy=this.localSortBy,localSortDesc=this.localSortDesc,labelSortAsc=this.labelSortAsc,labelSortDesc=this.labelSortDesc,labelSorting="";if(field.sortable)if(localSortBy===key)labelSorting=localSortDesc?labelSortAsc:labelSortDesc;else{labelSorting=localSortDesc?labelSortDesc:labelSortAsc;var sortDirection=this.sortDirection||field.sortDirection;"asc"===sortDirection?labelSorting=labelSortAsc:"desc"===sortDirection&&(labelSorting=labelSortDesc)}else this.noSortReset||(labelSorting=localSortBy?this.labelSortClear:"");return trim(labelSorting)||null}}}),props$j={stacked:makeProp(PROP_TYPE_BOOLEAN_STRING,!1)},stackedMixin=extend({props:props$j,computed:{isStacked:function(){var stacked=this.stacked;return""===stacked||stacked},isStackedAlways:function(){return!0===this.isStacked},stackedTableClasses:function(){var isStackedAlways=this.isStackedAlways;return _defineProperty({"b-table-stacked":isStackedAlways},"b-table-stacked-".concat(this.stacked),!isStackedAlways&&this.isStacked)}}}),props$i={bordered:makeProp(PROP_TYPE_BOOLEAN,!1),borderless:makeProp(PROP_TYPE_BOOLEAN,!1),captionTop:makeProp(PROP_TYPE_BOOLEAN,!1),dark:makeProp(PROP_TYPE_BOOLEAN,!1),fixed:makeProp(PROP_TYPE_BOOLEAN,!1),hover:makeProp(PROP_TYPE_BOOLEAN,!1),noBorderCollapse:makeProp(PROP_TYPE_BOOLEAN,!1),outlined:makeProp(PROP_TYPE_BOOLEAN,!1),responsive:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),small:makeProp(PROP_TYPE_BOOLEAN,!1),stickyHeader:makeProp(PROP_TYPE_BOOLEAN_STRING,!1),striped:makeProp(PROP_TYPE_BOOLEAN,!1),tableClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),tableVariant:makeProp(PROP_TYPE_STRING)},tableRendererMixin=extend({mixins:[attrsMixin],provide:function(){var _this=this;return{getBvTable:function(){return _this}}},inheritAttrs:!1,props:props$i,computed:{isTableSimple:function(){return!1},isResponsive:function(){var responsive=this.responsive;return""===responsive||responsive},isStickyHeader:function(){var stickyHeader=this.stickyHeader;return stickyHeader=""===stickyHeader||stickyHeader,!this.isStacked&&stickyHeader},wrapperClasses:function(){var isResponsive=this.isResponsive;return[this.isStickyHeader?"b-table-sticky-header":"",!0===isResponsive?"table-responsive":isResponsive?"table-responsive-".concat(this.responsive):""].filter(identity)},wrapperStyles:function(){var isStickyHeader=this.isStickyHeader;return isStickyHeader&&!isBoolean(isStickyHeader)?{maxHeight:isStickyHeader}:{}},tableClasses:function(){var _safeVueInstance=safeVueInstance(this),hover=_safeVueInstance.hover,tableVariant=_safeVueInstance.tableVariant,selectableTableClasses=_safeVueInstance.selectableTableClasses,stackedTableClasses=_safeVueInstance.stackedTableClasses,tableClass=_safeVueInstance.tableClass,computedBusy=_safeVueInstance.computedBusy;return hover=this.isTableSimple?hover:hover&&this.computedItems.length>0&&!computedBusy,[tableClass,{"table-striped":this.striped,"table-hover":hover,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},tableVariant?"".concat(this.dark?"bg":"table","-").concat(tableVariant):"",stackedTableClasses,selectableTableClasses]},tableAttrs:function(){var _safeVueInstance2=safeVueInstance(this),items=_safeVueInstance2.computedItems,filteredItems=_safeVueInstance2.filteredItems,fields=_safeVueInstance2.computedFields,selectableTableAttrs=_safeVueInstance2.selectableTableAttrs,computedBusy=_safeVueInstance2.computedBusy,ariaAttrs=this.isTableSimple?{}:{"aria-busy":toString(computedBusy),"aria-colcount":toString(fields.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null};return _objectSpread2$3(_objectSpread2$3(_objectSpread2$3({"aria-rowcount":items&&filteredItems&&filteredItems.length>items.length?toString(filteredItems.length):null},this.bvAttrs),{},{id:this.safeId(),role:this.bvAttrs.role||"table"},ariaAttrs),selectableTableAttrs)}},render:function(h){var _safeVueInstance3=safeVueInstance(this),wrapperClasses=_safeVueInstance3.wrapperClasses,renderCaption=_safeVueInstance3.renderCaption,renderColgroup=_safeVueInstance3.renderColgroup,renderThead=_safeVueInstance3.renderThead,renderTbody=_safeVueInstance3.renderTbody,renderTfoot=_safeVueInstance3.renderTfoot,$content=[];this.isTableSimple?$content.push(this.normalizeSlot()):($content.push(renderCaption?renderCaption():null),$content.push(renderColgroup?renderColgroup():null),$content.push(renderThead?renderThead():null),$content.push(renderTbody?renderTbody():null),$content.push(renderTfoot?renderTfoot():null));var $table=h("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},$content.filter(identity));return wrapperClasses.length>0?h("div",{class:wrapperClasses,style:this.wrapperStyles,key:"wrap"},[$table]):$table}}),props$h=makePropsConfigurable({tbodyTransitionHandlers:makeProp(PROP_TYPE_OBJECT),tbodyTransitionProps:makeProp(PROP_TYPE_OBJECT)},"BTbody"),BTbody=extend({name:"BTbody",mixins:[attrsMixin,listenersMixin,normalizeSlotMixin],provide:function(){var _this=this;return{getBvTableRowGroup:function(){return _this}}},inject:{getBvTable:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:props$h,computed:{bvTable:function(){return this.getBvTable()},isTbody:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},isTransitionGroup:function(){return this.tbodyTransitionProps||this.tbodyTransitionHandlers},tbodyAttrs:function(){return _objectSpread2$3({role:"rowgroup"},this.bvAttrs)},tbodyProps:function(){var tbodyTransitionProps=this.tbodyTransitionProps;return tbodyTransitionProps?_objectSpread2$3(_objectSpread2$3({},tbodyTransitionProps),{},{tag:"tbody"}):{}}},render:function(h){var data={props:this.tbodyProps,attrs:this.tbodyAttrs};return this.isTransitionGroup?(data.on=this.tbodyTransitionHandlers||{},data.nativeOn=this.bvListeners):data.on=this.bvListeners,h(this.isTransitionGroup?"transition-group":"tbody",data,this.normalizeSlot())}}),TABLE_TAG_NAMES=["TD","TH","TR"],filterEvent=function(event){if(!event||!event.target)return!1;var el=event.target;if(el.disabled||-1!==TABLE_TAG_NAMES.indexOf(el.tagName))return!1;if(closest(".dropdown-menu",el))return!0;var label="LABEL"===el.tagName?el:closest("label",el);if(label){var labelFor=getAttr(label,"for"),input=labelFor?getById(labelFor):select("input, select, textarea",label);if(input&&!input.disabled)return!0}return matches(el,EVENT_FILTER)},textSelectionActive=function(){var el=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,sel=WINDOW.getSelection?WINDOW.getSelection():null;return!!(sel&&""!==sel.toString().trim()&&sel.containsNode&&isElement(el))&&sel.containsNode(el,!0)},props$g=makePropsConfigurable(props$u,"BTh"),BTh=extend({name:"BTh",extends:BTd,props:props$g,computed:{tag:function(){return"th"}}}),props$f={detailsTdClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),tbodyTrAttr:makeProp(PROP_TYPE_OBJECT_FUNCTION),tbodyTrClass:makeProp([].concat(_toConsumableArray$1(PROP_TYPE_ARRAY_OBJECT_STRING),[PROP_TYPE_FUNCTION]))},tbodyRowMixin=extend({mixins:[useParentMixin],props:props$f,methods:{getTdValues:function(item,key,tdValue,defaultValue){var bvParent=this.bvParent;if(tdValue){var value=get(item,key,"");return isFunction$1(tdValue)?tdValue(value,key,item):isString(tdValue)&&isFunction$1(bvParent[tdValue])?bvParent[tdValue](value,key,item):tdValue}return defaultValue},getThValues:function(item,key,thValue,type,defaultValue){var bvParent=this.bvParent;if(thValue){var value=get(item,key,"");return isFunction$1(thValue)?thValue(value,key,item,type):isString(thValue)&&isFunction$1(bvParent[thValue])?bvParent[thValue](value,key,item,type):thValue}return defaultValue},getFormattedValue:function(item,field){var key=field.key,formatter=this.getFieldFormatter(key),value=get(item,key,null);return isFunction$1(formatter)&&(value=formatter(value,key,item)),isUndefinedOrNull(value)?"":value},toggleDetailsFactory:function(hasDetailsSlot,item){var _this=this;return function(){hasDetailsSlot&&_this.$set(item,FIELD_KEY_SHOW_DETAILS,!item[FIELD_KEY_SHOW_DETAILS])}},rowHovered:function(event){this.tbodyRowEventStopped(event)||this.emitTbodyRowEvent("row-hovered",event)},rowUnhovered:function(event){this.tbodyRowEventStopped(event)||this.emitTbodyRowEvent("row-unhovered",event)},renderTbodyRowCell:function(field,colIndex,item,rowIndex){var _this2=this,isStacked=this.isStacked,key=field.key,label=field.label,isRowHeader=field.isRowHeader,h=this.$createElement,hasDetailsSlot=this.hasNormalizedSlot("row-details"),formatted=this.getFormattedValue(item,field),stickyColumn=!isStacked&&(this.isResponsive||this.stickyHeader)&&field.stickyColumn,cellTag=stickyColumn?isRowHeader?BTh:BTd:isRowHeader?"th":"td",cellVariant=item[FIELD_KEY_CELL_VARIANT]&&item[FIELD_KEY_CELL_VARIANT][key]?item[FIELD_KEY_CELL_VARIANT][key]:field.variant||null,data={class:[field.class?field.class:"",this.getTdValues(item,key,field.tdClass,"")],props:{},attrs:_objectSpread2$3({"aria-colindex":String(colIndex+1)},isRowHeader?this.getThValues(item,key,field.thAttr,"row",{}):this.getTdValues(item,key,field.tdAttr,{})),key:"row-".concat(rowIndex,"-cell-").concat(colIndex,"-").concat(key)};stickyColumn?data.props={stackedHeading:isStacked?label:null,stickyColumn:!0,variant:cellVariant}:(data.attrs["data-label"]=isStacked&&!isUndefinedOrNull(label)?toString(label):null,data.attrs.role=isRowHeader?"rowheader":"cell",data.attrs.scope=isRowHeader?"row":null,cellVariant&&data.class.push("".concat(this.dark?"bg":"table","-").concat(cellVariant)));var slotScope={item:item,index:rowIndex,field:field,unformatted:get(item,key,""),value:formatted,toggleDetails:this.toggleDetailsFactory(hasDetailsSlot,item),detailsShowing:Boolean(item[FIELD_KEY_SHOW_DETAILS])};safeVueInstance(this).supportsSelectableRows&&(slotScope.rowSelected=this.isRowSelected(rowIndex),slotScope.selectRow=function(){return _this2.selectRow(rowIndex)},slotScope.unselectRow=function(){return _this2.unselectRow(rowIndex)});var slotName=this.$_bodyFieldSlotNameCache[key],$childNodes=slotName?this.normalizeSlot(slotName,slotScope):toString(formatted);return this.isStacked&&($childNodes=[h("div",[$childNodes])]),h(cellTag,data,[$childNodes])},renderTbodyRow:function(item,rowIndex){var _this3=this,_safeVueInstance=safeVueInstance(this),fields=_safeVueInstance.computedFields,striped=_safeVueInstance.striped,primaryKey=_safeVueInstance.primaryKey,currentPage=_safeVueInstance.currentPage,perPage=_safeVueInstance.perPage,tbodyTrClass=_safeVueInstance.tbodyTrClass,tbodyTrAttr=_safeVueInstance.tbodyTrAttr,hasSelectableRowClick=_safeVueInstance.hasSelectableRowClick,h=this.$createElement,hasDetailsSlot=this.hasNormalizedSlot("row-details"),rowShowDetails=item[FIELD_KEY_SHOW_DETAILS]&&hasDetailsSlot,hasRowClickHandler=this.$listeners["row-clicked"]||hasSelectableRowClick,$rows=[],detailsId=rowShowDetails?this.safeId("_details_".concat(rowIndex,"_")):null,$tds=fields.map((function(field,colIndex){return _this3.renderTbodyRowCell(field,colIndex,item,rowIndex)})),ariaRowIndex=null;currentPage&&perPage&&perPage>0&&(ariaRowIndex=String((currentPage-1)*perPage+rowIndex+1));var primaryKeyValue=toString(get(item,primaryKey))||null,rowKey=primaryKeyValue||toString(rowIndex),rowId=primaryKeyValue?this.safeId("_row_".concat(primaryKeyValue)):null,selectableClasses=safeVueInstance(this).selectableRowClasses?this.selectableRowClasses(rowIndex):{},selectableAttrs=safeVueInstance(this).selectableRowAttrs?this.selectableRowAttrs(rowIndex):{},userTrClasses=isFunction$1(tbodyTrClass)?tbodyTrClass(item,"row"):tbodyTrClass,userTrAttrs=isFunction$1(tbodyTrAttr)?tbodyTrAttr(item,"row"):tbodyTrAttr;if($rows.push(h(BTr,_defineProperty({class:[userTrClasses,selectableClasses,rowShowDetails?"b-table-has-details":""],props:{variant:item[FIELD_KEY_ROW_VARIANT]||null},attrs:_objectSpread2$3(_objectSpread2$3({id:rowId},userTrAttrs),{},{tabindex:hasRowClickHandler?"0":null,"data-pk":primaryKeyValue||null,"aria-details":detailsId,"aria-owns":detailsId,"aria-rowindex":ariaRowIndex},selectableAttrs),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(rowKey,"__"),ref:"item-rows"},REF_FOR_KEY,!0),$tds)),rowShowDetails){var detailsScope={item:item,index:rowIndex,fields:fields,toggleDetails:this.toggleDetailsFactory(hasDetailsSlot,item)};safeVueInstance(this).supportsSelectableRows&&(detailsScope.rowSelected=this.isRowSelected(rowIndex),detailsScope.selectRow=function(){return _this3.selectRow(rowIndex)},detailsScope.unselectRow=function(){return _this3.unselectRow(rowIndex)});var $details=h(BTd,{props:{colspan:fields.length},class:this.detailsTdClass},[this.normalizeSlot("row-details",detailsScope)]);striped&&$rows.push(h("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(rowKey)}));var userDetailsTrClasses=isFunction$1(this.tbodyTrClass)?this.tbodyTrClass(item,"row-details"):this.tbodyTrClass,userDetailsTrAttrs=isFunction$1(this.tbodyTrAttr)?this.tbodyTrAttr(item,"row-details"):this.tbodyTrAttr;$rows.push(h(BTr,{staticClass:"b-table-details",class:[userDetailsTrClasses],props:{variant:item[FIELD_KEY_ROW_VARIANT]||null},attrs:_objectSpread2$3(_objectSpread2$3({},userDetailsTrAttrs),{},{id:detailsId,tabindex:"-1"}),key:"__b-table-details__".concat(rowKey)},[$details]))}else hasDetailsSlot&&($rows.push(h()),striped&&$rows.push(h()));return $rows}}}),getCellSlotName=function(value){return"cell(".concat(value||"",")")},props$e=sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$h),props$f),{},{tbodyClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)})),tbodyMixin=extend({mixins:[tbodyRowMixin],props:props$e,beforeDestroy:function(){this.$_bodyFieldSlotNameCache=null},methods:{getTbodyTrs:function(){var $refs=this.$refs,tbody=$refs.tbody?$refs.tbody.$el||$refs.tbody:null,trs=($refs["item-rows"]||[]).map((function(tr){return tr.$el||tr}));return tbody&&tbody.children&&tbody.children.length>0&&trs&&trs.length>0?from(tbody.children).filter((function(tr){return arrayIncludes(trs,tr)})):[]},getTbodyTrIndex:function(el){if(!isElement(el))return-1;var tr="TR"===el.tagName?el:closest("tr",el,!0);return tr?this.getTbodyTrs().indexOf(tr):-1},emitTbodyRowEvent:function(type,event){if(type&&this.hasListener(type)&&event&&event.target){var rowIndex=this.getTbodyTrIndex(event.target);if(rowIndex>-1){var item=this.computedItems[rowIndex];this.$emit(type,item,rowIndex,event)}}},tbodyRowEventStopped:function(event){return this.stopIfBusy&&this.stopIfBusy(event)},onTbodyRowKeydown:function(event){var target=event.target,keyCode=event.keyCode;if(!this.tbodyRowEventStopped(event)&&"TR"===target.tagName&&isActiveElement(target)&&0===target.tabIndex)if(arrayIncludes([CODE_ENTER,CODE_SPACE],keyCode))stopEvent(event),this.onTBodyRowClicked(event);else if(arrayIncludes([CODE_UP,CODE_DOWN,CODE_HOME,CODE_END],keyCode)){var rowIndex=this.getTbodyTrIndex(target);if(rowIndex>-1){stopEvent(event);var trs=this.getTbodyTrs(),shift=event.shiftKey;keyCode===CODE_HOME||shift&&keyCode===CODE_UP?attemptFocus(trs[0]):keyCode===CODE_END||shift&&keyCode===CODE_DOWN?attemptFocus(trs[trs.length-1]):keyCode===CODE_UP&&rowIndex>0?attemptFocus(trs[rowIndex-1]):keyCode===CODE_DOWN&&rowIndex<trs.length-1&&attemptFocus(trs[rowIndex+1])}}},onTBodyRowClicked:function(event){var $refs=this.$refs,tbody=$refs.tbody?$refs.tbody.$el||$refs.tbody:null;this.tbodyRowEventStopped(event)||filterEvent(event)||textSelectionActive(tbody||this.$el)||this.emitTbodyRowEvent("row-clicked",event)},onTbodyRowMiddleMouseRowClicked:function(event){this.tbodyRowEventStopped(event)||2!==event.which||this.emitTbodyRowEvent("row-middle-clicked",event)},onTbodyRowContextmenu:function(event){this.tbodyRowEventStopped(event)||this.emitTbodyRowEvent("row-contextmenu",event)},onTbodyRowDblClicked:function(event){this.tbodyRowEventStopped(event)||filterEvent(event)||this.emitTbodyRowEvent("row-dblclicked",event)},renderTbody:function(){var _this=this,_safeVueInstance=safeVueInstance(this),items=_safeVueInstance.computedItems,renderBusy=_safeVueInstance.renderBusy,renderTopRow=_safeVueInstance.renderTopRow,renderEmpty=_safeVueInstance.renderEmpty,renderBottomRow=_safeVueInstance.renderBottomRow,hasSelectableRowClick=_safeVueInstance.hasSelectableRowClick,h=this.$createElement,hasRowClickHandler=this.hasListener("row-clicked")||hasSelectableRowClick,$rows=[],$busy=renderBusy?renderBusy():null;if($busy)$rows.push($busy);else{var cache={},defaultSlotName=getCellSlotName();defaultSlotName=this.hasNormalizedSlot(defaultSlotName)?defaultSlotName:null,this.computedFields.forEach((function(field){var key=field.key,slotName=getCellSlotName(key),lowercaseSlotName=getCellSlotName(key.toLowerCase());cache[key]=_this.hasNormalizedSlot(slotName)?slotName:_this.hasNormalizedSlot(lowercaseSlotName)?lowercaseSlotName:defaultSlotName})),this.$_bodyFieldSlotNameCache=cache,$rows.push(renderTopRow?renderTopRow():h()),items.forEach((function(item,rowIndex){$rows.push(_this.renderTbodyRow(item,rowIndex))})),$rows.push(renderEmpty?renderEmpty():h()),$rows.push(renderBottomRow?renderBottomRow():h())}var handlers={auxclick:this.onTbodyRowMiddleMouseRowClicked,contextmenu:this.onTbodyRowContextmenu,dblclick:this.onTbodyRowDblClicked};return hasRowClickHandler&&(handlers.click=this.onTBodyRowClicked,handlers.keydown=this.onTbodyRowKeydown),h(BTbody,{class:this.tbodyClass||null,props:pluckProps(props$h,this.$props),on:handlers,ref:"tbody"},$rows)}}}),props$d=makePropsConfigurable({footVariant:makeProp(PROP_TYPE_STRING)},"BTfoot"),BTfoot=extend({name:"BTfoot",mixins:[attrsMixin,listenersMixin,normalizeSlotMixin],provide:function(){var _this=this;return{getBvTableRowGroup:function(){return _this}}},inject:{getBvTable:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:props$d,computed:{bvTable:function(){return this.getBvTable()},isTfoot:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},tfootClasses:function(){return[this.footVariant?"thead-".concat(this.footVariant):null]},tfootAttrs:function(){return _objectSpread2$3(_objectSpread2$3({},this.bvAttrs),{},{role:"rowgroup"})}},render:function(h){return h("tfoot",{class:this.tfootClasses,attrs:this.tfootAttrs,on:this.bvListeners},this.normalizeSlot())}}),props$c={footClone:makeProp(PROP_TYPE_BOOLEAN,!1),footRowVariant:makeProp(PROP_TYPE_STRING),footVariant:makeProp(PROP_TYPE_STRING),tfootClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),tfootTrClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)},tfootMixin=extend({props:props$c,methods:{renderTFootCustom:function(){var h=this.$createElement;return this.hasNormalizedSlot("custom-foot")?h(BTfoot,{class:this.tfootClass||null,props:{footVariant:this.footVariant||this.headVariant||null},key:"bv-tfoot-custom"},this.normalizeSlot("custom-foot",{items:this.computedItems.slice(),fields:this.computedFields.slice(),columns:this.computedFields.length})):h()},renderTfoot:function(){return this.footClone?this.renderThead(!0):this.renderTFootCustom()}}}),props$b=makePropsConfigurable({headVariant:makeProp(PROP_TYPE_STRING)},"BThead"),BThead=extend({name:"BThead",mixins:[attrsMixin,listenersMixin,normalizeSlotMixin],provide:function(){var _this=this;return{getBvTableRowGroup:function(){return _this}}},inject:{getBvTable:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:props$b,computed:{bvTable:function(){return this.getBvTable()},isThead:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},theadClasses:function(){return[this.headVariant?"thead-".concat(this.headVariant):null]},theadAttrs:function(){return _objectSpread2$3({role:"rowgroup"},this.bvAttrs)}},render:function(h){return h("thead",{class:this.theadClasses,attrs:this.theadAttrs,on:this.bvListeners},this.normalizeSlot())}}),getHeadSlotName=function(value){return"head(".concat(value||"",")")},getFootSlotName=function(value){return"foot(".concat(value||"",")")},props$a={headRowVariant:makeProp(PROP_TYPE_STRING),headVariant:makeProp(PROP_TYPE_STRING),theadClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),theadTrClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)},theadMixin=extend({props:props$a,methods:{fieldClasses:function(field){return[field.class?field.class:"",field.thClass?field.thClass:""]},headClicked:function(event,field,isFoot){this.stopIfBusy&&this.stopIfBusy(event)||filterEvent(event)||textSelectionActive(this.$el)||(stopEvent(event),this.$emit("head-clicked",field.key,field,event,isFoot))},renderThead:function(){var _this=this,isFoot=arguments.length>0&&void 0!==arguments[0]&&arguments[0],_safeVueInstance=safeVueInstance(this),fields=_safeVueInstance.computedFields,isSortable=_safeVueInstance.isSortable,isSelectable=_safeVueInstance.isSelectable,headVariant=_safeVueInstance.headVariant,footVariant=_safeVueInstance.footVariant,headRowVariant=_safeVueInstance.headRowVariant,footRowVariant=_safeVueInstance.footRowVariant,h=this.$createElement;if(this.isStackedAlways||0===fields.length)return h();var hasHeadClickListener=isSortable||this.hasListener("head-clicked"),selectAllRows=isSelectable?this.selectAllRows:noop,clearSelected=isSelectable?this.clearSelected:noop,$cells=fields.map((function(field,colIndex){var label=field.label,labelHtml=field.labelHtml,variant=field.variant,stickyColumn=field.stickyColumn,key=field.key,ariaLabel=null;field.label.trim()||field.headerTitle||(ariaLabel=startCase(field.key));var on={};hasHeadClickListener&&(on.click=function(event){_this.headClicked(event,field,isFoot)},on.keydown=function(event){var keyCode=event.keyCode;keyCode!==CODE_ENTER&&keyCode!==CODE_SPACE||_this.headClicked(event,field,isFoot)});var sortAttrs=isSortable?_this.sortTheadThAttrs(key,field,isFoot):{},sortClass=isSortable?_this.sortTheadThClasses(key,field,isFoot):null,sortLabel=isSortable?_this.sortTheadThLabel(key,field,isFoot):null,data={class:[{"position-relative":sortLabel},_this.fieldClasses(field),sortClass],props:{variant:variant,stickyColumn:stickyColumn},style:field.thStyle||{},attrs:_objectSpread2$3(_objectSpread2$3({tabindex:hasHeadClickListener&&field.sortable?"0":null,abbr:field.headerAbbr||null,title:field.headerTitle||null,"aria-colindex":colIndex+1,"aria-label":ariaLabel},_this.getThValues(null,key,field.thAttr,isFoot?"foot":"head",{})),sortAttrs),on:on,key:key},slotNames=[getHeadSlotName(key),getHeadSlotName(key.toLowerCase()),getHeadSlotName()];isFoot&&(slotNames=[getFootSlotName(key),getFootSlotName(key.toLowerCase()),getFootSlotName()].concat(_toConsumableArray$1(slotNames)));var scope={label:label,column:key,field:field,isFoot:isFoot,selectAllRows:selectAllRows,clearSelected:clearSelected},$content=_this.normalizeSlot(slotNames,scope)||h("div",{domProps:htmlOrText(labelHtml,label)}),$srLabel=sortLabel?h("span",{staticClass:"sr-only"}," (".concat(sortLabel,")")):null;return h(BTh,data,[$content,$srLabel].filter(identity))})).filter(identity),$trs=[];if(isFoot)$trs.push(h(BTr,{class:this.tfootTrClass,props:{variant:isUndefinedOrNull(footRowVariant)?headRowVariant:footRowVariant}},$cells));else{var scope={columns:fields.length,fields:fields,selectAllRows:selectAllRows,clearSelected:clearSelected};$trs.push(this.normalizeSlot("thead-top",scope)||h()),$trs.push(h(BTr,{class:this.theadTrClass,props:{variant:headRowVariant}},$cells))}return h(isFoot?BTfoot:BThead,{class:(isFoot?this.tfootClass:this.theadClass)||null,props:isFoot?{footVariant:footVariant||headVariant||null}:{headVariant:headVariant||null},key:isFoot?"bv-tfoot":"bv-thead"},$trs)}}}),topRowMixin=extend({methods:{renderTopRow:function(){var fields=this.computedFields,stacked=this.stacked,tbodyTrClass=this.tbodyTrClass,tbodyTrAttr=this.tbodyTrAttr,h=this.$createElement;return this.hasNormalizedSlot("top-row")&&!0!==stacked&&""!==stacked?h(BTr,{staticClass:"b-table-top-row",class:[isFunction$1(tbodyTrClass)?tbodyTrClass(null,"row-top"):tbodyTrClass],attrs:isFunction$1(tbodyTrAttr)?tbodyTrAttr(null,"row-top"):tbodyTrAttr,key:"b-top-row"},[this.normalizeSlot("top-row",{columns:fields.length,fields:fields})]):h()}}}),props$8=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),props$v),props$t),props$s),props$r),props$q),props$p),props$o),props$n),props$m),props$l),props$k),props$j),props$i),props$e),props$c),props$a),{})),"BTable"),BTable=extend({name:"BTable",mixins:[attrsMixin,hasListenerMixin,idMixin,normalizeSlotMixin,itemsMixin,tableRendererMixin,stackedMixin,theadMixin,tfootMixin,tbodyMixin,stackedMixin,filteringMixin,sortingMixin,paginationMixin,captionMixin,colgroupMixin,selectableMixin,emptyMixin,topRowMixin,bottomRowMixin,busyMixin,providerMixin],props:props$8}),props$7=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),props$s),props$r),props$o),props$j),props$i),props$e),props$c),props$a)),"BTableLite"),BTableLite=extend({name:"BTableLite",mixins:[attrsMixin,hasListenerMixin,idMixin,normalizeSlotMixin,itemsMixin,tableRendererMixin,stackedMixin,theadMixin,tfootMixin,tbodyMixin,captionMixin,colgroupMixin],props:props$7}),props$6=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),props$j),props$i)),"BTableSimple"),BTableSimple=extend({name:"BTableSimple",mixins:[attrsMixin,hasListenerMixin,idMixin,normalizeSlotMixin,tableRendererMixin,stackedMixin],props:props$6,computed:{isTableSimple:function(){return!0}}}),TableLitePlugin=pluginFactory({components:{BTableLite:BTableLite}}),TableSimplePlugin=pluginFactory({components:{BTableSimple:BTableSimple,BTbody:BTbody,BThead:BThead,BTfoot:BTfoot,BTr:BTr,BTd:BTd,BTh:BTh}}),TablePlugin=pluginFactory({components:{BTable:BTable},plugins:{TableLitePlugin:TableLitePlugin,TableSimplePlugin:TableSimplePlugin}}),isPositiveNumber=function(value){return value>0},props$5=makePropsConfigurable({animation:makeProp(PROP_TYPE_STRING),columns:makeProp(PROP_TYPE_NUMBER,5,isPositiveNumber),hideHeader:makeProp(PROP_TYPE_BOOLEAN,!1),rows:makeProp(PROP_TYPE_NUMBER,3,isPositiveNumber),showFooter:makeProp(PROP_TYPE_BOOLEAN,!1),tableProps:makeProp(PROP_TYPE_OBJECT,{})},"BSkeletonTable"),BSkeletonTable=extend({name:"BSkeletonTable",functional:!0,props:props$5,render:function(h,_ref){var data=_ref.data,props=_ref.props,animation=props.animation,columns=props.columns,$th=h("th",[h(BSkeleton,{props:{animation:animation}})]),$thTr=h("tr",createArray(columns,$th)),$td=h("td",[h(BSkeleton,{props:{width:"75%",animation:animation}})]),$tdTr=h("tr",createArray(columns,$td)),$tbody=h("tbody",createArray(props.rows,$tdTr)),$thead=props.hideHeader?h():h("thead",[$thTr]),$tfoot=props.showFooter?h("tfoot",[$thTr]):h();return h(BTableSimple,a(data,{props:_objectSpread2$3({},props.tableProps)}),[$thead,$tbody,$tfoot])}}),props$4=makePropsConfigurable({loading:makeProp(PROP_TYPE_BOOLEAN,!1)},"BSkeletonWrapper"),BSkeletonWrapper=extend({name:"BSkeletonWrapper",functional:!0,props:props$4,render:function(h,_ref){var data=_ref.data,props=_ref.props,slots=_ref.slots,scopedSlots=_ref.scopedSlots,$slots=slots(),$scopedSlots=scopedSlots||{},slotScope={};return props.loading?h("div",a(data,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),normalizeSlot("loading",slotScope,$scopedSlots,$slots)):normalizeSlot("default",slotScope,$scopedSlots,$slots)}}),SkeletonPlugin=pluginFactory({components:{BSkeleton:BSkeleton,BSkeletonIcon:BSkeletonIcon,BSkeletonImg:BSkeletonImg,BSkeletonTable:BSkeletonTable,BSkeletonWrapper:BSkeletonWrapper}}),SpinnerPlugin=pluginFactory({components:{BSpinner:BSpinner}}),_makeModelMixin$1=makeModelMixin("value",{type:PROP_TYPE_NUMBER}),modelMixin$1=_makeModelMixin$1.mixin,modelProps$1=_makeModelMixin$1.props,MODEL_PROP_NAME$1=_makeModelMixin$1.prop,MODEL_EVENT_NAME$1=_makeModelMixin$1.event,notDisabled=function(tab){return!tab.disabled},BVTabButton=extend({name:"BVTabButton",inject:{getBvTabs:{default:function(){return function(){return{}}}}},props:{controls:makeProp(PROP_TYPE_STRING),id:makeProp(PROP_TYPE_STRING),noKeyNav:makeProp(PROP_TYPE_BOOLEAN,!1),posInSet:makeProp(PROP_TYPE_NUMBER),setSize:makeProp(PROP_TYPE_NUMBER),tab:makeProp(),tabIndex:makeProp(PROP_TYPE_NUMBER)},computed:{bvTabs:function(){return this.getBvTabs()}},methods:{focus:function(){attemptFocus(this.$refs.link)},handleEvent:function(event){if(!this.tab.disabled){var type=event.type,keyCode=event.keyCode,shiftKey=event.shiftKey;"click"===type||"keydown"===type&&keyCode===CODE_SPACE?(stopEvent(event),this.$emit("click",event)):"keydown"!==type||this.noKeyNav||(-1!==[CODE_UP,CODE_LEFT,CODE_HOME].indexOf(keyCode)?(stopEvent(event),shiftKey||keyCode===CODE_HOME?this.$emit("first",event):this.$emit("prev",event)):-1!==[CODE_DOWN,CODE_RIGHT,CODE_END].indexOf(keyCode)&&(stopEvent(event),shiftKey||keyCode===CODE_END?this.$emit("last",event):this.$emit("next",event)))}}},render:function(h){var id=this.id,tabIndex=this.tabIndex,setSize=this.setSize,posInSet=this.posInSet,controls=this.controls,handleEvent=this.handleEvent,_this$tab=this.tab,title=_this$tab.title,localActive=_this$tab.localActive,disabled=_this$tab.disabled,titleItemClass=_this$tab.titleItemClass,titleLinkClass=_this$tab.titleLinkClass,titleLinkAttributes=_this$tab.titleLinkAttributes,$link=h(BLink,{staticClass:"nav-link",class:[{active:localActive&&!disabled,disabled:disabled},titleLinkClass,localActive?this.bvTabs.activeNavItemClass:null],props:{disabled:disabled},attrs:_objectSpread2$3(_objectSpread2$3({},titleLinkAttributes),{},{id:id,role:"tab",tabindex:tabIndex,"aria-selected":localActive&&!disabled?"true":"false","aria-setsize":setSize,"aria-posinset":posInSet,"aria-controls":controls}),on:{click:handleEvent,keydown:handleEvent},ref:"link"},[this.tab.normalizeSlot("title")||title]);return h("li",{staticClass:"nav-item",class:[titleItemClass],attrs:{role:"presentation"}},[$link])}}),navProps=omit(props$U,["tabs","isNavBar","cardHeader"]),props$3=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps$1),navProps),{},{activeNavItemClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),activeTabClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),card:makeProp(PROP_TYPE_BOOLEAN,!1),contentClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),end:makeProp(PROP_TYPE_BOOLEAN,!1),lazy:makeProp(PROP_TYPE_BOOLEAN,!1),navClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),navWrapperClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),noFade:makeProp(PROP_TYPE_BOOLEAN,!1),noKeyNav:makeProp(PROP_TYPE_BOOLEAN,!1),noNavStyle:makeProp(PROP_TYPE_BOOLEAN,!1),tag:makeProp(PROP_TYPE_STRING,"div")})),"BTabs"),BTabs=extend({name:"BTabs",mixins:[idMixin,modelMixin$1,normalizeSlotMixin],provide:function(){var _this=this;return{getBvTabs:function(){return _this}}},props:props$3,data:function(){return{currentTab:toInteger(this[MODEL_PROP_NAME$1],-1),tabs:[],registeredTabs:[]}},computed:{fade:function(){return!this.noFade},localNavClass:function(){var classes=[];return this.card&&this.vertical&&classes.push("card-header","h-100","border-bottom-0","rounded-0"),[].concat(classes,[this.navClass])}},watch:(_watch$2={},_defineProperty(_watch$2,MODEL_PROP_NAME$1,(function(newValue,oldValue){if(newValue!==oldValue){newValue=toInteger(newValue,-1),oldValue=toInteger(oldValue,0);var $tab=this.tabs[newValue];$tab&&!$tab.disabled?this.activateTab($tab):newValue<oldValue?this.previousTab():this.nextTab()}})),_defineProperty(_watch$2,"currentTab",(function(newValue){var index=-1;this.tabs.forEach((function($tab,i){i!==newValue||$tab.disabled?$tab.localActive=!1:($tab.localActive=!0,index=i)})),this.$emit(MODEL_EVENT_NAME$1,index)})),_defineProperty(_watch$2,"tabs",(function(newValue,oldValue){var _this2=this;looseEqual(newValue.map((function($tab){return $tab._uid})),oldValue.map((function($tab){return $tab._uid})))||this.$nextTick((function(){_this2.$emit("changed",newValue.slice(),oldValue.slice())}))})),_defineProperty(_watch$2,"registeredTabs",(function(){this.updateTabs()})),_watch$2),created:function(){this.$_observer=null},mounted:function(){this.setObserver(!0)},beforeDestroy:function(){this.setObserver(!1),this.tabs=[]},methods:{registerTab:function($tab){arrayIncludes(this.registeredTabs,$tab)||this.registeredTabs.push($tab)},unregisterTab:function($tab){this.registeredTabs=this.registeredTabs.slice().filter((function($t){return $t!==$tab}))},setObserver:function(){var _this3=this,on=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,on){this.$_observer=observeDom(this.$refs.content,(function(){_this3.$nextTick((function(){requestAF((function(){_this3.updateTabs()}))}))}),{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var $tabs=this.registeredTabs,order=[];if(IS_BROWSER&&$tabs.length>0){var selector=$tabs.map((function($tab){return"#".concat($tab.safeId())})).join(", ");order=selectAll(selector,this.$el).map((function($el){return $el.id})).filter(identity)}return stableSort$1($tabs,(function(a,b){return order.indexOf(a.safeId())-order.indexOf(b.safeId())}))},updateTabs:function(){var $tabs=this.getTabs(),tabIndex=$tabs.indexOf($tabs.slice().reverse().find((function($tab){return $tab.localActive&&!$tab.disabled})));if(tabIndex<0){var currentTab=this.currentTab;currentTab>=$tabs.length?tabIndex=$tabs.indexOf($tabs.slice().reverse().find(notDisabled)):$tabs[currentTab]&&!$tabs[currentTab].disabled&&(tabIndex=currentTab)}tabIndex<0&&(tabIndex=$tabs.indexOf($tabs.find(notDisabled))),$tabs.forEach((function($tab,index){$tab.localActive=index===tabIndex})),this.tabs=$tabs,this.currentTab=tabIndex},getButtonForTab:function($tab){return(this.$refs.buttons||[]).find((function($btn){return $btn.tab===$tab}))},updateButton:function($tab){var $button=this.getButtonForTab($tab);$button&&$button.$forceUpdate&&$button.$forceUpdate()},activateTab:function($tab){var currentTab=this.currentTab,$tabs=this.tabs,result=!1;if($tab){var index=$tabs.indexOf($tab);if(index!==currentTab&&index>-1&&!$tab.disabled){var tabEvent=new BvEvent("activate-tab",{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(tabEvent.type,index,currentTab,tabEvent),tabEvent.defaultPrevented||(this.currentTab=index,result=!0)}}return result||this[MODEL_PROP_NAME$1]===currentTab||this.$emit(MODEL_EVENT_NAME$1,currentTab),result},deactivateTab:function($tab){return!!$tab&&this.activateTab(this.tabs.filter((function($t){return $t!==$tab})).find(notDisabled))},focusButton:function($tab){var _this4=this;this.$nextTick((function(){attemptFocus(_this4.getButtonForTab($tab))}))},emitTabClick:function(tab,event){isEvent(event)&&tab&&tab.$emit&&!tab.disabled&&tab.$emit("click",event)},clickTab:function($tab,event){this.activateTab($tab),this.emitTabClick($tab,event)},firstTab:function(focus){var $tab=this.tabs.find(notDisabled);this.activateTab($tab)&&focus&&(this.focusButton($tab),this.emitTabClick($tab,focus))},previousTab:function(focus){var currentIndex=mathMax(this.currentTab,0),$tab=this.tabs.slice(0,currentIndex).reverse().find(notDisabled);this.activateTab($tab)&&focus&&(this.focusButton($tab),this.emitTabClick($tab,focus))},nextTab:function(focus){var currentIndex=mathMax(this.currentTab,-1),$tab=this.tabs.slice(currentIndex+1).find(notDisabled);this.activateTab($tab)&&focus&&(this.focusButton($tab),this.emitTabClick($tab,focus))},lastTab:function(focus){var $tab=this.tabs.slice().reverse().find(notDisabled);this.activateTab($tab)&&focus&&(this.focusButton($tab),this.emitTabClick($tab,focus))}},render:function(h){var _this5=this,align=this.align,card=this.card,end=this.end,fill=this.fill,firstTab=this.firstTab,justified=this.justified,lastTab=this.lastTab,nextTab=this.nextTab,noKeyNav=this.noKeyNav,noNavStyle=this.noNavStyle,pills=this.pills,previousTab=this.previousTab,small=this.small,$tabs=this.tabs,vertical=this.vertical,$activeTab=$tabs.find((function($tab){return $tab.localActive&&!$tab.disabled})),$fallbackTab=$tabs.find((function($tab){return!$tab.disabled})),$buttons=$tabs.map((function($tab,index){var _on,safeId=$tab.safeId,tabIndex=null;return noKeyNav||(tabIndex=-1,($tab===$activeTab||!$activeTab&&$tab===$fallbackTab)&&(tabIndex=null)),h(BVTabButton,_defineProperty({props:{controls:safeId?safeId():null,id:$tab.controlledBy||(safeId?safeId("_BV_tab_button_"):null),noKeyNav:noKeyNav,posInSet:index+1,setSize:$tabs.length,tab:$tab,tabIndex:tabIndex},on:(_on={},_defineProperty(_on,"click",(function(event){_this5.clickTab($tab,event)})),_defineProperty(_on,"first",firstTab),_defineProperty(_on,"prev",previousTab),_defineProperty(_on,"next",nextTab),_defineProperty(_on,"last",lastTab),_on),key:$tab._uid||index,ref:"buttons"},REF_FOR_KEY,!0))})),$nav=h(BNav,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:fill,justified:justified,align:align,tabs:!noNavStyle&&!pills,pills:!noNavStyle&&pills,vertical:vertical,small:small,cardHeader:card&&!vertical},ref:"nav"},[this.normalizeSlot("tabs-start")||h(),$buttons,this.normalizeSlot("tabs-end")||h()]);$nav=h("div",{class:[{"card-header":card&&!vertical&&!end,"card-footer":card&&!vertical&&end,"col-auto":vertical},this.navWrapperClass],key:"bv-tabs-nav"},[$nav]);var $children=this.normalizeSlot()||[],$empty=h();0===$children.length&&($empty=h("div",{class:["tab-pane","active",{"card-body":card}],key:"bv-empty-tab"},this.normalizeSlot("empty")));var $content=h("div",{staticClass:"tab-content",class:[{col:vertical},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[$children,$empty]);return h(this.tag,{staticClass:"tabs",class:{row:vertical,"no-gutters":vertical&&card},attrs:{id:this.safeId()}},[end?$content:h(),$nav,end?h():$content])}}),props$2=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3({},props$25),{},(_defineProperty(_objectSpread2={},"active",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_objectSpread2,"buttonId",makeProp(PROP_TYPE_STRING)),_defineProperty(_objectSpread2,"disabled",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_objectSpread2,"lazy",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_objectSpread2,"noBody",makeProp(PROP_TYPE_BOOLEAN,!1)),_defineProperty(_objectSpread2,"tag",makeProp(PROP_TYPE_STRING,"div")),_defineProperty(_objectSpread2,"title",makeProp(PROP_TYPE_STRING)),_defineProperty(_objectSpread2,"titleItemClass",makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)),_defineProperty(_objectSpread2,"titleLinkAttributes",makeProp(PROP_TYPE_OBJECT)),_defineProperty(_objectSpread2,"titleLinkClass",makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)),_objectSpread2))),"BTab"),TabsPlugin=pluginFactory({components:{BTabs:BTabs,BTab:extend({name:"BTab",mixins:[idMixin,normalizeSlotMixin],inject:{getBvTabs:{default:function(){return function(){return{}}}}},props:props$2,data:function(){return{localActive:this.active&&!this.disabled}},computed:{bvTabs:function(){return this.getBvTabs()},_isTab:function(){return!0},tabClasses:function(){var active=this.localActive;return[{active:active,disabled:this.disabled,"card-body":this.bvTabs.card&&!this.noBody},active?this.bvTabs.activeTabClass:null]},controlledBy:function(){return this.buttonId||this.safeId("__BV_tab_button__")},computedNoFade:function(){return!this.bvTabs.fade},computedLazy:function(){return this.bvTabs.lazy||this.lazy}},watch:(_watch$1={},_defineProperty(_watch$1,"active",(function(newValue,oldValue){newValue!==oldValue&&(newValue?this.activate():this.deactivate()||this.$emit("update:active",this.localActive))})),_defineProperty(_watch$1,"disabled",(function(newValue,oldValue){if(newValue!==oldValue){var firstTab=this.bvTabs.firstTab;newValue&&this.localActive&&firstTab&&(this.localActive=!1,firstTab())}})),_defineProperty(_watch$1,"localActive",(function(newValue){this.$emit("update:active",newValue)})),_watch$1),mounted:function(){this.registerTab()},updated:function(){var updateButton=this.bvTabs.updateButton;updateButton&&this.hasNormalizedSlot("title")&&updateButton(this)},beforeDestroy:function(){this.unregisterTab()},methods:{registerTab:function(){var registerTab=this.bvTabs.registerTab;registerTab&&registerTab(this)},unregisterTab:function(){var unregisterTab=this.bvTabs.unregisterTab;unregisterTab&&unregisterTab(this)},activate:function(){var activateTab=this.bvTabs.activateTab;return!(!activateTab||this.disabled)&&activateTab(this)},deactivate:function(){var deactivateTab=this.bvTabs.deactivateTab;return!(!deactivateTab||!this.localActive)&&deactivateTab(this)}},render:function(h){var localActive=this.localActive,$content=h(this.tag,{staticClass:"tab-pane",class:this.tabClasses,directives:[{name:"show",value:localActive}],attrs:{role:"tabpanel",id:this.safeId(),"aria-hidden":localActive?"false":"true","aria-labelledby":this.controlledBy||null},ref:"panel"},[localActive||!this.computedLazy?this.normalizeSlot():h()]);return h(BVTransition,{props:{mode:"out-in",noFade:this.computedNoFade}},[$content])}})}}),TimePlugin=pluginFactory({components:{BTime:BTime}});function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _toConsumableArray(arr){return function(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}(arr)||function(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}(arr)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var inBrowser="undefined"!=typeof window;function pick(obj,keys){return keys.reduce((function(acc,key){return obj.hasOwnProperty(key)&&(acc[key]=obj[key]),acc}),{})}var transports={},targets={},sources={},Wormhole=Vue__default.default.extend({data:function(){return{transports:transports,targets:targets,sources:sources,trackInstances:inBrowser}},methods:{open:function(transport){if(inBrowser){var to=transport.to,from=transport.from,passengers=transport.passengers,_transport$order=transport.order,order=void 0===_transport$order?1/0:_transport$order;if(to&&from&&passengers){var item,newTransport={to:to,from:from,passengers:(item=passengers,Array.isArray(item)||"object"===_typeof(item)?Object.freeze(item):item),order:order};-1===Object.keys(this.transports).indexOf(to)&&Vue__default.default.set(this.transports,to,[]);var compareFn,currentIndex=this.$_getTransportIndex(newTransport),newTransports=this.transports[to].slice(0);-1===currentIndex?newTransports.push(newTransport):newTransports[currentIndex]=newTransport,this.transports[to]=(compareFn=function(a,b){return a.order-b.order},newTransports.map((function(v,idx){return[idx,v]})).sort((function(a,b){return compareFn(a[1],b[1])||a[0]-b[0]})).map((function(c){return c[1]})))}}},close:function(transport){var force=arguments.length>1&&void 0!==arguments[1]&&arguments[1],to=transport.to,from=transport.from;if(to&&(from||!1!==force)&&this.transports[to])if(force)this.transports[to]=[];else{var index=this.$_getTransportIndex(transport);if(index>=0){var newTransports=this.transports[to].slice(0);newTransports.splice(index,1),this.transports[to]=newTransports}}},registerTarget:function(target,vm,force){inBrowser&&(this.trackInstances&&!force&&this.targets[target]&&console.warn("[portal-vue]: Target ".concat(target," already exists")),this.$set(this.targets,target,Object.freeze([vm])))},unregisterTarget:function(target){this.$delete(this.targets,target)},registerSource:function(source,vm,force){inBrowser&&(this.trackInstances&&!force&&this.sources[source]&&console.warn("[portal-vue]: source ".concat(source," already exists")),this.$set(this.sources,source,Object.freeze([vm])))},unregisterSource:function(source){this.$delete(this.sources,source)},hasTarget:function(to){return!(!this.targets[to]||!this.targets[to][0])},hasSource:function(to){return!(!this.sources[to]||!this.sources[to][0])},hasContentFor:function(to){return!!this.transports[to]&&!!this.transports[to].length},$_getTransportIndex:function(_ref){var to=_ref.to,from=_ref.from;for(var i in this.transports[to])if(this.transports[to][i].from===from)return+i;return-1}}}),wormhole=new Wormhole(transports),_id=1,Portal=Vue__default.default.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(_id++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var _this=this;this.$nextTick((function(){wormhole.registerSource(_this.name,_this)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){wormhole.unregisterSource(this.name),this.clear()},watch:{to:function(newValue,oldValue){oldValue&&oldValue!==newValue&&this.clear(oldValue),this.sendUpdate()}},methods:{clear:function(target){var closer={from:this.name,to:target||this.to};wormhole.close(closer)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(children){return"function"==typeof children?children(this.slotProps):children},sendUpdate:function(){var slotContent=this.normalizeSlots();if(slotContent){var transport={from:this.name,to:this.to,passengers:_toConsumableArray(slotContent),order:this.order};wormhole.open(transport)}else this.clear()}},render:function(h){var children=this.$slots.default||this.$scopedSlots.default||[],Tag=this.tag;return children&&this.disabled?children.length<=1&&this.slim?this.normalizeOwnChildren(children)[0]:h(Tag,[this.normalizeOwnChildren(children)]):this.slim?h():h(Tag,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),PortalTarget=Vue__default.default.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:wormhole.transports,firstRender:!0}},created:function(){var _this=this;this.$nextTick((function(){wormhole.registerTarget(_this.name,_this)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(newVal,oldVal){wormhole.unregisterTarget(oldVal),wormhole.registerTarget(newVal,this)}},mounted:function(){var _this2=this;this.transition&&this.$nextTick((function(){_this2.firstRender=!1}))},beforeDestroy:function(){wormhole.unregisterTarget(this.name)},computed:{ownTransports:function(){var transports=this.transports[this.name]||[];return this.multiple?transports:0===transports.length?[]:[transports[transports.length-1]]},passengers:function(){return function(transports){var slotProps=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return transports.reduce((function(passengers,transport){var temp=transport.passengers[0],newPassengers="function"==typeof temp?temp(slotProps):transport.passengers;return passengers.concat(newPassengers)}),[])}(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var noWrapper=this.slim&&!this.transition;return noWrapper&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),noWrapper}},render:function(h){var noWrapper=this.noWrapper(),children=this.children(),Tag=this.transition||this.tag;return noWrapper?children[0]:this.slim&&!Tag?h():h(Tag,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},children)}}),_id$1=0,portalProps=["disabled","name","order","slim","slotProps","tag","to"],targetProps=["multiple","transition"];Vue__default.default.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(_id$1++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var el=document.querySelector(this.mountTo);if(el){var props=this.$props;if(wormhole.targets[props.name])props.bail?console.warn("[portal-vue]: Target ".concat(props.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=wormhole.targets[props.name];else{var append=props.append;if(append){var type="string"==typeof append?append:"DIV",mountEl=document.createElement(type);el.appendChild(mountEl),el=mountEl}var _props=pick(this.$props,targetProps);_props.slim=this.targetSlim,_props.tag=this.targetTag,_props.slotProps=this.targetSlotProps,_props.name=this.to,this.portalTarget=new PortalTarget({el:el,parent:this.$parent||this,propsData:_props})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var target=this.portalTarget;if(this.append){var el=target.$el;el.parentNode.removeChild(el)}target.$destroy()},render:function(h){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),h();if(!this.$scopedSlots.manual){var props=pick(this.$props,portalProps);return h(Portal,{props:props,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var content=this.$scopedSlots.manual({to:this.to});return Array.isArray(content)&&(content=content[0]),content||h()}});var _watch,VuePlugin,DefaultTransition=extend({mixins:[normalizeSlotMixin],data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(el){var _this=this;requestAF((function(){removeClass(el,"".concat(_this.name,"-enter-to"))}))}},render:function(h){return h("transition-group",{props:{tag:"div",name:this.name},on:{afterEnter:this.onAfterEnter}},this.normalizeSlot())}}),props$1=makePropsConfigurable({ariaAtomic:makeProp(PROP_TYPE_STRING),ariaLive:makeProp(PROP_TYPE_STRING),name:makeProp(PROP_TYPE_STRING,void 0,!0),role:makeProp(PROP_TYPE_STRING)},"BToaster"),BToaster=extend({name:"BToaster",mixins:[listenOnRootMixin],props:props$1,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var name=this.name;this.staticName=name,wormhole.hasTarget(name)?(warn('A "<portal-target>" with name "'.concat(name,'" already exists in the document.'),"BToaster"),this.dead=!0):this.doRender=!0},beforeDestroy:function(){this.doRender&&this.emitOnRoot(getRootEventName("BToaster","destroyed"),this.name)},destroyed:function(){var $el=this.$el;$el&&$el.parentNode&&$el.parentNode.removeChild($el)},render:function(h){var $toaster=h("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var $target=h(PortalTarget,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:DefaultTransition}});$toaster=h("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[$target])}return $toaster}}),_makeModelMixin=makeModelMixin("visible",{type:PROP_TYPE_BOOLEAN,defaultValue:!1,event:"change"}),modelMixin=_makeModelMixin.mixin,modelProps=_makeModelMixin.props,MODEL_PROP_NAME=_makeModelMixin.prop,MODEL_EVENT_NAME=_makeModelMixin.event,linkProps=pick$1(props$2f,["href","to"]),props=makePropsConfigurable(sortKeys(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},props$25),modelProps),linkProps),{},{appendToast:makeProp(PROP_TYPE_BOOLEAN,!1),autoHideDelay:makeProp(PROP_TYPE_NUMBER_STRING,5e3),bodyClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),headerClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),headerTag:makeProp(PROP_TYPE_STRING,"header"),isStatus:makeProp(PROP_TYPE_BOOLEAN,!1),noAutoHide:makeProp(PROP_TYPE_BOOLEAN,!1),noCloseButton:makeProp(PROP_TYPE_BOOLEAN,!1),noFade:makeProp(PROP_TYPE_BOOLEAN,!1),noHoverPause:makeProp(PROP_TYPE_BOOLEAN,!1),solid:makeProp(PROP_TYPE_BOOLEAN,!1),static:makeProp(PROP_TYPE_BOOLEAN,!1),title:makeProp(PROP_TYPE_STRING),toastClass:makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),toaster:makeProp(PROP_TYPE_STRING,"b-toaster-top-right"),variant:makeProp(PROP_TYPE_STRING)})),"BToast"),BToast=extend({name:"BToast",mixins:[attrsMixin,idMixin,modelMixin,listenOnRootMixin,normalizeSlotMixin,scopedStyleMixin],inheritAttrs:!1,props:props,data:function(){return{isMounted:!1,doRender:!1,localShow:!1,isTransitioning:!1,isHiding:!1,order:0,dismissStarted:0,resumeDismiss:0}},computed:{toastClasses:function(){var appendToast=this.appendToast,variant=this.variant;return _defineProperty({"b-toast-solid":this.solid,"b-toast-append":appendToast,"b-toast-prepend":!appendToast},"b-toast-".concat(variant),variant)},slotScope:function(){return{hide:this.hide}},computedDuration:function(){return mathMax(toInteger(this.autoHideDelay,0),1e3)},computedToaster:function(){return String(this.toaster)},transitionHandlers:function(){return{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,afterLeave:this.onAfterLeave}},computedAttrs:function(){return _objectSpread2$3(_objectSpread2$3({},this.bvAttrs),{},{id:this.safeId(),tabindex:"0"})}},watch:(_watch={},_defineProperty(_watch,MODEL_PROP_NAME,(function(newValue){this[newValue?"show":"hide"]()})),_defineProperty(_watch,"localShow",(function(newValue){newValue!==this[MODEL_PROP_NAME]&&this.$emit(MODEL_EVENT_NAME,newValue)})),_defineProperty(_watch,"toaster",(function(){this.$nextTick(this.ensureToaster)})),_defineProperty(_watch,"static",(function(newValue){newValue&&this.localShow&&this.ensureToaster()})),_watch),created:function(){this.$_dismissTimer=null},mounted:function(){var _this=this;this.isMounted=!0,this.$nextTick((function(){_this[MODEL_PROP_NAME]&&requestAF((function(){_this.show()}))})),this.listenOnRoot(getRootActionEventName("BToast","show"),(function(id){id===_this.safeId()&&_this.show()})),this.listenOnRoot(getRootActionEventName("BToast","hide"),(function(id){id&&id!==_this.safeId()||_this.hide()})),this.listenOnRoot(getRootEventName("BToaster","destroyed"),(function(toaster){toaster===_this.computedToaster&&_this.hide()}))},beforeDestroy:function(){this.clearDismissTimer()},methods:{show:function(){var _this2=this;if(!this.localShow){this.ensureToaster();var showEvent=this.buildEvent("show");this.emitEvent(showEvent),this.dismissStarted=this.resumeDismiss=0,this.order=Date.now()*(this.appendToast?1:-1),this.isHiding=!1,this.doRender=!0,this.$nextTick((function(){requestAF((function(){_this2.localShow=!0}))}))}},hide:function(){var _this3=this;if(this.localShow){var hideEvent=this.buildEvent("hide");this.emitEvent(hideEvent),this.setHoverHandler(!1),this.dismissStarted=this.resumeDismiss=0,this.clearDismissTimer(),this.isHiding=!0,requestAF((function(){_this3.localShow=!1}))}},buildEvent:function(type){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new BvEvent(type,_objectSpread2$3(_objectSpread2$3({cancelable:!1,target:this.$el||null,relatedTarget:null},options),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(bvEvent){var type=bvEvent.type;this.emitOnRoot(getRootEventName("BToast",type),bvEvent),this.$emit(type,bvEvent)},ensureToaster:function(){if(!this.static){var computedToaster=this.computedToaster;if(!wormhole.hasTarget(computedToaster)){var div=document.createElement("div");document.body.appendChild(div),createNewChildComponent(this.bvEventRoot,BToaster,{propsData:{name:computedToaster}}).$mount(div)}}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(on){var el=this.$refs["b-toast"];eventOnOff(on,el,"mouseenter",this.onPause,EVENT_OPTIONS_NO_CAPTURE),eventOnOff(on,el,"mouseleave",this.onUnPause,EVENT_OPTIONS_NO_CAPTURE)},onPause:function(){if(!this.noAutoHide&&!this.noHoverPause&&this.$_dismissTimer&&!this.resumeDismiss){var passed=Date.now()-this.dismissStarted;passed>0&&(this.clearDismissTimer(),this.resumeDismiss=mathMax(this.computedDuration-passed,1e3))}},onUnPause:function(){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick:function(){var _this4=this;this.$nextTick((function(){requestAF((function(){_this4.hide()}))}))},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var hiddenEvent=this.buildEvent("shown");this.emitEvent(hiddenEvent),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var hiddenEvent=this.buildEvent("hidden");this.emitEvent(hiddenEvent),this.doRender=!1},makeToast:function(h){var _this5=this,title=this.title,slotScope=this.slotScope,link=isLink$1(this),$headerContent=[],$title=this.normalizeSlot("toast-title",slotScope);$title?$headerContent.push($title):title&&$headerContent.push(h("strong",{staticClass:"mr-2"},title)),this.noCloseButton||$headerContent.push(h(BButtonClose,{staticClass:"ml-auto mb-1",on:{click:function(){_this5.hide()}}}));var $header=h();$headerContent.length>0&&($header=h(this.headerTag,{staticClass:"toast-header",class:this.headerClass},$headerContent));var $body=h(link?BLink:"div",{staticClass:"toast-body",class:this.bodyClass,props:link?pluckProps(linkProps,this):{},on:link?{click:this.onLinkClick}:{}},this.normalizeSlot("default",slotScope));return h("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this._uid),ref:"toast"},[$header,$body])}},render:function(h){if(!this.doRender||!this.isMounted)return h();var order=this.order,isStatic=this.static,isHiding=this.isHiding,isStatus=this.isStatus,name="b-toast-".concat(this._uid),$toast=h("div",{staticClass:"b-toast",class:this.toastClasses,attrs:_objectSpread2$3(_objectSpread2$3({},isStatic?{}:this.scopedStyleAttrs),{},{id:this.safeId("_toast_outer"),role:isHiding?null:isStatus?"status":"alert","aria-live":isHiding?null:isStatus?"polite":"assertive","aria-atomic":isHiding?null:"true"}),key:name,ref:"b-toast"},[h(BVTransition,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(h):h()])]);return h(Portal,{props:{name:name,to:this.computedToaster,order:order,slim:!0,disabled:isStatic}},[$toast])}}),BASE_PROPS=["id"].concat(_toConsumableArray$1(keys(omit(props,["static","visible"])))),propsToSlots={toastContent:"default",title:"toast-title"},filterOptions=function(options){return BASE_PROPS.reduce((function(memo,key){return isUndefined(options[key])||(memo[key]=options[key]),memo}),{})},BVToastPlugin=pluginFactory({plugins:{plugin:function(Vue){var BVToastPop=Vue.extend({name:"BVToastPop",extends:BToast,mixins:[useParentMixin],destroyed:function(){var $el=this.$el;$el&&$el.parentNode&&$el.parentNode.removeChild($el)},mounted:function(){var _this=this,handleDestroy=function(){_this.localShow=!1,_this.doRender=!1,_this.$nextTick((function(){_this.$nextTick((function(){requestAF((function(){_this.$destroy()}))}))}))};this.bvParent.$once(HOOK_EVENT_NAME_DESTROYED,handleDestroy),this.$once("hidden",handleDestroy),this.listenOnRoot(getRootEventName("BToaster","destroyed"),(function(toaster){toaster===_this.toaster&&handleDestroy()}))}}),BvToast=function(){function BvToast(vm){_classCallCheck(this,BvToast),assign(this,{_vm:vm,_root:getEventRoot(vm)}),defineProperties(this,{_vm:{enumerable:!0,configurable:!1,writable:!1},_root:{enumerable:!0,configurable:!1,writable:!1}})}return _createClass(BvToast,[{key:"toast",value:function(content){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};content&&!warnNotClient("$bvToast")&&function(props,parent){if(!warnNotClient("$bvToast")){var toast=createNewChildComponent(parent,BVToastPop,{propsData:_objectSpread2$3(_objectSpread2$3(_objectSpread2$3({},filterOptions(getComponentConfig("BToast"))),omit(props,keys(propsToSlots))),{},{static:!1,visible:!0})});keys(propsToSlots).forEach((function(prop){var value=props[prop];isUndefined(value)||("title"===prop&&isString(value)&&(value=[parent.$createElement("strong",{class:"mr-2"},value)]),toast.$slots[propsToSlots[prop]]=concat(value))}));var div=document.createElement("div");document.body.appendChild(div),toast.$mount(div)}}(_objectSpread2$3(_objectSpread2$3({},filterOptions(options)),{},{toastContent:content}),this._vm)}},{key:"show",value:function(id){id&&this._root.$emit(getRootActionEventName("BToast","show"),id)}},{key:"hide",value:function(){var id=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit(getRootActionEventName("BToast","hide"),id)}}]),BvToast}();Vue.mixin({beforeCreate:function(){this._bv__toast=new BvToast(this)}}),hasOwnProperty(Vue.prototype,"$bvToast")||defineProperty$1(Vue.prototype,"$bvToast",{get:function(){return this&&this._bv__toast||warn('"'.concat("$bvToast",'" must be accessed from a Vue instance "this" context.'),"BToast"),this._bv__toast}})}}}),ToastPlugin=pluginFactory({components:{BToast:BToast,BToaster:BToaster},plugins:{BVToastPlugin:BVToastPlugin}}),BV_TOOLTIP="__BV_Tooltip__",validTriggers={focus:!0,hover:!0,click:!0,blur:!0,manual:!0},htmlRE=/^html$/i,noninteractiveRE=/^noninteractive$/i,noFadeRE=/^nofade$/i,placementRE=/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/i,boundaryRE=/^(window|viewport|scrollParent)$/i,delayRE=/^d\d+$/i,delayShowRE=/^ds\d+$/i,delayHideRE=/^dh\d+$/i,offsetRE$1=/^o-?\d+$/i,variantRE=/^v-.+$/i,spacesRE=/\s+/,applyTooltip=function(el,bindings,vnode){if(IS_BROWSER){var config=function(bindings,vnode){var config={title:void 0,trigger:"",placement:"top",fallbackPlacement:"flip",container:!1,animation:!0,offset:0,id:null,html:!1,interactive:!0,disabled:!1,delay:getComponentConfig("BTooltip","delay",50),boundary:String(getComponentConfig("BTooltip","boundary","scrollParent")),boundaryPadding:toInteger(getComponentConfig("BTooltip","boundaryPadding",5),0),variant:getComponentConfig("BTooltip","variant"),customClass:getComponentConfig("BTooltip","customClass")};if(isString(bindings.value)||isNumber(bindings.value)||isFunction$1(bindings.value)?config.title=bindings.value:isPlainObject(bindings.value)&&(config=_objectSpread2$3(_objectSpread2$3({},config),bindings.value)),isUndefined(config.title)){var attrs=isVue3?vnode.props:(vnode.data||{}).attrs;config.title=attrs&&!isUndefinedOrNull(attrs.title)?attrs.title:void 0}isPlainObject(config.delay)||(config.delay={show:toInteger(config.delay,0),hide:toInteger(config.delay,0)}),bindings.arg&&(config.container="#".concat(bindings.arg)),keys(bindings.modifiers).forEach((function(mod){if(htmlRE.test(mod))config.html=!0;else if(noninteractiveRE.test(mod))config.interactive=!1;else if(noFadeRE.test(mod))config.animation=!1;else if(placementRE.test(mod))config.placement=mod;else if(boundaryRE.test(mod))mod="scrollparent"===mod?"scrollParent":mod,config.boundary=mod;else if(delayRE.test(mod)){var delay=toInteger(mod.slice(1),0);config.delay.show=delay,config.delay.hide=delay}else delayShowRE.test(mod)?config.delay.show=toInteger(mod.slice(2),0):delayHideRE.test(mod)?config.delay.hide=toInteger(mod.slice(2),0):offsetRE$1.test(mod)?config.offset=toInteger(mod.slice(1),0):variantRE.test(mod)&&(config.variant=mod.slice(2)||null)}));var selectedTriggers={};return concat(config.trigger||"").filter(identity).join(" ").trim().toLowerCase().split(spacesRE).forEach((function(trigger){validTriggers[trigger]&&(selectedTriggers[trigger]=!0)})),keys(bindings.modifiers).forEach((function(mod){mod=mod.toLowerCase(),validTriggers[mod]&&(selectedTriggers[mod]=!0)})),config.trigger=keys(selectedTriggers).join(" "),"blur"===config.trigger&&(config.trigger="focus"),config.trigger||(config.trigger="hover focus"),config}(bindings,vnode);if(!el[BV_TOOLTIP]){var parent=getInstanceFromDirective(vnode,bindings);el[BV_TOOLTIP]=createNewChildComponent(parent,BVTooltip,{_scopeId:getScopeId(parent,void 0)}),el[BV_TOOLTIP].__bv_prev_data__={},el[BV_TOOLTIP].$on("show",(function(){isFunction$1(config.title)&&el[BV_TOOLTIP].updateData({title:config.title(el)})}))}var data={title:config.title,triggers:config.trigger,placement:config.placement,fallbackPlacement:config.fallbackPlacement,variant:config.variant,customClass:config.customClass,container:config.container,boundary:config.boundary,delay:config.delay,offset:config.offset,noFade:!config.animation,id:config.id,interactive:config.interactive,disabled:config.disabled,html:config.html},oldData=el[BV_TOOLTIP].__bv_prev_data__;if(el[BV_TOOLTIP].__bv_prev_data__=data,!looseEqual(data,oldData)){var newData={target:el};keys(data).forEach((function(prop){data[prop]!==oldData[prop]&&(newData[prop]="title"===prop&&isFunction$1(data[prop])?data[prop](el):data[prop])})),el[BV_TOOLTIP].updateData(newData)}}},VBTooltipPlugin=pluginFactory({directives:{VBTooltip:{bind:function(el,bindings,vnode){applyTooltip(el,bindings,vnode)},componentUpdated:function(el,bindings,vnode){nextTick((function(){applyTooltip(el,bindings,vnode)}))},unbind:function(el){!function(el){el[BV_TOOLTIP]&&(el[BV_TOOLTIP].$destroy(),el[BV_TOOLTIP]=null),delete el[BV_TOOLTIP]}(el)}}}}),TooltipPlugin=pluginFactory({components:{BTooltip:BTooltip},plugins:{VBTooltipPlugin:VBTooltipPlugin}}),componentsPlugin=pluginFactory({plugins:{AlertPlugin:AlertPlugin,AspectPlugin:AspectPlugin,AvatarPlugin:AvatarPlugin,BadgePlugin:BadgePlugin,BreadcrumbPlugin:BreadcrumbPlugin,ButtonPlugin:ButtonPlugin,ButtonGroupPlugin:ButtonGroupPlugin,ButtonToolbarPlugin:ButtonToolbarPlugin,CalendarPlugin:CalendarPlugin,CardPlugin:CardPlugin,CarouselPlugin:CarouselPlugin,CollapsePlugin:CollapsePlugin,DropdownPlugin:DropdownPlugin,EmbedPlugin:EmbedPlugin,FormPlugin:FormPlugin,FormCheckboxPlugin:FormCheckboxPlugin,FormDatepickerPlugin:FormDatepickerPlugin,FormFilePlugin:FormFilePlugin,FormGroupPlugin:FormGroupPlugin,FormInputPlugin:FormInputPlugin,FormRadioPlugin:FormRadioPlugin,FormRatingPlugin:FormRatingPlugin,FormSelectPlugin:FormSelectPlugin,FormSpinbuttonPlugin:FormSpinbuttonPlugin,FormTagsPlugin:FormTagsPlugin,FormTextareaPlugin:FormTextareaPlugin,FormTimepickerPlugin:FormTimepickerPlugin,ImagePlugin:ImagePlugin,InputGroupPlugin:InputGroupPlugin,JumbotronPlugin:JumbotronPlugin,LayoutPlugin:LayoutPlugin,LinkPlugin:LinkPlugin,ListGroupPlugin:ListGroupPlugin,MediaPlugin:MediaPlugin,ModalPlugin:ModalPlugin,NavPlugin:NavPlugin,NavbarPlugin:NavbarPlugin,OverlayPlugin:OverlayPlugin,PaginationPlugin:PaginationPlugin,PaginationNavPlugin:PaginationNavPlugin,PopoverPlugin:PopoverPlugin,ProgressPlugin:ProgressPlugin,SidebarPlugin:SidebarPlugin,SkeletonPlugin:SkeletonPlugin,SpinnerPlugin:SpinnerPlugin,TablePlugin:TablePlugin,TabsPlugin:TabsPlugin,TimePlugin:TimePlugin,ToastPlugin:ToastPlugin,TooltipPlugin:TooltipPlugin}}),VBHoverPlugin=pluginFactory({directives:{VBHover:VBHover}}),VBModalPlugin=pluginFactory({directives:{VBModal:VBModal}}),SELECTOR_NAV_LINKS=".nav-link",SELECTOR_LIST_ITEMS=".list-group-item",SELECTOR_DROPDOWN_ITEMS=".dropdown-item",ROOT_EVENT_NAME_ACTIVATE=getRootEventName("BVScrollspy","activate"),Default={element:"body",offset:10,method:"auto",throttle:75},DefaultType={element:"(string|element|component)",offset:"number",method:"string",throttle:"number"},TransitionEndEvents=["webkitTransitionEnd","transitionend","otransitionend","oTransitionEnd"],toType=function(obj){return function(obj){return Object.prototype.toString.call(obj)}(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase()},BVScrollspy=function(){function BVScrollspy(element,config,$root){_classCallCheck(this,BVScrollspy),this.$el=element,this.$scroller=null,this.$selector=[SELECTOR_NAV_LINKS,SELECTOR_LIST_ITEMS,SELECTOR_DROPDOWN_ITEMS].join(","),this.$offsets=[],this.$targets=[],this.$activeTarget=null,this.$scrollHeight=0,this.$resizeTimeout=null,this.$scrollerObserver=null,this.$targetsObserver=null,this.$root=$root||null,this.$config=null,this.updateConfig(config)}return _createClass(BVScrollspy,[{key:"updateConfig",value:function(config,$root){this.$scroller&&(this.unlisten(),this.$scroller=null);var cfg=_objectSpread2$3(_objectSpread2$3({},this.constructor.Default),config);if($root&&(this.$root=$root),function(componentName,config,configTypes){for(var property in configTypes)if(hasOwnProperty(configTypes,property)){var expectedTypes=configTypes[property],value=config[property],valueType=value&&isElement(value)?"element":toType(value);valueType=value&&value._isVue?"component":valueType,new RegExp(expectedTypes).test(valueType)||warn("".concat(componentName,': Option "').concat(property,'" provided type "').concat(valueType,'" but expected type "').concat(expectedTypes,'"'))}}(this.constructor.Name,cfg,this.constructor.DefaultType),this.$config=cfg,this.$root){var self=this;this.$root.$nextTick((function(){self.listen()}))}else this.listen()}},{key:"dispose",value:function(){this.unlisten(),clearTimeout(this.$resizeTimeout),this.$resizeTimeout=null,this.$el=null,this.$config=null,this.$scroller=null,this.$selector=null,this.$offsets=null,this.$targets=null,this.$activeTarget=null,this.$scrollHeight=null}},{key:"listen",value:function(){var _this=this,scroller=this.getScroller();scroller&&"BODY"!==scroller.tagName&&eventOn(scroller,"scroll",this,EVENT_OPTIONS_NO_CAPTURE),eventOn(window,"scroll",this,EVENT_OPTIONS_NO_CAPTURE),eventOn(window,"resize",this,EVENT_OPTIONS_NO_CAPTURE),eventOn(window,"orientationchange",this,EVENT_OPTIONS_NO_CAPTURE),TransitionEndEvents.forEach((function(eventName){eventOn(window,eventName,_this,EVENT_OPTIONS_NO_CAPTURE)})),this.setObservers(!0),this.handleEvent("refresh")}},{key:"unlisten",value:function(){var _this2=this,scroller=this.getScroller();this.setObservers(!1),scroller&&"BODY"!==scroller.tagName&&eventOff(scroller,"scroll",this,EVENT_OPTIONS_NO_CAPTURE),eventOff(window,"scroll",this,EVENT_OPTIONS_NO_CAPTURE),eventOff(window,"resize",this,EVENT_OPTIONS_NO_CAPTURE),eventOff(window,"orientationchange",this,EVENT_OPTIONS_NO_CAPTURE),TransitionEndEvents.forEach((function(eventName){eventOff(window,eventName,_this2,EVENT_OPTIONS_NO_CAPTURE)}))}},{key:"setObservers",value:function(on){var _this3=this;this.$scrollerObserver&&this.$scrollerObserver.disconnect(),this.$targetsObserver&&this.$targetsObserver.disconnect(),this.$scrollerObserver=null,this.$targetsObserver=null,on&&(this.$targetsObserver=observeDom(this.$el,(function(){_this3.handleEvent("mutation")}),{subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]}),this.$scrollerObserver=observeDom(this.getScroller(),(function(){_this3.handleEvent("mutation")}),{subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["id","style","class"]}))}},{key:"handleEvent",value:function(event){var type=isString(event)?event:event.type,self=this;"scroll"===type?(this.$scrollerObserver||this.listen(),this.process()):/(resize|orientationchange|mutation|refresh)/.test(type)&&(self.$resizeTimeout||(self.$resizeTimeout=setTimeout((function(){self.refresh(),self.process(),self.$resizeTimeout=null}),self.$config.throttle)))}},{key:"refresh",value:function(){var _this4=this,scroller=this.getScroller();if(scroller){var autoMethod=scroller!==scroller.window?"position":"offset",method="auto"===this.$config.method?autoMethod:this.$config.method,methodFn="position"===method?position:offset$1,offsetBase="position"===method?this.getScrollTop():0;return this.$offsets=[],this.$targets=[],this.$scrollHeight=this.getScrollHeight(),selectAll(this.$selector,this.$el).map((function(link){return getAttr(link,"href")})).filter((function(href){return href&&RX_HREF.test(href||"")})).map((function(href){var id=href.replace(RX_HREF,"$1").trim();if(!id)return null;var el=select(id,scroller);return el&&isVisible(el)?{offset:toInteger(methodFn(el).top,0)+offsetBase,target:id}:null})).filter(identity).sort((function(a,b){return a.offset-b.offset})).reduce((function(memo,item){return memo[item.target]||(_this4.$offsets.push(item.offset),_this4.$targets.push(item.target),memo[item.target]=!0),memo}),{}),this}}},{key:"process",value:function(){var scrollTop=this.getScrollTop()+this.$config.offset,scrollHeight=this.getScrollHeight(),maxScroll=this.$config.offset+scrollHeight-this.getOffsetHeight();if(this.$scrollHeight!==scrollHeight&&this.refresh(),scrollTop>=maxScroll){var target=this.$targets[this.$targets.length-1];this.$activeTarget!==target&&this.activate(target)}else{if(this.$activeTarget&&scrollTop<this.$offsets[0]&&this.$offsets[0]>0)return this.$activeTarget=null,void this.clear();for(var i=this.$offsets.length;i--;){this.$activeTarget!==this.$targets[i]&&scrollTop>=this.$offsets[i]&&(isUndefined(this.$offsets[i+1])||scrollTop<this.$offsets[i+1])&&this.activate(this.$targets[i])}}}},{key:"getScroller",value:function(){if(this.$scroller)return this.$scroller;var scroller=this.$config.element;return scroller?(isElement(scroller.$el)?scroller=scroller.$el:isString(scroller)&&(scroller=select(scroller)),scroller?(this.$scroller="BODY"===scroller.tagName?window:scroller,this.$scroller):null):null}},{key:"getScrollTop",value:function(){var scroller=this.getScroller();return scroller===window?scroller.pageYOffset:scroller.scrollTop}},{key:"getScrollHeight",value:function(){return this.getScroller().scrollHeight||mathMax(document.body.scrollHeight,document.documentElement.scrollHeight)}},{key:"getOffsetHeight",value:function(){var scroller=this.getScroller();return scroller===window?window.innerHeight:getBCR(scroller).height}},{key:"activate",value:function(target){var _this5=this;this.$activeTarget=target,this.clear();var links=selectAll(this.$selector.split(",").map((function(selector){return"".concat(selector,'[href$="').concat(target,'"]')})).join(","),this.$el);links.forEach((function(link){if(hasClass(link,"dropdown-item")){var dropdown=closest(".dropdown, .dropup",link);dropdown&&_this5.setActiveState(select(".dropdown-toggle",dropdown),!0),_this5.setActiveState(link,!0)}else{_this5.setActiveState(link,!0),matches(link.parentElement,".nav-item")&&_this5.setActiveState(link.parentElement,!0);for(var el=link;el;){var sibling=(el=closest(".nav, .list-group",el))?el.previousElementSibling:null;sibling&&matches(sibling,"".concat(SELECTOR_NAV_LINKS,", ").concat(SELECTOR_LIST_ITEMS))&&_this5.setActiveState(sibling,!0),sibling&&matches(sibling,".nav-item")&&(_this5.setActiveState(select(SELECTOR_NAV_LINKS,sibling),!0),_this5.setActiveState(sibling,!0))}}})),links&&links.length>0&&this.$root&&this.$root.$emit(ROOT_EVENT_NAME_ACTIVATE,target,links)}},{key:"clear",value:function(){var _this6=this;selectAll("".concat(this.$selector,", ").concat(".nav-item"),this.$el).filter((function(el){return hasClass(el,"active")})).forEach((function(el){return _this6.setActiveState(el,!1)}))}},{key:"setActiveState",value:function(el,active){el&&(active?addClass(el,"active"):removeClass(el,"active"))}}],[{key:"Name",get:function(){return"v-b-scrollspy"}},{key:"Default",get:function(){return Default}},{key:"DefaultType",get:function(){return DefaultType}}]),BVScrollspy}(),BV_SCROLLSPY="__BV_Scrollspy__",onlyDigitsRE=/^\d+$/,offsetRE=/^(auto|position|offset)$/,applyScrollspy=function(el,bindings,vnode){if(IS_BROWSER){var config=function(bindings){var config={};return bindings.arg&&(config.element="#".concat(bindings.arg)),keys(bindings.modifiers).forEach((function(mod){onlyDigitsRE.test(mod)?config.offset=toInteger(mod,0):offsetRE.test(mod)&&(config.method=mod)})),isString(bindings.value)?config.element=bindings.value:isNumber(bindings.value)?config.offset=mathRound(bindings.value):isObject(bindings.value)&&keys(bindings.value).filter((function(k){return!!BVScrollspy.DefaultType[k]})).forEach((function(k){config[k]=bindings.value[k]})),config}(bindings);el[BV_SCROLLSPY]?el[BV_SCROLLSPY].updateConfig(config,getEventRoot(getInstanceFromDirective(vnode,bindings))):el[BV_SCROLLSPY]=new BVScrollspy(el,config,getEventRoot(getInstanceFromDirective(vnode,bindings)))}},VBScrollspyPlugin=pluginFactory({directives:{VBScrollspy:{bind:function(el,bindings,vnode){applyScrollspy(el,bindings,vnode)},inserted:function(el,bindings,vnode){applyScrollspy(el,bindings,vnode)},update:function(el,bindings,vnode){bindings.value!==bindings.oldValue&&applyScrollspy(el,bindings,vnode)},componentUpdated:function(el,bindings,vnode){bindings.value!==bindings.oldValue&&applyScrollspy(el,bindings,vnode)},unbind:function(el){!function(el){el[BV_SCROLLSPY]&&(el[BV_SCROLLSPY].dispose(),el[BV_SCROLLSPY]=null,delete el[BV_SCROLLSPY])}(el)}}}}),VBVisiblePlugin=pluginFactory({directives:{VBVisible:VBVisible}}),directivesPlugin=pluginFactory({plugins:{VBHoverPlugin:VBHoverPlugin,VBModalPlugin:VBModalPlugin,VBPopoverPlugin:VBPopoverPlugin,VBScrollspyPlugin:VBScrollspyPlugin,VBTogglePlugin:VBTogglePlugin,VBTooltipPlugin:VBTooltipPlugin,VBVisiblePlugin:VBVisiblePlugin}}),BootstrapVue={install:installFactory({plugins:{componentsPlugin:componentsPlugin,directivesPlugin:directivesPlugin}}),NAME:"BootstrapVue"};return VuePlugin=BootstrapVue,HAS_WINDOW_SUPPORT&&window.Vue&&window.Vue.use(VuePlugin),HAS_WINDOW_SUPPORT&&VuePlugin.NAME&&(window[VuePlugin.NAME]=VuePlugin),BootstrapVue}));
//# sourceMappingURL=bootstrap-vue.min.js.map