text: !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):(t=t||self).bootstrapVue=e(t.Vue)}(this,function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function s(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),n.forEach(function(e){r(t,e,i[e])})}return t}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?c(t):e}function h(t,e,i){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=l(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(i):o.value}})(t,e,i||t)}function f(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}t=t&&t.hasOwnProperty("default")?t.default:t;var p=Math.ceil,m=Math.floor,g=function(t){return isNaN(t=+t)?0:(t>0?m:p)(t)},v=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t};function b(t,e){return t(e={exports:{}},e.exports),e.exports}var y=b(function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),S=b(function(t){var e=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=e)}),w=(S.version,function(t,e,i){if(function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!")}(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}}),B=function(t){return"object"==typeof t?null!==t:"function"==typeof t},T=function(t){if(!B(t))throw TypeError(t+" is not an object!");return t},k=function(t){try{return!!t()}catch(t){return!0}},$=!k(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),C=y.document,x=B(C)&&B(C.createElement),_=function(t){return x?C.createElement(t):{}},E=!$&&!k(function(){return 7!=Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a}),O=Object.defineProperty,P={f:$?Object.defineProperty:function(t,e,i){if(T(t),e=function(t,e){if(!B(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!B(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!B(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!B(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")}(e,!0),T(i),E)try{return O(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},I=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},F=$?function(t,e,i){return P.f(t,e,I(1,i))}:function(t,e,i){return t[e]=i,t},N={}.hasOwnProperty,D=function(t,e){return N.call(t,e)},A=function(t,e,i){var n,o,r,s=t&A.F,a=t&A.G,l=t&A.S,u=t&A.P,c=t&A.B,d=t&A.W,h=a?S:S[e]||(S[e]={}),f=h.prototype,p=a?y:l?y[e]:(y[e]||{}).prototype;for(n in a&&(i=e),i)(o=!s&&p&&void 0!==p[n])&&D(h,n)||(r=o?p[n]:i[n],h[n]=a&&"function"!=typeof p[n]?i[n]:c&&o?w(r,y):d&&p[n]==r?function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(r):u&&"function"==typeof r?w(Function.call,r):r,u&&((h.virtual||(h.virtual={}))[n]=r,t&A.R&&f&&!f[n]&&F(f,n,r)))};A.F=1,A.G=2,A.S=4,A.P=8,A.B=16,A.W=32,A.U=64,A.R=128;var L,V=A,M=F,R={},H={}.toString,j=function(t){return H.call(t).slice(8,-1)},z=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==j(t)?t.split(""):Object(t)},G=function(t){return z(v(t))},W=Math.min,U=function(t){return t>0?W(g(t),9007199254740991):0},q=Math.max,K=Math.min,X=b(function(t){var e=y["__core-js_shared__"]||(y["__core-js_shared__"]={});(t.exports=function(t,i){return e[t]||(e[t]=void 0!==i?i:{})})("versions",[]).push({version:S.version,mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),Y=0,Z=Math.random(),J=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++Y+Z).toString(36))},Q=X("keys"),tt=function(t){return Q[t]||(Q[t]=J(t))},et=(L=!1,function(t,e,i){var n,o=G(t),r=U(o.length),s=function(t,e){return(t=g(t))<0?q(t+e,0):K(t,e)}(i,r);if(L&&e!=e){for(;r>s;)if((n=o[s++])!=n)return!0}else for(;r>s;s++)if((L||s in o)&&o[s]===e)return L||s||0;return!L&&-1}),it=tt("IE_PROTO"),nt="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),ot=Object.keys||function(t){return function(t,e){var i,n=G(t),o=0,r=[];for(i in n)i!=it&&D(n,i)&&r.push(i);for(;e.length>o;)D(n,i=e[o++])&&(~et(r,i)||r.push(i));return r}(t,nt)},rt=$?Object.defineProperties:function(t,e){T(t);for(var i,n=ot(e),o=n.length,r=0;o>r;)P.f(t,i=n[r++],e[i]);return t},st=y.document,at=st&&st.documentElement,lt=tt("IE_PROTO"),ut=function(){},ct=function(){var t,e=_("iframe"),i=nt.length;for(e.style.display="none",at.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),ct=t.F;i--;)delete ct.prototype[nt[i]];return ct()},dt=Object.create||function(t,e){var i;return null!==t?(ut.prototype=T(t),i=new ut,ut.prototype=null,i[lt]=t):i=ct(),void 0===e?i:rt(i,e)},ht=b(function(t){var e=X("wks"),i=y.Symbol,n="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=n&&i[t]||(n?i:J)("Symbol."+t))}).store=e}),ft=P.f,pt=ht("toStringTag"),mt=function(t,e,i){t&&!D(t=i?t:t.prototype,pt)&&ft(t,pt,{configurable:!0,value:e})},gt={};F(gt,ht("iterator"),function(){return this});var vt,bt=function(t,e,i){t.prototype=dt(gt,{next:I(1,i)}),mt(t,e+" Iterator")},yt=function(t){return Object(v(t))},St=tt("IE_PROTO"),wt=Object.prototype,Bt=Object.getPrototypeOf||function(t){return t=yt(t),D(t,St)?t[St]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?wt:null},Tt=ht("iterator"),kt=!([].keys&&"next"in[].keys()),$t=function(){return this},Ct=(vt=!0,function(t,e){var i,n,o=String(v(t)),r=g(e),s=o.length;return r<0||r>=s?vt?"":void 0:(i=o.charCodeAt(r))<55296||i>56319||r+1===s||(n=o.charCodeAt(r+1))<56320||n>57343?vt?o.charAt(r):i:vt?o.slice(r,r+2):n-56320+(i-55296<<10)+65536});!function(t,e,i,n,o,r,s){bt(i,e,n);var a,l,u,c=function(t){if(!kt&&t in p)return p[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},d=e+" Iterator",h="values"==o,f=!1,p=t.prototype,m=p[Tt]||p["@@iterator"]||o&&p[o],g=m||c(o),v=o?h?c("entries"):g:void 0,b="Array"==e&&p.entries||m;if(b&&(u=Bt(b.call(new t)))!==Object.prototype&&u.next&&mt(u,d,!0),h&&m&&"values"!==m.name&&(f=!0,g=function(){return m.call(this)}),s&&(kt||f||!p[Tt])&&F(p,Tt,g),R[e]=g,R[d]=$t,o)if(a={values:h?g:c("values"),keys:r?g:c("keys"),entries:v},s)for(l in a)l in p||M(p,l,a[l]);else V(V.P+V.F*(kt||f),e,a)}(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=Ct(e,i),this._i+=t.length,{value:t,done:!1})});var xt=function(t,e,i,n){try{return n?e(T(i)[0],i[1]):e(i)}catch(e){var o=t.return;throw void 0!==o&&T(o.call(t)),e}},_t=ht("iterator"),Et=Array.prototype,Ot=function(t,e,i){e in t?P.f(t,e,I(0,i)):t[e]=i},Pt=ht("toStringTag"),It="Arguments"==j(function(){return arguments}()),Ft=ht("iterator"),Nt=S.getIteratorMethod=function(t){if(null!=t)return t[Ft]||t["@@iterator"]||R[function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Pt))?i:It?j(e):"Object"==(n=j(e))&&"function"==typeof e.callee?"Arguments":n}(t)]},Dt=ht("iterator"),At=!1;try{[7][Dt]().return=function(){At=!0}}catch(t){}V(V.S+V.F*!function(t,e){if(!e&&!At)return!1;var i=!1;try{var n=[7],o=n[Dt]();o.next=function(){return{done:i=!0}},n[Dt]=function(){return o},t(n)}catch(t){}return i}(function(t){}),"Array",{from:function(t){var e,i,n,o,r,s=yt(t),a="function"==typeof this?this:Array,l=arguments.length,u=l>1?arguments[1]:void 0,c=void 0!==u,d=0,h=Nt(s);if(c&&(u=w(u,l>2?arguments[2]:void 0,2)),null!=h&&(a!=Array||(void 0===(r=h)||R.Array!==r&&Et[_t]!==r)))for(o=h.call(s),i=new a;!(n=o.next()).done;d++)Ot(i,d,c?xt(o,u,[n.value,d],!0):n.value);else for(i=new a(e=U(s.length));e>d;d++)Ot(i,d,c?u(s[d],d):s[d]);return i.length=d,i}});var Lt=S.Array.from,Vt=Array.isArray||function(t){return"Array"==j(t)};V(V.S,"Array",{isArray:Vt});var Mt=S.Array.isArray,Rt=Array.from||Lt,Ht=Array.isArray||Mt,jt=function(t,e){return-1!==t.indexOf(e)},zt=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return Array.prototype.concat.apply([],e)},Gt={f:Object.getOwnPropertySymbols},Wt={f:{}.propertyIsEnumerable},Ut=Object.assign,qt=!Ut||k(function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(t){e[t]=t}),7!=Ut({},t)[i]||Object.keys(Ut({},e)).join("")!=n})?function(t,e){for(var i=yt(t),n=arguments.length,o=1,r=Gt.f,s=Wt.f;n>o;)for(var a,l=z(arguments[o++]),u=r?ot(l).concat(r(l)):ot(l),c=u.length,d=0;c>d;)s.call(l,a=u[d++])&&(i[a]=l[a]);return i}:Ut;V(V.S+V.F,"Object",{assign:qt});var Kt=S.Object.assign,Xt=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};V(V.S,"Object",{is:Xt});S.Object.is;var Yt=Object.assign||Kt,Zt=Object.keys,Jt=Object.defineProperties,Qt=Object.defineProperty,te=Object.create,ee=function(t){return null!==t&&"object"===e(t)},ie=function(t){return"[object Object]"===Object.prototype.toString.call(t)},ne=function(t,e){return Zt(t).filter(function(t){return-1===e.indexOf(t)}).reduce(function(e,i){return s({},e,r({},i,t[i]))},{})},oe=function(){return{enumerable:!0,configurable:!1,writable:!1}},re=function(t){return e(t)},se=function(t){return void 0===t},ae=function(t){return null===t},le=function(t){return"function"===re(t)},ue=function(t){return"boolean"===re(t)},ce=function(t){return"string"===re(t)},de=function(t){return"number"===re(t)},he=function(t){return t instanceof Date},fe=function(t){return"RegExp"===function(t){return Object.prototype.toString.call(t).slice(8,-1)}(t)},pe=function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return Ht(e)?e.reduce(function(e,i){return[].concat(f(e),[t(i,i)])},[]):ie(e)?Zt(e).reduce(function(i,n){return s({},i,r({},n,t(e[n],e[n])))},{}):i},me=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!(e=Ht(e)?e.join("."):e)||!ee(t))return i;if(t.hasOwnProperty(e))return t[e];var n=(e=String(e).replace(/\[(\d+)]/g,".$1")).split(".").filter(Boolean);return 0===n.length?i:n.every(function(e){return ee(t)&&t.hasOwnProperty(e)&&null!=(t=t[e])})?t:i},ge=function(t){var e=te(null);return function(){for(var i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];var r=JSON.stringify(n);return e[r]=e[r]||t.apply(null,n)}},ve="undefined"!=typeof window,be="undefined"!=typeof document,ye="undefined"!=typeof navigator,Se="undefined"!=typeof Promise,we="undefined"!=typeof MutationObserver||"undefined"!=typeof WebKitMutationObserver||"undefined"!=typeof MozMutationObserver,Be=ve&&be&&ye,Te=function(){var t=!1;if(Be)try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}return t}(),ke=Be&&("ontouchstart"in document.documentElement||navigator.maxTouchPoints>0),$e=Be&&Boolean(window.PointerEvent||window.MSPointerEvent),Ce=function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i="undefined"!=typeof process&&process&&process.env||{};return t?i[t]||e:i}("BOOTSTRAP_VUE_NO_WARN")},xe=function(t){Ce()||console.warn("[BootstrapVue warn]: ".concat(t))},_e=function(t){return!Be&&(xe("".concat(t,": Can not be called during SSR.")),!0)},Ee=function(t){return!Se&&(xe("".concat(t,": Requires Promise support.")),!0)},Oe={breakpoints:["xs","sm","md","lg","xl"],BAlert:{dismissLabel:"Close",variant:"info"},BBadge:{variant:"secondary"},BButton:{variant:"secondary"},BButtonClose:{textVariant:null,ariaLabel:"Close"},BCardSubTitle:{subTitleTextVariant:"muted"},BCarousel:{labelPrev:"Previous Slide",labelNext:"Next Slide",labelGotoSlide:"Goto Slide",labelIndicators:"Select a slide to display"},BDropdown:{toggleText:"Toggle Dropdown",variant:"secondary"},BFormFile:{browseText:"Browse",placeholder:"No file chosen",dropPlaceholder:"Drop files here"},BFormText:{textVariant:"muted"},BImg:{blankColor:"transparent"},BImgLazy:{blankColor:"transparent"},BModal:{cancelTitle:"Cancel",cancelVariant:"secondary",okTitle:"OK",okVariant:"primary",headerCloseLabel:"Close"},BNavbarToggle:{label:"Toggle navigation"},BToast:{toaster:"b-toaster-top-right"}},Pe={},Ie=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ee(t)&&Zt(t).filter(function(e){return t.hasOwnProperty(e)}).forEach(function(e){if(Oe.hasOwnProperty(e)){var i=t[e];if("breakpoints"===e){var n=t.breakpoints;!Ht(n)||n.length<2||n.some(function(t){return!ce(t)||0===t.length})?xe('config: "breakpoints" must be an array of at least 2 breakpoint names'):Pe.breakpoints=pe(n)}else ee(i)&&Zt(i).filter(function(t){return i.hasOwnProperty(t)}).forEach(function(t){Oe[e].hasOwnProperty(t)?(Pe[e]=Pe[e]||{},se(i[t])||(Pe[e][t]=pe(i[t]))):xe('config: unknown config property "'.concat(e,'.{$key}"'))})}else xe('config: unknown config property "'.concat(e,'"'))})},Fe=function(t){return pe(me(Pe,t,me(pe(Oe),t)))},Ne=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e?Fe("".concat(t,".").concat(e)):Fe(t)||{}},De=ge(function(){return Fe("breakpoints")}),Ae=ge(function(){var t=De().slice();return t[0]="",t}),Le=ve?window:{},Ve=be?document:{},Me="undefined"!=typeof Element?Element.prototype:{},Re=Me.matches||Me.msMatchesSelector||Me.webkitMatchesSelector,He=Me.closest||function(t){var e=this;do{if(Qe(e,t))return e;e=e.parentElement||e.parentNode}while(!ae(e)&&e.nodeType===Node.ELEMENT_NODE);return null},je=Le.requestAnimationFrame||Le.webkitRequestAnimationFrame||Le.mozRequestAnimationFrame||Le.msRequestAnimationFrame||Le.oRequestAnimationFrame||function(t){return setTimeout(t,16)},ze=Le.MutationObserver||Le.WebKitMutationObserver||Le.MozMutationObserver||null,Ge=function(t){return Te?ee(t)?t:{useCapture:Boolean(t||!1)}:Boolean(ee(t)?t.useCapture:t)},We=function(t,e,i,n){t&&t.addEventListener&&t.addEventListener(e,i,Ge(n))},Ue=function(t,e,i,n){t&&t.removeEventListener&&t.removeEventListener(e,i,Ge(n))},qe=function(t){return Boolean(t&&t.nodeType===Node.ELEMENT_NODE)},Ke=function(t){if(!qe(t)||!ei(Ve.body,t))return!1;if("none"===t.style.display)return!1;var e=ui(t);return Boolean(e&&e.height>0&&e.width>0)},Xe=function(t){return!qe(t)||t.disabled||Boolean(ai(t,"disabled"))||oi(t,"disabled")},Ye=function(t){return qe(t)&&t.offsetHeight},Ze=function(t,e){return Rt((qe(e)?e:Ve).querySelectorAll(t))},Je=function(t,e){return(qe(e)?e:Ve).querySelector(t)||null},Qe=function(t,e){return!!qe(t)&&Re.call(t,e)},ti=function(t,e){if(!qe(e))return null;var i=He.call(e,t);return i===e?null:i},ei=function(t,e){return!(!t||!le(t.contains))&&t.contains(e)},ii=function(t,e){e&&qe(t)&&t.classList&&t.classList.add(e)},ni=function(t,e){e&&qe(t)&&t.classList&&t.classList.remove(e)},oi=function(t,e){return!!(e&&qe(t)&&t.classList)&&t.classList.contains(e)},ri=function(t,e,i){e&&qe(t)&&t.setAttribute(e,i)},si=function(t,e){e&&qe(t)&&t.removeAttribute(e)},ai=function(t,e){return e&&qe(t)?t.getAttribute(e):null},li=function(t,e){return e&&qe(t)?t.hasAttribute(e):null},ui=function(t){return qe(t)?t.getBoundingClientRect():null},ci=function(t){return ve&&qe(t)?Le.getComputedStyle(t):{}},di=function(t){var e={top:0,left:0};if(!qe(t)||0===t.getClientRects().length)return e;var i=ui(t);if(i){var n=t.ownerDocument.defaultView;e.top=i.top+n.pageYOffset,e.left=i.left+n.pageXOffset}return e},hi=function(t){var e={top:0,left:0};if(!qe(t))return e;var i={top:0,left:0},n=ci(t);if("fixed"===n.position)e=ui(t)||e;else{e=di(t);for(var o=t.ownerDocument,r=t.offsetParent||o.documentElement;r&&(r===o.body||r===o.documentElement)&&"static"===ci(r).position;)r=r.parentNode;if(r&&r!==t&&r.nodeType===Node.ELEMENT_NODE){i=di(r);var s=ci(r);i.top+=parseFloat(s.borderTopWidth),i.left+=parseFloat(s.borderLeftWidth)}}return{top:e.top-i.top-parseFloat(n.marginTop),left:e.left-i.left-parseFloat(n.marginLeft)}},fi=function(){return(fi=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function pi(){for(var t,e,i={},n=arguments.length;n--;)for(var o=0,r=Object.keys(arguments[n]);o<r.length;o++)switch(t=r[o]){case"class":case"style":case"directives":Array.isArray(i[t])||(i[t]=[]),i[t]=i[t].concat(arguments[n][t]);break;case"staticClass":if(!arguments[n][t])break;void 0===i[t]&&(i[t]=""),i[t]&&(i[t]+=" "),i[t]+=arguments[n][t].trim();break;case"on":case"nativeOn":i[t]||(i[t]={});for(var s=0,a=Object.keys(arguments[n][t]||{});s<a.length;s++)e=a[s],i[t][e]?i[t][e]=[].concat(i[t][e],arguments[n][t][e]):i[t][e]=arguments[n][t][e];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":i[t]||(i[t]={}),i[t]=fi({},arguments[n][t],i[t]);break;case"slot":case"key":case"ref":case"tag":case"show":case"keepAlive":default:i[t]||(i[t]=arguments[n][t])}return i}var mi="BButtonClose",gi={disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:function(){return String(Ne(mi,"ariaLabel"))}},textVariant:{type:String,default:function(){return String(Ne(mi,"textVariant")||"")||null}}},vi=t.extend({name:mi,functional:!0,props:gi,render:function(t,e){var i=e.props,n=e.data,o=(e.listeners,e.slots),s={staticClass:"close",class:r({},"text-".concat(i.textVariant),i.textVariant),attrs:{type:"button",disabled:i.disabled,"aria-label":i.ariaLabel?String(i.ariaLabel):null},on:{click:function(t){i.disabled&&t instanceof Event&&(t.stopPropagation(),t.preventDefault())}}};return o().default||(s.domProps={innerHTML:"&times;"}),t("button",pi(n,s),o().default)}}),bi=function(t){return""===t||ue(t)?0:(t=parseInt(t,10))>0?t:0},yi=function(t){return""===t||!0===t||!(parseInt(t,10)<1)&&Boolean(t)},Si=function(t){return!isNaN(parseInt(t,10))},wi=t.extend({name:"BAlert",model:{prop:"show",event:"input"},props:{variant:{type:String,default:function(){return String(Ne("BAlert","variant"))}},dismissible:{type:Boolean,default:!1},dismissLabel:{type:String,default:function(){return String(Ne("BAlert","dismissLabel"))}},show:{type:[Boolean,Number,String],default:!1},fade:{type:Boolean,default:!1}},data:function(){return{countDownTimerId:null,countDown:0,localShow:yi(this.show),showClass:this.fade&&this.show}},watch:{show:function(t){this.countDown=bi(t),this.localShow=yi(t)},countDown:function(t){var e=this;this.clearTimer(),this.$emit("dismiss-count-down",t),this.show!==t&&this.$emit("input",t),t>0?(this.localShow=!0,this.countDownTimerId=setTimeout(function(){e.countDown--},1e3)):this.$nextTick(function(){je(function(){e.localShow=!1})})},localShow:function(t){t||!this.dismissible&&!Si(this.show)||this.$emit("dismissed"),Si(this.show)||this.show===t||this.$emit("input",t)}},created:function(){this.countDown=bi(this.show),this.localShow=yi(this.show)},mounted:function(){this.countDown=bi(this.show),this.localShow=yi(this.show)},beforeDestroy:function(){this.clearTimer()},methods:{dismiss:function(){this.clearTimer(),this.countDown=0,this.localShow=!1},clearTimer:function(){this.countDownTimerId&&(clearInterval(this.countDownTimerId),this.countDownTimerId=null)},onBeforeEnter:function(){var t=this;this.fade&&je(function(){t.showClass=!0})},onBeforeLeave:function(){this.showClass=!1}},render:function(t){var e,i=this.$slots;if(this.localShow){var n=t(!1);this.dismissible&&(n=t(vi,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[i.dismiss])),e=[e=t("div",{staticClass:"alert",class:r({fade:this.fade,show:this.showClass,"alert-dismissible":this.dismissible},"alert-".concat(this.variant),this.variant),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0}},[n,i.default])]}return t("transition",{props:{"enter-class":"","enter-active-class":"","enter-to-class":"","leave-class":"show","leave-active-class":"","leave-to-class":""},on:{beforeEnter:this.onBeforeEnter,beforeLeave:this.onBeforeLeave}},e)}}),Bi=function(t){var e=t.components,i=t.directives,n=t.plugins,o=function t(o){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.installed||(t.installed=!0,Ie(r),$i(o,e),xi(o,i),Ti(o,n))};return o.installed=!1,o},Ti=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in e)i&&e[i]&&t.use(e[i])},ki=function(t,e,i){t&&e&&i&&t.component(e,i)},$i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in e)ki(t,i,e[i])},Ci=function(t,e,i){t&&e&&i&&t.directive(e,i)},xi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var i in e)Ci(t,i,e[i])},_i={install:Bi({components:{BAlert:wi}})},Ei=function(t){return t},Oi=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ei;return(Ht(t)?t.slice():Zt(t)).reduce(function(t,n){return t[i(n)]=e[n],t},{})},Pi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return se(t)||ae(t)?"":Ht(t)||ie(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},Ii=/%2C/g,Fi=/[!'()*]/g,Ni=function(t){return"%"+t.charCodeAt(0).toString(16)},Di=function(t){return encodeURIComponent(Pi(t)).replace(Fi,Ni).replace(Ii,",")},Ai=decodeURIComponent,Li=function(t){var e={};return(t=Pi(t).trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var i=t.replace(/\+/g," ").split("="),n=Ai(i.shift()),o=i.length>0?Ai(i.join("=")):null;se(e[n])?e[n]=o:Ht(e[n])?e[n].push(o):e[n]=[e[n],o]}),e):e},Vi=function(t){return"a"!==t},Mi=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.href,i=t.to,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(Vi(n))return null;if(e)return e;if(i){if(ce(i))return i||r;if(ie(i)&&(i.path||i.query||i.hash)){var s=Pi(i.path),a=function(t){if(!ie(t))return"";var e=Zt(t).map(function(e){var i=t[e];return se(i)?"":ae(i)?Di(e):Ht(i)?i.reduce(function(t,i){return ae(i)?t.push(Di(e)):se(i)||t.push(Di(e)+"="+Di(i)),t},[]).join("&"):Di(e)+"="+Di(i)}).filter(function(t){return t.length>0}).join("&");return e?"?".concat(e):""}(i.query),l=Pi(i.hash);return l=l&&"#"!==l.charAt(0)?"#".concat(l):l,"".concat(s).concat(a).concat(l)||r}}return o},Ri=function(){return{href:{type:String,default:null},rel:{type:String,default:null},target:{type:String,default:"_self"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{type:[String,Object],default:null},append:{type:Boolean,default:!1},replace:{type:Boolean,default:!1},event:{type:[String,Array],default:"click"},activeClass:{type:String},exact:{type:Boolean,default:!1},exactActiveClass:{type:String},routerTag:{type:String,default:"a"},noPrefetch:{type:Boolean,default:!1}}},Hi=function(t){var e=t.disabled,i=t.tag,n=t.href,o=t.suppliedHandler,r=t.parent;return function(t){var s=arguments;e&&t instanceof Event?(t.stopPropagation(),t.stopImmediatePropagation()):(Vi(i)&&t.target.__vue__&&t.target.__vue__.$emit("click",t),zt(o).filter(function(t){return le(t)}).forEach(function(t){t.apply(void 0,f(s))}),r.$root.$emit("clicked::link",t)),(!Vi(i)&&"#"===n||e)&&t.preventDefault()}},ji=t.extend({name:"BLink",functional:!0,props:Ri(),render:function(t,e){var i=e.props,n=e.data,o=e.parent,r=e.children,a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.to,i=t.disabled,n=arguments.length>1?arguments[1]:void 0;return n.$router&&e&&!i?n.$nuxt?"nuxt-link":"router-link":"a"}(i,o),l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,i=t.rel;return"_blank"===e&&ae(i)?"noopener":i||null}(i),u=Mi(i,a),c=Vi(a)?"nativeOn":"on",d=(n[c]||{}).click,h={click:Hi({tag:a,href:u,disabled:i.disabled,suppliedHandler:d,parent:o})},f=pi(n,{class:{active:i.active,disabled:i.disabled},attrs:{rel:l,target:i.target,tabindex:i.disabled?"-1":n.attrs?n.attrs.tabindex:null,"aria-disabled":i.disabled?"true":null},props:s({},i,{tag:i.routerTag})});return u?f.attrs.href=u:delete f.props.href,f[c]=s({},f[c]||{},h),t(a,f,r)}}),zi=Ri();delete zi.href.default,delete zi.to.default;var Gi=s({},zi,{tag:{type:String,default:"span"},variant:{type:String,default:function(){return String(Ne("BBadge","variant"))}},pill:{type:Boolean,default:!1}}),Wi={install:Bi({components:{BBadge:t.extend({name:"BBadge",functional:!0,props:Gi,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.href||i.to?ji:i.tag,pi(n,{staticClass:"badge",class:["badge-".concat(i.variant||Ne("BBadge","variant")),{"badge-pill":Boolean(i.pill),active:i.active,disabled:i.disabled}],props:Oi(zi,i)}),o)}})}})},Ui=/(<([^>]+)>)/gi,qi=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(Ui,"")},Ki=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}},Xi=s({},Ri(),{text:{type:String,default:null},html:{type:String,default:null},ariaCurrent:{type:String,default:"location"}}),Yi=t.extend({name:"BBreadcrumbLink",functional:!0,props:Xi,render:function(t,e){var i=e.props,n=e.data,o=e.children,r=i.active?"span":ji,s={props:Oi(Xi,i)};return i.active&&(s.attrs={"aria-current":i.ariaCurrent}),o||(s.domProps=Ki(i.html,i.text)),t(r,pi(n,s),o)}}),Zi=t.extend({name:"BBreadcrumbItem",functional:!0,props:Xi,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t("li",pi(n,{staticClass:"breadcrumb-item",class:{active:i.active}}),[t(Yi,{props:i},o)])}}),Ji={items:{type:Array,default:null}},Qi={install:Bi({components:{BBreadcrumb:t.extend({name:"BBreadcrumb",functional:!0,props:Ji,render:function(t,e){var i=e.props,n=e.data,o=e.children;if(Ht(i.items)){var r=!1;o=i.items.map(function(e,n){ee(e)||(e={text:Pi(e)});var o=e.active;return o&&(r=!0),o||r||(o=n+1===i.items.length),t(Zi,{props:s({},e,{active:o})})})}return t("ol",pi(n,{staticClass:"breadcrumb"}),o)}}),BBreadcrumbItem:Zi,BBreadcrumbLink:Yi}})},tn={block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String,default:null},variant:{type:String,default:function(){return String(Ne("BButton","variant"))}},type:{type:String,default:"button"},tag:{type:String,default:"button"},pressed:{type:Boolean,default:null}},en=Ri();delete en.href.default,delete en.to.default;var nn=Zt(en),on=s({},en,tn),rn=function(t){"focusin"===t.type?ii(t.target,"focus"):"focusout"===t.type&&ni(t.target,"focus")},sn=function(t){return Boolean(t.href||t.to||t.tag&&"a"===String(t.tag).toLowerCase())},an=function(t){return ue(t.pressed)},ln=function(t){return!sn(t)&&(!t.tag||"button"===String(t.tag).toLowerCase())},un=function(t){var e;return["btn-".concat(t.variant||Ne("BButton","variant")),(e={},r(e,"btn-".concat(t.size),Boolean(t.size)),r(e,"btn-block",t.block),r(e,"disabled",t.disabled),r(e,"active",t.pressed),e)]},cn=function(t){return sn(t)?Oi(nn,t):null},dn=function(t,e){var i=ln(t),n=sn(t),o=an(t),r=function(t){return!sn(t)&&!ln(t)}(t),s=e.attrs&&e.attrs.role?e.attrs.role:null,a=e.attrs?e.attrs.tabindex:null;return r&&(a="0"),{type:i&&!n?t.type:null,disabled:i?t.disabled:null,role:r?"button":s,"aria-disabled":r?String(t.disabled):null,"aria-pressed":o?String(t.pressed):null,autocomplete:o?"off":null,tabindex:t.disabled&&!i?"-1":a}},hn=t.extend({name:"BButton",functional:!0,props:on,render:function(t,e){var i=e.props,n=e.data,o=e.listeners,r=e.children,s=an(i),a=sn(i),l={click:function(t){i.disabled&&t instanceof Event?(t.stopPropagation(),t.preventDefault()):s&&o&&o["update:pressed"]&&zt(o["update:pressed"]).forEach(function(t){le(t)&&t(!i.pressed)})}};s&&(l.focusin=rn,l.focusout=rn);var u={staticClass:"btn",class:un(i),props:cn(i),attrs:dn(i,n),on:l};return t(a?ji:i.tag,pi(n,u),r)}}),fn={install:Bi({components:{BButton:hn,BBtn:hn,BButtonClose:vi,BBtnClose:vi}})},pn={vertical:{type:Boolean,default:!1},size:{type:String,default:null},tag:{type:String,default:"div"},ariaRole:{type:String,default:"group"}},mn=t.extend({name:"BButtonGroup",functional:!0,props:pn,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.tag,pi(n,{class:r({"btn-group":!i.vertical,"btn-group-vertical":i.vertical},"btn-group-".concat(i.size),Boolean(i.size)),attrs:{role:i.ariaRole}}),o)}}),gn={install:Bi({components:{BButtonGroup:mn,BBtnGroup:mn}})},vn={SPACE:32,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,PAGEUP:33,PAGEDOWN:34,HOME:36,END:35,TAB:9,SHIFT:16,CTRL:17,BACKSPACE:8,ALT:18,PAUSE:19,BREAK:19,INSERT:45,INS:45,DELETE:46},bn=[".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(","),yn=t.extend({name:"BButtonToolbar",props:{justify:{type:Boolean,default:!1},keyNav:{type:Boolean,default:!1}},mounted:function(){this.keyNav&&this.getItems()},methods:{onFocusin:function(t){t.target===this.$el&&(t.preventDefault(),t.stopPropagation(),this.focusFirst(t))},stop:function(t){t.preventDefault(),t.stopPropagation()},onKeydown:function(t){if(this.keyNav){var e=t.keyCode,i=t.shiftKey;e===vn.UP||e===vn.LEFT?(this.stop(t),i?this.focusFirst(t):this.focusPrev(t)):e!==vn.DOWN&&e!==vn.RIGHT||(this.stop(t),i?this.focusLast(t):this.focusNext(t))}},setItemFocus:function(t){t&&t.focus&&t.focus()},focusFirst:function(t){var e=this.getItems();this.setItemFocus(e[0])},focusPrev:function(t){var e=this.getItems(),i=e.indexOf(t.target);i>-1&&(e=e.slice(0,i).reverse(),this.setItemFocus(e[0]))},focusNext:function(t){var e=this.getItems(),i=e.indexOf(t.target);i>-1&&(e=e.slice(i+1),this.setItemFocus(e[0]))},focusLast:function(t){var e=this.getItems().reverse();this.setItemFocus(e[0])},getItems:function(){var t=Ze(bn,this.$el);return t.forEach(function(t){t.tabIndex=-1}),t.filter(function(t){return Ke(t)})}},render:function(t){return t("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:this.keyNav?"0":null},on:this.keyNav?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.$slots.default])}}),Sn={install:Bi({components:{BButtonToolbar:yn,BBtnToolbar:yn}})},wn={tag:{type:String,default:"div"}},Bn=t.extend({name:"BInputGroupText",functional:!0,props:wn,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.tag,pi(n,{staticClass:"input-group-text"}),o)}}),Tn={id:{type:String,default:null},tag:{type:String,default:"div"},isText:{type:Boolean,default:!1}},kn=t.extend({name:"BInputGroupAddon",functional:!0,props:s({},Tn,{append:{type:Boolean,default:!1}}),render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.tag,pi(n,{class:{"input-group-append":i.append,"input-group-prepend":!i.append},attrs:{id:i.id}}),i.isText?[t(Bn,o)]:o)}}),$n=t.extend({name:"BInputGroupPrepend",functional:!0,props:Tn,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(kn,pi(n,{props:s({},i,{append:!1})}),o)}}),Cn=t.extend({name:"BInputGroupAppend",functional:!0,props:Tn,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(kn,pi(n,{props:s({},i,{append:!0})}),o)}}),xn={id:{type:String},size:{type:String},prepend:{type:String},prependHTML:{type:String},append:{type:String},appendHTML:{type:String},tag:{type:String,default:"div"}},_n={install:Bi({components:{BInputGroup:t.extend({name:"BInputGroup",functional:!0,props:xn,render:function(t,e){var i=e.props,n=e.data,o=(0,e.slots)(),s=[];return i.prepend?s.push(t($n,[t(Bn,{domProps:Ki(i.prependHTML,i.prepend)})])):s.push(t(!1)),o.prepend?s.push(t($n,o.prepend)):s.push(t(!1)),o.default?s.push.apply(s,f(o.default)):s.push(t(!1)),i.append?s.push(t(Cn,[t(Bn,{domProps:Ki(i.appendHTML,i.append)})])):s.push(t(!1)),o.append?s.push(t(Cn,o.append)):s.push(t(!1)),t(i.tag,pi(n,{staticClass:"input-group",class:r({},"input-group-".concat(i.size),Boolean(i.size)),attrs:{id:i.id||null,role:"group"}}),s)}}),BInputGroupAddon:kn,BInputGroupPrepend:$n,BInputGroupAppend:Cn,BInputGroupText:Bn}})},En=function(t){return ce(t)||(t=String(t)),(t=t.trim()).charAt(0).toUpperCase()+t.slice(1)},On=function(t,e){return t+En(e)},Pn=function(t,e){return i=e.replace(t,""),(i=String(i)).charAt(0).toLowerCase()+i.slice(1);var i},In=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ei;if(Ht(t))return t.map(e);var i={};for(var n in t)t.hasOwnProperty(n)&&(i[e(n)]=ee(t[n])?s({},t[n]):t[n]);return i},Fn={props:{tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}}},Nn={title:{type:String,default:""},titleTag:{type:String,default:"h4"}},Dn=t.extend({name:"BCardTitle",functional:!0,props:Nn,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.titleTag,pi(n,{staticClass:"card-title"}),o||i.title)}}),An={subTitle:{type:String,default:""},subTitleTag:{type:String,default:"h6"},subTitleTextVariant:{type:String,default:function(){return String(Ne("BCardSubTitle","subTitleTextVariant")||"")||null}}},Ln=t.extend({name:"BCardSubTitle",functional:!0,props:An,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.subTitleTag,pi(n,{staticClass:"card-subtitle",class:[i.subTitleTextVariant?"text-".concat(i.subTitleTextVariant):null]}),o||i.subTitle)}}),Vn=s({},In(Fn.props,On.bind(null,"body")),{bodyClass:{type:[String,Object,Array],default:null}},Nn,An,{overlay:{type:Boolean,default:!1}}),Mn=t.extend({name:"BCardBody",functional:!0,props:Vn,render:function(t,e){var i,n=e.props,o=e.data,s=e.children,a=t(!1),l=t(!1),u=s||[t(!1)];return n.title&&(a=t(Dn,{props:Oi(Nn,n)})),n.subTitle&&(l=t(Ln,{props:Oi(An,n),class:["mb-2"]})),t(n.bodyTag,pi(o,{staticClass:"card-body",class:[(i={"card-img-overlay":n.overlay},r(i,"bg-".concat(n.bodyBgVariant),Boolean(n.bodyBgVariant)),r(i,"border-".concat(n.bodyBorderVariant),Boolean(n.bodyBorderVariant)),r(i,"text-".concat(n.bodyTextVariant),Boolean(n.bodyTextVariant)),i),n.bodyClass||{}]}),[a,l].concat(f(u)))}}),Rn=s({},In(Fn.props,On.bind(null,"header")),{header:{type:String,default:null},headerHtml:{type:String,default:null},headerClass:{type:[String,Object,Array],default:null}}),Hn=t.extend({name:"BCardHeader",functional:!0,props:Rn,render:function(t,e){var i,n=e.props,o=e.data,s=e.children;return t(n.headerTag,pi(o,{staticClass:"card-header",class:[n.headerClass,(i={},r(i,"bg-".concat(n.headerBgVariant),Boolean(n.headerBgVariant)),r(i,"border-".concat(n.headerBorderVariant),Boolean(n.headerBorderVariant)),r(i,"text-".concat(n.headerTextVariant),Boolean(n.headerTextVariant)),i)]}),s||[t("div",{domProps:Ki(n.headerHtml,n.header)})])}}),jn=s({},In(Fn.props,On.bind(null,"footer")),{footer:{type:String,default:null},footerHtml:{type:String,default:null},footerClass:{type:[String,Object,Array],default:null}}),zn=t.extend({name:"BCardFooter",functional:!0,props:jn,render:function(t,e){var i,n=e.props,o=e.data,s=e.children;return t(n.footerTag,pi(o,{staticClass:"card-footer",class:[n.footerClass,(i={},r(i,"bg-".concat(n.footerBgVariant),Boolean(n.footerBgVariant)),r(i,"border-".concat(n.footerBorderVariant),Boolean(n.footerBorderVariant)),r(i,"text-".concat(n.footerTextVariant),Boolean(n.footerTextVariant)),i)]}),s||[t("div",{domProps:Ki(n.footerHtml,n.footer)})])}}),Gn={src:{type:String,default:null,required:!0},alt:{type:String,default:null},top:{type:Boolean,default:!1},bottom:{type:Boolean,default:!1},left:{type:Boolean,default:!1},start:{type:Boolean,default:!1},right:{type:Boolean,default:!1},end:{type:Boolean,default:!1},height:{type:String,default:null},width:{type:String,default:null}},Wn=t.extend({name:"BCardImg",functional:!0,props:Gn,render:function(t,e){var i=e.props,n=e.data,o="card-img";return i.top?o+="-top":i.right||i.end?o+="-right":i.bottom?o+="-bottom":(i.left||i.start)&&(o+="-left"),t("img",pi(n,{class:[o],attrs:{src:i.src,alt:i.alt,height:i.height,width:i.width}}))}}),Un=In(Gn,On.bind(null,"img"));Un.imgSrc.required=!1;var qn=s({},Vn,Rn,jn,Un,In(Fn.props),{align:{type:String,default:null},noBody:{type:Boolean,default:!1}}),Kn=t.extend({name:"BCard",functional:!0,props:qn,render:function(t,e){var i,n=e.props,o=e.data,s=(0,e.slots)(),a=t(!1),l=t(!1),u=t(!1),c=t(!1),d=t(!1);if(n.imgSrc){var h=t(Wn,{props:Oi(Un,n,Pn.bind(null,"img"))});n.imgBottom?d=h:a=h}return(n.header||s.header)&&(l=t(Hn,{props:Oi(Rn,n)},s.header)),u=n.noBody?s.default||[]:[t(Mn,{props:Oi(Vn,n)},s.default)],(n.footer||s.footer)&&(c=t(zn,{props:Oi(jn,n)},s.footer)),t(n.tag,pi(o,{staticClass:"card",class:(i={"flex-row":n.imgLeft||n.imgStart,"flex-row-reverse":(n.imgRight||n.imgEnd)&&!(n.imgLeft||n.imgStart)},r(i,"text-".concat(n.align),Boolean(n.align)),r(i,"bg-".concat(n.bgVariant),Boolean(n.bgVariant)),r(i,"border-".concat(n.borderVariant),Boolean(n.borderVariant)),r(i,"text-".concat(n.textVariant),Boolean(n.textVariant)),i)}),[a,l].concat(f(u),[c,d]))}}),Xn='<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>',Yn={src:{type:String,default:null},alt:{type:String,default:null},width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},block:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},thumbnail:{type:Boolean,default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},center:{type:Boolean,default:!1},blank:{type:Boolean,default:!1},blankColor:{type:String,default:function(){return String(Ne("BImg","blankColor"))}}};var Zn=t.extend({name:"BImg",functional:!0,props:Yn,render:function(t,e){var i,n=e.props,o=e.data,s=n.src,a=parseInt(n.width,10)?parseInt(n.width,10):null,l=parseInt(n.height,10)?parseInt(n.height,10):null,u=null,c=n.block;return n.blank&&(!l&&Boolean(a)?l=a:!a&&Boolean(l)&&(a=l),a||l||(a=1,l=1),s=function(t,e,i){var n=encodeURIComponent(Xn.replace("%{w}",String(t)).replace("%{h}",String(e)).replace("%{f}",i));return"data:image/svg+xml;charset=UTF-8,".concat(n)}(a,l,n.blankColor||"transparent")),n.left?u="float-left":n.right?u="float-right":n.center&&(u="mx-auto",c=!0),t("img",pi(o,{attrs:{src:s,alt:n.alt,width:a?String(a):null,height:l?String(l):null},class:(i={"img-thumbnail":n.thumbnail,"img-fluid":n.fluid||n.fluidGrow,"w-100":n.fluidGrow,rounded:""===n.rounded||!0===n.rounded},r(i,"rounded-".concat(n.rounded),ce(n.rounded)&&""!==n.rounded),r(i,u,Boolean(u)),r(i,"d-block",c),i)}))}}),Jn={passive:!0,capture:!1},Qn={src:{type:String,default:null,required:!0},alt:{type:String,default:null},width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},blankSrc:{type:String,default:null},blankColor:{type:String,default:function(){return String(Ne("BImgLazy","blankColor"))}},blankWidth:{type:[Number,String],default:null},blankHeight:{type:[Number,String],default:null},show:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},block:{type:Boolean,default:!1},thumbnail:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},center:{type:Boolean,default:!1},offset:{type:[Number,String],default:360},throttle:{type:[Number,String],default:100}},to=t.extend({name:"BImgLazy",props:Qn,data:function(){return{isShown:!1,scrollTimeout:null}},computed:{computedSrc:function(){return!this.blankSrc||this.isShown?this.src:this.blankSrc},computedBlank:function(){return!(this.isShown||this.blankSrc)},computedWidth:function(){return this.isShown?this.width:this.blankWidth||this.width},computedHeight:function(){return this.isShown?this.height:this.blankHeight||this.height}},watch:{show:function(t,e){t!==e&&(this.isShown=t,t||this.setListeners(!0))},isShown:function(t,e){t!==e&&this.$emit("update:show",t)}},created:function(){this.isShown=this.show},mounted:function(){this.isShown?this.setListeners(!1):(this.setListeners(!0),this.$nextTick(this.checkView))},activated:function(){this.isShown||(this.setListeners(!0),this.$nextTick(this.checkView))},deactivated:function(){this.setListeners(!1)},beforeDestroy:function(){this.setListeners(!1)},methods:{setListeners:function(t){this.scrollTimeout&&(clearTimeout(this.scrollTimeout),this.scrollTimeout=null);var e=window;t?(We(this.$el,"load",this.checkView),We(e,"scroll",this.onScroll,Jn),We(e,"resize",this.onScroll,Jn),We(e,"orientationchange",this.onScroll,Jn),We(document,"transitionend",this.onScroll,Jn)):(Ue(this.$el,"load",this.checkView),Ue(e,"scroll",this.onScroll,Jn),Ue(e,"resize",this.onScroll,Jn),Ue(e,"orientationchange",this.onScroll,Jn),Ue(document,"transitionend",this.onScroll,Jn))},checkView:function(){if(this.isShown)this.setListeners(!1);else{var t=parseInt(this.offset,10)||0,e=document.documentElement,i=0-t,n=0-t,o=e.clientHeight+t,r=e.clientWidth+t,s=ui(this.$el);s.right>=i&&s.bottom>=n&&s.left<=r&&s.top<=o&&(this.isShown=!0,this.setListeners(!1))}},onScroll:function(){this.isShown?this.setListeners(!1):(clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(this.checkView,parseInt(this.throttle,10)||100))}},render:function(t){return t(Zn,{props:{src:this.computedSrc,alt:this.alt,blank:this.computedBlank,blankColor:this.blankColor,width:this.computedWidth,height:this.computedHeight,fluid:this.fluid,fluidGrow:this.fluidGrow,block:this.block,thumbnail:this.thumbnail,rounded:this.rounded,left:this.left,right:this.right,center:this.center}})}}),eo=s({},ne(Qn,["left","right","center","block","rounded","thumbnail","fluid","fluidGrow"]),{top:{type:Boolean,default:!1},bottom:{type:Boolean,default:!1},left:{type:Boolean,default:!1},start:{type:Boolean,default:!1},right:{type:Boolean,default:!1},end:{type:Boolean,default:!1}}),io=t.extend({name:"BCardImgLazy",functional:!0,props:eo,render:function(t,e){var i=e.props,n=e.data,o="card-img";i.top?o+="-top":i.right||i.end?o+="-right":i.bottom?o+="-bottom":(i.left||i.start)&&(o+="-left");var r=s({},i,{left:!1,right:!1,center:!1});return t(to,pi(n,{class:[o],props:r}))}}),no={textTag:{type:String,default:"p"}},oo=t.extend({name:"BCardText",functional:!0,props:no,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.textTag,pi(n,{staticClass:"card-text"}),o)}}),ro={tag:{type:String,default:"div"},deck:{type:Boolean,default:!1},columns:{type:Boolean,default:!1}},so=t.extend({name:"BCardGroup",functional:!0,props:ro,render:function(t,e){var i=e.props,n=e.data,o=e.children,r="card-group";return i.deck?r="card-deck":i.columns&&(r="card-columns"),t(i.tag,pi(n,{class:r}),o)}}),ao={install:Bi({components:{BCard:Kn,BCardHeader:Hn,BCardBody:Mn,BCardTitle:Dn,BCardSubTitle:Ln,BCardFooter:zn,BCardImg:Wn,BCardImgLazy:io,BCardText:oo,BCardGroup:so}})},lo=function(){},uo=function(t,e,i){if(t=t?t.$el||t:null,!qe(t))return null;if(n="observeDom",!we&&(xe("".concat(n,": Requires MutationObserver support.")),1))return null;var n,o=new ze(function(t){for(var i=!1,n=0;n<t.length&&!i;n++){var o=t[n],r=o.type,s=o.target;"characterData"===r&&s.nodeType===Node.TEXT_NODE?i=!0:"attributes"===r?i=!0:"childList"===r&&(o.addedNodes.length>0||o.removedNodes.length>0)&&(i=!0)}i&&e()});return o.observe(t,s({childList:!0,subtree:!0},i)),o},co={props:{id:{type:String,default:null}},data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_;return function(e){return t?(e=String(e||"").replace(/\s+/g,"_"))?t+"_"+e:t:null}}},mounted:function(){var t=this;this.$nextTick(function(){t.localId_="__BVID__".concat(t._uid)})}},ho="BCarousel",fo={next:{dirClass:"carousel-item-left",overlayClass:"carousel-item-next"},prev:{dirClass:"carousel-item-right",overlayClass:"carousel-item-prev"}},po={TOUCH:"touch",PEN:"pen"},mo={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend oTransitionEnd",transition:"transitionend"},go={passive:!0,capture:!1};var vo=t.extend({name:"BCarousel",mixins:[co],provide:function(){return{bvCarousel:this}},model:{prop:"value",event:"input"},props:{labelPrev:{type:String,default:function(){return String(Ne(ho,"labelPrev"))}},labelNext:{type:String,default:function(){return String(Ne(ho,"labelNext"))}},labelGotoSlide:{type:String,default:function(){return String(Ne(ho,"labelGotoSlide"))}},labelIndicators:{type:String,default:function(){return String(Ne(ho,"labelIndicators"))}},interval:{type:Number,default:5e3},indicators:{type:Boolean,default:!1},controls:{type:Boolean,default:!1},noAnimation:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},noTouch:{type:Boolean,default:!1},noHoverPause:{type:Boolean,default:!1},imgWidth:{type:[Number,String]},imgHeight:{type:[Number,String]},background:{type:String},value:{type:Number,default:0}},data:function(){return{index:this.value||0,isSliding:!1,transitionEndEvent:null,slides:[],direction:null,isPaused:!(parseInt(this.interval,10)>0),touchStartX:0,touchDeltaX:0}},watch:{value:function(t,e){t!==e&&this.setSlide(t)},interval:function(t,e){t!==e&&(t?(this.pause(!0),this.start(!1)):this.pause(!1))},isPaused:function(t,e){t!==e&&this.$emit(t?"paused":"unpaused")},index:function(t,e){t===e||this.isSliding||this.doSlide(t,e)}},created:function(){this._intervalId=null,this._animationTimeout=null,this._touchTimeout=null,this.isPaused=!(parseInt(this.interval,10)>0)},mounted:function(){this.transitionEndEvent=function(t){for(var e in mo)if(!se(t.style[e]))return mo[e];return null}(this.$el)||null,this.updateSlides(),uo(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]})},beforeDestroy:function(){clearTimeout(this._animationTimeout),clearTimeout(this._touchTimeout),clearInterval(this._intervalId),this._intervalId=null,this._animationTimeout=null,this._touchTimeout=null},methods:{setSlide:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(Be&&document.visibilityState&&document.hidden)){var n=this.slides.length;0!==n&&(this.isSliding?this.$once("sliding-end",function(){return e.setSlide(t,i)}):(this.direction=i,t=Math.floor(t),this.index=t>=n?0:t>=0?t:n-1))}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(t){t||(this.isPaused=!0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=null)},start:function(t){t||(this.isPaused=!1),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=null),this.interval&&this.slides.length>1&&(this._intervalId=setInterval(this.next,Math.max(1e3,this.interval)))},restart:function(t){this.$el.contains(document.activeElement)||this.start()},doSlide:function(t,e){var i=this,n=Boolean(this.interval),o=this.calcDirection(this.direction,e,t),r=o.overlayClass,s=o.dirClass,a=this.slides[e],l=this.slides[t];if(a&&l){if(this.isSliding=!0,n&&this.pause(!1),this.$emit("sliding-start",t),this.$emit("input",this.index),this.noAnimation)ii(l,"active"),ni(a,"active"),this.isSliding=!1,this.$nextTick(function(){return i.$emit("sliding-end",t)});else{ii(l,r),Ye(l),ii(a,s),ii(l,s);var u=!1,c=function e(n){if(!u){if(u=!0,i.transitionEndEvent)i.transitionEndEvent.split(/\s+/).forEach(function(t){return Ue(a,t,e,go)});i._animationTimeout=null,ni(l,s),ni(l,r),ii(l,"active"),ni(a,"active"),ni(a,s),ni(a,r),ri(a,"aria-current","false"),ri(l,"aria-current","true"),ri(a,"aria-hidden","true"),ri(l,"aria-hidden","false"),i.isSliding=!1,i.direction=null,i.$nextTick(function(){return i.$emit("sliding-end",t)})}};if(this.transitionEndEvent)this.transitionEndEvent.split(/\s+/).forEach(function(t){return We(a,t,c,go)});this._animationTimeout=setTimeout(c,650)}n&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=Ze(".carousel-item",this.$refs.inner);var t=this.slides.length,e=Math.max(0,Math.min(Math.floor(this.index),t-1));this.slides.forEach(function(i,n){var o=n+1;n===e?(ii(i,"active"),ri(i,"aria-current","true")):(ni(i,"active"),ri(i,"aria-current","false")),ri(i,"aria-posinset",String(o)),ri(i,"aria-setsize",String(t))}),this.setSlide(e),this.start(this.isPaused)},calcDirection:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t?fo[t]:i>e?fo.next:fo.prev},handleClick:function(t,e){var i=t.keyCode;"click"!==t.type&&i!==vn.SPACE&&i!==vn.ENTER||(t.preventDefault(),t.stopPropagation(),e())},handleSwipe:function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0?this.prev():e<0&&this.next()}},touchStart:function(t){$e&&po[t.pointerType.toUpperCase()]?this.touchStartX=t.clientX:$e||(this.touchStartX=t.touches[0].clientX)},touchMove:function(t){t.touches&&t.touches.length>1?this.touchDeltaX=0:this.touchDeltaX=t.touches[0].clientX-this.touchStartX},touchEnd:function(t){$e&&po[t.pointerType.toUpperCase()]&&(this.touchDeltaX=t.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this._touchTimeout&&clearTimeout(this._touchTimeout),this._touchTimeout=setTimeout(this.start,500+Math.max(1e3,this.interval))}},render:function(t){var e=this,i=t("div",{ref:"inner",class:["carousel-inner"],attrs:{id:this.safeId("__BV_inner_"),role:"list"}},[this.$slots.default]),n=t(!1);this.controls&&(n=[t("a",{class:["carousel-control-prev"],attrs:{href:"#",role:"button","aria-controls":this.safeId("__BV_inner_")},on:{click:function(t){e.handleClick(t,e.prev)},keydown:function(t){e.handleClick(t,e.prev)}}},[t("span",{class:["carousel-control-prev-icon"],attrs:{"aria-hidden":"true"}}),t("span",{class:["sr-only"]},[this.labelPrev])]),t("a",{class:["carousel-control-next"],attrs:{href:"#",role:"button","aria-controls":this.safeId("__BV_inner_")},on:{click:function(t){e.handleClick(t,e.next)},keydown:function(t){e.handleClick(t,e.next)}}},[t("span",{class:["carousel-control-next-icon"],attrs:{"aria-hidden":"true"}}),t("span",{class:["sr-only"]},[this.labelNext])])]);var o=t("ol",{class:["carousel-indicators"],directives:[{name:"show",rawName:"v-show",value:this.indicators,expression:"indicators"}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":this.indicators?"false":"true","aria-label":this.labelIndicators,"aria-owns":this.safeId("__BV_inner_")}},this.slides.map(function(i,n){return t("li",{key:"slide_".concat(n),class:{active:n===e.index},attrs:{role:"button",id:e.safeId("__BV_indicator_".concat(n+1,"_")),tabindex:e.indicators?"0":"-1","aria-current":n===e.index?"true":"false","aria-label":"".concat(e.labelGotoSlide," ").concat(n+1),"aria-describedby":e.slides[n].id||null,"aria-controls":e.safeId("__BV_inner_")},on:{click:function(t){e.handleClick(t,function(){e.setSlide(n)})},keydown:function(t){e.handleClick(t,function(){e.setSlide(n)})}}})})),r={mouseenter:this.noHoverPause?lo:this.pause,mouseleave:this.noHoverPause?lo:this.restart,focusin:this.pause,focusout:this.restart,keydown:function(t){if(!/input|textarea/i.test(t.target.tagName)){var i=t.keyCode;i!==vn.LEFT&&i!==vn.RIGHT||(t.preventDefault(),t.stopPropagation(),e[i===vn.LEFT?"prev":"next"]())}}};return!this.noTouch&&ke&&($e?(r["&pointerdown"]=this.touchStart,r["&pointerup"]=this.touchEnd):(r["&touchstart"]=this.touchStart,r["&touchmove"]=this.touchMove,r["&touchend"]=this.touchEnd)),t("div",{staticClass:"carousel",class:{slide:!this.noAnimation,"carousel-fade":!this.noAnimation&&this.fade,"pointer-event":!this.noTouch&&ke&&$e},style:{background:this.background},attrs:{role:"region",id:this.safeId(),"aria-busy":this.isSliding?"true":"false"},on:r},[i,n,o])}}),bo={imgSrc:{type:String},imgAlt:{type:String},imgWidth:{type:[Number,String]},imgHeight:{type:[Number,String]},imgBlank:{type:Boolean,default:!1},imgBlankColor:{type:String,default:"transparent"},contentVisibleUp:{type:String},contentTag:{type:String,default:"div"},caption:{type:String},captionHtml:{type:String},captionTag:{type:String,default:"h3"},text:{type:String},textHtml:{type:String},textTag:{type:String,default:"p"},background:{type:String}},yo={install:Bi({components:{BCarousel:vo,BCarouselSlide:t.extend({name:"BCarouselSlide",mixins:[co],inject:{bvCarousel:{default:function(){return{noTouch:!0}}}},props:bo,data:function(){return{}},computed:{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(t){var e=this.$slots,i=!this.bvCarousel.noTouch&&ke,n=e.img;n||!this.imgSrc&&!this.imgBlank||(n=t(Zn,{props:{fluidGrow:!0,block:!0,src:this.imgSrc,blank:this.imgBlank,blankColor:this.imgBlankColor,width:this.computedWidth,height:this.computedHeight,alt:this.imgAlt},on:i?{dragstart:function(t){t.preventDefault()}}:{}})),n||(n=t(!1));var o=t(this.contentTag,{staticClass:"carousel-caption",class:this.contentClasses},[this.caption||this.captionHtml?t(this.captionTag,{domProps:Ki(this.captionHtml,this.caption)}):t(!1),this.text||this.textHtml?t(this.textTag,{domProps:Ki(this.textHtml,this.text)}):t(!1),e.default]);return t("div",{staticClass:"carousel-item",style:{background:this.background||this.bvCarousel.background||null},attrs:{id:this.safeId(),role:"listitem"}},[n,o])}})}})},So={tag:{type:String,default:"div"},fluid:{type:Boolean,default:!1}},wo=t.extend({name:"BContainer",functional:!0,props:So,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.tag,pi(n,{class:{container:!i.fluid,"container-fluid":i.fluid}}),o)}}),Bo=["start","end","center"],To={tag:{type:String,default:"div"},noGutters:{type:Boolean,default:!1},alignV:{type:String,default:null,validator:function(t){return jt(Bo.concat(["baseline","stretch"]),t)}},alignH:{type:String,default:null,validator:function(t){return jt(Bo.concat(["between","around"]),t)}},alignContent:{type:String,default:null,validator:function(t){return jt(Bo.concat(["between","around","stretch"]),t)}}},ko=t.extend({name:"BRow",functional:!0,props:To,render:function(t,e){var i,n=e.props,o=e.data,s=e.children;return t(n.tag,pi(o,{staticClass:"row",class:(i={"no-gutters":n.noGutters},r(i,"align-items-".concat(n.alignV),n.alignV),r(i,"justify-content-".concat(n.alignH),n.alignH),r(i,"align-content-".concat(n.alignContent),n.alignContent),i)}),s)}}),$o=function(t,e){return e+(t?En(t):"")};function Co(){return{type:[String,Number],default:null}}for(var xo=ge(function(t,e,i){var n=t;if(!se(i)&&!ae(i)&&!1!==i)return e&&(n+="-".concat(e)),"col"!==t||""!==i&&!0!==i?(n+="-".concat(i)).toLowerCase():n.toLowerCase()}),_o=te(null),Eo=function(){var t=Ae().filter(Boolean),e=t.reduce(function(t,e){return e&&(t[e]={type:[Boolean,String,Number],default:!1}),t},te(null)),i=t.reduce(function(t,e){return t[$o(e,"offset")]=Co(),t},te(null)),n=t.reduce(function(t,e){return t[$o(e,"order")]=Co(),t},te(null));return _o=Yt(te(null),{col:Zt(e),offset:Zt(i),order:Zt(n)}),s({col:{type:Boolean,default:!1},cols:Co()},e,{offset:Co()},i,{order:Co()},n,{alignSelf:{type:String,default:null,validator:function(t){return jt(["auto","start","end","center","baseline","stretch"],t)}},tag:{type:String,default:"div"}})},Oo={name:"BCol",functional:!0,get props(){return delete this.props,this.props=Eo()},render:function(t,e){var i,n=e.props,o=e.data,s=e.children,a=[];for(var l in _o)for(var u=_o[l],c=0;c<u.length;c++){var d=xo(l,u[c].replace(l,""),n[u[c]]);d&&a.push(d)}var h=a.some(function(t){return/^col-/.test(t)});return a.push((r(i={col:n.col||!h&&!n.cols},"col-".concat(n.cols),n.cols),r(i,"offset-".concat(n.offset),n.offset),r(i,"order-".concat(n.order),n.order),r(i,"align-self-".concat(n.alignSelf),n.alignSelf),i)),t(n.tag,pi(o,{class:a}),s)}},Po={tag:{type:String,default:"div"}},Io=t.extend({name:"BFormRow",functional:!0,props:Po,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.tag,pi(n,{staticClass:"form-row"}),o)}}),Fo={install:Bi({components:{BContainer:wo,BRow:ko,BCol:Oo,BFormRow:Io}})},No={methods:{listenOnRoot:function(t,e){var i=this;return this.$root.$on(t,e),this.$on("hook:beforeDestroy",function(){i.$root.$off(t,e)}),this},listenOnRootOnce:function(t,e){var i=this;return this.$root.$once(t,e),this.$on("hook:beforeDestroy",function(){i.$root.$off(t,e)}),this},emitOnRoot:function(t){for(var e,i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];return(e=this.$root).$emit.apply(e,[t].concat(n)),this}}},Do={passive:!0,capture:!1},Ao=t.extend({name:"BCollapse",mixins:[No],model:{prop:"visible",event:"input"},props:{id:{type:String,required:!0},isNav:{type:Boolean,default:!1},accordion:{type:String,default:null},visible:{type:Boolean,default:!1},tag:{type:String,default:"div"}},data:function(){return{show:this.visible,transitioning:!1}},computed:{classObject:function(){return{"navbar-collapse":this.isNav,collapse:!this.transitioning,show:this.show&&!this.transitioning}}},watch:{visible:function(t){t!==this.show&&(this.show=t)},show:function(t,e){t!==e&&this.emitState()}},created:function(){this.show=this.visible,this.listenOnRoot("bv::toggle::collapse",this.handleToggleEvt),this.listenOnRoot("bv::collapse::accordion",this.handleAccordionEvt)},mounted:function(){var t=this;this.show=this.visible,this.isNav&&Be&&(this.setWindowEvents(!0),this.handleResize()),this.$nextTick(function(){t.emitState()})},updated:function(){this.$root.$emit("bv::collapse::sync::state",this.id,this.show)},deactivated:function(){this.isNav&&Be&&this.setWindowEvents(!1)},activated:function(){this.isNav&&Be&&this.setWindowEvents(!0),this.$root.$emit("bv::collapse::sync::state",this.id,this.show)},beforeDestroy:function(){this.show=!1,this.isNav&&Be&&this.setWindowEvents(!1)},methods:{setWindowEvents:function(t){var e=t?We:Ue;e(window,"resize",this.handleResize,Do),e(window,"orientationchange",this.handleResize,Do)},toggle:function(){this.show=!this.show},onEnter:function(t){t.style.height=0,Ye(t),t.style.height=t.scrollHeight+"px",this.transitioning=!0,this.$emit("show")},onAfterEnter:function(t){t.style.height=null,this.transitioning=!1,this.$emit("shown")},onLeave:function(t){t.style.height="auto",t.style.display="block",t.style.height=ui(t).height+"px",Ye(t),this.transitioning=!0,t.style.height=0,this.$emit("hide")},onAfterLeave:function(t){t.style.height=null,this.transitioning=!1,this.$emit("hidden")},emitState:function(){this.$emit("input",this.show),this.$root.$emit("bv::collapse::state",this.id,this.show),this.accordion&&this.show&&this.$root.$emit("bv::collapse::accordion",this.id,this.accordion)},clickHandler:function(t){var e=t.target;this.isNav&&e&&"block"===ci(this.$el).display&&(Qe(e,".nav-link,.dropdown-item")||ti(".nav-link,.dropdown-item",e))&&(this.show=!1)},handleToggleEvt:function(t){t===this.id&&this.toggle()},handleAccordionEvt:function(t,e){this.accordion&&e===this.accordion&&(t===this.id?this.show||this.toggle():this.show&&this.toggle())},handleResize:function(){this.show="block"===ci(this.$el).display}},render:function(t){var e=t(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.id||null},on:{click:this.clickHandler}},[this.$slots.default]);return t("transition",{props:{enterClass:"",enterActiveClass:"collapsing",enterToClass:"",leaveClass:"",leaveActiveClass:"collapsing",leaveToClass:""},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[e])}}),Lo={hover:!0,click:!0,focus:!0},Vo="__BV_boundEventListeners__",Mo=function(t,e,i,n){var o=Zt(e.modifiers||{}).filter(function(t){return!Lo[t]});e.value&&o.push(e.value);var r=function(){n({targets:o,vnode:t})};return Zt(Lo).forEach(function(n){if(i[n]||e.modifiers[n]){We(t.elm,n,r);var o=t.elm[Vo]||{};o[n]=o[n]||[],o[n].push(r),t.elm[Vo]=o}}),o},Ro=function(t,e,i){Zt(Lo).forEach(function(n){if(i[n]||e.modifiers[n]){var o=t.elm[Vo]&&t.elm[Vo][n];o&&(o.forEach(function(e){return Ue(t.elm,n,e)}),delete t.elm[Vo][n])}})},Ho={click:!0},jo="__BV_toggle__",zo=function(t,e){t[e]=null,delete t[e]},Go=function(t,e,i){Be&&(!0===t.__BV_toggle_STATE__?(ii(t,"collapsed"),ri(t,"aria-expanded","true")):!1===t.__BV_toggle_STATE__&&(ni(t,"collapsed"),ri(t,"aria-expanded","false")),ri(t,"aria-controls",t.__BV_toggle_CONTROLS__))},Wo={bind:function(t,e,i){var n=Mo(i,e,Ho,function(t){var e=t.targets,i=t.vnode;e.forEach(function(t){i.context.$root.$emit("bv::toggle::collapse",t)})});Be&&i.context&&n.length>0&&(t.__BV_toggle_TARGETS__=n,t.__BV_toggle_CONTROLS__=n.join(" "),t.__BV_toggle_STATE__=!1,ri(t,"aria-controls",t.__BV_toggle_CONTROLS__),ri(t,"aria-expanded","false"),"BUTTON"!==t.tagName&&ri(t,"role","button"),t[jo]=function(e,i){-1!==(t.__BV_toggle_TARGETS__||[]).indexOf(e)&&(ri(t,"aria-expanded",i?"true":"false"),t.__BV_toggle_STATE__=i,i?ni(t,"collapsed"):ii(t,"collapsed"))},i.context.$root.$on("bv::collapse::state",t[jo]),i.context.$root.$on("bv::collapse::sync::state",t[jo]))},componentUpdated:Go,updated:Go,unbind:function(t,e,i){Ro(i,e,Ho),t[jo]&&(i.context.$root.$off("bv::collapse::state",t[jo]),i.context.$root.$off("bv::collapse::sync::state",t[jo])),zo(t,jo),zo(t,"__BV_toggle_STATE__"),zo(t,"__BV_toggle_CONTROLS__"),zo(t,"__BV_toggle_TARGETS__"),ni(t,"collapsed"),si(t,"aria-expanded"),si(t,"aria-controls"),si(t,"role")}},Uo={install:Bi({components:{BCollapse:Ao},directives:{BToggle:Wo}})},qo="undefined"!=typeof window&&"undefined"!=typeof document,Ko=["Edge","Trident","Firefox"],Xo=0,Yo=0;Yo<Ko.length;Yo+=1)if(qo&&navigator.userAgent.indexOf(Ko[Yo])>=0){Xo=1;break}var Zo=qo&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Xo))}};function Jo(t){return t&&"[object Function]"==={}.toString.call(t)}function Qo(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function tr(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function er(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Qo(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(i+o+n)?t:er(tr(t))}var ir=qo&&!(!window.MSInputMethodContext||!document.documentMode),nr=qo&&/MSIE 10/.test(navigator.userAgent);function or(t){return 11===t?ir:10===t?nr:ir||nr}function rr(t){if(!t)return document.documentElement;for(var e=or(10)?document.body:null,i=t.offsetParent||null;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===Qo(i,"position")?rr(i):i:t?t.ownerDocument.documentElement:document.documentElement}function sr(t){return null!==t.parentNode?sr(t.parentNode):t}function ar(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,o=i?e:t,r=document.createRange();r.setStart(n,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||n.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&rr(s.firstElementChild)!==s?rr(l):l;var u=sr(t);return u.host?ar(u.host,e):ar(t,sr(e).host)}function lr(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}return t[e]}function ur(t,e){var i="x"===e?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"],10)+parseFloat(t["border"+n+"Width"],10)}function cr(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],or(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function dr(t){var e=t.body,i=t.documentElement,n=or(10)&&getComputedStyle(i);return{height:cr("Height",e,i,n),width:cr("Width",e,i,n)}}var hr=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},fr=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),pr=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},mr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};function gr(t){return mr({},t,{right:t.left+t.width,bottom:t.top+t.height})}function vr(t){var e={};try{if(or(10)){e=t.getBoundingClientRect();var i=lr(t,"top"),n=lr(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?dr(t.ownerDocument):{},s=r.width||t.clientWidth||o.right-o.left,a=r.height||t.clientHeight||o.bottom-o.top,l=t.offsetWidth-s,u=t.offsetHeight-a;if(l||u){var c=Qo(t);l-=ur(c,"x"),u-=ur(c,"y"),o.width-=l,o.height-=u}return gr(o)}function br(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=or(10),o="HTML"===e.nodeName,r=vr(t),s=vr(e),a=er(t),l=Qo(e),u=parseFloat(l.borderTopWidth,10),c=parseFloat(l.borderLeftWidth,10);i&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var d=gr({top:r.top-s.top-u,left:r.left-s.left-c,width:r.width,height:r.height});if(d.marginTop=0,d.marginLeft=0,!n&&o){var h=parseFloat(l.marginTop,10),f=parseFloat(l.marginLeft,10);d.top-=u-h,d.bottom-=u-h,d.left-=c-f,d.right-=c-f,d.marginTop=h,d.marginLeft=f}return(n&&!i?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(d=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=lr(e,"top"),o=lr(e,"left"),r=i?-1:1;return t.top+=n*r,t.bottom+=n*r,t.left+=o*r,t.right+=o*r,t}(d,e)),d}function yr(t){if(!t||!t.parentElement||or())return document.documentElement;for(var e=t.parentElement;e&&"none"===Qo(e,"transform");)e=e.parentElement;return e||document.documentElement}function Sr(t,e,i,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?yr(t):ar(t,e);if("viewport"===n)r=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=br(t,i),o=Math.max(i.clientWidth,window.innerWidth||0),r=Math.max(i.clientHeight,window.innerHeight||0),s=e?0:lr(i),a=e?0:lr(i,"left");return gr({top:s-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:r})}(s,o);else{var a=void 0;"scrollParent"===n?"BODY"===(a=er(tr(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var l=br(a,s,o);if("HTML"!==a.nodeName||function t(e){var i=e.nodeName;if("BODY"===i||"HTML"===i)return!1;if("fixed"===Qo(e,"position"))return!0;var n=tr(e);return!!n&&t(n)}(s))r=l;else{var u=dr(t.ownerDocument),c=u.height,d=u.width;r.top+=l.top-l.marginTop,r.bottom=c+l.top,r.left+=l.left-l.marginLeft,r.right=d+l.left}}var h="number"==typeof(i=i||0);return r.left+=h?i:i.left||0,r.top+=h?i:i.top||0,r.right-=h?i:i.right||0,r.bottom-=h?i:i.bottom||0,r}function wr(t,e,i,n,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=Sr(i,n,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return mr({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function Br(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return br(i,n?yr(e):ar(e,i),n)}function Tr(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function kr(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function $r(t,e,i){i=i.split("-")[0];var n=Tr(t),o={width:n.width,height:n.height},r=-1!==["right","left"].indexOf(i),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",u=r?"width":"height";return o[s]=e[s]+e[l]/2-n[l]/2,o[a]=i===a?e[a]-n[u]:e[kr(a)],o}function Cr(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function xr(t,e,i){return(void 0===i?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var n=Cr(t,function(t){return t[e]===i});return t.indexOf(n)}(t,"name",i))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&Jo(i)&&(e.offsets.popper=gr(e.offsets.popper),e.offsets.reference=gr(e.offsets.reference),e=i(e,t))}),e}function _r(t,e){return t.some(function(t){var i=t.name;return t.enabled&&i===e})}function Er(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var o=e[n],r=o?""+o+i:t;if("undefined"!=typeof document.body.style[r])return r}return null}function Or(t){var e=t.ownerDocument;return e?e.defaultView:window}function Pr(t,e,i,n){i.updateBound=n,Or(t).addEventListener("resize",i.updateBound,{passive:!0});var o=er(t);return function t(e,i,n,o){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(i,n,{passive:!0}),r||t(er(s.parentNode),i,n,o),o.push(s)}(o,"scroll",i.updateBound,i.scrollParents),i.scrollElement=o,i.eventsEnabled=!0,i}function Ir(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,Or(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function Fr(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function Nr(t,e){Object.keys(e).forEach(function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&Fr(e[i])&&(n="px"),t.style[i]=e[i]+n})}var Dr=qo&&/Firefox/i.test(navigator.userAgent);function Ar(t,e,i){var n=Cr(t,function(t){return t.name===e}),o=!!n&&t.some(function(t){return t.name===i&&t.enabled&&t.order<n.order});if(!o){var r="`"+e+"`",s="`"+i+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var Lr=["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"],Vr=Lr.slice(3);function Mr(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=Vr.indexOf(t),n=Vr.slice(i+1).concat(Vr.slice(0,i));return e?n.reverse():n}var Rr={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Hr(t,e,i,n){var o=[0,0],r=-1!==["right","left"].indexOf(n),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(Cr(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(u=u.map(function(t,n){var o=(1===n?!r:r)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,i,n){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=i;break;case"%":case"%r":default:a=n}return gr(a)[e]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(t,o,e,i)})})).forEach(function(t,e){t.forEach(function(i,n){Fr(i)&&(o[e]+=i*("-"===t[n-1]?-1:1))})}),o}var jr={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",u=a?"width":"height",c={start:pr({},l,r[l]),end:pr({},l,r[l]+r[u]-s[u])};t.offsets.popper=mr({},s,c[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=n.split("-")[0],l=void 0;return l=Fr(+i)?[+i,0]:Hr(i,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||rr(t.instance.popper);t.instance.reference===i&&(i=rr(i));var n=Er("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=Sr(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);o.top=r,o.left=s,o[n]=a,e.boundaries=l;var u=e.priority,c=t.offsets.popper,d={primary:function(t){var i=c[t];return c[t]<l[t]&&!e.escapeWithReference&&(i=Math.max(c[t],l[t])),pr({},t,i)},secondary:function(t){var i="right"===t?"left":"top",n=c[i];return c[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(c[i],l[t]-("right"===t?c.width:c.height))),pr({},i,n)}};return u.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=mr({},c,d[e](t))}),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",u=s?"width":"height";return i[a]<r(n[l])&&(t.offsets.popper[l]=r(n[l])-i[u]),i[l]>r(n[a])&&(t.offsets.popper[l]=r(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!Ar(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(o),u=l?"height":"width",c=l?"Top":"Left",d=c.toLowerCase(),h=l?"left":"top",f=l?"bottom":"right",p=Tr(n)[u];a[f]-p<s[d]&&(t.offsets.popper[d]-=s[d]-(a[f]-p)),a[d]+p>s[f]&&(t.offsets.popper[d]+=a[d]+p-s[f]),t.offsets.popper=gr(t.offsets.popper);var m=a[d]+a[u]/2-p/2,g=Qo(t.instance.popper),v=parseFloat(g["margin"+c],10),b=parseFloat(g["border"+c+"Width"],10),y=m-t.offsets.popper[d]-v-b;return y=Math.max(Math.min(s[u]-p,y),0),t.arrowElement=n,t.offsets.arrow=(pr(i={},d,Math.round(y)),pr(i,h,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(_r(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=Sr(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],o=kr(n),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case Rr.FLIP:s=[n,o];break;case Rr.CLOCKWISE:s=Mr(n);break;case Rr.COUNTERCLOCKWISE:s=Mr(n,!0);break;default:s=e.behavior}return s.forEach(function(a,l){if(n!==a||s.length===l+1)return t;n=t.placement.split("-")[0],o=kr(n);var u=t.offsets.popper,c=t.offsets.reference,d=Math.floor,h="left"===n&&d(u.right)>d(c.left)||"right"===n&&d(u.left)<d(c.right)||"top"===n&&d(u.bottom)>d(c.top)||"bottom"===n&&d(u.top)<d(c.bottom),f=d(u.left)<d(i.left),p=d(u.right)>d(i.right),m=d(u.top)<d(i.top),g=d(u.bottom)>d(i.bottom),v="left"===n&&f||"right"===n&&p||"top"===n&&m||"bottom"===n&&g,b=-1!==["top","bottom"].indexOf(n),y=!!e.flipVariations&&(b&&"start"===r&&f||b&&"end"===r&&p||!b&&"start"===r&&m||!b&&"end"===r&&g),S=!!e.flipVariationsByContent&&(b&&"start"===r&&p||b&&"end"===r&&f||!b&&"start"===r&&g||!b&&"end"===r&&m),w=y||S;(h||v||w)&&(t.flipped=!0,(h||v)&&(n=s[l+1]),w&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=n+(r?"-"+r:""),t.offsets.popper=mr({},t.offsets.popper,$r(t.instance.popper,t.offsets.reference,t.placement)),t=xr(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,r=n.reference,s=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[s?"left":"top"]=r[i]-(a?o[s?"width":"height"]:0),t.placement=kr(e),t.offsets.popper=gr(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Ar(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=Cr(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var i=e.x,n=e.y,o=t.offsets.popper,r=Cr(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:e.gpuAcceleration,a=rr(t.instance.popper),l=vr(a),u={position:o.position},c=function(t,e){var i=t.offsets,n=i.popper,o=i.reference,r=Math.round,s=Math.floor,a=function(t){return t},l=r(o.width),u=r(n.width),c=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),h=e?c||d||l%2==u%2?r:s:a,f=e?r:a;return{left:h(l%2==1&&u%2==1&&!d&&e?n.left-1:n.left),top:f(n.top),bottom:f(n.bottom),right:h(n.right)}}(t,window.devicePixelRatio<2||!Dr),d="bottom"===i?"top":"bottom",h="right"===n?"left":"right",f=Er("transform"),p=void 0,m=void 0;if(m="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+c.bottom:-l.height+c.bottom:c.top,p="right"===h?"HTML"===a.nodeName?-a.clientWidth+c.right:-l.width+c.right:c.left,s&&f)u[f]="translate3d("+p+"px, "+m+"px, 0)",u[d]=0,u[h]=0,u.willChange="transform";else{var g="bottom"===d?-1:1,v="right"===h?-1:1;u[d]=m*g,u[h]=p*v,u.willChange=d+", "+h}var b={"x-placement":t.placement};return t.attributes=mr({},b,t.attributes),t.styles=mr({},u,t.styles),t.arrowStyles=mr({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,i;return Nr(t.instance.popper,t.styles),e=t.instance.popper,i=t.attributes,Object.keys(i).forEach(function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&Nr(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,o){var r=Br(o,e,t,i.positionFixed),s=wr(i.placement,r,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",s),Nr(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},zr=function(){function t(e,i){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};hr(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=Zo(this.update.bind(this)),this.options=mr({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(mr({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){n.options.modifiers[e]=mr({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return mr({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&Jo(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return fr(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Br(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=wr(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=$r(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=xr(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,_r(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[Er("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=Pr(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return Ir.call(this)}}]),t}();zr.Utils=("undefined"!=typeof window?window:global).PopperUtils,zr.placements=Lr,zr.Defaults=jr;var Gr=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));Yt(this,t.Defaults,this.constructor.Defaults,n,{type:e}),Jt(this,{type:oe(),cancelable:oe(),nativeEvent:oe(),target:oe(),relatedTarget:oe(),vueTarget:oe()});var o=!1;this.preventDefault=function(){this.cancelable&&(o=!0)},Qt(this,"defaultPrevented",{enumerable:!0,get:function(){return o}})}return o(t,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null}}}]),t}();var Wr=".dropdown-item:not(.disabled):not([disabled])",Ur="top-start",qr="top-end",Kr="bottom-start",Xr="bottom-end",Yr="right-start",Zr="left-start",Jr={mixins:[{data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(t,e){t!==e&&(Ue(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,!1),t&&We(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,!1))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="ontouchstart"in document.documentElement?"touchstart":"click"),this.listenForClickOut&&We(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,!1)},beforeDestroy:function(){Ue(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,!1)},methods:{isClickOut:function(t){return!ei(this.$el,t.target)},_clickOutHandler:function(t){this.clickOutHandler&&this.isClickOut(t)&&this.clickOutHandler(t)}}},{data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(t,e){t!==e&&(Ue(this.focusInElement,"focusin",this._focusInHandler,!1),t&&We(this.focusInElement,"focusin",this._focusInHandler,!1))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&We(this.focusInElement,"focusin",this._focusInHandler,!1)},beforeDestroy:function(){Ue(this.focusInElement,"focusin",this._focusInHandler,!1)},methods:{_focusInHandler:function(t){this.focusInHandler&&this.focusInHandler(t)}}}],provide:function(){return{bvDropdown:this}},props:{disabled:{type:Boolean,default:!1},text:{type:String,default:""},html:{type:String},dropup:{type:Boolean,default:!1},dropright:{type:Boolean,default:!1},dropleft:{type:Boolean,default:!1},right:{type:Boolean,default:!1},offset:{type:[Number,String],default:0},noFlip:{type:Boolean,default:!1},popperOpts:{default:function(){}}},data:function(){return{visible:!1,inNavbar:null,visibleChangePrevented:!1}},computed:{toggler:function(){var t=this.$refs.toggle;return t?t.$el||t:null},directionClass:function(){return this.dropup?"dropup":this.dropright?"dropright":this.dropleft?"dropleft":""}},watch:{visible:function(t,e){if(this.visibleChangePrevented)this.visibleChangePrevented=!1;else if(t!==e){var i=t?"show":"hide",n=new Gr(i,{cancelable:!0,vueTarget:this,target:this.$refs.menu,relatedTarget:null});if(this.emitEvent(n),n.defaultPrevented)return this.visibleChangePrevented=!0,this.visible=e,void this.$off("hidden",this.focusToggler);"show"===i?this.showMenu():this.hideMenu()}},disabled:function(t,e){t!==e&&t&&this.visible&&(this.visible=!1)}},created:function(){this._popper=null},deactivated:function(){this.visible=!1,this.whileOpenListen(!1),this.removePopper()},beforeDestroy:function(){this.visible=!1,this.whileOpenListen(!1),this.removePopper()},methods:{emitEvent:function(t){var e=t.type;this.$emit(e,t),this.$root.$emit("bv::dropdown::".concat(e),t)},showMenu:function(){var t=this;if(!this.disabled){if(this.$root.$emit("bv::dropdown::shown",this),ae(this.inNavbar)&&this.isNav&&(this.inNavbar=Boolean(ti(".navbar",this.$el))),!this.inNavbar)if("undefined"==typeof zr)xe("b-dropdown: Popper.js not found. Falling back to CSS positioning.");else{var e=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;e=e.$el||e,this.createPopper(e)}this.whileOpenListen(!0),this.$nextTick(function(){t.focusMenu(),t.$emit("shown")})}},hideMenu:function(){this.whileOpenListen(!1),this.$root.$emit("bv::dropdown::hidden",this),this.$emit("hidden"),this.removePopper()},createPopper:function(t){this.removePopper(),this._popper=new zr(t,this.$refs.menu,this.getPopperConfig())},removePopper:function(){this._popper&&this._popper.destroy(),this._popper=null},getPopperConfig:function(){var t=Kr;this.dropup?t=this.right?qr:Ur:this.dropright?t=Yr:this.dropleft?t=Zr:this.right&&(t=Xr);var e={placement:t,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}};return this.boundary&&(e.modifiers.preventOverflow={boundariesElement:this.boundary}),s({},e,this.popperOpts||{})},whileOpenListen:function(t){t?(this.$root.$on("bv::dropdown::shown",this.rootCloseListener),this.listenForClickOut=!0,this.listenForFocusIn=!0):(this.$root.$off("bv::dropdown::shown",this.rootCloseListener),this.listenForClickOut=!1,this.listenForFocusIn=!1)},rootCloseListener:function(t){t!==this&&(this.visible=!1)},show:function(){this.disabled||(this.visible=!0)},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.disabled||(this.visible=!1,t&&this.$once("hidden",this.focusToggler))},toggle:function(t){var e=(t=t||{}).type,i=t.keyCode;"click"!==e&&("keydown"!==e||i!==vn.ENTER&&i!==vn.SPACE&&i!==vn.DOWN)||(this.disabled?this.visible=!1:(this.$emit("toggle",t),t.defaultPrevented||(t.preventDefault(),t.stopPropagation(),this.visible=!this.visible)))},click:function(t){this.disabled?this.visible=!1:this.$emit("click",t)},onKeydown:function(t){var e=t.keyCode;e===vn.ESC?this.onEsc(t):e===vn.TAB?this.onTab(t):e===vn.DOWN?this.focusNext(t,!1):e===vn.UP&&this.focusNext(t,!0)},onEsc:function(t){this.visible&&(this.visible=!1,t.preventDefault(),t.stopPropagation(),this.$once("hidden",this.focusToggler))},onTab:function(t){},onMouseOver:function(t){},clickOutHandler:function(){this.visible&&(this.visible=!1)},focusInHandler:function(t){!this.visible||ei(this.$refs.menu,t.target)||ei(this.$refs.toggle,t.target)||(this.visible=!1)},focusNext:function(t,e){var i=this;this.visible&&(t.preventDefault(),t.stopPropagation(),this.$nextTick(function(){var n=i.getItems();if(!(n.length<1)){var o=n.indexOf(t.target);e&&o>0?o--:!e&&o<n.length-1&&o++,o<0&&(o=0),i.focusItem(o,n)}}))},focusItem:function(t,e){var i=e.find(function(e,i){return i===t});i&&"-1"!==ai(i,"tabindex")&&i.focus()},getItems:function(){return(Ze(Wr,this.$refs.menu)||[]).filter(Ke)},focusMenu:function(){this.$refs.menu.focus&&this.$refs.menu.focus()},focusToggler:function(){var t=this.toggler;t&&t.focus&&t.focus()}}},Qr={toggleText:{type:String,default:function(){return String(Ne("BDropdown","toggleText"))}},size:{type:String,default:null},variant:{type:String,default:function(){return String(Ne("BDropdown","variant")||"")||null}},menuClass:{type:[String,Array],default:null},toggleTag:{type:String,default:"button"},toggleClass:{type:[String,Array],default:null},noCaret:{type:Boolean,default:!1},split:{type:Boolean,default:!1},splitHref:{type:String},splitTo:{type:[String,Object]},splitVariant:{type:String,default:null},role:{type:String,default:"menu"},boundary:{type:[String,Object],default:"scrollParent"}},ts=t.extend({name:"BDropdown",mixins:[co,Jr],props:Qr,computed:{dropdownClasses:function(){var t="scrollParent"!==this.boundary||!this.boundary;return["btn-group","b-dropdown","dropdown",this.directionClass,{show:this.visible,"position-static":t}]},menuClasses:function(){return["dropdown-menu",{"dropdown-menu-right":this.right,show:this.visible},this.menuClass]},toggleClasses:function(){return["dropdown-toggle",{"dropdown-toggle-split":this.split,"dropdown-toggle-no-caret":this.noCaret&&!this.split},this.toggleClass]}},render:function(t){var e=t(!1);if(this.split){var i={disabled:this.disabled,variant:this.splitVariant||this.variant,size:this.size};this.splitTo&&(i.to=this.splitTo),this.splitHref&&(i.href=this.splitHref),e=t(hn,{ref:"button",props:i,attrs:{id:this.safeId("_BV_button_")},on:{click:this.click}},[this.$slots["button-content"]||this.$slots.text||this.html||qi(this.text)])}var n=t(hn,{ref:"toggle",class:this.toggleClasses,props:{variant:this.variant,size:this.size,disabled:this.disabled,tag:this.toggleTag},attrs:{id:this.safeId("_BV_toggle_"),"aria-haspopup":"true","aria-expanded":this.visible?"true":"false"},on:{click:this.toggle,keydown:this.toggle}},[this.split?t("span",{class:["sr-only"]},[this.toggleText]):this.$slots["button-content"]||this.$slots.text||this.html||qi(this.text)]),o=t("ul",{ref:"menu",class:this.menuClasses,attrs:{role:this.role,tabindex:"-1","aria-labelledby":this.safeId(this.split?"_BV_button_":"_BV_toggle_")},on:{mouseover:this.onMouseOver,keydown:this.onKeydown}},[this.$slots.default]);return t("div",{attrs:{id:this.safeId()},class:this.dropdownClasses},[e,n,o])}}),es=Ri(),is=t.extend({name:"BDropdownItem",inject:{bvDropdown:{default:null}},props:es,methods:{closeDropdown:function(){var t=this;je(function(){t.bvDropdown&&t.bvDropdown.hide(!0)})},onClick:function(t){this.$emit("click",t),this.closeDropdown()}},render:function(t){return t("li",[t(ji,{props:this.$props,staticClass:"dropdown-item",attrs:{role:"menuitem"},on:{click:this.onClick},ref:"item"},this.$slots.default)])}}),ns={active:{type:Boolean,default:!1},activeClass:{type:String,default:"active"},disabled:{type:Boolean,default:!1}},os=t.extend({name:"BDropdownItemButton",inject:{bvDropdown:{default:null}},props:ns,methods:{closeDropdown:function(){this.bvDropdown&&this.bvDropdown.hide(!0)},onClick:function(t){this.$emit("click",t),this.closeDropdown()}},render:function(t){return t("li",[t("button",{staticClass:"dropdown-item",class:r({},this.activeClass,this.active),attrs:{role:"menuitem",type:"button",disabled:this.disabled},on:{click:this.onClick},ref:"button"},this.$slots.default)])}}),rs={id:{type:String,default:null},tag:{type:String,default:"h6"}},ss=t.extend({name:"BDropdownHeader",functional:!0,props:rs,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t("li",[t(i.tag,pi(n,{staticClass:"dropdown-header",attrs:{id:i.id||null},ref:"header"}),o)])}}),as={tag:{type:String,default:"hr"}},ls=t.extend({name:"BDropdownDivider",functional:!0,props:as,render:function(t,e){var i=e.props,n=e.data;return t("li",[t(i.tag,pi(n,{staticClass:"dropdown-divider",attrs:{role:"separator"},ref:"divider"}))])}}),us={id:{type:String,default:null},inline:{type:Boolean,default:!1},novalidate:{type:Boolean,default:!1},validated:{type:Boolean,default:!1}},cs=t.extend({name:"BForm",functional:!0,props:us,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t("form",pi(n,{class:{"form-inline":i.inline,"was-validated":i.validated},attrs:{id:i.id,novalidate:i.novalidate}}),o)}}),ds=t.extend({name:"BDropdownForm",functional:!0,props:s({},us),render:function(t,e){var i=e.props,n=e.data,o=e.children;return t("li",[t(cs,pi(n,{staticClass:"b-dropdown-form",props:i,ref:"form"}),o)])}}),hs=t.extend({name:"BDropdownText",functional:!0,props:{tag:{type:String,default:"p"}},render:function(t,e){var i=e.props,n=e.data,o=e.children;return t("li",[t(i.tag,pi(n,{staticClass:"b-dropdown-text",props:i,ref:"text"}),o)])}}),fs={install:Bi({components:{BDropdown:ts,BDd:ts,BDropdownItem:is,BDdItem:is,BDropdownItemButton:os,BDropdownItemBtn:os,BDdItemButton:os,BDdItemBtn:os,BDropdownHeader:ss,BDdHeader:ss,BDropdownDivider:ls,BDdDivider:ls,BDropdownForm:ds,BDdForm:ds,BDropdownText:hs,BDdText:hs}})},ps={type:{type:String,default:"iframe",validator:function(t){return jt(["iframe","embed","video","object","img","b-img","b-img-lazy"],t)}},tag:{type:String,default:"div"},aspect:{type:String,default:"16by9"}},ms={install:Bi({components:{BEmbed:t.extend({name:"BEmbed",functional:!0,props:ps,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.tag,{ref:n.ref,staticClass:"embed-responsive",class:r({},"embed-responsive-".concat(i.aspect),Boolean(i.aspect))},[t(i.type,pi(n,{ref:"",staticClass:"embed-responsive-item"}),o)])}})}})},gs={props:{options:{type:[Array,Object],default:function(){return[]}},valueField:{type:String,default:"value"},textField:{type:String,default:"text"},htmlField:{type:String,default:"html"},disabledField:{type:String,default:"disabled"}},computed:{formOptions:function(){var t=this.options,e=this.valueField,i=this.textField,n=this.htmlField,o=this.disabledField;return Ht(t)?t.map(function(t){if(ie(t)){var r=t[e],s=String(t[i]);return{value:se(r)?s:r,text:qi(s),html:t[n],disabled:Boolean(t[o])}}return{value:t,text:qi(String(t)),disabled:!1}}):Zt(t).map(function(r){var s=t[r]||{};if(ie(s)){var a=s[e],l=s[i];return{value:se(a)?r:a,text:se(l)?qi(String(r)):qi(String(l)),html:s[n],disabled:Boolean(s[o])}}return{value:r,text:qi(String(s)),disabled:!1}})}}},vs=t.extend({name:"BFormDatalist",mixins:[gs],props:{id:{type:String,default:null,required:!0}},render:function(t){var e=this.formOptions.map(function(e,i){return t("option",{key:"option_".concat(i,"_opt"),attrs:{disabled:e.disabled},domProps:s({},Ki(e.html,e.text),{value:e.value})})});return t("datalist",{attrs:{id:this.id}},[e,this.$slots.default])}}),bs={id:{type:String,default:null},tag:{type:String,default:"small"},textVariant:{type:String,default:function(){return String(Ne("BFormText","textVariant")||"")}},inline:{type:Boolean,default:!1}},ys=t.extend({name:"BFormText",functional:!0,props:bs,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.tag,pi(n,{class:r({"form-text":!i.inline},"text-".concat(i.textVariant),Boolean(i.textVariant)),attrs:{id:i.id}}),o)}}),Ss={id:{type:String,default:null},tag:{type:String,default:"div"},tooltip:{type:Boolean,default:!1},forceShow:{type:Boolean,default:!1},state:{type:[Boolean,String],default:null},ariaLive:{type:String,default:null},role:{type:String,default:null}},ws=t.extend({name:"BFormInvalidFeedback",functional:!0,props:Ss,render:function(t,e){var i=e.props,n=e.data,o=e.children,r=!0===i.forceShow||!1===i.state||"invalid"===i.state;return t(i.tag,pi(n,{class:{"invalid-feedback":!i.tooltip,"invalid-tooltip":i.tooltip,"d-block":r},attrs:{id:i.id,role:i.role,"aria-live":i.ariaLive,"aria-atomic":i.ariaLive?"true":null}}),o)}}),Bs={id:{type:String,default:null},tag:{type:String,default:"div"},tooltip:{type:Boolean,default:!1},forceShow:{type:Boolean,default:!1},state:{type:[Boolean,String],default:null},ariaLive:{type:String,default:null},role:{type:String,default:null}},Ts=t.extend({name:"BFormValidFeedback",functional:!0,props:Bs,render:function(t,e){var i=e.props,n=e.data,o=e.children,r=!0===i.forceShow||!0===i.state||"valid"===i.state;return t(i.tag,pi(n,{class:{"valid-feedback":!i.tooltip,"valid-tooltip":i.tooltip,"d-block":r},attrs:{id:i.id,role:i.role,"aria-live":i.ariaLive,"aria-atomic":i.ariaLive?"true":null}}),o)}}),ks={install:Bi({components:{BForm:cs,BFormDatalist:vs,BDatalist:vs,BFormRow:Io,BFormText:ys,BFormInvalidFeedback:ws,BFormFeedback:ws,BFormValidFeedback:Ts}})},$s={props:{state:{type:[String,Boolean],default:null}},computed:{computedState:function(){var t=this.state;return""===t?null:!0===t||"valid"===t||!1!==t&&"invalid"!==t&&null},stateClass:function(){var t=this.computedState;return!0===t?"is-valid":!1===t?"is-invalid":null}}},Cs='Props "horizontal" and "breakpoint" are deprecated. Use "label-cols(-{breakpoint})" props instead.',xs=function(t,e){var i=e.$slots["invalid-feedback"]||e.invalidFeedback,n=t(!1);return i&&(n=t(ws,{props:{id:e.invalidFeedbackId,state:e.computedState,tooltip:e.tooltip,ariaLive:e.feedbackAriaLive,role:e.feedbackAriaLive?"alert":null},attrs:{tabindex:i?"-1":null}},[i])),n},_s=function(t,e){var i=e.$slots["valid-feedback"]||e.validFeedback,n=t(!1);return i&&(n=t(Ts,{props:{id:e.validFeedbackId,state:e.computedState,tooltip:e.tooltip,ariaLive:e.feedbackAriaLive,role:e.feedbackAriaLive?"alert":null},attrs:{tabindex:i?"-1":null}},[i])),n},Es=function(t,e){var i=e.$slots.description||e.description,n=t(!1);return i&&(n=t(ys,{attrs:{id:e.descriptionId,tabindex:i?"-1":null}},[i])),n},Os=ge(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;return"".concat(e).concat(En(t))}),Ps={name:"BFormGroup",mixins:[co,$s],get props(){return delete this.props,this.props=(t=Ae(),e=t.reduce(function(t,e){return t[Os(e,"labelCols")]={type:[Number,String,Boolean],default:!e&&null},t},te(null)),i=t.reduce(function(t,e){return t[Os(e,"labelAlign")]={type:String,default:null},t},te(null)),s({label:{type:String,default:null},labelFor:{type:String,default:null},labelSize:{type:String,default:null},labelSrOnly:{type:Boolean,default:!1}},e,i,{labelClass:{type:[String,Array,Object],default:null},description:{type:String,default:null},invalidFeedback:{type:String,default:null},validFeedback:{type:String,default:null},tooltip:{type:Boolean,default:!1},feedbackAriaLive:{type:String,default:"assertive"},validated:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},horizontal:{type:Boolean,default:!1,deprecated:Cs},breakpoint:{type:String,default:null,deprecated:Cs}}));var t,e,i},computed:{labelColProps:function(){var t=this,e={};if(this.horizontal){xe("b-form-group: ".concat(Cs));var i=this.breakpoint||Ae()[1],n=parseInt(this.labelCols,10)||3;return e[i]=n>0?n:3,e}return Ae().forEach(function(i){var n=t[Os(i,"labelCols")];if(ue(n=""===n||(n||!1))||(n=(n=parseInt(n,10)||0)>0&&n),n){var o=i||(ue(n)?"col":"cols");e[o]=n}}),e},labelAlignClasses:function(){var t=this,e=[];return Ae().forEach(function(i){var n=t[Os(i,"labelAlign")]||null;if(n){var o=i?"text-".concat(i,"-").concat(n):"text-".concat(n);e.push(o)}}),e},isHorizontal:function(){return Zt(this.labelColProps).length>0},labelId:function(){return this.$slots.label||this.label?this.safeId("_BV_label_"):null},descriptionId:function(){return this.$slots.description||this.description?this.safeId("_BV_description_"):null},hasInvalidFeedback:function(){var t=this.$slots;return!1===this.computedState&&(t["invalid-feedback"]||this.invalidFeedback)},invalidFeedbackId:function(){return this.hasInvalidFeedback?this.safeId("_BV_feedback_invalid_"):null},hasValidFeedback:function(){return!0===this.computedState&&(this.$slots["valid-feedback"]||this.validFeedback)},validFeedbackId:function(){return this.hasValidFeedback?this.safeId("_BV_feedback_valid_"):null},describedByIds:function(){return[this.descriptionId,this.invalidFeedbackId,this.validFeedbackId].filter(Boolean).join(" ")||null}},watch:{describedByIds:function(t,e){t!==e&&this.setInputDescribedBy(t,e)}},mounted:function(){var t=this;this.$nextTick(function(){t.setInputDescribedBy(t.describedByIds)})},methods:{legendClick:function(t){if(!this.labelFor){var e=t.target?t.target.tagName:"";if(!/^(input|select|textarea|label|button|a)$/i.test(e)){var i=Ze("input:not([disabled]),textarea:not([disabled]),select:not([disabled])",this.$refs.content).filter(Ke);i&&1===i.length&&i[0].focus&&i[0].focus()}}},setInputDescribedBy:function(t,e){if(this.labelFor&&Be){var i=Je("#".concat(this.labelFor),this.$refs.content);if(i){var n="aria-describedby",o=(ai(i,n)||"").split(/\s+/);t=(t||"").split(/\s+/),e=(e||"").split(/\s+/),o=o.filter(function(t){return!jt(e,t)}).concat(t).filter(Boolean),(o=Zt(o.reduce(function(t,e){return s({},t,r({},e,!0))},{})).join(" ").trim())?ri(i,n,o):si(i,n)}}}},render:function(t){var e=!this.labelFor,i=this.isHorizontal,n=function(t,e){var i=e.$slots.label||e.label,n=e.labelFor,o=!n,r=e.isHorizontal,a=o?"legend":"label";if(i||r){if(e.labelSrOnly){var l=t(!1);return i&&(l=t(a,{class:"sr-only",attrs:{id:e.labelId,for:n||null}},[i])),t(r?Oo:"div",{props:r?e.labelColProps:{}},[l])}return t(r?Oo:a,{on:o?{click:e.legendClick}:{},props:r?s({tag:a},e.labelColProps):{},attrs:{id:e.labelId,for:n||null,tabindex:o?"-1":null},class:[r||o?"col-form-label":"",!r&&o?"pt-0":"",r||o?"":"d-block",e.labelSize?"col-form-label-".concat(e.labelSize):"",e.labelAlignClasses,e.labelClass]},[i])}return t(!1)}(t,this),o=t(i?Oo:"div",{ref:"content",attrs:{tabindex:e?"-1":null,role:e?"group":null}},[this.$slots.default||t(!1),xs(t,this),_s(t,this),Es(t,this)]),r={staticClass:"form-group",class:[this.validated?"was-validated":null,this.stateClass],attrs:{id:this.safeId(),disabled:e?this.disabled:null,role:e?null:"group","aria-invalid":!1===this.computedState?"true":null,"aria-labelledby":e&&i?this.labelId:null,"aria-describedby":e?this.describedByIds:null}};return t(e?"fieldset":i?Io:"div",r,i&&e?[t(Io,{},[n,o])]:[n,o])}},Is={install:Bi({components:{BFormGroup:Ps,BFormFieldset:Ps}})},Fs=function(t,e){if(t.length!==e.length)return!1;for(var i=!0,n=0;i&&n<t.length;n++)i=Ns(t[n],e[n]);return i},Ns=function t(e,i){if(e===i)return!0;var n=he(e),o=he(i);if(n||o)return!(!n||!o)&&e.getTime()===i.getTime();if(n=Ht(e),o=Ht(i),n||o)return!(!n||!o)&&Fs(e,i);if(n=ee(e),o=ee(i),n||o){if(!n||!o)return!1;if(Zt(e).length!==Zt(i).length)return!1;for(var r in e){var s=e.hasOwnProperty(r),a=i.hasOwnProperty(r);if(s&&!a||!s&&a||!t(e[r],i[r]))return!1}}return String(e)===String(i)},Ds=function(t,e){for(var i=0;i<t.length;i++)if(Ns(t[i],e))return i;return-1},As={props:{name:{type:String},id:{type:String},disabled:{type:Boolean},required:{type:Boolean,default:!1},form:{type:String,default:null}}},Ls={model:{prop:"checked",event:"input"},props:{value:{},checked:{},inline:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},button:{type:Boolean,default:!1},buttonVariant:{type:String,default:null},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},data:function(){return{localChecked:this.is_Group?this.bvGroup.checked:this.checked,hasFocus:!1}},computed:{computedLocalChecked:{get:function(){return this.is_Group?this.bvGroup.localChecked:this.localChecked},set:function(t){this.is_Group?this.bvGroup.localChecked=t:this.localChecked=t}},is_Group:function(){return Boolean(this.bvGroup)},is_BtnMode:function(){return this.is_Group?this.bvGroup.buttons:this.button},is_Plain:function(){return!this.is_BtnMode&&(this.is_Group?this.bvGroup.plain:this.plain)},is_Custom:function(){return!this.is_BtnMode&&!this.is_Plain},is_Switch:function(){return!(this.is_BtnMode||this.is_Radio||this.is_Plain)&&(this.is_Group?this.bvGroup.switches:this.switch)},is_Inline:function(){return this.is_Group?this.bvGroup.inline:this.inline},is_Disabled:function(){return this.is_Group&&this.bvGroup.disabled||this.disabled},is_Required:function(){return Boolean(this.get_Name&&(this.is_Group?this.bvGroup.required:this.required))},get_Name:function(){return(this.is_Group?this.bvGroup.groupName:this.name)||null},get_Form:function(){return(this.is_Group?this.bvGroup.form:this.form)||null},get_Size:function(){return(this.is_Group?this.bvGroup.size:this.size)||""},get_State:function(){return this.is_Group?this.bvGroup.computedState:this.computedState},get_ButtonVariant:function(){return this.buttonVariant?this.buttonVariant:this.is_Group&&this.bvGroup.buttonVariant?this.bvGroup.buttonVariant:"secondary"},buttonClasses:function(){return["btn","btn-".concat(this.get_ButtonVariant),this.get_Size?"btn-".concat(this.get_Size):"",this.is_Disabled?"disabled":"",this.is_Checked?"active":"",this.hasFocus?"focus":""]}},watch:{checked:function(t,e){this.computedLocalChecked=t}},methods:{handleFocus:function(t){t.target&&("focus"===t.type?this.hasFocus=!0:"blur"===t.type&&(this.hasFocus=!1))},focus:function(){!this.is_Disabled&&this.$refs.input&&this.$refs.input.focus&&this.$refs.input.focus()},blur:function(){!this.is_Disabled&&this.$refs.input&&this.$refs.input.blur&&this.$refs.input.blur()}},render:function(t){var e=this.$slots.default,i={change:this.handleChange};this.is_BtnMode&&(i.focus=i.blur=this.handleFocus);var n=t("input",{ref:"input",key:"input",on:i,class:{"form-check-input":this.is_Plain,"custom-control-input":this.is_Custom,"is-valid":!0===this.get_State&&!this.is_BtnMode,"is-invalid":!1===this.get_State&&!this.is_BtnMode,"position-static":this.is_Plain&&!e},directives:[{name:"model",rawName:"v-model",value:this.computedLocalChecked,expression:"computedLocalChecked"}],attrs:{id:this.safeId(),type:this.is_Radio?"radio":"checkbox",name:this.get_Name,form:this.get_Form,disabled:this.is_Disabled,required:this.is_Required,autocomplete:"off","aria-required":this.is_Required||null,"aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||null},domProps:{value:this.value,checked:this.is_Checked}});if(this.is_BtnMode){var o=t("label",{class:this.buttonClasses},[n,e]);return this.is_Group||(o=t("div",{class:["btn-group-toggle","d-inline-block"]},[o])),o}var s=t(!1);return this.is_Plain&&!e||(s=t("label",{class:{"form-check-label":this.is_Plain,"custom-control-label":this.is_Custom},attrs:{for:this.safeId()}},e)),t("div",{class:r({"form-check":this.is_Plain,"form-check-inline":this.is_Plain&&this.is_Inline,"custom-control":this.is_Custom,"custom-control-inline":this.is_Custom&&this.is_Inline,"custom-checkbox":this.is_Custom&&this.is_Check&&!this.is_Switch,"custom-switch":this.is_Switch,"custom-radio":this.is_Custom&&this.is_Radio},"form-control-".concat(this.get_Size),Boolean(this.get_Size&&!this.is_BtnMode))},[n,s])}},Vs={props:{size:{type:String,default:null}},computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]},sizeBtnClass:function(){return[this.size?"btn-".concat(this.size):null]}}},Ms=t.extend({name:"BFormCheckbox",mixins:[Ls,co,As,Vs,$s],inject:{bvGroup:{from:"bvCheckGroup",default:!1}},props:{value:{default:!0},uncheckedValue:{default:!1},indeterminate:{type:Boolean,default:!1},switch:{type:Boolean,default:!1},checked:{type:[String,Number,Object,Array,Boolean],default:null}},computed:{is_Checked:function(){var t=this.computedLocalChecked,e=this.value;return Ht(t)?Ds(t,e)>-1:Ns(t,e)},is_Radio:function(){return!1},is_Check:function(){return!0}},watch:{computedLocalChecked:function(t,e){this.$emit("input",t),this.$refs&&this.$refs.input&&this.$emit("update:indeterminate",this.$refs.input.indeterminate)},indeterminate:function(t,e){this.setIndeterminate(t)}},mounted:function(){this.setIndeterminate(this.indeterminate)},methods:{handleChange:function(t){var e=t.target,i=e.checked,n=e.indeterminate,o=this.computedLocalChecked,r=this.value,s=Ht(o),a=s?null:this.uncheckedValue;if(s){var l=Ds(o,r);i&&l<0?o=o.concat(r):!i&&l>-1&&(o=o.slice(0,l).concat(o.slice(l+1)))}else o=i?r:a;this.computedLocalChecked=o,this.$emit("change",i?r:a),this.is_Group&&this.bvGroup.$emit("change",o),this.$emit("update:indeterminate",n)},setIndeterminate:function(t){Ht(this.computedLocalChecked)&&(t=!1),this.$refs&&this.$refs.input&&(this.$refs.input.indeterminate=t,this.$emit("update:indeterminate",t))}}}),Rs=t.extend({name:"BFormRadio",mixins:[co,Ls,As,Vs,$s],inject:{bvGroup:{from:"bvRadioGroup",default:!1}},props:{checked:{type:[String,Object,Number,Boolean],default:null}},computed:{is_Checked:function(){return Ns(this.value,this.computedLocalChecked)},is_Radio:function(){return!0},is_Check:function(){return!1}},watch:{computedLocalChecked:function(t,e){this.$emit("input",this.computedLocalChecked)}},methods:{handleChange:function(t){var e=t.target.checked,i=this.value;this.computedLocalChecked=i,this.$emit("change",e?i:null),this.is_Group&&this.bvGroup.$emit("change",e?i:null)}}}),Hs={model:{prop:"checked",event:"input"},props:{validated:{type:Boolean,default:!1},ariaInvalid:{type:[Boolean,String],default:!1},stacked:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},buttons:{type:Boolean,default:!1},buttonVariant:{type:String,default:"secondary"}},computed:{inline:function(){return!this.stacked},groupName:function(){return this.name||this.safeId()},groupClasses:function(){return this.buttons?["btn-group-toggle",this.inline?"btn-group":"btn-group-vertical",this.size?"btn-group-".concat(this.size):"",this.validated?"was-validated":""]:[this.validated?"was-validated":""]},computedAriaInvalid:function(){var t=this.ariaInvalid;return!0===t||"true"===t||""===t?"true":!1===this.computedState?"true":null}},watch:{checked:function(t,e){this.localChecked=t},localChecked:function(t,e){this.$emit("input",t)}},render:function(t){var e=this,i=this.$slots,n=this.formOptions.map(function(i,n){var o="_BV_option_".concat(n,"_");return t(e.is_RadioGroup?Rs:Ms,{key:o,props:{id:e.safeId(o),value:i.value,disabled:i.disabled||!1}},[t("span",{domProps:Ki(i.html,i.text)})])});return t("div",{class:this.groupClasses,attrs:{id:this.safeId(),role:this.is_RadioGroup?"radiogroup":"group",tabindex:"-1","aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid}},[i.first,n,i.default])}},js={switches:{type:Boolean,default:!1},checked:{type:[String,Number,Object,Array,Boolean],default:null}},zs=t.extend({name:"BFormCheckboxGroup",mixins:[co,As,Hs,gs,Vs,$s],provide:function(){return{bvCheckGroup:this}},props:js,data:function(){return{localChecked:this.checked||[]}},computed:{is_RadioGroup:function(){return!1}}}),Gs={install:Bi({components:{BFormCheckbox:Ms,BCheckbox:Ms,BCheck:Ms,BFormCheckboxGroup:zs,BCheckboxGroup:zs,BCheckGroup:zs}})},Ws={checked:{type:[String,Object,Number,Boolean],default:null}},Us=t.extend({name:"BFormRadioGroup",mixins:[co,As,Hs,gs,Vs,$s],provide:function(){return{bvRadioGroup:this}},props:Ws,data:function(){return{localChecked:this.checked}},computed:{is_RadioGroup:function(){return!0}}}),qs={install:Bi({components:{BFormRadio:Rs,BRadio:Rs,BFormRadioGroup:Us,BRadioGroup:Us}})},Ks={model:{prop:"value",event:"update"},props:{value:{type:[String,Number],default:""},ariaInvalid:{type:[Boolean,String],default:!1},readonly:{type:Boolean,default:!1},plaintext:{type:Boolean,default:!1},autocomplete:{type:String,default:null},placeholder:{type:String,default:null},formatter:{type:Function,default:null},trim:{type:Boolean,default:!1},number:{type:Boolean,default:!1},lazyFormatter:{type:Boolean,value:!1}},data:function(){return{localValue:this.stringifyValue(this.value)}},computed:{computedClass:function(){return[{"custom-range":"range"===this.type,"form-control-plaintext":this.plaintext&&"range"!==this.type&&"color"!==this.type,"form-control":!this.plaintext&&"range"!==this.type||"color"===this.type},this.sizeFormClass,this.stateClass]},computedAriaInvalid:function(){return this.ariaInvalid&&"false"!==this.ariaInvalid?!0===this.ariaInvalid?"true":this.ariaInvalid:!1===this.computedState?"true":null}},watch:{value:function(t,e){t!==e&&t!==this.localValue&&(this.localValue=this.stringifyValue(t))}},mounted:function(){var t=this.stringifyValue(this.value);t!==this.localValue&&(this.localValue=t)},methods:{stringifyValue:function(t){return se(t)||ae(t)?"":String(t)},getFormatted:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t=this.stringifyValue(t),this.lazyFormatter&&!i||!le(this.formatter)||(t=this.formatter(t,e)),t},updateValue:function(t){if(t=this.stringifyValue(t),this.localValue!==t){if(this.localValue=t,this.number){var e=parseFloat(t);t=isNaN(e)?t:e}else this.trim&&(t=t.trim());this.$emit("update",t)}},onInput:function(t){if(!t.target.composing){var e=this.getFormatted(t.target.value,t);!1===e||t.defaultPrevented?t.preventDefault():(this.updateValue(e),this.$emit("input",e))}},onChange:function(t){if(!t.target.composing){var e=this.getFormatted(t.target.value,t);!1!==e&&(this.updateValue(e),this.$emit("change",e))}},onBlur:function(t){if(this.lazyFormatter){var e=this.getFormatted(t.target.value,t,!0);if(!1===e)return;this.updateValue(e)}this.$emit("blur",t)},focus:function(){this.disabled||this.$el.focus()},blur:function(){this.disabled||this.$el.blur()}}},Xs={computed:{selectionStart:{cache:!1,get:function(){return this.$refs.input.selectionStart},set:function(t){this.$refs.input.selectionStart=t}},selectionEnd:{cache:!1,get:function(){return this.$refs.input.selectionEnd},set:function(t){this.$refs.input.selectionEnd=t}},selectionDirection:{cache:!1,get:function(){return this.$refs.input.selectionDirection},set:function(t){this.$refs.input.selectionDirection=t}}},methods:{select:function(){var t;(t=this.$refs.input).select.apply(t,arguments)},setSelectionRange:function(){var t;(t=this.$refs.input).setSelectionRange.apply(t,arguments)},setRangeText:function(){var t;(t=this.$refs.input).setRangeText.apply(t,arguments)}}},Ys={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 t;return(t=this.$refs.input).setCustomValidity.apply(t,arguments)},checkValidity:function(){var t;return(t=this.$refs.input).checkValidity.apply(t,arguments)},reportValidity:function(){var t;return(t=this.$refs.input).reportValidity.apply(t,arguments)}}},Zs=["text","password","email","number","url","tel","search","range","color","date","time","datetime","datetime-local","month","week"],Js=t.extend({name:"BFormInput",mixins:[co,As,Vs,$s,Ks,Xs,Ys],props:{type:{type:String,default:"text",validator:function(t){return jt(Zs,t)}},noWheel:{type:Boolean,default:!1},min:{type:[String,Number],default:null},max:{type:[String,Number],default:null},step:{type:[String,Number],default:null},list:{type:String,default:null}},computed:{localType:function(){return jt(Zs,this.type)?this.type:"text"}},watch:{noWheel:function(t){this.setWheelStopper(t)}},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(t){var e=this.$el;t?(We(e,"focus",this.onWheelFocus),We(e,"blur",this.onWheelBlur)):(Ue(e,"focus",this.onWheelFocus),Ue(e,"blur",this.onWheelBlur),Ue(document,"wheel",this.stopWheel))},onWheelFocus:function(t){We(document,"wheel",this.stopWheel)},onWheelBlur:function(t){Ue(document,"wheel",this.stopWheel)},stopWheel:function(t){t.preventDefault(),this.$el.blur()}},render:function(t){return t("input",{ref:"input",class:this.computedClass,directives:[{name:"model",rawName:"v-model",value:this.localValue,expression:"localValue"}],attrs:{id:this.safeId(),name:this.name,form:this.form||null,type:this.localType,disabled:this.disabled,placeholder:this.placeholder,required:this.required,autocomplete:this.autocomplete||null,readonly:this.readonly||this.plaintext,min:this.min,max:this.max,step:this.step,list:"password"!==this.localType?this.list:null,"aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid},domProps:{value:this.localValue},on:s({},this.$listeners,{input:this.onInput,change:this.onChange,blur:this.onBlur})})}}),Qs={install:Bi({components:{BFormInput:Js,BInput:Js}})},ta=t.extend({name:"BFormTextarea",mixins:[co,As,Vs,$s,Ks,Xs,Ys],props:{rows:{type:[Number,String],default:2},maxRows:{type:[Number,String],default:null},wrap:{type:String,default:"soft"},noResize:{type:Boolean,default:!1},noAutoShrink:{type:Boolean,default:!1}},data:function(){return{dontResize:!0,heightInPx:null}},computed:{computedStyle:function(){var t={resize:!this.computedRows||this.noResize?"none":null};return this.computedRows||(t.height=this.heightInPx,t.overflowY="scroll"),t},computedMinRows:function(){return Math.max(parseInt(this.rows,10)||2,2)},computedMaxRows:function(){return Math.max(this.computedMinRows,parseInt(this.maxRows,10)||0)},computedRows:function(){return this.computedMinRows===this.computedMaxRows?this.computedMinRows:null}},watch:{dontResize:function(t,e){t||this.setHeight()},localValue:function(t,e){this.setHeight()}},mounted:function(){var t=this;this.$nextTick(function(){t.dontResize=!1})},activated:function(){var t=this;this.$nextTick(function(){t.dontResize=!1})},deactivated:function(){this.dontResize=!0},beforeDestroy:function(){this.dontResize=!0},methods:{setHeight:function(){var t=this;this.$nextTick(function(){t.heightInPx=t.computeHeight()})},computeHeight:function(){if(this.$isServer||!ae(this.computedRows))return null;var t=this.$el;if(!Ke(t))return null;var e=ci(t),i=parseFloat(e.lineHeight),n=(parseFloat(e.borderTopWidth)||0)+(parseFloat(e.borderBottomWidth)||0),o=(parseFloat(e.paddingTop)||0)+(parseFloat(e.paddingBottom)||0),r=n+o,s=i*this.computedMinRows+r,a=t.style.height||e.height;t.style.height="auto";var l=t.scrollHeight;t.style.height=a;var u=Math.max((l-o)/i,2),c=Math.min(Math.max(u,this.computedMinRows),this.computedMaxRows),d=Math.max(Math.ceil(c*i+r),s);return this.noAutoShrink&&(parseFloat(a)||0)>d?a:"".concat(d,"px")}},render:function(t){return t("textarea",{ref:"input",class:this.computedClass,style:this.computedStyle,directives:[{name:"model",rawName:"v-model",value:this.localValue,expression:"localValue"}],attrs:{id:this.safeId(),name:this.name,form:this.form||null,disabled:this.disabled,placeholder:this.placeholder,required:this.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},domProps:{value:this.localValue},on:s({},this.$listeners,{input:this.onInput,change:this.onChange,blur:this.onBlur})})}}),ea={install:Bi({components:{BFormTextarea:ta,BTextarea:ta}})},ia={props:{plain:{type:Boolean,default:!1}},computed:{custom:function(){return!this.plain}}},na={methods:{hasNormalizedSlot:function(t){return Boolean(this.$scopedSlots[t]||this.$slots[t])},normalizeSlot:function(t){var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i[t]||n[t];return le(o)?o(e):o}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},this.$scopedSlots,this.$slots);return e?zt(e):e}}},oa="BFormFile",ra=t.extend({name:oa,mixins:[co,As,$s,ia,na],model:{prop:"value",event:"input"},props:{value:{default:null},accept:{type:String,default:""},capture:{type:Boolean,default:!1},placeholder:{type:String,default:function(){return String(Ne(oa,"placeholder")||"")}},browseText:{type:String,default:function(){return String(Ne(oa,"browseText")||"")}},dropPlaceholder:{type:String,default:function(){return String(Ne(oa,"dropPlaceholder")||"")}},multiple:{type:Boolean,default:!1},directory:{type:Boolean,default:!1},noTraverse:{type:Boolean,default:!1},noDrop:{type:Boolean,default:!1},fileNameFormatter:{type:Function,default:null}},data:function(){return{selectedFile:null,dragging:!1,hasFocus:!1}},computed:{selectLabel:function(){if(this.dragging&&this.dropPlaceholder)return this.dropPlaceholder;if(!this.selectedFile||0===this.selectedFile.length)return this.placeholder;var t=zt(this.selectedFile).filter(Boolean);return this.hasNormalizedSlot("file-name")?[this.normalizeSlot("file-name",{files:t,names:t.map(function(t){return t.name})})]:le(this.fileNameFormatter)?String(this.fileNameFormatter(t)):t.map(function(t){return t.name}).join(", ")}},watch:{selectedFile:function(t,e){t===e||Ht(t)&&Ht(e)&&t.length===e.length&&t.every(function(t,i){return t===e[i]})||(!t&&this.multiple?this.$emit("input",[]):this.$emit("input",t))},value:function(t){(!t||Ht(t)&&0===t.length)&&this.reset()}},methods:{focusHandler:function(t){this.plain||"focusout"===t.type?this.hasFocus=!1:this.hasFocus=!0},reset:function(){try{this.$refs.input.value=""}catch(t){}this.$refs.input.type="",this.$refs.input.type="file",this.selectedFile=this.multiple?[]:null},onFileChange:function(t){var e=this;this.$emit("change",t);var i=t.dataTransfer&&t.dataTransfer.items;if(!i||this.noTraverse)this.setFiles(t.target.files||t.dataTransfer.files);else{for(var n=[],o=0;o<i.length;o++){var r=i[o].webkitGetAsEntry();r&&n.push(this.traverseFileTree(r))}Promise.all(n).then(function(t){e.setFiles(Rt(t))})}},setFiles:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(t)if(this.multiple){for(var e=[],i=0;i<t.length;i++)e.push(t[i]);this.selectedFile=e}else this.selectedFile=t[0]||null;else this.selectedFile=null},onReset:function(){this.selectedFile=this.multiple?[]:null},onDragover:function(t){t.preventDefault(),t.stopPropagation(),!this.noDrop&&this.custom&&(this.dragging=!0,t.dataTransfer.dropEffect="copy")},onDragleave:function(t){t.preventDefault(),t.stopPropagation(),this.dragging=!1},onDrop:function(t){t.preventDefault(),t.stopPropagation(),this.noDrop||(this.dragging=!1,t.dataTransfer.files&&t.dataTransfer.files.length>0&&this.onFileChange(t))},traverseFileTree:function(t,e){var i=this;return new Promise(function(n){e=e||"",t.isFile?t.file(function(t){t.$path=e,n(t)}):t.isDirectory&&t.createReader().readEntries(function(o){for(var r=[],s=0;s<o.length;s++)r.push(i.traverseFileTree(o[s],e+t.name+"/"));Promise.all(r).then(function(t){n(Rt(t))})})})}},render:function(t){var e=t("input",{ref:"input",class:[{"form-control-file":this.plain,"custom-file-input":this.custom,focus:this.custom&&this.hasFocus},this.stateClass],attrs:{type:"file",id:this.safeId(),name:this.name,disabled:this.disabled,required:this.required,form:this.form||null,capture:this.capture||null,accept:this.accept||null,multiple:this.multiple,webkitdirectory:this.directory,"aria-required":this.required?"true":null},on:{change:this.onFileChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.onReset}});if(this.plain)return e;var i=t("label",{staticClass:"custom-file-label",class:[this.dragging?"dragging":null],attrs:{for:this.safeId(),"data-browse":this.browseText||null}},this.selectLabel);return t("div",{staticClass:"custom-file b-form-file",class:this.stateClass,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[e,i])}}),sa={install:Bi({components:{BFormFile:ra,BFile:ra}})},aa=t.extend({name:"BFormSelect",mixins:[co,As,Vs,$s,ia,gs],model:{prop:"value",event:"input"},props:{value:{},multiple:{type:Boolean,default:!1},selectSize:{type:Number,default:0},ariaInvalid:{type:[Boolean,String],default:!1}},data:function(){return{localValue:this.value}},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]},computedAriaInvalid:function(){return!0===this.ariaInvalid||"true"===this.ariaInvalid?"true":"is-invalid"===this.stateClass?"true":null}},watch:{value:function(t,e){this.localValue=t},localValue:function(t,e){this.$emit("input",this.localValue)}},methods:{focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()}},render:function(t){var e=this,i=this.$slots,n=this.formOptions.map(function(e,i){return t("option",{key:"option_".concat(i,"_opt"),attrs:{disabled:Boolean(e.disabled)},domProps:s({},Ki(e.html,e.text),{value:e.value})})});return t("select",{ref:"input",class:this.inputClass,directives:[{name:"model",rawName:"v-model",value:this.localValue,expression:"localValue"}],attrs:{id:this.safeId(),name:this.name,form:this.form||null,multiple:this.multiple||null,size:this.computedSelectSize,disabled:this.disabled,required:this.required,"aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid},on:{change:function(t){var i=t.target,n=Rt(i.options).filter(function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});e.localValue=i.multiple?n:n[0],e.$nextTick(function(){e.$emit("change",e.localValue)})}}},[i.first,n,i.default])}}),la={install:Bi({components:{BFormSelect:aa,BSelect:aa}})},ua={install:Bi({components:{BImg:Zn,BImgLazy:to}})},ca={fluid:{type:Boolean,default:!1},containerFluid:{type:Boolean,default:!1},header:{type:String,default:null},headerHtml:{type:String,default:null},headerTag:{type:String,default:"h1"},headerLevel:{type:[Number,String],default:"3"},lead:{type:String,default:null},leadHtml:{type:String,default:null},leadTag:{type:String,default:"p"},tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}},da={install:Bi({components:{BJumbotron:t.extend({name:"BJumbotron",functional:!0,props:ca,render:function(t,e){var i,n=e.props,o=e.data,s=[],a=(0,e.slots)();return(n.header||a.header||n.headerHtml)&&s.push(t(n.headerTag,{class:r({},"display-".concat(n.headerLevel),Boolean(n.headerLevel))},a.header||n.headerHtml||qi(n.header))),(n.lead||a.lead||n.leadHtml)&&s.push(t(n.leadTag,{staticClass:"lead"},a.lead||n.leadHtml||qi(n.lead))),a.default&&s.push(a.default),n.fluid&&(s=[t(wo,{props:{fluid:n.containerFluid}},s)]),t(n.tag,pi(o,{staticClass:"jumbotron",class:(i={"jumbotron-fluid":n.fluid},r(i,"text-".concat(n.textVariant),Boolean(n.textVariant)),r(i,"bg-".concat(n.bgVariant),Boolean(n.bgVariant)),r(i,"border-".concat(n.borderVariant),Boolean(n.borderVariant)),r(i,"border",Boolean(n.borderVariant)),i)}),s)}})}})},ha={install:Bi({components:{BLink:ji}})},fa={tag:{type:String,default:"div"},flush:{type:Boolean,default:!1},horizontal:{type:[Boolean,String],default:!1}},pa=t.extend({name:"BListGroup",functional:!0,props:fa,render:function(t,e){var i=e.props,n=e.data,o=e.children,s=""===i.horizontal||i.horizontal;s=!i.flush&&s;var a={staticClass:"list-group",class:r({"list-group-flush":i.flush,"list-group-horizontal":!0===s},"list-group-horizontal-".concat(s),ce(s))};return t(i.tag,pi(n,a),o)}}),ma=["a","router-link","button","b-link"],ga=Ri();delete ga.href.default,delete ga.to.default;var va=s({tag:{type:String,default:"div"},action:{type:Boolean,default:null},button:{type:Boolean,default:null},variant:{type:String,default:null}},ga),ba={install:Bi({components:{BListGroup:pa,BListGroupItem:t.extend({name:"BListGroupItem",functional:!0,props:va,render:function(t,e){var i,n=e.props,o=e.data,s=e.children,a=n.button?"button":n.href||n.to?ji:n.tag,l=Boolean(n.href||n.to||n.action||n.button||jt(ma,n.tag)),u={},c={};return"button"===a?(o.attrs&&o.attrs.type||(u.type="button"),n.disabled&&(u.disabled=!0)):c=Oi(ga,n),t(a,pi(o,{attrs:u,props:c,staticClass:"list-group-item",class:(i={},r(i,"list-group-item-".concat(n.variant),Boolean(n.variant)),r(i,"list-group-item-action",l),r(i,"active",n.active),r(i,"disabled",n.disabled),i)}),s)}})}})},ya={tag:{type:String,default:"div"}},Sa=t.extend({name:"BMediaBody",functional:!0,props:ya,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.tag,pi(n,{staticClass:"media-body"}),o)}}),wa={tag:{type:String,default:"div"},verticalAlign:{type:String,default:"top"}},Ba=t.extend({name:"BMediaAside",functional:!0,props:wa,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.tag,pi(n,{staticClass:"d-flex",class:r({},"align-self-".concat(i.verticalAlign),i.verticalAlign)}),o)}}),Ta={tag:{type:String,default:"div"},rightAlign:{type:Boolean,default:!1},verticalAlign:{type:String,default:"top"},noBody:{type:Boolean,default:!1}},ka={install:Bi({components:{BMedia:t.extend({name:"BMedia",functional:!0,props:Ta,render:function(t,e){var i=e.props,n=e.data,o=e.slots,r=e.children,s=i.noBody?r:[],a=o();return i.noBody||(a.aside&&!i.rightAlign&&s.push(t(Ba,{staticClass:"mr-3",props:{verticalAlign:i.verticalAlign}},a.aside)),s.push(t(Sa,a.default)),a.aside&&i.rightAlign&&s.push(t(Ba,{staticClass:"ml-3",props:{verticalAlign:i.verticalAlign}},a.aside))),t(i.tag,pi(n,{staticClass:"media"}),s)}}),BMediaAside:Ba,BMediaBody:Sa}})},$a=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ca=".sticky-top",xa=".navbar-toggler",_a=new(t.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(t,e){Be&&(this.getScrollbarWidth(),t>0&&0===e?(this.checkScrollbar(),this.setScrollbar(),ii(document.body,"modal-open")):0===t&&e>0&&(this.resetScrollbar(),ni(document.body,"modal-open")),ri(document.body,"data-modal-open-count",String(t)))},modals:function(t,e){var i=this;this.checkScrollbar(),je(function(){i.updateModals(t||[])})}},methods:{registerModal:function(t){var e=this;t&&-1===this.modals.indexOf(t)&&(this.modals.push(t),t.$once("hook:beforeDestroy",function(){e.unregisterModal(t)}))},unregisterModal:function(t){var e=this.modals.indexOf(t);e>-1&&(this.modals.splice(e,1),t._isBeingDestroyed||t._isDestroyed||this.resetModal(t))},getBaseZIndex:function(){if(ae(this.baseZIndex)&&Be){var t=document.createElement("div");t.className="modal-backdrop d-none",t.style.display="none",document.body.appendChild(t),this.baseZIndex=parseInt(ci(t).zIndex||1040,10),document.body.removeChild(t)}return this.baseZIndex||1040},getScrollbarWidth:function(){if(ae(this.scrollbarWidth)&&Be){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t),this.scrollbarWidth=ui(t).width-t.clientWidth,document.body.removeChild(t)}return this.scrollbarWidth||0},updateModals:function(t){var e=this,i=this.getBaseZIndex(),n=this.getScrollbarWidth();t.forEach(function(t,o){t.zIndex=i+o,t.scrollbarWidth=n,t.isTop=o===e.modals.length-1,t.isBodyOverflowing=e.isBodyOverflowing})},resetModal:function(t){t&&(t.zIndex=this.getBaseZIndex(),t.isTop=!0,t.isBodyOverflowing=!1)},checkScrollbar:function(){var t=ui(document.body),e=t.left,i=t.right;this.isBodyOverflowing=e+i<window.innerWidth},setScrollbar:function(){var t=document.body;if(t._paddingChangedForModal=t._paddingChangedForModal||[],t._marginChangedForModal=t._marginChangedForModal||[],this.isBodyOverflowing){var e=this.scrollbarWidth;Ze($a).forEach(function(i){var n=i.style.paddingRight,o=ci(i).paddingRight||0;ri(i,"data-padding-right",n),i.style.paddingRight="".concat(parseFloat(o)+e,"px"),t._paddingChangedForModal.push(i)}),Ze(Ca).forEach(function(i){var n=i.style.marginRight,o=ci(i).marginRight||0;ri(i,"data-margin-right",n),i.style.marginRight="".concat(parseFloat(o)-e,"px"),t._marginChangedForModal.push(i)}),Ze(xa).forEach(function(i){var n=i.style.marginRight,o=ci(i).marginRight||0;ri(i,"data-margin-right",n),i.style.marginRight="".concat(parseFloat(o)+e,"px"),t._marginChangedForModal.push(i)});var i=t.style.paddingRight,n=ci(t).paddingRight;ri(t,"data-padding-right",i),t.style.paddingRight="".concat(parseFloat(n)+e,"px")}},resetScrollbar:function(){var t=document.body;t._paddingChangedForModal&&t._paddingChangedForModal.forEach(function(t){li(t,"data-padding-right")&&(t.style.paddingRight=ai(t,"data-padding-right")||"",si(t,"data-padding-right"))}),t._marginChangedForModal&&t._marginChangedForModal.forEach(function(t){li(t,"data-margin-right")&&(t.style.marginRight=ai(t,"data-margin-right")||"",si(t,"data-margin-right"))}),t._paddingChangedForModal=null,t._marginChangedForModal=null,li(t,"data-padding-right")&&(t.style.paddingRight=ai(t,"data-padding-right")||"",si(t,"data-padding-right"))}}})),Ea=function(t){function e(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i(this,e),n=d(this,l(e).call(this,t,o)),Jt(c(n),{modalId:oe(),trigger:oe()}),n}return a(e,Gr),o(e,[{key:"cancel",value:function(){xe("b-modal: evt.cancel() is deprecated. Please use evt.preventDefault()."),this.preventDefault()}}],[{key:"Defaults",get:function(){return s({},h(l(e),"Defaults",this),{modalId:null,trigger:null})}}]),e}(),Oa={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},Pa={passive:!0,capture:!1},Ia={title:{type:String,default:""},titleHtml:{type:String},titleTag:{type:String,default:"h5"},size:{type:String,default:"md"},centered:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},buttonSize:{type:String,default:""},noStacking:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},noCloseOnBackdrop:{type:Boolean,default:!1},noCloseOnEsc:{type:Boolean,default:!1},noEnforceFocus:{type:Boolean,default:!1},headerBgVariant:{type:String,default:null},headerBorderVariant:{type:String,default:null},headerTextVariant:{type:String,default:null},headerCloseVariant:{type:String,default:null},headerClass:{type:[String,Array],default:null},bodyBgVariant:{type:String,default:null},bodyTextVariant:{type:String,default:null},modalClass:{type:[String,Array],default:null},dialogClass:{type:[String,Array],default:null},contentClass:{type:[String,Array],default:null},bodyClass:{type:[String,Array],default:null},footerBgVariant:{type:String,default:null},footerBorderVariant:{type:String,default:null},footerTextVariant:{type:String,default:null},footerClass:{type:[String,Array],default:null},hideHeader:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideHeaderClose:{type:Boolean,default:!1},hideBackdrop:{type:Boolean,default:!1},okOnly:{type:Boolean,default:!1},okDisabled:{type:Boolean,default:!1},cancelDisabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!1},returnFocus:{default:null},headerCloseLabel:{type:String,default:function(){return String(Ne("BModal","headerCloseLabel")||"")}},cancelTitle:{type:String,default:function(){return String(Ne("BModal","cancelTitle")||"")}},cancelTitleHtml:{type:String},okTitle:{type:String,default:function(){return String(Ne("BModal","okTitle")||"")}},okTitleHtml:{type:String},cancelVariant:{type:String,default:function(){return String(Ne("BModal","cancelVariant")||"")}},okVariant:{type:String,default:function(){return String(Ne("BModal","okVariant")||"")}},lazy:{type:Boolean,default:!1},busy:{type:Boolean,default:!1}},Fa=t.extend({name:"BModal",mixins:[co,No,na],model:{prop:"visible",event:"change"},props:Ia,data:function(){return{is_hidden:this.lazy||!1,is_visible:!1,is_transitioning:!1,is_show:!1,is_block:!1,is_opening:!1,is_closing:!1,ignoreBackdropClick:!1,isModalOverflowing:!1,return_focus:this.returnFocus||null,scrollbarWidth:0,zIndex:_a.getBaseZIndex(),isTop:!0,isBodyOverflowing:!1}},computed:{modalClasses:function(){return[{fade:!this.noFade,show:this.is_show,"d-block":this.is_block},this.modalClass]},modalStyles:function(){var t="".concat(this.scrollbarWidth,"px");return{paddingLeft:!this.isBodyOverflowing&&this.isModalOverflowing?t:"",paddingRight:this.isBodyOverflowing&&!this.isModalOverflowing?t:""}},dialogClasses:function(){var t;return[(t={},r(t,"modal-".concat(this.size),Boolean(this.size)),r(t,"modal-dialog-centered",this.centered),r(t,"modal-dialog-scrollable",this.scrollable),t),this.dialogClass]},backdropClasses:function(){return{fade:!this.noFade,show:this.is_show||this.noFade}},headerClasses:function(){var t;return[(t={},r(t,"bg-".concat(this.headerBgVariant),Boolean(this.headerBgVariant)),r(t,"text-".concat(this.headerTextVariant),Boolean(this.headerTextVariant)),r(t,"border-".concat(this.headerBorderVariant),Boolean(this.headerBorderVariant)),t),this.headerClass]},bodyClasses:function(){var t;return[(t={},r(t,"bg-".concat(this.bodyBgVariant),Boolean(this.bodyBgVariant)),r(t,"text-".concat(this.bodyTextVariant),Boolean(this.bodyTextVariant)),t),this.bodyClass]},footerClasses:function(){var t;return[(t={},r(t,"bg-".concat(this.footerBgVariant),Boolean(this.footerBgVariant)),r(t,"text-".concat(this.footerTextVariant),Boolean(this.footerTextVariant)),r(t,"border-".concat(this.footerBorderVariant),Boolean(this.footerBorderVariant)),t),this.footerClass]},modalOuterStyle:function(){return{position:"absolute",zIndex:this.zIndex}},slotScope:function(){return{ok:this.onOk,cancel:this.onCancel,close:this.onClose,hide:this.hide,visible:this.is_visible}}},watch:{visible:function(t,e){t!==e&&this[t?"show":"hide"]()}},created:function(){this._observer=null},mounted:function(){this.zIndex=_a.getBaseZIndex(),this.listenOnRoot("bv::show::modal",this.showHandler),this.listenOnRoot("bv::hide::modal",this.hideHandler),this.listenOnRoot("bv::toggle::modal",this.toggleHandler),this.listenOnRoot("bv::modal::show",this.modalListener),!0===this.visible&&this.show()},beforeDestroy:function(){this._observer&&(this._observer.disconnect(),this._observer=null),this.setEnforceFocus(!1),this.setResizeEvent(!1),this.is_visible&&(this.is_visible=!1,this.is_show=!1,this.is_transitioning=!1)},methods:{updateModel:function(t){t!==this.visible&&this.$emit("change",t)},show:function(){if(!this.is_visible&&!this.is_opening)if(this.is_closing)this.$once("hidden",this.show);else{this.is_opening=!0,Be&&document.activeElement.focus&&(this.return_focus=this.return_focus||document.activeElement);var t=new Ea("show",{cancelable:!0,vueTarget:this,target:this.$refs.modal,relatedTarget:null,modalId:this.safeId()});if(this.emitEvent(t),t.defaultPrevented||this.is_visible)return this.is_opening=!1,void this.updateModel(!1);this.doShow()}},hide:function(t){if(this.is_visible&&!this.is_closing){this.is_closing=!0;var e=new Ea("hide",{cancelable:!0,vueTarget:this,target:this.$refs.modal,relatedTarget:null,modalId:this.safeId(),trigger:t||null});if("ok"===t?this.$emit("ok",e):"cancel"===t?this.$emit("cancel",e):"headerclose"===t&&this.$emit("close",e),this.emitEvent(e),e.defaultPrevented||!this.is_visible)return this.is_closing=!1,void this.updateModel(!0);this._observer&&(this._observer.disconnect(),this._observer=null),this.is_visible=!1,this.updateModel(!1)}},toggle:function(t){t&&(this.return_focus=t),this.is_visible?this.hide("toggle"):this.show()},doShow:function(){var t=this;_a.modalsAreOpen&&this.noStacking?this.listenOnRootOnce("bv::modal::hidden",this.doShow):(this.is_hidden=!1,this.$nextTick(function(){t.is_visible=!0,t.is_opening=!1,t.updateModel(!0),t._observer=uo(t.$refs.content,t.checkModalOverflow.bind(t),Oa)}))},onBeforeEnter:function(){this.is_transitioning=!0,_a.registerModal(this),this.checkModalOverflow(),this.setResizeEvent(!0)},onEnter:function(){this.is_block=!0},onAfterEnter:function(){var t=this;this.is_show=!0,this.is_transitioning=!1,this.$nextTick(function(){var e=new Ea("shown",{cancelable:!1,vueTarget:t,target:t.$refs.modal,relatedTarget:null,modalId:t.safeId()});t.emitEvent(e),t.focusFirst(),t.setEnforceFocus(!0)})},onBeforeLeave:function(){this.is_transitioning=!0,this.setResizeEvent(!1)},onLeave:function(){this.is_show=!1},onAfterLeave:function(){var t=this;this.is_block=!1,this.is_transitioning=!1,this.setEnforceFocus(!1),this.isModalOverflowing=!1,this.$nextTick(function(){t.returnFocusTo(),t.is_closing=!1,t.return_focus=null;var e=new Ea("hidden",{cancelable:!1,vueTarget:t,target:t.lazy?null:t.$refs.modal,relatedTarget:null,modalId:t.safeId()});t.emitEvent(e),_a.unregisterModal(t)})},emitEvent:function(t){var e=t.type;this.emitOnRoot("bv::modal::".concat(e),t,t.modalId),this.$emit(e,t)},onDialogMousedown:function(){var t=this,e=this.$refs.modal;We(e,"mouseup",function i(n){Ue(e,"mouseup",i,Pa),n.target===e&&(t.ignoreBackdropClick=!0)},Pa)},onClickOut:function(t){this.is_visible&&!this.noCloseOnBackdrop&&ei(document.body,t.target)&&(this.ignoreBackdropClick?this.ignoreBackdropClick=!1:ei(this.$refs.content,t.target)||this.hide("backdrop"))},onOk:function(){this.hide("ok")},onCancel:function(){this.hide("cancel")},onClose:function(){this.hide("headerclose")},onEsc:function(t){t.keyCode===vn.ESC&&this.is_visible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(t){var e=this.$refs.modal;!this.noEnforceFocus&&this.isTop&&this.is_visible&&e&&document!==t.target&&!ei(e,t.target)&&e.focus({preventScroll:!0})},setEnforceFocus:function(t){(t?We:Ue)(document,"focusin",this.focusHandler,Pa)},setResizeEvent:function(t){var e=t?We:Ue;e(window,"resize",this.checkModalOverflow,Pa),e(window,"orientationchange",this.checkModalOverflow,Pa)},showHandler:function(t,e){t===this.id&&(this.return_focus=e||document.activeElement||null,this.show())},hideHandler:function(t){t===this.id&&this.hide("event")},toggleHandler:function(t,e){t===this.id&&this.toggle(e)},modalListener:function(t){this.noStacking&&t.vueTarget!==this&&this.hide()},focusFirst:function(){if(Be){var t=this.$refs.modal,e=document.activeElement;!t||e&&ei(t,e)||this.$nextTick(function(){t.scrollTop=0,t.focus()})}},returnFocusTo:function(){var t=this.returnFocus||this.return_focus||document.activeElement||null;(t=ce(t)?Je(t):t)&&(t=t.$el||t,Ke(t)&&t.focus&&t.focus())},checkModalOverflow:function(){if(this.is_visible){var t=this.$refs.modal;this.isModalOverflowing=t.scrollHeight>document.documentElement.clientHeight}}},render:function(t){var e=this,i=this.$slots,n=t(!1);if(!this.hideHeader){var o=this.normalizeSlot("modal-header",this.slotScope);if(!o){var r=t(!1);this.hideHeaderClose||(r=t(vi,{props:{disabled:this.is_transitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:function(t){e.onClose()}}},[i["modal-header-close"]])),o=[t(this.titleTag,{class:["modal-title"]},[this.normalizeSlot("modal-title",this.slotScope)||this.titleHtml||qi(this.title)]),r]}n=t("header",{ref:"header",staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.safeId("__BV_modal_header_")}},[o])}var s=t("div",{ref:"body",staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.safeId("__BV_modal_body_")}},this.normalizeSlot("default",this.slotScope)),a=t(!1);if(!this.hideFooter){var l=this.normalizeSlot("modal-footer",this.slotScope);if(!l){var u=t(!1);this.okOnly||(u=t(hn,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.is_transitioning},on:{click:function(t){e.onCancel()}}},[i["modal-cancel"]||this.cancelTitleHtml||qi(this.cancelTitle)])),l=[u,t(hn,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.is_transitioning},on:{click:function(t){e.onOk()}}},[i["modal-ok"]||this.okTitleHtml||qi(this.okTitle)])]}a=t("footer",{ref:"footer",staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.safeId("__BV_modal_footer_")}},[l])}var c=t("div",{ref:"content",staticClass:"modal-content",class:this.contentClass,attrs:{role:"document",id:this.safeId("__BV_modal_content_"),"aria-labelledby":this.hideHeader?null:this.safeId("__BV_modal_header_"),"aria-describedby":this.safeId("__BV_modal_body_")}},[n,s,a]),d=t("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown}},[c]),h=t("div",{ref:"modal",staticClass:"modal",class:this.modalClasses,style:this.modalStyles,directives:[{name:"show",rawName:"v-show",value:this.is_visible,expression:"is_visible"}],attrs:{id:this.safeId(),role:"dialog",tabindex:"-1","aria-hidden":this.is_visible?null:"true","aria-modal":this.is_visible?"true":null},on:{keydown:this.onEsc,click:this.onClickOut}},[d]);h=t("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{"before-enter":this.onBeforeEnter,enter:this.onEnter,"after-enter":this.onAfterEnter,"before-leave":this.onBeforeLeave,leave:this.onLeave,"after-leave":this.onAfterLeave}},[h]);var f=t(!1);!this.hideBackdrop&&(this.is_visible||this.is_transitioning||this.is_block)&&(f=t("div",{staticClass:"modal-backdrop",class:this.backdropClasses,attrs:{id:this.safeId("__BV_modal_backdrop_")}},[i["modal-backdrop"]]));var p=t(!1);this.is_visible&&this.isTop&&!this.noEnforceFocus&&(p=t("div",{attrs:{tabindex:"0"}}));var m=t(!1);return this.is_hidden||(m=t("div",{key:"modal-outer",style:this.modalOuterStyle,attrs:{id:this.safeId("__BV_modal_outer_")}},[h,p,f])),t("div",{},[m])}}),Na=["id"].concat(f(Zt(ne(Ia,["busy","lazy","noStacking","visible"])))),Da=function(t){},Aa={msgBoxContent:"default",title:"modal-title",okTitle:"modal-ok",cancelTitle:"modal-cancel"},La=function(t){return Na.reduce(function(e,i){return se(t[i])||(e[i]=t[i]),e},{})},Va=t.extend({name:"BMsgBox",extends:Fa,destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},mounted:function(){var t=this,e=function(){var e=t;t.$nextTick(function(){setTimeout(function(){return e.$destroy()},0)})};if(this.$parent.$once("hook:destroyed",e),this.$once("hidden",e),this.$router&&this.$route){var i=this.$watch("$router",e);this.$once("hook:beforeDestroy",i)}this.show()}}),Ma=function(){function t(e){i(this,t),Yt(this,{_vm:e,_root:e.$root}),Jt(this,{_vm:oe(),_root:oe()})}return o(t,[{key:"show",value:function(t){if(t&&this._root){for(var e,i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];(e=this._root).$emit.apply(e,["bv::show::modal",t].concat(n))}}},{key:"hide",value:function(t){if(t&&this._root){for(var e,i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];(e=this._root).$emit.apply(e,["bv::hide::modal",t].concat(n))}}},{key:"msgBox",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;if(t&&!Ee("$bvModal")&&!_e("$bvModal")&&le(i))return function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Da;if(!_e("$bvModal")&&!Ee("$bvModal")){var n=new Va({parent:e,propsData:s({},La(Ne("BModal")||{}),{hideHeaderClose:!0,hideHeader:!(t.title||t.titleHtml)},ne(t,["msgBoxContent"]),{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});Zt(Aa).forEach(function(e){se(t[e])||(n.$slots[Aa[e]]=t[e])});var o=document.createElement("div");return document.body.appendChild(o),new Promise(function(t,e){var r=!1;n.$once("hook:destroyed",function(){r||e(new Error("BootstrapVue MsgBox destroyed before resolve"))}),n.$on("hide",function(e){if(!e.defaultPrevented){var n=i(e);e.defaultPrevented||(r=!0,t(n))}}),n.$mount(o)})}}(s({},La(e),{msgBoxContent:t}),this._vm,i)}},{key:"msgBoxOk",value:function(t){var e=s({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:t});return this.msgBox(t,e,function(t){return!0})}},{key:"msgBoxConfirm",value:function(t){var e=s({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return this.msgBox(t,e,function(t){var e=t.trigger;return"ok"===e||"cancel"!==e&&null})}}]),t}(),Ra={click:!0},Ha=function(t,e,i){"BUTTON"!==t.tagName&&ri(t,"role","button")},ja={bind:function(t,e,i){Mo(i,e,Ra,function(t){var e=t.targets,i=t.vnode;e.forEach(function(t){i.context.$root.$emit("bv::show::modal",t,i.elm)})}),Ha(t)},updated:Ha,componentUpdated:Ha,unbind:function(t,e,i){Ro(i,e,Ra),"BUTTON"!==t.tagName&&si(t,"role")}},za=Bi({components:{BModal:Fa},directives:{BModal:ja}}),Ga={install:function(t){!function t(e){t._installed||(t._installed=!0,e.mixin({beforeCreate:function(){this._bv__modal=new Ma(this)}}),e.prototype.hasOwnProperty("$bvModal")||Qt(e.prototype,"$bvModal",{get:function(){return this._bv__modal}}))}(t),za(t)}},Wa={tag:{type:String,default:"ul"},fill:{type:Boolean,default:!1},justified:{type:Boolean,default:!1},align:{type:String,default:null},tabs:{type:Boolean,default:!1},pills:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},small:{type:Boolean,default:!1},isNavBar:{type:Boolean,default:!1,deprecated:'Setting prop "is-nav-bar" is deprecated. Use the <b-navbar-nav> component instead.'}},Ua=t.extend({name:"BNav",functional:!0,props:Wa,render:function(t,e){var i,n,o=e.props,s=e.data,a=e.children;return t(o.tag,pi(s,{class:(i={nav:!o.isNavBar,"navbar-nav":o.isNavBar,"nav-tabs":o.tabs&&!o.isNavBar,"nav-pills":o.pills&&!o.isNavBar,"flex-column":o.vertical&&!o.isNavBar,"nav-fill":!o.vertical&&o.fill,"nav-justified":!o.vertical&&o.justified},r(i,(n=o.align,"justify-content-".concat(n="left"===n?"start":"right"===n?"end":n)),!o.vertical&&o.align),r(i,"small",o.small),i)}),a)}}),qa=Ri(),Ka=t.extend({name:"BNavItem",functional:!0,props:s({},qa,{linkAttrs:{type:Object,default:function(){return{}}},linkClasses:{type:[String,Object,Array],default:null}}),render:function(t,e){var i=e.props,n=e.data,o=e.listeners,r=e.children;return delete n.on,t("li",pi(n,{staticClass:"nav-item"}),[t(ji,{staticClass:"nav-link",class:i.linkClasses,attrs:i.linkAttrs,props:i,on:o},r)])}}),Xa={tag:{type:String,default:"span"}},Ya=t.extend({name:"BNavText",functional:!0,props:Xa,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(i.tag,pi(n,{staticClass:"navbar-text"}),o)}}),Za=ne(us,["inline"]),Ja=t.extend({name:"BNavForm",functional:!0,props:Za,render:function(t,e){var i=e.props,n=e.data,o=e.children;return t(cs,pi(n,{props:s({},i,{inline:!0})}),o)}}),Qa=s({},Oi(["menuClass","toggleClass","noCaret","role"],Qr),{extraMenuClasses:{type:String,default:"",deprecated:'Setting prop "extra-menu-classes" is deprecated. Use "menu-class" prop instead.'},extraToggleClasses:{type:String,default:"",deprecated:'Setting prop "extra-toggle-classes" is deprecated. Use "toggle-class" prop instead.'}}),tl=t.extend({name:"BNavItemDropdown",mixins:[co,Jr],props:Qa,computed:{isNav:function(){return!0},dropdownClasses:function(){return["nav-item","b-nav-dropdown","dropdown",this.directionClass,{show:this.visible}]},menuClasses:function(){return["dropdown-menu",{"dropdown-menu-right":this.right,show:this.visible},this.extraMenuClasses,this.menuClass]},toggleClasses:function(){return["nav-link","dropdown-toggle",{"dropdown-toggle-no-caret":this.noCaret},this.extraToggleClasses,this.toggleClass]}},render:function(t){var e=t("a",{class:this.toggleClasses,ref:"toggle",attrs:{href:"#",id:this.safeId("_BV_button_"),disabled:this.disabled,"aria-haspopup":"true","aria-expanded":String(this.visible)},on:{click:this.toggle,keydown:this.toggle}},[this.$slots["button-content"]||this.$slots.text||t("span",{domProps:Ki(this.html,this.text)})]),i=t("ul",{class:this.menuClasses,ref:"menu",attrs:{tabindex:"-1","aria-labelledby":this.safeId("_BV_button_")},on:{mouseover:this.onMouseOver,keydown:this.onKeydown}},[this.$slots.default]);return t("li",{attrs:{id:this.safeId()},class:this.dropdownClasses},[e,i])}}),el={install:Bi({components:{BNav:Ua,BNavItem:Ka,BNavText:Ya,BNavForm:Ja,BNavItemDropdown:tl,BNavItemDd:tl,BNavDropdown:tl,BNavDd:tl},plugins:{DropdownPlugin:fs}})},il={tag:{type:String,default:"nav"},type:{type:String,default:"light"},variant:{type:String},toggleable:{type:[Boolean,String],default:!1},fixed:{type:String},sticky:{type:Boolean,default:!1},print:{type:Boolean,default:!1}},nl=t.extend({name:"BNavbar",functional:!0,props:il,render:function(t,e){var i,n=e.props,o=e.data,s=e.children,a="",l=Fe("breakpoints")[0];return n.toggleable&&ce(n.toggleable)&&n.toggleable!==l?a="navbar-expand-".concat(n.toggleable):!1===n.toggleable&&(a="navbar-expand"),t(n.tag,pi(o,{staticClass:"navbar",class:(i={"d-print":n.print,"sticky-top":n.sticky},r(i,"navbar-".concat(n.type),Boolean(n.type)),r(i,"bg-".concat(n.variant),Boolean(n.variant)),r(i,"fixed-".concat(n.fixed),Boolean(n.fixed)),r(i,"".concat(a),Boolean(a)),i),attrs:{role:"nav"===n.tag?null:"navigation"}}),s)}}),ol=Oi(["tag","fill","justified","align","small"],Wa),rl=t.extend({name:"BNavbarNav",functional:!0,props:ol,render:function(t,e){var i,n,o=e.props,s=e.data,a=e.children;return t(o.tag,pi(s,{staticClass:"navbar-nav",class:(i={"nav-fill":o.fill,"nav-justified":o.justified},r(i,(n=o.align,"justify-content-".concat(n="left"===n?"start":"right"===n?"end":n)),o.align),r(i,"small",o.small),i)}),a)}}),sl=Ri();sl.href.default=void 0,sl.to.default=void 0;var al=s({},sl,{tag:{type:String,default:"div"}}),ll=t.extend({name:"BNavbarBrand",functional:!0,props:al,render:function(t,e){var i=e.props,n=e.data,o=e.children,r=Boolean(i.to||i.href);return t(r?ji:i.tag,pi(n,{staticClass:"navbar-brand",props:r?Oi(sl,i):{}}),o)}}),ul=t.extend({name:"BNavbarToggle",mixins:[No],props:{label:{type:String,default:function(){return String(Ne("BNavbarToggle","label")||"")}},target:{type:String,required:!0}},data:function(){return{toggleState:!1}},created:function(){this.listenOnRoot("bv::collapse::state",this.handleStateEvt),this.listenOnRoot("bv::collapse::sync::state",this.handleStateEvt)},methods:{onClick:function(t){this.$emit("click",t),t.defaultPrevented||this.$root.$emit("bv::toggle::collapse",this.target)},handleStateEvt:function(t,e){t===this.target&&(this.toggleState=e)}},render:function(t){return t("button",{class:["navbar-toggler"],attrs:{type:"button","aria-label":this.label,"aria-controls":this.target,"aria-expanded":this.toggleState?"true":"false"},on:{click:this.onClick}},[this.$slots.default||t("span",{class:["navbar-toggler-icon"]})])}}),cl={install:Bi({components:{BNavbar:nl,BNavbarNav:rl,BNavbarBrand:ll,BNavbarToggle:ul,BNavToggle:ul},plugins:{NavPlugin:el,CollapsePlugin:Uo,DropdownPlugin:fs}})},dl=function(t){return Array.apply(null,{length:t})},hl=5;function fl(t){var e=parseInt(t,10)||1;return e<1?hl:e}function pl(t,e){var i=parseInt(t,10)||1;return i>e?e:i<1?1:i}function ml(t){if(t.keyCode===vn.SPACE)return t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),t.currentTarget.click(),!1}var gl={mixins:[na],model:{prop:"value",event:"input"},props:{disabled:{type:Boolean,default:!1},value:{type:[Number,String],default:null,validator:function(t){var e=parseInt(t,10);return!(!ae(t)&&(isNaN(e)||e<1))||(xe("pagination: v-model value must be a number greater than 0"),!1)}},limit:{type:[Number,String],default:hl,validator:function(t){var e=parseInt(t,10);return!(isNaN(e)||e<1)||(xe('pagination: prop "limit" must be a number greater than 0'),!1)}},size:{type:String,default:"md"},align:{type:String,default:"left"},hideGotoEndButtons:{type:Boolean,default:!1},ariaLabel:{type:String,default:"Pagination"},labelFirstPage:{type:String,default:"Go to first page"},firstText:{type:String,default:"«"},labelPrevPage:{type:String,default:"Go to previous page"},prevText:{type:String,default:"‹"},labelNextPage:{type:String,default:"Go to next page"},nextText:{type:String,default:"›"},labelLastPage:{type:String,default:"Go to last page"},lastText:{type:String,default:"»"},labelPage:{type:[String,Function],default:"Go to page"},hideEllipsis:{type:Boolean,default:!1},ellipsisText:{type:String,default:"…"}},data:function(){var t=parseInt(this.value,10);return{currentPage:t>0?t:-1,localNumPages:1,localLimit:hl}},computed:{btnSize:function(){return this.size?"pagination-".concat(this.size):""},alignment:function(){var t=this.align;return"center"===t?"justify-content-center":"end"===t||"right"===t?"justify-content-end":"fill"===t?"text-center":""},computedCurrentPage:function(){return pl(this.currentPage,this.localNumPages)},paginationParams:function(){var t=this.limit,e=this.localNumPages,i=this.computedCurrentPage,n=this.hideEllipsis,o=!1,r=!1,s=t,a=1;return e<=t?s=e:i<t-1&&t>3?n||(r=!0,s=t-1):e-i+2<t&&t>3?(n||(s=t-1,o=!0),a=e-s+1):(t>3&&!n&&(s=t-2,o=r=!0),a=i-Math.floor(s/2)),a<1?a=1:a>e-s&&(a=e-s+1),{showFirstDots:o,showLastDots:r,numLinks:s,startNum:a}},pageList:function(){var t=this.paginationParams,e=t.numLinks,i=t.startNum,n=this.computedCurrentPage,o=function(t,e){return dl(e).map(function(e,i){return{number:i+t,classes:null}})}(i,e);if(o.length>3){var r=n-i,s="bv-d-xs-down-none";if(0===r)for(var a=3;a<o.length;a++)o[a].classes=s;else if(r===o.length-1)for(var l=0;l<o.length-3;l++)o[l].classes=s;else{for(var u=0;u<r-1;u++)o[u].classes=s;for(var c=o.length-1;c>r+1;c--)o[c].classes=s}}return o}},watch:{value:function(t,e){t!==e&&(this.currentPage=pl(t,this.localNumPages))},currentPage:function(t,e){t!==e&&this.$emit("input",t>0?t:null)},limit:function(t,e){t!==e&&(this.localLimit=fl(t))}},created:function(){var t=this;this.localLimit=fl(this.limit),this.$nextTick(function(){t.currentPage=t.currentPage>t.localNumPages?t.localNumPages:t.currentPage})},methods:{getButtons:function(){return Ze("a.page-link",this.$el).filter(function(t){return Ke(t)})},setBtnFocus:function(t){t.focus()},focusCurrent:function(){var t=this;this.$nextTick(function(){var e=t.getButtons().find(function(e){return parseInt(ai(e,"aria-posinset"),10)===t.computedCurrentPage});e&&e.focus?t.setBtnFocus(e):t.focusFirst()})},focusFirst:function(){var t=this;this.$nextTick(function(){var e=t.getButtons().find(function(t){return!Xe(t)});e&&e.focus&&e!==document.activeElement&&t.setBtnFocus(e)})},focusLast:function(){var t=this;this.$nextTick(function(){var e=t.getButtons().reverse().find(function(t){return!Xe(t)});e&&e.focus&&e!==document.activeElement&&t.setBtnFocus(e)})},focusPrev:function(){var t=this;this.$nextTick(function(){var e=t.getButtons(),i=e.indexOf(document.activeElement);i>0&&!Xe(e[i-1])&&e[i-1].focus&&t.setBtnFocus(e[i-1])})},focusNext:function(){var t=this;this.$nextTick(function(){var e=t.getButtons(),i=e.indexOf(document.activeElement);i<e.length-1&&!Xe(e[i+1])&&e[i+1].focus&&t.setBtnFocus(e[i+1])})}},render:function(t){var e=this,i=[],n=this.localNumPages,o=this.disabled,r=this.paginationParams,s=r.showFirstDots,a=r.showLastDots,l=this.computedCurrentPage,u="fill"===this.align,c=function(t){return t===l},d=this.currentPage<1,h=function(i,r,s,a,l,h){var f=o||c(l)||d||i<1||i>n,p=i<1?1:i>n?n:i,m={disabled:f,page:p,index:p-1},g=e.normalizeSlot(s,m)||Pi(a)||t(!1),v=t(f?"span":ji,{staticClass:"page-link",props:f?{}:e.linkProps(i),attrs:{role:"menuitem",tabindex:f?null:"-1","aria-label":r,"aria-controls":e.ariaControls||null,"aria-disabled":f?"true":null},on:f?{}:{click:function(t){e.onClick(i,t)},keydown:ml}},[g]);return t("li",{key:h,staticClass:"page-item",class:{disabled:f,"flex-fill":u},attrs:{role:"none presentation","aria-hidden":f?"true":null}},[v])},f=function(i){return t("li",{key:"ellipsis-".concat(i?"last":"first"),staticClass:"page-item",class:["disabled","bv-d-xs-down-none",u?"flex-fill":""],attrs:{role:"separator"}},[t("span",{staticClass:"page-link"},[e.normalizeSlot("ellipsis-text",{})||Pi(e.ellipsisText)||t(!1)])])};i.push(this.hideGotoEndButtons?t(!1):h(1,this.labelFirstPage,"first-text",this.firstText,1,"bookend-goto-first")),i.push(h(l-1,this.labelPrevPage,"prev-text",this.prevText,1,"bookend-goto-prev")),i.push(s?f(!1):t(!1)),this.pageList.forEach(function(r,s){var a=c(r.number)&&!d,l=o?null:a||d&&0===s?"0":"-1",h={role:"menuitemradio","aria-disabled":o?"true":null,"aria-controls":e.ariaControls||null,"aria-label":le(e.labelPage)?e.labelPage(r.number):"".concat(e.labelPage," ").concat(r.number),"aria-checked":a?"true":"false","aria-posinset":r.number,"aria-setsize":n,tabindex:l},f=Pi(e.makePage(r.number)),p={page:r.number,index:r.number-1,content:f,active:a,disabled:o},m=t(o?"span":ji,{props:o?{}:e.linkProps(r.number),staticClass:"page-link",attrs:h,on:o?{}:{click:function(t){e.onClick(r.number,t)},keydown:ml}},[e.normalizeSlot("page",p)||f]);i.push(t("li",{key:"page-".concat(r.number),staticClass:"page-item",class:[{disabled:o,active:a,"flex-fill":u},r.classes],attrs:{role:"none presentation"}},[m]))}),i.push(a?f(!0):t(!1)),i.push(h(l+1,this.labelNextPage,"next-text",this.nextText,n,"bookend-goto-next")),i.push(this.hideGotoEndButtons?t(!1):h(n,this.labelLastPage,"last-text",this.lastText,n,"bookend-goto-last"));var p=t("ul",{ref:"ul",staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment],attrs:{role:"menubar","aria-disabled":o?"true":"false","aria-label":this.ariaLabel||null},on:{keydown:function(t){var i=t.keyCode,n=t.shiftKey;i===vn.LEFT?(t.preventDefault(),n?e.focusFirst():e.focusPrev()):i===vn.RIGHT&&(t.preventDefault(),n?e.focusLast():e.focusNext())}}},i);return this.isNav?t("nav",{attrs:{"aria-disabled":o?"true":null,"aria-hidden":o?"true":"false"}},[p]):p}},vl=20,bl=0;var yl={perPage:{type:[Number,String],default:vl},totalRows:{type:[Number,String],default:bl},ariaControls:{type:String,default:null}},Sl={install:Bi({components:{BPagination:t.extend({name:"BPagination",mixins:[gl],props:yl,computed:{numberOfPages:function(){var t,e,i=Math.ceil((t=this.totalRows,((e=parseInt(t,10)||bl)<0?0:e)/function(t){var e=parseInt(t,10)||vl;return e<1?1:e}(this.perPage)));return i<1?1:i}},watch:{numberOfPages:function(t){t!==this.localNumPages&&(this.localNumPages=t,this.currentPage=1)}},created:function(){var t=this;this.localNumPages=this.numberOfPages;var e=parseInt(this.value,10)||0;e>0?this.currentPage=e:this.$nextTick(function(){t.currentPage=0})},mounted:function(){this.localNumPages=this.numberOfPages},methods:{onClick:function(t,e){var i=this;t>this.numberOfPages?t=this.numberOfPages:t<1&&(t=1),this.currentPage=t,this.$emit("change",this.currentPage),this.$nextTick(function(){var t=e.target;Ke(t)&&i.$el.contains(t)&&t.focus?t.focus():i.focusCurrent()})},makePage:function(t){return t},linkProps:function(t){return{href:"#"}}}})}})},wl={numberOfPages:{type:[Number,String],default:1,validator:function(t){var e=parseInt(t,10);return!(isNaN(e)||e<1)||(xe('b-pagination: prop "number-of-pages" must be a number greater than 0'),!1)}},baseUrl:{type:String,default:"/"},useRouter:{type:Boolean,default:!1},linkGen:{type:Function,default:null},pageGen:{type:Function,default:null},pages:{type:Array,default:null},noPageDetect:{type:Boolean,default:!1},activeClass:{type:String},exact:{type:Boolean,default:!1},exactActiveClass:{type:String},noPrefetch:{type:Boolean,default:!1}},Bl={install:Bi({components:{BPaginationNav:t.extend({name:"BPaginationNav",mixins:[gl],props:wl,computed:{isNav:function(){return!0},computedValue:function(){var t=parseInt(this.value,10);return isNaN(t)||t<1?null:t}},watch:{numberOfPages:function(t,e){var i=this;this.$nextTick(function(){i.setNumPages()})},pages:function(t,e){var i=this;this.$nextTick(function(){i.setNumPages()})}},created:function(){var t=this;this.setNumPages(),this.$nextTick(function(){t.guessCurrentPage()})},mounted:function(){var t=this;this.$router&&this.$watch("$route",function(e,i){t.$nextTick(function(){je(function(){t.guessCurrentPage()})})})},methods:{setNumPages:function(){var t,e;Ht(this.pages)&&this.pages.length>0?this.localNumPages=this.pages.length:this.localNumPages=(t=this.numberOfPages,(e=parseInt(t,10)||1)<1?1:e)},onClick:function(t,e){var i=this;t!==this.currentPage&&(je(function(){i.currentPage=t,i.$emit("change",t)}),this.$nextTick(function(){try{(e.currentTarget||e.target).blur()}catch(t){}}))},getPageInfo:function(t){if(!Ht(this.pages)||0===this.pages.length||se(this.pages[t-1])){var e="".concat(this.baseUrl).concat(t);return{link:this.useRouter?{path:e}:e,text:Pi(t)}}var i=this.pages[t-1];if(ee(i)){var n=i.link;return{link:ee(n)?n:this.useRouter?{path:n}:n,text:Pi(i.text||t)}}return{link:Pi(i),text:Pi(t)}},makePage:function(t){var e=this.getPageInfo(t);return this.pageGen&&le(this.pageGen)?this.pageGen(t,e):e.text},makeLink:function(t){var e=this.getPageInfo(t);return this.linkGen&&le(this.linkGen)?this.linkGen(t,e):e.link},linkProps:function(t){var e=this.makeLink(t),i={target:this.target||null,rel:this.rel||null,disabled:this.disabled,exact:this.exact,activeClass:this.activeClass,exactActiveClass:this.exactActiveClass,append:this.append,replace:this.replace,noPrefetch:this.noPrefetch};return this.useRouter||ee(e)?i.to=e:i.href=e,i},resolveLink:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{(t=document.createElement("a")).href=Mi({to:e},"a","/","/"),document.body.appendChild(t);var i=t,n=i.pathname,o=i.hash,r=i.search;return document.body.removeChild(t),{path:n,hash:o,query:Li(r)}}catch(e){try{t&&t.parentNode&&t.parentNode.removeChild(t)}catch(t){}return{}}},resolveRoute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{var e=this.$router.resolve(t,this.$route).route;return{path:e.path,hash:e.hash,query:e.query}}catch(t){return{}}},guessCurrentPage:function(){var t=this.computedValue,e=this.$router,i=this.$route;if(!this.noPageDetect&&!t&&(Be||!Be&&e))for(var n=e&&i?{path:i.path,hash:i.hash,query:i.query}:{},o=Be?window.location||document.location:null,r=o?{path:o.pathname,hash:o.hash,query:Li(o.search)}:{},s=1;!t&&s<=this.localNumPages;s++){var a=this.makeLink(s);t=e&&(ee(a)||this.useRouter)?Ns(this.resolveRoute(a),n)?s:null:Be?Ns(this.resolveLink(a),r)?s:null:-1}this.currentPage=t>0?t:0}}})}})},Tl=new RegExp("\\b".concat("bs-tooltip","\\S+"),"g"),kl={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"},$l={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},Cl="show",xl="out",_l="fade",El="show",Ol=".tooltip-inner",Pl=".arrow",Il={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,placement:"top",offset:0,arrowPadding:6,container:!1,fallbackPlacement:"flip",callbacks:{},boundary:"scrollParent"},Fl={WebkitTransition:["webkitTransitionEnd"],MozTransition:["transitionend"],OTransition:["otransitionend","oTransitionEnd"],transition:["transitionend"]},Nl={passive:!0,capture:!1},Dl=1,Al=function(t){return"__BV_".concat(t,"_").concat(Dl++,"__")},Ll=function(){function t(e,n,o){i(this,t),this.$isEnabled=!0,this.$fadeTimeout=null,this.$hoverTimeout=null,this.$visibleInterval=null,this.$hoverState="",this.$activeTrigger={},this.$popper=null,this.$element=e,this.$tip=null,this.$id=Al(this.constructor.NAME),this.$root=o||null,this.$routeWatcher=null,this.$forceHide=this.forceHide.bind(this),this.$doHide=this.doHide.bind(this),this.$doShow=this.doShow.bind(this),this.$doDisable=this.doDisable.bind(this),this.$doEnable=this.doEnable.bind(this),this._noop=lo.bind(this),this.updateConfig(n)}return o(t,[{key:"updateConfig",value:function(t){var e=s({},this.constructor.Default,t);t.delay&&de(t.delay)&&(e.delay={show:t.delay,hide:t.delay}),t.title&&de(t.title)&&(e.title=t.title.toString()),t.content&&de(t.content)&&(e.content=t.content.toString()),this.fixTitle(),this.$config=e,this.unListen(),this.listen()}},{key:"destroy",value:function(){this.unListen(),this.setWhileOpenListeners(!1),clearTimeout(this.$hoverTimeout),this.$hoverTimeout=null,clearTimeout(this.$fadeTimeout),this.$fadeTimeout=null,this.$popper&&this.$popper.destroy(),this.$popper=null,this.$tip&&this.$tip.parentElement&&this.$tip.parentElement.removeChild(this.$tip),this.$tip=null,this.$id=null,this.$isEnabled=null,this.$root=null,this.$element=null,this.$config=null,this.$hoverState=null,this.$activeTrigger=null,this.$forceHide=null,this.$doHide=null,this.$doShow=null,this.$doDisable=null,this.$doEnable=null}},{key:"enable",value:function(){var t=new Gr("enabled",{cancelable:!1,target:this.$element,relatedTarget:null});this.$isEnabled=!0,this.emitEvent(t)}},{key:"disable",value:function(){var t=new Gr("disabled",{cancelable:!1,target:this.$element,relatedTarget:null});this.$isEnabled=!1,this.emitEvent(t)}},{key:"toggle",value:function(t){this.$isEnabled&&(t?(this.$activeTrigger.click=!this.$activeTrigger.click,this.isWithActiveTrigger()?this.enter(null):this.leave(null)):oi(this.getTipElement(),El)?this.leave(null):this.enter(null))}},{key:"show",value:function(){var t=this;if(document.body.contains(this.$element)&&Ke(this.$element)){var e=this.getTipElement();if(this.fixTitle(),this.setContent(e),this.isWithContent(e)){ri(e,"id",this.$id),this.addAriaDescribedby(),this.$config.animation?ii(e,_l):ni(e,_l);var i=this.getPlacement(),n=this.constructor.getAttachment(i);this.addAttachmentClass(n);var o=new Gr("show",{cancelable:!0,target:this.$element,relatedTarget:e});if(this.emitEvent(o),o.defaultPrevented)this.$tip=null;else{var r=this.getContainer();document.body.contains(e)||r.appendChild(e),this.removePopper(),this.$popper=new zr(this.$element,e,this.getPopperConfig(i,e));this.setWhileOpenListeners(!0),ii(e,El),this.transitionOnce(e,function(){t.$config.animation&&t.fixTransition(e);var i=t.$hoverState;t.$hoverState=null,i===xl&&t.leave(null);var n=new Gr("shown",{cancelable:!1,target:t.$element,relatedTarget:e});t.emitEvent(n)})}}else this.$tip=null}}},{key:"visibleCheck",value:function(t){var e=this;clearInterval(this.$visibleInterval),this.$visibleInterval=null,t&&(this.$visibleInterval=setInterval(function(){var t=e.$tip;t&&!Ke(e.$element)&&oi(t,El)&&e.forceHide()},100))}},{key:"setWhileOpenListeners",value:function(t){this.setModalListener(t),this.visibleCheck(t),this.setRouteWatcher(t),this.setOnTouchStartListener(t),t&&/(focus|blur)/.test(this.$config.trigger)?We(this.$tip,"focusout",this,Nl):Ue(this.$tip,"focusout",this,Nl)}},{key:"forceHide",value:function(){this.$tip&&oi(this.$tip,El)&&(this.setWhileOpenListeners(!1),clearTimeout(this.$hoverTimeout),this.$hoverTimeout=null,this.$hoverState="",this.hide(null,!0))}},{key:"hide",value:function(t,e){var i=this,n=this.$tip;if(n){var o=new Gr("hide",{cancelable:!e,target:this.$element,relatedTarget:n});if(this.emitEvent(o),!o.defaultPrevented){this.setWhileOpenListeners(!1),e&&ni(n,_l),ni(n,El),this.$activeTrigger.click=!1,this.$activeTrigger.focus=!1,this.$activeTrigger.hover=!1,this.transitionOnce(n,function(){i.$hoverState!==Cl&&n.parentNode&&(n.parentNode.removeChild(n),i.removeAriaDescribedby(),i.removePopper(),i.$tip=null),t&&t();var e=new Gr("hidden",{cancelable:!1,target:i.$element,relatedTarget:null});i.emitEvent(e)}),this.$hoverState=""}}}},{key:"emitEvent",value:function(t){var e=t.type;this.$root&&this.$root.$emit&&this.$root.$emit("bv::".concat(this.constructor.NAME,"::").concat(e),t);var i=this.$config.callbacks||{};le(i[e])&&i[e](t)}},{key:"getContainer",value:function(){var t=this.$config.container,e=document.body;return!1===t?ti(".modal-content",this.$element)||e:Je(t,e)||e}},{key:"addAriaDescribedby",value:function(){var t=ai(this.$element,"aria-describedby")||"";t=t.split(/\s+/).concat(this.$id).join(" ").trim(),ri(this.$element,"aria-describedby",t)}},{key:"removeAriaDescribedby",value:function(){var t=this,e=ai(this.$element,"aria-describedby")||"";(e=e.split(/\s+/).filter(function(e){return e!==t.$id}).join(" ").trim())?ri(this.$element,"aria-describedby",e):si(this.$element,"aria-describedby")}},{key:"removePopper",value:function(){this.$popper&&this.$popper.destroy(),this.$popper=null}},{key:"transitionOnce",value:function(t,e){var i=this,n=this.getTransitionEndEvents(),o=!1;clearTimeout(this.$fadeTimeout),this.$fadeTimeout=null;var r=function r(){o||(o=!0,clearTimeout(i.$fadeTimeout),i.$fadeTimeout=null,n.forEach(function(e){Ue(t,e,r,Nl)}),e())};oi(t,_l)?(n.forEach(function(e){We(t,e,r,Nl)}),this.$fadeTimeout=setTimeout(r,150)):r()}},{key:"getTransitionEndEvents",value:function(){for(var t in Fl)if(!se(this.$element.style[t]))return Fl[t];return[]}},{key:"update",value:function(){ae(this.$popper)||this.$popper.scheduleUpdate()}},{key:"isWithContent",value:function(t){return!!(t=t||this.$tip)&&Boolean((Je(Ol,t)||{}).innerHTML)}},{key:"addAttachmentClass",value:function(t){ii(this.getTipElement(),"".concat("bs-tooltip","-").concat(t))}},{key:"getTipElement",value:function(){return this.$tip||(this.$tip=this.compileTemplate(this.$config.template)||this.compileTemplate(this.constructor.Default.template)),this.$tip.tabIndex=-1,this.$tip}},{key:"compileTemplate",value:function(t){if(!t||!ce(t))return null;var e=document.createElement("div");e.innerHTML=t.trim();var i=e.firstElementChild?e.removeChild(e.firstElementChild):null;return e=null,i}},{key:"setContent",value:function(t){this.setElementContent(Je(Ol,t),this.getTitle()),ni(t,_l),ni(t,El)}},{key:"setElementContent",value:function(t,e){if(t){var i=this.$config.html;ee(e)&&e.nodeType?i?e.parentElement!==t&&(t.innerHTML="",t.appendChild(e)):t.innerText=e.innerText:t[i?"innerHTML":"innerText"]=e}}},{key:"getTitle",value:function(){var t=this.$config.title||"";return le(t)&&(t=t(this.$element)),ee(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),ce(t)&&(t=t.trim()),t||(t=(t=ai(this.$element,"title")||ai(this.$element,"data-original-title")||"").trim()),t}},{key:"listen",value:function(){var t=this,e=this.$config.trigger.trim().split(/\s+/),i=this.$element;this.setRootListener(!0),e.forEach(function(e){"click"===e?We(i,"click",t,Nl):"focus"===e?(We(i,"focusin",t,Nl),We(i,"focusout",t,Nl)):"blur"===e?We(i,"focusout",t,Nl):"hover"===e&&(We(i,"mouseenter",t,Nl),We(i,"mouseleave",t,Nl))},this)}},{key:"unListen",value:function(){var t=this;["click","focusin","focusout","mouseenter","mouseleave"].forEach(function(e){Ue(t.$element,e,t,Nl)},this),this.setRootListener(!1)}},{key:"handleEvent",value:function(t){if(!Xe(this.$element)&&this.$isEnabled){var e=t.type,i=t.target,n=t.relatedTarget,o=this.$element,r=this.$tip;if("click"===e)this.toggle(t);else if("focusin"===e||"mouseenter"===e)this.enter(t);else if("focusout"===e){if(r&&o&&o.contains(i)&&r.contains(n))return;if(r&&o&&r.contains(i)&&o.contains(n))return;if(r&&r.contains(i)&&r.contains(n))return;if(o&&o.contains(i)&&o.contains(n))return;this.leave(t)}else"mouseleave"===e&&this.leave(t)}}},{key:"setRouteWatcher",value:function(t){var e=this;t?(this.setRouteWatcher(!1),this.$root&&Boolean(this.$root.$route)&&(this.$routeWatcher=this.$root.$watch("$route",function(t,i){t!==i&&e.forceHide()}))):this.$routeWatcher&&(this.$routeWatcher(),this.$routeWatcher=null)}},{key:"setModalListener",value:function(t){ti(".modal-content",this.$element)&&this.$root&&this.$root[t?"$on":"$off"]("bv::modal::hidden",this.$forceHide)}},{key:"setRootListener",value:function(t){this.$root&&(this.$root[t?"$on":"$off"]("bv::hide::".concat(this.constructor.NAME),this.$doHide),this.$root[t?"$on":"$off"]("bv::show::".concat(this.constructor.NAME),this.$doShow),this.$root[t?"$on":"$off"]("bv::disable::".concat(this.constructor.NAME),this.$doDisable),this.$root[t?"$on":"$off"]("bv::enable::".concat(this.constructor.NAME),this.$doEnable))}},{key:"doHide",value:function(t){t?this.$element&&this.$element.id&&this.$element.id===t&&this.hide():this.forceHide()}},{key:"doShow",value:function(t){t?t&&this.$element&&this.$element.id&&this.$element.id===t&&this.show():this.show()}},{key:"doDisable",value:function(t){t?this.$element&&this.$element.id&&this.$element.id===t&&this.disable():this.disable()}},{key:"doEnable",value:function(t){t?this.$element&&this.$element.id&&this.$element.id===t&&this.enable():this.enable()}},{key:"setOnTouchStartListener",value:function(t){var e=this;"ontouchstart"in document.documentElement&&Rt(document.body.children).forEach(function(i){t?We(i,"mouseover",e._noop):Ue(i,"mouseover",e._noop)})}},{key:"fixTitle",value:function(){var t=this.$element;!ai(t,"title")&&ce(ai(t,"data-original-title"))||(ri(t,"data-original-title",ai(t,"title")||""),ri(t,"title",""))}},{key:"enter",value:function(t){var e=this;t&&(this.$activeTrigger["focusin"===t.type?"focus":"hover"]=!0),oi(this.getTipElement(),El)||this.$hoverState===Cl?this.$hoverState=Cl:(clearTimeout(this.$hoverTimeout),this.$hoverState=Cl,this.$config.delay&&this.$config.delay.show?this.$hoverTimeout=setTimeout(function(){e.$hoverState===Cl&&e.show()},this.$config.delay.show):this.show())}},{key:"leave",value:function(t){var e=this;t&&(this.$activeTrigger["focusout"===t.type?"focus":"hover"]=!1,"focusout"===t.type&&/blur/.test(this.$config.trigger)&&(this.$activeTrigger.click=!1,this.$activeTrigger.hover=!1)),this.isWithActiveTrigger()||(clearTimeout(this.$hoverTimeout),this.$hoverState=xl,this.$config.delay&&this.$config.delay.hide?this.$hoverTimeout=setTimeout(function(){e.$hoverState===xl&&e.hide()},this.$config.delay.hide):this.hide())}},{key:"getPopperConfig",value:function(t,e){var i=this;return{placement:this.constructor.getAttachment(t),modifiers:{offset:{offset:this.getOffset(t,e)},flip:{behavior:this.$config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.$config.boundaryPadding,boundariesElement:this.$config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&i.handlePopperPlacementChange(t)},onUpdate:function(t){i.handlePopperPlacementChange(t)}}}},{key:"getOffset",value:function(t,e){if(!this.$config.offset){var i=Je(Pl,e),n=parseFloat(ci(i).width)+parseFloat(this.$config.arrowPadding);switch($l[t.toUpperCase()]){case 1:return"+50%p - ".concat(n,"px");case-1:return"-50%p + ".concat(n,"px");default:return 0}}return this.$config.offset}},{key:"getPlacement",value:function(){var t=this.$config.placement;return le(t)?t.call(this,this.$tip,this.$element):t}},{key:"isWithActiveTrigger",value:function(){for(var t in this.$activeTrigger)if(this.$activeTrigger[t])return!0;return!1}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(Tl);!ae(e)&&e.length>0&&e.forEach(function(e){ni(t,e)})}},{key:"handlePopperPlacementChange",value:function(t){this.cleanTipClass(),this.addAttachmentClass(this.constructor.getAttachment(t.placement))}},{key:"fixTransition",value:function(t){var e=this.$config.animation||!1;ae(ai(t,"x-placement"))&&(ni(t,_l),this.$config.animation=!1,this.hide(),this.show(),this.$config.animation=e)}}],[{key:"getAttachment",value:function(t){return kl[t.toUpperCase()]}},{key:"Default",get:function(){return Il}},{key:"NAME",get:function(){return"tooltip"}}]),t}(),Vl=new RegExp("\\b".concat("bs-popover","\\S+"),"g"),Ml=s({},Ll.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Rl="fade",Hl="show",jl=".popover-header",zl=".popover-body",Gl=function(t){function e(){return i(this,e),d(this,l(e).apply(this,arguments))}return a(e,Ll),o(e,[{key:"isWithContent",value:function(t){if(!(t=t||this.$tip))return!1;var e=Boolean((Je(jl,t)||{}).innerHTML),i=Boolean((Je(zl,t)||{}).innerHTML);return e||i}},{key:"addAttachmentClass",value:function(t){ii(this.getTipElement(),"".concat("bs-popover","-").concat(t))}},{key:"setContent",value:function(t){this.setElementContent(Je(jl,t),this.getTitle()),this.setElementContent(Je(zl,t),this.getContent()),ni(t,Rl),ni(t,Hl)}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(Vl);!ae(e)&&e.length>0&&e.forEach(function(e){ni(t,e)})}},{key:"getTitle",value:function(){var t=this.$config.title||"";return le(t)&&(t=t(this.$element)),ee(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),ce(t)&&(t=t.trim()),t||(t=(t=ai(this.$element,"title")||ai(this.$element,"data-original-title")||"").trim()),t}},{key:"getContent",value:function(){var t=this.$config.content||"";return le(t)&&(t=t(this.$element)),ee(t)&&t.nodeType&&!t.innerHTML.trim()&&(t=""),ce(t)&&(t=t.trim()),t}}],[{key:"Default",get:function(){return Ml}},{key:"NAME",get:function(){return"popover"}}]),e}(),Wl=(ve?window:{}).HTMLElement||Object,Ul={top:"top",topleft:"topleft",topright:"topright",right:"right",righttop:"righttop",rightbottom:"rightbottom",bottom:"bottom",bottomleft:"bottomleft",bottomright:"bottomright",left:"left",lefttop:"lefttop",leftbottom:"leftbottom",auto:"auto"},ql={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["class","style"]},Kl={props:{target:{type:[String,Object,Wl,Function]},delay:{type:[Number,Object,String],default:0},offset:{type:[Number,String],default:0},noFade:{type:Boolean,default:!1},container:{type:String,default:null},boundary:{type:[String,Wl],default:"scrollParent"},boundaryPadding:{type:Number,default:5},show:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{localShow:!1}},computed:{baseConfig:function(){var t=this.container,e=ee(this.delay)?this.delay:parseInt(this.delay,10)||0;return{title:(this.title||"").trim()||"",content:(this.content||"").trim()||"",placement:Ul[this.placement]||"auto",container:!!t&&(/^#/.test(t)?t:"#".concat(t)),boundary:this.boundary,boundaryPadding:this.boundaryPadding,delay:e||0,offset:this.offset||0,animation:!this.noFade,trigger:Ht(this.triggers)?this.triggers.join(" "):this.triggers,callbacks:{show:this.onShow,shown:this.onShown,hide:this.onHide,hidden:this.onHidden,enabled:this.onEnabled,disabled:this.onDisabled}}}},watch:{show:function(t,e){t!==e&&(t?this.onOpen():this.onClose())},disabled:function(t,e){t!==e&&(t?this.onDisable():this.onEnable())},localShow:function(t,e){t!==this.show&&this.$emit("update:show",t)}},created:function(){this._toolpop=null,this._obs_title=null,this._obs_content=null},mounted:function(){var t=this;this.$nextTick(function(){t.createToolpop()&&(t.disabled&&t.onDisable(),t.$on("open",t.onOpen),t.$on("close",t.onClose),t.$on("disable",t.onDisable),t.$on("enable",t.onEnable),t.setObservers(!0),t.show&&t.onOpen())})},updated:function(){this._toolpop&&this._toolpop.updateConfig(this.getConfig())},activated:function(){this.setObservers(!0)},deactivated:function(){this._toolpop&&(this.setObservers(!1),this._toolpop.hide())},beforeDestroy:function(){this.$off("open",this.onOpen),this.$off("close",this.onClose),this.$off("disable",this.onDisable),this.$off("enable",this.onEnable),this.setObservers(!1),this.bringItBack(),this._toolpop&&(this._toolpop.destroy(),this._toolpop=null)},methods:{getConfig:function(){var t=s({},this.baseConfig);return this.$refs.title&&this.$refs.title.innerHTML.trim()&&(t.title=this.$refs.title,t.html=!0),this.$refs.content&&this.$refs.content.innerHTML.trim()&&(t.content=this.$refs.content,t.html=!0),t},onOpen:function(){this._toolpop&&!this.localShow&&(this.localShow=!0,this._toolpop.show())},onClose:function(t){this._toolpop&&this.localShow?this._toolpop.hide(t):le(t)&&t()},onDisable:function(){this._toolpop&&this._toolpop.disable()},onEnable:function(){this._toolpop&&this._toolpop.enable()},updatePosition:function(){this._toolpop&&this._toolpop.update()},getTarget:function(){var t,e=this.target;return le(e)&&(e=e()),ce(e)?(t=e,Ve.getElementById(/^#/.test(t)?t.slice(1):t)||null):ee(e)&&qe(e.$el)?e.$el:ee(e)&&qe(e)?e:null},onShow:function(t){this.$emit("show",t),this.localShow=!(t&&t.defaultPrevented)},onShown:function(t){this.setObservers(!0),this.$emit("shown",t),this.localShow=!0},onHide:function(t){this.$emit("hide",t),this.localShow=!(!t||!t.defaultPrevented)},onHidden:function(t){this.setObservers(!1),this.bringItBack(),this.$emit("hidden",t),this.localShow=!1},onEnabled:function(t){t&&"enabled"===t.type&&(this.$emit("update:disabled",!1),this.$emit("disabled"))},onDisabled:function(t){t&&"disabled"===t.type&&(this.$emit("update:disabled",!0),this.$emit("enabled"))},bringItBack:function(){this.$el&&this.$refs.title&&this.$el.appendChild(this.$refs.title),this.$el&&this.$refs.content&&this.$el.appendChild(this.$refs.content)},setObservers:function(t){t?(this.$refs.title&&(this._obs_title=uo(this.$refs.title,this.updatePosition.bind(this),ql)),this.$refs.content&&(this._obs_content=uo(this.$refs.content,this.updatePosition.bind(this),ql))):(this._obs_title&&(this._obs_title.disconnect(),this._obs_title=null),this._obs_content&&(this._obs_content.disconnect(),this._obs_content=null))}}},Xl={title:{type:String,default:""},content:{type:String,default:""},triggers:{type:[String,Array],default:"click"},placement:{type:String,default:"right"}},Yl=t.extend({name:"BPopover",mixins:[Kl],props:Xl,data:function(){return{}},methods:{createToolpop:function(){var t=this.getTarget();return t?this._toolpop=new Gl(t,this.getConfig(),this.$root):(this._toolpop=null,xe("b-popover: 'target' element not found!")),this._toolpop}},render:function(t){return t("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[t("div",{ref:"title"},this.$slots.title),t("div",{ref:"content"},this.$slots.default)])}}),Zl="__BV_PopOver__",Jl={focus:!0,hover:!0,click:!0,blur:!0},Ql=function(t,e,i){if(Be)if(zr){var n=function(t){var e={};ce(t.value)?e.content=t.value:le(t.value)?e.content=t.value:ee(t.value)&&(e=s({},e,t.value)),t.arg&&(e.container="#".concat(t.arg)),Zt(t.modifiers).forEach(function(t){if(/^html$/.test(t))e.html=!0;else if(/^nofade$/.test(t))e.animation=!1;else if(/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/.test(t))e.placement=t;else if(/^(window|viewport)$/.test(t))e.boundary=t;else if(/^d\d+$/.test(t)){var i=parseInt(t.slice(1),10)||0;i&&(e.delay=i)}else if(/^o-?\d+$/.test(t)){var n=parseInt(t.slice(1),10)||0;n&&(e.offset=n)}});var i={};return(ce(e.trigger)?e.trigger.trim().split(/\s+/):[]).forEach(function(t){Jl[t]&&(i[t]=!0)}),Zt(Jl).forEach(function(e){t.modifiers[e]&&(i[e]=!0)}),e.trigger=Zt(i).join(" "),"blur"===e.trigger&&(e.trigger="focus"),e.trigger||delete e.trigger,e}(e);t[Zl]?t[Zl].updateConfig(n):t[Zl]=new Gl(t,n,i.context.$root)}else xe("v-b-popover: Popper.js is required for PopOvers to work")},tu={bind:function(t,e,i){Ql(t,e,i)},inserted:function(t,e,i){Ql(t,e,i)},update:function(t,e,i){e.value!==e.oldValue&&Ql(t,e,i)},componentUpdated:function(t,e,i){e.value!==e.oldValue&&Ql(t,e,i)},unbind:function(t){!function(t){t[Zl]&&(t[Zl].destroy(),t[Zl]=null,delete t[Zl])}(t)}},eu={install:Bi({components:{BPopover:Yl},directives:{BPopover:tu}})},iu=t.extend({name:"BProgressBar",inject:{bvProgress:{default:function(){return{}}}},props:{value:{type:Number,default:0},label:{type:String,default:null},labelHtml:{type:String},max:{type:Number,default:null},precision:{type:Number,default:null},variant:{type:String,default:null},striped:{type:Boolean,default:null},animated:{type:Boolean,default:null},showProgress:{type:Boolean,default:null},showValue:{type:Boolean,default:null}},computed:{progressBarClasses:function(){return[this.computedVariant?"bg-".concat(this.computedVariant):"",this.computedStriped||this.computedAnimated?"progress-bar-striped":"",this.computedAnimated?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.value/this.computedMax*100+"%"}},computedProgress:function(){var t=Math.pow(10,this.computedPrecision);return Math.round(100*t*this.value/this.computedMax)/t},computedMax:function(){return de(this.max)?this.max:this.bvProgress.max||100},computedVariant:function(){return this.variant||this.bvProgress.variant},computedPrecision:function(){return de(this.precision)?this.precision:this.bvProgress.precision||0},computedStriped:function(){return ue(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return ue(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return ue(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return ue(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(t){var e=t(!1);return this.$slots.default?e=this.$slots.default:this.label||this.labelHtml?e=t("span",{domProps:Ki(this.labelHtml,this.label)}):this.computedShowProgress?e=this.computedProgress.toFixed(this.computedPrecision):this.computedShowValue&&(e=this.value.toFixed(this.computedPrecision)),t("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":this.computedMax.toString(),"aria-valuenow":this.value.toFixed(this.computedPrecision)}},[e])}}),nu={install:Bi({components:{BProgress:t.extend({name:"BProgress",provide:function(){return{bvProgress:this}},props:{variant:{type:String,default:null},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1},height:{type:String,default:null},precision:{type:Number,default:0},showProgress:{type:Boolean,default:!1},showValue:{type:Boolean,default:!1},max:{type:Number,default:100},value:{type:Number,default:0}},computed:{progressHeight:function(){return{height:this.height||null}}},render:function(t){var e=this.$slots.default;return e||(e=t(iu,{props:{value:this.value,max:this.max,precision:this.precision,variant:this.variant,animated:this.animated,striped:this.striped,showProgress:this.showProgress,showValue:this.showValue}})),t("div",{class:["progress"],style:this.progressHeight},[e])}}),BProgressBar:iu}})},ou={install:Bi({components:{BSpinner:t.extend({name:"BSpinner",functional:!0,props:{type:{type:String,default:"border"},label:{type:String,default:null},variant:{type:String,default:null},small:{type:Boolean,default:!1},role:{type:String,default:"status"},tag:{type:String,default:"span"}},render:function(t,e){var i,n=e.props,o=e.data,s=e.slots,a=t(!1),l=s().label||n.label;return l&&(a=t("span",{staticClass:"sr-only"},l)),t(n.tag,pi(o,{attrs:{role:l?n.role||"status":null,"aria-hidden":l?null:"true"},class:(i={},r(i,"spinner-".concat(n.type),Boolean(n.type)),r(i,"spinner-".concat(n.type,"-sm"),n.small),r(i,"text-".concat(n.variant),Boolean(n.variant)),i)}),[a])}})}})},ru=function(t){return t.replace(/_/g," ").replace(/([a-z])([A-Z])/g,function(t,e,i){return e+" "+i}).replace(/(\s|^)(\w)/g,function(t,e,i){return e+i.toUpperCase()})},su={_rowVariant:!0,_cellVariants:!0,_showDetails:!0},au=["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(","),lu=function(t,e){var i=null;return ce(e)?i={key:t,label:e}:le(e)?i={key:t,formatter:e}:ee(e)?(i=s({},e)).key=i.key||t:!1!==e&&(i={key:t}),i},uu={props:{items:{type:[Array,Function],default:function(){return[]}},fields:{type:[Array,Object],default:null},primaryKey:{type:String,default:null}},data:function(){return{localItems:Ht(this.items)?this.items.slice():[]}},computed:{computedFields:function(){return function(t,e){var i=[];if(Ht(t)?t.filter(function(t){return t}).forEach(function(t){if(ce(t))i.push({key:t,label:ru(t)});else if(ee(t)&&t.key&&ce(t.key))i.push(s({},t));else if(ee(t)&&1===Zt(t).length){var e=Zt(t)[0],n=lu(e,t[e]);n&&i.push(n)}}):t&&ee(t)&&Zt(t).length>0&&Zt(t).forEach(function(e){var n=lu(e,t[e]);n&&i.push(n)}),0===i.length&&Ht(e)&&e.length>0){var n=e[0];Zt(n).forEach(function(t){su[t]||i.push({key:t,label:ru(t)})})}var o={};return i.filter(function(t){return!o[t.key]&&(o[t.key]=!0,t.label=ce(t.label)?t.label:ru(t.key),!0)})}(this.fields,this.localItems)},computedFieldsObj:function(){return this.computedFields.reduce(function(t,e){return e[t.key]=t,e},{})}},watch:{items:function(t){Ht(t)?this.localItems=t.slice():(se(t)||ae(t))&&(this.localItems=[])}}};function cu(t){return Zt(t).reduce(function(e,i){return su[i]||(e[i]=t[i]),e},{})}function du(t){return se(t)||ae(t)?"":t instanceof Object&&!(t instanceof Date)?Zt(t).sort().filter(function(t){return!se(t)&&!ae(t)}).map(function(e){return du(t[e])}).join(" "):String(t)}var hu='Supplying a function to prop "filter" is deprecated. Use "filter-function" instead.',fu={props:{filter:{type:[String,RegExp,Object,Array,Function],default:null,deprecation:hu},filterFunction:{type:Function,default:null}},data:function(){return{isFiltered:!1}},computed:{localFiltering:function(){return!this.hasProvider||!!this.noProviderFiltering},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilter:function(){return le(this.filter)?"":le(this.filterFunction)||ce(this.filter)||fe(this.filter)?this.filter:""},localFilterFn:function(){var t=this.filter,e=this.filterFunction;return le(e)?e:le(t)?(xe("b-table: ".concat(hu)),t):null},filteredItems:function(){var t=this.localItems||[],e=this.localFilter,i=this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e);return this.localFiltering&&i&&t.length>0&&(t=t.filter(i)),t}},watch:{filteredCheck:function(t){var e,i=t.filteredItems,n=(t.localItems,t.localFilter);(e=!!n&&(!Ns(n,[])&&!Ns(n,{})&&!!n))&&this.$emit("filtered",i,i.length),this.isFiltered=e},isFiltered:function(t,e){!1===t&&!0===e&&this.$emit("filtered",this.localItems,this.localItems.length)}},created:function(){var t=this;this.$nextTick(function(){t.isFiltered=Boolean(t.localFilter)})},methods:{filterFnFactory:function(t,e){if(!t||!le(t)||!e||Ns(e,[])||Ns(e,{}))return null;return function(i){return t(i,e)}},defaultFilterFnFactory:function(t){if(!t||!ce(t)&&!fe(t))return null;var e=t;if(ce(e)){var i=t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&").replace(/[\s\uFEFF\xA0]+/g,"\\s+");e=new RegExp(".*".concat(i,".*"),"i")}return function(t){return e.lastIndex=0,e.test((i=t)instanceof Object?du(cu(i)):"");var i}}}};var pu={props:{sortBy:{type:String,default:null},sortDesc:{type:Boolean,default:!1},sortDirection:{type:String,default:"asc",validator:function(t){return jt(["asc","desc","last"],t)}},sortCompare:{type:Function,default:null},noSortReset:{type:Boolean,default:!1},labelSortAsc:{type:String,default:"Click to sort Ascending"},labelSortDesc:{type:String,default:"Click to sort Descending"},labelSortClear:{type:String,default:"Click to clear sorting"},noLocalSorting:{type:Boolean,default:!1},noFooterSorting:{type:Boolean,default:!1}},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(t){return t.sortable})},sortedItems:function(){var t,e=(this.filteredItems||[]).slice(),i=this.localSortBy,n=this.localSortDesc,o=this.sortCompare,r=this.localSorting;return i&&r?(t=function(t,e){var r=null;return le(o)&&(r=o(t,e,i,n)),(se(r)||ae(r)||!1===r)&&(r=function(t,e,i){return t=me(t,i,""),e=me(e,i,""),he(t)&&he(e)||de(t)&&de(e)?t<e?-1:t>e?1:0:du(t).localeCompare(du(e),void 0,{numeric:!0})}(t,e,i)),(r||0)*(n?-1:1)},e.map(function(t,e){return[e,t]}).sort(function(t,e){return this(t[1],e[1])||t[0]-e[0]}.bind(t)).map(function(t){return t[1]})):e}},watch:{isSortable:function(t,e){t?this.isSortable&&this.$on("head-clicked",this.handleSort):this.$off("head-clicked",this.handleSort)},sortDesc:function(t,e){t!==this.localSortDesc&&(this.localSortDesc=t||!1)},sortBy:function(t,e){t!==this.localSortBy&&(this.localSortBy=t||null)},localSortDesc:function(t,e){t!==e&&this.$emit("update:sortDesc",t)},localSortBy:function(t,e){t!==e&&this.$emit("update:sortBy",t)}},created:function(){this.isSortable&&this.$on("head-clicked",this.handleSort)},methods:{handleSort:function(t,e,i,n){var o=this;if(this.isSortable&&(!n||!this.noFooterSorting)){var r=!1,s=function(){var t=e.sortDirection||o.sortDirection;"asc"===t?o.localSortDesc=!1:"desc"===t&&(o.localSortDesc=!0)};e.sortable?(t===this.localSortBy?this.localSortDesc=!this.localSortDesc:(this.localSortBy=t,s()),r=!0):this.localSortBy&&!this.noSortReset&&(this.localSortBy=null,s(),r=!0),r&&this.$emit("sort-changed",this.context)}},sortTheadThClasses:function(t,e,i){return{}},sortTheadThAttrs:function(t,e,i){if(!this.isSortable||i&&this.noFooterSorting)return{};var n=e.sortable,o="";e.label&&e.label.trim()||e.headerTitle||(o=ru(t));var r="";if(n)if(this.localSortBy===t)r=this.localSortDesc?this.labelSortAsc:this.labelSortDesc;else{r=this.localSortDesc?this.labelSortDesc:this.labelSortAsc;var s=this.sortDirection||e.sortDirection;"asc"===s?r=this.labelSortAsc:"desc"===s&&(r=this.labelSortDesc)}else this.noSortReset||(r=this.localSortBy?this.labelSortClear:"");return{"aria-label":(o=[o.trim(),r.trim()].filter(Boolean).join(": "))||null,"aria-sort":n&&this.localSortBy===t?this.localSortDesc?"descending":"ascending":n?"none":null}}}},mu={props:{perPage:{type:[Number,String],default:0},currentPage:{type:[Number,String],default:1}},computed:{localPaging:function(){return!this.hasProvider||!!this.noProviderPaging},paginatedItems:function(){var t=this.sortedItems||[],e=Math.max(parseInt(this.currentPage,10)||1,1),i=Math.max(parseInt(this.perPage,10)||0,0);return this.localPaging&&i&&(t=t.slice((e-1)*i,e*i)),t}}},gu={props:{caption:{type:String,default:null},captionHtml:{type:String},captionTop:{type:Boolean,default:!1}},computed:{captionClasses:function(){return{"b-table-caption-top":this.captionTop}},captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var t=this.$createElement,e=this.normalizeSlot("table-caption",{}),i=t(!1);if(e||this.caption||this.captionHtml){var n={key:"caption",class:this.captionClasses,attrs:{id:this.captionId}};e||(n.domProps=Ki(this.captionHtml,this.caption)),i=t("caption",n,[e])}return i}}};function vu(t){if(t&&t.target){var e=t.target;if("TD"===e.tagName||"TH"===e.tagName||"TR"===e.tagName||e.disabled)return!1;if(ti(".dropdown-menu",e))return!0;var i="LABEL"===e.tagName?e:ti("label",e);return!(!i||!i.control||i.control.disabled)||Qe(e,au)}}function bu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=window;if(e&&e.getSelection&&""!==e.getSelection().toString()&&qe(t)){var i=e.getSelection();return!!i.containsNode&&i.containsNode(t,!0)}return!1}var yu={props:{headVariant:{type:String,default:""},theadClass:{type:[String,Array,Object],default:null},theadTrClass:{type:[String,Array,Object],default:null}},computed:{headClasses:function(){return[this.headVariant?"thead-"+this.headVariant:"",this.theadClass]}},methods:{fieldClasses:function(t){return[t.variant?"table-"+t.variant:"",t.class?t.class:"",t.thClass?t.thClass:""]},headClicked:function(t,e,i){this.stopIfBusy(t)||vu(t)||bu(this.$el)||(t.stopPropagation(),t.preventDefault(),this.$emit("head-clicked",e.key,e,t,i))},renderThead:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.$createElement;if(!0===this.isStacked)return i(!1);var n=this.computedFields||[],o=n.map(function(n,o){var r=null;n.label.trim()||n.headerTitle||(r=ru(n.key));var a=t.$listeners["head-clicked"]||t.isSortable,l={};a&&(l.click=function(i){t.headClicked(i,n,e)},l.keydown=function(i){var o=i.keyCode;o!==vn.ENTER&&o!==vn.SPACE||t.headClicked(i,n,e)});var u={key:n.key,class:[t.fieldClasses(n),t.sortTheadThClasses(n.key,n,e)],style:n.thStyle||{},attrs:s({tabindex:a?"0":null,abbr:n.headerAbbr||null,title:n.headerTitle||null,role:"columnheader",scope:"col","aria-colindex":String(o+1),"aria-label":r},t.sortTheadThAttrs(n.key,n,e)),on:l},c={label:n.label,column:n.key,field:n},d=e&&t.hasNormalizedSlot("FOOT_".concat(n.key))?t.normalizeSlot("FOOT_".concat(n.key),c):t.normalizeSlot("HEAD_".concat(n.key),c);return d?d=[d]:u.domProps=Ki(n.labelHtml),i("th",u,d||n.label)}).filter(function(t){return t}),r=[];if(e)r.push(i("tr",{class:this.tfootTrClass,attrs:{role:"row"}},o));else{var a={columns:n.length,fields:n};r.push(this.normalizeSlot("thead-top",a)||i(!1)),r.push(i("tr",{class:this.theadTrClass,attrs:{role:"row"}},o))}return i(e?"tfoot":"thead",{key:e?"tfoot":"thead",class:e?this.footClasses:this.headClasses,attrs:{role:"rowgroup"}},r)}}},Su={props:{footClone:{type:Boolean,default:!1},footVariant:{type:String,default:""},tfootClass:{type:[String,Array,Object],default:null},tfootTrClass:{type:[String,Array,Object],default:null}},computed:{footClasses:function(){var t=this.footVariant||this.headVariant||null;return[t?"thead-"+t:"",this.tfootClass]}},methods:{renderTfoot:function(){var t=this.$createElement;return this.footClone?this.renderThead(!0):t(!1)}}},wu={mixins:[{props:{tbodyTrClass:{type:[String,Array,Function],default:null}},methods:{tdClasses:function(t,e){var i="";return e._cellVariants&&e._cellVariants[t.key]&&(i="".concat(this.dark?"bg":"table","-").concat(e._cellVariants[t.key])),[t.variant&&!i?"".concat(this.dark?"bg":"table","-").concat(t.variant):"",i,t.class?t.class:"",this.getTdValues(e,t.key,t.tdClass,"")]},tdAttrs:function(t,e,i){var n={role:"cell","aria-colindex":String(i+1)};return t.isRowHeader&&(n.scope="row",n.role="rowheader"),this.isStacked&&(n["data-label"]=t.label),s({},n,this.getTdValues(e,t.key,t.tdAttr,{}))},rowClasses:function(t){return[t._rowVariant?"".concat(this.dark?"bg":"table","-").concat(t._rowVariant):"",le(this.tbodyTrClass)?this.tbodyTrClass(t,"row"):this.tbodyTrClass]},getTdValues:function(t,e,i,n){var o=this.$parent;if(i){var r=me(t,e,"");return le(i)?i(r,e,t):ce(i)&&le(o[i])?o[i](r,e,t):i}return n},getFormattedValue:function(t,e){var i=e.key,n=e.formatter,o=this.$parent,r=me(t,i,null);return n&&(le(n)?r=n(r,i,t):ce(n)&&le(o[n])&&(r=o[n](r,i,t))),se(r)||ae(r)?"":r},tbodyRowKeydown:function(t,e,i){var n=t.keyCode,o=t.target,r=this.$refs.itemRows;if(!this.stopIfBusy(t)&&o&&"TR"===o.tagName&&o===document.activeElement&&0===o.tabIndex&&(!r||0!==r.length)){var s=r.indexOf(o);if(n===vn.ENTER||n===vn.SPACE)t.stopPropagation(),t.preventDefault(),this.rowClicked(t,e,i);else if(jt([vn.UP,vn.DOWN,vn.HOME,vn.END],n)){t.stopPropagation(),t.preventDefault();var a=t.shiftKey;n===vn.HOME||a&&n===vn.UP?r[0].focus():n===vn.END||a&&n===vn.DOWN?r[r.length-1].focus():n===vn.UP&&s>0?r[s-1].focus():n===vn.DOWN&&s<r.length-1&&r[s+1].focus()}}},rowClicked:function(t,e,i){this.stopIfBusy(t)||vu(t)||bu(this.$el)||this.$emit("row-clicked",e,i,t)},middleMouseRowClicked:function(t,e,i){this.stopIfBusy(t)||this.$emit("row-middle-clicked",e,i,t)},rowDblClicked:function(t,e,i){this.stopIfBusy(t)||vu(t)||this.$emit("row-dblclicked",e,i,t)},rowHovered:function(t,e,i){this.stopIfBusy(t)||this.$emit("row-hovered",e,i,t)},rowUnhovered:function(t,e,i){this.stopIfBusy(t)||this.$emit("row-unhovered",e,i,t)},rowContextmenu:function(t,e,i){this.stopIfBusy(t)||this.$emit("row-contextmenu",e,i,t)},renderTbodyRowCell:function(t,e,i,n){var o=this,r=this.$createElement,s=this.$scopedSlots,a=s["row-details"],l=this.selectedRows[n],u=this.getFormattedValue(i,t),c={key:"row-".concat(n,"-cell-").concat(e,"-").concat(t.key),class:this.tdClasses(t,i),attrs:this.tdAttrs(t,i,e)},d={item:i,index:n,field:t,unformatted:me(i,t.key,""),value:u,toggleDetails:function(){a&&o.$set(i,"_showDetails",!i._showDetails)},detailsShowing:Boolean(i._showDetails),rowSelected:Boolean(l)},h=s[t.key]?s[t.key](d):Pi(u);return this.isStacked&&(h=[r("div",{},[h])]),r(t.isRowHeader?"th":"td",c,[h])},renderTbodyRow:function(t,e){var i=this,n=this.$createElement,o=this.$scopedSlots,r=this.computedFields,a=this.striped,l=this.$listeners["row-clicked"]||this.selectable,u=o["row-details"],c=Boolean(t._showDetails&&u),d=[],h=c?this.safeId("_details_".concat(e,"_")):null,f=r.map(function(n,o){return i.renderTbodyRowCell(n,o,t,e)}),p=null;this.currentPage&&this.perPage&&this.perPage>0&&(p=String((this.currentPage-1)*this.perPage+e+1));var m=this.primaryKey,g=!m||se(t[m])||ae(t[m])?String(e):Pi(t[m]),v=!m||se(t[m])||ae(t[m])?null:this.safeId("_row_".concat(t[m])),b={};if(l&&(b.click=function(n){i.rowClicked(n,t,e)},b.keydown=function(n){i.tbodyRowKeydown(n,t,e)}),d.push(n("tr",{key:"__b-table-row-".concat(g,"__"),ref:"itemRows",refInFor:!0,class:[this.rowClasses(t),this.selectableRowClasses(e),{"b-table-has-details":c}],attrs:s({id:v,tabindex:l?"0":null,"data-pk":v?String(t[m]):null,"aria-describedby":h,"aria-owns":h,"aria-rowindex":p,role:"row"},this.selectableRowAttrs(e)),on:s({},b,{auxclick:function(n){2===n.which&&i.middleMouseRowClicked(n,t,e)},contextmenu:function(n){i.rowContextmenu(n,t,e)},dblclick:function(n){i.rowDblClicked(n,t,e)},mouseenter:function(n){i.rowHovered(n,t,e)},mouseleave:function(n){i.rowUnhovered(n,t,e)}})},f)),c){var y={id:h,role:"row"},S=n("td",{attrs:{colspan:String(r.length),role:"cell"}},[u({item:t,index:e,fields:r,toggleDetails:function(){u&&i.$set(t,"_showDetails",!t._showDetails)}})]);a&&d.push(n("tr",{key:"__b-table-details-".concat(e,"-stripe__"),staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"}})),d.push(n("tr",{key:"__b-table-details-".concat(e,"__"),staticClass:"b-table-details",class:[le(this.tbodyTrClass)?this.tbodyTrClass(t,"row-details"):this.tbodyTrClass],attrs:y},[S]))}else u&&(d.push(n(!1)),a&&d.push(n(!1)));return d}}},{props:{showEmpty:{type:Boolean,default:!1},emptyText:{type:String,default:"There are no records to show"},emptyHtml:{type:String},emptyFilteredText:{type:String,default:"There are no records matching your request"},emptyFilteredHtml:{type:String}},methods:{renderEmpty:function(){var t,e=this.$createElement,i=this.computedItems;return!this.showEmpty||i&&0!==i.length||this.computedBusy&&this.hasNormalizedSlot("table-busy")||((t=this.normalizeSlot(this.isFiltered?"emptyfiltered":"empty",{emptyFilteredHtml:this.emptyFilteredHtml,emptyFilteredText:this.emptyFilteredText,emptyHtml:this.emptyHtml,emptyText:this.emptyText,fields:this.computedFields,items:this.computedItems}))||(t=e("div",{class:["text-center","my-2"],domProps:this.isFiltered?Ki(this.emptyFilteredHtml,this.emptyFilteredText):Ki(this.emptyHtml,this.emptyText)})),t=e("td",{attrs:{colspan:String(this.computedFields.length),role:"cell"}},[e("div",{attrs:{role:"alert","aria-live":"polite"}},[t])]),t=e("tr",{key:this.isFiltered?"_b-table-empty-filtered-row_":"_b-table-empty-row_",staticClass:"b-table-empty-row",class:[le(this.tbodyTrClass)?this.tbodyTrClass(null,"row-empty"):this.tbodyTrClass],attrs:{role:"row"}},[t])),t||e(!1)}}},{methods:{renderTopRow:function(){var t=this.$createElement;if(!this.hasNormalizedSlot("top-row")||!0===this.isStacked)return t(!1);var e=this.computedFields;return t("tr",{key:"top-row",staticClass:"b-table-top-row",class:[le(this.tbodyTrClass)?this.tbodyTrClass(null,"row-top"):this.tbodyTrClass],attrs:{role:"row"}},[this.normalizeSlot("top-row",{columns:e.length,fields:e})])}}},{methods:{renderBottomRow:function(){var t=this.$createElement;if(!this.hasNormalizedSlot("bottom-row")||!0===this.isStacked)return t(!1);var e=this.computedFields;return t("tr",{key:"__b-table-bottom-row__",staticClass:"b-table-bottom-row",class:[le(this.tbodyTrClass)?this.tbodyTrClass(null,"row-bottom"):this.tbodyTrClass],attrs:{role:"row"}},this.normalizeSlot("bottom-row",{columns:e.length,fields:e}))}}}],props:{tbodyClass:{type:[String,Array],default:null},tbodyTransitionProps:{type:Object},tbodyTransitionHandlers:{type:Object}},methods:{renderTbody:function(){var t=this,e=this.$createElement,i=this.computedItems,n=[],o=this.renderBusy();o?n.push(o):(n.push(this.renderTopRow()),i.forEach(function(e,i){n.push(t.renderTbodyRow(e,i))}),n.push(this.renderEmpty()),n.push(this.renderBottomRow()));var r=this.tbodyTransitionProps||this.tbodyTransitionHandlers,a={},l={};return r&&(l=this.tbodyTransitionHandlers||{},a=s({},this.tbodyTransitionProps||{},{tag:"tbody"})),e(r?"transition-group":"tbody",{props:a,on:l,class:[this.tbodyClass],attrs:{role:"rowgroup"}},n)}}},Bu={props:{busy:{type:Boolean,default:!1}},data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this.busy||this.localBusy}},watch:{localBusy:function(t,e){t!==e&&this.$emit("update:busy",t)}},methods:{stopIfBusy:function(t){return!!this.computedBusy&&(t.preventDefault(),t.stopPropagation(),!0)},renderBusy:function(){var t=this.$createElement;if(this.computedBusy&&this.hasNormalizedSlot("table-busy")){var e={role:this.isStacked?"row":null},i={colspan:String(this.computedFields.length),role:this.isStacked?"cell":null};return t("tr",{key:"table-busy-slot",staticClass:"b-table-busy-slot",class:[le(this.tbodyTrClass)?this.tbodyTrClass(null,"table-busy"):this.tbodyTrClass],attrs:e},[t("td",{attrs:i},[this.normalizeSlot("table-busy",{})])])}return null}}},Tu={props:{selectable:{type:Boolean,default:!1},selectMode:{type:String,default:"multi"},selectedVariant:{type:String,default:"primary"}},data:function(){return{selectedRows:[],selectedLastRow:-1}},computed:{selectableTableClasses:function(){var t,e=this.selectable,i=e&&this.selectedRows&&this.selectedRows.some(Boolean);return r(t={"b-table-selectable":e},"b-table-select-".concat(this.selectMode),e),r(t,"b-table-selecting",i),t},selectableTableAttrs:function(){return{"aria-multiselectable":this.selectableIsMultiSelect}},selectableIsMultiSelect:function(){return this.selectable?jt(["range","multi"],this.selectMode)?"true":"false":null}},watch:{computedItems:function(t,e){this.selectedLastRow=-1;var i=!1;if(this.selectable&&this.selectedRows.length>0){i=Ht(t)&&Ht(e)&&t.length===e.length;for(var n=0;i&&n<t.length;n++)i=Ns(cu(t[n]),cu(e[n]))}i||this.clearSelected()},selectable:function(t,e){this.clearSelected(),this.setSelectionHandlers(t)},selectMode:function(t,e){this.clearSelected()},selectedRows:function(t,e){var i=this;if(this.selectable&&!Ns(t,e)){var n=[];t.forEach(function(t,e){t&&n.push(i.computedItems[e])}),this.$emit("row-selected",n)}}},beforeMount:function(){this.selectable&&this.setSelectionHandlers(!0)},methods:{isRowSelected:function(t){return Boolean(this.selectedRows[t])},selectableRowClasses:function(t){var e=this.isRowSelected(t),i=this.dark?"bg":"table",n=this.selectedVariant;return r({"b-table-row-selected":this.selectable&&e},"".concat(i,"-").concat(n),this.selectable&&e&&n)},selectableRowAttrs:function(t){return{"aria-selected":this.selectable?this.isRowSelected(t)?"true":"false":null}},clearSelected:function(){this.selectedRows.reduce(function(t,e){return t||e},!1)&&(this.selectedLastClicked=-1,this.selectedRows=[])},setSelectionHandlers:function(t){var e=t?"$on":"$off";this[e]("row-clicked",this.selectionHandler),this[e]("filtered",this.clearSelected),this[e]("context-changed",this.clearSelected)},selectionHandler:function(t,e,i){if(this.selectable){var n=this.selectedRows.slice(),o=!n[e],r=this.selectMode;if("single"===r)n=[];else if("range"===r)if(this.selectedLastRow>-1&&i.shiftKey){for(var s=Math.min(this.selectedLastRow,e);s<=Math.max(this.selectedLastRow,e);s++)n[s]=!0;o=!0}else i.ctrlKey||i.metaKey||(n=[],o=!0),this.selectedLastRow=o?e:-1;n[e]=o,this.selectedRows=n}else this.clearSelected()}}},ku={mixins:[No],props:{noProviderPaging:{type:Boolean,default:!1},noProviderSorting:{type:Boolean,default:!1},noProviderFiltering:{type:Boolean,default:!1},apiUrl:{type:String,default:""}},computed:{hasProvider:function(){return this.items instanceof Function},providerTriggerContext:function(){var t={apiUrl:this.apiUrl};return this.noProviderFiltering||(t.filter=this.localFilter),this.noProviderSorting||(t.sortBy=this.localSortBy,t.sortDesc=this.localSortDesc),this.noProviderPaging||(t.perPage=this.perPage,t.currentPage=this.currentPage),t}},watch:{items:function(t,e){(this.hasProvider||t instanceof Function)&&this.$nextTick(this._providerUpdate)},providerTriggerContext:function(t,e){Ns(t,e)||this.$nextTick(this._providerUpdate)}},mounted:function(){var t=this;!this.hasProvider||this.localItems&&0!==this.localItems.length||this._providerUpdate(),this.listenOnRoot("bv::refresh::table",function(e){e!==t.id&&e!==t||t.refresh()})},methods:{refresh:function(){this.$off("refreshed",this.refresh),this.computedBusy?this.localBusy&&this.hasProvider&&this.$on("refreshed",this.refresh):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=Ht(this.items)?this.items.slice():[])},_providerSetLocal:function(t){this.localItems=Ht(t)?t.slice():[],this.localBusy=!1,this.$emit("refreshed"),this.id&&this.emitOnRoot("bv::table::refreshed",this.id)},_providerUpdate:function(){this.hasProvider&&(this.computedBusy?this.$nextTick(this.refresh):(this.localBusy=!0,this.$nextTick(function(){var t=this;try{var e=this.items(this.context,this._providerSetLocal);e&&e.then&&le(e.then)?e.then(function(e){t._providerSetLocal(e)}):Ht(e)?this._providerSetLocal(e):2!==this.items.length&&(xe("b-table provider function didn't request callback and did not return a promise or data"),this.localBusy=!1)}catch(t){xe("b-table provider function error [".concat(t.name,"] ").concat(t.message)),this.localBusy=!1,this.$off("refreshed",this.refresh)}})))}}},$u={install:Bi({components:{BTable:t.extend({name:"BTable",mixins:[co,na,uu,fu,pu,mu,Bu,gu,{methods:{renderColgroup:function(){var t=this.$createElement,e=this.computedFields,i=t(!1);return this.hasNormalizedSlot("table-colgroup")&&(i=t("colgroup",{key:"colgroup"},[this.normalizeSlot("table-colgroup",{columns:e.length,fields:e})])),i}}},yu,Su,wu,Tu,ku],inheritAttrs:!1,props:{striped:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},hover:{type:Boolean,default:!1},small:{type:Boolean,default:!1},fixed:{type:Boolean,default:!1},responsive:{type:[Boolean,String],default:!1},stacked:{type:[Boolean,String],default:!1},tableClass:{type:[String,Array,Object],default:null},value:{type:Array,default:function(){return[]}}},data:function(){return{}},computed:{isStacked:function(){return""===this.stacked||this.stacked},isResponsive:function(){var t=""===this.responsive||this.responsive;return!this.isStacked&&t},responsiveClass:function(){return!0===this.isResponsive?"table-responsive":this.isResponsive?"table-responsive-".concat(this.responsive):""},tableClasses:function(){return[this.tableClass,r({"table-striped":this.striped,"table-hover":this.hover&&this.computedItems.length>0&&!this.computedBusy,"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-stacked":!0===this.stacked||""===this.stacked},"b-table-stacked-".concat(this.stacked),!0!==this.stacked&&this.stacked),this.selectableTableClasses]},tableAttrs:function(){var t=[(this.$attrs||{})["aria-describedby"],this.captionId].filter(Boolean).join(" ")||null,e=this.computedItems,i=this.computedFields;return s({"aria-rowcount":this.filteredItems.length>e.length?String(this.filteredItems.length):null},this.$attrs,{id:this.safeId(),role:this.isStacked?"table":null,"aria-busy":this.computedBusy?"true":"false","aria-colcount":String(i.length),"aria-describedby":t},this.selectableTableAttrs)},context:function(){return{filter:this.localFilter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,perPage:parseInt(this.perPage,10)||0,currentPage:parseInt(this.currentPage,10)||1,apiUrl:this.apiUrl}},computedItems:function(){return this.paginatedItems||[]}},watch:{computedItems:function(t,e){this.$emit("input",t)},context:function(t,e){Ns(t,e)||this.$emit("context-changed",t)}},mounted:function(){this.$emit("input",this.computedItems)},render:function(t){var e=this.renderCaption(),i=this.renderColgroup(),n=this.renderThead(),o=this.renderTfoot(),r=this.renderTbody(),s=t("table",{key:"b-table",staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs},[e,i,n,o,r]);return this.isResponsive?t("div",{key:"b-table-responsive",class:this.responsiveClass},[s]):s}})}})},Cu=ne(Wa,["tabs","isNavBar"]),xu=function(t){return!t.disabled},_u=t.extend({name:"BTabButtonHelper",inject:{bvTabs:{default:function(){return{}}}},props:{tab:{default:null},tabs:{type:Array,default:function(){return[]}},id:{type:String,default:null},controls:{type:String,default:null},tabIndex:{type:Number,default:null},posInSet:{type:Number,default:null},setSize:{type:Number,default:null},noKeyNav:{type:Boolean,default:!1}},methods:{focus:function(){this.$refs&&this.$refs.link&&this.$refs.link.focus&&this.$refs.link.focus()},handleEvt:function(t){function e(){t.preventDefault(),t.stopPropagation()}if(!this.tab.disabled){var i=t.type,n=t.keyCode,o=t.shiftKey;"click"===i?(e(),this.$emit("click",t)):"keydown"!==i||this.noKeyNav||n!==vn.SPACE?"keydown"!==i||this.noKeyNav||(n===vn.UP||n===vn.LEFT||n===vn.HOME?(e(),o||n===vn.HOME?this.$emit("first",t):this.$emit("prev",t)):n!==vn.DOWN&&n!==vn.RIGHT&&n!==vn.END||(e(),o||n===vn.END?this.$emit("last",t):this.$emit("next",t))):(e(),this.$emit("click",t))}}},render:function(t){var e=t(ji,{ref:"link",staticClass:"nav-link",class:[{active:this.tab.localActive&&!this.tab.disabled,disabled:this.tab.disabled},this.tab.titleLinkClass,this.tab.localActive?this.bvTabs.activeNavItemClass:null],props:{href:this.tab.href,disabled:this.tab.disabled},attrs:{role:"tab",id:this.id,tabindex:this.tabIndex,"aria-selected":this.tab.localActive&&!this.tab.disabled?"true":"false","aria-setsize":this.setSize,"aria-posinset":this.posInSet,"aria-controls":this.controls},on:{click:this.handleEvt,keydown:this.handleEvt}},[this.tab.$slots.title||this.tab.title]);return t("li",{staticClass:"nav-item",class:[this.tab.titleItemClass],attrs:{role:"presentation"}},[e])}}),Eu=t.extend({name:"BTabs",mixins:[co],provide:function(){return{bvTabs:this}},model:{prop:"value",event:"input"},props:s({},Cu,{tag:{type:String,default:"div"},card:{type:Boolean,default:!1},bottom:{type:Boolean,default:!1},end:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},noNavStyle:{type:Boolean,default:!1},noKeyNav:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object],default:null},navClass:{type:[String,Array,Object],default:null},navWrapperClass:{type:[String,Array,Object],default:null},activeNavItemClass:{type:[String,Array,Object],default:null},activeTabClass:{type:[String,Array,Object],default:null},value:{type:Number,default:null}}),data:function(){var t=parseInt(this.value,10);return{currentTab:t=isNaN(t)?-1:t,tabs:[]}},computed:{fade:function(){return!this.noFade},navStyle:function(){return this.pills?"pills":"tabs"},localNavClass:function(){var t=[];return this.card&&(this.vertical?t.push("card-header","h-100","border-bottom-0","rounded-0"):t.push("card-header-".concat(this.navStyle))),[].concat(t,[this.navClass])}},watch:{currentTab:function(t,e){var i=-1;this.tabs.forEach(function(e,n){t!==n||e.disabled?e.localActive=!1:(e.localActive=!0,i=n)}),this.$emit("input",i)},value:function(t,e){if(t!==e){t=parseInt(t,10),t=isNaN(t)?-1:t,e=parseInt(e,10)||0;var i=this.tabs;i[t]&&!i[t].disabled?this.currentTab=t:t<e?this.previousTab():this.nextTab()}}},created:function(){var t=this,e=parseInt(this.value,10);this.currentTab=isNaN(e)?-1:e,this._bvObserver=null,this.$nextTick(function(){t.updateTabs()})},mounted:function(){var t=this;this.$nextTick(function(){t.updateTabs(),t.setObserver(!0)})},deactivated:function(){this.setObserver(!1)},activated:function(){var t=this,e=parseInt(this.value,10);this.currentTab=isNaN(e)?-1:e,this.$nextTick(function(){t.updateTabs(),t.setObserver(!0)})},beforeDestroy:function(){this.setObserver(!1)},methods:{setObserver:function(t){t?(this.setObserver(!1),this._bvObserver=uo(this.$refs.tabsContainer,this.updateTabs.bind(this),{childList:!0,subtree:!1,attributes:!0,attributeFilter:["style","class"]})):(this._bvObserver&&this._bvObserver.disconnect&&this._bvObserver.disconnect(),this._bvObserver=null)},getTabs:function(){return(this.$slots.default||[]).map(function(t){return t.componentInstance}).filter(function(t){return t&&t._isTab})},updateTabs:function(){var t=this.getTabs(),e=t.indexOf(t.slice().reverse().find(function(t){return t.localActive&&!t.disabled}));if(e<0){var i=this.currentTab;i>=t.length?e=t.indexOf(t.slice().reverse().find(xu)):t[i]&&!t[i].disabled&&(e=i)}e<0&&(e=t.indexOf(t.find(xu))),t.forEach(function(t,e){t.localActive=!1}),t[e]&&(t[e].localActive=!0),this.tabs=t,this.currentTab=e},getButtonForTab:function(t){return(this.$refs.buttons||[]).find(function(e){return e.tab===t})},updateButton:function(t){var e=this.getButtonForTab(t);e&&e.$forceUpdate&&e.$forceUpdate()},activateTab:function(t){var e=!1;if(t){var i=this.tabs.indexOf(t);!t.disabled&&i>-1&&(e=!0,this.currentTab=i)}return e||this.$emit("input",this.currentTab),e},deactivateTab:function(t){return!!t&&this.activateTab(this.tabs.filter(function(e){return e!==t}).find(xu))},focusButton:function(t){var e=this;this.$nextTick(function(){var i=e.getButtonForTab(t);i&&i.focus&&i.focus()})},emitTabClick:function(t,e){e&&e instanceof Event&&t&&t.$emit&&!t.disabled&&t.$emit("click",e)},clickTab:function(t,e){this.activateTab(t),this.emitTabClick(t,e)},firstTab:function(t){var e=this.tabs.find(xu);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))},previousTab:function(t){var e=Math.max(this.currentTab,0),i=this.tabs.slice(0,e).reverse().find(xu);this.activateTab(i)&&t&&(this.focusButton(i),this.emitTabClick(i,t))},nextTab:function(t){var e=Math.max(this.currentTab,-1),i=this.tabs.slice(e+1).find(xu);this.activateTab(i)&&t&&(this.focusButton(i),this.emitTabClick(i,t))},lastTab:function(t){var e=this.tabs.slice().reverse().find(xu);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))}},render:function(t){var e=this,i=this.tabs,n=i.find(function(t){return t.localActive&&!t.disabled}),o=i.find(function(t){return!t.disabled}),r=i.map(function(r,s){var a=null;return e.noKeyNav||(a=-1,(n===r||!n&&o===r)&&(a=null)),t(_u,{key:r._uid||s,ref:"buttons",refInFor:!0,props:{tab:r,tabs:i,id:r.controlledBy||(e.tab&&e.tab.safeId?e.tab.safeId("_BV_tab_button_"):null),controls:e.tab&&e.tab.safeId?e.tab.safeId():null,tabIndex:a,setSize:i.length,posInSet:s+1,noKeyNav:e.noKeyNav},on:{click:function(t){e.clickTab(r,t)},first:e.firstTab,prev:e.previousTab,next:e.nextTab,last:e.lastTab}})}),s=t(Ua,{ref:"nav",class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:this.fill,justified:this.justified,align:this.align,tabs:!this.noNavStyle&&!this.pills,pills:!this.noNavStyle&&this.pills,vertical:this.vertical,small:this.small}},[r,this.$slots.tabs]);s=t("div",{key:"bv-tabs-nav",class:[{"card-header":this.card&&!this.vertical&&!(this.end||this.bottom),"card-footer":this.card&&!this.vertical&&(this.end||this.bottom),"col-auto":this.vertical},this.navWrapperClass]},[s]);var a=t(!1);i&&0!==i.length||(a=t("div",{key:"empty-tab",class:["tab-pane","active",{"card-body":this.card}]},this.$slots.empty));var l=t("div",{ref:"tabsContainer",key:"bv-tabs-container",staticClass:"tab-content",class:[{col:this.vertical},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")}},[this.$slots.default,a]);return t(this.tag,{staticClass:"tabs",class:{row:this.vertical,"no-gutters":this.vertical&&this.card},attrs:{id:this.safeId()}},[this.end||this.bottom?l:t(!1),[s],this.end||this.bottom?t(!1):l])}}),Ou='Setting prop "href" is deprecated. Use the <b-nav> component instead.',Pu={install:Bi({components:{BTabs:Eu,BTab:t.extend({name:"BTab",mixins:[co],inject:{bvTabs:{default:function(){return{noKeyNav:!0}}}},props:{active:{type:Boolean,default:!1},tag:{type:String,default:"div"},buttonId:{type:String,default:""},title:{type:String,default:""},titleItemClass:{type:[String,Array,Object],default:null},titleLinkClass:{type:[String,Array,Object],default:null},headHtml:{type:String,default:null},disabled:{type:Boolean,default:!1},noBody:{type:Boolean,default:!1},href:{type:String,default:"#",deprecated:Ou},lazy:{type:Boolean,default:!1}},data:function(){return{localActive:this.active&&!this.disabled,show:!1}},computed:{tabClasses:function(){return[{show:this.show,active:this.localActive,fade:this.computedFade,disabled:this.disabled,"card-body":this.bvTabs.card&&!this.noBody},this.localActive?this.bvTabs.activeTabClass:null]},controlledBy:function(){return this.buttonId||this.safeId("__BV_tab_button__")},computedFade:function(){return this.bvTabs.fade||!1},computedLazy:function(){return this.bvTabs.lazy||this.lazy},_isTab:function(){return!0}},watch:{localActive:function(t,e){this.$emit("update:active",t)},active:function(t,e){t!==e&&(t?this.activate():this.deactivate()||this.$emit("update:active",this.localActive))},disabled:function(t,e){t!==e&&t&&this.localActive&&this.bvTabs.firstTab&&(this.localActive=!1,this.bvTabs.firstTab())}},mounted:function(){this.show=this.localActive,this.href&&"#"!==this.href&&xe("b-tab: ".concat(Ou))},updated:function(){this.$slots.title&&this.bvTabs.updateButton&&this.bvTabs.updateButton(this)},methods:{beforeEnter:function(){var t=this;je(function(){t.show=!0})},beforeLeave:function(){this.show=!1},activate:function(){return!(!this.bvTabs.activateTab||this.disabled)&&this.bvTabs.activateTab(this)},deactivate:function(){return!(!this.bvTabs.deactivateTab||!this.localActive)&&this.bvTabs.deactivateTab(this)}},render:function(t){var e=t(this.tag,{ref:"panel",staticClass:"tab-pane",class:this.tabClasses,directives:[{name:"show",rawName:"v-show",value:this.localActive,expression:"localActive"}],attrs:{role:"tabpanel",id:this.safeId(),tabindex:this.localActive&&!this.bvTabs.noKeyNav?"0":null,"aria-hidden":this.localActive?"false":"true","aria-labelledby":this.controlledBy||null}},[this.localActive||!this.computedLazy?this.$slots.default:t(!1)]);return t("transition",{props:{mode:"out-in","enter-class":"","enter-active-class":"","enter-to-class":"","leave-class":"","leave-active-class":"","leave-to-class":""},on:{beforeEnter:this.beforeEnter,beforeLeave:this.beforeLeave}},[e])}})}})};function Iu(t){return(Iu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Fu(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Nu(t,e){return e.reduce(function(e,i){return t.hasOwnProperty(i)&&(e[i]=t[i]),e},{})}var Du={},Au={},Lu={},Vu=new(t.extend({data:function(){return{transports:Du,targets:Au,sources:Lu,trackInstances:!0}},methods:{open:function(e){var i=e.to,n=e.from,o=e.passengers,r=e.order,s=void 0===r?1/0:r;if(i&&n&&o){var a,l={to:i,from:n,passengers:(a=o,Array.isArray(a)||"object"===Iu(a)?Object.freeze(a):a),order:s};-1===Object.keys(this.transports).indexOf(i)&&t.set(this.transports,i,[]);var u,c=this.$_getTransportIndex(l),d=this.transports[i].slice(0);-1===c?d.push(l):d[c]=l,this.transports[i]=(u=function(t,e){return t.order-e.order},d.map(function(t,e){return[e,t]}).sort(function(t,e){return u(t[1],e[1])||t[0]-e[0]}).map(function(t){return t[1]}))}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.to,n=t.from;if(i&&n&&this.transports[i])if(e)this.transports[i]=[];else{var o=this.$_getTransportIndex(t);if(o>=0){var r=this.transports[i].slice(0);r.splice(o,1),this.transports[i]=r}}},registerTarget:function(t,e,i){this.trackInstances&&!i&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e]))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,i){this.trackInstances&&!i&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e]))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,i=t.from;for(var n in this.transports[e])if(this.transports[e][n].from===i)return+n;return-1}}}))(Du),Mu=1,Ru=t.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(Mu++)}},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(){Vu.registerSource(this.name,this)},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){Vu.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};Vu.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"==typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:Fu(t),order:this.order};Vu.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],i=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(i,[this.normalizeOwnChildren(e)]):this.slim?t():t(i,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),Hu=t.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:Vu.transports,firstRender:!0}},created:function(){Vu.registerTarget(this.name,this)},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){Vu.unregisterTarget(e),Vu.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick(function(){t.firstRender=!1})},beforeDestroy:function(){Vu.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce(function(t,i){var n=i.passengers[0],o="function"==typeof n?n(e):i.passengers;return t.concat(o)},[])}(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 t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),i=this.children(),n=this.transition||this.tag;return e?i[0]:this.slim&&!n?t():t(n,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},i)}}),ju=0,zu=["disabled","name","order","slim","slotProps","tag","to"],Gu=["multiple","transition"],Wu=(t.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(ju++)}},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},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]},transitionGroup:{type:Boolean}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(Vu.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n        Aborting because 'bail: true' is set")):this.portalTarget=Vu.targets[e.name];else{var i=e.append;if(i){var n="string"==typeof i?i:"DIV",o=document.createElement(n);t.appendChild(o),t=o}var r=Nu(this.$props,Gu);r.tag=this.targetTag,r.slotSprop=this.targetSlotProps,r.name=this.to,this.portalTarget=new Hu({el:t,parent:this.$parent||this,propsData:r})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=Nu(this.$props,zu);return t(Ru,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var i=this.$scopedSlots.manual({to:this.to});return Array.isArray(i)&&(i=i[0]),i||t()}}),{name:{type:String,required:!0},ariaLive:{type:String,default:"polite"},ariaAtomic:{type:String,default:"true"},role:{type:String,default:null}}),Uu=t.extend({data:function(){return{name:"b-toaster"}},methods:{onAfterEnter:function(t){var e=this;je(function(){ni(t,"".concat(e.name,"-enter-to"))})}},render:function(t){return t("transition-group",{props:{tag:"div",name:this.name},on:{afterEnter:this.onAfterEnter}},this.$slots.default)}}),qu=t.extend({name:"BToaster",props:Wu,data:function(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount:function(){var t=this;this.staticName=this.name,Vu.hasTarget(this.staticName)?(xe("b-toaster: A <portal-target> with name '".concat(this.name,"' already exists in the document.")),this.dead=!0):(this.doRender=!0,this.$once("hook:beforeDestroy",function(){t.$root.$emit("bv::toaster::destroyed",t.staticName)}))},destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},render:function(t){var e=t("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var i=t(Hu,{staticClass:"b-toaster-slot",attrs:{role:this.role,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic},props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:Uu}});e=t("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName}},[i])}return e}}),Ku={id:{type:String,default:null},visible:{type:Boolean,default:!1},title:{type:String,default:null},variant:{type:String,default:null},toaster:{type:String,default:function(){return Ne("BToast","toaster")||"b-toaster-top-right"}},isStatus:{type:Boolean,default:!1},appendToast:{type:Boolean,default:!1},noAutoHide:{type:Boolean,default:!1},autoHideDelay:{type:[Number,String],default:5e3},noCloseButton:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},noHoverPause:{type:Boolean,default:!1},solid:{type:Boolean,default:!1},toastClass:{type:[String,Object,Array],default:""},headerClass:{type:[String,Object,Array],default:""},bodyClass:{type:[String,Object,Array],default:""},href:{type:String,default:null},to:{type:[String,Object],default:null},static:{type:Boolean,default:!1}},Xu={name:"",enterClass:"",enterActiveClass:"",enterToClass:"",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},Yu=t.extend({name:"BToast",mixins:[No,na],inheritAttrs:!1,model:{prop:"visible",event:"change"},props:Ku,data:function(){return{isMounted:!1,doRender:!1,localShow:!1,showClass:!1,isTransitioning:!1,order:0,timer:null,dismissStarted:0,resumeDismiss:0}},computed:{toastClasses:function(){return[this.toastClass,{show:this.showClass,fade:!this.noFade}]},bToastClasses:function(){return r({"b-toast-solid":this.solid,"b-toast-append":this.appendToast,"b-toast-prepend":!this.appendToast},"b-toast-".concat(this.variant),this.variant)},slotScope:function(){return{hide:this.hide}},computedDuration:function(){return Math.max(parseInt(this.autoHideDelay,10)||0,1e3)},transitionHandlers:function(){return{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,afterLeave:this.onAfterLeave}}},watch:{visible:function(t){t?this.show():this.hide()},localShow:function(t){t!==this.visible&&this.$emit("change",t)},toaster:function(t){var e=this;this.$nextTick(function(){return e.ensureToaster})},static:function(t){t&&this.localShow&&this.ensureToaster()}},mounted:function(){var t=this;this.isMounted=!0,this.$nextTick(function(){t.visible&&je(function(){t.show()})}),this.listenOnRoot("bv::show::toast",function(e){e===t.id&&t.show()}),this.listenOnRoot("bv::hide::toast",function(e){e&&e!==t.id||t.hide()}),this.listenOnRoot("bv::toaster::destroyed",function(e){e===t.toaster&&t.hide()})},beforeDestroy:function(){this.clearDismissTimer()},methods:{show:function(){var t=this;if(!this.localShow){this.ensureToaster();var e=this.buildEvent("show");this.emitEvent(e),this.dismissStarted=this.resumeDismiss=0,this.order=Date.now()*(this.appendToast?1:-1),this.doRender=!0,this.$nextTick(function(){t.localShow=!0})}},hide:function(){if(this.localShow){var t=this.buildEvent("hide");this.emitEvent(t),this.setHoverHandler(!1),this.dismissStarted=this.resumeDismiss=0,this.clearDismissTimer(),this.localShow=!1}},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Gr(t,s({cancelable:!1,target:this.$el,relatedTarget:null},e,{vueTarget:this,componentId:this.id||null,toastId:this.id||null}))},emitEvent:function(t){var e=t.type;this.$root.$emit("bv::toast:".concat(e),t),this.$emit(e,t)},ensureToaster:function(){if(!this.static&&!Vu.hasTarget(this.toaster)){var t=document.createElement("div");document.body.append(t),new qu({parent:this.$root,propsData:{name:this.toaster}}).$mount(t)}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.timer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.timer),this.timer=null},setHoverHandler:function(t){var e=t?We:Ue;e(this.$refs.btoast,"mouseenter",this.onPause,{passive:!0,capture:!1}),e(this.$refs.btoast,"mouseleave",this.onUnPause,{passive:!0,capture:!1})},onPause:function(t){if(!this.noAutoHide&&!this.noHoverPause&&this.timer&&!this.resumeDismiss){var e=Date.now()-this.dismissStarted;e>0&&(this.clearDismissTimer(),this.resumeDismiss=Math.max(this.computedDuration-e,1e3))}},onUnPause:function(t){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick:function(){var t=this;this.$nextTick(function(){je(function(){t.hide()})})},onBeforeEnter:function(){var t=this;this.isTransitioning=!0,je(function(){t.showClass=!0})},onAfterEnter:function(){this.isTransitioning=!1;var t=this.buildEvent("shown");this.emitEvent(t),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){var t=this;this.isTransitioning=!0,je(function(){t.showClass=!1})},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var t=this.buildEvent("hidden");this.emitEvent(t),this.doRender=!1},makeToast:function(t){var e=this,i=[],n=this.normalizeSlot("toast-title",this.slotScope);n?i.push(n):this.title&&i.push(t("strong",{staticClass:"mr-2"},this.title)),this.noCloseButton||i.push(t(vi,{staticClass:"ml-auto mb-1",on:{click:function(t){e.hide()}}}));var o=t(!1);i.length>0&&(o=t("header",{staticClass:"toast-header",class:this.headerClass},i));var r=this.href||this.to,a=t(r?ji:"div",{staticClass:"toast-body",class:this.bodyClass,props:r?{to:this.to,href:this.href}:{},on:r?{click:this.onLinkClick}:{}},[this.normalizeSlot("default",this.slotScope)||t(!1)]);return t("div",{key:"toast",ref:"toast",staticClass:"toast",class:this.toastClasses,attrs:s({},this.$attrs,{id:this.id||null,tabindex:"-1",role:this.isStatus?"status":"alert","aria-live":this.isStatus?"polite":"assertive","aria-atomic":"true"})},[o,a])}},render:function(t){if(!this.doRender||!this.isMounted)return t(!1);var e="b-toast-".concat(this._uid);return t(Ru,{props:{name:e,to:this.toaster,order:this.order,slim:!0,disabled:this.static}},[t("div",{key:e,ref:"btoast",staticClass:"b-toast",class:this.bToastClasses},[t("transition",{props:Xu,on:this.transitionHandlers},[this.localShow?this.makeToast(t):null])])])}}),Zu=["id"].concat(f(Zt(ne(Ku,["static","visible"])))),Ju={toastContent:"default",title:"toast-title"},Qu=function(t){return Zu.reduce(function(e,i){return se(t[i])||(e[i]=t[i]),e},{})},tc=t.extend({name:"BToastPop",extends:Yu,destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},mounted:function(){var t=this,e=function(){t.localShow=!1,t.doRender=!1,t.$nextTick(function(){t.$nextTick(function(){je(function(){t.$destroy()})})})};this.$parent.$once("hook:destroyed",e),this.$once("hidden",e),this.listenOnRoot("bv::toaster::destroyed",function(i){i===t.toaster&&e()})}}),ec=function(){function t(e){i(this,t),Yt(this,{_vm:e,_root:e.$root}),Jt(this,{_vm:oe(),_root:oe()})}return o(t,[{key:"toast",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t&&!_e("$bvToast")&&function(t,e){if(!_e("$bvToast")){var i=new tc({parent:e,propsData:s({},Qu(Ne("BToast")||{}),ne(t,["toastContent"]),{static:!1,visible:!0})});Zt(Ju).forEach(function(n){var o=t[n];se(o)||("title"===n&&ce(o)&&(o=[e.$createElement("strong",{class:"mr-2"},o)]),i.$slots[Ju[n]]=o)});var n=document.createElement("div");document.body.appendChild(n),i.$mount(n)}}(s({},Qu(e),{toastContent:t}),this._vm)}},{key:"show",value:function(t){t&&this._root.$emit("bv::show::toast",t)}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit("bv::hide::toast",t)}}]),t}(),ic=Bi({components:{BToast:Yu,BToaster:qu}}),nc={install:function(t){!function t(e){t._installed||(t._installed=!0,e.mixin({beforeCreate:function(){this._bv__toast=new ec(this)}}),e.prototype.hasOwnProperty("$bvToast")||Qt(e.prototype,"$bvToast",{get:function(){return this._bv__toast}}))}(t),ic(t)}},oc=t.extend({name:"BTooltip",mixins:[Kl],props:{title:{type:String,default:""},triggers:{type:[String,Array],default:"hover focus"},placement:{type:String,default:"top"}},data:function(){return{}},methods:{createToolpop:function(){var t=this.getTarget();return t?this._toolpop=new Ll(t,this.getConfig(),this.$root):(this._toolpop=null,xe("b-tooltip: 'target' element not found!")),this._toolpop}},render:function(t){return t("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[t("div",{ref:"title"},this.$slots.default)])}}),rc="__BV_ToolTip__",sc={focus:!0,hover:!0,click:!0,blur:!0},ac=function(t,e,i){if(Be)if(zr){var n=function(t){var e={};ce(t.value)?e.title=t.value:le(t.value)?e.title=t.value:ee(t.value)&&(e=s({},e,t.value)),t.arg&&(e.container="#".concat(t.arg)),Zt(t.modifiers).forEach(function(t){if(/^html$/.test(t))e.html=!0;else if(/^nofade$/.test(t))e.animation=!1;else if(/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/.test(t))e.placement=t;else if(/^(window|viewport)$/.test(t))e.boundary=t;else if(/^d\d+$/.test(t)){var i=parseInt(t.slice(1),10)||0;i&&(e.delay=i)}else if(/^o-?\d+$/.test(t)){var n=parseInt(t.slice(1),10)||0;n&&(e.offset=n)}});var i={};return(ce(e.trigger)?e.trigger.trim().split(/\s+/):[]).forEach(function(t){sc[t]&&(i[t]=!0)}),Zt(sc).forEach(function(e){t.modifiers[e]&&(i[e]=!0)}),e.trigger=Zt(i).join(" "),"blur"===e.trigger&&(e.trigger="focus"),e.trigger||delete e.trigger,e}(e);t[rc]?t[rc].updateConfig(n):t[rc]=new Ll(t,n,i.context.$root)}else xe("v-b-tooltip: Popper.js is required for ToolTips to work")},lc={bind:function(t,e,i){ac(t,e,i)},inserted:function(t,e,i){ac(t,e,i)},update:function(t,e,i){e.value!==e.oldValue&&ac(t,e,i)},componentUpdated:function(t,e,i){e.value!==e.oldValue&&ac(t,e,i)},unbind:function(t){!function(t){t[rc]&&(t[rc].destroy(),t[rc]=null,delete t[rc])}(t)}},uc={install:Bi({components:{BTooltip:oc},directives:{BTooltip:lc}})},cc=Object.freeze({Alert:_i,Badge:Wi,Breadcrumb:Qi,Button:fn,ButtonToolbar:Sn,ButtonGroup:gn,Card:ao,Carousel:yo,Collapse:Uo,Dropdown:fs,Embed:ms,Form:ks,FormGroup:Is,FormInput:Qs,FormTextarea:ea,FormFile:sa,FormCheckbox:Gs,FormRadio:qs,FormSelect:la,Image:ua,InputGroup:_n,Jumbotron:da,Layout:Fo,Link:ha,ListGroup:ba,Media:ka,Modal:Ga,Nav:el,Navbar:cl,Pagination:Sl,PaginationNav:Bl,Popover:eu,Progress:nu,Spinner:ou,Table:$u,Tabs:Pu,Toast:nc,Tooltip:uc}),dc={install:Bi({directives:{BToggle:Wo}})},hc={install:Bi({directives:{BModal:ja}})},fc={element:"body",offset:10,method:"auto",throttle:75},pc={element:"(string|element|component)",offset:"number",method:"string",throttle:"number"},mc="dropdown-item",gc="active",vc={ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown, .dropup",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},bc="offset",yc="position",Sc=/^.*(#[^#]+)$/,wc=["webkitTransitionEnd","transitionend","otransitionend","oTransitionEnd"],Bc={passive:!0,capture:!1};var Tc=function(){function t(e,n,o){i(this,t),this.$el=e,this.$scroller=null,this.$selector=[vc.NAV_LINKS,vc.LIST_ITEMS,vc.DROPDOWN_ITEMS].join(","),this.$offsets=[],this.$targets=[],this.$activeTarget=null,this.$scrollHeight=0,this.$resizeTimeout=null,this.$obs_scroller=null,this.$obs_targets=null,this.$root=o||null,this.$config=null,this.updateConfig(n)}return o(t,[{key:"updateConfig",value:function(t,e){this.$scroller&&(this.unlisten(),this.$scroller=null);var i=s({},this.constructor.Default,t);if(e&&(this.$root=e),function(t,e,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var o=i[n],r=e[n],s=r&&qe(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-zA-Z]+)/)[1].toLowerCase());s=r&&r._isVue?"component":s,new RegExp(o).test(s)||xe("".concat(t,': Option "').concat(n,'" provided type "').concat(s,'" but expected type "').concat(o,'"'))}var a}(this.constructor.Name,i,this.constructor.DefaultType),this.$config=i,this.$root){var n=this;this.$root.$nextTick(function(){n.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 t=this,e=this.getScroller();e&&"BODY"!==e.tagName&&We(e,"scroll",this,Bc),We(window,"scroll",this,Bc),We(window,"resize",this,Bc),We(window,"orientationchange",this,Bc),wc.forEach(function(e){We(window,e,t,Bc)}),this.setObservers(!0),this.handleEvent("refresh")}},{key:"unlisten",value:function(){var t=this,e=this.getScroller();this.setObservers(!1),e&&"BODY"!==e.tagName&&Ue(e,"scroll",this,Bc),Ue(window,"scroll",this,Bc),Ue(window,"resize",this,Bc),Ue(window,"orientationchange",this,Bc),wc.forEach(function(e){Ue(window,e,t,Bc)})}},{key:"setObservers",value:function(t){var e=this;this.$obs_scroller&&(this.$obs_scroller.disconnect(),this.$obs_scroller=null),this.$obs_targets&&(this.$obs_targets.disconnect(),this.$obs_targets=null),t&&(this.$obs_targets=uo(this.$el,function(){e.handleEvent("mutation")},{subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]}),this.$obs_scroller=uo(this.getScroller(),function(){e.handleEvent("mutation")},{subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["id","style","class"]}))}},{key:"handleEvent",value:function(t){var e=ce(t)?t:t.type,i=this;"scroll"===e?(this.$obs_scroller||this.listen(),this.process()):/(resize|orientationchange|mutation|refresh)/.test(e)&&(i.$resizeTimeout||(i.$resizeTimeout=setTimeout(function(){i.refresh(),i.process(),i.$resizeTimeout=null},i.$config.throttle)))}},{key:"refresh",value:function(){var t=this,e=this.getScroller();if(e){var i=e!==e.window?yc:bc,n="auto"===this.$config.method?i:this.$config.method,o=n===yc?hi:di,r=n===yc?this.getScrollTop():0;return this.$offsets=[],this.$targets=[],this.$scrollHeight=this.getScrollHeight(),Ze(this.$selector,this.$el).map(function(t){return ai(t,"href")}).filter(function(t){return t&&Sc.test(t||"")}).map(function(t){var i=t.replace(Sc,"$1").trim();if(!i)return null;var n=Je(i,e);return n&&Ke(n)?{offset:parseInt(o(n).top,10)+r,target:i}:null}).filter(Boolean).sort(function(t,e){return t.offset-e.offset}).reduce(function(e,i){return e[i.target]||(t.$offsets.push(i.offset),t.$targets.push(i.target),e[i.target]=!0),e},{}),this}}},{key:"process",value:function(){var t=this.getScrollTop()+this.$config.offset,e=this.getScrollHeight(),i=this.$config.offset+e-this.getOffsetHeight();if(this.$scrollHeight!==e&&this.refresh(),t>=i){var n=this.$targets[this.$targets.length-1];this.$activeTarget!==n&&this.activate(n)}else{if(this.$activeTarget&&t<this.$offsets[0]&&this.$offsets[0]>0)return this.$activeTarget=null,void this.clear();for(var o=this.$offsets.length;o--;){this.$activeTarget!==this.$targets[o]&&t>=this.$offsets[o]&&(se(this.$offsets[o+1])||t<this.$offsets[o+1])&&this.activate(this.$targets[o])}}}},{key:"getScroller",value:function(){if(this.$scroller)return this.$scroller;var t=this.$config.element;return t?(qe(t.$el)?t=t.$el:ce(t)&&(t=Je(t)),t?(this.$scroller="BODY"===t.tagName?window:t,this.$scroller):null):null}},{key:"getScrollTop",value:function(){var t=this.getScroller();return t===window?t.pageYOffset:t.scrollTop}},{key:"getScrollHeight",value:function(){return this.getScroller().scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}},{key:"getOffsetHeight",value:function(){var t=this.getScroller();return t===window?window.innerHeight:ui(t).height}},{key:"activate",value:function(t){var e=this;this.$activeTarget=t,this.clear();var i=Ze(this.$selector.split(",").map(function(e){return"".concat(e,'[href$="').concat(t,'"]')}).join(","),this.$el);i.forEach(function(t){if(oi(t,mc)){var i=ti(vc.DROPDOWN,t);i&&e.setActiveState(Je(vc.DROPDOWN_TOGGLE,i),!0),e.setActiveState(t,!0)}else{e.setActiveState(t,!0),Qe(t.parentElement,vc.NAV_ITEMS)&&e.setActiveState(t.parentElement,!0);for(var n=t;n;){var o=(n=ti(vc.NAV_LIST_GROUP,n))?n.previousElementSibling:null;o&&Qe(o,"".concat(vc.NAV_LINKS,", ").concat(vc.LIST_ITEMS))&&e.setActiveState(o,!0),o&&Qe(o,vc.NAV_ITEMS)&&(e.setActiveState(Je(vc.NAV_LINKS,o),!0),e.setActiveState(o,!0))}}}),i&&i.length>0&&this.$root&&this.$root.$emit("bv::scrollspy::activate",t,i)}},{key:"clear",value:function(){var t=this;Ze("".concat(this.$selector,", ").concat(vc.NAV_ITEMS),this.$el).filter(function(t){return oi(t,gc)}).forEach(function(e){return t.setActiveState(e,!1)})}},{key:"setActiveState",value:function(t,e){t&&(e?ii(t,gc):ni(t,gc))}}],[{key:"Name",get:function(){return"v-b-scrollspy"}},{key:"Default",get:function(){return fc}},{key:"DefaultType",get:function(){return pc}}]),t}(),kc="__BV_ScrollSpy__",$c=function(t,e,i){if(Be){var n=function(t){var e={};return t.arg&&(e.element="#".concat(t.arg)),Zt(t.modifiers).forEach(function(t){/^\d+$/.test(t)?e.offset=parseInt(t,10):/^(auto|position|offset)$/.test(t)&&(e.method=t)}),ce(t.value)?e.element=t.value:de(t.value)?e.offset=Math.round(t.value):ee(t.value)&&Zt(t.value).filter(function(t){return Boolean(Tc.DefaultType[t])}).forEach(function(i){e[i]=t.value[i]}),e}(e);t[kc]?t[kc].updateConfig(n,i.context.$root):t[kc]=new Tc(t,n,i.context.$root)}},Cc={install:Bi({directives:{BScrollspy:{bind:function(t,e,i){$c(t,e,i)},inserted:function(t,e,i){$c(t,e,i)},update:function(t,e,i){e.value!==e.oldValue&&$c(t,e,i)},componentUpdated:function(t,e,i){e.value!==e.oldValue&&$c(t,e,i)},unbind:function(t){!function(t){t[kc]&&(t[kc].dispose(),t[kc]=null,delete t[kc])}(t)}}}})},xc={install:Bi({directives:{BTooltip:lc}})},_c={install:Bi({directives:{BPopover:tu}})},Ec=Object.freeze({Toggle:dc,Modal:hc,Scrollspy:Cc,Tooltip:xc,Popover:_c}),Oc=function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.installed||(t.installed=!0,Ie(i),Ti(e,cc),Ti(e,Ec))};Oc.installed=!1;var Pc,Ic={install:Oc,setConfig:Ie};return Pc=Ic,ve&&window.Vue&&window.Vue.use(Pc),Ic});
  //# sourceMappingURL=bootstrap-vue.min.js.map