UNPKG

@europeana/portal

Version:
2 lines 52.8 kB
(window.webpackJsonp=window.webpackJsonp||[]).push([[85],{1050:function(t,e,r){"use strict";r.d(e,"b",(function(){return d})),r.d(e,"a",(function(){return f}));var n=r(8),o=r(1),c=r(22),l=r(48),h=r(0),d={caption:Object(h.c)(o.q),captionHtml:Object(h.c)(o.q)},f=n.default.extend({props:d,computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var caption=this.caption,t=this.captionHtml,e=this.$createElement,r=e(),n=this.hasNormalizedSlot(c.B);return(n||caption||t)&&(r=e("caption",{attrs:{id:this.captionId},domProps:n?{}:Object(l.a)(t,caption),key:"caption",ref:"caption"},this.normalizeSlot(c.B))),r}}})},1051:function(t,e,r){"use strict";r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return l}));var n=r(8),o=r(22),c={},l=n.default.extend({methods:{renderColgroup:function(){var t=this.computedFields,e=this.$createElement,r=e();return this.hasNormalizedSlot(o.C)&&(r=e("colgroup",{key:"colgroup"},[this.normalizeSlot(o.C,{columns:t.length,fields:t})])),r}}})},1052:function(t,e,r){"use strict";r.d(e,"a",(function(){return h})),r.d(e,"b",(function(){return d}));var n=r(2),o=r(8),c=r(1),l=r(0),h={stacked:Object(l.c)(c.i,!1)},d=o.default.extend({props:h,computed:{isStacked:function(){var t=this.stacked;return""===t||t},isStackedAlways:function(){return!0===this.isStacked},stackedTableClasses:function(){var t=this.isStackedAlways;return Object(n.a)({"b-table-stacked":t},"b-table-stacked-".concat(this.stacked),!t&&this.isStacked)}}})},1053:function(t,e,r){"use strict";r.d(e,"a",(function(){return m})),r.d(e,"b",(function(){return v}));var n=r(2),o=(r(13),r(10),r(316),r(438),r(30),r(16),r(15),r(19),r(14),r(20),r(8)),c=r(1),l=r(45),h=r(7),d=r(0),f=r(29),O=r(95);function j(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?j(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):j(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m={bordered:Object(d.c)(c.g,!1),borderless:Object(d.c)(c.g,!1),captionTop:Object(d.c)(c.g,!1),dark:Object(d.c)(c.g,!1),fixed:Object(d.c)(c.g,!1),hover:Object(d.c)(c.g,!1),noBorderCollapse:Object(d.c)(c.g,!1),outlined:Object(d.c)(c.g,!1),responsive:Object(d.c)(c.i,!1),small:Object(d.c)(c.g,!1),stickyHeader:Object(d.c)(c.i,!1),striped:Object(d.c)(c.g,!1),tableClass:Object(d.c)(c.e),tableVariant:Object(d.c)(c.q)},v=o.default.extend({mixins:[O.a],provide:function(){return{bvTable:this}},inheritAttrs:!1,props:m,computed:{isResponsive:function(){var t=this.responsive;return""===t||t},isStickyHeader:function(){var t=this.stickyHeader;return t=""===t||t,!this.isStacked&&t},wrapperClasses:function(){var t=this.isResponsive;return[this.isStickyHeader?"b-table-sticky-header":"",!0===t?"table-responsive":t?"table-responsive-".concat(this.responsive):""].filter(l.a)},wrapperStyles:function(){var t=this.isStickyHeader;return t&&!Object(h.b)(t)?{maxHeight:t}:{}},tableClasses:function(){var t=this.hover,e=this.tableVariant;return t=this.isTableSimple?t:t&&this.computedItems.length>0&&!this.computedBusy,[this.tableClass,{"table-striped":this.striped,"table-hover":t,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},e?"".concat(this.dark?"bg":"table","-").concat(e):"",this.stackedTableClasses,this.selectableTableClasses]},tableAttrs:function(){var t=this.computedItems,e=this.filteredItems,r=this.computedFields,n=this.selectableTableAttrs,o=this.isTableSimple?{}:{"aria-busy":this.computedBusy?"true":"false","aria-colcount":Object(f.g)(r.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null};return y(y(y({"aria-rowcount":t&&e&&e.length>t.length?Object(f.g)(e.length):null},this.bvAttrs),{},{id:this.safeId(),role:"table"},o),n)}},render:function(t){var e=this.wrapperClasses,r=this.renderCaption,n=this.renderColgroup,o=this.renderThead,c=this.renderTbody,h=this.renderTfoot,d=[];this.isTableSimple?d.push(this.normalizeSlot()):(d.push(r?r():null),d.push(n?n():null),d.push(o?o():null),d.push(c?c():null),d.push(h?h():null));var f=t("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},d.filter(l.a));return e.length>0?t("div",{class:e,style:this.wrapperStyles,key:"wrap"},[f]):f}})},1054:function(t,e,r){"use strict";r.d(e,"b",(function(){return m})),r.d(e,"a",(function(){return v}));r(16),r(15),r(13),r(10),r(19),r(14),r(20);var n=r(2),o=r(8),c=r(3),l=r(1),h=r(0),d=r(95),f=r(151),O=r(38);function j(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?j(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):j(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m=Object(h.d)({tbodyTransitionHandlers:Object(h.c)(l.m),tbodyTransitionProps:Object(h.c)(l.m)},c.xb),v=o.default.extend({name:c.xb,mixins:[d.a,f.a,O.a],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:m,computed:{isTbody:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},isTransitionGroup:function(){return this.tbodyTransitionProps||this.tbodyTransitionHandlers},tbodyAttrs:function(){return y({role:"rowgroup"},this.bvAttrs)},tbodyProps:function(){var t=this.tbodyTransitionProps;return t?y(y({},t),{},{tag:"tbody"}):{}}},render:function(t){var data={props:this.tbodyProps,attrs:this.tbodyAttrs};return this.isTransitionGroup?(data.on=this.tbodyTransitionHandlers||{},data.nativeOn=this.bvListeners):data.on=this.bvListeners,t(this.isTransitionGroup?"transition-group":"tbody",data,this.normalizeSlot())}})},1055:function(t,e,r){"use strict";r.d(e,"a",(function(){return d})),r.d(e,"b",(function(){return f}));r(41);var n=r(8),o=r(1),c=r(22),l=r(0),h=r(889),d={footClone:Object(l.c)(o.g,!1),footRowVariant:Object(l.c)(o.q),footVariant:Object(l.c)(o.q),tfootClass:Object(l.c)(o.e),tfootTrClass:Object(l.c)(o.e)},f=n.default.extend({props:d,methods:{renderTFootCustom:function(){var t=this.$createElement;return this.hasNormalizedSlot(c.e)?t(h.a,{class:this.tfootClass||null,props:{footVariant:this.footVariant||this.headVariant||null},key:"bv-tfoot-custom"},this.normalizeSlot(c.e,{items:this.computedItems.slice(),fields:this.computedFields.slice(),columns:this.computedFields.length})):t()},renderTfoot:function(){return this.footClone?this.renderThead(!0):this.renderTFootCustom()}}})},1056:function(t,e,r){"use strict";r.d(e,"a",(function(){return A})),r.d(e,"b",(function(){return V}));r(16),r(15),r(19),r(14),r(20);var n=r(89),o=r(2),c=(r(139),r(30),r(13),r(10),r(47),r(8)),l=r(9),h=r(74),d=r(1),f=r(22),O=r(11),j=r(48),y=r(45),m=r(7),v=r(823),w=r(0),S=r(29),T=r(1057),k=r(889),P=r(741),C=r(888),R=r(886),D=r(887);function F(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function x(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?F(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):F(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var I=function(t){return"head(".concat(t||"",")")},E=function(t){return"foot(".concat(t||"",")")},A={headRowVariant:Object(w.c)(d.q),headVariant:Object(w.c)(d.q),theadClass:Object(w.c)(d.e),theadTrClass:Object(w.c)(d.e)},V=c.default.extend({props:A,methods:{fieldClasses:function(t){return[t.class?t.class:"",t.thClass?t.thClass:""]},headClicked:function(t,e,r){this.stopIfBusy&&this.stopIfBusy(t)||Object(R.a)(t)||Object(D.a)(this.$el)||(Object(O.f)(t),this.$emit(l.t,e.key,e,t,r))},renderThead:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.computedFields,o=this.isSortable,c=this.isSelectable,d=this.headVariant,O=this.footVariant,w=this.headRowVariant,R=this.footRowVariant,D=this.$createElement;if(this.isStackedAlways||0===r.length)return D();var F=o||this.hasListener(l.t),A=c?this.selectAllRows:v.a,V=c?this.clearSelected:v.a,$=function(r,c){var label=r.label,l=r.labelHtml,d=r.variant,f=r.stickyColumn,O=r.key,m=null;r.label.trim()||r.headerTitle||(m=Object(S.f)(r.key));var v={};F&&(v.click=function(n){t.headClicked(n,r,e)},v.keydown=function(n){var o=n.keyCode;o!==h.e&&o!==h.j||t.headClicked(n,r,e)});var w=o?t.sortTheadThAttrs(O,r,e):{},T=o?t.sortTheadThClasses(O,r,e):null,k=o?t.sortTheadThLabel(O,r,e):null,data={class:[t.fieldClasses(r),T],props:{variant:d,stickyColumn:f},style:r.thStyle||{},attrs:x(x({tabindex:F&&r.sortable?"0":null,abbr:r.headerAbbr||null,title:r.headerTitle||null,"aria-colindex":c+1,"aria-label":m},t.getThValues(null,O,r.thAttr,e?"foot":"head",{})),w),on:v,key:O},P=[I(O),I(O.toLowerCase()),I()];e&&(P=[E(O),E(O.toLowerCase()),E()].concat(Object(n.a)(P)));var R={label:label,column:O,field:r,isFoot:e,selectAllRows:A,clearSelected:V},$=t.normalizeSlot(P,R)||D("div",{domProps:Object(j.a)(l,label)}),B=k?D("span",{staticClass:"sr-only"}," (".concat(k,")")):null;return D(C.a,data,[$,B].filter(y.a))},B=r.map($).filter(y.a),H=[];if(e)H.push(D(P.a,{class:this.tfootTrClass,props:{variant:Object(m.o)(R)?w:R}},B));else{var z={columns:r.length,fields:r,selectAllRows:A,clearSelected:V};H.push(this.normalizeSlot(f.G,z)||D()),H.push(D(P.a,{class:this.theadTrClass,props:{variant:w}},B))}return D(e?k.a:T.a,{class:(e?this.tfootClass:this.theadClass)||null,props:e?{footVariant:O||d||null}:{headVariant:d||null},key:e?"bv-tfoot":"bv-thead"},H)}}})},1057:function(t,e,r){"use strict";r.d(e,"a",(function(){return m}));r(16),r(15),r(13),r(10),r(19),r(14),r(20);var n=r(2),o=r(8),c=r(3),l=r(1),h=r(0),d=r(95),f=r(151),O=r(38);function j(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}var y=Object(h.d)({headVariant:Object(h.c)(l.q)},c.Ab),m=o.default.extend({name:c.Ab,mixins:[d.a,f.a,O.a],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:y,computed:{isThead:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},theadClasses:function(){return[this.headVariant?"thead-".concat(this.headVariant):null]},theadAttrs:function(){return function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?j(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):j(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({role:"rowgroup"},this.bvAttrs)}},render:function(t){return t("thead",{class:this.theadClasses,attrs:this.theadAttrs,on:this.bvListeners},this.normalizeSlot())}})},1058:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(8),o=r(7),c=n.default.extend({methods:{hasListener:function(t){var e=this.$listeners||{},r=this._events||{};return!Object(o.n)(e[t])||Object(o.a)(r[t])&&r[t].length>0}}})},1087:function(t,e,r){"use strict";r.d(e,"b",(function(){return x})),r.d(e,"a",(function(){return I}));r(16),r(15),r(13),r(19),r(14),r(20);var n=r(2),o=(r(41),r(10),r(8)),c=r(9),l=r(1),h=r(7),d=r(69),f=r(83),O=r(92),j=r(36),object=r(5),y=r(0),m=r(45),v=r(29),w=r(756),S=function(t,e){var r=[];if(Object(h.a)(t)&&t.filter(m.a).forEach((function(t){if(Object(h.m)(t))r.push({key:t,label:Object(v.f)(t)});else if(Object(h.i)(t)&&t.key&&Object(h.m)(t.key))r.push(Object(object.b)(t));else if(Object(h.i)(t)&&1===Object(object.h)(t).length){var e=Object(object.h)(t)[0],n=function(t,e){var r=null;return Object(h.m)(e)?r={key:t,label:e}:Object(h.e)(e)?r={key:t,formatter:e}:Object(h.i)(e)?(r=Object(object.b)(e)).key=r.key||t:!1!==e&&(r={key:t}),r}(e,t[e]);n&&r.push(n)}})),0===r.length&&Object(h.a)(e)&&e.length>0){var n=e[0];Object(object.h)(n).forEach((function(t){w.e[t]||r.push({key:t,label:Object(v.f)(t)})}))}var o={};return r.filter((function(t){return!o[t.key]&&(o[t.key]=!0,t.label=Object(h.m)(t.label)?t.label:Object(v.f)(t.key),!0)}))};function T(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function k(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?T(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):T(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var P=Object(O.a)("value",{type:l.b,defaultValue:[]}),C=P.mixin,R=P.props,D=P.prop,F=P.event,x=Object(object.m)(k(k({},R),{},Object(n.a)({fields:Object(y.c)(l.b,null),items:Object(y.c)(l.b,[]),primaryKey:Object(y.c)(l.q)},D,Object(y.c)(l.b,[])))),I=o.default.extend({mixins:[C],props:x,data:function(){var t=this.items;return{localItems:Object(h.a)(t)?t.slice():[]}},computed:{computedFields:function(){return S(this.fields,this.localItems)},computedFieldsObj:function(){var t=this.$parent;return this.computedFields.reduce((function(e,r){if(e[r.key]=Object(object.b)(r),r.formatter){var n=r.formatter;Object(h.m)(n)&&Object(h.e)(t[n])?n=t[n]:Object(h.e)(n)||(n=void 0),e[r.key].formatter=n}return e}),{})},computedItems:function(){return(this.paginatedItems||this.sortedItems||this.filteredItems||this.localItems||[]).slice()},context:function(){return{filter:this.localFilter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,perPage:Object(f.b)(Object(j.b)(this.perPage,0),0),currentPage:Object(f.b)(Object(j.b)(this.currentPage,0),1),apiUrl:this.apiUrl}}},watch:{items:function(t){this.localItems=Object(h.a)(t)?t.slice():[]},computedItems:function(t,e){Object(d.a)(t,e)||this.$emit(F,t)},context:function(t,e){Object(d.a)(t,e)||this.$emit(c.h,t)}},mounted:function(){this.$emit(F,this.computedItems)},methods:{getFieldFormatter:function(t){var e=this.computedFieldsObj[t];return e?e.formatter:void 0}}})},1088:function(t,e,r){"use strict";r.d(e,"a",(function(){return $})),r.d(e,"b",(function(){return B}));r(16),r(15),r(19),r(20);var n=r(2),o=(r(47),r(13),r(10),r(14),r(8)),c=r(9),l=r(74),h=r(1),d=r(27),f=r(4),O=r(11),object=r(5),j=r(0),y=r(1054),m=r(886),v=r(887),w=r(89),S=(r(30),r(22)),T=r(144),k=r(7),P=r(29),C=r(741),td=r(755),th=r(888),R=r(756);function D(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function F(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?D(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):D(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var x={detailsTdClass:Object(j.c)(h.e),tbodyTrAttr:Object(j.c)(h.n),tbodyTrClass:Object(j.c)([].concat(Object(w.a)(h.e),[h.j]))},I=o.default.extend({props:x,methods:{getTdValues:function(t,e,r,n){var o=this.$parent;if(r){var c=Object(T.a)(t,e,"");return Object(k.e)(r)?r(c,e,t):Object(k.m)(r)&&Object(k.e)(o[r])?o[r](c,e,t):r}return n},getThValues:function(t,e,r,n,o){var c=this.$parent;if(r){var l=Object(T.a)(t,e,"");return Object(k.e)(r)?r(l,e,t,n):Object(k.m)(r)&&Object(k.e)(c[r])?c[r](l,e,t,n):r}return o},getFormattedValue:function(t,e){var r=e.key,n=this.getFieldFormatter(r),o=Object(T.a)(t,r,null);return Object(k.e)(n)&&(o=n(o,r,t)),Object(k.o)(o)?"":o},toggleDetailsFactory:function(t,e){var r=this;return function(){t&&r.$set(e,R.d,!e[R.d])}},rowHovered:function(t){this.tbodyRowEvtStopped(t)||this.emitTbodyRowEvent(c.J,t)},rowUnhovered:function(t){this.tbodyRowEvtStopped(t)||this.emitTbodyRowEvent(c.M,t)},renderTbodyRowCell:function(t,e,r,n){var o=this,c=this.isStacked,l=t.key,label=t.label,h=t.isRowHeader,d=this.$createElement,f=this.hasNormalizedSlot(S.z),O=this.getFormattedValue(r,t),j=!c&&(this.isResponsive||this.stickyHeader)&&t.stickyColumn,y=j?h?th.a:td.a:h?"th":"td",m=r[R.b]&&r[R.b][l]?r[R.b][l]:t.variant||null,data={class:[t.class?t.class:"",this.getTdValues(r,l,t.tdClass,"")],props:{},attrs:F({"aria-colindex":String(e+1)},h?this.getThValues(r,l,t.thAttr,"row",{}):this.getTdValues(r,l,t.tdAttr,{})),key:"row-".concat(n,"-cell-").concat(e,"-").concat(l)};j?data.props={stackedHeading:c?label:null,stickyColumn:!0,variant:m}:(data.attrs["data-label"]=c&&!Object(k.o)(label)?Object(P.g)(label):null,data.attrs.role=h?"rowheader":"cell",data.attrs.scope=h?"row":null,m&&data.class.push("".concat(this.dark?"bg":"table","-").concat(m)));var v={item:r,index:n,field:t,unformatted:Object(T.a)(r,l,""),value:O,toggleDetails:this.toggleDetailsFactory(f,r),detailsShowing:Boolean(r[R.d])};this.supportsSelectableRows&&(v.rowSelected=this.isRowSelected(n),v.selectRow=function(){return o.selectRow(n)},v.unselectRow=function(){return o.unselectRow(n)});var w=this.$_bodyFieldSlotNameCache[l],C=w?this.normalizeSlot(w,v):Object(P.g)(O);return this.isStacked&&(C=[d("div",[C])]),d(y,data,[C])},renderTbodyRow:function(t,e){var r=this,n=this.computedFields,o=this.striped,l=this.primaryKey,h=this.currentPage,d=this.perPage,f=this.tbodyTrClass,O=this.tbodyTrAttr,j=this.$createElement,y=this.hasNormalizedSlot(S.z),m=t[R.d]&&y,v=this.$listeners[c.G]||this.hasSelectableRowClick,w=[],D=m?this.safeId("_details_".concat(e,"_")):null,x=n.map((function(n,o){return r.renderTbodyRowCell(n,o,t,e)})),I=null;h&&d&&d>0&&(I=String((h-1)*d+e+1));var E=Object(P.g)(Object(T.a)(t,l))||null,A=E||Object(P.g)(e),V=E?this.safeId("_row_".concat(E)):null,$=this.selectableRowClasses?this.selectableRowClasses(e):{},B=this.selectableRowAttrs?this.selectableRowAttrs(e):{},H=Object(k.e)(f)?f(t,"row"):f,z=Object(k.e)(O)?O(t,"row"):O;if(w.push(j(C.a,{class:[H,$,m?"b-table-has-details":""],props:{variant:t[R.c]||null},attrs:F(F({id:V},z),{},{tabindex:v?"0":null,"data-pk":E||null,"aria-details":D,"aria-owns":D,"aria-rowindex":I},B),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(A,"__"),ref:"item-rows",refInFor:!0},x)),m){var _={item:t,index:e,fields:n,toggleDetails:this.toggleDetailsFactory(y,t)};this.supportsSelectableRows&&(_.rowSelected=this.isRowSelected(e),_.selectRow=function(){return r.selectRow(e)},_.unselectRow=function(){return r.unselectRow(e)});var L=j(td.a,{props:{colspan:n.length},class:this.detailsTdClass},[this.normalizeSlot(S.z,_)]);o&&w.push(j("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(A)}));var G=Object(k.e)(this.tbodyTrClass)?this.tbodyTrClass(t,S.z):this.tbodyTrClass,N=Object(k.e)(this.tbodyTrAttr)?this.tbodyTrAttr(t,S.z):this.tbodyTrAttr;w.push(j(C.a,{staticClass:"b-table-details",class:[G],props:{variant:t[R.c]||null},attrs:F(F({},N),{},{id:D,tabindex:"-1"}),key:"__b-table-details__".concat(A)},[L]))}else y&&(w.push(j()),o&&w.push(j()));return w}}});function E(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function A(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?E(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):E(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var V=function(t){return"cell(".concat(t||"",")")},$=Object(object.m)(A(A(A({},y.b),x),{},{tbodyClass:Object(j.c)(h.e)})),B=o.default.extend({mixins:[I],props:$,beforeDestroy:function(){this.$_bodyFieldSlotNameCache=null},methods:{getTbodyTrs:function(){var t=this.$refs,tbody=t.tbody?t.tbody.$el||t.tbody:null,e=(t["item-rows"]||[]).map((function(tr){return tr.$el||tr}));return tbody&&tbody.children&&tbody.children.length>0&&e&&e.length>0?Object(d.d)(tbody.children).filter((function(tr){return Object(d.a)(e,tr)})):[]},getTbodyTrIndex:function(t){if(!Object(f.s)(t))return-1;var tr="TR"===t.tagName?t:Object(f.e)("tr",t,!0);return tr?this.getTbodyTrs().indexOf(tr):-1},emitTbodyRowEvent:function(t,e){if(t&&this.hasListener(t)&&e&&e.target){var r=this.getTbodyTrIndex(e.target);if(r>-1){var n=this.computedItems[r];this.$emit(t,n,r,e)}}},tbodyRowEvtStopped:function(t){return this.stopIfBusy&&this.stopIfBusy(t)},onTbodyRowKeydown:function(t){var e=t.target,r=t.keyCode;if(!this.tbodyRowEvtStopped(t)&&"TR"===e.tagName&&Object(f.q)(e)&&0===e.tabIndex)if(Object(d.a)([l.e,l.j],r))Object(O.f)(t),this.onTBodyRowClicked(t);else if(Object(d.a)([l.k,l.c,l.g,l.d],r)){var n=this.getTbodyTrIndex(e);if(n>-1){Object(O.f)(t);var o=this.getTbodyTrs(),c=t.shiftKey;r===l.g||c&&r===l.k?Object(f.d)(o[0]):r===l.d||c&&r===l.c?Object(f.d)(o[o.length-1]):r===l.k&&n>0?Object(f.d)(o[n-1]):r===l.c&&n<o.length-1&&Object(f.d)(o[n+1])}}},onTBodyRowClicked:function(t){this.tbodyRowEvtStopped(t)||Object(m.a)(t)||Object(v.a)(this.$el)||this.emitTbodyRowEvent(c.G,t)},onTbodyRowMiddleMouseRowClicked:function(t){this.tbodyRowEvtStopped(t)||2!==t.which||this.emitTbodyRowEvent(c.K,t)},onTbodyRowContextmenu:function(t){this.tbodyRowEvtStopped(t)||this.emitTbodyRowEvent(c.H,t)},onTbodyRowDblClicked:function(t){this.tbodyRowEvtStopped(t)||Object(m.a)(t)||this.emitTbodyRowEvent(c.I,t)},renderTbody:function(){var t=this,e=this.computedItems,r=this.renderBusy,n=this.renderTopRow,o=this.renderEmpty,l=this.renderBottomRow,h=this.$createElement,d=this.hasListener(c.G)||this.hasSelectableRowClick,f=[],O=r?r():null;if(O)f.push(O);else{var m={},v=V();v=this.hasNormalizedSlot(v)?v:null,this.computedFields.forEach((function(e){var r=e.key,n=V(r),o=V(r.toLowerCase());m[r]=t.hasNormalizedSlot(n)?n:t.hasNormalizedSlot(o)?o:v})),this.$_bodyFieldSlotNameCache=m,f.push(n?n():h()),e.forEach((function(e,r){f.push(t.renderTbodyRow(e,r))})),f.push(o?o():h()),f.push(l?l():h())}var w={auxclick:this.onTbodyRowMiddleMouseRowClicked,contextmenu:this.onTbodyRowContextmenu,dblclick:this.onTbodyRowDblClicked};return d&&(w.click=this.onTBodyRowClicked,w.keydown=this.onTbodyRowKeydown),h(y.a,{class:this.tbodyClass||null,props:Object(j.e)(y.b,this.$props),on:w,ref:"tbody"},f)}}})},1125:function(t,e,r){"use strict";r.d(e,"a",(function(){return Et}));r(16),r(15),r(13),r(10),r(19),r(14),r(20);var n,o,c=r(2),l=r(8),h=r(3),object=r(5),d=r(0),f=r(95),O=r(1058),j=r(35),y=r(38),m=r(22),v=r(7),tr=r(741),w={},S=l.default.extend({props:w,methods:{renderBottomRow:function(){var t=this.computedFields,e=this.stacked,r=this.tbodyTrClass,n=this.tbodyTrAttr,o=this.$createElement;return this.hasNormalizedSlot(m.c)&&!0!==e&&""!==e?o(tr.a,{staticClass:"b-table-bottom-row",class:[Object(v.e)(r)?r(null,"row-bottom"):r],attrs:Object(v.e)(n)?n(null,"row-bottom"):n,key:"b-bottom-row"},this.normalizeSlot(m.c,{columns:t.length,fields:t})):o()}}}),T=r(9),k=r(1),P=r(11),td=r(755),C="busy",R=T.X+C,D=Object(c.a)({},C,Object(d.c)(k.g,!1)),F=l.default.extend({props:D,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this.busy||this.localBusy}},watch:{localBusy:function(t,e){t!==e&&this.$emit(R,t)}},methods:{stopIfBusy:function(t){return!!this.computedBusy&&(Object(P.f)(t),!0)},renderBusy:function(){var t=this.tbodyTrClass,e=this.tbodyTrAttr,r=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot(m.A)?r(tr.a,{staticClass:"b-table-busy-slot",class:[Object(v.e)(t)?t(null,m.A):t],attrs:Object(v.e)(e)?e(null,m.A):e,key:"table-busy-slot"},[r(td.a,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot(m.A)])]):null}}}),x=r(1050),I=r(1051),html=r(48),E={emptyFilteredHtml:Object(d.c)(k.q),emptyFilteredText:Object(d.c)(k.q,"There are no records matching your request"),emptyHtml:Object(d.c)(k.q),emptyText:Object(d.c)(k.q,"There are no records to show"),showEmpty:Object(d.c)(k.g,!1)},A=l.default.extend({props:E,methods:{renderEmpty:function(){var t=this.computedItems,e=this.$createElement,r=e();if(this.showEmpty&&(!t||0===t.length)&&(!this.computedBusy||!this.hasNormalizedSlot(m.A))){var n=this.computedFields,o=this.isFiltered,c=this.emptyText,l=this.emptyHtml,h=this.emptyFilteredText,d=this.emptyFilteredHtml,f=this.tbodyTrClass,O=this.tbodyTrAttr;(r=this.normalizeSlot(o?m.j:m.i,{emptyFilteredHtml:d,emptyFilteredText:h,emptyHtml:l,emptyText:c,fields:n,items:t}))||(r=e("div",{class:["text-center","my-2"],domProps:o?Object(html.a)(d,h):Object(html.a)(l,c)})),r=e(td.a,{props:{colspan:n.length||null}},[e("div",{attrs:{role:"alert","aria-live":"polite"}},[r])]),r=e(tr.a,{staticClass:"b-table-empty-row",class:[Object(v.e)(f)?f(null,"row-empty"):f],attrs:Object(v.e)(O)?O(null,"row-empty"):O,key:o?"b-empty-filtered-row":"b-empty-row"},[r])}return r}}}),V=r(89),$=(r(30),r(21),r(111),r(37),r(107),r(60),r(793),r(40)),B=r(27),H=r(102),z=r(45),_=r(69),L=r(36),G=r(29),N=r(66),M=(r(50),r(47),r(315),function t(e){return Object(v.o)(e)?"":Object(v.i)(e)&&!Object(v.c)(e)?Object(object.h)(e).sort().map((function(r){return t(e[r])})).filter((function(t){return!!t})).join(" "):Object(G.g)(e)}),U=r(756),K=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=Object(object.h)(n).reduce((function(e,r){var o=n[r],c=o.filterByFormatted,l=Object(v.e)(c)?c:c?o.formatter:null;return Object(v.e)(l)&&(e[r]=l(t[r],r,t)),e}),Object(object.b)(t)),c=Object(object.h)(o).filter((function(t){return!(U.e[t]||Object(v.a)(e)&&e.length>0&&Object(B.a)(e,t)||Object(v.a)(r)&&r.length>0&&!Object(B.a)(r,t))}));return Object(object.k)(o,c)},J={filter:Object(d.c)([].concat(Object(V.a)(k.e),[k.p])),filterDebounce:Object(d.c)(k.l,0,(function(t){return $.d.test(String(t))})),filterFunction:Object(d.c)(k.j),filterIgnoredFields:Object(d.c)(k.b,[]),filterIncludedFields:Object(d.c)(k.b,[])},X=l.default.extend({props:J,data:function(){return{isFiltered:!1,localFilter:this.filterSanitize(this.filter)}},computed:{computedFilterIgnored:function(){return Object(B.b)(this.filterIgnoredFields||[]).filter(z.a)},computedFilterIncluded:function(){return Object(B.b)(this.filterIncludedFields||[]).filter(z.a)},computedFilterDebounce:function(){var t=Object(L.b)(this.filterDebounce,0);return t>0&&Object(N.a)('Prop "filter-debounce" is deprecated. Use the debounce feature of "<b-form-input>" instead.',h.tb),t},localFiltering:function(){return!this.hasProvider||!!this.noProviderFiltering},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilterFn:function(){var t=this.filterFunction;return Object(d.b)(t)?t:null},filteredItems:function(){var t=this.localItems,e=this.localFilter,r=this.localFiltering?this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e):null;return r&&t.length>0?t.filter(r):t}},watch:{computedFilterDebounce:function(t){!t&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(t){var e=this,r=this.computedFilterDebounce;this.clearFilterTimer(),r&&r>0?this.$_filterTimer=setTimeout((function(){e.localFilter=e.filterSanitize(t)}),r):this.localFilter=this.filterSanitize(t)}},filteredCheck:function(t){var e=t.filteredItems,r=t.localFilter,n=!1;r?Object(_.a)(r,[])||Object(_.a)(r,{})?n=!1:r&&(n=!0):n=!1,n&&this.$emit(T.p,e,e.length),this.isFiltered=n},isFiltered:function(t,e){if(!1===t&&!0===e){var r=this.localItems;this.$emit(T.p,r,r.length)}}},created:function(){var t=this;this.$_filterTimer=null,this.$nextTick((function(){t.isFiltered=Boolean(t.localFilter)}))},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(t){return!this.localFiltering||this.localFilterFn||Object(v.m)(t)||Object(v.l)(t)?Object(H.a)(t):""},filterFnFactory:function(t,e){if(!t||!Object(v.e)(t)||!e||Object(_.a)(e,[])||Object(_.a)(e,{}))return null;return function(r){return t(r,e)}},defaultFilterFnFactory:function(t){var e=this;if(!t||!Object(v.m)(t)&&!Object(v.l)(t))return null;var r=t;if(Object(v.m)(r)){var pattern=Object(G.a)(t).replace($.p,"\\s+");r=new RegExp(".*".concat(pattern,".*"),"i")}return function(t){return r.lastIndex=0,r.test((n=t,o=e.computedFilterIgnored,c=e.computedFilterIncluded,l=e.computedFieldsObj,Object(v.i)(n)?M(K(n,o,c,l)):""));var n,o,c,l}}}}),Q=r(1087),W=(r(41),r(83)),Y={currentPage:Object(d.c)(k.l,1),perPage:Object(d.c)(k.l,0)},Z=l.default.extend({props:Y,computed:{localPaging:function(){return!this.hasProvider||!!this.noProviderPaging},paginatedItems:function(){var t=this.sortedItems||this.filteredItems||this.localItems||[],e=Object(W.b)(Object(L.b)(this.currentPage,1),1),r=Object(W.b)(Object(L.b)(this.perPage,0),0);return this.localPaging&&r&&(t=t.slice((e-1)*r,e*r)),t}}}),tt=(r(34),r(78)),et=Object(P.e)(h.tb,T.E),it=Object(P.d)(h.tb,T.D),nt={apiUrl:Object(d.c)(k.q),items:Object(d.c)(k.c,[]),noProviderFiltering:Object(d.c)(k.g,!1),noProviderPaging:Object(d.c)(k.g,!1),noProviderSorting:Object(d.c)(k.g,!1)},st=l.default.extend({mixins:[tt.a],props:nt,computed:{hasProvider:function(){return Object(v.e)(this.items)},providerTriggerContext:function(){var t={apiUrl:this.apiUrl,filter:null,sortBy:null,sortDesc:null,perPage:null,currentPage:null};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),Object(object.b)(t)}},watch:{items:function(t){(this.hasProvider||Object(v.e)(t))&&this.$nextTick(this._providerUpdate)},providerTriggerContext:function(t,e){Object(_.a)(t,e)||this.$nextTick(this._providerUpdate)}},mounted:function(){var t=this;!this.hasProvider||this.localItems&&0!==this.localItems.length||this._providerUpdate(),this.listenOnRoot(it,(function(e){e!==t.id&&e!==t||t.refresh()}))},methods:{refresh:function(){var t=this.items,e=this.refresh;this.$off(T.E,e),this.computedBusy?this.localBusy&&this.hasProvider&&this.$on(T.E,e):(this.clearSelected(),this.hasProvider?this.$nextTick(this._providerUpdate):this.localItems=Object(v.a)(t)?t.slice():[])},_providerSetLocal:function(t){this.localItems=Object(v.a)(t)?t.slice():[],this.localBusy=!1,this.$emit(T.E),this.id&&this.emitOnRoot(et,this.id)},_providerUpdate:function(){var t=this;this.hasProvider&&(this.computedBusy?this.$nextTick(this.refresh):(this.localBusy=!0,this.$nextTick((function(){try{var data=t.items(t.context,t._providerSetLocal);Object(v.k)(data)?data.then((function(e){t._providerSetLocal(e)})):Object(v.a)(data)?t._providerSetLocal(data):2!==t.items.length&&(Object(N.a)("Provider function didn't request callback and did not return a promise or data.",h.tb),t.localBusy=!1)}catch(e){Object(N.a)("Provider function error [".concat(e.name,"] ").concat(e.message,"."),h.tb),t.localBusy=!1,t.$off(T.E,t.refresh)}}))))}}}),ot=["range","multi","single"],ct={noSelectOnClick:Object(d.c)(k.g,!1),selectMode:Object(d.c)(k.q,"multi",(function(t){return Object(B.a)(ot,t)})),selectable:Object(d.c)(k.g,!1),selectedVariant:Object(d.c)(k.q,"active")},at=l.default.extend({props:ct,data:function(){return{selectedRows:[],selectedLastRow:-1}},computed:{isSelectable:function(){return this.selectable&&this.selectMode},hasSelectableRowClick:function(){return this.isSelectable&&!this.noSelectOnClick},supportsSelectableRows:function(){return!0},selectableHasSelection:function(){var t=this.selectedRows;return this.isSelectable&&t&&t.length>0&&t.some(z.a)},selectableIsMultiSelect:function(){return this.isSelectable&&Object(B.a)(["range","multi"],this.selectMode)},selectableTableClasses:function(){var t,e=this.isSelectable;return t={"b-table-selectable":e},Object(c.a)(t,"b-table-select-".concat(this.selectMode),e),Object(c.a)(t,"b-table-selecting",this.selectableHasSelection),Object(c.a)(t,"b-table-selectable-no-click",e&&!this.hasSelectableRowClick),t},selectableTableAttrs:function(){return{"aria-multiselectable":this.isSelectable?this.selectableIsMultiSelect?"true":"false":null}}},watch:{computedItems:function(t,e){var r=!1;if(this.isSelectable&&this.selectedRows.length>0){r=Object(v.a)(t)&&Object(v.a)(e)&&t.length===e.length;for(var i=0;r&&i<t.length;i++)r=Object(_.a)(K(t[i]),K(e[i]))}r||this.clearSelected()},selectable:function(t){this.clearSelected(),this.setSelectionHandlers(t)},selectMode:function(){this.clearSelected()},hasSelectableRowClick:function(t){this.clearSelected(),this.setSelectionHandlers(!t)},selectedRows:function(t,e){var r=this;if(this.isSelectable&&!Object(_.a)(t,e)){var n=[];t.forEach((function(t,e){t&&n.push(r.computedItems[e])})),this.$emit(T.L,n)}}},beforeMount:function(){this.isSelectable&&this.setSelectionHandlers(!0)},methods:{selectRow:function(t){if(this.isSelectable&&Object(v.g)(t)&&t>=0&&t<this.computedItems.length&&!this.isRowSelected(t)){var e=this.selectableIsMultiSelect?this.selectedRows.slice():[];e[t]=!0,this.selectedLastClicked=-1,this.selectedRows=e}},unselectRow:function(t){if(this.isSelectable&&Object(v.g)(t)&&this.isRowSelected(t)){var e=this.selectedRows.slice();e[t]=!1,this.selectedLastClicked=-1,this.selectedRows=e}},selectAllRows:function(){var t=this.computedItems.length;this.isSelectable&&t>0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?Object(B.c)(t,!0):[!0])},isRowSelected:function(t){return!(!Object(v.g)(t)||!this.selectedRows[t])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(t){if(this.isSelectable&&this.isRowSelected(t)){var e=this.selectedVariant;return Object(c.a)({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(e),e)}return{}},selectableRowAttrs:function(t){return{"aria-selected":this.isSelectable?this.isRowSelected(t)?"true":"false":null}},setSelectionHandlers:function(t){var e=t&&!this.noSelectOnClick?"$on":"$off";this[e](T.G,this.selectionHandler),this[e](T.p,this.clearSelected),this[e](T.h,this.clearSelected)},selectionHandler:function(t,e,r){if(this.isSelectable&&!this.noSelectOnClick){var n=this.selectMode,o=this.selectedLastRow,c=this.selectedRows.slice(),l=!c[e];if("single"===n)c=[];else if("range"===n)if(o>-1&&r.shiftKey){for(var h=Object(W.c)(o,e);h<=Object(W.b)(o,e);h++)c[h]=!0;l=!0}else r.ctrlKey||r.metaKey||(c=[],l=!0),this.selectedLastRow=l?e:-1;c[e]=l,this.selectedRows=c}else this.clearSelected()}}}),lt=r(824),ut=r(144),bt=function(t){return Object(v.o)(t)?"":Object(v.h)(t)?Object(L.a)(t,t):t};function ht(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function ft(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ht(Object(source),!0).forEach((function(e){Object(c.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):ht(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var pt="sortBy",Ot=T.X+pt,jt="sortDesc",yt=T.X+jt,mt="asc",vt="desc",gt=[mt,vt,"last"],wt=(n={labelSortAsc:Object(d.c)(k.q,"Click to sort Ascending"),labelSortClear:Object(d.c)(k.q,"Click to clear sorting"),labelSortDesc:Object(d.c)(k.q,"Click to sort Descending"),noFooterSorting:Object(d.c)(k.g,!1),noLocalSorting:Object(d.c)(k.g,!1),noSortReset:Object(d.c)(k.g,!1)},Object(c.a)(n,pt,Object(d.c)(k.q)),Object(c.a)(n,"sortCompare",Object(d.c)(k.j)),Object(c.a)(n,"sortCompareLocale",Object(d.c)(k.f)),Object(c.a)(n,"sortCompareOptions",Object(d.c)(k.m,{numeric:!0})),Object(c.a)(n,jt,Object(d.c)(k.g,!1)),Object(c.a)(n,"sortDirection",Object(d.c)(k.q,mt,(function(t){return Object(B.a)(gt,t)}))),Object(c.a)(n,"sortIconLeft",Object(d.c)(k.g,!1)),Object(c.a)(n,"sortNullLast",Object(d.c)(k.g,!1)),n),St=l.default.extend({props:wt,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=this.localSortBy,e=this.localSortDesc,r=this.sortCompareLocale,n=this.sortNullLast,o=this.sortCompare,c=this.localSorting,l=(this.filteredItems||this.localItems||[]).slice(),h=ft(ft({},this.sortCompareOptions),{},{usage:"sort"});if(t&&c){var d=(this.computedFieldsObj[t]||{}).sortByFormatted,f=Object(v.e)(d)?d:d?this.getFieldFormatter(t):void 0;return Object(lt.a)(l,(function(a,b){var c=null;return Object(v.e)(o)&&(c=o(a,b,t,e,f,h,r)),(Object(v.o)(c)||!1===c)&&(c=function(a,b){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=t.sortBy,r=void 0===e?null:e,n=t.formatter,o=void 0===n?null:n,c=t.locale,l=void 0===c?void 0:c,h=t.localeOptions,d=void 0===h?{}:h,f=t.nullLast,O=void 0!==f&&f,j=Object(ut.a)(a,r,null),y=Object(ut.a)(b,r,null);return Object(v.e)(o)&&(j=o(j,r,a),y=o(y,r,b)),j=bt(j),y=bt(y),Object(v.c)(j)&&Object(v.c)(y)||Object(v.g)(j)&&Object(v.g)(y)?j<y?-1:j>y?1:0:O&&""===j&&""!==y?1:O&&""!==j&&""===y?-1:M(j).localeCompare(M(y),l,d)}(a,b,{sortBy:t,formatter:f,locale:r,localeOptions:h,nullLast:n})),(c||0)*(e?-1:1)}))}return l}},watch:(o={isSortable:function(t){t?this.isSortable&&this.$on(T.t,this.handleSort):this.$off(T.t,this.handleSort)}},Object(c.a)(o,jt,(function(t){t!==this.localSortDesc&&(this.localSortDesc=t||!1)})),Object(c.a)(o,pt,(function(t){t!==this.localSortBy&&(this.localSortBy=t||"")})),Object(c.a)(o,"localSortDesc",(function(t,e){t!==e&&this.$emit(yt,t)})),Object(c.a)(o,"localSortBy",(function(t,e){t!==e&&this.$emit(Ot,t)})),o),created:function(){this.isSortable&&this.$on(T.t,this.handleSort)},methods:{handleSort:function(t,e,r,n){var o=this;if(this.isSortable&&(!n||!this.noFooterSorting)){var c=!1,l=function(){var t=e.sortDirection||o.sortDirection;t===mt?o.localSortDesc=!1:t===vt&&(o.localSortDesc=!0)};if(e.sortable){var h=!this.localSorting&&e.sortKey?e.sortKey:t;this.localSortBy===h?this.localSortDesc=!this.localSortDesc:(this.localSortBy=h,l()),c=!0}else this.localSortBy&&!this.noSortReset&&(this.localSortBy="",l(),c=!0);c&&this.$emit(T.P,this.context)}},sortTheadThClasses:function(t,e,r){return{"b-table-sort-icon-left":e.sortable&&this.sortIconLeft&&!(r&&this.noFooterSorting)}},sortTheadThAttrs:function(t,e,r){if(!this.isSortable||r&&this.noFooterSorting)return{};var n=e.sortable;return{"aria-sort":n&&this.localSortBy===t?this.localSortDesc?"descending":"ascending":n?"none":null}},sortTheadThLabel:function(t,e,r){if(!this.isSortable||r&&this.noFooterSorting)return null;var n="";if(e.sortable)if(this.localSortBy===t)n=this.localSortDesc?this.labelSortAsc:this.labelSortDesc;else{n=this.localSortDesc?this.labelSortDesc:this.labelSortAsc;var o=this.sortDirection||e.sortDirection;o===mt?n=this.labelSortAsc:o===vt&&(n=this.labelSortDesc)}else this.noSortReset||(n=this.localSortBy?this.labelSortClear:"");return Object(G.h)(n)||null}}}),Tt=r(1052),kt=r(1053),Pt=r(1088),Ct=r(1055),Rt=r(1056),Dt=l.default.extend({methods:{renderTopRow:function(){var t=this.computedFields,e=this.stacked,r=this.tbodyTrClass,n=this.tbodyTrAttr,o=this.$createElement;return this.hasNormalizedSlot(m.J)&&!0!==e&&""!==e?o(tr.a,{staticClass:"b-table-top-row",class:[Object(v.e)(r)?r(null,"row-top"):r],attrs:Object(v.e)(n)?n(null,"row-top"):n,key:"b-top-row"},[this.normalizeSlot(m.J,{columns:t.length,fields:t})]):o()}}});function Ft(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function xt(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Ft(Object(source),!0).forEach((function(e){Object(c.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Ft(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var It=Object(d.d)(Object(object.m)(xt(xt(xt(xt(xt(xt(xt(xt(xt(xt(xt(xt(xt(xt(xt(xt(xt(xt({},j.b),w),D),x.b),I.b),E),J),Q.b),Y),nt),ct),wt),Tt.a),kt.a),Pt.a),Ct.a),Rt.a),{})),h.tb),Et=l.default.extend({name:h.tb,mixins:[f.a,O.a,j.a,y.a,Q.a,kt.b,Tt.b,Rt.b,Ct.b,Pt.b,Tt.b,X,St,Z,x.a,I.a,at,A,Dt,S,F,st],props:It})},741:function(t,e,r){"use strict";r.d(e,"a",(function(){return w}));r(16),r(15),r(13),r(10),r(19),r(14),r(20);var n=r(2),o=(r(30),r(8)),c=r(3),l=r(1),h=r(0),d=r(95),f=r(151),O=r(38);function j(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}var y="light",m="dark",v=Object(h.d)({variant:Object(h.c)(l.q)},c.Hb),w=o.default.extend({name:c.Hb,mixins:[d.a,f.a,O.a],provide:function(){return{bvTableTr:this}},inject:{bvTableRowGroup:{default:function(){return{}}}},inheritAttrs:!1,props:v,computed:{inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return this.headVariant!==y&&this.footVariant!==y&&(this.headVariant===m||this.footVariant===m||this.isDark)},trClasses:function(){var t=this.variant;return[t?"".concat(this.isRowDark?"bg":"table","-").concat(t):null]},trAttrs:function(){return function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?j(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):j(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({role:"row"},this.bvAttrs)}},render:function(t){return t("tr",{class:this.trClasses,attrs:this.trAttrs,on:this.bvListeners},this.normalizeSlot())}})},755:function(t,e,r){"use strict";r.d(e,"b",(function(){return P})),r.d(e,"a",(function(){return C}));r(16),r(15),r(13),r(10),r(19),r(14),r(20);var n=r(2),o=(r(30),r(8)),c=r(3),l=r(1),h=r(4),d=r(7),f=r(36),O=r(0),j=r(29),y=r(95),m=r(151),v=r(38);function w(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function S(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?w(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):w(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var T=function(t){return(t=Object(f.b)(t,0))>0?t:null},k=function(t){return Object(d.o)(t)||T(t)>0},P=Object(O.d)({colspan:Object(O.c)(l.l,null,k),rowspan:Object(O.c)(l.l,null,k),stackedHeading:Object(O.c)(l.q),stickyColumn:Object(O.c)(l.g,!1),variant:Object(O.c)(l.q)},c.ub),C=o.default.extend({name:c.ub,mixins:[y.a,m.a,v.a],inject:{bvTableTr:{default:function(){return{}}}},inheritAttrs:!1,props:P,computed:{tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return T(this.colspan)},computedRowspan:function(){return T(this.rowspan)},cellClasses:function(){var t=this.variant,e=this.headVariant,r=this.isStickyColumn;return(!t&&this.isStickyHeader&&!e||!t&&r&&this.inTfoot&&!this.footVariant||!t&&r&&this.inThead&&!e||!t&&r&&this.inTbody)&&(t=this.rowVariant||this.tableVariant||"b-table-default"),[t?"".concat(this.isDark?"bg":"table","-").concat(t):null,r?"b-table-sticky-column":null]},cellAttrs:function(){var t=this.stackedHeading,e=this.inThead||this.inTfoot,r=this.computedColspan,n=this.computedRowspan,o="cell",c=null;return e?(o="columnheader",c=r>0?"colspan":"col"):Object(h.t)(this.tag,"th")&&(o="rowheader",c=n>0?"rowgroup":"row"),S(S({colspan:r,rowspan:n,role:o,scope:c},this.bvAttrs),{},{"data-label":this.isStackedCell&&!Object(d.o)(t)?Object(j.g)(t):null})}},render:function(t){var e=[this.normalizeSlot()];return t(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?t("div",[e]):e])}})},756:function(t,e,r){"use strict";r.d(e,"b",(function(){return l})),r.d(e,"c",(function(){return h})),r.d(e,"d",(function(){return d})),r.d(e,"e",(function(){return f})),r.d(e,"a",(function(){return O}));r(16),r(15),r(13),r(19),r(14),r(20);var n=r(2);r(10),r(50);function o(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function c(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?o(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):o(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var l="_cellVariants",h="_rowVariant",d="_showDetails",f=[l,h,d].reduce((function(t,e){return c(c({},t),{},Object(n.a)({},e,!0))}),{}),O=["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(",")},793:function(t,e,r){"use strict";var n=r(72),o=r(180),c=r(98),l=r(113),h=r(82).f;n&&!("lastIndex"in[])&&(h(Array.prototype,"lastIndex",{configurable:!0,get:function(){var t=c(this),e=l(t);return 0==e?0:e-1}}),o("lastIndex"))},823:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(){}},824:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));r(47),r(315);var n=function(t,e){return t.map((function(a,t){return[t,a]})).sort(function(a,b){return this(a[1],b[1])||a[0]-b[0]}.bind(e)).map((function(t){return t[1]}))}},886:function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(4),o=r(756),c=["TD","TH","TR"],l=function(t){if(!t||!t.target)return!1;var e=t.target;if(e.disabled||-1!==c.indexOf(e.tagName))return!1;if(Object(n.e)(".dropdown-menu",e))return!0;var label="LABEL"===e.tagName?e:Object(n.e)("label",e);if(label){var r=Object(n.h)(label,"for"),input=r?Object(n.j)(r):Object(n.C)("input, select, textarea",label);if(input&&!input.disabled)return!0}return Object(n.v)(e,o.a)}},887:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r(139),r(10),r(60);var n=r(4),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=Object(n.l)();return!!(e&&""!==e.toString().trim()&&e.containsNode&&Object(n.s)(t))&&e.containsNode(t,!0)}},888:function(t,e,r){"use strict";r.d(e,"a",(function(){return d}));var n=r(8),o=r(3),c=r(0),l=r(755),h=Object(c.d)(l.b,o.zb),d=n.default.extend({name:o.zb,extends:l.a,props:h,computed:{tag:function(){return"th"}}})},889:function(t,e,r){"use strict";r.d(e,"a",(function(){return v}));r(16),r(15),r(13),r(10),r(19),r(14),r(20);var n=r(2),o=r(8),c=r(3),l=r(1),h=r(0),d=r(95),f=r(151),O=r(38);function j(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?j(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):j(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m=Object(h.d)({footVariant:Object(h.c)(l.q)},c.yb),v=o.default.extend({name:c.yb,mixins:[d.a,f.a,O.a],provide:function(){return{bvTableRowGroup:this}},inject:{bvTable:{default:function(){return{}}}},inheritAttrs:!1,props:m,computed:{isTfoot:function(){return!0},isDark:function(){return this.bvTable.dark},isStacked:function(){return this.bvTable.isStacked},isResponsive:function(){return this.bvTable.isResponsive},isStickyHeader:function(){return!1},hasStickyHeader:function(){return!this.isStacked&&this.bvTable.stickyHeader},tableVariant:function(){return this.bvTable.tableVariant},tfootClasses:function(){return[this.footVariant?"thead-".concat(this.footVariant):null]},tfootAttrs:function(){return y(y({},this.bvAttrs),{},{role:"rowgroup"})}},render:function(t){return t("tfoot",{class:this.tfootClasses,attrs:this.tfootAttrs,on:this.bvListeners},this.normalizeSlot())}})}}]);
//# sourceMappingURL=b9e986f.js.map