!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=189)}([function(t,e,n){(function(t){t.exports=function(){"use strict";var e,r;function i(){return e.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(s(t,e))return!1;return!0}function u(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,e){var n,r=[],i=t.length;for(n=0;n>>0;for(e=0;e0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,T=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)s(t,e)&&n.push(e);return n};var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Y=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,A={},E={};function $(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(E[t]=i),e&&(E[e[0]]=function(){return j(i.apply(this,arguments),e[1],e[2])}),n&&(E[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function I(t,e){return t.isValid()?(e=H(e,t.localeData()),A[e]=A[e]||function(t){var e,n,r,i=t.match(P);for(e=0,n=i.length;e=0&&Y.test(t);)t=t.replace(Y,r),Y.lastIndex=0,n-=1;return t}var F={};function B(t,e){var n=t.toLowerCase();F[n]=F[n+"s"]=F[e]=t}function N(t){return"string"==typeof t?F[t]||F[t.toLowerCase()]:void 0}function z(t){var e,n,r={};for(n in t)s(t,n)&&(e=N(n))&&(r[e]=t[n]);return r}var R={};function V(t,e){R[t]=e}function W(t){return t%4==0&&t%100!=0||t%400==0}function U(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function q(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=U(e)),n}function G(t,e){return function(n){return null!=n?(K(this,t,n),i.updateOffset(this,e),this):J(this,t)}}function J(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function K(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&W(t.year())&&1===t.month()&&29===t.date()?(n=q(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),kt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var X,Z=/\d/,Q=/\d\d/,tt=/\d{3}/,et=/\d{4}/,nt=/[+-]?\d{6}/,rt=/\d\d?/,it=/\d\d\d\d?/,at=/\d\d\d\d\d\d?/,ot=/\d{1,3}/,st=/\d{1,4}/,lt=/[+-]?\d{1,6}/,ut=/\d+/,ct=/[+-]?\d+/,dt=/Z|[+-]\d\d:?\d\d/gi,ft=/Z|[+-]\d\d(?::?\d\d)?/gi,ht=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pt(t,e,n){X[t]=L(e)?e:function(t,r){return t&&n?n:e}}function mt(t,e){return s(X,t)?X[t](e._strict,e._locale):new RegExp(vt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,r,i){return e||n||r||i}))))}function vt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}X={};var gt,bt={};function yt(t,e){var n,r,i=e;for("string"==typeof t&&(t=[t]),c(e)&&(i=function(t,n){n[e]=q(t)}),r=t.length,n=0;n68?1900:2e3)};var Yt=G("FullYear",!0);function At(t,e,n,r,i,a,o){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,i,a,o),s}function Et(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function $t(t,e,n){var r=7+e-n;return-(7+Et(t,0,r).getUTCDay()-e)%7+r-1}function It(t,e,n,r,i){var a,o,s=1+7*(e-1)+(7+n-r)%7+$t(t,r,i);return s<=0?o=Pt(a=t-1)+s:s>Pt(t)?(a=t+1,o=s-Pt(t)):(a=t,o=s),{year:a,dayOfYear:o}}function Ht(t,e,n){var r,i,a=$t(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?r=o+Ft(i=t.year()-1,e,n):o>Ft(t.year(),e,n)?(r=o-Ft(t.year(),e,n),i=t.year()+1):(i=t.year(),r=o),{week:r,year:i}}function Ft(t,e,n){var r=$t(t,e,n),i=$t(t+1,e,n);return(Pt(t)-r+i)/7}function Bt(t,e){return t.slice(e,7).concat(t.slice(0,e))}$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),B("week","w"),B("isoWeek","W"),V("week",5),V("isoWeek",5),pt("w",rt),pt("ww",rt,Q),pt("W",rt),pt("WW",rt,Q),_t(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=q(t)})),$("d",0,"do","day"),$("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),$("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),$("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),B("day","d"),B("weekday","e"),B("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),pt("d",rt),pt("e",rt),pt("E",rt),pt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),pt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),pt("dddd",(function(t,e){return e.weekdaysRegex(t)})),_t(["dd","ddd","dddd"],(function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:m(n).invalidWeekday=t})),_t(["d","e","E"],(function(t,e,n,r){e[r]=q(t)}));var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Rt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Vt=ht,Wt=ht,Ut=ht;function qt(t,e,n){var r,i,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=gt.call(this._weekdaysParse,o))?i:null:"ddd"===e?-1!==(i=gt.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=gt.call(this._minWeekdaysParse,o))?i:null:"dddd"===e?-1!==(i=gt.call(this._weekdaysParse,o))||-1!==(i=gt.call(this._shortWeekdaysParse,o))||-1!==(i=gt.call(this._minWeekdaysParse,o))?i:null:"ddd"===e?-1!==(i=gt.call(this._shortWeekdaysParse,o))||-1!==(i=gt.call(this._weekdaysParse,o))||-1!==(i=gt.call(this._minWeekdaysParse,o))?i:null:-1!==(i=gt.call(this._minWeekdaysParse,o))||-1!==(i=gt.call(this._weekdaysParse,o))||-1!==(i=gt.call(this._shortWeekdaysParse,o))?i:null}function Gt(){function t(t,e){return e.length-t.length}var e,n,r,i,a,o=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=p([2e3,1]).day(e),r=vt(this.weekdaysMin(n,"")),i=vt(this.weekdaysShort(n,"")),a=vt(this.weekdays(n,"")),o.push(r),s.push(i),l.push(a),u.push(r),u.push(i),u.push(a);o.sort(t),s.sort(t),l.sort(t),u.sort(t),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Jt(){return this.hours()%12||12}function Kt(t,e){$(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Xt(t,e){return e._meridiemParse}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Jt),$("k",["kk",2],0,(function(){return this.hours()||24})),$("hmm",0,0,(function(){return""+Jt.apply(this)+j(this.minutes(),2)})),$("hmmss",0,0,(function(){return""+Jt.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)})),$("Hmm",0,0,(function(){return""+this.hours()+j(this.minutes(),2)})),$("Hmmss",0,0,(function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)})),Kt("a",!0),Kt("A",!1),B("hour","h"),V("hour",13),pt("a",Xt),pt("A",Xt),pt("H",rt),pt("h",rt),pt("k",rt),pt("HH",rt,Q),pt("hh",rt,Q),pt("kk",rt,Q),pt("hmm",it),pt("hmmss",at),pt("Hmm",it),pt("Hmmss",at),yt(["H","HH"],3),yt(["k","kk"],(function(t,e,n){var r=q(t);e[3]=24===r?0:r})),yt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),yt(["h","hh"],(function(t,e,n){e[3]=q(t),m(n).bigHour=!0})),yt("hmm",(function(t,e,n){var r=t.length-2;e[3]=q(t.substr(0,r)),e[4]=q(t.substr(r)),m(n).bigHour=!0})),yt("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=q(t.substr(0,r)),e[4]=q(t.substr(r,2)),e[5]=q(t.substr(i)),m(n).bigHour=!0})),yt("Hmm",(function(t,e,n){var r=t.length-2;e[3]=q(t.substr(0,r)),e[4]=q(t.substr(r))})),yt("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=q(t.substr(0,r)),e[4]=q(t.substr(r,2)),e[5]=q(t.substr(i))}));var Zt,Qt=G("Hours",!0),te={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:xt,monthsShort:Mt,week:{dow:0,doy:6},weekdays:Nt,weekdaysMin:Rt,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function re(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n0;){if(r=ae(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&re(i,n)>=e-1)break;e--}a++}return Zt}(t)}function ue(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>kt(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),m(t)._overflowWeeks&&-1===e&&(e=7),m(t)._overflowWeekday&&-1===e&&(e=8),m(t).overflow=e),t}var ce=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,de=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fe=/Z|[+-]\d\d(?::?\d\d)?/,he=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],me=/^\/?Date\((-?\d+)/i,ve=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ge={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function be(t){var e,n,r,i,a,o,s=t._i,l=ce.exec(s)||de.exec(s),u=he.length,c=pe.length;if(l){for(m(t).iso=!0,e=0,n=u;e7)&&(l=!0)):(a=t._locale._week.dow,o=t._locale._week.doy,u=Ht(Oe(),a,o),n=we(e.gg,t._a[0],u.year),r=we(e.w,u.week),null!=e.d?((i=e.d)<0||i>6)&&(l=!0):null!=e.e?(i=e.e+a,(e.e<0||e.e>6)&&(l=!0)):i=a),r<1||r>Ft(n,a,o)?m(t)._overflowWeeks=!0:null!=l?m(t)._overflowWeekday=!0:(s=It(n,r,i,a,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(o=we(t._a[0],r[0]),(t._dayOfYear>Pt(o)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=Et(o,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Et:At).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(m(t).weekdayMismatch=!0)}}function xe(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],m(t).empty=!0;var e,n,r,a,o,s,l,u=""+t._i,c=u.length,d=0;for(l=(r=H(t._f,t._locale).match(P)||[]).length,e=0;e0&&m(t).unusedInput.push(o),u=u.slice(u.indexOf(n)+n.length),d+=n.length),E[a]?(n?m(t).empty=!1:m(t).unusedTokens.push(a),wt(a,n,t)):t._strict&&!n&&m(t).unusedTokens.push(a);m(t).charsLeftOver=c-d,u.length>0&&m(t).unusedInput.push(u),t._a[3]<=12&&!0===m(t).bigHour&&t._a[3]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(s=m(t).era)&&(t._a[0]=t._locale.erasConvertYear(s,t._a[0])),ke(t),ue(t)}else _e(t);else be(t)}function Me(t){var e=t._i,n=t._f;return t._locale=t._locale||le(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),k(e)?new w(ue(e)):(d(e)?t._d=e:a(n)?function(t){var e,n,r,i,a,o,s=!1,l=t._f.length;if(0===l)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;ithis?this:t:g()}));function De(t,e){var n,r;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Oe();for(n=e[0],r=1;r=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function an(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function on(t,e){return e.erasAbbrRegex(t)}function sn(){var t,e,n=[],r=[],i=[],a=[],o=this.eras();for(t=0,e=o.length;t(a=Ft(t,r,i))&&(e=a),cn.call(this,t,e,n,r,i))}function cn(t,e,n,r,i){var a=It(t,e,n,r,i),o=Et(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}$("N",0,0,"eraAbbr"),$("NN",0,0,"eraAbbr"),$("NNN",0,0,"eraAbbr"),$("NNNN",0,0,"eraName"),$("NNNNN",0,0,"eraNarrow"),$("y",["y",1],"yo","eraYear"),$("y",["yy",2],0,"eraYear"),$("y",["yyy",3],0,"eraYear"),$("y",["yyyy",4],0,"eraYear"),pt("N",on),pt("NN",on),pt("NNN",on),pt("NNNN",(function(t,e){return e.erasNameRegex(t)})),pt("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),yt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?m(n).era=i:m(n).invalidEra=t})),pt("y",ut),pt("yy",ut),pt("yyy",ut),pt("yyyy",ut),pt("yo",(function(t,e){return e._eraYearOrdinalRegex||ut})),yt(["y","yy","yyy","yyyy"],0),yt(["yo"],(function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[0]=n._locale.eraYearOrdinalParse(t,i):e[0]=parseInt(t,10)})),$(0,["gg",2],0,(function(){return this.weekYear()%100})),$(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),B("weekYear","gg"),B("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),pt("G",ct),pt("g",ct),pt("GG",rt,Q),pt("gg",rt,Q),pt("GGGG",st,et),pt("gggg",st,et),pt("GGGGG",lt,nt),pt("ggggg",lt,nt),_t(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,r){e[r.substr(0,2)]=q(t)})),_t(["gg","GG"],(function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)})),$("Q",0,"Qo","quarter"),B("quarter","Q"),V("quarter",7),pt("Q",Z),yt("Q",(function(t,e){e[1]=3*(q(t)-1)})),$("D",["DD",2],"Do","date"),B("date","D"),V("date",9),pt("D",rt),pt("DD",rt,Q),pt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),yt(["D","DD"],2),yt("Do",(function(t,e){e[2]=q(t.match(rt)[0])}));var dn=G("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),B("dayOfYear","DDD"),V("dayOfYear",4),pt("DDD",ot),pt("DDDD",tt),yt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=q(t)})),$("m",["mm",2],0,"minute"),B("minute","m"),V("minute",14),pt("m",rt),pt("mm",rt,Q),yt(["m","mm"],4);var fn=G("Minutes",!1);$("s",["ss",2],0,"second"),B("second","s"),V("second",15),pt("s",rt),pt("ss",rt,Q),yt(["s","ss"],5);var hn,pn,mn=G("Seconds",!1);for($("S",0,0,(function(){return~~(this.millisecond()/100)})),$(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),$(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),$(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),$(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),$(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),$(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),B("millisecond","ms"),V("millisecond",16),pt("S",ot,Z),pt("SS",ot,Q),pt("SSS",ot,tt),hn="SSSS";hn.length<=9;hn+="S")pt(hn,ut);function vn(t,e){e[6]=q(1e3*("0."+t))}for(hn="S";hn.length<=9;hn+="S")yt(hn,vn);pn=G("Milliseconds",!1),$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var gn=w.prototype;function bn(t){return t}gn.add=qe,gn.calendar=function(t,e){1===arguments.length&&(arguments[0]?Ke(arguments[0])?(t=arguments[0],e=void 0):Xe(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Oe(),r=Ie(n,this).startOf("day"),a=i.calendarFormat(this,r)||"sameElse",o=e&&(L(e[a])?e[a].call(this,n):e[a]);return this.format(o||this.localeData().calendar(a,this,Oe(n)))},gn.clone=function(){return new w(this)},gn.diff=function(t,e,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=Ie(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=N(e)){case"year":a=Ze(this,r)/12;break;case"month":a=Ze(this,r);break;case"quarter":a=Ze(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:U(a)},gn.endOf=function(t){var e,n;if(void 0===(t=N(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?an:rn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-nn(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-nn(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-nn(e,1e3)-1}return this._d.setTime(e),i.updateOffset(this,!0),this},gn.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=I(this,t);return this.localeData().postformat(e)},gn.from=function(t,e){return this.isValid()&&(k(t)&&t.isValid()||Oe(t).isValid())?ze({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gn.fromNow=function(t){return this.from(Oe(),t)},gn.to=function(t,e){return this.isValid()&&(k(t)&&t.isValid()||Oe(t).isValid())?ze({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gn.toNow=function(t){return this.to(Oe(),t)},gn.get=function(t){return L(this[t=N(t)])?this[t]():this},gn.invalidAt=function(){return m(this).overflow},gn.isAfter=function(t,e){var n=k(t)?t:Oe(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=N(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?I(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(n,"Z")):I(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gn.toJSON=function(){return this.isValid()?this.toISOString():null},gn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gn.unix=function(){return Math.floor(this.valueOf()/1e3)},gn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gn.eraName=function(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;tthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gn.isLocal=function(){return!!this.isValid()&&!this._isUTC},gn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gn.isUtc=Fe,gn.isUTC=Fe,gn.zoneAbbr=function(){return this._isUTC?"UTC":""},gn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gn.dates=M("dates accessor is deprecated. Use date instead.",dn),gn.months=M("months accessor is deprecated. Use month instead",Ct),gn.years=M("years accessor is deprecated. Use year instead",Yt),gn.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),gn.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,e={};return _(e,this),(e=Me(e))._a?(t=e._isUTC?p(e._a):Oe(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var r,i=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=C.prototype;function _n(t,e,n,r){var i=le(),a=p().set(r,e);return i[n](a,t)}function wn(t,e,n){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return _n(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=_n(t,r,n,"month");return i}function kn(t,e,n,r){"boolean"==typeof t?(c(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,c(e)&&(n=e,e=void 0),e=e||"");var i,a=le(),o=t?a._week.dow:0,s=[];if(null!=n)return _n(e,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=_n(e,(i+o)%7,r,"day");return s}yn.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return L(r)?r.call(e,n):r},yn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(P).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(t){return this._ordinal.replace("%d",t)},yn.preparse=bn,yn.postformat=bn,yn.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return L(i)?i(t,e,n,r):i.replace(/%d/i,t)},yn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return L(n)?n(e):n.replace(/%s/i,e)},yn.set=function(t){var e,n;for(n in t)s(t,n)&&(L(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(t,e){var n,r,a,o=this._eras||le("en")._eras;for(n=0,r=o.length;n=0)return l[r]},yn.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?i(t.since).year():i(t.since).year()+(e-t.offset)*n},yn.erasAbbrRegex=function(t){return s(this,"_erasAbbrRegex")||sn.call(this),t?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(t){return s(this,"_erasNameRegex")||sn.call(this),t?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(t){return s(this,"_erasNarrowRegex")||sn.call(this),t?this._erasNarrowRegex:this._erasRegex},yn.months=function(t,e){return t?a(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Tt).test(e)?"format":"standalone"][t.month()]:a(this._months)?this._months:this._months.standalone},yn.monthsShort=function(t,e){return t?a(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Tt.test(e)?"format":"standalone"][t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(t,e,n){var r,i,a;if(this._monthsParseExact)return Lt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},yn.monthsRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||jt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=St),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||jt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Ot),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(t){return Ht(t,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(t,e){var n=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Bt(n,this._week.dow):t?n[t.day()]:n},yn.weekdaysMin=function(t){return!0===t?Bt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},yn.weekdaysShort=function(t){return!0===t?Bt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},yn.weekdaysParse=function(t,e,n){var r,i,a;if(this._weekdaysParseExact)return qt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},yn.weekdaysRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Vt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Wt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ut),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},yn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},oe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===q(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=M("moment.lang is deprecated. Use moment.locale instead.",oe),i.langData=M("moment.langData is deprecated. Use moment.localeData instead.",le);var xn=Math.abs;function Mn(t,e,n,r){var i=ze(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function Tn(t){return t<0?Math.floor(t):Math.ceil(t)}function On(t){return 4800*t/146097}function Sn(t){return 146097*t/4800}function Ln(t){return function(){return this.as(t)}}var Dn=Ln("ms"),Cn=Ln("s"),jn=Ln("m"),Pn=Ln("h"),Yn=Ln("d"),An=Ln("w"),En=Ln("M"),$n=Ln("Q"),In=Ln("y");function Hn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Fn=Hn("milliseconds"),Bn=Hn("seconds"),Nn=Hn("minutes"),zn=Hn("hours"),Rn=Hn("days"),Vn=Hn("months"),Wn=Hn("years"),Un=Math.round,qn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}var Jn=Math.abs;function Kn(t){return(t>0)-(t<0)||+t}function Xn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r,i,a,o,s,l=Jn(this._milliseconds)/1e3,u=Jn(this._days),c=Jn(this._months),d=this.asSeconds();return d?(t=U(l/60),e=U(t/60),l%=60,t%=60,n=U(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=Kn(this._months)!==Kn(d)?"-":"",o=Kn(this._days)!==Kn(d)?"-":"",s=Kn(this._milliseconds)!==Kn(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(u?o+u+"D":"")+(e||t||l?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(l?s+r+"S":"")):"P0D"}var Zn=je.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var t=this._data;return this._milliseconds=xn(this._milliseconds),this._days=xn(this._days),this._months=xn(this._months),t.milliseconds=xn(t.milliseconds),t.seconds=xn(t.seconds),t.minutes=xn(t.minutes),t.hours=xn(t.hours),t.months=xn(t.months),t.years=xn(t.years),this},Zn.add=function(t,e){return Mn(this,t,e,1)},Zn.subtract=function(t,e){return Mn(this,t,e,-1)},Zn.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=N(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+On(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Sn(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},Zn.asMilliseconds=Dn,Zn.asSeconds=Cn,Zn.asMinutes=jn,Zn.asHours=Pn,Zn.asDays=Yn,Zn.asWeeks=An,Zn.asMonths=En,Zn.asQuarters=$n,Zn.asYears=In,Zn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},Zn._bubble=function(){var t,e,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Tn(Sn(s)+o),o=0,s=0),l.milliseconds=a%1e3,t=U(a/1e3),l.seconds=t%60,e=U(t/60),l.minutes=e%60,n=U(e/60),l.hours=n%24,o+=U(n/24),i=U(On(o)),s+=i,o-=Tn(Sn(i)),r=U(s/12),s%=12,l.days=o,l.months=s,l.years=r,this},Zn.clone=function(){return ze(this)},Zn.get=function(t){return t=N(t),this.isValid()?this[t+"s"]():NaN},Zn.milliseconds=Fn,Zn.seconds=Bn,Zn.minutes=Nn,Zn.hours=zn,Zn.days=Rn,Zn.weeks=function(){return U(this.days()/7)},Zn.months=Vn,Zn.years=Wn,Zn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,a=qn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(a=Object.assign({},qn,e),null!=e.s&&null==e.ss&&(a.ss=e.s-1)),n=this.localeData(),r=function(t,e,n,r){var i=ze(t).abs(),a=Un(i.as("s")),o=Un(i.as("m")),s=Un(i.as("h")),l=Un(i.as("d")),u=Un(i.as("M")),c=Un(i.as("w")),d=Un(i.as("y")),f=a<=n.ss&&["s",a]||a0,f[4]=r,Gn.apply(null,f)}(this,!i,a,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},Zn.toISOString=Xn,Zn.toString=Xn,Zn.toJSON=Xn,Zn.locale=Qe,Zn.localeData=en,Zn.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xn),Zn.lang=tn,$("X",0,0,"unix"),$("x",0,0,"valueOf"),pt("x",ct),pt("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),yt("x",(function(t,e,n){n._d=new Date(q(t))})),i.version="2.29.4",e=Oe,i.fn=gn,i.min=function(){var t=[].slice.call(arguments,0);return De("isBefore",t)},i.max=function(){var t=[].slice.call(arguments,0);return De("isAfter",t)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=p,i.unix=function(t){return Oe(1e3*t)},i.months=function(t,e){return wn(t,e,"months")},i.isDate=d,i.locale=oe,i.invalid=g,i.duration=ze,i.isMoment=k,i.weekdays=function(t,e,n){return kn(t,e,n,"weekdays")},i.parseZone=function(){return Oe.apply(null,arguments).parseZone()},i.localeData=le,i.isDuration=Pe,i.monthsShort=function(t,e){return wn(t,e,"monthsShort")},i.weekdaysMin=function(t,e,n){return kn(t,e,n,"weekdaysMin")},i.defineLocale=se,i.updateLocale=function(t,e){if(null!=e){var n,r,i=te;null!=ee[t]&&null!=ee[t].parentLocale?ee[t].set(D(ee[t]._config,e)):(null!=(r=ae(t))&&(i=r._config),e=D(i,e),null==r&&(e.abbr=t),(n=new C(e)).parentLocale=ee[t],ee[t]=n),oe(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?(ee[t]=ee[t].parentLocale,t===oe()&&oe(t)):null!=ee[t]&&delete ee[t]);return ee[t]},i.locales=function(){return T(ee)},i.weekdaysShort=function(t,e,n){return kn(t,e,n,"weekdaysShort")},i.normalizeUnits=N,i.relativeTimeRounding=function(t){return void 0===t?Un:"function"==typeof t&&(Un=t,!0)},i.relativeTimeThreshold=function(t,e){return void 0!==qn[t]&&(void 0===e?qn[t]:(qn[t]=e,"s"===t&&(qn.ss=e-1),!0))},i.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=gn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(21)(t))},function(t,e,n){"use strict";function r(t,e,n,r,i,a,o,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(3);e.a={methods:{renderLoading:function(t){t?this.loader=this.$loading.show({color:r.a.primaryColor,width:150,height:150,loader:"bars",opacity:.6}):this.loader.hide()},renderAlertPopup:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a={type:t,title:n||this.$t(t),confirmButtonText:this.$t("gotIt"),confirmButtonColor:r.a.primaryColor};e&&(a.text=e),i&&(a.html=i),this.$swal(a)}}}},function(t,e,n){"use strict";e.a={primaryColor:"#B10904",secondaryColor:"#ad0f54"}},function(t,e,n){t.exports=n(190)},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=(o=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),a=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(a).concat([i]).join("\n")}var o;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i=0&&d.splice(e,1)}function g(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return b(e,t.attrs),m(t,e),e}function b(t,e){Object.keys(e).forEach((function(n){t.setAttribute(n,e[n])}))}function y(t,e){var n,r,i,a;if(e.transform&&t.css){if(!(a="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=a}if(e.singleton){var o=c++;n=u||(u=g(e)),r=k.bind(null,n,o,!1),i=k.bind(null,n,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",b(e,t.attrs),m(t,e),e}(e),r=M.bind(null,n,e),i=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(e),r=x.bind(null,n),i=function(){v(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=o()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return h(n,e),function(t){for(var r=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.opacity="",t.style.display=e},E=function(t){t.style.opacity="",t.style.display="none"},$=function(t,e,n){e?A(t,n):E(t)},I=function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))},H=function(t){var e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),r=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||r>0},F=function(){return document.body.querySelector("."+w.container)},B=function(t){var e=F();return e?e.querySelector(t):null},N=function(t){return B("."+t)},z=function(){return N(w.popup)},R=function(){var t=z();return f(t.querySelectorAll("."+w.icon))},V=function(){var t=R().filter((function(t){return I(t)}));return t.length?t[0]:null},W=function(){return N(w.title)},U=function(){return N(w.content)},q=function(){return N(w.image)},G=function(){return N(w["progress-steps"])},J=function(){return N(w["validation-message"])},K=function(){return B("."+w.actions+" ."+w.confirm)},X=function(){return B("."+w.actions+" ."+w.cancel)},Z=function(){return N(w.actions)},Q=function(){return N(w.header)},tt=function(){return N(w.footer)},et=function(){return N(w.close)},nt=function(){var t=f(z().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((function(t,e){return(t=parseInt(t.getAttribute("tabindex")))>(e=parseInt(e.getAttribute("tabindex")))?1:t\n
\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n

    \n \n
    \n
    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n \n').replace(/(^|\n)\s*/g,""),st=function(t){ze.isVisible()&&S!==t.target.value&&ze.resetValidationMessage(),S=t.target.value},lt=function(t){var e;if((e=F())&&(e.parentNode.removeChild(e),j([document.documentElement,document.body],[w["no-backdrop"],w["toast-shown"],w["has-column"]])),at())p("SweetAlert2 requires document to initialize");else{var n=document.createElement("div");n.className=w.container,n.innerHTML=ot;var r,i,a,o,s,l,u,c,d,f="string"==typeof(r=t.target)?document.querySelector(r):r;f.appendChild(n),function(t){var e=z();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")}(t),function(t){"rtl"===window.getComputedStyle(t).direction&&C(F(),w.rtl)}(f),i=U(),a=P(i,w.input),o=P(i,w.file),s=i.querySelector(".".concat(w.range," input")),l=i.querySelector(".".concat(w.range," output")),u=P(i,w.select),c=i.querySelector(".".concat(w.checkbox," input")),d=P(i,w.textarea),a.oninput=st,o.onchange=st,u.onchange=st,c.onchange=st,d.oninput=st,s.oninput=function(t){st(t),l.value=s.value},s.onchange=function(t){st(t),s.nextSibling.value=s.value}}},ut=function(e,n){e instanceof HTMLElement?n.appendChild(e):"object"===t(e)?ct(n,e):e&&(n.innerHTML=e)},ct=function(t,e){if(t.innerHTML="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},dt=function(){if(at())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1}(),ft=function(t,e){var n=Z(),r=K(),i=X();e.showConfirmButton||e.showCancelButton||E(n),T(n,e.customClass,"actions"),ht(r,"confirm",e),ht(i,"cancel",e),e.buttonsStyling?function(t,e,n){C([t,e],w.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(e.style.backgroundColor=n.cancelButtonColor);var r=window.getComputedStyle(t).getPropertyValue("background-color");t.style.borderLeftColor=r,t.style.borderRightColor=r}(r,i,e):(j([r,i],w.styled),r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor="",i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor=""),e.reverseButtons&&r.parentNode.insertBefore(i,r)};function ht(t,e,n){$(t,n["showC"+e.substring(1)+"Button"],"inline-block"),t.innerHTML=n[e+"ButtonText"],t.setAttribute("aria-label",n[e+"ButtonAriaLabel"]),t.className=w[e],T(t,n.customClass,e+"Button"),C(t,n[e+"ButtonClass"])}var pt=function(t,e){var n=F();n&&(function(t,e){"string"==typeof e?t.style.background=e:e||C([document.documentElement,document.body],w["no-backdrop"])}(n,e.backdrop),!e.backdrop&&e.allowOutsideClick&&h('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),function(t,e){e in w?C(t,w[e]):(h('The "position" parameter is not valid, defaulting to "center"'),C(t,w.center))}(n,e.position),function(t,e){if(e&&"string"==typeof e){var n="grow-"+e;n in w&&C(t,w[n])}}(n,e.grow),T(n,e.customClass,"container"),e.customContainerClass&&C(n,e.customContainerClass))},mt={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},vt=["input","file","range","select","radio","checkbox","textarea"],gt=function(t){if(!wt[t.input])return p('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=wt[t.input](t);A(e),setTimeout((function(){L(e)}))},bt=function(t,e){var n=O(U(),t);if(n)for(var r in function(t){for(var e=0;en?t+"px":null})).observe(e,{attributes:!0,attributeFilter:["style"]})}return e};var kt=function(t,e){var n=U().querySelector("#"+w.content);e.html?(ut(e.html,n),A(n,"block")):e.text?(n.textContent=e.text,A(n,"block")):E(n),function(t,e){var n=U(),r=mt.innerParams.get(t),i=!r||e.input!==r.input;vt.forEach((function(t){var r=w[t],a=P(n,r);bt(t,e.inputAttributes),yt(a,r,e),i&&E(a)})),e.input&&i&>(e)}(t,e),T(U(),e.customClass,"content")},xt=function(){for(var t=R(),e=0;e=e.progressSteps.length&&h("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach((function(t,i){var a=function(t){var e=document.createElement("li");return C(e,w["progress-step"]),e.innerHTML=t,e}(t);if(n.appendChild(a),i===r&&C(a,w["active-progress-step"]),i!==e.progressSteps.length-1){var o=function(t){var e=document.createElement("li");return C(e,w["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e}(t);n.appendChild(o)}}))},Ot=function(t,e){var n=Q();T(n,e.customClass,"header"),Tt(0,e),function(t,e){var n=mt.innerParams.get(t);if(n&&e.type===n.type&&V())T(V(),e.customClass,"icon");else if(xt(),e.type)if(Mt(),-1!==Object.keys(k).indexOf(e.type)){var r=B(".".concat(w.icon,".").concat(k[e.type]));A(r),T(r,e.customClass,"icon"),D(r,"swal2-animate-".concat(e.type,"-icon"),e.animation)}else p('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.type,'"'))}(t,e),function(t,e){var n=q();if(!e.imageUrl)return E(n);A(n),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),Y(n,"width",e.imageWidth),Y(n,"height",e.imageHeight),n.className=w.image,T(n,e.customClass,"image"),e.imageClass&&C(n,e.imageClass)}(0,e),function(t,e){var n=W();$(n,e.title||e.titleText),e.title&&ut(e.title,n),e.titleText&&(n.innerText=e.titleText),T(n,e.customClass,"title")}(0,e),function(t,e){var n=et();n.innerHTML=e.closeButtonHtml,T(n,e.customClass,"closeButton"),$(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)}(0,e)},St=function(t,e){!function(t,e){var n=z();Y(n,"width",e.width),Y(n,"padding",e.padding),e.background&&(n.style.background=e.background),n.className=w.popup,e.toast?(C([document.documentElement,document.body],w["toast-shown"]),C(n,w.toast)):C(n,w.modal),T(n,e.customClass,"popup"),"string"==typeof e.customClass&&C(n,e.customClass),D(n,w.noanimation,!e.animation)}(0,e),pt(0,e),Ot(t,e),kt(t,e),ft(0,e),function(t,e){var n=tt();$(n,e.footer),e.footer&&ut(e.footer,n),T(n,e.customClass,"footer")}(0,e),"function"==typeof e.onRender&&e.onRender(z())},Lt=function(){return K()&&K().click()},Dt=[],Ct=function(){var t=z();t||ze.fire(""),t=z();var e=Z(),n=K(),r=X();A(e),A(n),C([t,e],w.loading),n.disabled=!0,r.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},jt={},Pt=function(){return new Promise((function(t){var e=window.scrollX,n=window.scrollY;jt.restoreFocusTimeout=setTimeout((function(){jt.previousActiveElement&&jt.previousActiveElement.focus?(jt.previousActiveElement.focus(),jt.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),void 0!==e&&void 0!==n&&window.scrollTo(e,n)}))},Yt={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:"",cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:"",buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:"",timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:"",inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onOpen:null,onRender:null,onClose:null,onAfterClose:null,scrollbarPadding:!0},At=["title","titleText","text","html","type","customClass","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","confirmButtonClass","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","cancelButtonClass","buttonsStyling","reverseButtons","imageUrl","imageWidth","imageHeigth","imageAlt","imageClass","progressSteps","currentProgressStep"],Et={customContainerClass:"customClass",confirmButtonClass:"customClass",cancelButtonClass:"customClass",imageClass:"customClass",inputClass:"customClass"},$t=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],It=function(t){return Object.prototype.hasOwnProperty.call(Yt,t)},Ht=function(t){return Et[t]},Ft=function(t){It(t)||h('Unknown parameter "'.concat(t,'"'))},Bt=function(t){-1!==$t.indexOf(t)&&h('The parameter "'.concat(t,'" is incompatible with toasts'))},Nt=function(t){Ht(t)&&v(t,Ht(t))},zt=Object.freeze({isValidParameter:It,isUpdatableParameter:function(t){return-1!==At.indexOf(t)},isDeprecatedParameter:Ht,argsToParams:function(e){var n={};switch(t(e[0])){case"object":i(n,e[0]);break;default:["title","html","type"].forEach((function(r,i){switch(t(e[i])){case"string":n[r]=e[i];break;case"undefined":break;default:p("Unexpected type of ".concat(r,'! Expected "string", got ').concat(t(e[i])))}}))}return n},isVisible:function(){return I(z())},clickConfirm:Lt,clickCancel:function(){return X()&&X().click()},getContainer:F,getPopup:z,getTitle:W,getContent:U,getImage:q,getIcon:V,getIcons:R,getCloseButton:et,getActions:Z,getConfirmButton:K,getCancelButton:X,getHeader:Q,getFooter:tt,getFocusableElements:nt,getValidationMessage:J,isLoading:function(){return z().hasAttribute("data-loading")},fire:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;rwindow.innerHeight&&(x.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=x.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}()+"px")},Wt=function(){var t,e=F();e.ontouchstart=function(n){var r;t=n.target===e||!((r=e).scrollHeight>r.clientHeight)&&"INPUT"!==n.target.tagName},e.ontouchmove=function(e){t&&(e.preventDefault(),e.stopPropagation())}},Ut=function(){return!!window.MSInputMethodContext&&!!document.documentMode},qt=function(){var t=F(),e=z();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},Gt={swalPromiseResolve:new WeakMap};function Jt(t,e,n,r){n?te(t,r):(Pt().then((function(){return te(t,r)})),jt.keydownTarget.removeEventListener("keydown",jt.keydownHandler,{capture:jt.keydownListenerCapture}),jt.keydownHandlerAdded=!1),e.parentNode&&e.parentNode.removeChild(e),rt()&&(null!==x.previousBodyPadding&&(document.body.style.paddingRight=x.previousBodyPadding+"px",x.previousBodyPadding=null),function(){if(M(document.body,w.iosfix)){var t=parseInt(document.body.style.top,10);j(document.body,w.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}}(),"undefined"!=typeof window&&Ut()&&window.removeEventListener("resize",qt),f(document.body.children).forEach((function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))),j([document.documentElement,document.body],[w.shown,w["height-auto"],w["no-backdrop"],w["toast-shown"],w["toast-column"]])}function Kt(t){var e=z();if(e&&!M(e,w.hide)){var n=mt.innerParams.get(this);if(n){var r=Gt.swalPromiseResolve.get(this);j(e,w.show),C(e,w.hide),Xt(this,e,n),r(t||{})}}}var Xt=function(t,e,n){var r=F(),i=dt&&H(e),a=n.onClose,o=n.onAfterClose;null!==a&&"function"==typeof a&&a(e),i?Zt(t,e,r,o):Jt(t,r,it(),o)},Zt=function(t,e,n,r){jt.swalCloseEventFinishedCallback=Jt.bind(null,t,n,it(),r),e.addEventListener(dt,(function(t){t.target===e&&(jt.swalCloseEventFinishedCallback(),delete jt.swalCloseEventFinishedCallback)}))},Qt=function(t){for(var e in t)t[e]=new WeakMap},te=function(t,e){setTimeout((function(){null!==e&&"function"==typeof e&&e(),z()||function(t){delete t.params,delete jt.keydownHandler,delete jt.keydownTarget,Qt(mt),Qt(Gt)}(t)}))};function ee(t,e,n){var r=mt.domCache.get(t);e.forEach((function(t){r[t].disabled=n}))}function ne(t,e){if(!t)return!1;if("radio"===t.type)for(var n=t.parentNode.parentNode.querySelectorAll("input"),r=0;r")),lt(t)}function oe(t,e){t.removeEventListener(dt,oe),e.style.overflowY="auto"}var se,le=function(t,e){dt&&H(e)?(t.style.overflowY="hidden",e.addEventListener(dt,oe.bind(null,e,t))):t.style.overflowY="auto"},ue=function(t,e){!function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!M(document.body,w.iosfix)){var t=document.body.scrollTop;document.body.style.top=-1*t+"px",C(document.body,w.iosfix),Wt()}}(),"undefined"!=typeof window&&Ut()&&(qt(),window.addEventListener("resize",qt)),f(document.body.children).forEach((function(t){t===F()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,F())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))})),e&&Vt(),setTimeout((function(){t.scrollTop=0}))},ce=function(t,e,n){n.animation&&(C(e,w.show),C(t,w.fade)),A(e),C([document.documentElement,document.body,t],w.shown),n.heightAuto&&n.backdrop&&!n.toast&&C([document.documentElement,document.body],w["height-auto"])},de=function(e,n){var r=U(),i=function(t){return he[n.input](r,pe(t),n)};b(n.inputOptions)?(Ct(),n.inputOptions.then((function(t){e.hideLoading(),i(t)}))):"object"===t(n.inputOptions)?i(n.inputOptions):p("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(n.inputOptions)))},fe=function(t,e){var n=t.getInput();E(n),e.inputValue.then((function(r){n.value="number"===e.input?parseFloat(r)||0:r+"",A(n),n.focus(),t.hideLoading()})).catch((function(e){p("Error in inputValue promise: "+e),n.value="",A(n),n.focus(),t.hideLoading()}))},he={select:function(t,e,n){var r=P(t,w.select);e.forEach((function(t){var e=t[0],i=t[1],a=document.createElement("option");a.value=e,a.innerHTML=i,n.inputValue.toString()===e.toString()&&(a.selected=!0),r.appendChild(a)})),r.focus()},radio:function(t,e,n){var r=P(t,w.radio);e.forEach((function(t){var e=t[0],i=t[1],a=document.createElement("input"),o=document.createElement("label");a.type="radio",a.name=w.radio,a.value=e,n.inputValue.toString()===e.toString()&&(a.checked=!0);var s=document.createElement("span");s.innerHTML=i,s.className=w.label,o.appendChild(a),o.appendChild(s),r.appendChild(o)}));var i=r.querySelectorAll("input");i.length&&i[0].focus()}},pe=function(t){var e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach((function(t,n){e.push([n,t])})):Object.keys(t).forEach((function(n){e.push([n,t[n]])})),e},me=function(t,e){var n=be(t,e);e.inputValidator?(t.disableInput(),Promise.resolve().then((function(){return e.inputValidator(n,e.validationMessage)})).then((function(r){t.enableButtons(),t.enableInput(),r?t.showValidationMessage(r):ge(t,e,n)}))):t.getInput().checkValidity()?ge(t,e,n):(t.enableButtons(),t.showValidationMessage(e.validationMessage))},ve=function(t,e){t.closePopup({value:e})},ge=function(t,e,n){e.showLoaderOnConfirm&&Ct(),e.preConfirm?(t.resetValidationMessage(),Promise.resolve().then((function(){return e.preConfirm(n,e.validationMessage)})).then((function(e){I(J())||!1===e?t.hideLoading():ve(t,void 0===e?n:e)}))):ve(t,n)},be=function(t,e){var n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return ye(n);case"radio":return _e(n);case"file":return we(n);default:return e.inputAutoTrim?n.value.trim():n.value}},ye=function(t){return t.checked?1:0},_e=function(t){return t.checked?t.value:null},we=function(t){return t.files.length?t.files[0]:null},ke=function(t,e,n){for(var r=nt(t.focusCancel),i=0;i:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-container.swal2-fade{transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-webkit-input-placeholder,.swal2-input::-webkit-input-placeholder,.swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:inherit}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:inherit;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;zoom:normal;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;zoom:normal;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon::before{display:flex;align-items:center;height:92%;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning::before{content:"!"}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info::before{content:"i"}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question::before{content:"?"}.swal2-icon.swal2-question.swal2-arabic-question-mark::before{content:"؟"}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-progress-steps{align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-shown{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent}body.swal2-no-backdrop .swal2-shown>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-shown{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}')},function(t,e,n){t.exports=function(){"use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(e){for(var n=1;n1?e-1:0),r=1;r0&&n.forEach((function(e){z(e)&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t},G=/^(?:width|height|left|top|marginLeft|marginTop)$/;function J(t,e){var n=t.style;U(e,(function(t,e){G.test(e)&&B(t)&&(t+="px"),n[e]=t}))}function K(t){return H(t)?t.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">"):t}function X(t,e){return!(!t||!e)&&(t.classList?t.classList.contains(e):t.className.indexOf(e)>-1)}function Z(t,e){if(t&&e)if(B(t.length))U(t,(function(t){Z(t,e)}));else if(t.classList)t.classList.add(e);else{var n=t.className.trim();n?n.indexOf(e)<0&&(t.className="".concat(n," ").concat(e)):t.className=e}}function Q(t,e){t&&e&&(B(t.length)?U(t,(function(t){Q(t,e)})):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function tt(t,e,n){e&&(B(t.length)?U(t,(function(t){tt(t,e,n)})):n?Z(t,e):Q(t,e))}var et=/([a-z\d])([A-Z])/g;function nt(t){return t.replace(et,"$1-$2").toLowerCase()}function rt(t,e){return z(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(nt(e)))}function it(t,e,n){z(n)?t[e]=n:t.dataset?t.dataset[e]=n:t.setAttribute("data-".concat(nt(e)),n)}var at=function(){var t=!1;if(l){var e=!1,n=function(){},r=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});u.addEventListener("test",n,r),u.removeEventListener("test",n,r)}return t}();function ot(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n;e.trim().split($).forEach((function(e){if(!at){var a=t.listeners;a&&a[e]&&a[e][n]&&(i=a[e][n],delete a[e][n],0===Object.keys(a[e]).length&&delete a[e],0===Object.keys(a).length&&delete t.listeners)}t.removeEventListener(e,i,r)}))}function st(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n;e.trim().split($).forEach((function(e){if(r.once&&!at){var a=t.listeners,o=void 0===a?{}:a;i=function(){delete o[e][n],t.removeEventListener(e,i,r);for(var a=arguments.length,s=new Array(a),l=0;ls?d=s/a:c=l*a,o=B(o)?o:.9,c=Math.min(c*o,e),d=Math.min(d*o,i);var f=(s-c)/2,h=(l-d)/2,p={left:f,top:h,x:f,y:h,width:c,height:d,oldRatio:1,ratio:c/e,aspectRatio:a,naturalWidth:e,naturalHeight:i},m=q({},p);r.rotatable&&(p.rotate=u.rotate||0,m.rotate=0),r.scalable&&(p.scaleX=u.scaleX||1,p.scaleY=u.scaleY||1,m.scaleX=1,m.scaleY=1),n.imageData=p,n.initialImageData=m,t&&t()}))},renderImage:function(t){var e=this,n=this.image,r=this.imageData;if(J(n,q({width:r.width,height:r.height,marginLeft:r.x,marginTop:r.y},ct(r))),t)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&X(n,L)){var i=function(){e.imageRendering=!1,t()};this.imageRendering={abort:function(){ot(n,"transitionend",i)}},st(n,"transitionend",i,{once:!0})}else t()},resetImage:function(){var t=this.image;t&&(this.viewing&&this.viewing.abort(),t.parentNode.removeChild(t),this.image=null,this.title.innerHTML="")}},bt={bind:function(){var t=this.options,e=this.viewer,n=this.canvas,r=this.element.ownerDocument;st(e,"click",this.onClick=this.click.bind(this)),st(e,"dragstart",this.onDragStart=this.dragstart.bind(this)),st(n,P,this.onPointerDown=this.pointerdown.bind(this)),st(r,Y,this.onPointerMove=this.pointermove.bind(this)),st(r,A,this.onPointerUp=this.pointerup.bind(this)),st(r,"keydown",this.onKeyDown=this.keydown.bind(this)),st(window,"resize",this.onResize=this.resize.bind(this)),t.zoomable&&t.zoomOnWheel&&st(e,"wheel",this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleOnDblclick&&st(n,"dblclick",this.onDblclick=this.dblclick.bind(this))},unbind:function(){var t=this.options,e=this.viewer,n=this.canvas,r=this.element.ownerDocument;ot(e,"click",this.onClick),ot(e,"dragstart",this.onDragStart),ot(n,P,this.onPointerDown),ot(r,Y,this.onPointerMove),ot(r,A,this.onPointerUp),ot(r,"keydown",this.onKeyDown),ot(window,"resize",this.onResize),t.zoomable&&t.zoomOnWheel&&ot(e,"wheel",this.onWheel,{passive:!1,capture:!0}),t.toggleOnDblclick&&ot(n,"dblclick",this.onDblclick)}},yt={click:function(t){var e=this.options,n=this.imageData,r=t.target,i=rt(r,E);switch(i||"img"!==r.localName||"li"!==r.parentElement.localName||(i=rt(r=r.parentElement,E)),c&&t.isTrusted&&r===this.canvas&&clearTimeout(this.clickCanvasTimeout),i){case"mix":this.played?this.stop():e.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(rt(r,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(e.loop);break;case"play":this.play(e.fullscreen);break;case"next":this.next(e.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-n.scaleX||-1);break;case"flip-vertical":this.scaleY(-n.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(t){t.preventDefault(),this.viewed&&t.target===this.image&&(c&&t.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(t.isTrusted?t:t.detail&&t.detail.originalEvent))},load:function(){var t=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var e=this.element,n=this.options,r=this.image,i=this.index,a=this.viewerData;Q(r,x),n.loading&&Q(this.canvas,M),r.style.cssText="height:0;"+"margin-left:".concat(a.width/2,"px;")+"margin-top:".concat(a.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage((function(){tt(r,T,n.movable),tt(r,L,n.transition),t.renderImage((function(){t.viewed=!0,t.viewing=!1,W(n.viewed)&&st(e,"viewed",n.viewed,{once:!0}),lt(e,"viewed",{originalImage:t.images[i],index:i,image:r},{cancelable:!1})}))}))},loadImage:function(t){var e=t.target,n=e.parentNode,r=n.offsetWidth||30,i=n.offsetHeight||50,a=!!rt(e,"filled");ft(e,this.options,(function(t,n){var o=t/n,s=r,l=i;i*o>r?a?s=i*o:l=r/o:a?l=r/o:s=i*o,J(e,q({width:s,height:l},ct({translateX:(r-s)/2,translateY:(i-l)/2})))}))},keydown:function(t){var e=this.options;if(e.keyboard){var n=t.keyCode||t.which||t.charCode;switch(n){case 13:this.viewer.contains(t.target)&&this.click(t)}if(this.fulled)switch(n){case 27:this.played?this.stop():e.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(e.loop);break;case 38:t.preventDefault(),this.zoom(e.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(e.loop);break;case 40:t.preventDefault(),this.zoom(-e.zoomRatio,!0);break;case 48:case 49:t.ctrlKey&&(t.preventDefault(),this.toggle())}}},dragstart:function(t){"img"===t.target.localName&&t.preventDefault()},pointerdown:function(t){var e=this.options,n=this.pointers,r=t.buttons,i=t.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===t.type||"pointerdown"===t.type&&"mouse"===t.pointerType)&&(B(r)&&1!==r||B(i)&&0!==i||t.ctrlKey))){t.preventDefault(),t.changedTouches?U(t.changedTouches,(function(t){n[t.identifier]=pt(t)})):n[t.pointerId||0]=pt(t);var a=!!e.movable&&"move";e.zoomOnTouch&&e.zoomable&&Object.keys(n).length>1?a="zoom":e.slideOnTouch&&("touch"===t.pointerType||"touchstart"===t.type)&&this.isSwitchable()&&(a="switch"),!e.transition||"move"!==a&&"zoom"!==a||Q(this.image,L),this.action=a}},pointermove:function(t){var e=this.pointers,n=this.action;this.viewed&&n&&(t.preventDefault(),t.changedTouches?U(t.changedTouches,(function(t){q(e[t.identifier]||{},pt(t,!0))})):q(e[t.pointerId||0]||{},pt(t,!0)),this.change(t))},pointerup:function(t){var e,n=this,r=this.options,i=this.action,a=this.pointers;t.changedTouches?U(t.changedTouches,(function(t){e=a[t.identifier],delete a[t.identifier]})):(e=a[t.pointerId||0],delete a[t.pointerId||0]),i&&(t.preventDefault(),!r.transition||"move"!==i&&"zoom"!==i||Z(this.image,L),this.action=!1,c&&"zoom"!==i&&e&&Date.now()-e.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),r.toggleOnDblclick&&this.viewed&&t.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout((function(){lt(n.image,"dblclick",{originalEvent:t})}),50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout((function(){n.imageClicked=!1}),500)):(this.imageClicked=!1,r.backdrop&&"static"!==r.backdrop&&t.target===this.canvas&&(this.clickCanvasTimeout=setTimeout((function(){lt(n.canvas,"click",{originalEvent:t})}),50)))))},resize:function(){var t=this;if(this.isShown&&!this.hiding&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){t.renderImage()})),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();U(this.player.getElementsByTagName("img"),(function(e){st(e,"load",t.loadImage.bind(t),{once:!0}),lt(e,"load")}))}},wheel:function(t){var e=this;if(this.viewed&&(t.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout((function(){e.wheeling=!1}),50);var n=Number(this.options.zoomRatio)||.1,r=1;t.deltaY?r=t.deltaY>0?1:-1:t.wheelDelta?r=-t.wheelDelta/120:t.detail&&(r=t.detail>0?1:-1),this.zoom(-r*n,!0,null,t)}}},_t={show:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.element,n=this.options;if(n.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(t),this;if(W(n.show)&&st(e,"show",n.show,{once:!0}),!1===lt(e,"show")||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var r=this.viewer;if(Q(r,b),r.setAttribute("role","dialog"),r.setAttribute("aria-labelledby",this.title.id),r.setAttribute("aria-modal",!0),r.removeAttribute("aria-hidden"),n.transition&&!t){var i=this.shown.bind(this);this.transitioning={abort:function(){ot(r,"transitionend",i),Q(r,k)}},Z(r,L),r.initialOffsetWidth=r.offsetWidth,st(r,"transitionend",i,{once:!0}),Z(r,k)}else Z(r,k),this.shown();return this},hide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.element,r=this.options;if(r.inline||this.hiding||!this.isShown&&!this.showing)return this;if(W(r.hide)&&st(n,"hide",r.hide,{once:!0}),!1===lt(n,"hide"))return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var i=this.viewer,a=this.image,o=function(){Q(i,k),t.hidden()};if(r.transition&&!e){var s=function e(n){n&&n.target===i&&(ot(i,"transitionend",e),t.hidden())},l=function(){X(i,L)?(st(i,"transitionend",s),Q(i,k)):o()};this.transitioning={abort:function(){t.viewed&&X(a,L)?ot(a,"transitionend",l):X(i,L)&&ot(i,"transitionend",s)}},this.viewed&&X(a,L)?(st(a,"transitionend",l,{once:!0}),this.zoomTo(0,!1,null,null,!0)):l()}else o();return this},view:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex;if(e=Number(e)||0,this.hiding||this.played||e<0||e>=this.length||this.viewed&&e===this.index)return this;if(!this.isShown)return this.index=e,this.show();this.viewing&&this.viewing.abort();var n=this.element,r=this.options,i=this.title,a=this.canvas,o=this.items[e],s=o.querySelector("img"),l=rt(s,"originalUrl"),u=s.getAttribute("alt"),c=document.createElement("img");if(U(r.inheritedAttributes,(function(t){var e=s.getAttribute(t);null!==e&&c.setAttribute(t,e)})),c.src=l,c.alt=u,W(r.view)&&st(n,"view",r.view,{once:!0}),!1===lt(n,"view",{originalImage:this.images[e],index:e,image:c})||!this.isShown||this.hiding||this.played)return this;var d=this.items[this.index];d&&(Q(d,f),d.removeAttribute("aria-selected")),Z(o,f),o.setAttribute("aria-selected",!0),r.focus&&o.focus(),this.image=c,this.viewed=!1,this.index=e,this.imageData={},Z(c,x),r.loading&&Z(a,M),a.innerHTML="",a.appendChild(c),this.renderList(),i.innerHTML="";var h,p,m=function(){var e=t.imageData,n=Array.isArray(r.title)?r.title[1]:r.title;i.innerHTML=K(W(n)?n.call(t,c,e):"".concat(u," (").concat(e.naturalWidth," × ").concat(e.naturalHeight,")"))};return st(n,"viewed",m,{once:!0}),this.viewing={abort:function(){ot(n,"viewed",m),c.complete?t.imageRendering?t.imageRendering.abort():t.imageInitializing&&t.imageInitializing.abort():(c.src="",ot(c,"load",h),t.timeout&&clearTimeout(t.timeout))}},c.complete?this.load():(st(c,"load",h=function(){ot(c,"error",p),t.load()},{once:!0}),st(c,"error",p=function(){ot(c,"load",h),t.timeout&&(clearTimeout(t.timeout),t.timeout=!1),Q(c,x),r.loading&&Q(t.canvas,M)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((function(){Q(c,x),t.timeout=!1}),1e3)),this},prev:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.index-1;return e<0&&(e=t?this.length-1:0),this.view(e),this},next:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.length-1,n=this.index+1;return n>e&&(n=t?0:e),this.view(n),this},move:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.imageData;return this.moveTo(N(t)?t:n.x+Number(t),N(e)?e:n.y+Number(e)),this},moveTo:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.element,a=this.options,o=this.imageData;if(t=Number(t),n=Number(n),this.viewed&&!this.played&&a.movable){var s=o.x,l=o.y,u=!1;if(B(t)?u=!0:t=s,B(n)?u=!0:n=l,u){if(W(a.move)&&st(i,"move",a.move,{once:!0}),!1===lt(i,"move",{x:t,y:n,oldX:s,oldY:l,originalEvent:r}))return this;o.x=t,o.y=n,o.left=t,o.top=n,this.moving=!0,this.renderImage((function(){e.moving=!1,W(a.moved)&&st(i,"moved",a.moved,{once:!0}),lt(i,"moved",{x:t,y:n,oldX:s,oldY:l,originalEvent:r},{cancelable:!1})}))}}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t)),this},rotateTo:function(t){var e=this,n=this.element,r=this.options,i=this.imageData;if(B(t=Number(t))&&this.viewed&&!this.played&&r.rotatable){var a=i.rotate;if(W(r.rotate)&&st(n,"rotate",r.rotate,{once:!0}),!1===lt(n,"rotate",{degree:t,oldDegree:a}))return this;i.rotate=t,this.rotating=!0,this.renderImage((function(){e.rotating=!1,W(r.rotated)&&st(n,"rotated",r.rotated,{once:!0}),lt(n,"rotated",{degree:t,oldDegree:a},{cancelable:!1})}))}return this},scaleX:function(t){return this.scale(t,this.imageData.scaleY),this},scaleY:function(t){return this.scale(this.imageData.scaleX,t),this},scale:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=this.element,i=this.options,a=this.imageData;if(t=Number(t),n=Number(n),this.viewed&&!this.played&&i.scalable){var o=a.scaleX,s=a.scaleY,l=!1;if(B(t)?l=!0:t=o,B(n)?l=!0:n=s,l){if(W(i.scale)&&st(r,"scale",i.scale,{once:!0}),!1===lt(r,"scale",{scaleX:t,scaleY:n,oldScaleX:o,oldScaleY:s}))return this;a.scaleX=t,a.scaleY=n,this.scaling=!0,this.renderImage((function(){e.scaling=!1,W(i.scaled)&&st(r,"scaled",i.scaled,{once:!0}),lt(r,"scaled",{scaleX:t,scaleY:n,oldScaleX:o,oldScaleY:s},{cancelable:!1})}))}}return this},zoom:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=this.imageData;return t=(t=Number(t))<0?1/(1-t):1+t,this.zoomTo(i.width*t/i.naturalWidth,e,n,r),this},zoomTo:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=this.element,s=this.options,l=this.pointers,u=this.imageData,c=u.x,d=u.y,f=u.width,h=u.height,p=u.naturalWidth,m=u.naturalHeight;if(B(t=Math.max(0,t))&&this.viewed&&!this.played&&(a||s.zoomable)){if(!a){var v=Math.max(.01,s.minZoomRatio),g=Math.min(100,s.maxZoomRatio);t=Math.min(Math.max(t,v),g)}if(i)switch(i.type){case"wheel":s.zoomRatio>=.055&&t>.95&&t<1.05&&(t=1);break;case"pointermove":case"touchmove":case"mousemove":t>.99&&t<1.01&&(t=1)}var b=p*t,y=m*t,_=b-f,w=y-h,k=u.ratio;if(W(s.zoom)&&st(o,"zoom",s.zoom,{once:!0}),!1===lt(o,"zoom",{ratio:t,oldRatio:k,originalEvent:i}))return this;if(this.zooming=!0,i){var x=ut(this.viewer),M=l&&Object.keys(l).length>0?mt(l):{pageX:i.pageX,pageY:i.pageY};u.x-=_*((M.pageX-x.left-c)/f),u.y-=w*((M.pageY-x.top-d)/h)}else V(r)&&B(r.x)&&B(r.y)?(u.x-=_*((r.x-c)/f),u.y-=w*((r.y-d)/h)):(u.x-=_/2,u.y-=w/2);u.left=u.x,u.top=u.y,u.width=b,u.height=y,u.oldRatio=k,u.ratio=t,this.renderImage((function(){e.zooming=!1,W(s.zoomed)&&st(o,"zoomed",s.zoomed,{once:!0}),lt(o,"zoomed",{ratio:t,oldRatio:k,originalEvent:i},{cancelable:!1})})),n&&this.tooltip()}return this},play:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var n=this.element,r=this.options;if(W(r.play)&&st(n,"play",r.play,{once:!0}),!1===lt(n,"play"))return this;var i=this.player,a=this.loadImage.bind(this),o=[],s=0,l=0;if(this.played=!0,this.onLoadWhenPlay=a,e&&this.requestFullscreen(e),Z(i,S),U(this.items,(function(t,e){var n=t.querySelector("img"),u=document.createElement("img");u.src=rt(n,"originalUrl"),u.alt=n.getAttribute("alt"),u.referrerPolicy=n.referrerPolicy,s+=1,Z(u,p),tt(u,L,r.transition),X(t,f)&&(Z(u,k),l=e),o.push(u),st(u,"load",a,{once:!0}),i.appendChild(u)})),B(r.interval)&&r.interval>0){var u=function e(){clearTimeout(t.playing.timeout),Q(o[l],k),Z(o[l=(l-=1)>=0?l:s-1],k),t.playing.timeout=setTimeout(e,r.interval)},c=function e(){clearTimeout(t.playing.timeout),Q(o[l],k),Z(o[l=(l+=1)1&&(this.playing={prev:u,next:c,timeout:setTimeout(c,r.interval)})}return this},stop:function(){var t=this;if(!this.played)return this;var e=this.element,n=this.options;if(W(n.stop)&&st(e,"stop",n.stop,{once:!0}),!1===lt(e,"stop"))return this;var r=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,U(r.getElementsByTagName("img"),(function(e){ot(e,"load",t.onLoadWhenPlay)})),Q(r,S),r.innerHTML="",this.exitFullscreen(),this},full:function(){var t=this,e=this.options,n=this.viewer,r=this.image,i=this.list;return!this.isShown||this.played||this.fulled||!e.inline||(this.fulled=!0,this.open(),Z(this.button,g),e.transition&&(Q(i,L),this.viewed&&Q(r,L)),Z(n,m),n.setAttribute("role","dialog"),n.setAttribute("aria-labelledby",this.title.id),n.setAttribute("aria-modal",!0),n.removeAttribute("style"),J(n,{zIndex:e.zIndex}),e.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=q({},this.containerData),this.renderList(),this.viewed&&this.initImage((function(){t.renderImage((function(){e.transition&&setTimeout((function(){Z(r,L),Z(i,L)}),0)}))}))),this},exit:function(){var t=this,e=this.options,n=this.viewer,r=this.image,i=this.list;return this.isShown&&!this.played&&this.fulled&&e.inline?(this.fulled=!1,this.close(),Q(this.button,g),e.transition&&(Q(i,L),this.viewed&&Q(r,L)),e.focus&&this.clearEnforceFocus(),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),Q(n,m),J(n,{zIndex:e.zIndexInline}),this.viewerData=q({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage((function(){t.renderImage((function(){e.transition&&setTimeout((function(){Z(r,L),Z(i,L)}),0)}))})),this):this},tooltip:function(){var t=this,e=this.options,n=this.tooltipBox,r=this.imageData;return this.viewed&&!this.played&&e.tooltip?(n.textContent="".concat(Math.round(100*r.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):e.transition?(this.fading&<(n,"transitionend"),Z(n,S),Z(n,p),Z(n,L),n.removeAttribute("aria-hidden"),n.initialOffsetWidth=n.offsetWidth,Z(n,k)):(Z(n,S),n.removeAttribute("aria-hidden")),this.tooltipping=setTimeout((function(){e.transition?(st(n,"transitionend",(function(){Q(n,S),Q(n,p),Q(n,L),n.setAttribute("aria-hidden",!0),t.fading=!1}),{once:!0}),Q(n,k),t.fading=!0):(Q(n,S),n.setAttribute("aria-hidden",!0)),t.tooltipping=!1}),1e3),this):this},toggle:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 1===this.imageData.ratio?this.zoomTo(this.imageData.oldRatio,!0,null,t):this.zoomTo(1,!0,null,t),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=q({},this.initialImageData),this.renderImage()),this},update:function(){var t=this,e=this.element,n=this.options,r=this.isImg;if(r&&!e.parentNode)return this.destroy();var i=[];if(U(r?[e]:e.querySelectorAll("img"),(function(e){W(n.filter)?n.filter.call(t,e)&&i.push(e):t.getImageURL(e)&&i.push(e)})),!i.length)return this;if(this.images=i,this.length=i.length,this.ready){var a=[];if(U(this.items,(function(t,e){var n=t.querySelector("img"),r=i[e];r&&n&&r.src===n.src&&r.alt===n.alt||a.push(e)})),J(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var o=a.indexOf(this.index);if(o>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-o,this.length-1),0));else{var s=this.items[this.index];Z(s,f),s.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var t=this.element,e=this.options;return t.viewer?(this.destroyed=!0,this.ready?(this.played&&this.stop(),e.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):e.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),e.inline||ot(t,"click",this.onStart),t.viewer=void 0,this):this}},wt={getImageURL:function(t){var e=this.options.url;return e=H(e)?t.getAttribute(e):W(e)?e.call(this,t):""},enforceFocus:function(){var t=this;this.clearEnforceFocus(),st(document,"focusin",this.onFocusin=function(e){var n=t.viewer,r=e.target;if(r!==document&&r!==n&&!n.contains(r)){for(;r;){if(null!==r.getAttribute("tabindex")||"true"===r.getAttribute("aria-modal"))return;r=r.parentElement}n.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(ot(document,"focusin",this.onFocusin),this.onFocusin=null)},open:function(){var t=this.body;Z(t,O),this.scrollbarWidth>0&&(t.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var t=this.body;Q(t,O),this.scrollbarWidth>0&&(t.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var t=this.element,e=this.options,n=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,e.focus&&(n.focus(),this.enforceFocus()),W(e.shown)&&st(t,"shown",e.shown,{once:!0}),!1!==lt(t,"shown")&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var t=this.element,e=this.options,n=this.viewer;e.fucus&&this.clearEnforceFocus(),this.close(),this.unbind(),Z(n,b),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),n.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(W(e.hidden)&&st(t,"hidden",e.hidden,{once:!0}),lt(t,"hidden",null,{cancelable:!1}))},requestFullscreen:function(t){var e=this.element.ownerDocument;if(this.fulled&&!(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)){var n=e.documentElement;n.requestFullscreen?V(t)?n.requestFullscreen(t):n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen()}},exitFullscreen:function(){var t=this.element.ownerDocument;this.fulled&&(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)&&(t.exitFullscreen?t.exitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen())},change:function(t){var n=this.options,r=this.pointers,i=r[Object.keys(r)[0]];if(i){var a=i.endX-i.startX,o=i.endY-i.startY;switch(this.action){case"move":0===a&&0===o||(this.pointerMoved=!0,this.move(a,o,t));break;case"zoom":this.zoom(function(t){var n=e({},t),r=[];return U(t,(function(t,e){delete n[e],U(n,(function(e){var n=Math.abs(t.startX-e.startX),i=Math.abs(t.startY-e.startY),a=Math.abs(t.endX-e.endX),o=Math.abs(t.endY-e.endY),s=Math.sqrt(n*n+i*i),l=(Math.sqrt(a*a+o*o)-s)/s;r.push(l)}))})),r.sort((function(t,e){return Math.abs(t)1&&s>Math.abs(o)&&(this.pointers={},a>1?this.prev(n.loop):a<-1&&this.next(n.loop))}U(r,(function(t){t.startX=t.endX,t.startY=t.endY}))}},isSwitchable:function(){var t=this.imageData,e=this.viewerData;return this.length>1&&t.x>=0&&t.y>=0&&t.width<=e.width&&t.height<=e.height}},kt=u.Viewer,xt=(vt=-1,function(){return vt+=1}),Mt=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,t),!e||1!==e.nodeType)throw new Error("The first argument is required and must be an element.");this.element=e,this.options=q({},s,V(n)&&n),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=xt(),this.init()}var e,n,a;return e=t,a=[{key:"noConflict",value:function(){return window.Viewer=kt,t}},{key:"setDefaults",value:function(t){q(s,V(t)&&t)}}],(n=[{key:"init",value:function(){var t=this,e=this.element,n=this.options;if(!e.viewer){e.viewer=this,n.focus&&!n.keyboard&&(n.focus=!1);var r="img"===e.localName,i=[];if(U(r?[e]:e.querySelectorAll("img"),(function(e){W(n.filter)?n.filter.call(t,e)&&i.push(e):t.getImageURL(e)&&i.push(e)})),this.isImg=r,this.length=i.length,this.images=i,this.initBody(),N(document.createElement("viewer").style.transition)&&(n.transition=!1),n.inline){var a=0,o=function(){var e;(a+=1)===t.length&&(t.initializing=!1,t.delaying={abort:function(){clearTimeout(e)}},e=setTimeout((function(){t.delaying=!1,t.build()}),0))};this.initializing={abort:function(){U(i,(function(t){t.complete||(ot(t,"load",o),ot(t,"error",o))}))}},U(i,(function(t){var e,n;t.complete?o():(st(t,"load",e=function(){ot(t,"error",n),o()},{once:!0}),st(t,"error",n=function(){ot(t,"load",e),o()},{once:!0}))}))}else st(e,"click",this.onStart=function(e){var r=e.target;"img"!==r.localName||W(n.filter)&&!n.filter.call(t,r)||t.view(t.images.indexOf(r))})}}},{key:"build",value:function(){if(!this.ready){var t=this.element,e=this.options,n=t.parentNode,r=document.createElement("div");r.innerHTML='
    ';var i=r.querySelector(".".concat("viewer","-container")),a=i.querySelector(".".concat("viewer","-title")),o=i.querySelector(".".concat("viewer","-toolbar")),s=i.querySelector(".".concat("viewer","-navbar")),l=i.querySelector(".".concat("viewer","-button")),u=i.querySelector(".".concat("viewer","-canvas"));if(this.parent=n,this.viewer=i,this.title=a,this.toolbar=o,this.navbar=s,this.button=l,this.canvas=u,this.footer=i.querySelector(".".concat("viewer","-footer")),this.tooltipBox=i.querySelector(".".concat("viewer","-tooltip")),this.player=i.querySelector(".".concat("viewer","-player")),this.list=i.querySelector(".".concat("viewer","-list")),i.id="".concat("viewer").concat(this.id),a.id="".concat("viewer","Title").concat(this.id),Z(a,e.title?ht(Array.isArray(e.title)?e.title[0]:e.title):b),Z(s,e.navbar?ht(e.navbar):b),tt(l,b,!e.button),e.keyboard&&l.setAttribute("tabindex",0),e.backdrop&&(Z(i,"".concat("viewer","-backdrop")),e.inline||"static"===e.backdrop||it(u,E,"hide")),H(e.className)&&e.className&&e.className.split($).forEach((function(t){Z(i,t)})),e.toolbar){var c=document.createElement("ul"),d=V(e.toolbar),f=I.slice(0,3),g=I.slice(7,9),y=I.slice(9);d||Z(o,ht(e.toolbar)),U(d?e.toolbar:I,(function(t,n){var r=d&&V(t),i=d?nt(n):t,a=r&&!N(t.show)?t.show:t;if(a&&(e.zoomable||-1===f.indexOf(i))&&(e.rotatable||-1===g.indexOf(i))&&(e.scalable||-1===y.indexOf(i))){var o=r&&!N(t.size)?t.size:t,s=r&&!N(t.click)?t.click:t,l=document.createElement("li");e.keyboard&&l.setAttribute("tabindex",0),l.setAttribute("role","button"),Z(l,"".concat("viewer","-").concat(i)),W(s)||it(l,E,i),B(a)&&Z(l,ht(a)),-1!==["small","large"].indexOf(o)?Z(l,"".concat("viewer","-").concat(o)):"play"===i&&Z(l,"".concat("viewer","-large")),W(s)&&st(l,"click",s),c.appendChild(l)}})),o.appendChild(c)}else Z(o,b);if(!e.rotatable){var _=o.querySelectorAll('li[class*="rotate"]');Z(_,x),U(_,(function(t){o.appendChild(t)}))}if(e.inline)Z(l,v),J(i,{zIndex:e.zIndexInline}),"static"===window.getComputedStyle(n).position&&J(n,{position:"relative"}),n.insertBefore(i,t.nextSibling);else{Z(l,h),Z(i,m),Z(i,p),Z(i,b),J(i,{zIndex:e.zIndex});var w=e.container;H(w)&&(w=t.ownerDocument.querySelector(w)),w||(w=this.body),w.appendChild(i)}e.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,W(e.ready)&&st(t,"ready",e.ready,{once:!0}),!1!==lt(t,"ready")?this.ready&&e.inline&&this.view(this.index):this.ready=!1}}}])&&i(e.prototype,n),a&&i(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}();return q(Mt.prototype,gt,bt,yt,_t,wt),Mt}()},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r=n(4),i=n.n(r),a="undefined"!=typeof window,o="undefined"!=typeof document,s="undefined"!=typeof navigator,l="undefined"!=typeof Promise,u="undefined"!=typeof MutationObserver||"undefined"!=typeof WebKitMutationObserver||"undefined"!=typeof MozMutationObserver,c=a&&o&&s,d=a?window:{},f=o?document:{},h=s?navigator:{},p=(h.userAgent||"").toLowerCase(),m=p.indexOf("jsdom")>0,v=(/msie|trident/.test(p),function(){var t=!1;if(c)try{var e={get passive(){t=!0}};d.addEventListener("test",e,e),d.removeEventListener("test",e,e)}catch(e){t=!1}return t}()),g=c&&("ontouchstart"in f.documentElement||h.maxTouchPoints>0),b=c&&Boolean(d.PointerEvent||d.MSPointerEvent),y=c&&"IntersectionObserver"in d&&"IntersectionObserverEntry"in d&&"intersectionRatio"in d.IntersectionObserverEntry.prototype,_="$bvConfig",w=["xs","sm","md","lg","xl"],k=/\[(\d+)]/g,x=/^(BV?)/,M=/^\d+$/,T=/^\..+/,O=/^#/,S=/^#[A-Za-z]+[\w\-:.]*$/,L=/(<([^>]+)>)/gi,D=/\B([A-Z])/g,C=/([a-z])([A-Z])/g,j=/^[0-9]*\.?[0-9]+$/,P=/\+/g,Y=/[-/\\^$*+?.()|[\]{}]/g,A=/[\s\uFEFF\xA0]+/g,E=/\s+/,$=/\/\*$/,I=/(\s|^)(\w)/g,H=/^\s+/,F=/_/g,B=/-(\w)/g,N=/^\d+-\d\d?-\d\d?(?:\s|T|$)/,z=/-|\s|T/,R=/^([0-1]?[0-9]|2[0-3]):[0-5]?[0-9](:[0-5]?[0-9])?$/,V=/^.*(#[^#]+)$/,W=/%2C/g,U=/[!'()*]/g,q=/^(\?|#|&)/,G=/^\d+(\.\d*)?[/:]\d+(\.\d*)?$/,J=/[/:]/,K=/^col-/,X=/^BIcon/,Z=/-u-.+/;function Q(t){return(Q="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 tt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function et(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");Object.defineProperty(t,"prototype",{value:Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),writable:!1}),e&&st(t,e)}function nt(t){var e=ot();return function(){var n,r=lt(t);if(e){var i=lt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return rt(this,n)}}function rt(t,e){if(e&&("object"===Q(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function it(t){var e="function"==typeof Map?new Map:void 0;return(it=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return at(t,arguments,lt(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),st(r,t)})(t)}function at(t,e,n){return(at=ot()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&st(i,n.prototype),i}).apply(null,arguments)}function ot(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function st(t,e){return(st=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function lt(t){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ut=a?d.Element:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(it(Object)),ct=a?d.HTMLElement:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(ut),dt=a?d.SVGElement:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(ut),ft=a?d.File:function(t){et(n,t);var e=nt(n);function n(){return tt(this,n),e.apply(this,arguments)}return n}(it(Object));function ht(t){return(ht="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)}var pt=function(t){return ht(t)},mt=function(t){return Object.prototype.toString.call(t).slice(8,-1)},vt=function(t){return void 0===t},gt=function(t){return null===t},bt=function(t){return vt(t)||gt(t)},yt=function(t){return"function"===pt(t)},_t=function(t){return"boolean"===pt(t)},wt=function(t){return"string"===pt(t)},kt=function(t){return"number"===pt(t)},xt=function(t){return j.test(String(t))},Mt=function(t){return Array.isArray(t)},Tt=function(t){return null!==t&&"object"===ht(t)},Ot=function(t){return"[object Object]"===Object.prototype.toString.call(t)},St=function(t){return t instanceof Date},Lt=function(t){return t instanceof Event},Dt=function(t){return"RegExp"===mt(t)};function Ct(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function jt(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:e;return Mt(e)?e.reduce((function(e,n){return[].concat(qt(e),[t(n,n)])}),[]):Ot(e)?Ht(e).reduce((function(n,r){return Wt(Wt({},n),{},Ut({},r,t(e[r],e[r])))}),{}):n},Kt=function(t){return t},Xt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!(e=Mt(e)?e.join("."):e)||!Tt(t))return n;if(e in t)return t[e];var r=(e=String(e).replace(k,".$1")).split(".").filter(Kt);return 0===r.length?n:r.every((function(e){return Tt(t)&&e in t&&!bt(t=t[e])}))?t:gt(t)?null:n},Zt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=Xt(t,e);return bt(r)?n:r},Qt=n(185),te=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Object(Qt.a)()||console.warn("[BootstrapVue warn]: ".concat(e?"".concat(e," - "):"").concat(t))},ee=function(t){return!c&&(te("".concat(t,": Can not be called during SSR.")),!0)},ne=function(t){return!l&&(te("".concat(t,": Requires Promise support.")),!0)};function re(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};if(Ot(e)){var n=It(e);n.forEach((function(n){var r=e[n];"breakpoints"===n?!Mt(r)||r.length<2||r.some((function(t){return!wt(t)||0===t.length}))?te('"breakpoints" must be an array of at least 2 breakpoint names',"BvConfig"):t.$_config[n]=Jt(r):Ot(r)&&(t.$_config[n]=It(r).reduce((function(t,e){return vt(r[e])||(t[e]=Jt(r[e])),t}),t.$_config[n]||{}))}))}}},{key:"resetConfig",value:function(){this.$_config={}}},{key:"getConfig",value:function(){return Jt(this.$_config)}},{key:"getConfigValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return Jt(Xt(this.$_config,t,e))}}])&&re(e.prototype,n),r&&re(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),ae=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;e.prototype[_]=i.a.prototype[_]=e.prototype[_]||i.a.prototype[_]||new ie,e.prototype[_].setConfig(t)};function oe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function se(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=t.components,n=t.directives,r=t.plugins,i=function t(i){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.installed||(t.installed=!0,de(i),ae(a,i),ve(i,e),be(i,n),pe(i,r))};return i.installed=!1,i},he=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return se(se({},e),{},{install:fe(t)})},pe=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)n&&e[n]&&t.use(e[n])},me=function(t,e,n){t&&e&&n&&t.component(e,n)},ve=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)me(t,n,e[n])},ge=function(t,e,n){t&&e&&n&&t.directive(e.replace(/^VB/,"B"),n)},be=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in e)ge(t,n,e[n])},ye=function(){return(ye=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ce(t){return(Ce="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)}var je=i.a.version.startsWith("3"),Pe=je?"ref_for":"refInFor",Ye=["class","staticClass","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"],Ae=i.a.extend.bind(i.a);if(je){var Ee=i.a.extend,$e=["router-link","transition","transition-group"],Ie=i.a.vModelDynamic.created,He=i.a.vModelDynamic.beforeUpdate;i.a.vModelDynamic.created=function(t,e,n){Ie.call(this,t,e,n),t._assign||(t._assign=function(){})},i.a.vModelDynamic.beforeUpdate=function(t,e,n){He.call(this,t,e,n),t._assign||(t._assign=function(){})},Ae=function(t){if("object"===Ce(t)&&t.render&&!t.__alreadyPatched){var e=t.render;t.__alreadyPatched=!0,t.render=function(n){var r=function(t,e,r){var i=void 0===r?[]:[Array.isArray(r)?r.filter(Boolean):r],a="string"==typeof t&&!$e.includes(t);if(!(e&&"object"===Ce(e)&&!Array.isArray(e)))return n.apply(void 0,[t,e].concat(i));var o=e.attrs,s=e.props,l=Se(Se({},De(e,["attrs","props"])),{},{attrs:o,props:a?{}:s});return"router-link"!==t||l.slots||l.scopedSlots||(l.scopedSlots={$hasNormal:function(){}}),n.apply(void 0,[t,l].concat(i))};if(t.functional){var i,a,o=arguments[1],s=Se({},o);s.data={attrs:Se({},o.data.attrs||{}),props:Se({},o.data.props||{})},Object.keys(o.data||{}).forEach((function(t){Ye.includes(t)?s.data[t]=o.data[t]:t in o.props?s.data.props[t]=o.data[t]:t.startsWith("on")||(s.data.attrs[t]=o.data[t])}));var l=["_ctx"],u=(null===(i=o.children)||void 0===i||null===(a=i.default)||void 0===a?void 0:a.call(i))||o.children;return u&&0===Object.keys(s.children).filter((function(t){return!l.includes(t)})).length?delete s.children:s.children=u,s.data.on=o.listeners,e.call(this,r,s)}return e.call(this,r)}}return Ee.call(this,t)}.bind(i.a)}var Fe=i.a.nextTick,Be=je?"vnodeBeforeUnmount":"hook:beforeDestroy",Ne=je?"vNodeUnmounted":"hook:destroyed",ze="bv",Re={passive:!0},Ve={passive:!0,capture:!1},We=Array,Ue=Boolean,qe=Date,Ge=Function,Je=Number,Ke=Object,Xe=RegExp,Ze=String,Qe=[We,Ge],tn=[We,Ke],en=[We,Ke,Ze],nn=[We,Ze],rn=[Ue,Je],an=[Ue,Je,Ze],on=[Ue,Ze],sn=[qe,Ze],ln=[Ge,Ze],un=[Je,Ze],cn=[Je,Ke,Ze],dn=[Ke,Ge],fn=[Ke,Ze],hn=function(){return Array.from.apply(Array,arguments)},pn=function(t,e){return-1!==t.indexOf(e)},mn=function(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(t=mn(t).filter(Kt)).some((function(t){return e[t]||n[t]}))},_n=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t=mn(t).filter(Kt);for(var a=0;a0&&void 0!==arguments[0]?arguments[0]:"default",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.$scopedSlots,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$slots;return yn(t,e,n)},normalizeSlot:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.$scopedSlots,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.$slots,i=_n(t,e,n,r);return i?mn(i):i}}}),kn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseInt(t,10);return isNaN(n)?e:n},xn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,n=parseFloat(t);return isNaN(n)?e:n},Mn=function(t,e){return xn(t).toFixed(kn(e,0))},Tn=function(t){return t.replace(D,"-$1").toLowerCase()},On=function(t){return(t=Tn(t).replace(B,(function(t,e){return e?e.toUpperCase():""}))).charAt(0).toUpperCase()+t.slice(1)},Sn=function(t){return t.replace(F," ").replace(C,(function(t,e,n){return e+" "+n})).replace(I,(function(t,e,n){return e+n.toUpperCase()}))},Ln=function(t){return(t=wt(t)?t.trim():String(t)).charAt(0).toUpperCase()+t.slice(1)},Dn=function(t){return t.replace(Y,"\\$&")},Cn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return bt(t)?"":Mt(t)||Ot(t)&&t.toString===Object.prototype.toString?JSON.stringify(t,null,e):String(t)},jn=function(t){return Cn(t).trim()},Pn=function(t){return Cn(t).toLowerCase()},Yn=ut.prototype,An=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map((function(t){return"".concat(t,":not(:disabled):not([disabled])")})).join(", "),En=Yn.matches||Yn.msMatchesSelector||Yn.webkitMatchesSelector,$n=Yn.closest||function(t){var e=this;do{if(Gn(e,t))return e;e=e.parentElement||e.parentNode}while(!gt(e)&&e.nodeType===Node.ELEMENT_NODE);return null},In=(d.requestAnimationFrame||d.webkitRequestAnimationFrame||d.mozRequestAnimationFrame||d.msRequestAnimationFrame||d.oRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(d),Hn=d.MutationObserver||d.WebKitMutationObserver||d.MozMutationObserver||null,Fn=function(t){return!(!t||t.nodeType!==Node.ELEMENT_NODE)},Bn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=f.activeElement;return e&&!t.some((function(t){return t===e}))?e:null},Nn=function(t,e){return Cn(t).toLowerCase()===Cn(e).toLowerCase()},zn=function(t){return Fn(t)&&t===Bn()},Rn=function(t){if(!Fn(t)||!t.parentNode||!Kn(f.body,t))return!1;if("none"===sr(t,"display"))return!1;var e=lr(t);return!!(e&&e.height>0&&e.width>0)},Vn=function(t){return!Fn(t)||t.disabled||ir(t,"disabled")||tr(t,"disabled")},Wn=function(t){return Fn(t)&&t.offsetHeight},Un=function(t,e){return hn((Fn(e)?e:f).querySelectorAll(t))},qn=function(t,e){return(Fn(e)?e:f).querySelector(t)||null},Gn=function(t,e){return!!Fn(t)&&En.call(t,e)},Jn=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!Fn(e))return null;var r=$n.call(e,t);return n?r:r===e?null:r},Kn=function(t,e){return!(!t||!yt(t.contains))&&t.contains(e)},Xn=function(t){return f.getElementById(/^#/.test(t)?t.slice(1):t)||null},Zn=function(t,e){e&&Fn(t)&&t.classList&&t.classList.add(e)},Qn=function(t,e){e&&Fn(t)&&t.classList&&t.classList.remove(e)},tr=function(t,e){return!!(e&&Fn(t)&&t.classList)&&t.classList.contains(e)},er=function(t,e,n){e&&Fn(t)&&t.setAttribute(e,n)},nr=function(t,e){e&&Fn(t)&&t.removeAttribute(e)},rr=function(t,e){return e&&Fn(t)?t.getAttribute(e):null},ir=function(t,e){return e&&Fn(t)?t.hasAttribute(e):null},ar=function(t,e,n){e&&Fn(t)&&(t.style[e]=n)},or=function(t,e){e&&Fn(t)&&(t.style[e]="")},sr=function(t,e){return e&&Fn(t)&&t.style[e]||null},lr=function(t){return Fn(t)?t.getBoundingClientRect():null},ur=function(t){var e=d.getComputedStyle;return e&&Fn(t)?e(t):{}},cr=function(){return d.getSelection?d.getSelection():null},dr=function(t){var e={top:0,left:0};if(!Fn(t)||0===t.getClientRects().length)return e;var n=lr(t);if(n){var r=t.ownerDocument.defaultView;e.top=n.top+r.pageYOffset,e.left=n.left+r.pageXOffset}return e},fr=function(t){var e={top:0,left:0};if(!Fn(t))return e;var n={top:0,left:0},r=ur(t);if("fixed"===r.position)e=lr(t)||e;else{e=dr(t);for(var i=t.ownerDocument,a=t.offsetParent||i.documentElement;a&&(a===i.body||a===i.documentElement)&&"static"===ur(a).position;)a=a.parentNode;if(a&&a!==t&&a.nodeType===Node.ELEMENT_NODE){n=dr(a);var o=ur(a);n.top+=xn(o.borderTopWidth,0),n.left+=xn(o.borderLeftWidth,0)}}return{top:e.top-n.top-xn(r.marginTop,0),left:e.left-n.left-xn(r.marginLeft,0)}},hr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return Un(An,t).filter(Rn).filter((function(t){return t.tabIndex>-1&&!t.disabled}))},pr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{t.focus(e)}catch(t){}return zn(t)},mr=function(t){try{t.blur()}catch(t){}return!zn(t)},vr=function(t){var e=At(null);return function(){for(var n=arguments.length,r=new Array(n),i=0;i1&&void 0!==arguments[1]?arguments[1]:void 0,n=gr[_];return n?n.getConfigValue(t,e):Jt(e)},yr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return e?br("".concat(t,".").concat(e),n):br(t,{})},_r=function(){return br("breakpoints",w)},wr=vr((function(){return _r()})),kr=function(){return Jt(wr())},xr=vr((function(){var t=kr();return t[0]="",t}));function Mr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tr(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,i=!0===n;return r=i?r:n,Tr(Tr(Tr({},t?{type:t}:{}),i?{required:i}:vt(e)?{}:{default:Tt(e)?function(){return e}:e}),vt(r)?{}:{validator:r})},jr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kt;if(Mt(t))return t.map(e);var n={};for(var r in t)Ft(t,r)&&(n[e(r)]=Tt(t[r])?Bt(t[r]):t[r]);return n},Pr=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Kt;return(Mt(t)?t.slice():Ht(t)).reduce((function(t,r){return t[n(r)]=e[r],t}),{})},Yr=function(t,e,n){return Tr(Tr({},Jt(t)),{},{default:function(){var r=yr(n,e,t.default);return yt(r)?r():r}})},Ar=function(t,e){return Ht(t).reduce((function(n,r){return Tr(Tr({},n),{},Or({},r,Yr(t[r],r,e)))}),{})},Er=Yr({},"","").default.name,$r=function(t){return yt(t)&&t.name&&t.name!==Er};function Ir(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Hr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.type,r=void 0===n?void 0:n,i=e.defaultValue,a=void 0===i?void 0:i,o=e.validator,s=void 0===o?void 0:o,l=e.event,u=void 0===l?"input":l,c=Ir({},t,Cr(r,a,s)),d=Ae({model:{prop:t,event:u},props:c});return{mixin:d,props:c,prop:t,event:u}},Fr=function(t){return v?Tt(t)?t:{capture:!!t||!1}:!!(Tt(t)?t.capture:t)},Br=function(t,e,n,r){t&&t.addEventListener&&t.addEventListener(e,n,Fr(r))},Nr=function(t,e,n,r){t&&t.removeEventListener&&t.removeEventListener(e,n,Fr(r))},zr=function(t){for(var e=t?Br:Nr,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.preventDefault,r=void 0===n||n,i=e.propagation,a=void 0===i||i,o=e.immediatePropagation,s=void 0!==o&&o;r&&t.preventDefault(),a&&t.stopPropagation(),s&&t.stopImmediatePropagation()},Vr=function(t){return Tn(t.replace(x,""))},Wr=function(t,e){return[ze,Vr(t),e].join("::")},Ur=function(t,e){return[ze,e,Vr(t)].join("::")};var qr=Ar({ariaLabel:Cr(Ze,"Close"),content:Cr(Ze,"×"),disabled:Cr(Ue,!1),textVariant:Cr(Ze)},"BButtonClose"),Gr=Ae({name:"BButtonClose",functional:!0,props:qr,render:function(t,e){var n,r,i,a=e.props,o=e.data,s=e.slots,l=e.scopedSlots,u=s(),c=l||{},d={staticClass:"close",class:(n={},r="text-".concat(a.textVariant),i=a.textVariant,r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n),attrs:{type:"button",disabled:a.disabled,"aria-label":a.ariaLabel?String(a.ariaLabel):null},on:{click:function(t){a.disabled&&Lt(t)&&Rr(t)}}};return yn("default",c,u)||(d.domProps={innerHTML:a.content}),t("button",Te(o,d),_n("default",{},c,u))}});function Jr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Kr(t){for(var e=1;e0?t:0},fi=function(t){return""===t||!0===t||!(kn(t,0)<1)&&!!t},hi=Ar(Rt(ii(ii({},li),{},{dismissLabel:Cr(Ze,"Close"),dismissible:Cr(Ue,!1),fade:Cr(Ue,!1),variant:Cr(Ze,"info")})),"BAlert"),pi=he({components:{BAlert:Ae({name:"BAlert",mixins:[si,wn],props:hi,data:function(){return{countDown:0,localShow:fi(this[ui])}},watch:(Zr={},ai(Zr,ui,(function(t){this.countDown=di(t),this.localShow=fi(t)})),ai(Zr,"countDown",(function(t){var e=this;this.clearCountDownInterval();var n=this[ui];xt(n)&&(this.$emit("dismiss-count-down",t),n!==t&&this.$emit(ci,t),t>0?(this.localShow=!0,this.$_countDownTimeout=setTimeout((function(){e.countDown--}),1e3)):this.$nextTick((function(){In((function(){e.localShow=!1}))})))})),ai(Zr,"localShow",(function(t){var e=this[ui];t||!this.dismissible&&!xt(e)||this.$emit("dismissed"),xt(e)||e===t||this.$emit(ci,t)})),Zr),created:function(){this.$_filterTimer=null;var t=this[ui];this.countDown=di(t),this.localShow=fi(t)},beforeDestroy:function(){this.clearCountDownInterval()},methods:{dismiss:function(){this.clearCountDownInterval(),this.countDown=0,this.localShow=!1},clearCountDownInterval:function(){clearTimeout(this.$_countDownTimeout),this.$_countDownTimeout=null}},render:function(t){var e=t();if(this.localShow){var n=this.dismissible,r=this.variant,i=t();n&&(i=t(Gr,{attrs:{"aria-label":this.dismissLabel},on:{click:this.dismiss}},[this.normalizeSlot("dismiss")])),e=t("div",{staticClass:"alert",class:ai({"alert-dismissible":n},"alert-".concat(r),r),attrs:{role:"alert","aria-live":"polite","aria-atomic":!0},key:this._uid},[i,this.normalizeSlot()])}return t(ni,{props:{noFade:!this.fade}},[e])}})}}),mi=Math.min,vi=Math.max,gi=Math.abs,bi=Math.ceil,yi=Math.floor,_i=Math.pow,wi=Math.round;function ki(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,a=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);o=!0);}catch(t){s=!0,i=t}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return xi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xi(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e=t.href,n=t.to,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"a",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/";if(e)return e;if(Ai(r))return null;if(wt(n))return n||a;if(Ot(n)&&(n.path||n.query||n.hash)){var o=Cn(n.path),s=ji(n.query),l=Cn(n.hash);return l=l&&"#"!==l.charAt(0)?"#".concat(l):l,"".concat(o).concat(s).concat(l)||a}return i};function $i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ii={viewBox:"0 0 16 16",width:"1em",height:"1em",focusable:"false",role:"img","aria-label":"icon"},Hi={width:null,height:null,focusable:null,role:null,"aria-label":null},Fi={animation:Cr(Ze),content:Cr(Ze),flipH:Cr(Ue,!1),flipV:Cr(Ue,!1),fontScale:Cr(un,1),rotate:Cr(un,0),scale:Cr(un,1),shiftH:Cr(un,0),shiftV:Cr(un,0),stacked:Cr(Ue,!1),title:Cr(Ze),variant:Cr(Ze)},Bi=Ae({name:"BIconBase",functional:!0,props:Fi,render:function(t,e){var n,r=e.data,i=e.props,a=e.children,o=i.animation,s=i.content,l=i.flipH,u=i.flipV,c=i.stacked,d=i.title,f=i.variant,h=vi(xn(i.fontScale,1),0)||1,p=vi(xn(i.scale,1),0)||1,m=xn(i.rotate,0),v=xn(i.shiftH,0),g=xn(i.shiftV,0),b=l||u||1!==p,y=b||m,_=v||g,w=!bt(s),k=t("g",{attrs:{transform:[y?"translate(8 8)":null,b?"scale(".concat((l?-1:1)*p," ").concat((u?-1:1)*p,")"):null,m?"rotate(".concat(m,")"):null,y?"translate(-8 -8)":null].filter(Kt).join(" ")||null},domProps:w?{innerHTML:s||""}:{}},a);_&&(k=t("g",{attrs:{transform:"translate(".concat(16*v/16," ").concat(-16*g/16,")")}},[k])),c&&(k=t("g",[k]));var x=[d?t("title",d):null,k].filter(Kt);return t("svg",Te({staticClass:"b-icon bi",class:(n={},$i(n,"text-".concat(f),f),$i(n,"b-icon-animation-".concat(o),o),n),attrs:Ii,style:c?{}:{fontSize:1===h?null:"".concat(100*h,"%")}},r,c?{attrs:Hi}:{},{attrs:{xmlns:c?null:"http://www.w3.org/2000/svg",fill:"currentColor"}}),x)}});function Ni(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function zi(t){for(var e=1;e'),Gi=Wi("CalendarFill",''),Ji=Wi("ChevronBarLeft",''),Ki=Wi("ChevronDoubleLeft",''),Xi=Wi("ChevronDown",''),Zi=Wi("ChevronLeft",''),Qi=Wi("ChevronUp",''),ta=Wi("CircleFill",''),ea=Wi("Clock",''),na=Wi("ClockFill",''),ra=Wi("Dash",''),ia=Wi("PersonFill",''),aa=Wi("Plus",''),oa=Wi("Star",''),sa=Wi("StarFill",''),la=Wi("StarHalf",''),ua=Wi("X",'');function ca(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function da(t){for(var e=1;e1?n-1:0),i=1;it.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e=t.target,n=t.rel;return"_blank"===e&>(n)?"noopener":n||null}({target:this.target,rel:this.rel})},computedHref:function(){var t=this.to,e=this.href;return Ei({to:t,href:e},this.computedTag)},computedProps:function(){var t=this.event,e=this.prefetch,n=this.routerTag;return this.isRouterLink?Ua(Ua(Ua(Ua({},Pr(zt(Ua(Ua({},Ja),"nuxt-link"===this.computedTag?Ka:{}),["event","prefetch","routerTag"]),this)),t?{event:t}:{}),_t(e)?{prefetch:e}:{}),n?{tag:n}:{}):{}},computedAttrs:function(){var t=this.bvAttrs,e=this.computedHref,n=this.computedRel,r=this.disabled,i=this.target,a=this.routerTag,o=this.isRouterLink;return Ua(Ua(Ua(Ua({},t),e?{href:e}:{}),o&&a&&!Nn(a,"a")?{}:{rel:n,target:i}),{},{tabindex:r?"-1":vt(t.tabindex)?null:t.tabindex,"aria-disabled":r?"true":null})},computedListeners:function(){return Ua(Ua({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(t){var e=arguments,n=Lt(t),r=this.isRouterLink,i=this.bvListeners.click;if(n&&this.disabled)Rr(t,{immediatePropagation:!0});else{var a;if(r)null===(a=t.currentTarget.__vue__)||void 0===a||a.$emit("click",t);mn(i).filter((function(t){return yt(t)})).forEach((function(t){t.apply(void 0,Ra(e))})),this.emitOnRoot(Ga,t),this.emitOnRoot("clicked::link",t)}n&&!r&&"#"===this.computedHref&&Rr(t,{propagation:!1})},focus:function(){pr(this.$el)},blur:function(){mr(this.$el)}},render:function(t){var e=this.active,n=this.disabled;return t(this.computedTag,qa({class:{active:e,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function Qa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function to(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(L,"")},Po=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}};function Yo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ao(t){for(var e=1;e-1&&(e=e.slice(0,n).reverse(),pr(e[0]))},focusNext:function(t){var e=this.getItems(),n=e.indexOf(t.target);n>-1&&(e=e.slice(n+1),pr(e[0]))},focusLast:function(){var t=this.getItems().reverse();pr(t[0])},onFocusin:function(t){var e=this.$el;t.target!==e||Kn(e,t.relatedTarget)||(Rr(t),this.focusFirst(t))},onKeydown:function(t){var e=t.keyCode,n=t.shiftKey;e===xa||e===_a?(Rr(t),n?this.focusFirst(t):this.focusPrev(t)):e!==va&&e!==wa||(Rr(t),n?this.focusLast(t):this.focusNext(t))}},render:function(t){var e=this.keyNav;return t("div",{staticClass:"btn-toolbar",class:{"justify-content-between":this.justify},attrs:{role:"toolbar",tabindex:e?"0":null},on:e?{focusin:this.onFocusin,keydown:this.onKeydown}:{}},[this.normalizeSlot()])}}),es=he({components:{BButtonToolbar:ts,BBtnToolbar:ts}});function ns(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,a=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);o=!0);}catch(t){s=!0,i=t}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return rs(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rs(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rs(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t=us(t),e=us(e)||t,n=us(n)||t,t?tn?n:t:null},xs=["ar","az","ckb","fa","he","ks","lrc","mzn","ps","sd","te","ug","ur","yi"].map((function(t){return t.toLowerCase()})),Ms=function(t){var e=Cn(t).toLowerCase().replace(Z,"").split("-"),n=e.slice(0,2).join("-"),r=e[0];return pn(xs,n)||pn(xs,r)},Ts={id:Cr(Ze)},Os=Ae({props:Ts,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)}))}});function Ss(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ls(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"gregory";t=mn(t).filter(Kt);var n=new Intl.DateTimeFormat(t,{calendar:e});return n.resolvedOptions().locale}(mn(this.locale).filter(Kt),"gregory")},computedDateDisabledFn:function(){var t=this.dateDisabledFn;return $r(t)?t:function(){return!1}},computedDateInfoFn:function(){var t=this.dateInfoFn;return $r(t)?t:function(){return{}}},calendarLocale:function(){var t=new Intl.DateTimeFormat(this.computedLocale,{calendar:"gregory"}),e=t.resolvedOptions().calendar,n=t.resolvedOptions().locale;return"gregory"!==e&&(n=n.replace(/-u-.+$/i,"").concat("-u-ca-gregory")),n},calendarYear:function(){return this.activeDate.getFullYear()},calendarMonth:function(){return this.activeDate.getMonth()},calendarFirstDay:function(){return ls(this.calendarYear,this.calendarMonth,1,12)},calendarDaysInMonth:function(){var t=ls(this.calendarFirstDay);return t.setMonth(t.getMonth()+1,0),t.getDate()},computedVariant:function(){return"btn-".concat(this.selectedVariant||"primary")},computedTodayVariant:function(){return"btn-outline-".concat(this.todayVariant||this.selectedVariant||"primary")},computedNavButtonVariant:function(){return"btn-outline-".concat(this.navButtonVariant||"primary")},isRTL:function(){var t=Cn(this.direction).toLowerCase();return"rtl"===t||"ltr"!==t&&Ms(this.computedLocale)},context:function(){var t=this.selectedYMD,e=this.activeYMD,n=us(t),r=us(e);return{selectedYMD:t,selectedDate:n,selectedFormatted:n?this.formatDateString(n):this.labelNoDateSelected,activeYMD:e,activeDate:r,activeFormatted:r?this.formatDateString(r):"",disabled:this.dateDisabled(r),locale:this.computedLocale,calendarLocale:this.calendarLocale,rtl:this.isRTL}},dateOutOfRange:function(){var t=this.computedMin,e=this.computedMax;return function(n){return n=us(n),t&&ne}},dateDisabled:function(){var t=this,e=this.dateOutOfRange;return function(n){n=us(n);var r=cs(n);return!(!e(n)&&!t.computedDateDisabledFn(r,n))}},formatDateString:function(){return ds(this.calendarLocale,Ls(Ls({year:"numeric",month:"2-digit",day:"2-digit"},this.dateFormatOptions),{},{hour:void 0,minute:void 0,second:void 0,calendar:"gregory"}))},formatYearMonth:function(){return ds(this.calendarLocale,{year:"numeric",month:"long",calendar:"gregory"})},formatWeekdayName:function(){return ds(this.calendarLocale,{weekday:"long",calendar:"gregory"})},formatWeekdayNameShort:function(){return ds(this.calendarLocale,{weekday:this.weekdayHeaderFormat||"short",calendar:"gregory"})},formatDay:function(){var t=new Intl.NumberFormat([this.computedLocale],{style:"decimal",minimumIntegerDigits:1,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"});return function(e){return t.format(e.getDate())}},prevDecadeDisabled:function(){var t=this.computedMin;return this.disabled||t&&ps(_s(this.activeDate))t},nextYearDisabled:function(){var t=this.computedMax;return this.disabled||t&&hs(ys(this.activeDate))>t},nextDecadeDisabled:function(){var t=this.computedMax;return this.disabled||t&&hs(ws(this.activeDate))>t},calendar:function(){for(var t=[],e=this.calendarFirstDay,n=e.getFullYear(),r=e.getMonth(),i=this.calendarDaysInMonth,a=e.getDay(),o=0-((this.computedWeekStarts>a?7:0)-this.computedWeekStarts)-a,s=0;s<6&&o0);n!==this.visible&&(this.visible=n,this.callback(n),this.once&&this.visible&&(this.doneOnce=!0,this.stop()))}},{key:"stop",value:function(){this.observer&&this.observer.disconnect(),this.observer=null}}])&&yl(e.prototype,n),r&&yl(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),xl=function(t){var e=t[wl];e&&e.stop&&e.stop(),delete t[wl]},Ml=function(t,e){var n=e.value,r=e.modifiers,i={margin:"0px",once:!1,callback:n};Ht(r).forEach((function(t){M.test(t)?i.margin="".concat(t,"px"):"once"===t.toLowerCase()&&(i.once=!0)})),xl(t),t[wl]=new kl(t,i),t[wl]._prevModifiers=Bt(r)},Tl={bind:Ml,componentUpdated:function(t,e,n){var r=e.value,i=e.oldValue,a=e.modifiers;a=Bt(a),!t||r===i&&t[wl]&&Ma(a,t[wl]._prevModifiers)||Ml(t,{value:r,modifiers:a})},unbind:function(t){xl(t)}};function Ol(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Sl(t){for(var e=1;e0||i.removedNodes.length>0))&&(n=!0)}n&&e()}));return i.observe(t,function(t){for(var e=1;e0),touchStartX:0,touchDeltaX:0}},computed:{numSlides:function(){return this.slides.length}},watch:(Vl={},Gl(Vl,Zl,(function(t,e){t!==e&&this.setSlide(kn(t,0))})),Gl(Vl,"interval",(function(t,e){t!==e&&(t?(this.pause(!0),this.start(!1)):this.pause(!1))})),Gl(Vl,"isPaused",(function(t,e){t!==e&&this.$emit(t?"paused":"unpaused")})),Gl(Vl,"index",(function(t,e){t===e||this.isSliding||this.doSlide(t,e)})),Vl),created:function(){this.$_interval=null,this.$_animationTimeout=null,this.$_touchTimeout=null,this.$_observer=null,this.isPaused=!(kn(this.interval,0)>0)},mounted:function(){this.transitionEndEvent=function(t){for(var e in nu)if(!vt(t.style[e]))return nu[e];return null}(this.$el)||null,this.updateSlides(),this.setObserver(!0)},beforeDestroy:function(){this.clearInterval(),this.clearAnimationTimeout(),this.clearTouchTimeout(),this.setObserver(!1)},methods:{clearInterval:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){clearInterval(this.$_interval),this.$_interval=null})),clearAnimationTimeout:function(){clearTimeout(this.$_animationTimeout),this.$_animationTimeout=null},clearTouchTimeout:function(){clearTimeout(this.$_touchTimeout),this.$_touchTimeout=null},setObserver:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=Wl(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]}))},setSlide:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(c&&document.visibilityState&&document.hidden)){var r=this.noWrap,i=this.numSlides;t=yi(t),0!==i&&(this.isSliding?this.$once("sliding-end",(function(){In((function(){return e.setSlide(t,n)}))})):(this.direction=n,this.index=t>=i?r?i-1:0:t<0?r?0:i-1:t,r&&this.index!==t&&this.index!==this[Zl]&&this.$emit(Ql,this.index)))}},prev:function(){this.setSlide(this.index-1,"prev")},next:function(){this.setSlide(this.index+1,"next")},pause:function(t){t||(this.isPaused=!0),this.clearInterval()},start:function(t){t||(this.isPaused=!1),this.clearInterval(),this.interval&&this.numSlides>1&&(this.$_interval=setInterval(this.next,vi(1e3,this.interval)))},restart:function(){this.$el.contains(Bn())||this.start()},doSlide:function(t,e){var n=this,r=Boolean(this.interval),i=this.calcDirection(this.direction,e,t),a=i.overlayClass,o=i.dirClass,s=this.slides[e],l=this.slides[t];if(s&&l){if(this.isSliding=!0,r&&this.pause(!1),this.$emit("sliding-start",t),this.$emit(Ql,this.index),this.noAnimation)Zn(l,"active"),Qn(s,"active"),this.isSliding=!1,this.$nextTick((function(){return n.$emit("sliding-end",t)}));else{Zn(l,a),Wn(l),Zn(s,o),Zn(l,o);var u=!1,c=function e(){if(!u){if(u=!0,n.transitionEndEvent)n.transitionEndEvent.split(/\s+/).forEach((function(t){return Nr(l,t,e,Ve)}));n.clearAnimationTimeout(),Qn(l,o),Qn(l,a),Zn(l,"active"),Qn(s,"active"),Qn(s,o),Qn(s,a),er(s,"aria-current","false"),er(l,"aria-current","true"),er(s,"aria-hidden","true"),er(l,"aria-hidden","false"),n.isSliding=!1,n.direction=null,n.$nextTick((function(){return n.$emit("sliding-end",t)}))}};if(this.transitionEndEvent)this.transitionEndEvent.split(/\s+/).forEach((function(t){return Br(l,t,c,Ve)}));this.$_animationTimeout=setTimeout(c,650)}r&&this.start(!1)}},updateSlides:function(){this.pause(!0),this.slides=Un(".carousel-item",this.$refs.inner);var t=this.slides.length,e=vi(0,mi(yi(this.index),t-1));this.slides.forEach((function(n,r){var i=r+1;r===e?(Zn(n,"active"),er(n,"aria-current","true")):(Qn(n,"active"),er(n,"aria-current","false")),er(n,"aria-posinset",String(i)),er(n,"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,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t?tu[t]:n>e?tu.next:tu.prev},handleClick:function(t,e){var n=t.keyCode;"click"!==t.type&&n!==ka&&n!==ba||(Rr(t),e())},handleSwipe:function(){var t=gi(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0?this.prev():e<0&&this.next()}},touchStart:function(t){b&&eu[t.pointerType.toUpperCase()]?this.touchStartX=t.clientX:b||(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){b&&eu[t.pointerType.toUpperCase()]&&(this.touchDeltaX=t.clientX-this.touchStartX),this.handleSwipe(),this.pause(!1),this.clearTouchTimeout(),this.$_touchTimeout=setTimeout(this.start,500+vi(1e3,this.interval))}},render:function(t){var e=this,n=this.indicators,r=this.background,i=this.noAnimation,a=this.noHoverPause,o=this.noTouch,s=this.index,l=this.isSliding,u=this.pause,c=this.restart,d=this.touchStart,f=this.touchEnd,h=this.safeId("__BV_inner_"),p=t("div",{staticClass:"carousel-inner",attrs:{id:h,role:"list"},ref:"inner"},[this.normalizeSlot()]),m=t();if(this.controls){var v=function(n,r,i){var a=function(t){l?Rr(t,{propagation:!1}):e.handleClick(t,i)};return t("a",{staticClass:"carousel-control-".concat(n),attrs:{href:"#",role:"button","aria-controls":h,"aria-disabled":l?"true":null},on:{click:a,keydown:a}},[t("span",{staticClass:"carousel-control-".concat(n,"-icon"),attrs:{"aria-hidden":"true"}}),t("span",{class:"sr-only"},[r])])};m=[v("prev",this.labelPrev,this.prev),v("next",this.labelNext,this.next)]}var y=t("ol",{staticClass:"carousel-indicators",directives:[{name:"show",value:n}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":n?"false":"true","aria-label":this.labelIndicators,"aria-owns":h}},this.slides.map((function(r,i){var a=function(t){e.handleClick(t,(function(){e.setSlide(i)}))};return t("li",{class:{active:i===s},attrs:{role:"button",id:e.safeId("__BV_indicator_".concat(i+1,"_")),tabindex:n?"0":"-1","aria-current":i===s?"true":"false","aria-label":"".concat(e.labelGotoSlide," ").concat(i+1),"aria-describedby":r.id||null,"aria-controls":h},on:{click:a,keydown:a},key:"slide_".concat(i)})}))),_={mouseenter:a?Nl:u,mouseleave:a?Nl:c,focusin:u,focusout:c,keydown:function(t){if(!/input|textarea/i.test(t.target.tagName)){var n=t.keyCode;n!==_a&&n!==wa||(Rr(t),e[n===_a?"prev":"next"]())}}};return g&&!o&&(b?(_["&pointerdown"]=d,_["&pointerup"]=f):(_["&touchstart"]=d,_["&touchmove"]=this.touchMove,_["&touchend"]=f)),t("div",{staticClass:"carousel",class:{slide:!i,"carousel-fade":!i&&this.fade,"pointer-event":g&&b&&!o},style:{background:r},attrs:{role:"region",id:this.safeId(),"aria-busy":l?"true":"false"},on:_},[p,m,y])}});function au(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ou(t){for(var e=1;e0?(er(t,"aria-controls",r.join(" ")),ar(t,"overflow-anchor","none")):(nr(t,"aria-controls"),or(t,"overflow-anchor")),In((function(){!function(t,e){if(Ru(t),e){var n=function(n){"keydown"===n.type&&!pn(Nu,n.keyCode)||Vn(t)||(t[$u]||[]).forEach((function(t){Aa(e).$emit(Iu,t)}))};t[Au]=n,Br(t,"click",n,Re),zu(t)&&Br(t,"keydown",n,Re)}}(t,ju(n,e))})),Ma(r,t[$u])||(t[$u]=r,r.forEach((function(t){Aa(ju(n,e)).$emit(Bu,t)})))}},Gu={bind:function(t,e,n){t[Eu]=!1,t[$u]=[],function(t,e){if(Vu(t,e),e){var n=function(e,n){pn(t[$u]||[],e)&&(t[Eu]=n,Wu(t,n))};t[Yu]=n,Aa(e).$on([Hu,Fu],n)}}(t,ju(n,e)),qu(t,e,n)},componentUpdated:qu,updated:qu,unbind:function(t,e,n){Ru(t),Vu(t,ju(n,e)),Uu(t,Yu),Uu(t,Au),Uu(t,Eu),Uu(t,$u),Qn(t,"collapsed"),Qn(t,"not-collapsed"),nr(t,"aria-expanded"),nr(t,"aria-controls"),nr(t,"role"),or(t,"overflow-anchor")}},Ju=he({directives:{VBToggle:Gu}}),Ku=he({components:{BCollapse:Cu},plugins:{VBTogglePlugin:Ju}}),Xu=n(14);function Zu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qu(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(Zu(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}),Et(this,{type:{enumerable:!0,configurable:!1,writable:!1},cancelable:{enumerable:!0,configurable:!1,writable:!1},nativeEvent:{enumerable:!0,configurable:!1,writable:!1},target:{enumerable:!0,configurable:!1,writable:!1},relatedTarget:{enumerable:!0,configurable:!1,writable:!1},vueTarget:{enumerable:!0,configurable:!1,writable:!1},componentId:{enumerable:!0,configurable:!1,writable:!1}});var r=!1;this.preventDefault=function(){this.cancelable&&(r=!0)},$t(this,"defaultPrevented",{enumerable:!0,get:function(){return r}})}var e,n,r;return e=t,r=[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}],(n=null)&&Qu(e.prototype,n),r&&Qu(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),ec=Ae({data:function(){return{listenForClickOut:!1}},watch:{listenForClickOut:function(t,e){t!==e&&(Nr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ve),t&&Br(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ve))}},beforeCreate:function(){this.clickOutElement=null,this.clickOutEventName=null},mounted:function(){this.clickOutElement||(this.clickOutElement=document),this.clickOutEventName||(this.clickOutEventName="click"),this.listenForClickOut&&Br(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ve)},beforeDestroy:function(){Nr(this.clickOutElement,this.clickOutEventName,this._clickOutHandler,Ve)},methods:{isClickOut:function(t){return!Kn(this.$el,t.target)},_clickOutHandler:function(t){this.clickOutHandler&&this.isClickOut(t)&&this.clickOutHandler(t)}}}),nc=Ae({data:function(){return{listenForFocusIn:!1}},watch:{listenForFocusIn:function(t,e){t!==e&&(Nr(this.focusInElement,"focusin",this._focusInHandler,Ve),t&&Br(this.focusInElement,"focusin",this._focusInHandler,Ve))}},beforeCreate:function(){this.focusInElement=null},mounted:function(){this.focusInElement||(this.focusInElement=document),this.listenForFocusIn&&Br(this.focusInElement,"focusin",this._focusInHandler,Ve)},beforeDestroy:function(){Nr(this.focusInElement,"focusin",this._focusInHandler,Ve)},methods:{_focusInHandler:function(t){this.focusInHandler&&this.focusInHandler(t)}}}),rc=null;je&&(rc=new WeakMap);function ic(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ac(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0];this.disabled||(this.visible=!1,t&&this.$once("hidden",this.focusToggler))},toggle:function(t){var e=t=t||{},n=e.type,r=e.keyCode;("click"===n||"keydown"===n&&-1!==[ba,ka,va].indexOf(r))&&(this.disabled?this.visible=!1:(this.$emit("toggle",t),Rr(t),this.visible?this.hide(!0):this.show()))},onMousedown:function(t){Rr(t,{propagation:!1})},onKeydown:function(t){var e=t.keyCode;27===e?this.onEsc(t):e===va?this.focusNext(t,!1):e===xa&&this.focusNext(t,!0)},onEsc:function(t){this.visible&&(this.visible=!1,Rr(t),this.$once("hidden",this.focusToggler))},onSplitClick:function(t){this.disabled?this.visible=!1:this.$emit("click",t)},hideHandler:function(t){var e=this,n=t.target;!this.visible||Kn(this.$refs.menu,n)||Kn(this.toggler,n)||(this.clearHideTimeout(),this.$_hideTimeout=setTimeout((function(){return e.hide()}),this.hideDelay))},clickOutHandler:function(t){this.hideHandler(t)},focusInHandler:function(t){this.hideHandler(t)},focusNext:function(t,e){var n=this,r=t.target;!this.visible||t&&Jn(".dropdown form",r)||(Rr(t),this.$nextTick((function(){var t=n.getItems();if(!(t.length<1)){var i=t.indexOf(r);e&&i>0?i--:!e&&i1&&void 0!==arguments[1]?arguments[1]:null;if(Ot(t)){var n=Zt(t,this.valueField),r=Zt(t,this.textField);return{value:vt(n)?e||r:n,text:jo(String(vt(r)?e:r)),html:Zt(t,this.htmlField),disabled:Boolean(Zt(t,this.disabledField))}}return{value:e||t,text:jo(String(t)),disabled:!1}},normalizeOptions:function(t){var e=this;return Mt(t)?t.map((function(t){return e.normalizeOption(t)})):Ot(t)?(te('Setting prop "options" to an object is deprecated. Use the array format instead.',this.$options.name),Ht(t).map((function(n){return e.normalizeOption(t[n]||{},n)}))):[]}}});function id(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ad(t){for(var e=1;e-1:Ma(e,t)},isRadio:function(){return!1}},watch:zd({},"indeterminate",(function(t,e){Ma(t,e)||this.setIndeterminate(t)})),mounted:function(){this.setIndeterminate(this.indeterminate)},methods:{computedLocalCheckedWatcher:function(t,e){if(!Ma(t,e)){this.$emit(Id,t);var n=this.$refs.input;n&&this.$emit("update:indeterminate",n.indeterminate)}},handleChange:function(t){var e=this,n=t.target,r=n.checked,i=n.indeterminate,a=this.value,o=this.uncheckedValue,s=this.computedLocalChecked;if(Mt(s)){var l=_d(s,a);r&&l<0?s=s.concat(a):!r&&l>-1&&(s=s.slice(0,l).concat(s.slice(l+1)))}else s=r?a:o;this.computedLocalChecked=s,this.$nextTick((function(){e.$emit("change",s),e.isGroup&&e.bvGroup.$emit("change",s),e.$emit("update:indeterminate",i)}))},setIndeterminate:function(t){Mt(this.computedLocalChecked)&&(t=!1);var e=this.$refs.input;e&&(e.indeterminate=t,this.$emit("update:indeterminate",t))}}}),Ud=Ar(Hd,"BFormRadio"),qd=Ae({name:"BFormRadio",mixins:[Fd],inject:{getBvGroup:{from:"getBvRadioGroup",default:function(){return function(){return null}}}},props:Ud,computed:{bvGroup:function(){return this.getBvGroup()}}});function Gd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Jd(t){for(var e=1;e0&&(l=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":l.length>1,"justify-content-end":l.length<2}},l)]);var f=t($s,{staticClass:"b-form-date-calendar w-100",props:Mf(Mf({},Pr(Pf,a)),{},{hidden:!this.isVisible,value:e,valueAsDate:!1,width:this.calendarWidth}),on:{selected:this.onSelected,input:this.onInput,context:this.onContext},scopedSlots:Nt(o,["nav-prev-decade","nav-prev-year","nav-prev-month","nav-this-month","nav-next-month","nav-next-year","nav-next-decade"]),key:"calendar",ref:"calendar"},l);return t(kf,{staticClass:"b-form-datepicker",props:Mf(Mf({},Pr(Yf,a)),{},{formattedValue:e?this.formattedValue:"",id:this.safeId(),lang:this.computedLang,menuClass:[{"bg-dark":i,"text-light":i},this.menuClass],placeholder:s,rtl:this.isRTL,value:e}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:Tf({},"button-content",o["button-content"]||this.defaultButtonFn),ref:"control"},[f])}}),$f=he({components:{BFormDatepicker:Ef,BDatepicker:Ef}});function If(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Hf(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"";return new Promise((function(r){var i=[];!function a(){e.readEntries((function(e){0===e.length?r(Promise.all(i).then((function(t){return gn(t)}))):(i.push(Promise.all(e.map((function(e){if(e){if(e.isDirectory)return t(e.createReader(),"".concat(n).concat(e.name,"/"));if(e.isFile)return new Promise((function(t){e.file((function(e){e.$path="".concat(n).concat(e.name),t(e)}))}))}return null})).filter(Kt))),a())}))}()}))},Jf=Ar(Rt(Hf(Hf(Hf(Hf(Hf(Hf(Hf({},Ts),zf),wd),xd),Sd),Td),{},{accept:Cr(Ze,""),browseText:Cr(Ze,"Browse"),capture:Cr(Ue,!1),directory:Cr(Ue,!1),dropPlaceholder:Cr(Ze,"Drop files here"),fileNameFormatter:Cr(Ge),multiple:Cr(Ue,!1),noDrop:Cr(Ue,!1),noDropPlaceholder:Cr(Ze,"Not allowed"),noTraverse:Cr(Ue,!1),placeholder:Cr(Ze,"No file chosen")})),"BFormFile"),Kf=Ae({name:"BFormFile",mixins:[Ya,Os,Nf,wn,kd,Ld,Md,wn],inheritAttrs:!1,props:Jf,data:function(){return{files:[],dragging:!1,dropAllowed:!this.noDrop,hasFocus:!1}},computed:{computedAccept:function(){var t=this.accept;return 0===(t=(t||"").trim().split(/[,\s]+/).filter(Kt)).length?null:t.map((function(t){var e="name",n="^",r="$";return T.test(t)?n="":(e="type",$.test(t)&&(r=".+$",t=t.slice(0,-1))),t=Dn(t),{rx:new RegExp("".concat(n).concat(t).concat(r)),prop:e}}))},computedCapture:function(){var t=this.capture;return!0===t||""===t||(t||null)},computedAttrs:function(){var t=this.name,e=this.disabled,n=this.required,r=this.form,i=this.computedCapture,a=this.accept,o=this.multiple,s=this.directory;return Hf(Hf({},this.bvAttrs),{},{type:"file",id:this.safeId(),name:t,disabled:e,required:n,form:r||null,capture:i,accept:a||null,multiple:o,directory:s,webkitdirectory:s,"aria-required":n?"true":null})},computedFileNameFormatter:function(){var t=this.fileNameFormatter;return $r(t)?t:this.defaultFileNameFormatter},clonedFiles:function(){return Jt(this.files)},flattenedFiles:function(){return bn(this.files)},fileNames:function(){return this.flattenedFiles.map((function(t){return t.name}))},labelContent:function(){if(this.dragging&&!this.noDrop)return this.normalizeSlot("drop-placeholder",{allowed:this.dropAllowed})||(this.dropAllowed?this.dropPlaceholder:this.$createElement("span",{staticClass:"text-danger"},this.noDropPlaceholder));if(0===this.files.length)return this.normalizeSlot("placeholder")||this.placeholder;var t=this.flattenedFiles,e=this.clonedFiles,n=this.fileNames,r=this.computedFileNameFormatter;return this.hasNormalizedSlot("file-name")?this.normalizeSlot("file-name",{files:t,filesTraversed:e,names:n}):r(t,e,n)}},watch:(Of={},Ff(Of,Rf,(function(t){(!t||Mt(t)&&0===t.length)&&this.reset()})),Ff(Of,"files",(function(t,e){if(!Ma(t,e)){var n=this.multiple,r=this.noTraverse,i=!n||r?bn(t):t;this.$emit(Vf,n?i:i[0]||null)}})),Of),created:function(){this.$_form=null},mounted:function(){var t=Jn("form",this.$el);t&&(Br(t,"reset",this.reset,Re),this.$_form=t)},beforeDestroy:function(){var t=this.$_form;t&&Nr(t,"reset",this.reset,Re)},methods:{isFileValid:function(t){if(!t)return!1;var e=this.computedAccept;return!e||e.some((function(e){return e.rx.test(t[e.prop])}))},isFilesArrayValid:function(t){var e=this;return Mt(t)?t.every((function(t){return e.isFileValid(t)})):this.isFileValid(t)},defaultFileNameFormatter:function(t,e,n){return n.join(", ")},setFiles:function(t){this.dropAllowed=!this.noDrop,this.dragging=!1,this.files=this.multiple?this.directory?t:bn(t):bn(t).slice(0,1)},setInputFiles:function(t){try{var e=new ClipboardEvent("").clipboardData||new DataTransfer;bn(Jt(t)).forEach((function(t){delete t.$path,e.items.add(t)})),this.$refs.input.files=e.files}catch(t){}},reset:function(){try{var t=this.$refs.input;t.value="",t.type="",t.type="file"}catch(t){}this.files=[]},handleFiles:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=t.filter(this.isFilesArrayValid);n.length>0&&(this.setFiles(n),this.setInputFiles(n))}else this.setFiles(t)},focusHandler:function(t){this.plain||"focusout"===t.type?this.hasFocus=!1:this.hasFocus=!0},onChange:function(t){var e=this,n=t.type,r=t.target,i=t.dataTransfer,a=void 0===i?{}:i,o="drop"===n;this.$emit("change",t);var s=hn(a.items||[]);if(l&&s.length>0&&!gt(qf(s[0])))(function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.all(hn(t).filter((function(t){return"file"===t.kind})).map((function(t){var n=qf(t);if(n){if(n.isDirectory&&e)return Gf(n.createReader(),"".concat(n.name,"/"));if(n.isFile)return new Promise((function(t){n.file((function(e){e.$path="",t(e)}))}))}return null})).filter(Kt))})(s,this.directory).then((function(t){return e.handleFiles(t,o)}));else{var u=hn(r.files||a.files||[]).map((function(t){return t.$path=t.webkitRelativePath||"",t}));this.handleFiles(u,o)}},onDragenter:function(t){Rr(t),this.dragging=!0;var e=t.dataTransfer,n=void 0===e?{}:e;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragover:function(t){Rr(t),this.dragging=!0;var e=t.dataTransfer,n=void 0===e?{}:e;if(this.noDrop||this.disabled||!this.dropAllowed)return n.dropEffect="none",void(this.dropAllowed=!1);n.dropEffect="copy"},onDragleave:function(t){var e=this;Rr(t),this.$nextTick((function(){e.dragging=!1,e.dropAllowed=!e.noDrop}))},onDrop:function(t){var e=this;Rr(t),this.dragging=!1,this.noDrop||this.disabled||!this.dropAllowed?this.$nextTick((function(){e.dropAllowed=!e.noDrop})):this.onChange(t)}},render:function(t){var e=this.custom,n=this.plain,r=this.size,i=this.dragging,a=this.stateClass,o=this.bvAttrs,s=t("input",{class:[{"form-control-file":n,"custom-file-input":e,focus:e&&this.hasFocus},a],style:e?{zIndex:-5}:{},attrs:this.computedAttrs,on:{change:this.onChange,focusin:this.focusHandler,focusout:this.focusHandler,reset:this.reset},ref:"input"});if(n)return s;var l=t("label",{staticClass:"custom-file-label",class:{dragging:i},attrs:{for:this.safeId(),"data-browse":this.browseText||null}},[t("span",{staticClass:"d-block form-file-text",style:{pointerEvents:"none"}},[this.labelContent])]);return t("div",{staticClass:"custom-file b-form-file",class:[Ff({},"b-custom-control-".concat(r),r),a,o.class],style:o.style,attrs:{id:this.safeId("_BV_file_outer_")},on:{dragenter:this.onDragenter,dragover:this.onDragover,dragleave:this.onDragleave,drop:this.onDrop}},[s,l])}}),Xf=he({components:{BFormFile:Kf,BFile:Kf}}),Zf=function(t){return"\\"+t},Qf=function(t){var e=(t=Cn(t)).length,n=t.charCodeAt(0);return t.split("").reduce((function(r,i,a){var o=t.charCodeAt(a);return 0===o?r+"�":127===o||o>=1&&o<=31||0===a&&o>=48&&o<=57||1===a&&o>=48&&o<=57&&45===n?r+Zf("".concat(o.toString(16)," ")):0===a&&45===o&&1===e?r+Zf(i):o>=128||45===o||95===o||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?r+i:r+Zf(i)}),"")};function th(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function eh(t){for(var e=1;e0||Ht(this.labelColProps).length>0}},watch:{ariaDescribedby:function(t,e){t!==e&&this.updateAriaDescribedby(t,e)}},mounted:function(){var t=this;this.$nextTick((function(){t.updateAriaDescribedby(t.ariaDescribedby)}))},methods:{getAlignClasses:function(t,e){return xr().reduce((function(n,r){var i=t[Dr(r,"".concat(e,"Align"))]||null;return i&&n.push(["text",r,i].filter(Kt).join("-")),n}),[])},getColProps:function(t,e){return xr().reduce((function(n,r){var i=t[Dr(r,"".concat(e,"Cols"))];return _t(i=""===i||(i||!1))||"auto"===i||(i=(i=kn(i,0))>0&&i),i&&(n[r||(_t(i)?"col":"cols")]=i),n}),{})},updateAriaDescribedby:function(t,e){var n=this.labelFor;if(c&&n){var r=qn("#".concat(Qf(n)),this.$refs.content);if(r){var i="aria-describedby",a=(t||"").split(E),o=(e||"").split(E),s=(rr(r,i)||"").split(E).filter((function(t){return!pn(o,t)})).concat(a).filter((function(t,e,n){return n.indexOf(t)===e})).filter(Kt).join(" ").trim();s?er(r,i,s):nr(r,i)}}},onLegendClick:function(t){if(!this.labelFor){var e=t.target,n=e?e.tagName:"";if(-1===fh.indexOf(n)){var r=Un(dh,this.$refs.content).filter(Rn);1===r.length&&pr(r[0])}}}},render:function(t){var e=this.computedState,n=this.feedbackAriaLive,r=this.isHorizontal,i=this.labelFor,a=this.normalizeSlot,o=this.safeId,s=this.tooltip,l=o(),u=!i,c=t(),d=a("label")||this.label,f=d?o("_BV_label_"):null;if(d||r){var h=this.labelSize,p=this.labelColProps,m=u?"legend":"label";this.labelSrOnly?(d&&(c=t(m,{class:"sr-only",attrs:{id:f,for:i||null}},[d])),c=t(r?oh:"div",{props:r?p:{}},[c])):c=t(r?oh:m,{on:u?{click:this.onLegendClick}:{},props:r?lh(lh({},p),{},{tag:m}):{},attrs:{id:f,for:i||null,tabindex:u?"-1":null},class:[u?"bv-no-focus-ring":"",r||u?"col-form-label":"",!r&&u?"pt-0":"",r||u?"":"d-block",h?"col-form-label-".concat(h):"",this.labelAlignClasses,this.labelClass]},[d])}var v=t(),g=a("invalid-feedback")||this.invalidFeedback,b=g?o("_BV_feedback_invalid_"):null;g&&(v=t(pd,{props:{ariaLive:n,id:b,state:e,tooltip:s},attrs:{tabindex:g?"-1":null}},[g]));var y=t(),_=a("valid-feedback")||this.validFeedback,w=_?o("_BV_feedback_valid_"):null;_&&(y=t(vd,{props:{ariaLive:n,id:w,state:e,tooltip:s},attrs:{tabindex:_?"-1":null}},[_]));var k=t(),x=a("description")||this.description,M=x?o("_BV_description_"):null;x&&(k=t(fd,{attrs:{id:M,tabindex:"-1"}},[x]));var T=this.ariaDescribedby=[M,!1===e?b:null,!0===e?w:null].filter(Kt).join(" ")||null,O=t(r?oh:"div",{props:r?this.contentColProps:{},ref:"content"},[a("default",{ariaDescribedby:T,descriptionId:M,id:l,labelId:f})||t(),v,y,k]);return t(u?"fieldset":r?bd:"div",{staticClass:"form-group",class:[{"was-validated":this.validated},this.stateClass],attrs:{id:l,disabled:u?this.disabled:null,role:u?null:"group","aria-invalid":this.computedAriaInvalid,"aria-labelledby":u&&r?f:null}},r&&u?[t(bd,[c,O])]:[c,O])}},ph=he({components:{BFormGroup:hh,BFormFieldset:hh}}),mh=Ae({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)}}});function vh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function gh(t){for(var e=1;e2&&void 0!==arguments[2]&&arguments[2];return t=Cn(t),!this.hasFormatter||this.lazyFormatter&&!n||(t=this.formatter(t,e)),t},modifyValue:function(t){return t=Cn(t),this.trim&&(t=t.trim()),this.number&&(t=xn(t,t)),t},updateValue:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.lazy;if(!r||n){this.clearDebounce();var i=function(){if((t=e.modifyValue(t))!==e.vModelValue)e.vModelValue=t,e.$emit(xh,t);else if(e.hasFormatter){var n=e.$refs.input;n&&t!==n.value&&(n.value=t)}},a=this.computedDebounce;a>0&&!r&&!n?this.$_inputDebounceTimer=setTimeout(i,a):i()}},onInput:function(t){if(!t.target.composing){var e=t.target.value,n=this.formatValue(e,t);!1===n||t.defaultPrevented?Rr(t,{propagation:!1}):(this.localValue=n,this.updateValue(n),this.$emit("input",n))}},onChange:function(t){var e=t.target.value,n=this.formatValue(e,t);!1===n||t.defaultPrevented?Rr(t,{propagation:!1}):(this.localValue=n,this.updateValue(n,!0),this.$emit("change",n))},onBlur:function(t){var e=t.target.value,n=this.formatValue(e,t,!0);!1!==n&&(this.localValue=Cn(this.modifyValue(n)),this.updateValue(n,!0)),this.$emit("blur",t)},focus:function(){this.disabled||pr(this.$el)},blur:function(){this.disabled||mr(this.$el)}}}),Oh=Ae({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)}}});function Sh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Lh(t){for(var e=1;e=n?"full":e>=n-.5?"half":"empty",c={variant:a,disabled:o,readonly:s};return t("span",{staticClass:"b-rating-star",class:{focused:r&&e===n||!kn(e)&&n===l,"b-rating-star-empty":"empty"===u,"b-rating-star-half":"half"===u,"b-rating-star-full":"full"===u},attrs:{tabindex:o||s?null:"-1"},on:{click:this.onClick}},[t("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(u,c)])])}}),Jh=Ar(Rt(Fh(Fh(Fh(Fh(Fh({},Ts),Rh),zt(wd,["required","autofocus"])),Td),{},{color:Cr(Ze),iconClear:Cr(Ze,"x"),iconEmpty:Cr(Ze,"star"),iconFull:Cr(Ze,"star-fill"),iconHalf:Cr(Ze,"star-half"),inline:Cr(Ue,!1),locale:Cr(nn),noBorder:Cr(Ue,!1),precision:Cr(un),readonly:Cr(Ue,!1),showClear:Cr(Ue,!1),showValue:Cr(Ue,!1),showValueMax:Cr(Ue,!1),stars:Cr(un,5,(function(t){return kn(t)>=3})),variant:Cr(Ze)})),"BFormRating"),Kh=Ae({name:"BFormRating",components:{BIconStar:oa,BIconStarHalf:la,BIconStarFill:sa,BIconX:ua},mixins:[Os,zh,Od],props:Jh,data:function(){var t=xn(this[Vh],null),e=Uh(this.stars);return{localValue:gt(t)?null:qh(t,0,e),hasFocus:!1}},computed:{computedStars:function(){return Uh(this.stars)},computedRating:function(){var t=xn(this.localValue,0),e=kn(this.precision,3);return qh(xn(t.toFixed(e)),0,this.computedStars)},computedLocale:function(){var t=mn(this.locale).filter(Kt);return new Intl.NumberFormat(t).resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return Ms(this.computedLocale)},formattedRating:function(){var t=kn(this.precision),e=this.showValueMax,n=this.computedLocale,r={notation:"standard",minimumFractionDigits:isNaN(t)?0:t,maximumFractionDigits:isNaN(t)?3:t},i=this.computedStars.toLocaleString(n),a=this.localValue;return a=gt(a)?e?"-":"":a.toLocaleString(n,r),e?"".concat(a,"/").concat(i):a}},watch:(Ch={},Bh(Ch,Vh,(function(t,e){if(t!==e){var n=xn(t,null);this.localValue=gt(n)?null:qh(n,0,this.computedStars)}})),Bh(Ch,"localValue",(function(t,e){t!==e&&t!==(this.value||0)&&this.$emit(Wh,t||null)})),Bh(Ch,"disabled",(function(t){t&&(this.hasFocus=!1,this.blur())})),Ch),methods:{focus:function(){this.disabled||pr(this.$el)},blur:function(){this.disabled||mr(this.$el)},onKeydown:function(t){var e=t.keyCode;if(this.isInteractive&&pn([_a,va,wa,xa],e)){Rr(t,{propagation:!1});var n=kn(this.localValue,0),r=this.showClear?0:1,i=this.computedStars,a=this.isRTL?-1:1;e===_a?this.localValue=qh(n-a,r,i)||null:e===wa?this.localValue=qh(n+a,r,i):e===va?this.localValue=qh(n-1,r,i)||null:e===xa&&(this.localValue=qh(n+1,r,i))}},onSelected:function(t){this.isInteractive&&(this.localValue=t)},onFocus:function(t){this.hasFocus=!!this.isInteractive&&"focus"===t.type},renderIcon:function(t){return this.$createElement(ma,{props:{icon:t,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(ma,{props:{icon:this.iconClear}})}},render:function(t){var e=this,n=this.disabled,r=this.readonly,i=this.name,a=this.form,o=this.inline,s=this.variant,l=this.color,u=this.noBorder,c=this.hasFocus,d=this.computedRating,f=this.computedStars,h=this.formattedRating,p=this.showClear,m=this.isRTL,v=this.isInteractive,g=this.$scopedSlots,b=[];if(p&&!n&&!r){var y=t("span",{staticClass:"b-rating-icon"},[(g["icon-clear"]||this.iconClearFn)()]);b.push(t("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:c&&0===d},attrs:{tabindex:v?"-1":null},on:{click:function(){return e.onSelected(null)}},key:"clear"},[y]))}for(var _=0;_1&&void 0!==arguments[1]?arguments[1]:null;if(Ot(t)){var n=Zt(t,this.valueField),r=Zt(t,this.textField),i=Zt(t,this.optionsField,null);return gt(i)?{value:vt(n)?e||r:n,text:String(vt(r)?e:r),html:Zt(t,this.htmlField),disabled:Boolean(Zt(t,this.disabledField))}:{label:String(Zt(t,this.labelField)||r),options:this.normalizeOptions(i)}}return{value:e||t,text:String(t),disabled:!1}}}}),lp=Ar({disabled:Cr(Ue,!1),value:Cr(void 0,void 0,!0)},"BFormSelectOption"),up=Ae({name:"BFormSelectOption",functional:!0,props:lp,render:function(t,e){var n=e.props,r=e.data,i=e.children,a=n.value;return t("option",Te(r,{attrs:{disabled:n.disabled},domProps:{value:a}}),i)}});function cp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function dp(t){for(var e=1;e0?t:500},computedInterval:function(){var t=kn(this.repeatInterval,0);return t>0?t:100},computedThreshold:function(){return vi(kn(this.repeatThreshold,10),1)},computedStepMultiplier:function(){return vi(kn(this.repeatStepMultiplier,4),1)},computedPrecision:function(){var t=this.computedStep;return yi(t)===t?0:(t.toString().split(".")[1]||"").length},computedMultiplier:function(){return _i(10,this.computedPrecision||0)},valueAsFixed:function(){var t=this.localValue;return gt(t)?"":t.toFixed(this.computedPrecision)},computedLocale:function(){var t=mn(this.locale).filter(Kt);return new Intl.NumberFormat(t).resolvedOptions().locale},computedRTL:function(){return Ms(this.computedLocale)},defaultFormatter:function(){var t=this.computedPrecision;return new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:t,maximumFractionDigits:t,notation:"standard"}).format},computedFormatter:function(){var t=this.formatterFn;return $r(t)?t:this.defaultFormatter},computedAttrs:function(){return xp(xp({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var t=this.spinId,e=this.localValue,n=this.computedRequired,r=this.disabled,i=this.state,a=this.computedFormatter,o=!gt(e);return xp(xp({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:t,role:"spinbutton",tabindex:r?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":!1===i||!o&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":Cn(this.computedMin),"aria-valuemax":Cn(this.computedMax),"aria-valuenow":o?e:null,"aria-valuetext":o?a(e):null})}},watch:(bp={},Mp(bp,Lp,(function(t){this.localValue=xn(t,null)})),Mp(bp,"localValue",(function(t){this.$emit(Dp,t)})),Mp(bp,"disabled",(function(t){t&&this.clearRepeat()})),Mp(bp,"readonly",(function(t){t&&this.clearRepeat()})),bp),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||pr(this.$refs.spinner)},blur:function(){this.disabled||mr(this.$refs.spinner)},emitChange:function(){this.$emit("change",this.localValue)},stepValue:function(t){var e=this.localValue;if(!this.disabled&&!gt(e)){var n=this.computedStep*t,r=this.computedMin,i=this.computedMax,a=this.computedMultiplier,o=this.wrap;e=wi((e-r)/n)*n+r+n,e=wi(e*a)/a,this.localValue=e>i?o?r:i:e0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;gt(e)?this.localValue=this.computedMin:this.stepValue(1*t)},stepDown:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.localValue;gt(e)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*t)},onKeydown:function(t){var e=t.keyCode,n=t.altKey,r=t.ctrlKey,i=t.metaKey;if(!(this.disabled||this.readonly||n||r||i)&&pn(Cp,e)){if(Rr(t,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),pn([xa,va],e)?(this.$_keyIsDown=!0,e===xa?this.handleStepRepeat(t,this.stepUp):e===va&&this.handleStepRepeat(t,this.stepDown)):33===e?this.stepUp(this.computedStepMultiplier):34===e?this.stepDown(this.computedStepMultiplier):e===ya?this.localValue=this.computedMin:e===ga&&(this.localValue=this.computedMax)}},onKeyup:function(t){var e=t.keyCode,n=t.altKey,r=t.ctrlKey,i=t.metaKey;this.disabled||this.readonly||n||r||i||pn(Cp,e)&&(Rr(t,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(t,e){var n=this,r=t||{},i=r.type,a=r.button;if(!this.disabled&&!this.readonly){if("mousedown"===i&&a)return;this.resetTimers(),e(1);var o=this.computedThreshold,s=this.computedStepMultiplier,l=this.computedDelay,u=this.computedInterval;this.$_autoDelayTimer=setTimeout((function(){var t=0;n.$_autoRepeatTimer=setInterval((function(){e(tt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&n.indexOf(t)===e}))},Qp=function(t){return wt(t)?t:Lt(t)&&t.target.value||""},tm=Ar(Rt(Rp(Rp(Rp(Rp(Rp(Rp({},Ts),qp),wd),Td),Sd),{},{addButtonText:Cr(Ze,"Add"),addButtonVariant:Cr(Ze,"outline-secondary"),addOnChange:Cr(Ue,!1),duplicateTagText:Cr(Ze,"Duplicate tag(s)"),feedbackAriaLive:Cr(Ze,"assertive"),ignoreInputFocusSelector:Cr(nn,Xp),inputAttrs:Cr(Ke,{}),inputClass:Cr(en),inputId:Cr(Ze),inputType:Cr(Ze,"text",(function(t){return pn(Kp,t)})),invalidTagText:Cr(Ze,"Invalid tag(s)"),limit:Cr(Je),limitTagsText:Cr(Ze,"Tag limit reached"),noAddOnEnter:Cr(Ue,!1),noOuterFocus:Cr(Ue,!1),noTagRemove:Cr(Ue,!1),placeholder:Cr(Ze,"Add tag..."),removeOnDelete:Cr(Ue,!1),separator:Cr(nn),tagClass:Cr(en),tagPills:Cr(Ue,!1),tagRemoveLabel:Cr(Ze,"Remove tag"),tagRemovedLabel:Cr(Ze,"Tag removed"),tagValidator:Cr(Ge),tagVariant:Cr(Ze,"secondary")})),"BFormTags"),em=Ae({name:"BFormTags",mixins:[za,Os,Up,kd,Od,Ld,wn],props:tm,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:{all:[],valid:[],invalid:[],duplicate:[]},focusState:null}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return pn(Kp,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var t=this.disabled,e=this.form;return Rp(Rp({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:t,form:e})},computedInputHandlers:function(){return Rp(Rp({},zt(this.bvListeners,["focusin","focusout"])),{},{blur:this.onInputBlur,change:this.onInputChange,focus:this.onInputFocus,input:this.onInputInput,keydown:this.onInputKeydown,reset:this.reset})},computedSeparator:function(){return mn(this.separator).filter(wt).filter(Kt).join("")},computedSeparatorRegExp:function(){var t=this.computedSeparator;return t?new RegExp("[".concat(Dn(t).replace(A,"\\s"),"]+")):null},computedJoiner:function(){var t=this.computedSeparator.charAt(0);return" "!==t?"".concat(t," "):t},computeIgnoreInputFocusSelector:function(){return mn(this.ignoreInputFocusSelector).filter(Kt).join(",").trim()},disableAddButton:function(){var t=this,e=jn(this.newTag);return""===e||!this.splitTags(e).some((function(e){return!pn(t.tags,e)&&t.validateTag(e)}))},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var t=this.limit;return kt(t)&&t>=0&&this.tags.length>=t}},watch:(Ip={},Vp(Ip,Gp,(function(t){this.tags=Zp(t)})),Vp(Ip,"tags",(function(t,e){Ma(t,this[Gp])||this.$emit(Jp,t),Ma(t,e)||(t=mn(t).filter(Kt),e=mn(e).filter(Kt),this.removedTags=e.filter((function(e){return!pn(t,e)})))})),Vp(Ip,"tagsState",(function(t,e){Ma(t,e)||this.$emit("tag-state",t.valid,t.invalid,t.duplicate)})),Ip),created:function(){this.tags=Zp(this[Gp])},mounted:function(){var t=Jn("form",this.$el);t&&Br(t,"reset",this.reset,Re)},beforeDestroy:function(){var t=Jn("form",this.$el);t&&Nr(t,"reset",this.reset,Re)},methods:{addTag:function(t){if(t=wt(t)?t:this.newTag,!this.disabled&&""!==jn(t)&&!this.isLimitReached){var e=this.parseTags(t);if(e.valid.length>0||0===e.all.length)if(Gn(this.getInput(),"select"))this.newTag="";else{var n=[].concat(Bp(e.invalid),Bp(e.duplicate));this.newTag=e.all.filter((function(t){return pn(n,t)})).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}e.valid.length>0&&(this.tags=mn(this.tags,e.valid)),this.tagsState=e,this.focus()}},removeTag:function(t){this.disabled||(this.tags=this.tags.filter((function(e){return e!==t})))},reset:function(){var t=this;this.newTag="",this.tags=[],this.$nextTick((function(){t.removedTags=[],t.tagsState={all:[],valid:[],invalid:[],duplicate:[]}}))},onInputInput:function(t){if(!(this.disabled||Lt(t)&&t.target.composing)){var e=Qp(t),n=this.computedSeparatorRegExp;this.newTag!==e&&(this.newTag=e),e=Cn(e).replace(H,""),n&&n.test(e.slice(-1))?this.addTag():this.tagsState=""===e?{all:[],valid:[],invalid:[],duplicate:[]}:this.parseTags(e)}},onInputChange:function(t){if(!this.disabled&&this.addOnChange){var e=Qp(t);this.newTag!==e&&(this.newTag=e),this.addTag()}},onInputKeydown:function(t){if(!this.disabled&&Lt(t)){var e=t.keyCode,n=t.target.value||"";this.noAddOnEnter||e!==ba?!this.removeOnDelete||8!==e&&46!==e||""!==n||(Rr(t,{propagation:!1}),this.tags=this.tags.slice(0,-1)):(Rr(t,{propagation:!1}),this.addTag())}},onClick:function(t){var e=this,n=this.computeIgnoreInputFocusSelector;n&&Jn(n,t.target,!0)||this.$nextTick((function(){e.focus()}))},onInputFocus:function(t){var e=this;"out"!==this.focusState&&(this.focusState="in",this.$nextTick((function(){In((function(){e.hasFocus&&(e.$emit("focus",t),e.focusState=null)}))})))},onInputBlur:function(t){var e=this;"in"!==this.focusState&&(this.focusState="out",this.$nextTick((function(){In((function(){e.hasFocus||(e.$emit("blur",t),e.focusState=null)}))})))},onFocusin:function(t){this.hasFocus=!0,this.$emit("focusin",t)},onFocusout:function(t){this.hasFocus=!1,this.$emit("focusout",t)},handleAutofocus:function(){var t=this;this.$nextTick((function(){In((function(){t.autofocus&&t.focus()}))}))},focus:function(){this.disabled||pr(this.getInput())},blur:function(){this.disabled||mr(this.getInput())},splitTags:function(t){t=Cn(t);var e=this.computedSeparatorRegExp;return(e?t.split(e):[t]).map(jn).filter(Kt)},parseTags:function(t){var e=this,n=this.splitTags(t),r={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach((function(t){pn(e.tags,t)||pn(r.valid,t)?pn(r.duplicate,t)||r.duplicate.push(t):e.validateTag(t)?r.valid.push(t):pn(r.invalid,t)||r.invalid.push(t)})),r},validateTag:function(t){var e=this.tagValidator;return!$r(e)||e(t)},getInput:function(){return qn("#".concat(Qf(this.computedInputId)),this.$el)},defaultRender:function(t){var e=t.addButtonText,n=t.addButtonVariant,r=t.addTag,i=t.disableAddButton,a=t.disabled,o=t.duplicateTagText,s=t.inputAttrs,l=t.inputClass,u=t.inputHandlers,c=t.inputType,d=t.invalidTagText,f=t.isDuplicate,h=t.isInvalid,p=t.isLimitReached,m=t.limitTagsText,v=t.noTagRemove,g=t.placeholder,b=t.removeTag,y=t.tagClass,_=t.tagPills,w=t.tagRemoveLabel,k=t.tagVariant,x=t.tags,M=this.$createElement,T=x.map((function(t){return t=Cn(t),M(Fp,{class:y,props:{disabled:a,noRemove:v,pill:_,removeLabel:w,tag:"li",title:t,variant:k},on:{remove:function(){return b(t)}},key:"tags_".concat(t)},t)})),O=d&&h?this.safeId("__invalid_feedback__"):null,S=o&&f?this.safeId("__duplicate_feedback__"):null,L=m&&p?this.safeId("__limit_feedback__"):null,D=[s["aria-describedby"],O,S,L].filter(Kt).join(" "),C=M("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:l,style:{outline:0,minWidth:"5rem"},attrs:Rp(Rp({},s),{},{"aria-describedby":D||null,type:c,placeholder:g||null}),domProps:{value:s.value},on:u,directives:[{name:"model",value:s.value}],ref:"input"}),j=M(ho,{staticClass:"b-form-tags-button py-0",class:{invisible:i},style:{fontSize:"90%"},props:{disabled:i||p,variant:n},on:{click:function(){return r()}},ref:"button"},[this.normalizeSlot("add-button-text")||e]),P=this.safeId("__tag_list__"),Y=M("li",{staticClass:"b-form-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":P},key:"tags_field"},[M("div",{staticClass:"d-flex",attrs:{role:"group"}},[C,j])]),A=M("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:P},key:"tags_list"},[T,Y]),E=M();if(d||o||m){var $=this.feedbackAriaLive,I=this.computedJoiner,H=M();O&&(H=M(pd,{props:{id:O,ariaLive:$,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(I)]));var F=M();S&&(F=M(fd,{props:{id:S,ariaLive:$},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(I)]));var B=M();L&&(B=M(fd,{props:{id:L,ariaLive:$},key:"tags_limit_feedback"},[m])),E=M("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[H,F,B])}return[A,E]}},render:function(t){var e=this.name,n=this.disabled,r=this.required,i=this.form,a=this.tags,o=this.computedInputId,s=this.hasFocus,l=this.noOuterFocus,u=Rp({tags:a.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:o,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},Nt(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),c=this.normalizeSlot("default",u)||this.defaultRender(u),d=t("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:o,"aria-live":s?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),f=t("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":s?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),h=t();if(e&&!n){var p=a.length>0;h=(p?a:[""]).map((function(n){return t("input",{class:{"sr-only":!p},attrs:{type:p?"hidden":"text",value:n,required:r,name:e,form:i},key:"tag_input_".concat(n)})}))}return t("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:s&&!l&&!n,disabled:n},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:n||l?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[d,f,c,h])}}),nm=he({components:{BFormTags:em,BTags:em,BFormTag:Fp,BTag:Fp}});function rm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function im(t){for(var e=1;ed?s:"".concat(d,"px")}},render:function(t){return t("textarea",{class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),um=he({components:{BFormTextarea:lm,BTextarea:lm}});function cm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function dm(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]&&arguments[1];if(gt(e)||gt(n)||i&>(r))return"";var a=[e,n,i?r:0];return a.map(wm).join(":")}({hours:this.modelHours,minutes:this.modelMinutes,seconds:this.modelSeconds},this.showSeconds)},resolvedOptions:function(){var t=mn(this.locale).filter(Kt),e={hour:"numeric",minute:"numeric",second:"numeric"};bt(this.hour12)||(e.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(t,e).resolvedOptions(),r=n.hour12||!1,i=n.hourCycle||(r?"h12":"h23");return{locale:n.locale,hour12:r,hourCycle:i}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return Ms(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(Kt).join(" ")||null},timeFormatter:function(){var t={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:"numeric",minute:"numeric",timeZone:"UTC"};return this.showSeconds&&(t.second="numeric"),ds(this.computedLocale,t)},numberFormatter:function(){return new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"}).format},formattedTimeString:function(){var t=this.modelHours,e=this.modelMinutes,n=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter(ls(Date.UTC(0,0,1,t,e,n))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var t=this.$createElement;return{increment:function(e){var n=e.hasFocus;return t(Qi,{props:{scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(e){var n=e.hasFocus;return t(Qi,{props:{flipV:!0,scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(om={},fm(om,ym,(function(t,e){if(t!==e&&!Ma(km(t),km(this.computedHMS))){var n=km(t),r=n.hours,i=n.minutes,a=n.seconds,o=n.ampm;this.modelHours=r,this.modelMinutes=i,this.modelSeconds=a,this.modelAmpm=o}})),fm(om,"computedHMS",(function(t,e){t!==e&&this.$emit(_m,t)})),fm(om,"context",(function(t,e){Ma(t,e)||this.$emit("context",t)})),fm(om,"modelAmpm",(function(t,e){var n=this;if(t!==e){var r=gt(this.modelHours)?0:this.modelHours;this.$nextTick((function(){0===t&&r>11?n.modelHours=r-12:1===t&&r<12&&(n.modelHours=r+12)}))}})),fm(om,"modelHours",(function(t,e){t!==e&&(this.modelAmpm=t>11?1:0)})),om),created:function(){var t=this;this.$nextTick((function(){t.$emit("context",t.context)}))},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||pr(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var t=Bn();Kn(this.$el,t)&&mr(t)}},formatHours:function(t){var e=this.computedHourCycle;return t=0===(t=this.is12Hour&&t>12?t-12:t)&&"h12"===e?12:0===t&&"h24"===e?24:12===t&&"h11"===e?0:t,this.numberFormatter(t)},formatMinutes:function(t){return this.numberFormatter(t)},formatSeconds:function(t){return this.numberFormatter(t)},formatAmpm:function(t){return 0===t?this.labelAm:1===t?this.labelPm:""},setHours:function(t){this.modelHours=t},setMinutes:function(t){this.modelMinutes=t},setSeconds:function(t){this.modelSeconds=t},setAmpm:function(t){this.modelAmpm=t},onSpinLeftRight:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.type,n=t.keyCode;if(!this.disabled&&"keydown"===e&&(n===_a||n===wa)){Rr(t);var r=this.$refs.spinners||[],i=r.map((function(t){return!!t.hasFocus})).indexOf(!0);i=(i+=n===_a?-1:1)>=r.length?0:i<0?r.length-1:i,pr(r[i])}},setLive:function(t){var e=this;t?this.$nextTick((function(){In((function(){e.isLive=!0}))})):this.isLive=!1}},render:function(t){var e=this;if(this.hidden)return t();var n=this.disabled,r=this.readonly,i=this.computedLocale,a=this.computedAriaLabelledby,o=this.labelIncrement,s=this.labelDecrement,l=this.valueId,u=this.focus,c=[],d=function(a,u,d){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},h=e.safeId("_spinbutton_".concat(u,"_"))||null;return c.push(h),t(Pp,fm({class:d,props:dm({id:h,placeholder:"--",vertical:!0,required:!0,disabled:n,readonly:r,locale:i,labelIncrement:o,labelDecrement:s,wrap:!0,ariaControls:l,min:0},f),scopedSlots:e.spinScopedSlots,on:{change:a},key:u,ref:"spinners"},Pe,!0))},f=function(){return t("div",{staticClass:"d-flex flex-column",class:{"text-muted":n||r},attrs:{"aria-hidden":"true"}},[t(ta,{props:{shiftV:4,scale:.5}}),t(ta,{props:{shiftV:-4,scale:.5}})])},h=[];h.push(d(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),h.push(f()),h.push(d(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(h.push(f()),h.push(d(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.isLive&&this.is12Hour&&h.push(d(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),h=t("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:n||r?null:"-1","aria-labelledby":a},on:{keydown:this.onSpinLeftRight,click:function(t){t.target===t.currentTarget&&u()}}},h);var p=t("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:n||r},attrs:{id:l,role:"status",for:c.filter(Kt).join(" ")||null,tabindex:n?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:u,focus:u}},[t("bdi",this.formattedTimeString),this.computedHMS?t("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),m=t(this.headerTag,{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[p]),v=this.normalizeSlot(),g=v?t(this.footerTag,{staticClass:"b-time-footer"},v):t();return t("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":a||null,"aria-disabled":n?"true":null,"aria-readonly":r&&!n?"true":null}},[m,h,g])}});function Tm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Om(t){for(var e=1;e0&&o.push(t("span"," "));var l=this.labelResetButton;o.push(t(ho,{props:{size:"sm",disabled:n||r,variant:this.resetButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onResetButton},key:"reset-btn"},l))}if(!this.noCloseButton){o.length>0&&o.push(t("span"," "));var u=this.labelCloseButton;o.push(t(ho,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":u||null},on:{click:this.onCloseButton},key:"close-btn"},u))}o.length>0&&(o=[t("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":o.length>1,"justify-content-end":o.length<2}},o)]);var c=t(Mm,{staticClass:"b-form-time-control",props:Om(Om({},Pr(Ym,i)),{},{value:e,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},o);return t(kf,{staticClass:"b-form-timepicker",props:Om(Om({},Pr(Am,i)),{},{id:this.safeId(),value:e,formattedValue:e?this.formattedValue:"",placeholder:a,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:Sm({},"button-content",this.$scopedSlots["button-content"]||this.defaultButtonFn),ref:"control"},[c])}}),Im=he({components:{BFormTimepicker:$m,BTimepicker:$m}}),Hm=he({components:{BImg:sl,BImgLazy:jl}}),Fm=Ar({tag:Cr(Ze,"div")},"BInputGroupText"),Bm=Ae({name:"BInputGroupText",functional:!0,props:Fm,render:function(t,e){var n=e.props,r=e.data,i=e.children;return t(n.tag,Te(r,{staticClass:"input-group-text"}),i)}}),Nm=Ar({append:Cr(Ue,!1),id:Cr(Ze),isText:Cr(Ue,!1),tag:Cr(Ze,"div")},"BInputGroupAddon"),zm=Ae({name:"BInputGroupAddon",functional:!0,props:Nm,render:function(t,e){var n=e.props,r=e.data,i=e.children,a=n.append;return t(n.tag,Te(r,{class:{"input-group-append":a,"input-group-prepend":!a},attrs:{id:n.id}}),n.isText?[t(Bm,i)]:i)}});function Rm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Vm(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:null;return t&&t.$options._scopeId||e};var Av=Ae({mixins:[Pv],computed:{scopedStyleAttrs:function(){var t,e,n,r=Yv(this.bvParent);return r?(n="",(e=r)in(t={})?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t):{}}}});function Ev(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function $v(t){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:{},r=t.$root?t.$root.$options.bvEventRoot||t.$root:null;return new e($v($v({},n),{},{parent:t,bvParent:t,bvEventRoot:r}))},Fv=Ae({abstract:!0,name:"BVTransporterTarget",props:{nodes:Cr(Qe)},data:function(t){return{updatedNodes:t.nodes}},destroyed:function(){var t;(t=this.$el)&&t.parentNode&&t.parentNode.removeChild(t)},render:function(t){var e=this.updatedNodes,n=yt(e)?e({}):e;return(n=mn(n).filter(Kt))&&n.length>0&&!n[0].text?n[0]:t()}}),Bv={container:Cr([ct,Ze],"body"),disabled:Cr(Ue,!1),tag:Cr(Ze,"div")},Nv=Ae({name:"BVTransporter",mixins:[wn],props:Bv,watch:{disabled:{immediate:!0,handler:function(t){t?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(c){var t=this.container;return wt(t)?qn(t):t}return null},mountTarget:function(){if(!this.$_target){var t=this.getContainer();if(t){var e=document.createElement("div");t.appendChild(e),this.$_target=Hv(this,Fv,{el:e,propsData:{nodes:mn(this.normalizeSlot())}})}}},updateTarget:function(){if(c&&this.$_target){var t=this.$scopedSlots.default;this.disabled||(t&&this.$_defaultFn!==t?this.$_target.updatedNodes=t:t||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=t}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(t){if(this.disabled){var e=mn(this.normalizeSlot()).filter(Kt);if(e.length>0&&!e[0].text)return e[0]}return t()}}),zv=je?Ae({name:"BVTransporter",mixins:[wn],props:Bv,render:function(t){if(this.disabled){var e=mn(this.normalizeSlot()).filter(Kt);if(e.length>0)return e[0]}return t(i.a.Teleport,{to:this.container},this.normalizeSlot())}}):Nv;function Rv(t){return(Rv="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 Vv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Wv(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return qv(this,a),e=i.call(this,t,n),Et(tg(e),{trigger:{enumerable:!0,configurable:!1,writable:!1}}),e}return e=a,r=[{key:"Defaults",get:function(){return Wv(Wv({},Jv(eg(a),"Defaults",this)),{},{trigger:null})}}],(n=null)&&Gv(e.prototype,n),r&&Gv(e,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(tc),rg=new(Ae({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){c&&(this.getScrollbarWidth(),t>0&&0===e?(this.checkScrollbar(),this.setScrollbar(),Zn(document.body,"modal-open")):0===t&&e>0&&(this.resetScrollbar(),Qn(document.body,"modal-open")),er(document.body,"data-modal-open-count",String(t)))},modals:function(t){var e=this;this.checkScrollbar(),In((function(){e.updateModals(t||[])}))}},methods:{registerModal:function(t){t&&-1===this.modals.indexOf(t)&&this.modals.push(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(c&>(this.baseZIndex)){var t=document.createElement("div");Zn(t,"modal-backdrop"),Zn(t,"d-none"),ar(t,"display","none"),document.body.appendChild(t),this.baseZIndex=kn(ur(t).zIndex,1040),document.body.removeChild(t)}return this.baseZIndex||1040},getScrollbarWidth:function(){if(c&>(this.scrollbarWidth)){var t=document.createElement("div");Zn(t,"modal-scrollbar-measure"),document.body.appendChild(t),this.scrollbarWidth=lr(t).width-t.clientWidth,document.body.removeChild(t)}return this.scrollbarWidth||0},updateModals:function(t){var e=this,n=this.getBaseZIndex(),r=this.getScrollbarWidth();t.forEach((function(t,i){t.zIndex=n+i,t.scrollbarWidth=r,t.isTop=i===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=lr(document.body),e=t.left,n=t.right;this.isBodyOverflowing=e+n0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t&&(this.$_observer=Wl(this.$refs.content,this.checkModalOverflow.bind(this),hg))},updateModel:function(t){t!==this[cg]&&this.$emit(dg,t)},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new ng(t,ag(ag({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},e),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!this.isVisible&&!this.isOpening)if(this.isClosing)this.$once("hidden",this.show);else{this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var t=this.buildEvent("show",{cancelable:!0});if(this.emitEvent(t),t.defaultPrevented||this.isVisible)return this.isOpening=!1,void this.updateModel(!1);this.doShow()}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.isVisible&&!this.isClosing){this.isClosing=!0;var e=this.buildEvent("hide",{cancelable:"FORCE"!==t,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.isVisible)return this.isClosing=!1,void this.updateModel(!0);this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(t){t&&(this.$_returnFocus=t),this.isVisible?this.hide("toggle"):this.show()},getActiveElement:function(){var t=Bn(c?[document.body]:[]);return t&&t.focus?t:null},doShow:function(){var t=this;rg.modalsAreOpen&&this.noStacking?this.listenOnRootOnce(Wr("BModal","hidden"),this.doShow):(rg.registerModal(this),this.isHidden=!1,this.$nextTick((function(){t.isVisible=!0,t.isOpening=!1,t.updateModel(!0),t.$nextTick((function(){t.setObserver(!0)}))})))},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var t=this;this.isBlock=!0,In((function(){In((function(){t.isShow=!0}))}))},onAfterEnter:function(){var t=this;this.checkModalOverflow(),this.isTransitioning=!1,In((function(){t.emitEvent(t.buildEvent("shown")),t.setEnforceFocus(!0),t.$nextTick((function(){t.focusFirst()}))}))},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var t=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick((function(){t.isClosing=!1,rg.unregisterModal(t),t.returnFocusTo(),t.emitEvent(t.buildEvent("hidden"))}))},emitEvent:function(t){var e=t.type;this.emitOnRoot(Wr("BModal",e),t,t.componentId),this.$emit(e,t)},onDialogMousedown:function(){var t=this,e=this.$refs.modal;Br(e,"mouseup",(function n(r){Nr(e,"mouseup",n,Ve),r.target===e&&(t.ignoreBackdropClick=!0)}),Ve)},onClickOut:function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:this.isVisible&&!this.noCloseOnBackdrop&&Kn(document.body,t.target)&&(Kn(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){27===t.keyCode&&this.isVisible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(t){var e=this.$refs.content,n=t.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!e||document===n||Kn(e,n)||this.computeIgnoreEnforceFocusSelector&&Jn(this.computeIgnoreEnforceFocusSelector,n,!0))){var r=hr(this.$refs.content),i=this.$refs["bottom-trap"],a=this.$refs["top-trap"];if(i&&n===i){if(pr(r[0]))return}else if(a&&n===a&&pr(r[r.length-1]))return;pr(e,{preventScroll:!0})}},setEnforceFocus:function(t){this.listenDocument(t,"focusin",this.focusHandler)},setResizeEvent:function(t){this.listenWindow(t,"resize",this.checkModalOverflow),this.listenWindow(t,"orientationchange",this.checkModalOverflow)},showHandler:function(t,e){t===this.modalId&&(this.$_returnFocus=e||this.getActiveElement(),this.show())},hideHandler:function(t){t===this.modalId&&this.hide("event")},toggleHandler:function(t,e){t===this.modalId&&this.toggle(e)},modalListener:function(t){this.noStacking&&t.vueTarget!==this&&this.hide()},focusFirst:function(){var t=this;c&&In((function(){var e=t.$refs.modal,n=t.$refs.content,r=t.getActiveElement();if(e&&n&&(!r||!Kn(n,r))){var i=t.$refs["ok-button"],a=t.$refs["cancel-button"],o=t.$refs["close-button"],s=t.autoFocusButton,l="ok"===s&&i?i.$el||i:"cancel"===s&&a?a.$el||a:"headerclose"===s&&o?o.$el||o:n;pr(l),l===n&&t.$nextTick((function(){e.scrollTop=0}))}}))},returnFocusTo:function(){var t=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick((function(){(t=wt(t)?qn(t):t)&&(t=t.$el||t,pr(t))}))},checkModalOverflow:function(){if(this.isVisible){var t=this.$refs.modal;this.isModalOverflowing=t.scrollHeight>document.documentElement.clientHeight}},makeModal:function(t){var e=t();if(!this.hideHeader){var n=this.normalizeSlot("modal-header",this.slotScope);if(!n){var r=t();this.hideHeaderClose||(r=t(Gr,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot("modal-header-close")])),n=[t(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot("modal-title")?{}:Po(this.titleHtml,this.title)},this.normalizeSlot("modal-title",this.slotScope)),r]}e=t(this.headerTag,{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var i=t("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot("default",this.slotScope)),a=t();if(!this.hideFooter){var o=this.normalizeSlot("modal-footer",this.slotScope);if(!o){var s=t();this.okOnly||(s=t(ho,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-cancel")?{}:Po(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot("modal-cancel"))),o=[s,t(ho,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-ok")?{}:Po(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot("modal-ok"))]}a=t(this.footerTag,{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[o])}var l=t("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[e,i,a]),u=t(),c=t();this.isVisible&&!this.noEnforceFocus&&(u=t("span",{attrs:{tabindex:"0"},ref:"top-trap"}),c=t("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var d=t("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[u,l,c]),f=t("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[d]);f=t("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[f]);var h=t();return!this.hideBackdrop&&this.isVisible&&(h=t("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot("modal-backdrop"))),h=t(ni,{props:{noFade:this.noFade}},[h]),t("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this._uid)},[f,h])}},render:function(t){return this.static?this.lazy&&this.isHidden?t():this.makeModal(t):this.isHidden?t():t(zv,[this.makeModal(t)])}}),vg=Ur("BModal","show"),gg="__bv_modal_directive__",bg=function(t){var e=t.modifiers,n=void 0===e?{}:e,r=t.arg,i=t.value;return wt(i)?i:wt(r)?r:Ht(n).reverse()[0]},yg=function(t){return t&&Gn(t,".dropdown-menu > li, li.nav-item")&&qn("a, button",t)||t},_g=function(t){t&&"BUTTON"!==t.tagName&&(ir(t,"role")||er(t,"role","button"),"A"===t.tagName||ir(t,"tabindex")||er(t,"tabindex","0"))},wg=function(t){var e=t[gg]||{},n=e.trigger,r=e.handler;n&&r&&(Nr(n,"click",r,Re),Nr(n,"keydown",r,Re),Nr(t,"click",r,Re),Nr(t,"keydown",r,Re)),delete t[gg]},kg=function(t,e,n){var r=t[gg]||{},i=bg(e),a=yg(t);i===r.target&&a===r.trigger||(wg(t),function(t,e,n){var r=bg(e),i=yg(t);if(r&&i){var a=function(t){var i=t.currentTarget;if(!Vn(i)){var a=t.type,o=t.keyCode;"click"!==a&&("keydown"!==a||o!==ba&&o!==ka)||Aa(ju(n,e)).$emit(vg,r,i)}};t[gg]={handler:a,target:r,trigger:i},_g(i),Br(i,"click",a,Re),"BUTTON"!==i.tagName&&"button"===rr(i,"role")&&Br(i,"keydown",a,Re)}}(t,e,n)),_g(a)},xg={inserted:kg,updated:function(){},componentUpdated:kg,unbind:wg};function Mg(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n2&&void 0!==arguments[2]?arguments[2]:jg;if(!ee("$bvModal")&&!ne("$bvModal")){var i=Hv(t,e,{propsData:Og(Og(Og({},Yg(yr("BModal"))),{},{hideHeaderClose:!0,hideHeader:!(n.title||n.titleHtml)},zt(n,Ht(Pg))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return Ht(Pg).forEach((function(t){vt(n[t])||(i.$slots[Pg[t]]=mn(n[t]))})),new Promise((function(t,e){var n=!1;i.$once(Ne,(function(){n||e(new Error("BootstrapVue MsgBox destroyed before resolve"))})),i.$on("hide",(function(e){if(!e.defaultPrevented){var i=r(e);e.defaultPrevented||(n=!0,t(i))}}));var a=document.createElement("div");document.body.appendChild(a),i.$mount(a)}))}},r=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(e&&!ne("$bvModal")&&!ee("$bvModal")&&yt(i))return n(t,Og(Og({},Yg(r)),{},{msgBoxContent:e}),i)},i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Yt(this,{_vm:e,_root:Aa(e)}),Et(this,{_vm:{enumerable:!0,configurable:!1,writable:!1},_root:{enumerable:!0,configurable:!1,writable:!1}})}var e,n,i;return e=t,(n=[{key:"show",value:function(t){if(t&&this._root){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{},n=Og(Og({},e),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:t});return r(this._vm,t,n,(function(){return!0}))}},{key:"msgBoxConfirm",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Og(Og({},e),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return r(this._vm,t,n,(function(t){var e=t.trigger;return"ok"===e||"cancel"!==e&&null}))}}])&&Mg(e.prototype,n),i&&Mg(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();t.mixin({beforeCreate:function(){this._bv__modal=new i(this)}}),Ft(t.prototype,"$bvModal")||$t(t.prototype,"$bvModal",{get:function(){return this&&this._bv__modal||te('"'.concat("$bvModal",'" must be accessed from a Vue instance "this" context.'),"BModal"),this._bv__modal}})}}})}});function Eg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $g=Ar({align:Cr(Ze),cardHeader:Cr(Ue,!1),fill:Cr(Ue,!1),justified:Cr(Ue,!1),pills:Cr(Ue,!1),small:Cr(Ue,!1),tabs:Cr(Ue,!1),tag:Cr(Ze,"ul"),vertical:Cr(Ue,!1)},"BNav"),Ig=Ae({name:"BNav",functional:!0,props:$g,render:function(t,e){var n,r,i=e.props,a=e.data,o=e.children,s=i.tabs,l=i.pills,u=i.vertical,c=i.align,d=i.cardHeader;return t(i.tag,Te(a,{staticClass:"nav",class:(n={"nav-tabs":s,"nav-pills":l&&!s,"card-header-tabs":!u&&d&&s,"card-header-pills":!u&&d&&l&&!s,"flex-column":u,"nav-fill":!u&&i.fill,"nav-justified":!u&&i.justified},Eg(n,(r=c,"justify-content-".concat(r="left"===r?"start":"right"===r?"end":r)),!u&&c),Eg(n,"small",i.small),n)}),o)}});function Hg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Fg(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0&&e<=1})),overlayTag:Cr(Ze,"div"),rounded:Cr(on,!1),show:Cr(Ue,!1),spinnerSmall:Cr(Ue,!1),spinnerType:Cr(Ze,"border"),spinnerVariant:Cr(Ze),variant:Cr(Ze,"light"),wrapTag:Cr(Ze,"div"),zIndex:Cr(un,10)},"BOverlay"),Cb=he({components:{BOverlay:Ae({name:"BOverlay",mixins:[wn],props:Db,computed:{computedRounded:function(){var t=this.rounded;return!0===t||""===t?"rounded":t?"rounded-".concat(t):""},computedVariant:function(){var t=this.variant;return t&&!this.bgColor?"bg-".concat(t):""},slotScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(t){var e=t.spinnerType,n=t.spinnerVariant,r=t.spinnerSmall;return this.$createElement(xb,{props:{type:e,variant:n,small:r}})}},render:function(t){var e=this,n=this.show,r=this.fixed,i=this.noFade,a=this.noWrap,o=this.slotScope,s=t();if(n){var l=t("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:Tb(Tb({},Lb),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),u=t("div",{staticClass:"position-absolute",style:this.noCenter?Tb({},Lb):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot("overlay",o)||this.defaultOverlayFn(o)]);s=t(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!a||a&&!r,"position-fixed":a&&r},style:Tb(Tb({},Lb),{},{zIndex:this.zIndex||10}),on:{click:function(t){return e.$emit("click",t)}},key:"overlay"},[l,u])}return s=t(ni,{props:{noFade:i,appear:!0},on:{"after-enter":function(){return e.$emit("shown")},"after-leave":function(){return e.$emit("hidden")}}},[s]),a?s:t(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":n?"true":null}},a?[s]:[this.normalizeSlot(),s])}})}});function jb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Pb(t){for(var e=1;ee?e:n<1?1:n},Nb=function(t){if(t.keyCode===ka)return Rr(t,{immediatePropagation:!0}),t.currentTarget.click(),!1},zb=Ar(Rt(Pb(Pb({},$b),{},{align:Cr(Ze,"left"),ariaLabel:Cr(Ze,"Pagination"),disabled:Cr(Ue,!1),ellipsisClass:Cr(en),ellipsisText:Cr(Ze,"…"),firstClass:Cr(en),firstNumber:Cr(Ue,!1),firstText:Cr(Ze,"«"),hideEllipsis:Cr(Ue,!1),hideGotoEndButtons:Cr(Ue,!1),labelFirstPage:Cr(Ze,"Go to first page"),labelLastPage:Cr(Ze,"Go to last page"),labelNextPage:Cr(Ze,"Go to next page"),labelPage:Cr(ln,"Go to page"),labelPrevPage:Cr(Ze,"Go to previous page"),lastClass:Cr(en),lastNumber:Cr(Ue,!1),lastText:Cr(Ze,"»"),limit:Cr(un,5,(function(t){return!(kn(t,0)<1)||(te('Prop "limit" must be a number greater than "0"',"BPagination"),!1)})),nextClass:Cr(en),nextText:Cr(Ze,"›"),pageClass:Cr(en),pills:Cr(Ue,!1),prevClass:Cr(en),prevText:Cr(Ze,"‹"),size:Cr(Ze)})),"pagination"),Rb=Ae({mixins:[Eb,wn],props:zb,data:function(){var t=kn(this[Ib],0);return{currentPage:t=t>0?t:-1,localNumberOfPages:1,localLimit:5}},computed:{btnSize:function(){var t=this.size;return t?"pagination-".concat(t):""},alignment:function(){var t=this.align;return"center"===t?"justify-content-center":"end"===t||"right"===t?"justify-content-end":"fill"===t?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return Bb(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var t=this.localLimit,e=this.localNumberOfPages,n=this.computedCurrentPage,r=this.hideEllipsis,i=this.firstNumber,a=this.lastNumber,o=!1,s=!1,l=t,u=1;e<=t?l=e:n3?(r&&!a||(s=!0,l=t-(i?0:1)),l=mi(l,t)):e-n+23?(r&&!i||(o=!0,l=t-(a?0:1)),u=e-l+1):(t>3&&(l=t-(r?0:2),o=!(r&&!i),s=!(r&&!a)),u=n-yi(l/2)),u<1?(u=1,o=!1):u>e-l&&(u=e-l+1,s=!1),o&&i&&u<4&&(l+=2,u=1,o=!1);var c=u+l-1;return s&&a&&c>e-3&&(l+=c===e-2?2:3,s=!1),t<=3&&(i&&1===u?l=mi(l+1,e,t+1):a&&e===u+l-1&&(u=vi(u-1,1),l=mi(e-u+1,e,t+1))),{showFirstDots:o,showLastDots:s,numberOfLinks:l=mi(l,e-u+1),startNumber:u}},pageList:function(){var t=this.paginationParams,e=t.numberOfLinks,n=t.startNumber,r=this.computedCurrentPage,i=function(t,e){return vn(e,(function(e,n){return{number:t+n,classes:null}}))}(n,e);if(i.length>3){var a=r-n,o="bv-d-xs-down-none";if(0===a)for(var s=3;sa+1;c--)i[c].classes=o}}return i}},watch:(Sb={},Yb(Sb,Ib,(function(t,e){t!==e&&(this.currentPage=Bb(t,this.localNumberOfPages))})),Yb(Sb,"currentPage",(function(t,e){t!==e&&this.$emit(Hb,t>0?t:null)})),Yb(Sb,"limit",(function(t,e){t!==e&&(this.localLimit=Fb(t))})),Sb),created:function(){var t=this;this.localLimit=Fb(this.limit),this.$nextTick((function(){t.currentPage=t.currentPage>t.localNumberOfPages?t.localNumberOfPages:t.currentPage}))},methods:{handleKeyNav:function(t){var e=t.keyCode,n=t.shiftKey;this.isNav||(e===_a||e===xa?(Rr(t,{propagation:!1}),n?this.focusFirst():this.focusPrev()):e!==wa&&e!==va||(Rr(t,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return Un("button.page-link, a.page-link",this.$el).filter((function(t){return Rn(t)}))},focusCurrent:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().find((function(e){return kn(rr(e,"aria-posinset"),0)===t.computedCurrentPage}));pr(e)||t.focusFirst()}))},focusFirst:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().find((function(t){return!Vn(t)}));pr(e)}))},focusLast:function(){var t=this;this.$nextTick((function(){var e=t.getButtons().reverse().find((function(t){return!Vn(t)}));pr(e)}))},focusPrev:function(){var t=this;this.$nextTick((function(){var e=t.getButtons(),n=e.indexOf(Bn());n>0&&!Vn(e[n-1])&&pr(e[n-1])}))},focusNext:function(){var t=this;this.$nextTick((function(){var e=t.getButtons(),n=e.indexOf(Bn());ns,p=n<1?1:n>s?s:n,g={disabled:f,page:p,index:p-1},b=e.normalizeSlot(a,g)||Cn(l)||t(),y=t(f?"span":o?Za:"button",{staticClass:"page-link",class:{"flex-grow-1":!o&&!f&&h},props:f||!o?{}:e.linkProps(n),attrs:{role:o?null:"menuitem",type:o||f?null:"button",tabindex:f||o?null:"-1","aria-label":i,"aria-controls":Si(e).ariaControls||null,"aria-disabled":f?"true":null},on:f?{}:{"!click":function(t){e.onClick(t,n)},keydown:Nb}},[b]);return t("li",{key:d,staticClass:"page-item",class:[{disabled:f,"flex-fill":h,"d-flex":h&&!o&&!f},u],attrs:{role:o?null:"presentation","aria-hidden":f?"true":null}},[y])},b=function(n){return t("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",h?"flex-fill":"",e.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(n?"last":"first")},[t("span",{staticClass:"page-link"},[e.normalizeSlot("ellipsis-text")||Cn(e.ellipsisText)||t()])])},y=function(n,a){var l=n.number,u=m(l)&&!v,c=r?null:u||v&&0===a?"0":"-1",d={role:o?null:"menuitemradio",type:o||r?null:"button","aria-disabled":r?"true":null,"aria-controls":Si(e).ariaControls||null,"aria-label":$r(i)?i(l):"".concat(yt(i)?i():i," ").concat(l),"aria-checked":o?null:u?"true":"false","aria-current":o&&u?"page":null,"aria-posinset":o?null:l,"aria-setsize":o?null:s,tabindex:o?null:c},f=Cn(e.makePage(l)),p={page:l,index:l-1,content:f,active:u,disabled:r},g=t(r?"span":o?Za:"button",{props:r||!o?{}:e.linkProps(l),staticClass:"page-link",class:{"flex-grow-1":!o&&!r&&h},attrs:d,on:r?{}:{"!click":function(t){e.onClick(t,l)},keydown:Nb}},[e.normalizeSlot("page",p)||f]);return t("li",{staticClass:"page-item",class:[{disabled:r,active:u,"flex-fill":h,"d-flex":h&&!o&&!r},n.classes,e.pageClass],attrs:{role:o?null:"presentation"},key:"page-".concat(l)},[g])},_=t();this.firstNumber||this.hideGotoEndButtons||(_=g(1,this.labelFirstPage,"first-text",this.firstText,this.firstClass,1,"pagination-goto-first")),p.push(_),p.push(g(l-1,this.labelPrevPage,"prev-text",this.prevText,this.prevClass,1,"pagination-goto-prev")),p.push(this.firstNumber&&1!==u[0]?y({number:1},0):t()),p.push(d?b(!1):t()),this.pageList.forEach((function(t,n){var r=d&&e.firstNumber&&1!==u[0]?1:0;p.push(y(t,n+r))})),p.push(f?b(!0):t()),p.push(this.lastNumber&&u[u.length-1]!==s?y({number:s},-1):t()),p.push(g(l+1,this.labelNextPage,"next-text",this.nextText,this.nextClass,s,"pagination-goto-next"));var w=t();this.lastNumber||this.hideGotoEndButtons||(w=g(s,this.labelLastPage,"last-text",this.lastText,this.lastClass,s,"pagination-goto-last")),p.push(w);var k=t("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:o?null:"menubar","aria-disabled":r?"true":"false","aria-label":o?null:a||null},on:o?{}:{keydown:this.handleKeyNav},ref:"ul"},p);return o?t("nav",{attrs:{"aria-disabled":r?"true":null,"aria-hidden":r?"true":"false","aria-label":o&&a||null}},[k]):k}});function Vb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Wb(t){for(var e=1;et.numberOfPages)&&(this.currentPage=1),this.localNumberOfPages=t.numberOfPages}},created:function(){var t=this;this.localNumberOfPages=this.numberOfPages;var e=kn(this[Ib],0);e>0?this.currentPage=e:this.$nextTick((function(){t.currentPage=0}))},methods:{onClick:function(t,e){var n=this;if(e!==this.currentPage){var r=t.target,i=new tc("page-click",{cancelable:!0,vueTarget:this,target:r});this.$emit(i.type,i,e),i.defaultPrevented||(this.currentPage=e,this.$emit("change",this.currentPage),this.$nextTick((function(){Rn(r)&&n.$el.contains(r)?pr(r):n.focusCurrent()})))}},makePage:function(t){return t},linkProps:function(){return{}}}})}});function Xb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Zb(t){for(var e=1;e0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=(t=this.numberOfPages,vi(kn(t,0),1)),this.$nextTick((function(){e.guessCurrentPage()}))},onClick:function(t,e){var n=this;if(e!==this.currentPage){var r=t.currentTarget||t.target,i=new tc("page-click",{cancelable:!0,vueTarget:this,target:r});this.$emit(i.type,i,e),i.defaultPrevented||(In((function(){n.currentPage=e,n.$emit("change",e)})),this.$nextTick((function(){mr(r)})))}},getPageInfo:function(t){if(!Mt(this.pages)||0===this.pages.length||vt(this.pages[t-1])){var e="".concat(this.baseUrl).concat(t);return{link:this.useRouter?{path:e}:e,text:Cn(t)}}var n=this.pages[t-1];if(Tt(n)){var r=n.link;return{link:Tt(r)?r:this.useRouter?{path:r}:r,text:Cn(n.text||t)}}return{link:Cn(n),text:Cn(t)}},makePage:function(t){var e=this.pageGen,n=this.getPageInfo(t);return $r(e)?e(t,n):n.text},makeLink:function(t){var e=this.linkGen,n=this.getPageInfo(t);return $r(e)?e(t,n):n.link},linkProps:function(t){var e=Pr(ty,this),n=this.makeLink(t);return this.useRouter||Tt(n)?e.to=n:e.href=n,e},resolveLink:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{(t=document.createElement("a")).href=Ei({to:e},"a","/","/"),document.body.appendChild(t);var n=t,r=n.pathname,i=n.hash,a=n.search;return document.body.removeChild(t),{path:r,hash:i,query:Pi(a)}}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.$router,e=this.$route,n=this.computedValue;if(!this.noPageDetect&&!n&&(c||!c&&t))for(var r=t&&e?{path:e.path,hash:e.hash,query:e.query}:{},i=c?window.location||document.location:null,a=i?{path:i.pathname,hash:i.hash,query:Pi(i.search)}:{},o=1;!n&&o<=this.localNumberOfPages;o++){var s=this.makeLink(o);n=t&&(Tt(s)||this.useRouter)?Ma(this.resolveRoute(s),r)?o:null:c?Ma(this.resolveLink(s),a)?o:null:-1}this.currentPage=n>0?n:0}}})}}),ry={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"},iy={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},ay={arrowPadding:Cr(un,6),boundary:Cr([ct,Ze],"scrollParent"),boundaryPadding:Cr(un,5),fallbackPlacement:Cr(nn,"flip"),offset:Cr(un,0),placement:Cr(Ze,"top"),target:Cr([ct,dt])},oy=Ae({name:"BVPopper",mixins:[Pv],props:ay,data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var t=this,e=this.placement;return{placement:this.getAttachment(e),modifiers:{offset:{offset:this.getOffset(e)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t.popperPlacementChange(e)},onUpdate:function(e){t.popperPlacementChange(e)}}}},created:function(){var t=this;this.$_popper=null,this.localShow=!0,this.$on("show",(function(e){t.popperCreate(e)}));var e=function(){t.$nextTick((function(){In((function(){t.$destroy()}))}))};this.bvParent.$once(Ne,e),this.$once("hidden",e)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},methods:{hide:function(){this.localShow=!1},getAttachment:function(t){return ry[String(t).toUpperCase()]||"auto"},getOffset:function(t){if(!this.offset){var e=this.$refs.arrow||qn(".arrow",this.$el),n=xn(ur(e).width,0)+xn(this.arrowPadding,0);switch(iy[String(t).toUpperCase()]||0){case 1:return"+50%p - ".concat(n,"px");case-1:return"-50%p + ".concat(n,"px");default:return 0}}return this.offset},popperCreate:function(t){this.destroyPopper(),this.$_popper=new Xu.a(this.target,t,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(t){this.attachment=this.getAttachment(t.placement)},renderTemplate:function(t){return t("div")}},render:function(t){var e=this,n=this.noFade;return t(ni,{props:{appear:!0,noFade:n},on:{beforeEnter:function(t){return e.$emit("show",t)},afterEnter:function(t){return e.$emit("shown",t)},beforeLeave:function(t){return e.$emit("hide",t)},afterLeave:function(t){return e.$emit("hidden",t)}}},[this.localShow?this.renderTemplate(t):t()])}});function sy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ly(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},n=!1;Ht(_y).forEach((function(r){vt(e[r])||t[r]===e[r]||(t[r]=e[r],"title"===r&&(n=!0))})),n&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var t=this.getContainer(),e=this.getTemplate(),n=this.$_tip=Hv(this,e,{propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:kn(this.offset,0),arrowPadding:kn(this.arrowPadding,0),boundaryPadding:kn(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once("show",this.onTemplateShow),n.$once("shown",this.onTemplateShown),n.$once("hide",this.onTemplateHide),n.$once("hidden",this.onTemplateHidden),n.$once(Ne,this.destroyTemplate),n.$on("focusin",this.handleEvent),n.$on("focusout",this.handleEvent),n.$on("mouseenter",this.handleEvent),n.$on("mouseleave",this.handleEvent),n.$mount(t.appendChild(document.createElement("div")))},hideTemplate:function(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate:function(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch(t){}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var t=this,e=this.$_tip;if(e){["title","content","variant","customClass","noFade","interactive"].forEach((function(n){e[n]!==t[n]&&(e[n]=t[n])}))}},show:function(){var t=this.getTarget();if(t&&Kn(document.body,t)&&Rn(t)&&!this.dropdownOpen()&&(!bt(this.title)&&""!==this.title||!bt(this.content)&&""!==this.content)&&!this.$_tip&&!this.localShow){this.localShow=!0;var e=this.buildEvent("show",{cancelable:!0});this.emitEvent(e),e.defaultPrevented?this.destroyTemplate():(this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow())}},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.getTemplateElement();if(e&&this.localShow){var n=this.buildEvent("hide",{cancelable:!t});this.emitEvent(n),n.defaultPrevented||this.hideTemplate()}else this.restoreTitle()},forceHide:function(){this.getTemplateElement()&&this.localShow&&(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable:function(){this.$_enabled=!0,this.emitEvent(this.buildEvent("enabled"))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent("disabled"))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var t=this.$_hoverState;this.$_hoverState="","out"===t&&this.leave(null),this.emitEvent(this.buildEvent("shown"))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent("hidden"))},getTarget:function(){var t=this.target;return wt(t)?t=Xn(t.replace(/^#/,"")):yt(t)?t=t():t&&(t=t.$el||t),Fn(t)?t:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var t=this.getTarget();return t&&t.id?t.id:null},getContainer:function(){var t=!!this.container&&(this.container.$el||this.container),e=document.body,n=this.getTarget();return!1===t?Jn(yy,n)||e:wt(t)&&Xn(t.replace(/^#/,""))||e},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var t=this.getTarget();return t&&Jn(gy,t)},isDropdown:function(){var t=this.getTarget();return t&&tr(t,"dropdown")},dropdownOpen:function(){var t=this.getTarget();return this.isDropdown()&&t&&qn(".dropdown-menu.show",t)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var t in this.activeTrigger)this.activeTrigger[t]=!1},addAriaDescribedby:function(){var t=this.getTarget(),e=rr(t,"aria-describedby")||"";e=e.split(/\s+/).concat(this.computedId).join(" ").trim(),er(t,"aria-describedby",e)},removeAriaDescribedby:function(){var t=this,e=this.getTarget(),n=rr(e,"aria-describedby")||"";(n=n.split(/\s+/).filter((function(e){return e!==t.computedId})).join(" ").trim())?er(e,"aria-describedby",n):nr(e,"aria-describedby")},fixTitle:function(){var t=this.getTarget();if(ir(t,"title")){var e=rr(t,"title");er(t,"title",""),e&&er(t,"data-original-title",e)}},restoreTitle:function(){var t=this.getTarget();if(ir(t,"data-original-title")){var e=rr(t,"data-original-title");nr(t,"data-original-title"),e&&er(t,"title",e)}},buildEvent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new tc(t,hy({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},e))},emitEvent:function(t){var e=t.type;this.emitOnRoot(Wr(this.templateType,e),t),this.$emit(e,t)},listen:function(){var t=this,e=this.getTarget();e&&(this.setRootListener(!0),this.computedTriggers.forEach((function(n){"click"===n?Br(e,"click",t.handleEvent,Ve):"focus"===n?(Br(e,"focusin",t.handleEvent,Ve),Br(e,"focusout",t.handleEvent,Ve)):"blur"===n?Br(e,"focusout",t.handleEvent,Ve):"hover"===n&&(Br(e,"mouseenter",t.handleEvent,Ve),Br(e,"mouseleave",t.handleEvent,Ve))}),this))},unListen:function(){var t=this,e=this.getTarget();this.setRootListener(!1),["click","focusin","focusout","mouseenter","mouseleave"].forEach((function(n){e&&Nr(e,n,t.handleEvent,Ve)}),this)},setRootListener:function(t){var e=t?"listenOnRoot":"listenOffRoot",n=this.templateType;this[e](Ur(n,"hide"),this.doHide),this[e](Ur(n,"show"),this.doShow),this[e](Ur(n,"disable"),this.doDisable),this[e](Ur(n,"enable"),this.doEnable)},setWhileOpenListeners:function(t){this.setModalListener(t),this.setDropdownListener(t),this.visibleCheck(t),this.setOnTouchStartListener(t)},visibleCheck:function(t){var e=this;this.clearVisibilityInterval();var n=this.getTarget();t&&(this.$_visibleInterval=setInterval((function(){!e.getTemplateElement()||!e.localShow||n.parentNode&&Rn(n)||e.forceHide()}),100))},setModalListener:function(t){this.isInModal()&&this[t?"listenOnRoot":"listenOffRoot"](by,this.forceHide)},setOnTouchStartListener:function(t){var e=this;"ontouchstart"in document.documentElement&&hn(document.body.children).forEach((function(n){zr(t,n,"mouseover",e.$_noop)}))},setDropdownListener:function(t){var e=this.getTarget();if(e&&this.bvEventRoot&&this.isDropdown){var n=function(t){if(!je)return t.__vue__;for(var e=t;e;){if(rc.has(e))return rc.get(e);e=e.parentNode}return null}(e);n&&n[t?"$on":"$off"]("shown",this.forceHide)}},handleEvent:function(t){var e=this.getTarget();if(e&&!Vn(e)&&this.$_enabled&&!this.dropdownOpen()){var n=t.type,r=this.computedTriggers;if("click"===n&&pn(r,"click"))this.click(t);else if("mouseenter"===n&&pn(r,"hover"))this.enter(t);else if("focusin"===n&&pn(r,"focus"))this.enter(t);else if("focusout"===n&&(pn(r,"focus")||pn(r,"blur"))||"mouseleave"===n&&pn(r,"hover")){var i=this.getTemplateElement(),a=t.target,o=t.relatedTarget;if(i&&Kn(i,a)&&Kn(e,o)||i&&Kn(e,a)&&Kn(i,o)||i&&Kn(i,a)&&Kn(i,o)||Kn(e,a)&&Kn(e,o))return;this.leave(t)}}},doHide:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.forceHide()},doShow:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.show()},doDisable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.disable()},doEnable:function(t){t&&this.getTargetId()!==t&&this.computedId!==t||this.enable()},click:function(t){this.$_enabled&&!this.dropdownOpen()&&(pr(t.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle:function(){this.$_enabled&&!this.dropdownOpen()&&(this.localShow?this.leave(null):this.enter(null))},enter:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusin"===e.type?"focus":"hover"]=!0),this.localShow||"in"===this.$_hoverState?this.$_hoverState="in":(this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout((function(){"in"===t.$_hoverState?t.show():t.localShow||t.restoreTitle()}),this.computedDelay.show)):this.show())},leave:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&(this.activeTrigger["focusout"===e.type?"focus":"hover"]=!1,"focusout"===e.type&&pn(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),this.isWithActiveTrigger||(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout((function(){"out"===t.$_hoverState&&t.hide()}),this.computedDelay.hide):this.hide())}}});function ky(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function xy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var My=Ar((xy(my={boundary:Cr([ct,Ke,Ze],"scrollParent"),boundaryPadding:Cr(un,50),container:Cr([ct,Ke,Ze]),customClass:Cr(Ze),delay:Cr(cn,50)},"disabled",Cr(Ue,!1)),xy(my,"fallbackPlacement",Cr(nn,"flip")),xy(my,"id",Cr(Ze)),xy(my,"noFade",Cr(Ue,!1)),xy(my,"noninteractive",Cr(Ue,!1)),xy(my,"offset",Cr(un,0)),xy(my,"placement",Cr(Ze,"top")),xy(my,"show",Cr(Ue,!1)),xy(my,"target",Cr([ct,dt,Ge,Ke,Ze],void 0,!0)),xy(my,"title",Cr(Ze)),xy(my,"triggers",Cr(nn,"hover focus")),xy(my,"variant",Cr(Ze)),my),"BTooltip"),Ty=Ae({name:"BTooltip",mixins:[wn,Pv],inheritAttrs:!1,props:My,data:function(){return{localShow:this.show,localTitle:"",localContent:""}},computed:{templateData:function(){return function(t){for(var e=1;e0&&t[$y].updateData(e)}))}var a={title:r.title,content:r.content,triggers:r.trigger,placement:r.placement,fallbackPlacement:r.fallbackPlacement,variant:r.variant,customClass:r.customClass,container:r.container,boundary:r.boundary,delay:r.delay,offset:r.offset,noFade:!r.animation,id:r.id,disabled:r.disabled,html:r.html},o=t[$y].__bv_prev_data__;if(t[$y].__bv_prev_data__=a,!Ma(a,o)){var s={target:t};Ht(a).forEach((function(e){a[e]!==o[e]&&(s[e]="title"!==e&&"content"!==e||!yt(a[e])?a[e]:a[e](t))})),t[$y].updateData(s)}}},Jy=he({directives:{VBPopover:{bind:function(t,e,n){Gy(t,e,n)},componentUpdated:function(t,e,n){Fe((function(){Gy(t,e,n)}))},unbind:function(t){!function(t){t[$y]&&(t[$y].$destroy(),t[$y]=null),delete t[$y]}(t)}}}}),Ky=he({components:{BPopover:Py},plugins:{VBPopoverPlugin:Jy}}),Xy=Ar({animated:Cr(Ue,null),label:Cr(Ze),labelHtml:Cr(Ze),max:Cr(un,null),precision:Cr(un,null),showProgress:Cr(Ue,null),showValue:Cr(Ue,null),striped:Cr(Ue,null),value:Cr(un,0),variant:Cr(Ze)},"BProgressBar"),Zy=Ae({name:"BProgressBar",mixins:[wn],inject:{getBvProgress:{default:function(){return function(){return{}}}}},props:Xy,computed:{bvProgress:function(){return this.getBvProgress()},progressBarClasses:function(){var t=this.computedAnimated,e=this.computedVariant;return[e?"bg-".concat(e):"",this.computedStriped||t?"progress-bar-striped":"",t?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.computedValue/this.computedMax*100+"%"}},computedValue:function(){return xn(this.value,0)},computedMax:function(){var t=xn(this.max)||xn(this.bvProgress.max,0);return t>0?t:100},computedPrecision:function(){return vi(kn(this.precision,kn(this.bvProgress.precision,0)),0)},computedProgress:function(){var t=this.computedPrecision,e=_i(10,t);return Mn(100*e*this.computedValue/this.computedMax/e,t)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return _t(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return _t(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return _t(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return _t(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(t){var e,n=this.label,r=this.labelHtml,i=this.computedValue,a=this.computedPrecision,o={};return this.hasNormalizedSlot()?e=this.normalizeSlot():n||r?o=Po(r,n):this.computedShowProgress?e=this.computedProgress:this.computedShowValue&&(e=Mn(i,a)),t("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":Cn(this.computedMax),"aria-valuenow":Mn(i,a)},domProps:o},e)}});function Qy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function t_(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.noCloseOnRouteChange||t.fullPath===e.fullPath||this.hide()})),n_),created:function(){this.$_returnFocusEl=null},mounted:function(){var t=this;this.listenOnRoot(c_,this.handleToggle),this.listenOnRoot(u_,this.handleSync),this.$nextTick((function(){t.emitState(t.localShow)}))},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(d_,this.safeId(),t)},emitSync:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(f_,this.safeId(),t)},handleToggle:function(t){t&&t===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(t){var e=this;t&&t===this.safeId()&&this.$nextTick((function(){e.emitSync(e.localShow)}))},onKeydown:function(t){var e=t.keyCode;!this.noCloseOnEsc&&27===e&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var t=hr(this.$refs.content);this.enforceFocus(t.reverse()[0])},onBottomTrapFocus:function(){var t=hr(this.$refs.content);this.enforceFocus(t[0])},onBeforeEnter:function(){this.$_returnFocusEl=Bn(c?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(t){Kn(t,Bn())||this.enforceFocus(t),this.$emit("shown")},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit("hidden")},enforceFocus:function(t){this.noEnforceFocus||pr(t)}},render:function(t){var e,n=this.bgVariant,r=this.width,i=this.textVariant,a=this.localShow,o=""===this.shadow||this.shadow,s=t(this.tag,{staticClass:"b-sidebar",class:[(e={shadow:!0===o},l_(e,"shadow-".concat(o),o&&!0!==o),l_(e,"".concat("b-sidebar","-right"),this.right),l_(e,"bg-".concat(n),n),l_(e,"text-".concat(i),i),e),this.sidebarClass],style:{width:r},attrs:this.computedAttrs,directives:[{name:"show",value:a}],ref:"content"},[k_(t,this)]);s=t("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[s]);var l=t(ni,{props:{noFade:this.noSlide}},[x_(t,this)]),u=t(),c=t();return this.backdrop&&a&&(u=t("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),c=t("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),t("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[u,s,c,l])}})},plugins:{VBTogglePlugin:Ju}});function T_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var O_=Ar({animation:Cr(Ze,"wave"),height:Cr(Ze),size:Cr(Ze),type:Cr(Ze,"text"),variant:Cr(Ze),width:Cr(Ze)},"BSkeleton"),S_=Ae({name:"BSkeleton",functional:!0,props:O_,render:function(t,e){var n,r=e.data,i=e.props,a=i.size,o=i.animation,s=i.variant;return t("div",Te(r,{staticClass:"b-skeleton",style:{width:a||i.width,height:a||i.height},class:(n={},T_(n,"b-skeleton-".concat(i.type),!0),T_(n,"b-skeleton-animate-".concat(o),o),T_(n,"bg-".concat(s),s),n)}))}});function L_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function D_(t){for(var e=1;e0}}});var $_={stacked:Cr(on,!1)},I_=Ae({props:$_,computed:{isStacked:function(){var t=this.stacked;return""===t||t},isStackedAlways:function(){return!0===this.isStacked},stackedTableClasses:function(){var t,e,n,r=this.isStackedAlways;return t={"b-table-stacked":r},e="b-table-stacked-".concat(this.stacked),n=!r&&this.isStacked,e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}}});function H_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function F_(t){for(var e=1;e0&&!o,[a,{"table-striped":this.striped,"table-hover":e,"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},n?"".concat(this.dark?"bg":"table","-").concat(n):"",i,r]},tableAttrs:function(){var t=Si(this),e=t.computedItems,n=t.filteredItems,r=t.computedFields,i=t.selectableTableAttrs,a=t.computedBusy,o=this.isTableSimple?{}:{"aria-busy":Cn(a),"aria-colcount":Cn(r.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null};return F_(F_(F_({"aria-rowcount":e&&n&&n.length>e.length?Cn(n.length):null},this.bvAttrs),{},{id:this.safeId(),role:this.bvAttrs.role||"table"},o),i)}},render:function(t){var e=Si(this),n=e.wrapperClasses,r=e.renderCaption,i=e.renderColgroup,a=e.renderThead,o=e.renderTbody,s=e.renderTfoot,l=[];this.isTableSimple?l.push(this.normalizeSlot()):(l.push(r?r():null),l.push(i?i():null),l.push(a?a():null),l.push(o?o():null),l.push(s?s():null));var u=t("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},l.filter(Kt));return n.length>0?t("div",{class:n,style:this.wrapperStyles,key:"wrap"},[u]):u}});function R_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function V_(t){for(var e=1;e0},Z_=Ar({animation:Cr(Ze),columns:Cr(Je,5,X_),hideHeader:Cr(Ue,!1),rows:Cr(Je,3,X_),showFooter:Cr(Ue,!1),tableProps:Cr(Ke,{})},"BSkeletonTable"),Q_=Ae({name:"BSkeletonTable",functional:!0,props:Z_,render:function(t,e){var n=e.data,r=e.props,i=r.animation,a=r.columns,o=t("th",[t(S_,{props:{animation:i}})]),s=t("tr",vn(a,o)),l=t("td",[t(S_,{props:{width:"75%",animation:i}})]),u=t("tr",vn(a,l)),c=t("tbody",vn(r.rows,u)),d=r.hideHeader?t():t("thead",[s]),f=r.showFooter?t("tfoot",[s]):t();return t(q_,Te(n,{props:J_({},r.tableProps)}),[d,c,f])}}),tw=Ar({loading:Cr(Ue,!1)},"BSkeletonWrapper"),ew=he({components:{BSkeleton:S_,BSkeletonIcon:P_,BSkeletonImg:A_,BSkeletonTable:Q_,BSkeletonWrapper:Ae({name:"BSkeletonWrapper",functional:!0,props:tw,render:function(t,e){var n=e.data,r=e.props,i=e.slots,a=e.scopedSlots,o=i(),s=a||{},l={};return r.loading?t("div",Te(n,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),_n("loading",l,s,o)):_n("default",l,s,o)}})}}),nw=he({components:{BSpinner:xb}});function rw(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function iw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var aw=Ar({variant:Cr(Ze)},"BTr"),ow=Ae({name:"BTr",mixins:[Ya,za,wn],provide:function(){var t=this;return{getBvTableTr:function(){return t}}},inject:{getBvTableRowGroup:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:aw,computed:{bvTableRowGroup:function(){return this.getBvTableRowGroup()},inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return"light"!==this.headVariant&&"light"!==this.footVariant&&("dark"===this.headVariant||"dark"===this.footVariant||this.isDark)},trClasses:function(){var t=this.variant;return[t?"".concat(this.isRowDark?"bg":"table","-").concat(t):null]},trAttrs:function(){return function(t){for(var e=1;e0?t:null},hw=function(t){return bt(t)||fw(t)>0},pw=Ar({colspan:Cr(un,null,hw),rowspan:Cr(un,null,hw),stackedHeading:Cr(Ze),stickyColumn:Cr(Ue,!1),variant:Cr(Ze)},"BTableCell"),mw=Ae({name:"BTableCell",mixins:[Ya,za,wn],inject:{getBvTableTr:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:pw,computed:{bvTableTr:function(){return this.getBvTableTr()},tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return fw(this.colspan)},computedRowspan:function(){return fw(this.rowspan)},cellClasses:function(){var t=this.variant,e=this.headVariant,n=this.isStickyColumn;return(!t&&this.isStickyHeader&&!e||!t&&n&&this.inTfoot&&!this.footVariant||!t&&n&&this.inThead&&!e||!t&&n&&this.inTbody)&&(t=this.rowVariant||this.tableVariant||"b-table-default"),[t?"".concat(this.isDark?"bg":"table","-").concat(t):null,n?"b-table-sticky-column":null]},cellAttrs:function(){var t=this.stackedHeading,e=this.inThead||this.inTfoot,n=this.computedColspan,r=this.computedRowspan,i="cell",a=null;return e?(i="columnheader",a=n>0?"colspan":"col"):Nn(this.tag,"th")&&(i="rowheader",a=r>0?"rowgroup":"row"),cw(cw({colspan:n,rowspan:r,role:i,scope:a},this.bvAttrs),{},{"data-label":this.isStackedCell&&!bt(t)?Cn(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])}});var vw,gw,bw,yw=(vw={},gw="busy",bw=Cr(Ue,!1),gw in vw?Object.defineProperty(vw,gw,{value:bw,enumerable:!0,configurable:!0,writable:!0}):vw[gw]=bw,vw),_w=Ae({props:yw,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&&(Rr(t),!0)},renderBusy:function(){var t=this.tbodyTrClass,e=this.tbodyTrAttr,n=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot("table-busy")?n(ow,{staticClass:"b-table-busy-slot",class:[yt(t)?t(null,"table-busy"):t],attrs:yt(e)?e(null,"table-busy"):e,key:"table-busy-slot"},[n(mw,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot("table-busy")])]):null}}}),ww={caption:Cr(Ze),captionHtml:Cr(Ze)},kw=Ae({props:ww,computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var t=this.caption,e=this.captionHtml,n=this.$createElement,r=n(),i=this.hasNormalizedSlot("table-caption");return(i||t||e)&&(r=n("caption",{attrs:{id:this.captionId},domProps:i?{}:Po(e,t),key:"caption",ref:"caption"},this.normalizeSlot("table-caption"))),r}}}),xw={},Mw=Ae({methods:{renderColgroup:function(){var t=this.computedFields,e=this.$createElement,n=e();return this.hasNormalizedSlot("table-colgroup")&&(n=e("colgroup",{key:"colgroup"},[this.normalizeSlot("table-colgroup",{columns:t.length,fields:t})])),n}}}),Tw={emptyFilteredHtml:Cr(Ze),emptyFilteredText:Cr(Ze,"There are no records matching your request"),emptyHtml:Cr(Ze),emptyText:Cr(Ze,"There are no records to show"),showEmpty:Cr(Ue,!1)},Ow=Ae({props:Tw,methods:{renderEmpty:function(){var t=Si(this),e=t.computedItems,n=t.computedBusy,r=this.$createElement,i=r();if(this.showEmpty&&(!e||0===e.length)&&(!n||!this.hasNormalizedSlot("table-busy"))){var a=this.computedFields,o=this.isFiltered,s=this.emptyText,l=this.emptyHtml,u=this.emptyFilteredText,c=this.emptyFilteredHtml,d=this.tbodyTrClass,f=this.tbodyTrAttr;(i=this.normalizeSlot(o?"emptyfiltered":"empty",{emptyFilteredHtml:c,emptyFilteredText:u,emptyHtml:l,emptyText:s,fields:a,items:e}))||(i=r("div",{class:["text-center","my-2"],domProps:o?Po(c,u):Po(l,s)})),i=r(mw,{props:{colspan:a.length||null}},[r("div",{attrs:{role:"alert","aria-live":"polite"}},[i])]),i=r(ow,{staticClass:"b-table-empty-row",class:[yt(d)?d(null,"row-empty"):d],attrs:yt(f)?f(null,"row-empty"):f,key:o?"b-empty-filtered-row":"b-empty-row"},[i])}return i}}}),Sw=function t(e){return bt(e)?"":Tt(e)&&!St(e)?Ht(e).sort().map((function(n){return t(e[n])})).filter((function(t){return!!t})).join(" "):Cn(e)};function Lw(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Dw(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:{},i=Ht(r).reduce((function(e,n){var i=r[n],a=i.filterByFormatted,o=yt(a)?a:a?i.formatter:null;return yt(o)&&(e[n]=o(t[n],n,t)),e}),Bt(t)),a=Ht(i).filter((function(t){return!(Aw[t]||Mt(e)&&e.length>0&&pn(e,t)||Mt(n)&&n.length>0&&!pn(n,t))}));return Nt(i,a)};function Iw(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&te('Prop "filter-debounce" is deprecated. Use the debounce feature of "" instead.',"BTable"),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 $r(t)?t:null},filteredItems:function(){var t=this.localItems,e=this.localFilter,n=this.localFiltering?this.filterFnFactory(this.localFilterFn,e)||this.defaultFilterFnFactory(e):null;return n&&t.length>0?t.filter(n):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,n=this.computedFilterDebounce;this.clearFilterTimer(),n&&n>0?this.$_filterTimer=setTimeout((function(){e.localFilter=e.filterSanitize(t)}),n):this.localFilter=this.filterSanitize(t)}},filteredCheck:function(t){var e=t.filteredItems,n=t.localFilter,r=!1;n?Ma(n,[])||Ma(n,{})?r=!1:n&&(r=!0):r=!1,r&&this.$emit("filtered",e,e.length),this.isFiltered=r},isFiltered:function(t,e){if(!1===t&&!0===e){var n=this.localItems;this.$emit("filtered",n,n.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||wt(t)||Dt(t)?Jt(t):""},filterFnFactory:function(t,e){if(!t||!yt(t)||!e||Ma(e,[])||Ma(e,{}))return null;return function(n){return t(n,e)}},defaultFilterFnFactory:function(t){var e=this;if(!t||!wt(t)&&!Dt(t))return null;var n=t;if(wt(n)){var r=Dn(t).replace(A,"\\s+");n=new RegExp(".*".concat(r,".*"),"i")}return function(t){return n.lastIndex=0,n.test((r=t,i=e.computedFilterIgnored,a=e.computedFilterIncluded,o=e.computedFieldsObj,Tt(r)?Sw($w(r,i,a,o)):""));var r,i,a,o}}}}),Bw=function(t,e){var n=[];if(Mt(t)&&t.filter(Kt).forEach((function(t){if(wt(t))n.push({key:t,label:Sn(t)});else if(Tt(t)&&t.key&&wt(t.key))n.push(Bt(t));else if(Tt(t)&&1===Ht(t).length){var e=Ht(t)[0],r=function(t,e){var n=null;return wt(e)?n={key:t,label:e}:yt(e)?n={key:t,formatter:e}:Tt(e)?(n=Bt(e)).key=n.key||t:!1!==e&&(n={key:t}),n}(e,t[e]);r&&n.push(r)}})),0===n.length&&Mt(e)&&e.length>0){var r=e[0];Ht(r).forEach((function(t){Aw[t]||n.push({key:t,label:Sn(t)})}))}var i={};return n.filter((function(t){return!i[t.key]&&(i[t.key]=!0,t.label=wt(t.label)?t.label:Sn(t.key),!0)}))};function Nw(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function zw(t){for(var e=1;e0&&t.some(Kt)},selectableIsMultiSelect:function(){return this.isSelectable&&pn(["range","multi"],this.selectMode)},selectableTableClasses:function(){var t,e=this.isSelectable;return rk(t={"b-table-selectable":e},"b-table-select-".concat(this.selectMode),e),rk(t,"b-table-selecting",this.selectableHasSelection),rk(t,"b-table-selectable-no-click",e&&!this.hasSelectableRowClick),t},selectableTableAttrs:function(){if(!this.isSelectable)return{};var t=this.bvAttrs.role||"grid";return{role:t,"aria-multiselectable":"grid"===t?Cn(this.selectableIsMultiSelect):null}}},watch:{computedItems:function(t,e){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=Mt(t)&&Mt(e)&&t.length===e.length;for(var r=0;n&&r=0&&t0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?vn(t,!0):[!0])},isRowSelected:function(t){return!(!kt(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 rk({"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]("row-clicked",this.selectionHandler),this[e]("filtered",this.clearSelected),this[e]("context-changed",this.clearSelected)},selectionHandler:function(t,e,n){if(this.isSelectable&&!this.noSelectOnClick){var r=this.selectMode,i=this.selectedLastRow,a=this.selectedRows.slice(),o=!a[e];if("single"===r)a=[];else if("range"===r)if(i>-1&&n.shiftKey){for(var s=mi(i,e);s<=vi(i,e);s++)a[s]=!0;o=!0}else n.ctrlKey||n.metaKey||(a=[],o=!0),o&&(this.selectedLastRow=e);a[e]=o,this.selectedRows=a}else this.clearSelected()}}}),uk=function(t,e){return t.map((function(t,e){return[e,t]})).sort(function(t,e){return this(t[1],e[1])||t[0]-e[0]}.bind(e)).map((function(t){return t[1]}))},ck=function(t){return bt(t)?"":xt(t)?xn(t,t):t};function dk(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function fk(t){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:{},r=n.sortBy,i=void 0===r?null:r,a=n.formatter,o=void 0===a?null:a,s=n.locale,l=void 0===s?void 0:s,u=n.localeOptions,c=void 0===u?{}:u,d=n.nullLast,f=void 0!==d&&d,h=Zt(t,i,null),p=Zt(e,i,null);return yt(o)&&(h=o(h,i,t),p=o(p,i,e)),h=ck(h),p=ck(p),St(h)&&St(p)||kt(h)&&kt(p)?hp?1:0:f&&""===h&&""!==p?1:f&&""!==h&&""===p?-1:Sw(h).localeCompare(Sw(p),l,c)}(t,o,{sortBy:e,formatter:f,locale:r,localeOptions:c,nullLast:i})),(s||0)*(n?-1:1)}))}return u}},watch:(ak={isSortable:function(t){t?this.isSortable&&this.$on("head-clicked",this.handleSort):this.$off("head-clicked",this.handleSort)}},hk(ak,"sortDesc",(function(t){t!==this.localSortDesc&&(this.localSortDesc=t||!1)})),hk(ak,"sortBy",(function(t){t!==this.localSortBy&&(this.localSortBy=t||"")})),hk(ak,"localSortDesc",(function(t,e){t!==e&&this.$emit("update:sortDesc",t)})),hk(ak,"localSortBy",(function(t,e){t!==e&&this.$emit("update:sortBy",t)})),ak),created:function(){this.isSortable&&this.$on("head-clicked",this.handleSort)},methods:{handleSort:function(t,e,n,r){var i=this;if(this.isSortable&&(!r||!this.noFooterSorting)){var a=!1,o=function(){var t=e.sortDirection||i.sortDirection;"asc"===t?i.localSortDesc=!1:"desc"===t&&(i.localSortDesc=!0)};if(e.sortable){var s=!this.localSorting&&e.sortKey?e.sortKey:t;this.localSortBy===s?this.localSortDesc=!this.localSortDesc:(this.localSortBy=s,o()),a=!0}else this.localSortBy&&!this.noSortReset&&(this.localSortBy="",o(),a=!0);a&&this.$emit("sort-changed",this.context)}},sortTheadThClasses:function(t,e,n){return{"b-table-sort-icon-left":e.sortable&&this.sortIconLeft&&!(n&&this.noFooterSorting)}},sortTheadThAttrs:function(t,e,n){var r,i=this.isSortable,a=this.noFooterSorting,o=this.localSortDesc,s=this.localSortBy,l=this.localSorting;if(!i||n&&a)return{};var u=e.sortable,c=l?t:null!==(r=e.sortKey)&&void 0!==r?r:t;return{"aria-sort":u&&s===c?o?"descending":"ascending":u?"none":null}},sortTheadThLabel:function(t,e,n){if(!this.isSortable||n&&this.noFooterSorting)return null;var r=this.localSortBy,i=this.localSortDesc,a=this.labelSortAsc,o=this.labelSortDesc,s="";if(e.sortable)if(r===t)s=i?a:o;else{s=i?o:a;var l=this.sortDirection||e.sortDirection;"asc"===l?s=a:"desc"===l&&(s=o)}else this.noSortReset||(s=r?this.labelSortClear:"");return jn(s)||null}}});function gk(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function bk(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:document,e=cr();return!!(e&&""!==e.toString().trim()&&e.containsNode&&Fn(t))&&e.containsNode(t,!0)},Tk=Ar(pw,"BTh"),Ok=Ae({name:"BTh",extends:mw,props:Tk,computed:{tag:function(){return"th"}}});function Sk(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Lk(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(y=String((s-1)*l+e+1));var _=Cn(Zt(t,o))||null,w=_||Cn(e),k=_?this.safeId("_row_".concat(_)):null,x=Si(this).selectableRowClasses?this.selectableRowClasses(e):{},M=Si(this).selectableRowAttrs?this.selectableRowAttrs(e):{},T=yt(u)?u(t,"row"):u,O=yt(c)?c(t,"row"):c;if(v.push(f(ow,Dk({class:[T,x,p?"b-table-has-details":""],props:{variant:t[Pw]||null},attrs:Lk(Lk({id:k},O),{},{tabindex:m?"0":null,"data-pk":_||null,"aria-details":g,"aria-owns":g,"aria-rowindex":y},M),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(w,"__"),ref:"item-rows"},Pe,!0),b)),p){var S={item:t,index:e,fields:i,toggleDetails:this.toggleDetailsFactory(h,t)};Si(this).supportsSelectableRows&&(S.rowSelected=this.isRowSelected(e),S.selectRow=function(){return n.selectRow(e)},S.unselectRow=function(){return n.unselectRow(e)});var L=f(mw,{props:{colspan:i.length},class:this.detailsTdClass},[this.normalizeSlot("row-details",S)]);a&&v.push(f("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(w)}));var D=yt(this.tbodyTrClass)?this.tbodyTrClass(t,"row-details"):this.tbodyTrClass,C=yt(this.tbodyTrAttr)?this.tbodyTrAttr(t,"row-details"):this.tbodyTrAttr;v.push(f(ow,{staticClass:"b-table-details",class:[D],props:{variant:t[Pw]||null},attrs:Lk(Lk({},C),{},{id:g,tabindex:"-1"}),key:"__b-table-details__".concat(w)},[L]))}else h&&(v.push(f()),a&&v.push(f()));return v}}});function Yk(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ak(t){for(var e=1;e0&&n&&n.length>0?hn(e.children).filter((function(t){return pn(n,t)})):[]},getTbodyTrIndex:function(t){if(!Fn(t))return-1;var e="TR"===t.tagName?t:Jn("tr",t,!0);return e?this.getTbodyTrs().indexOf(e):-1},emitTbodyRowEvent:function(t,e){if(t&&this.hasListener(t)&&e&&e.target){var n=this.getTbodyTrIndex(e.target);if(n>-1){var r=this.computedItems[n];this.$emit(t,r,n,e)}}},tbodyRowEventStopped:function(t){return this.stopIfBusy&&this.stopIfBusy(t)},onTbodyRowKeydown:function(t){var e=t.target,n=t.keyCode;if(!this.tbodyRowEventStopped(t)&&"TR"===e.tagName&&zn(e)&&0===e.tabIndex)if(pn([ba,ka],n))Rr(t),this.onTBodyRowClicked(t);else if(pn([xa,va,ya,ga],n)){var r=this.getTbodyTrIndex(e);if(r>-1){Rr(t);var i=this.getTbodyTrs(),a=t.shiftKey;n===ya||a&&n===xa?pr(i[0]):n===ga||a&&n===va?pr(i[i.length-1]):n===xa&&r>0?pr(i[r-1]):n===va&&rt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]&&arguments[0],n=Si(this),r=n.computedFields,i=n.isSortable,a=n.isSelectable,o=n.headVariant,s=n.footVariant,l=n.headRowVariant,u=n.footRowVariant,c=this.$createElement;if(this.isStackedAlways||0===r.length)return c();var d=i||this.hasListener("head-clicked"),f=a?this.selectAllRows:Nl,h=a?this.clearSelected:Nl,p=function(n,r){var a=n.label,o=n.labelHtml,s=n.variant,l=n.stickyColumn,u=n.key,p=null;n.label.trim()||n.headerTitle||(p=Sn(n.key));var m={};d&&(m.click=function(r){t.headClicked(r,n,e)},m.keydown=function(r){var i=r.keyCode;i!==ba&&i!==ka||t.headClicked(r,n,e)});var v=i?t.sortTheadThAttrs(u,n,e):{},g=i?t.sortTheadThClasses(u,n,e):null,b=i?t.sortTheadThLabel(u,n,e):null,y={class:[{"position-relative":b},t.fieldClasses(n),g],props:{variant:s,stickyColumn:l},style:n.thStyle||{},attrs:Qk(Qk({tabindex:d&&n.sortable?"0":null,abbr:n.headerAbbr||null,title:n.headerTitle||null,"aria-colindex":r+1,"aria-label":p},t.getThValues(null,u,n.thAttr,e?"foot":"head",{})),v),on:m,key:u},_=[ex(u),ex(u.toLowerCase()),ex()];e&&(_=[nx(u),nx(u.toLowerCase()),nx()].concat(Kk(_)));var w={label:a,column:u,field:n,isFoot:e,selectAllRows:f,clearSelected:h},k=t.normalizeSlot(_,w)||c("div",{domProps:Po(o,a)}),x=b?c("span",{staticClass:"sr-only"}," (".concat(b,")")):null;return c(Ok,y,[k,x].filter(Kt))},m=r.map(p).filter(Kt),v=[];if(e)v.push(c(ow,{class:this.tfootTrClass,props:{variant:bt(u)?l:u}},m));else{var g={columns:r.length,fields:r,selectAllRows:f,clearSelected:h};v.push(this.normalizeSlot("thead-top",g)||c()),v.push(c(ow,{class:this.theadTrClass,props:{variant:l}},m))}return c(e?Rk:Jk,{class:(e?this.tfootClass:this.theadClass)||null,props:e?{footVariant:s||o||null}:{headVariant:o||null},key:e?"bv-tfoot":"bv-thead"},v)}}}),ax=Ae({methods:{renderTopRow:function(){var t=this.computedFields,e=this.stacked,n=this.tbodyTrClass,r=this.tbodyTrAttr,i=this.$createElement;return this.hasNormalizedSlot("top-row")&&!0!==e&&""!==e?i(ow,{staticClass:"b-table-top-row",class:[yt(n)?n(null,"row-top"):n],attrs:yt(r)?r(null,"row-top"):r,key:"b-top-row"},[this.normalizeSlot("top-row",{columns:t.length,fields:t})]):i()}}});function ox(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function sx(t){for(var e=1;e0&&void 0!==arguments[0])||arguments[0];if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e){var n=function(){t.$nextTick((function(){In((function(){t.updateTabs()}))}))};this.$_observer=Wl(this.$refs.content,n,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var t=this.registeredTabs,e=[];if(c&&t.length>0){var n=t.map((function(t){return"#".concat(t.safeId())})).join(", ");e=Un(n,this.$el).map((function(t){return t.id})).filter(Kt)}return uk(t,(function(t,n){return e.indexOf(t.safeId())-e.indexOf(n.safeId())}))},updateTabs:function(){var t=this.getTabs(),e=t.indexOf(t.slice().reverse().find((function(t){return t.localActive&&!t.disabled})));if(e<0){var n=this.currentTab;n>=t.length?e=t.indexOf(t.slice().reverse().find(Sx)):t[n]&&!t[n].disabled&&(e=n)}e<0&&(e=t.indexOf(t.find(Sx))),t.forEach((function(t,n){t.localActive=n===e})),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=this.currentTab,n=this.tabs,r=!1;if(t){var i=n.indexOf(t);if(i!==e&&i>-1&&!t.disabled){var a=new tc("activate-tab",{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(a.type,i,e,a),a.defaultPrevented||(this.currentTab=i,r=!0)}}return r||this[Tx]===e||this.$emit(Ox,e),r},deactivateTab:function(t){return!!t&&this.activateTab(this.tabs.filter((function(e){return e!==t})).find(Sx))},focusButton:function(t){var e=this;this.$nextTick((function(){pr(e.getButtonForTab(t))}))},emitTabClick:function(t,e){Lt(e)&&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(Sx);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))},previousTab:function(t){var e=vi(this.currentTab,0),n=this.tabs.slice(0,e).reverse().find(Sx);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},nextTab:function(t){var e=vi(this.currentTab,-1),n=this.tabs.slice(e+1).find(Sx);this.activateTab(n)&&t&&(this.focusButton(n),this.emitTabClick(n,t))},lastTab:function(t){var e=this.tabs.slice().reverse().find(Sx);this.activateTab(e)&&t&&(this.focusButton(e),this.emitTabClick(e,t))}},render:function(t){var e=this,n=this.align,r=this.card,i=this.end,a=this.fill,o=this.firstTab,s=this.justified,l=this.lastTab,u=this.nextTab,c=this.noKeyNav,d=this.noNavStyle,f=this.pills,h=this.previousTab,p=this.small,m=this.tabs,v=this.vertical,g=m.find((function(t){return t.localActive&&!t.disabled})),b=m.find((function(t){return!t.disabled})),y=m.map((function(n,r){var i,a=n.safeId,s=null;return c||(s=-1,(n===g||!g&&n===b)&&(s=null)),t(Lx,yx({props:{controls:a?a():null,id:n.controlledBy||(a?a("_BV_tab_button_"):null),noKeyNav:c,posInSet:r+1,setSize:m.length,tab:n,tabIndex:s},on:(i={},yx(i,"click",(function(t){e.clickTab(n,t)})),yx(i,"first",o),yx(i,"prev",h),yx(i,"next",u),yx(i,"last",l),i),key:n._uid||r,ref:"buttons"},Pe,!0))})),_=t(Ig,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:a,justified:s,align:n,tabs:!d&&!f,pills:!d&&f,vertical:v,small:p,cardHeader:r&&!v},ref:"nav"},[this.normalizeSlot("tabs-start")||t(),y,this.normalizeSlot("tabs-end")||t()]);_=t("div",{class:[{"card-header":r&&!v&&!i,"card-footer":r&&!v&&i,"col-auto":v},this.navWrapperClass],key:"bv-tabs-nav"},[_]);var w=this.normalizeSlot()||[],k=t();0===w.length&&(k=t("div",{class:["tab-pane","active",{"card-body":r}],key:"bv-empty-tab"},this.normalizeSlot("empty")));var x=t("div",{staticClass:"tab-content",class:[{col:v},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[w,k]);return t(this.tag,{staticClass:"tabs",class:{row:v,"no-gutters":v&&r},attrs:{id:this.safeId()}},[i?x:t(),_,i?t():x])}});function Px(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Yx(t){for(var e=1;e" with name "'.concat(t,'" already exists in the document.'),"BToaster"),this.dead=!0):this.doRender=!0},beforeDestroy:function(){this.doRender&&this.emitOnRoot(Wr("BToaster","destroyed"),this.name)},destroyed:function(){var t=this.$el;t&&t.parentNode&&t.parentNode.removeChild(t)},render:function(t){var e=t("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var n=t(Fx.PortalTarget,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:Bx}});e=t("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[n])}return e}});function Rx(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Vx(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return new tc(t,Vx(Vx({cancelable:!1,target:this.$el||null,relatedTarget:null},e),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(t){var e=t.type;this.emitOnRoot(Wr("BToast",e),t),this.$emit(e,t)},ensureToaster:function(){if(!this.static){var t=this.computedToaster;if(!Fx.Wormhole.hasTarget(t)){var e=document.createElement("div");document.body.appendChild(e),Hv(this.bvEventRoot,zx,{propsData:{name:t}}).$mount(e)}}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(t){var e=this.$refs["b-toast"];zr(t,e,"mouseenter",this.onPause,Ve),zr(t,e,"mouseleave",this.onUnPause,Ve)},onPause:function(){if(!this.noAutoHide&&!this.noHoverPause&&this.$_dismissTimer&&!this.resumeDismiss){var t=Date.now()-this.dismissStarted;t>0&&(this.clearDismissTimer(),this.resumeDismiss=vi(this.computedDuration-t,1e3))}},onUnPause:function(){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick:function(){var t=this;this.$nextTick((function(){In((function(){t.hide()}))}))},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var t=this.buildEvent("shown");this.emitEvent(t),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},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,n=this.title,r=this.slotScope,i=Yi(this),a=[],o=this.normalizeSlot("toast-title",r);o?a.push(o):n&&a.push(t("strong",{staticClass:"mr-2"},n)),this.noCloseButton||a.push(t(Gr,{staticClass:"ml-auto mb-1",on:{click:function(){e.hide()}}}));var s=t();a.length>0&&(s=t(this.headerTag,{staticClass:"toast-header",class:this.headerClass},a));var l=t(i?Za:"div",{staticClass:"toast-body",class:this.bodyClass,props:i?Pr(Xx,this):{},on:i?{click:this.onLinkClick}:{}},this.normalizeSlot("default",r));return t("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this._uid),ref:"toast"},[s,l])}},render:function(t){if(!this.doRender||!this.isMounted)return t();var e=this.order,n=this.static,r=this.isHiding,i=this.isStatus,a="b-toast-".concat(this._uid),o=t("div",{staticClass:"b-toast",class:this.toastClasses,attrs:Vx(Vx({},n?{}:this.scopedStyleAttrs),{},{id:this.safeId("_toast_outer"),role:r?null:i?"status":"alert","aria-live":r?null:i?"polite":"assertive","aria-atomic":r?null:"true"}),key:a,ref:"b-toast"},[t(ni,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(t):t()])]);return t(Fx.Portal,{props:{name:a,to:this.computedToaster,order:e,slim:!0,disabled:n}},[o])}});function tM(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:{};t&&!ee("$bvToast")&&n(nM(nM({},sM(e)),{},{toastContent:t}),this._vm)}},{key:"show",value:function(t){t&&this._root.$emit(Ur("BToast","show"),t)}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit(Ur("BToast","hide"),t)}}])&&tM(e.prototype,r),i&&tM(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();t.mixin({beforeCreate:function(){this._bv__toast=new r(this)}}),Ft(t.prototype,"$bvToast")||$t(t.prototype,"$bvToast",{get:function(){return this&&this._bv__toast||te('"'.concat("$bvToast",'" must be accessed from a Vue instance "this" context.'),"BToast"),this._bv__toast}})}}})}});function uM(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function cM(t){for(var e=1;e=n){var r=this.$targets[this.$targets.length-1];this.$activeTarget!==r&&this.activate(r)}else{if(this.$activeTarget&&t0)return this.$activeTarget=null,void this.clear();for(var i=this.$offsets.length;i--;)this.$activeTarget!==this.$targets[i]&&t>=this.$offsets[i]&&(vt(this.$offsets[i+1])||t0&&this.$root&&this.$root.$emit(IM,t,n)}},{key:"clear",value:function(){var t=this;Un("".concat(this.$selector,", ").concat(".nav-item"),this.$el).filter((function(t){return tr(t,"active")})).forEach((function(e){return t.setActiveState(e,!1)}))}},{key:"setActiveState",value:function(t,e){t&&(e?Zn(t,"active"):Qn(t,"active"))}}])&&YM(e.prototype,n),r&&YM(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),RM="__BV_Scrollspy__",VM=/^\d+$/,WM=/^(auto|position|offset)$/,UM=function(t,e,n){if(c){var r=function(t){var e={};return t.arg&&(e.element="#".concat(t.arg)),Ht(t.modifiers).forEach((function(t){VM.test(t)?e.offset=kn(t,0):WM.test(t)&&(e.method=t)})),wt(t.value)?e.element=t.value:kt(t.value)?e.offset=wi(t.value):Tt(t.value)&&Ht(t.value).filter((function(t){return!!zM.DefaultType[t]})).forEach((function(n){e[n]=t.value[n]})),e}(e);t[RM]?t[RM].updateConfig(r,Aa(ju(n,e))):t[RM]=new zM(t,r,Aa(ju(n,e)))}},qM={install:fe({plugins:{componentsPlugin:SM,directivesPlugin:he({plugins:{VBHoverPlugin:LM,VBModalPlugin:DM,VBPopoverPlugin:Jy,VBScrollspyPlugin:he({directives:{VBScrollspy:{bind:function(t,e,n){UM(t,e,n)},inserted:function(t,e,n){UM(t,e,n)},update:function(t,e,n){e.value!==e.oldValue&&UM(t,e,n)},componentUpdated:function(t,e,n){e.value!==e.oldValue&&UM(t,e,n)},unbind:function(t){!function(t){t[RM]&&(t[RM].dispose(),t[RM]=null,delete t[RM])}(t)}}}}),VBTogglePlugin:Ju,VBTooltipPlugin:OM,VBVisiblePlugin:he({directives:{VBVisible:Tl}})}})}}),NAME:"BootstrapVue"};e.a=qM},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r={props:{src:{type:String,required:!0},srcPlaceholder:{type:String,default:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},srcset:{type:String},intersectionOptions:{type:Object,default:()=>({})},usePicture:{type:Boolean,default:!1}},inheritAttrs:!1,data:()=>({observer:null,intersected:!1,loaded:!1}),computed:{srcImage(){return this.intersected&&this.src?this.src:this.srcPlaceholder},srcsetImage(){return!(!this.intersected||!this.srcset)&&this.srcset}},methods:{load(){this.$el&&this.$el.getAttribute("src")!==this.srcPlaceholder&&(this.loaded=!0,this.$emit("load",this.$el))},error(){this.$emit("error",this.$el)}},render(t){let e=t("img",{attrs:{src:this.srcImage,srcset:this.srcsetImage},domProps:this.$attrs,class:{"v-lazy-image":!0,"v-lazy-image-loaded":this.loaded},on:{load:this.load,error:this.error}});return this.usePicture?t("picture",{on:{load:this.load}},this.intersected?[this.$slots.default,e]:[e]):e},mounted(){"IntersectionObserver"in window&&(this.observer=new IntersectionObserver(t=>{t[0].isIntersecting&&(this.intersected=!0,this.observer.disconnect(),this.$emit("intersect"))},this.intersectionOptions),this.observer.observe(this.$el))},destroyed(){"IntersectionObserver"in window&&this.observer.disconnect()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n(4))&&"object"==typeof r&&"default"in r?r.default:r;function a(t){return(a="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 o(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1]&&arguments[1],n=t.to,r=t.from;if(n&&(r||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var i=this.$_getTransportIndex(t);if(i>=0){var a=this.transports[n].slice(0);a.splice(i,1),this.transports[n]=a}}},registerTarget:function(t,e,n){s&&(this.trackInstances&&!n&&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,n){s&&(this.trackInstances&&!n&&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,n=t.from;for(var r in this.transports[e])if(this.transports[e][r].from===n)return+r;return-1}}}))(u),h=1,p=i.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(h++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){f.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){f.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};f.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:o(t),order:this.order};f.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),m=i.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:f.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){f.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){f.unregisterTarget(e),f.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){f.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,n){var r=n.passengers[0],i="function"==typeof r?r(e):n.passengers;return t.concat(i)}),[])}(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(),n=this.children(),r=this.transition||this.tag;return e?n[0]:this.slim&&!r?t():t(r,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),v=0,g=["disabled","name","order","slim","slotProps","tag","to"],b=["multiple","transition"],y=i.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(v++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(f.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=f.targets[e.name];else{var n=e.append;if(n){var r="string"==typeof n?n:"DIV",i=document.createElement(r);t.appendChild(i),t=i}var a=l(this.$props,b);a.slim=this.targetSlim,a.tag=this.targetTag,a.slotProps=this.targetSlotProps,a.name=this.to,this.portalTarget=new m({el:t,parent:this.$parent||this,propsData:a})}}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=l(this.$props,g);return t(p,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});var _={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",p),t.component(e.portalTargetName||"PortalTarget",m),t.component(e.MountingPortalName||"MountingPortal",y)}};e.default=_,e.Portal=p,e.PortalTarget=m,e.MountingPortal=y,e.Wormhole=f},function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e=0)return 1;return 0}();var i=n&&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()}),r))}};function a(t){return t&&"[object Function]"==={}.toString.call(t)}function o(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=o(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:l(s(t))}function u(t){return t&&t.referenceNode?t.referenceNode:t}var c=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function f(t){return 11===t?c:10===t?d:c||d}function h(t){if(!t)return document.documentElement;for(var e=f(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?h(n):n:t?t.ownerDocument.documentElement:document.documentElement}function p(t){return null!==t.parentNode?p(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,a=document.createRange();a.setStart(r,0),a.setEnd(i,0);var o,s,l=a.commonAncestorContainer;if(t!==l&&e!==l||r.contains(i))return"BODY"===(s=(o=l).nodeName)||"HTML"!==s&&h(o.firstElementChild)!==o?h(l):l;var u=p(t);return u.host?m(u.host,e):m(t,p(e).host)}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement,a=t.ownerDocument.scrollingElement||i;return a[n]}return t[n]}function g(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=v(e,"top"),i=v(e,"left"),a=n?-1:1;return t.top+=r*a,t.bottom+=r*a,t.left+=i*a,t.right+=i*a,t}function b(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function y(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],f(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,n=t.documentElement,r=f(10)&&getComputedStyle(n);return{height:y("Height",e,n,r),width:y("Width",e,n,r)}}var w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},k=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=f(10),i="HTML"===e.nodeName,a=O(t),s=O(e),u=l(t),c=o(e),d=parseFloat(c.borderTopWidth),h=parseFloat(c.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var p=T({top:a.top-s.top-d,left:a.left-s.left-h,width:a.width,height:a.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var m=parseFloat(c.marginTop),v=parseFloat(c.marginLeft);p.top-=d-m,p.bottom-=d-m,p.left-=h-v,p.right-=h-v,p.marginTop=m,p.marginLeft=v}return(r&&!n?e.contains(u):e===u&&"BODY"!==u.nodeName)&&(p=g(p,e)),p}function L(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=S(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),a=Math.max(n.clientHeight,window.innerHeight||0),o=e?0:v(n),s=e?0:v(n,"left"),l={top:o-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:a};return T(l)}function D(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===o(t,"position"))return!0;var n=s(t);return!!n&&D(n)}function C(t){if(!t||!t.parentElement||f())return document.documentElement;for(var e=t.parentElement;e&&"none"===o(e,"transform");)e=e.parentElement;return e||document.documentElement}function j(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a={top:0,left:0},o=i?C(t):m(t,u(e));if("viewport"===r)a=L(o,i);else{var c=void 0;"scrollParent"===r?"BODY"===(c=l(s(e))).nodeName&&(c=t.ownerDocument.documentElement):c="window"===r?t.ownerDocument.documentElement:r;var d=S(c,o,i);if("HTML"!==c.nodeName||D(o))a=d;else{var f=_(t.ownerDocument),h=f.height,p=f.width;a.top+=d.top-d.marginTop,a.bottom=h+d.top,a.left+=d.left-d.marginLeft,a.right=p+d.left}}var v="number"==typeof(n=n||0);return a.left+=v?n:n.left||0,a.top+=v?n:n.top||0,a.right-=v?n:n.right||0,a.bottom-=v?n:n.bottom||0,a}function P(t){return t.width*t.height}function Y(t,e,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var o=j(n,r,a,i),s={top:{width:o.width,height:e.top-o.top},right:{width:o.right-e.right,height:o.height},bottom:{width:o.width,height:o.bottom-e.bottom},left:{width:e.left-o.left,height:o.height}},l=Object.keys(s).map((function(t){return M({key:t},s[t],{area:P(s[t])})})).sort((function(t,e){return e.area-t.area})),u=l.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),c=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return c+(d?"-"+d:"")}function A(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?C(e):m(e,u(n));return S(n,i,r)}function E(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function $(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 I(t,e,n){n=n.split("-")[0];var r=E(t),i={width:r.width,height:r.height},a=-1!==["right","left"].indexOf(n),o=a?"top":"left",s=a?"left":"top",l=a?"height":"width",u=a?"width":"height";return i[o]=e[o]+e[l]/2-r[l]/2,i[s]=n===s?e[s]-r[u]:e[$(s)],i}function H(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function F(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=H(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&a(n)&&(e.offsets.popper=T(e.offsets.popper),e.offsets.reference=T(e.offsets.reference),e=n(e,t))})),e}function B(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=Y(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=I(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=F(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function N(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function z(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=Q.indexOf(t),r=Q.slice(n+1).concat(Q.slice(0,n));return e?r.reverse():r}var et="flip",nt="clockwise",rt="counterclockwise";function it(t,e,n,r){var i=[0,0],a=-1!==["right","left"].indexOf(r),o=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=o.indexOf(H(o,(function(t){return-1!==t.search(/,|\s/)})));o[s]&&-1===o[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[o.slice(0,s).concat([o[s].split(l)[0]]),[o[s].split(l)[1]].concat(o.slice(s+1))]:[o];return(u=u.map((function(t,r){var i=(1===r?!a:a)?"height":"width",o=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,o=!0,t):o?(t[t.length-1]+=e,o=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],o=i[2];if(!a)return t;if(0===o.indexOf("%")){var s=void 0;switch(o){case"%p":s=n;break;case"%":case"%r":default:s=r}return T(s)[e]/100*a}if("vh"===o||"vw"===o){return("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*a}return a}(t,i,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){G(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var at={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,a=i.reference,o=i.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:x({},l,a[l]),end:x({},l,a[l]+a[u]-o[u])};t.offsets.popper=M({},o,c[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,a=i.popper,o=i.reference,s=r.split("-")[0],l=void 0;return l=G(+n)?[+n,0]:it(n,a,o,s),"left"===s?(a.top+=l[0],a.left-=l[1]):"right"===s?(a.top+=l[0],a.left+=l[1]):"top"===s?(a.left+=l[0],a.top-=l[1]):"bottom"===s&&(a.left+=l[0],a.top+=l[1]),t.popper=a,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||h(t.instance.popper);t.instance.reference===n&&(n=h(n));var r=z("transform"),i=t.instance.popper.style,a=i.top,o=i.left,s=i[r];i.top="",i.left="",i[r]="";var l=j(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=a,i.left=o,i[r]=s,e.boundaries=l;var u=e.priority,c=t.offsets.popper,d={primary:function(t){var n=c[t];return c[t]l[t]&&!e.escapeWithReference&&(r=Math.min(c[n],l[t]-("right"===t?c.width:c.height))),x({},n,r)}};return u.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=M({},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,n=e.popper,r=e.reference,i=t.placement.split("-")[0],a=Math.floor,o=-1!==["top","bottom"].indexOf(i),s=o?"right":"bottom",l=o?"left":"top",u=o?"width":"height";return n[s]a(r[s])&&(t.offsets.popper[l]=a(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!X(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],a=t.offsets,s=a.popper,l=a.reference,u=-1!==["left","right"].indexOf(i),c=u?"height":"width",d=u?"Top":"Left",f=d.toLowerCase(),h=u?"left":"top",p=u?"bottom":"right",m=E(r)[c];l[p]-ms[p]&&(t.offsets.popper[f]+=l[f]+m-s[p]),t.offsets.popper=T(t.offsets.popper);var v=l[f]+l[c]/2-m/2,g=o(t.instance.popper),b=parseFloat(g["margin"+d]),y=parseFloat(g["border"+d+"Width"]),_=v-t.offsets.popper[f]-b-y;return _=Math.max(Math.min(s[c]-m,_),0),t.arrowElement=r,t.offsets.arrow=(x(n={},f,Math.round(_)),x(n,h,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(N(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=j(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=$(r),a=t.placement.split("-")[1]||"",o=[];switch(e.behavior){case et:o=[r,i];break;case nt:o=tt(r);break;case rt:o=tt(r,!0);break;default:o=e.behavior}return o.forEach((function(s,l){if(r!==s||o.length===l+1)return t;r=t.placement.split("-")[0],i=$(r);var u=t.offsets.popper,c=t.offsets.reference,d=Math.floor,f="left"===r&&d(u.right)>d(c.left)||"right"===r&&d(u.left)d(c.top)||"bottom"===r&&d(u.top)d(n.right),m=d(u.top)d(n.bottom),g="left"===r&&h||"right"===r&&p||"top"===r&&m||"bottom"===r&&v,b=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(b&&"start"===a&&h||b&&"end"===a&&p||!b&&"start"===a&&m||!b&&"end"===a&&v),_=!!e.flipVariationsByContent&&(b&&"start"===a&&p||b&&"end"===a&&h||!b&&"start"===a&&v||!b&&"end"===a&&m),w=y||_;(f||g||w)&&(t.flipped=!0,(f||g)&&(r=o[l+1]),w&&(a=function(t){return"end"===t?"start":"start"===t?"end":t}(a)),t.placement=r+(a?"-"+a:""),t.offsets.popper=M({},t.offsets.popper,I(t.instance.popper,t.offsets.reference,t.placement)),t=F(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,n=e.split("-")[0],r=t.offsets,i=r.popper,a=r.reference,o=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[o?"left":"top"]=a[n]-(s?i[o?"width":"height"]:0),t.placement=$(e),t.offsets.popper=T(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!X(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=H(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};w(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=M({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(M({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){r.options.modifiers[e]=M({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return M({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&a(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return k(t,[{key:"update",value:function(){return B.call(this)}},{key:"destroy",value:function(){return R.call(this)}},{key:"enableEventListeners",value:function(){return U.call(this)}},{key:"disableEventListeners",value:function(){return q.call(this)}}]),t}();ot.Utils=("undefined"!=typeof window?window:t).PopperUtils,ot.placements=Z,ot.Defaults=at,e.a=ot}).call(this,n(10))},function(t,e,n){var r;"undefined"!=typeof self&&self,t.exports=(r=n(4),function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"0273":function(t,e,n){var r=n("c1b2"),i=n("4180"),a=n("2c6c");t.exports=r?function(t,e,n){return i.f(t,e,a(1,n))}:function(t,e,n){return t[e]=n,t}},"0363":function(t,e,n){var r=n("3ac6"),i=n("d659"),a=n("3e80"),o=n("1e63"),s=r.Symbol,l=i("wks");t.exports=function(t){return l[t]||(l[t]=o&&s[t]||(o?s:a)("Symbol."+t))}},"06cf":function(t,e,n){var r=n("83ab"),i=n("d1e7"),a=n("5c6c"),o=n("fc6a"),s=n("c04e"),l=n("5135"),u=n("0cfb"),c=Object.getOwnPropertyDescriptor;e.f=r?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(l(t,e))return a(!i.f.call(t,e),t[e])}},"06fa":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"09e1":function(t,e,n){t.exports=n("d339")},"0b11":function(t,e,n){t.exports=n("2f74")},"0c82":function(t,e,n){n("9bfb")("asyncDispose")},"0cf0":function(t,e,n){var r=n("b323"),i=n("9e57").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),a=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d03":function(t,e,n){var r=n("6eeb"),i=Date.prototype,a="Invalid Date",o="toString",s=i[o],l=i.getTime;new Date(NaN)+""!=a&&r(i,o,(function(){var t=l.call(this);return t==t?s.call(this):a}))},"0e67":function(t,e,n){n("9bfb")("iterator")},"14c3":function(t,e,n){var r=n("c6b6"),i=n("9263");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var a=n.call(t,e);if("object"!=typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},1561:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},1875:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"194a":function(t,e,n){var r=n("cc94");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0a":function(t,e,n){"use strict";var r=n("8f95"),i={};i[n("0363")("toStringTag")]="z",t.exports="[object z]"!==String(i)?function(){return"[object "+r(this)+"]"}:i.toString},"1c29":function(t,e,n){n("fc93"),n("6f89"),n("8b7b"),n("e363"),n("64db"),n("22a9"),n("9080"),n("0e67"),n("e699"),n("e7cc"),n("2e85"),n("980e"),n("9ac4"),n("274e"),n("8d05"),n("ef09"),n("aa1b"),n("8176"),n("522d");var r=n("764b");t.exports=r.Symbol},"1d80":function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"1e63":function(t,e,n){var r=n("06fa");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"22a9":function(t,e,n){n("9bfb")("hasInstance")},2364:function(t,e,n){n("0e67"),n("3e47b"),n("5145");var r=n("fbcc");t.exports=r.f("iterator")},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,a=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):a(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,a=n("9112"),o=n("6eeb"),s=n("ce4e"),l=n("e893"),u=n("94ca");t.exports=function(t,e){var n,c,d,f,h,p=t.target,m=t.global,v=t.stat;if(n=m?r:v?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in e){if(f=e[c],d=t.noTargetGet?(h=i(n,c))&&h.value:n[c],!u(m?c:p+(v?".":"#")+c,t.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(t.sham||d&&d.sham)&&a(f,"sham",!0),o(n,c,f,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},2532:function(t,e,n){"use strict";var r=n("23e7"),i=n("5a34"),a=n("1d80");r({target:"String",proto:!0,forced:!n("ab13")("includes")},{includes:function(t){return!!~String(a(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},"25f0":function(t,e,n){"use strict";var r=n("6eeb"),i=n("825a"),a=n("d039"),o=n("ad6d"),s="toString",l=RegExp.prototype,u=l[s],c=a((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),d=u.name!=s;(c||d)&&r(RegExp.prototype,s,(function(){var t=i(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in l)?o.call(t):n)}),{unsafe:!0})},"266f":function(t,e,n){n("9bfb")("patternMatch")},"274e":function(t,e,n){n("9bfb")("split")},2874:function(t,e,n){var r=n("4180").f,i=n("0273"),a=n("78e7"),o=n("1c0a"),s=n("0363")("toStringTag"),l=o!=={}.toString;t.exports=function(t,e,n,u){if(t){var c=n?t:t.prototype;a(c,s)||r(c,s,{configurable:!0,value:e}),u&&l&&i(c,"toString",o)}}},"2c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"2e85":function(t,e,n){n("9bfb")("replace")},"2f5a":function(t,e,n){var r,i,a,o=n("96e9"),s=n("3ac6"),l=n("dfdb"),u=n("0273"),c=n("78e7"),d=n("b2ed"),f=n("6e9a"),h=s.WeakMap;if(o){var p=new h,m=p.get,v=p.has,g=p.set;r=function(t,e){return g.call(p,t,e),e},i=function(t){return m.call(p,t)||{}},a=function(t){return v.call(p,t)}}else{var b=d("state");f[b]=!0,r=function(t,e){return u(t,b,e),e},i=function(t){return c(t,b)?t[b]:{}},a=function(t){return c(t,b)}}t.exports={set:r,get:i,has:a,enforce:function(t){return a(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},"2f74":function(t,e,n){t.exports=n("68ec")},"2f97":function(t,e,n){var r=n("dfdb");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"373a":function(t,e,n){t.exports=n("2364")},"37e8":function(t,e,n){var r=n("83ab"),i=n("9bf2"),a=n("825a"),o=n("df75");t.exports=r?Object.defineProperties:function(t,e){a(t);for(var n,r=o(e),s=r.length,l=0;s>l;)i.f(t,n=r[l++],e[n]);return t}},"3ac6":function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n("c8ba"))},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3e47":function(t,e,n){var r=n("a5eb"),i=n("c1b2");r({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:n("4180").f})},"3e47b":function(t,e,n){"use strict";var r=n("cbd0").charAt,i=n("2f5a"),a=n("4056"),o="String Iterator",s=i.set,l=i.getterFor(o);a(String,"String",(function(t){s(this,{type:o,string:String(t),index:0})}),(function(){var t,e=l(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},"3e80":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},4056:function(t,e,n){"use strict";var r=n("a5eb"),i=n("f575"),a=n("5779"),o=n("ec62"),s=n("2874"),l=n("0273"),u=n("d666"),c=n("0363"),d=n("7042"),f=n("7463"),h=n("bb83"),p=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,v=c("iterator"),g="keys",b="values",y="entries",_=function(){return this};t.exports=function(t,e,n,c,h,w,k){i(n,e,c);var x,M,T,O=function(t){if(t===h&&j)return j;if(!m&&t in D)return D[t];switch(t){case g:case b:case y:return function(){return new n(this,t)}}return function(){return new n(this)}},S=e+" Iterator",L=!1,D=t.prototype,C=D[v]||D["@@iterator"]||h&&D[h],j=!m&&C||O(h),P="Array"==e&&D.entries||C;if(P&&(x=a(P.call(new t)),p!==Object.prototype&&x.next&&(d||a(x)===p||(o?o(x,p):"function"!=typeof x[v]&&l(x,v,_)),s(x,S,!0,!0),d&&(f[S]=_))),h==b&&C&&C.name!==b&&(L=!0,j=function(){return C.call(this)}),d&&!k||D[v]===j||l(D,v,j),f[e]=j,h)if(M={values:O(b),keys:w?j:O(g),entries:O(y)},k)for(T in M)!m&&!L&&T in D||u(D,T,M[T]);else r({target:e,proto:!0,forced:m||L},M);return M}},4180:function(t,e,n){var r=n("c1b2"),i=n("77b2"),a=n("6f8d"),o=n("7168"),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(a(t),e=o(e,!0),a(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"428f":function(t,e,n){t.exports=n("da84")},4344:function(t,e,n){var r=n("dfdb"),i=n("6220"),a=n("0363")("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[a])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"44ad":function(t,e,n){var r=n("d039"),i=n("c6b6"),a="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a.call(t,""):Object(t)}:Object},"44ba":function(t,e,n){var r=n("c1b2"),i=n("7043"),a=n("2c6c"),o=n("a421"),s=n("7168"),l=n("78e7"),u=n("77b2"),c=Object.getOwnPropertyDescriptor;e.f=r?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(l(t,e))return a(!i.f.call(t,e),t[e])}},"44d2":function(t,e,n){var r=n("b622"),i=n("7c73"),a=n("9112"),o=r("unscopables"),s=Array.prototype;null==s[o]&&a(s,o,i(null)),t.exports=function(t){s[o][t]=!0}},"44e7":function(t,e,n){var r=n("861d"),i=n("c6b6"),a=n("b622")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==i(t))}},4508:function(t,e,n){var r=n("1561"),i=Math.max,a=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):a(n,e)}},4896:function(t,e,n){var r=n("6f8d"),i=n("c230"),a=n("9e57"),o=n("6e9a"),s=n("edbd"),l=n("7a37"),u=n("b2ed")("IE_PROTO"),c="prototype",d=function(){},f=function(){var t,e=l("iframe"),n=a.length;for(e.style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("