"),x=$("").addClass("mb-0 lead font-weight-bold").text(w),C=$("
").addClass("font-weight-light").text("(click to show)");k.append(x,C),_.append(k,r),t.append(_)}else t.append(r)}}},e.default={props:["status-id","status-username","status-template","status-url","status-profile-url","status-avatar"],data:function(){return{status:{},media:{},user:{},reactions:{liked:!1,shared:!1},likes:{},likesPage:1,shares:{},sharesPage:1}},mounted:function(){this.fetchData(),this.authCheck();var t=$('meta[name="csrf-token"]').attr("content");$('input[name="_token"]').each(function(e,n){$(n).val(t)})},updated:function(){if($(".carousel").carousel(),this.reactions&&(1==this.reactions.bookmarked&&$(".far.fa-bookmark").removeClass("far").addClass("fas text-warning"),1==this.reactions.shared&&$(".far.fa-share-square").addClass("text-primary"),1==this.reactions.liked&&$(".far.fa-heart ").removeClass("far text-dark").addClass("fas text-danger")),this.status){var t=this.status.account.username+" posted a photo: "+this.status.favourites_count+" likes";$("head title").text(t)}},methods:{authCheck:function(){1==$("body").hasClass("loggedIn")&&($(".comment-form-guest").addClass("d-none"),$(".comment-form").removeClass("d-none"))},showMuteBlock:function(){this.status.account.id==this.user.id?$(".post-actions .menu-author").removeClass("d-none"):$(".post-actions .menu-user").removeClass("d-none")},reportUrl:function(){return"/i/report?type=post&id="+this.status.id},editUrl:function(){return this.status.url+"/edit"},timestampFormat:function(){var t=new Date(this.status.created_at);return t.toDateString()+" "+t.toLocaleTimeString()},fetchData:function(){var t=this,e=this.$loading.show({opacity:0,"background-color":"#f5f8fa"});axios.get("/api/v2/profile/"+this.statusUsername+"/status/"+this.statusId).then(function(n){var i=t;i.status=n.data.status,i.user=n.data.user,i.media=i.status.media_attachments,i.reactions=n.data.reactions,i.likes=n.data.likes,i.shares=n.data.shares,i.likesPage=2,i.sharesPage=2,t.buildPresenter(),t.showMuteBlock(),e.hide(),$(".postComponent").removeClass("d-none")}).catch(function(t){if(t.response)switch(t.response.status){case 401:$(".postPresenterLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");break;default:$(".postPresenterLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occured, cannot fetch media. Please try again later.")}else $(".postPresenterLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occured, cannot fetch media. Please try again later.")})},commentFocus:function(){$('.comment-form input[name="comment"]').focus()},likesModal:function(){0!=this.status.favourites_count&&0!=$("body").hasClass("loggedIn")&&this.$refs.likesModal.show()},sharesModal:function(){0!=this.status.reblogs_count&&0!=$("body").hasClass("loggedIn")&&this.$refs.sharesModal.show()},infiniteLikesHandler:function(t){var e=this,n="/api/v2/likes/profile/"+this.statusUsername+"/status/"+this.statusId;axios.get(n,{params:{page:this.likesPage}}).then(function(n){var r,o=n.data;o.data.length?(e.likesPage+=1,(r=e.likes).push.apply(r,i(o.data)),t.loaded()):t.complete()})},infiniteSharesHandler:function(t){var e=this;axios.get("/api/v2/shares/profile/"+this.statusUsername+"/status/"+this.statusId,{params:{page:this.sharesPage}}).then(function(n){var r,o=n.data;o.data.length?(e.sharesPage+=1,(r=e.shares).push.apply(r,i(o.data)),t.loaded()):t.complete()})},buildPresenter:function(){var t=$(".postPresenterContainer"),e=this.status,n=this.media;if($('input[name="item"]').each(function(t,n){$(n).val(e.account.id)}),0==t.children().length){switch(this.status.pf_type?this.status.pf_type:this.statusTemplate){case"image":case"photo":pixelfed.presenter.show.image(t,n,this.status);break;case"album":case"photo:album":pixelfed.presenter.show.imageAlbum(t,n,this.status);break;case"video":pixelfed.presenter.show.video(t,n,this.status);break;case"video:album":case"photo:video:album":return void $(".postPresenterLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("We cannot load this post properly. We're working on a fix!");default:$(".postPresenterLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occured, cannot fetch media. Please try again later.")}0!=t.children().length?(pixelfed.readmore(),$(".postPresenterLoader").addClass("d-none"),$(".postPresenterContainer").removeClass("d-none")):$(".postPresenterLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occured, cannot fetch media. Please try again later.")}},likeStatus:function(t){var e=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/like",{item:this.status.id}).then(function(t){e.status.favourites_count=t.data.count,1==e.reactions.liked?e.reactions.liked=!1:e.reactions.liked=!0}).catch(function(t){swal("Error","Something went wrong, please try again later.","error")})},shareStatus:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/share",{item:this.status.id}).then(function(e){t.status.reblogs_count=e.data.count,1==t.reactions.shared?t.reactions.shared=!1:t.reactions.shared=!0}).catch(function(t){swal("Error","Something went wrong, please try again later.","error")})},bookmarkStatus:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/bookmark",{item:this.status.id}).then(function(e){1==t.reactions.bookmarked?t.reactions.bookmarked=!1:t.reactions.bookmarked=!0}).catch(function(t){swal("Error","Something went wrong, please try again later.","error")})},muteProfile:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:this.status.account.id}).then(function(e){swal("Success","You have successfully muted "+t.status.account.acct,"success")}).catch(function(t){swal("Error","Something went wrong. Please try again later.","error")})},blockProfile:function(){var t=this;0!=$("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:this.status.account.id}).then(function(e){swal("Success","You have successfully blocked "+t.status.account.acct,"success")}).catch(function(t){swal("Error","Something went wrong. Please try again later.","error")})},deletePost:function(){0!=$("body").hasClass("loggedIn")&&axios.post("/i/delete",{type:"status",item:this.status.id}).then(function(t){swal("Success","You have successfully deleted this post","success")}).catch(function(t){swal("Error","Something went wrong. Please try again later.","error")})}}}},D32l:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".postPresenterContainer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#000;min-height:600px}.cursor-pointer{cursor:pointer}",""])},DQJV:function(t,e){$(document).ready(function(){$(".status-card > .card-footer").each(function(){$(this).addClass("d-none")}),$(document).on("click",".status-comment-focus",function(t){$(this).parents().eq(2).find(".card-footer").removeClass("d-none"),$(this).parents().eq(2).find('input[name="comment"]').focus()}),$(document).on("submit",".comment-form",function(t,e){t.preventDefault();var n=$(this),i=n.data("id"),r=n.find('input[name="comment"]'),o={item:i,comment:r.val()};r.prop("disabled",!0),axios.post("/i/comment",o).then(function(t){var e=t.data.username,i=(t.data.url,t.data.profile),o=t.data.comment;if(1==$(".status-container").length)var a=n.parents().eq(3).find(".comments");else a=n.parents().eq(1).find(".comments");var s='
'+e+'
";a.prepend(s),r.val(""),r.blur(),r.prop("disabled",!1)}).catch(function(t){})})})},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},"FZ+f":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]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=(a=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[n].concat(o).concat([r]).join("\n")}var a;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 i={},r=0;r1&&void 0!==arguments[1]?arguments[1]:{},b=[],y=0,w=void 0,_=void 0;if(isNaN(t))throw new Error("Invalid arguments");return o=!0===g.bits,f=!0===g.unix,e=g.base||2,d=void 0!==g.round?g.round:f?1:2,p=void 0!==g.separator&&g.separator||"",h=void 0!==g.spacer?g.spacer:f?"":" ",v=g.symbols||g.suffixes||{},m=2===e&&g.standard||"jedec",u=g.output||"string",s=!0===g.fullform,l=g.fullforms instanceof Array?g.fullforms:[],w=void 0!==g.exponent?g.exponent:-1,c=(_=Number(t))<0,a=e>2?1e3:1024,c&&(_=-_),(-1===w||isNaN(w))&&(w=Math.floor(Math.log(_)/Math.log(a)))<0&&(w=0),w>8&&(w=8),0===_?(b[0]=0,b[1]=f?"":i[m][o?"bits":"bytes"][w]):(y=_/(2===e?Math.pow(2,10*w):Math.pow(1e3,w)),o&&(y*=8)>=a&&w<8&&(y/=a,w++),b[0]=Number(y.toFixed(w>0?d:0)),b[1]=10===e&&1===w?o?"kb":"kB":i[m][o?"bits":"bytes"][w],f&&(b[1]="jedec"===m?b[1].charAt(0):w>0?b[1].replace(/B$/,""):b[1],n.test(b[1])&&(b[0]=Math.floor(b[0]),b[1]=""))),c&&(b[0]=-b[0]),b[1]=v[b[1]]||b[1],"array"===u?b:"exponent"===u?w:"object"===u?{value:b[0],suffix:b[1],symbol:b[1]}:(s&&(b[1]=l[w]?l[w]:r[m][w]+(o?"bit":"byte")+(1===b[0]?"":"s")),p.length>0&&(b[0]=b[0].toString().replace(".",p)),b.join(h))}o.partial=function(t){return function(e){return o(e,t)}},t.exports=o}("undefined"!=typeof window&&window)}).call(e,n("DuR2"))},"I3G/":function(t,e,n){"use strict";(function(e,n){var i=Object.freeze({});function r(t){return void 0===t||null===t}function o(t){return void 0!==t&&null!==t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function l(t){return null!==t&&"object"==typeof t}var c=Object.prototype.toString;function u(t){return"[object Object]"===c.call(t)}function d(t){return"[object RegExp]"===c.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function w(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var k=/-(\w)/g,x=_(function(t){return t.replace(k,function(t,e){return e?e.toUpperCase():""})}),C=_(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),S=/\B([A-Z])/g,T=_(function(t){return t.replace(S,"-$1").toLowerCase()});var $=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function E(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function A(t,e){for(var n in e)t[n]=e[n];return t}function O(t){for(var e={},n=0;n0,Z=K&&K.indexOf("edge/")>0,Q=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===Y),tt=(K&&/chrome\/\d+/.test(K),{}.watch),et=!1;if(W)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(t){}var it=function(){return void 0===z&&(z=!W&&!G&&void 0!==e&&"server"===e.process.env.VUE_ENV),z},rt=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"==typeof t&&/native code/.test(t.toString())}var at,st="undefined"!=typeof Symbol&&ot(Symbol)&&"undefined"!=typeof Reflect&&ot(Reflect.ownKeys);at="undefined"!=typeof Set&&ot(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var lt=P,ct=0,ut=function(){this.id=ct++,this.subs=[]};ut.prototype.addSub=function(t){this.subs.push(t)},ut.prototype.removeSub=function(t){b(this.subs,t)},ut.prototype.depend=function(){ut.target&&ut.target.addDep(this)},ut.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(o&&!w(r,"default"))a=!1;else if(""===a||a===T(t)){var l=Vt(String,r.type);(l<0||s0&&(de((c=t(c,(n||"")+"_"+l))[0])&&de(d)&&(i[u]=gt(d.text+c[0].text),c.shift()),i.push.apply(i,c)):s(c)?de(d)?i[u]=gt(d.text+c):""!==c&&i.push(gt(c)):de(c)&&de(d)?i[u]=gt(d.text+c.text):(a(e._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+l+"__"),i.push(c)));return i}(t):void 0}function de(t){return o(t)&&o(t.text)&&!1===t.isComment}function fe(t,e){return(t.__esModule||st&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function pe(t){return t.isComment&&t.asyncFactory}function he(t){if(Array.isArray(t))for(var e=0;eOe&&Se[n].id>t.id;)n--;Se.splice(n+1,0,t)}else Se.push(t);Ee||(Ee=!0,ee(Pe))}}(this)},Ie.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Ut(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Ie.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ie.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Ie.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Be={enumerable:!0,configurable:!0,get:P,set:P};function Ne(t,e,n){Be.get=function(){return this[e][n]},Be.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Be)}function Me(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[];t.$parent&&xt(!1);var o=function(o){r.push(o);var a=Dt(o,e,n,t);Et(i,o,a),o in t||Ne(t,"_props",o)};for(var a in e)o(a);xt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?P:$(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){ft();try{return t.call(e,e)}catch(t){return Ut(t,e,"data()"),{}}finally{pt()}}(e,t):e||{})||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);for(;r--;){var o=n[r];0,i&&w(i,o)||H(o)||Ne(t,"_data",o)}$t(e,!0)}(t):$t(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=it();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;0,i||(n[r]=new Ie(t,a||P,P,je)),r in t||Fe(t,r,o)}}(t,e.computed),e.watch&&e.watch!==tt&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r=0||n.indexOf(t[r])<0)&&i.push(t[r]);return i}return t}function pn(t){this._init(t)}function hn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=jt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)Ne(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)Fe(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,F.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=A({},a.options),r[i]=a,a}}function mn(t){return t&&(t.Ctor.options.name||t.tag)}function vn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function gn(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=mn(a.componentOptions);s&&!e(s)&&bn(n,o,i,r)}}}function bn(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,b(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=un++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i,n._parentElm=e._parentElm,n._refElm=e._refElm;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=jt(dn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&ge(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=be(e._renderChildren,r),t.$scopedSlots=i,t._c=function(e,n,i,r){return cn(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return cn(t,e,n,i,r,!0)};var o=n&&n.data;Et(t,"$attrs",o&&o.attrs||i,null,!0),Et(t,"$listeners",e._parentListeners||i,null,!0)}(e),Ce(e,"beforeCreate"),function(t){var e=He(t.$options.inject,t);e&&(xt(!1),Object.keys(e).forEach(function(n){Et(t,n,e[n])}),xt(!0))}(e),Me(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),Ce(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(pn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=At,t.prototype.$delete=Ot,t.prototype.$watch=function(t,e,n){if(u(e))return Re(this,t,e,n);(n=n||{}).user=!0;var i=new Ie(this,t,e,n);return n.immediate&&e.call(this,i.value),function(){i.teardown()}}}(pn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){if(Array.isArray(t))for(var i=0,r=t.length;i1?E(n):n;for(var i=E(arguments,1),r=0,o=n.length;rparseInt(this.max)&&bn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return R}};Object.defineProperty(t,"config",e),t.util={warn:lt,extend:A,mergeOptions:jt,defineReactive:Et},t.set=At,t.delete=Ot,t.nextTick=ee,t.options=Object.create(null),F.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,A(t.options.components,wn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=E(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=jt(this.options,t),this}}(t),hn(t),function(t){F.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(pn),Object.defineProperty(pn.prototype,"$isServer",{get:it}),Object.defineProperty(pn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(pn,"FunctionalRenderContext",{value:tn}),pn.version="2.5.17";var _n=m("style,class"),kn=m("input,textarea,option,select,progress"),xn=function(t,e,n){return"value"===n&&kn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Cn=m("contenteditable,draggable,spellcheck"),Sn=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Tn="http://www.w3.org/1999/xlink",$n=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},En=function(t){return $n(t)?t.slice(6,t.length):""},An=function(t){return null==t||!1===t};function On(t){for(var e=t.data,n=t,i=t;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Pn(i.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Pn(e,n.data));return function(t,e){if(o(t)||o(e))return Ln(t,In(e));return""}(e.staticClass,e.class)}function Pn(t,e){return{staticClass:Ln(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Ln(t,e){return t?e?t+" "+e:t:e||""}function In(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i-1?ri(t,e,n):Sn(e)?An(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Cn(e)?t.setAttribute(e,An(n)||"false"===n?"false":"true"):$n(e)?An(n)?t.removeAttributeNS(Tn,En(e)):t.setAttributeNS(Tn,e,n):ri(t,e,n)}function ri(t,e,n){if(An(n))t.removeAttribute(e);else{if(X&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var oi={create:ni,update:ni};function ai(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=On(e),l=n._transitionClasses;o(l)&&(s=Ln(s,In(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var si,li,ci,ui,di,fi,pi={create:ai,update:ai},hi=/[\w).+\-_$\]]/;function mi(t){var e,n,i,r,o,a=!1,s=!1,l=!1,c=!1,u=0,d=0,f=0,p=0;for(i=0;i=0&&" "===(m=t.charAt(h));h--);m&&hi.test(m)||(c=!0)}}else void 0===r?(p=i+1,r=t.slice(0,i).trim()):v();function v(){(o||(o=[])).push(t.slice(p,i).trim()),p=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==p&&v(),o)for(i=0;i-1?{exp:t.slice(0,ui),key:'"'+t.slice(ui+1)+'"'}:{exp:t,key:null};li=t,ui=di=fi=0;for(;!Ai();)Oi(ci=Ei())?Li(ci):91===ci&&Pi(ci);return{exp:t.slice(0,di),key:t.slice(di+1,fi)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Ei(){return li.charCodeAt(++ui)}function Ai(){return ui>=si}function Oi(t){return 34===t||39===t}function Pi(t){var e=1;for(di=ui;!Ai();)if(Oi(t=Ei()))Li(t);else if(91===t&&e++,93===t&&e--,0===e){fi=ui;break}}function Li(t){for(var e=t;!Ai()&&(t=Ei())!==e;);}var Ii,Bi="__r",Ni="__c";function Mi(t,e,n,i,r){var o;e=(o=e)._withTask||(o._withTask=function(){Jt=!0;var t=o.apply(null,arguments);return Jt=!1,t}),n&&(e=function(t,e,n){var i=Ii;return function r(){null!==t.apply(null,arguments)&&ji(e,r,n,i)}}(e,t,i)),Ii.addEventListener(t,e,et?{capture:i,passive:r}:i)}function ji(t,e,n,i){(i||Ii).removeEventListener(t,e._withTask||e,n)}function Fi(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Ii=e.elm,function(t){if(o(t[Bi])){var e=X?"change":"input";t[e]=[].concat(t[Bi],t[e]||[]),delete t[Bi]}o(t[Ni])&&(t.change=[].concat(t[Ni],t.change||[]),delete t[Ni])}(n),se(n,i,Mi,ji,e.context),Ii=void 0}}var Di={create:Fi,update:Fi};function Ri(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in o(l.__ob__)&&(l=e.data.domProps=A({},l)),s)r(l[n])&&(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=i;var c=r(i)?"":String(i);Hi(a,c)&&(a.value=c)}else a[n]=i}}}function Hi(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(o(i)){if(i.lazy)return!1;if(i.number)return h(n)!==h(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Vi={create:Ri,update:Ri},Ui=_(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function zi(t){var e=qi(t.style);return t.staticStyle?A(t.staticStyle,e):e}function qi(t){return Array.isArray(t)?O(t):"string"==typeof t?Ui(t):t}var Wi,Gi=/^--/,Yi=/\s*!important$/,Ki=function(t,e,n){if(Gi.test(e))t.style.setProperty(e,n);else if(Yi.test(n))t.style.setProperty(e,n.replace(Yi,""),"important");else{var i=Ji(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function er(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function nr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&A(e,ir(t.name||"v")),A(e,t),e}return"string"==typeof t?ir(t):void 0}}var ir=_(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),rr=W&&!J,or="transition",ar="animation",sr="transition",lr="transitionend",cr="animation",ur="animationend";rr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(sr="WebkitTransition",lr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(cr="WebkitAnimation",ur="webkitAnimationEnd"));var dr=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function fr(t){dr(function(){dr(t)})}function pr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),tr(t,e))}function hr(t,e){t._transitionClasses&&b(t._transitionClasses,e),er(t,e)}function mr(t,e,n){var i=gr(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===or?lr:ur,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=a&&c()};setTimeout(function(){l0&&(n=or,u=a,d=o.length):e===ar?c>0&&(n=ar,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?or:ar:null)?n===or?o.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===or&&vr.test(i[sr+"Property"])}}function br(t,e){for(;t.length1}function Cr(t,e){!0!==e.data.show&&wr(e)}var Sr=function(t){var e,n,i={},l=t.modules,c=t.nodeOps;for(e=0;eh?y(t,r(n[g+1])?null:n[g+1].elm,n,p,g,i):p>g&&_(0,e,f,h)}(l,p,h,n,s):o(h)?(o(t.text)&&c.setTextContent(l,""),y(l,null,h,0,h.length-1,n)):o(p)?_(0,p,0,p.length-1):o(t.text)&&c.setTextContent(l,""):t.text!==e.text&&c.setTextContent(l,e.text),o(f)&&o(u=f.hook)&&o(u=u.postpatch)&&u(t,e)}}}function S(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if(B(Or(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Ar(t,e){return e.every(function(e){return!B(e,t)})}function Or(t){return"_value"in t?t._value:t.value}function Pr(t){t.target.composing=!0}function Lr(t){t.target.composing&&(t.target.composing=!1,Ir(t.target,"input"))}function Ir(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Br(t){return!t.componentInstance||t.data&&t.data.transition?t:Br(t.componentInstance._vnode)}var Nr={model:Tr,show:{bind:function(t,e,n){var i=e.value,r=(n=Br(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,wr(n,function(){t.style.display=o})):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=Br(n)).data&&n.data.transition?(n.data.show=!0,i?wr(n,function(){t.style.display=t.__vOriginalDisplay}):_r(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},Mr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function jr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?jr(he(e.children)):t}function Fr(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[x(o)]=r[o];return e}function Dr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Rr={name:"transition",props:Mr,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag||pe(t)})).length){0;var i=this.mode;0;var r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=jr(r);if(!o)return r;if(this._leaving)return Dr(t,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=Fr(this),c=this._vnode,u=jr(c);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!pe(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=A({},l);if("out-in"===i)return this._leaving=!0,le(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Dr(t,r);if("in-out"===i){if(pe(o))return c;var f,p=function(){f()};le(l,"afterEnter",p),le(l,"enterCancelled",p),le(d,"delayLeave",function(t){f=t})}}return r}}},Hr=A({tag:String,moveClass:String},Mr);function Vr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Ur(t){t.data.newPos=t.elm.getBoundingClientRect()}function zr(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete Hr.mode;var qr={Transition:Rr,TransitionGroup:{props:Hr,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Fr(this),s=0;s-1?Dn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Dn[t]=/HTMLUnknownElement/.test(e.toString())},A(pn.options.directives,Nr),A(pn.options.components,qr),pn.prototype.__patch__=W?Sr:P,pn.prototype.$mount=function(t,e){return function(t,e,n){return t.$el=e,t.$options.render||(t.$options.render=vt),Ce(t,"beforeMount"),new Ie(t,function(){t._update(t._render(),n)},P,null,!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Ce(t,"mounted")),t}(this,t=t&&W?Hn(t):void 0,e)},W&&setTimeout(function(){R.devtools&&rt&&rt.emit("init",pn)},0);var Wr=/\{\{((?:.|\n)+?)\}\}/g,Gr=/[-.*+?^${}()|[\]\/\\]/g,Yr=_(function(t){var e=t[0].replace(Gr,"\\$&"),n=t[1].replace(Gr,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")});function Kr(t,e){var n=e?Yr(e):Wr;if(n.test(t)){for(var i,r,o,a=[],s=[],l=n.lastIndex=0;i=n.exec(t);){(r=i.index)>l&&(s.push(o=t.slice(l,r)),a.push(JSON.stringify(o)));var c=mi(i[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),l=r+i[0].length}return l\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ro="[a-zA-Z_][\\w\\-\\.]*",oo="((?:"+ro+"\\:)?"+ro+")",ao=new RegExp("^<"+oo),so=/^\s*(\/?)>/,lo=new RegExp("^<\\/"+oo+"[^>]*>"),co=/^]+>/i,uo=/^",""":'"',"&":"&","
":"\n"," ":"\t"},go=/&(?:lt|gt|quot|amp);/g,bo=/&(?:lt|gt|quot|amp|#10|#9);/g,yo=m("pre,textarea",!0),wo=function(t,e){return t&&yo(t)&&"\n"===e[0]};function _o(t,e){var n=e?bo:go;return t.replace(n,function(t){return vo[t]})}var ko,xo,Co,So,To,$o,Eo,Ao,Oo=/^@|^v-on:/,Po=/^v-|^@|^:/,Lo=/([^]*?)\s+(?:in|of)\s+([^]*)/,Io=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Bo=/^\(|\)$/g,No=/:(.*)$/,Mo=/^:|^v-bind:/,jo=/\.[^.]+/g,Fo=_(Qr);function Do(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:function(t){for(var e={},n=0,i=t.length;n]*>)","i")),f=t.replace(d,function(t,n,i){return c=i.length,ho(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),wo(u,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-f.length,t=f,T(u,l-c,l)}else{var p=t.indexOf("<");if(0===p){if(uo.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h)),x(h+3);continue}}if(fo.test(t)){var m=t.indexOf("]>");if(m>=0){x(m+2);continue}}var v=t.match(co);if(v){x(v[0].length);continue}var g=t.match(lo);if(g){var b=l;x(g[0].length),T(g[1],b,l);continue}var y=C();if(y){S(y),wo(i,t)&&x(1);continue}}var w=void 0,_=void 0,k=void 0;if(p>=0){for(_=t.slice(p);!(lo.test(_)||ao.test(_)||uo.test(_)||fo.test(_)||(k=_.indexOf("<",1))<0);)p+=k,_=t.slice(p);w=t.substring(0,p),x(p)}p<0&&(w=t,t=""),e.chars&&w&&e.chars(w)}if(t===n){e.chars&&e.chars(t);break}}function x(e){l+=e,t=t.substring(e)}function C(){var e=t.match(ao);if(e){var n,i,r={tagName:e[1],attrs:[],start:l};for(x(e[0].length);!(n=t.match(so))&&(i=t.match(io));)x(i[0].length),r.attrs.push(i);if(n)return r.unarySlash=n[1],x(n[0].length),r.end=l,r}}function S(t){var n=t.tagName,l=t.unarySlash;o&&("p"===i&&no(n)&&T(i),s(n)&&i===n&&T(n));for(var c=a(n)||!!l,u=t.attrs.length,d=new Array(u),f=0;f=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=r.length-1;c>=a;c--)e.end&&e.end(r[c].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}T()}(t,{warn:ko,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,start:function(t,o,c){var u=i&&i.ns||Ao(t);X&&"svg"===u&&(o=function(t){for(var e=[],n=0;n-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),xi(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+$i(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+$i(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+$i(e,"$$c")+"}",null,!0)}(t,i,r);else if("input"===o&&"radio"===a)!function(t,e,n){var i=n&&n.number,r=Ci(t,"value")||"null";yi(t,"checked","_q("+e+","+(r=i?"_n("+r+")":r)+")"),xi(t,"change",$i(e,r),null,!0)}(t,i,r);else if("input"===o||"textarea"===o)!function(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,l=!o&&"range"!==i,c=o?"change":"range"===i?Bi:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=$i(e,u);l&&(d="if($event.target.composing)return;"+d),yi(t,"value","("+e+")"),xi(t,c,d,null,!0),(s||a)&&xi(t,"blur","$forceUpdate()")}(t,i,r);else if(!R.isReservedTag(o))return Ti(t,i,r),!1;return!0},text:function(t,e){e.value&&yi(t,"textContent","_s("+e.value+")")},html:function(t,e){e.value&&yi(t,"innerHTML","_s("+e.value+")")}},isPreTag:function(t){return"pre"===t},isUnaryTag:to,mustUseProp:xn,canBeLeftOpenTag:eo,isReservedTag:jn,getTagNamespace:Fn,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Yo)},Zo=_(function(t){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))});function Qo(t,e){t&&(Ko=Zo(e.staticKeys||""),Xo=e.isReservedTag||L,function t(e){e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||v(t.tag)||!Xo(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Ko)))}(e);if(1===e.type){if(!Xo(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,i=e.children.length;n|^function\s*\(/,ea=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,na={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ia={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},ra=function(t){return"if("+t+")return null;"},oa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ra("$event.target !== $event.currentTarget"),ctrl:ra("!$event.ctrlKey"),shift:ra("!$event.shiftKey"),alt:ra("!$event.altKey"),meta:ra("!$event.metaKey"),left:ra("'button' in $event && $event.button !== 0"),middle:ra("'button' in $event && $event.button !== 1"),right:ra("'button' in $event && $event.button !== 2")};function aa(t,e,n){var i=e?"nativeOn:{":"on:{";for(var r in t)i+='"'+r+'":'+sa(r,t[r])+",";return i.slice(0,-1)+"}"}function sa(t,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return sa(t,e)}).join(",")+"]";var n=ea.test(e.value),i=ta.test(e.value);if(e.modifiers){var r="",o="",a=[];for(var s in e.modifiers)if(oa[s])o+=oa[s],na[s]&&a.push(s);else if("exact"===s){var l=e.modifiers;o+=ra(["ctrl","shift","alt","meta"].filter(function(t){return!l[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);return a.length&&(r+=function(t){return"if(!('button' in $event)&&"+t.map(la).join("&&")+")return null;"}(a)),o&&(r+=o),"function($event){"+r+(n?"return "+e.value+"($event)":i?"return ("+e.value+")($event)":e.value)+"}"}return n||i?e.value:"function($event){"+e.value+"}"}function la(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=na[t],i=ia[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var ca={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:P},ua=function(t){this.options=t,this.warn=t.warn||gi,this.transforms=bi(t.modules,"transformCode"),this.dataGenFns=bi(t.modules,"genData"),this.directives=A(A({},ca),t.directives);var e=t.isReservedTag||L;this.maybeComponent=function(t){return!e(t.tag)},this.onceId=0,this.staticRenderFns=[]};function da(t,e){var n=new ua(e);return{render:"with(this){return "+(t?fa(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function fa(t,e){if(t.staticRoot&&!t.staticProcessed)return pa(t,e);if(t.once&&!t.onceProcessed)return ha(t,e);if(t.for&&!t.forProcessed)return function(t,e,n,i){var r=t.for,o=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";0;return t.forProcessed=!0,(i||"_l")+"(("+r+"),function("+o+a+s+"){return "+(n||fa)(t,e)+"})"}(t,e);if(t.if&&!t.ifProcessed)return ma(t,e);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',i=ba(t,e),r="_t("+n+(i?","+i:""),o=t.attrs&&"{"+t.attrs.map(function(t){return x(t.name)+":"+t.value}).join(",")+"}",a=t.attrsMap["v-bind"];!o&&!a||i||(r+=",null");o&&(r+=","+o);a&&(r+=(o?"":",null")+","+a);return r+")"}(t,e);var n;if(t.component)n=function(t,e,n){var i=e.inlineTemplate?null:ba(e,n,!0);return"_c("+t+","+va(e,n)+(i?","+i:"")+")"}(t.component,t,e);else{var i=t.plain?void 0:va(t,e),r=t.inlineTemplate?null:ba(t,e,!0);n="_c('"+t.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o':'',Sa.innerHTML.indexOf("
")>0}var Ea=!!W&&$a(!1),Aa=!!W&&$a(!0),Oa=_(function(t){var e=Hn(t);return e&&e.innerHTML}),Pa=pn.prototype.$mount;pn.prototype.$mount=function(t,e){if((t=t&&Hn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=Oa(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){0;var r=Ta(i,{shouldDecodeNewlines:Ea,shouldDecodeNewlinesForHref:Aa,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Pa.call(this,t,e)},pn.compile=Ta,t.exports=pn}).call(e,n("DuR2"),n("162o").setImmediate)},ITff:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"card card-default mb-4"},[n("div",{staticClass:"card-header font-weight-bold bg-white"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("span",[t._v("\n OAuth Clients\n ")]),t._v(" "),n("a",{staticClass:"action-link",attrs:{tabindex:"-1"},on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"card-body"},[0===t.clients.length?n("p",{staticClass:"mb-0"},[t._v("\n You have not created any OAuth clients.\n ")]):t._e(),t._v(" "),t.clients.length>0?n("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),n("tbody",t._l(t.clients,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link",attrs:{tabindex:"-1"},on:{click:function(n){t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.destroy(e)}}},[t._v("\n Delete\n ")])])])}))]):t._e()])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{attrs:{role:"form"}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text",autocomplete:"off"},domProps:{value:t.createForm.name},on:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.store(e):null},input:function(e){e.target.composing||t.$set(t.createForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.createForm.redirect},on:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.store(e):null},input:function(e){e.target.composing||t.$set(t.createForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary font-weight-bold",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-edit-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[t.editForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(4),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.editForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{attrs:{role:"form"}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.name,expression:"editForm.name"}],staticClass:"form-control",attrs:{id:"edit-client-name",type:"text"},domProps:{value:t.editForm.name},on:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.update(e):null},input:function(e){e.target.composing||t.$set(t.editForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.redirect,expression:"editForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.editForm.redirect},on:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.update(e):null},input:function(e){e.target.composing||t.$set(t.editForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.update}},[t._v("\n Save Changes\n ")])])])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Client ID")]),this._v(" "),e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Secret")]),this._v(" "),e("th"),this._v(" "),e("th")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Create Client\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Edit Client\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])}]}},IbWa:function(t,e,n){var i=n("KxM4");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n("rjj0")("f94079de",i,!0,{})},Id91:function(t,e,n){var i=n("1MO9");"string"==typeof i&&(i=[[t.i,i,""]]);var r={transform:void 0};n("MTIv")(i,r);i.locals&&(t.exports=i.locals)},KkaO:function(t,e,n){var i=n("VU/8")(n("Bx+d"),n("2yyp"),!1,function(t){n("IbWa")},null,null);t.exports=i.exports},KxM4:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"#l-modal .modal-body,#s-modal .modal-body{max-height:70vh;overflow-y:scroll}.col-md-4,.reactions,.status-comments{background:#fff}.postPresenterContainer{background:#000;min-height:600px}",""])},Lypw:function(t,e,n){var i=n("VU/8")(n("lAxH"),n("3G5u"),!1,function(t){n("WutH")},"data-v-bf6d3a58",null);t.exports=i.exports},LzCD:function(t,e,n){var i,r,o,a;window,a=function(t){return t},r=[n("3H+/"),n("82JG"),n("99Qu"),n("oxAh"),n("qBun"),n("XIBt")],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)},MTIv:function(t,e,n){var i,r,o={},a=(i=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=i.apply(this,arguments)),r}),s=function(t){var e={};return function(t){return void 0===e[t]&&(e[t]=function(t){return document.querySelector(t)}.call(this,t)),e[t]}}(),l=null,c=0,u=[],d=n("mJPh");function f(t,e){for(var n=0;n=0&&u.splice(e,1)}function v(t){var e=document.createElement("style");return t.attrs.type="text/css",g(e,t.attrs),h(t,e),e}function g(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function b(t,e){var n,i,r,o;if(e.transform&&t.css){if(!(o=e.transform(t.css)))return function(){};t.css=o}if(e.singleton){var a=c++;n=l||(l=v(e)),i=_.bind(null,n,a,!1),r=_.bind(null,n,a,!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 t.attrs.type="text/css",t.attrs.rel="stylesheet",g(e,t.attrs),h(t,e),e}(e),i=function(t,e,n){var i=n.css,r=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(i=d(i));r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),r=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),i=function(t,e){var n=e.css,i=e.media;i&&t.setAttribute("media",i);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){m(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}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||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return f(n,e),function(t){for(var i=[],r=0;rr?1:0}},Ptqd:function(t,e){t.exports=function(){var t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(e,n,i){var r;return i=i||{},r="string"==typeof t[e]?t[e]:1===n?t[e].one:t[e].other.replace("{{count}}",n),i.addSuffix?i.comparison>0?"in "+r:r+" ago":r}}}},RRit:function(t,e){$(document).ready(function(){$(".nav-link.nav-notification").on("click",function(t){t.preventDefault();var e=$(this);"tooltip"==e.attr("data-toggle")&&(e.attr("data-toggle","dropdown"),e.tooltip("dispose"));$(".navbar .nav-notification-dropdown");pixelfed.notifications}),$('.notification-action[data-type="mark_read"]').on("click",function(t){t.preventDefault(),axios.post("/api/v2/notifications",{action:"mark_read"}).then(function(t){pixelfed.notifications=!1,ls.del("n.lastCheck"),ls.del("n.count"),swal("Success!","All of your notifications have been marked as read.","success")}).catch(function(t){swal("Something went wrong!","An error occured, please try again later.","error")})}),pixelfed.n.showCount=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=$(".nav-link.nav-notification");e.tooltip("dispose"),e.attr("title",t),e.attr("data-toggle","tooltip"),e.tooltip({template:''}),setTimeout(function(){e.fadeIn(function(){e.tooltip("show")})},500)},pixelfed.n.sound=function(){new Audio("/static/beep.mp3").play()},pixelfed.n.check=function(t){pixelfed.n.showCount(t)},pixelfed.n.fetch=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=Date.now(),n=ls.get("n.lastCheck"),i=ls.get("n.count");null==n&&(n=e),!t&&null!=i||n>e-9e5?ls.set("n.lastCheck",n):axios.get("/api/v2/notifications").then(function(t){var e=t.data.length;e>0&&(ls.set("n.count",e),ls.set("n.lastCheck",Date.now()),pixelfed.n.check(e))}).catch(function(t){})},1==$("body").hasClass("loggedIn")&&pixelfed.n.fetch()})},SJLv:function(t,e){var n=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];t.exports=function(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);var r=n.concat(e).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+r.join("|")+"|.)","g")}},SZtu:function(t,e,n){var i=n("o8ll");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n("rjj0")("38a23c8c",i,!0,{})},Th61:function(t,e,n){$(document).ready(function(){var t=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("value"),queryTokenizer:Bloodhound.tokenizers.whitespace,remote:{url:"/api/search/%QUERY",wildcard:"%QUERY"}});$(".search-form .search-form-input").typeahead(null,{name:"search",display:"value",source:t,limit:40,templates:{empty:['',"No Results Found","
"].join("\n"),suggestion:function(t){var e=!1;switch(t.type){case"hashtag":e='";break;case"profile":e='";break;case"status":e='";break;default:e=!1}if(!1!==e)return e}}})})},Tkmu:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={};n.d(i,"Alert",function(){return m}),n.d(i,"Badge",function(){return F}),n.d(i,"Breadcrumb",function(){return q}),n.d(i,"Button",function(){return _t}),n.d(i,"ButtonToolbar",function(){return Pt}),n.d(i,"ButtonGroup",function(){return St}),n.d(i,"Card",function(){return ce}),n.d(i,"Carousel",function(){return _e}),n.d(i,"Collapse",function(){return rn}),n.d(i,"Dropdown",function(){return _n}),n.d(i,"Embed",function(){return Cn}),n.d(i,"Form",function(){return Pn}),n.d(i,"FormGroup",function(){return Mn}),n.d(i,"FormInput",function(){return ai}),n.d(i,"FormTextarea",function(){return ui}),n.d(i,"FormFile",function(){return hi}),n.d(i,"FormCheckbox",function(){return Xn}),n.d(i,"FormRadio",function(){return ei}),n.d(i,"FormSelect",function(){return bi}),n.d(i,"Image",function(){return _i}),n.d(i,"InputGroup",function(){return Dt}),n.d(i,"Jumbotron",function(){return Si}),n.d(i,"Layout",function(){return He}),n.d(i,"Link",function(){return Ei}),n.d(i,"ListGroup",function(){return Ni}),n.d(i,"Media",function(){return Ri}),n.d(i,"Modal",function(){return Qi}),n.d(i,"Nav",function(){return sr}),n.d(i,"Navbar",function(){return vr}),n.d(i,"Pagination",function(){return Cr}),n.d(i,"PaginationNav",function(){return Ar}),n.d(i,"Popover",function(){return so}),n.d(i,"Progress",function(){return fo}),n.d(i,"Table",function(){return ko}),n.d(i,"Tabs",function(){return $o}),n.d(i,"Tooltip",function(){return Oo});var r={};n.d(r,"Toggle",function(){return tn}),n.d(r,"Modal",function(){return Xi}),n.d(r,"Scrollspy",function(){return Yo}),n.d(r,"Tooltip",function(){return ia}),n.d(r,"Popover",function(){return fa});var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n0?1:-1)*Math.floor(Math.abs(e)):e}(t),0),b)},function(t){var e=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n=arguments.length>1?arguments[1]:void 0,i=void 0;if(void 0!==n){if(!g(n))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2])}for(var r=y(e.length),o=g(this)?Object(new this(r)):new Array(r),a=0,s=void 0;a>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var i=arguments[1],r=0;r2&&void 0!==arguments[2]?arguments[2]:O;return(T(t)?t.slice():_(t)).reduce(function(t,i){return t[n(i)]=e[i],t},{})}var L="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};function I(){return{href:{type:String,default:null},rel:{type:String,default:null},target:{type:String,default:"_self"},active:{type:Boolean,default:!1},activeClass:{type:String,default:"active"},append:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},event:{type:[String,Array],default:"click"},exact:{type:Boolean,default:!1},exactActiveClass:{type:String,default:"active"},replace:{type:Boolean,default:!1},routerTag:{type:String,default:"a"},to:{type:[String,Object],default:null}}}I();var B={functional:!0,props:I(),render:function(t,e){var n=e.props,i=e.data,r=e.parent,o=e.children,s=function(t,e){return Boolean(e.$router)&&t.to&&!t.disabled?"router-link":"a"}(n,r),l=function(t){var e=t.target,n=t.rel;return"_blank"===e&&null===n?"noopener":n||null}(n),c=function(t,e){t.disabled;var n=t.href,i=t.to;if("router-link"!==e){if(n)return n;if(i){if("string"==typeof i)return i;if("object"===(void 0===i?"undefined":L(i))&&"string"==typeof i.path)return i.path}return"#"}}(n,s),u="router-link"===s?"nativeOn":"on",d=(i[u]||{}).click,f={click:function(t){var e=t.disabled,n=t.tag,i=t.href,r=t.suppliedHandler,o=t.parent,a="router-link"===n;return function(t){e&&t instanceof Event?(t.stopPropagation(),t.stopImmediatePropagation()):(o.$root.$emit("clicked::link",t),a&&t.target.__vue__&&t.target.__vue__.$emit("click",t),"function"==typeof r&&r.apply(void 0,arguments)),(!a&&"#"===i||e)&&t.preventDefault()}}({tag:s,href:c,disabled:n.disabled,suppliedHandler:d,parent:r})},p=a(i,{class:[n.active?n.exact?n.exactActiveClass:n.activeClass:null,{disabled:n.disabled}],attrs:{rel:l,href:c,target:n.target,tabindex:n.disabled?"-1":i.attrs?i.attrs.tabindex:null,"aria-disabled":"a"===s&&n.disabled?"true":null},props:w(n,{tag:n.routerTag})});return p.attrs.href||delete p.attrs.href,p[u]=w(p[u]||{},f),t(s,p,o)}},N=I();delete N.href.default,delete N.to.default;var M={bBadge:{functional:!0,props:w(N,{tag:{type:String,default:"span"},variant:{type:String,default:"secondary"},pill:{type:Boolean,default:!1}}),render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.href||n.to?B:n.tag,a(i,{staticClass:"badge",class:[n.variant?"badge-"+n.variant:"badge-secondary",{"badge-pill":Boolean(n.pill),active:n.active,disabled:n.disabled}],props:P(N,n)}),r)}}},j={install:function(t){c(t,M)}};f(j);var F=j,D=w(I(),{text:{type:String,default:null},active:{type:Boolean,default:!1},href:{type:String,default:"#"},ariaCurrent:{type:String,default:"location"}}),R={functional:!0,props:D,render:function(t,e){var n=e.props,i=e.data,r=e.children,o=n.active?"span":B,s={props:P(D,n)};return n.active?s.attrs={"aria-current":n.ariaCurrent}:s.attrs={href:n.href},t(o,a(i,s),r||n.text)}},H={functional:!0,props:w({},D,{text:{type:String,default:null},href:{type:String,default:null}}),render:function(t,e){var n=e.props,i=e.data,r=e.children;return t("li",a(i,{staticClass:"breadcrumb-item",class:{active:n.active},attrs:{role:"presentation"}}),[t(R,{props:n},r)])}},V="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},U={bBreadcrumb:{functional:!0,props:{items:{type:Array,default:null}},render:function(t,e){var n=e.props,i=e.data,r=e.children;if(T(n.items)){var o=!1;r=n.items.map(function(e,i){"object"!==(void 0===e?"undefined":V(e))&&(e={text:e});var r=e.active;return r&&(o=!0),r||o||(r=i+1===n.items.length),t(H,{props:w({},e,{active:r})})})}return t("ol",a(i,{staticClass:"breadcrumb"}),r)}},bBreadcrumbItem:H,bBreadcrumbLink:R},z={install:function(t){c(t,U)}};f(z);var q=z,W=function(t){return t&&t.nodeType===Node.ELEMENT_NODE},G=function(t){return W(t)&&document.body.contains(t)&&t.getBoundingClientRect().height>0&&t.getBoundingClientRect().width>0},Y=function(t){return!W(t)||t.disabled||t.classList.contains("disabled")||Boolean(t.getAttribute("disabled"))},K=function(t){return W(t)&&t.offsetHeight},X=function(t,e){return W(e)||(e=document),S(e.querySelectorAll(t))},J=function(t,e){return W(e)||(e=document),e.querySelector(t)||null},Z=function(t,e){if(!W(t))return!1;var n=Element.prototype;return(n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(t){for(var e=X(t,this.document||this.ownerDocument),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1}).call(t,e)},Q=function(t,e){if(!W(e))return null;var n=(Element.prototype.closest||function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(Z(e,t))return e;e=e.parentElement}while(null!==e);return null}).call(e,t);return n===e?null:n},tt=function(t,e){e&&W(t)&&t.classList.add(e)},et=function(t,e){e&&W(t)&&t.classList.remove(e)},nt=function(t,e){return!(!e||!W(t))&&t.classList.contains(e)},it=function(t,e,n){e&&W(t)&&t.setAttribute(e,n)},rt=function(t,e){e&&W(t)&&t.removeAttribute(e)},ot=function(t,e){return e&&W(t)?t.getAttribute(e):null},at=function(t,e){return e&&W(t)?t.hasAttribute(e):null},st=function(t){return W(t)?t.getBoundingClientRect():null},lt=function(t){return W(t)?window.getComputedStyle(t):{}},ct=function(t){if(W(t)){if(!t.getClientRects().length)return{top:0,left:0};var e=st(t),n=t.ownerDocument.defaultView;return{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}}},ut=function(t){if(W(t)){var e={top:0,left:0},n=void 0,i=void 0;if("fixed"===lt(t).position)n=st(t);else{n=ct(t);var r=t.ownerDocument;for(i=t.offsetParent||r.documentElement;i&&(i===r.body||i===r.documentElement)&&"static"===lt(i).position;)i=i.parentNode;i&&i!==t&&i.nodeType===Node.ELEMENT_NODE&&((e=ct(i)).top+=parseFloat(lt(i).borderTopWidth),e.left+=parseFloat(lt(i).borderLeftWidth))}return{top:n.top-e.top-parseFloat(lt(t).marginTop),left:n.left-e.left-parseFloat(lt(t).marginLeft)}}},dt=function(t,e,n){t&&t.addEventListener&&t.addEventListener(e,n)},ft=function(t,e,n){t&&t.removeEventListener&&t.removeEventListener(e,n)};function pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ht={block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String,default:null},variant:{type:String,default:null},type:{type:String,default:"button"},pressed:{type:Boolean,default:null}},mt=I();delete mt.href.default,delete mt.to.default;var vt=_(mt);function gt(t){"focusin"===t.type?tt(t.target,"focus"):"focusout"===t.type&&et(t.target,"focus")}var bt={functional:!0,props:w(mt,ht),render:function(t,e){var n,i=e.props,r=e.data,o=e.listeners,s=e.children,l=Boolean(i.href||i.to),c="boolean"==typeof i.pressed,u={click:function(t){i.disabled&&t instanceof Event?(t.stopPropagation(),t.preventDefault()):c&&A(o["update:pressed"]).forEach(function(t){"function"==typeof t&&t(!i.pressed)})}};c&&(u.focusin=gt,u.focusout=gt);var d={staticClass:"btn",class:[i.variant?"btn-"+i.variant:"btn-secondary",(n={},pt(n,"btn-"+i.size,Boolean(i.size)),pt(n,"btn-block",i.block),pt(n,"disabled",i.disabled),pt(n,"active",i.pressed),n)],props:l?P(vt,i):null,attrs:{type:l?null:i.type,disabled:l?null:i.disabled,"data-toggle":c?"button":null,"aria-pressed":c?String(i.pressed):null,tabindex:i.disabled&&l?"-1":r.attrs?r.attrs.tabindex:null},on:u};return t(l?B:"button",a(r,d),s)}},yt={bButton:bt,bBtn:bt,bButtonClose:s,bBtnClose:s},wt={install:function(t){c(t,yt)}};f(wt);var _t=wt;var kt={functional:!0,props:{vertical:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return E(["sm","","lg"],t)}},tag:{type:String,default:"div"},ariaRole:{type:String,default:"group"}},render:function(t,e){var n,i,r,o=e.props,s=e.data,l=e.children;return t(o.tag,a(s,{class:(n={"btn-group":!o.vertical,"btn-group-vertical":o.vertical},i="btn-group-"+o.size,r=Boolean(o.size),i in n?Object.defineProperty(n,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[i]=r,n),attrs:{role:o.ariaRole}}),l)}},xt={bButtonGroup:kt,bBtnGroup:kt},Ct={install:function(t){c(t,xt)}};f(Ct);var St=Ct,Tt={SPACE:32,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,PAGEUP:33,PAGEDOWN:34,HOME:36,END:35},$t=[".btn:not(.disabled):not([disabled]):not(.dropdown-item)",".form-control:not(.disabled):not([disabled])","select:not(.disabled):not([disabled])",'input[type="checkbox"]:not(.disabled)','input[type="radio"]:not(.disabled)'].join(","),Et={render:function(t){return t("div",{class:this.classObject,attrs:{role:"toolbar",tabindex:this.keyNav?"0":null},on:{focusin:this.onFocusin,keydown:this.onKeydown}},[this.$slots.default])},computed:{classObject:function(){return["btn-toolbar",this.justify&&!this.vertical?"justify-content-between":""]}},props:{justify:{type:Boolean,default:!1},keyNav:{type:Boolean,default:!1}},methods:{onFocusin:function(t){t.target===this.$el&&(t.preventDefault(),t.stopPropagation(),this.focusFirst(t))},onKeydown:function(t){if(this.keyNav){var e=t.keyCode,n=t.shiftKey;e===Tt.UP||e===Tt.LEFT?(t.preventDefault(),t.stopPropagation(),n?this.focusFirst(t):this.focusNext(t,!0)):e!==Tt.DOWN&&e!==Tt.RIGHT||(t.preventDefault(),t.stopPropagation(),n?this.focusLast(t):this.focusNext(t,!1))}},setItemFocus:function(t){this.$nextTick(function(){t.focus()})},focusNext:function(t,e){var n=this.getItems();if(!(n.length<1)){var i=n.indexOf(t.target);e&&i>0?i--:!e&&i0&&this.setItemFocus(e[0])},focusLast:function(t){var e=this.getItems();e.length>0&&this.setItemFocus([e.length-1])},getItems:function(){var t=X($t,this.$el);return t.forEach(function(t){t.tabIndex=-1}),t.filter(function(t){return G(t)})}},mounted:function(){this.keyNav&&this.getItems()}},At={bButtonToolbar:Et,bBtnToolbar:Et},Ot={install:function(t){c(t,At)}};f(Ot);var Pt=Ot,Lt={props:{tag:{type:String,default:"div"}},functional:!0,render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.tag,a(i,{staticClass:"input-group-text"}),r)}},It=function(t){return{id:{type:String,default:null},tag:{type:String,default:"div"},append:{type:Boolean,default:t},isText:{type:Boolean,default:!1}}},Bt={functional:!0,props:It(!1),render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.tag,a(i,{staticClass:"input-group-"+(n.append?"append":"prepend"),attrs:{id:n.id}}),n.isText?[t(Lt,r)]:r)}},Nt={functional:!0,props:It(!1),render:Bt.render},Mt={functional:!0,props:It(!0),render:Bt.render};var jt={bInputGroup:{functional:!0,props:{id:{type:String,default:null},size:{type:String,default:null},prepend:{type:String,default:null},append:{type:String,default:null},tag:{type:String,default:"div"}},render:function(t,e){var n,i,r,o=e.props,s=e.data,l=(0,e.slots)(),c=[];return o.prepend&&c.push(t(Nt,[t(Lt,{domProps:{innerHTML:o.prepend}})])),l.prepend&&c.push(t(Nt,l.prepend)),c.push(l.default),o.append&&c.push(t(Mt,[t(Lt,{domProps:{innerHTML:o.append}})])),l.append&&c.push(t(Mt,l.append)),t(o.tag,a(s,{staticClass:"input-group",class:(n={},i="input-group-"+o.size,r=Boolean(o.size),i in n?Object.defineProperty(n,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[i]=r,n),attrs:{id:o.id||null,role:"group"}}),c)}},bInputGroupAddon:Bt,bInputGroupPrepend:Nt,bInputGroupAppend:Mt,bInputGroupText:Lt},Ft={install:function(t){c(t,jt)}};f(Ft);var Dt=Ft;function Rt(t){return"string"!=typeof t&&(t=String(t)),t.charAt(0).toUpperCase()+t.slice(1)}function Ht(t,e){return t+Rt(e)}function Vt(t,e){return"string"!=typeof(n=e.replace(t,""))&&(n=String(n)),n.charAt(0).toLowerCase()+n.slice(1);var n}var Ut="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};function zt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O;if(T(t))return t.map(e);var n={};for(var i in t)t.hasOwnProperty(i)&&("object"===(void 0===i?"undefined":Ut(i))?n[e(i)]=w({},t[i]):n[e(i)]=t[i]);return n}var qt={props:{tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}}};function Wt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Gt=w({},zt(qt.props,Ht.bind(null,"body")),{bodyClass:{type:[String,Object,Array],default:null},title:{type:String,default:null},titleTag:{type:String,default:"h4"},subTitle:{type:String,default:null},subTitleTag:{type:String,default:"h6"},overlay:{type:Boolean,default:!1}}),Yt={functional:!0,props:Gt,render:function(t,e){var n,i=e.props,r=e.data,o=e.slots,s=[];return i.title&&s.push(t(i.titleTag,{staticClass:"card-title",domProps:{innerHTML:i.title}})),i.subTitle&&s.push(t(i.subTitleTag,{staticClass:"card-subtitle mb-2 text-muted",domProps:{innerHTML:i.subTitle}})),s.push(o().default),t(i.bodyTag,a(r,{staticClass:"card-body",class:[(n={"card-img-overlay":i.overlay},Wt(n,"bg-"+i.bodyBgVariant,Boolean(i.bodyBgVariant)),Wt(n,"border-"+i.bodyBorderVariant,Boolean(i.bodyBorderVariant)),Wt(n,"text-"+i.bodyTextVariant,Boolean(i.bodyTextVariant)),n),i.bodyClass||{}]}),s)}};function Kt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Xt=w({},zt(qt.props,Ht.bind(null,"header")),{header:{type:String,default:null},headerClass:{type:[String,Object,Array],default:null}}),Jt={functional:!0,props:Xt,render:function(t,e){var n,i=e.props,r=e.data,o=(e.slots,e.children);return t(i.headerTag,a(r,{staticClass:"card-header",class:[i.headerClass,(n={},Kt(n,"bg-"+i.headerBgVariant,Boolean(i.headerBgVariant)),Kt(n,"border-"+i.headerBorderVariant,Boolean(i.headerBorderVariant)),Kt(n,"text-"+i.headerTextVariant,Boolean(i.headerTextVariant)),n)]}),o||[t("div",{domProps:{innerHTML:i.header}})])}};function Zt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Qt=w({},zt(qt.props,Ht.bind(null,"footer")),{footer:{type:String,default:null},footerClass:{type:[String,Object,Array],default:null}}),te={functional:!0,props:Qt,render:function(t,e){var n,i=e.props,r=e.data,o=(e.slots,e.children);return t(i.footerTag,a(r,{staticClass:"card-footer",class:[i.footerClass,(n={},Zt(n,"bg-"+i.footerBgVariant,Boolean(i.footerBgVariant)),Zt(n,"border-"+i.footerBorderVariant,Boolean(i.footerBorderVariant)),Zt(n,"text-"+i.footerTextVariant,Boolean(i.footerTextVariant)),n)]}),o||[t("div",{domProps:{innerHTML:i.footer}})])}},ee={src:{type:String,default:null,required:!0},alt:{type:String,default:null},top:{type:Boolean,default:!1},bottom:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1}},ne={functional:!0,props:ee,render:function(t,e){var n=e.props,i=e.data,r=(e.slots,"card-img");return n.top?r+="-top":n.bottom&&(r+="-bottom"),t("img",a(i,{staticClass:r,class:{"img-fluid":n.fluid},attrs:{src:n.src,alt:n.alt}}))}};function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var re=zt(ee,Ht.bind(null,"img"));re.imgSrc.required=!1;var oe=w({},Gt,Xt,Qt,re,zt(qt.props),{align:{type:String,default:null},noBody:{type:Boolean,default:!1}}),ae={tag:{type:String,default:"div"},deck:{type:Boolean,default:!1},columns:{type:Boolean,default:!1}},se={bCard:{functional:!0,props:oe,render:function(t,e){var n,i=e.props,r=e.data,o=e.slots,s=(e.children,[]),l=o(),c=i.imgSrc?t(ne,{props:P(re,i,Vt.bind(null,"img"))}):null;return c&&(!i.imgTop&&i.imgBottom||s.push(c)),(i.header||l.header)&&s.push(t(Jt,{props:P(Xt,i)},l.header)),i.noBody?s.push(l.default):s.push(t(Yt,{props:P(Gt,i)},l.default)),(i.footer||l.footer)&&s.push(t(te,{props:P(Qt,i)},l.footer)),c&&i.imgBottom&&s.push(c),t(i.tag,a(r,{staticClass:"card",class:(n={},ie(n,"text-"+i.align,Boolean(i.align)),ie(n,"bg-"+i.bgVariant,Boolean(i.bgVariant)),ie(n,"border-"+i.borderVariant,Boolean(i.borderVariant)),ie(n,"text-"+i.textVariant,Boolean(i.textVariant)),n)}),s)}},bCardHeader:Jt,bCardBody:Yt,bCardFooter:te,bCardImg:ne,bCardGroup:{functional:!0,props:ae,render:function(t,e){var n=e.props,i=e.data,r=e.children,o="card-group";return n.columns&&(o="card-columns"),n.deck&&(o="card-deck"),t(n.tag,a(i,{staticClass:o}),r)}}},le={install:function(t){c(t,se)}};f(le);var ce=le;function ue(t,e,n){var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,r=window.addEventListener;if(t=t?t.$el||t:null,!W(t))return null;var o=null;return i?(o=new i(function(t){for(var n=!1,i=0;i0||r.removedNodes.length>0)&&(n=!0)}n&&e()})).observe(t,w({childList:!0,subtree:!0},n)):r&&(t.addEventListener("DOMNodeInserted",e,!1),t.addEventListener("DOMNodeRemoved",e,!1)),o}var de={props:{id:{type:String,default:null}},methods:{safeId:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=this.id||this.localId_||null;return e?(t=String(t).replace(/\s+/g,"_"))?e+"_"+t:e:null}},computed:{localId_:function(){if(!this.$isServer&&!this.id&&void 0!==this._uid)return"__BVID__"+this._uid}}},fe={next:{dirClass:"carousel-item-left",overlayClass:"carousel-item-next"},prev:{dirClass:"carousel-item-right",overlayClass:"carousel-item-prev"}},pe={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend oTransitionEnd",transition:"transitionend"};var he={mixins:[de],render:function(t){var e=this,n=t("div",{ref:"inner",class:["carousel-inner"],attrs:{id:this.safeId("__BV_inner_"),role:"list"}},[this.$slots.default]),i=t(!1);this.controls&&(i=[t("a",{class:["carousel-control-prev"],attrs:{href:"#",role:"button","aria-controls":this.safeId("__BV_inner_")},on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.prev()},keydown:function(t){var n=t.keyCode;n!==Tt.SPACE&&n!==Tt.ENTER||(t.preventDefault(),t.stopPropagation(),e.prev())}}},[t("span",{class:["carousel-control-prev-icon"],attrs:{"aria-hidden":"true"}}),t("span",{class:["sr-only"]},[this.labelPrev])]),t("a",{class:["carousel-control-next"],attrs:{href:"#",role:"button","aria-controls":this.safeId("__BV_inner_")},on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.next()},keydown:function(t){var n=t.keyCode;n!==Tt.SPACE&&n!==Tt.ENTER||(t.preventDefault(),t.stopPropagation(),e.next())}}},[t("span",{class:["carousel-control-next-icon"],attrs:{"aria-hidden":"true"}}),t("span",{class:["sr-only"]},[this.labelNext])])]);var r=t("ol",{class:["carousel-indicators"],directives:[{name:"show",rawName:"v-show",value:this.indicators,expression:"indicators"}],attrs:{id:this.safeId("__BV_indicators_"),"aria-hidden":this.indicators?"false":"true","aria-label":this.labelIndicators,"aria-owns":this.safeId("__BV_inner_")}},this.slides.map(function(n,i){return t("li",{key:"slide_"+i,class:{active:i===e.index},attrs:{role:"button",id:e.safeId("__BV_indicator_"+(i+1)+"_"),tabindex:e.indicators?"0":"-1","aria-current":i===e.index?"true":"false","aria-label":e.labelGotoSlide+" "+(i+1),"aria-describedby":e.slides[i].id||null,"aria-controls":e.safeId("__BV_inner_")},on:{click:function(t){e.setSlide(i)},keydown:function(t){var n=t.keyCode;n!==Tt.SPACE&&n!==Tt.ENTER||(t.preventDefault(),t.stopPropagation(),e.setSlide(i))}}})}));return t("div",{class:["carousel","slide"],style:{background:this.background},attrs:{role:"region",id:this.safeId(),"aria-busy":this.isSliding?"true":"false"},on:{mouseenter:this.pause,mouseleave:this.restart,focusin:this.pause,focusout:this.restart,keydown:function(t){var n=t.keyCode;n!==Tt.LEFT&&n!==Tt.RIGHT||(t.preventDefault(),t.stopPropagation(),e[n===Tt.LEFT?"prev":"next"]())}}},[n,i,r])},data:function(){return{index:this.value||0,isSliding:!1,intervalId:null,transitionEndEvent:null,slides:[],direction:null}},props:{labelPrev:{type:String,default:"Previous Slide"},labelNext:{type:String,default:"Next Slide"},labelGotoSlide:{type:String,default:"Goto Slide"},labelIndicators:{type:String,default:"Select a slide to display"},interval:{type:Number,default:5e3},indicators:{type:Boolean,default:!1},controls:{type:Boolean,default:!1},imgWidth:{type:[Number,String]},imgHeight:{type:[Number,String]},background:{type:String},value:{type:Number,default:0}},computed:{isCycling:function(){return Boolean(this.intervalId)}},methods:{setSlide:function(t){var e=this;if("undefined"==typeof document||!document.visibilityState||!document.hidden){var n=this.slides.length;0!==n&&(this.isSliding?this.$once("sliding-end",function(){return e.setSlide(t)}):(t=Math.floor(t),this.index=t>=n?0:t>=0?t:n-1))}},prev:function(){this.direction="prev",this.setSlide(this.index-1)},next:function(){this.direction="next",this.setSlide(this.index+1)},pause:function(){this.isCycling&&(clearInterval(this.intervalId),this.intervalId=null,this.slides[this.index]&&(this.slides[this.index].tabIndex=0))},start:function(){var t=this;this.interval&&!this.isCycling&&(this.slides.forEach(function(t){t.tabIndex=-1}),this.intervalId=setInterval(function(){t.next()},Math.max(1e3,this.interval)))},restart:function(t){this.$el.contains(document.activeElement)||this.start()},updateSlides:function(){this.pause(),this.slides=X(".carousel-item",this.$refs.inner);var t=this.slides.length,e=Math.max(0,Math.min(Math.floor(this.index),t-1));this.slides.forEach(function(n,i){var r=i+1;i===e?tt(n,"active"):et(n,"active"),it(n,"aria-current",i===e?"true":"false"),it(n,"aria-posinset",String(r)),it(n,"aria-setsize",String(t)),n.tabIndex=-1}),this.setSlide(e),this.start()},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?fe[t]:n>e?fe.next:fe.prev}},watch:{value:function(t,e){t!==e&&this.setSlide(t)},interval:function(t,e){t!==e&&(t?(this.pause(),this.start()):this.pause())},index:function(t,e){var n=this;if(t!==e&&!this.isSliding){var i=this.calcDirection(this.direction,e,t),r=this.slides[e],o=this.slides[t];if(r&&o){this.isSliding=!0,this.$emit("sliding-start",t),this.$emit("input",this.index),o.classList.add(i.overlayClass),K(o),tt(r,i.dirClass),tt(o,i.dirClass);var a=!1,s=function e(s){if(!a){if(a=!0,n.transitionEndEvent)n.transitionEndEvent.split(/\s+/).forEach(function(t){ft(r,t,e)});n._animationTimeout=null,et(o,i.dirClass),et(o,i.overlayClass),tt(o,"active"),et(r,"active"),et(r,i.dirClass),et(r,i.overlayClass),it(r,"aria-current","false"),it(o,"aria-current","true"),it(r,"aria-hidden","true"),it(o,"aria-hidden","false"),r.tabIndex=-1,o.tabIndex=-1,n.isCycling||(o.tabIndex=0,n.$nextTick(function(){o.focus()})),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){dt(r,t,s)});this._animationTimeout=setTimeout(s,650)}}}},created:function(){this._animationTimeout=null},mounted:function(){this.transitionEndEvent=function(t){for(var e in pe)if(void 0!==t.style[e])return pe[e];return null}(this.$el)||null,this.updateSlides(),ue(this.$refs.inner,this.updateSlides.bind(this),{subtree:!1,childList:!0,attributes:!0,attributeFilter:["id"]})},beforeDestroy:function(){clearInterval(this.intervalId),clearTimeout(this._animationTimeout),this.intervalId=null,this._animationTimeout=null}};function me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ve='';var ge={functional:!0,props:{src:{type:String,default:null},alt:{type:String,default:null},width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},block:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fluidGrow:{type:Boolean,default:!1},rounded:{type:[Boolean,String],default:!1},thumbnail:{type:Boolean,default:!1},left:{type:Boolean,default:!1},right:{type:Boolean,default:!1},center:{type:Boolean,default:!1},blank:{type:Boolean,default:!1},blankColor:{type:String,default:"transparent"}},render:function(t,e){var n,i=e.props,r=e.data,o=i.src,s=parseInt(i.width,10)?parseInt(i.width,10):null,l=parseInt(i.height,10)?parseInt(i.height,10):null,c=null,u=i.block;return i.blank&&(!l&&Boolean(s)?l=s:!s&&Boolean(l)&&(s=l),s||l||(s=1,l=1),o=function(t,e,n){return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(ve.replace("%{w}",String(t)).replace("%{h}",String(e)).replace("%{f}",n))}(s,l,i.blankColor||"transparent")),i.left?c="float-left":i.right?c="float-right":i.center&&(c="mx-auto",u=!0),t("img",a(r,{attrs:{src:o,alt:i.alt,width:s?String(s):null,height:l?String(l):null},class:(n={"img-thumbnail":i.thumbnail,"img-fluid":i.fluid||i.fluidGrow,"w-100":i.fluidGrow,rounded:""===i.rounded||!0===i.rounded},me(n,"rounded-"+i.rounded,"string"==typeof i.rounded&&""!==i.rounded),me(n,c,Boolean(c)),me(n,"d-block",u),n)}))}};var be=function(t){console.warn("[Bootstrap-Vue warn]: "+t)},ye={bCarousel:he,bCarouselSlide:{components:{bImg:ge},mixins:[de],render:function(t){var e=this.$slots,n=e.img;n||!this.imgSrc&&!this.imgBlank||(n=t("b-img",{props:{fluidGrow:!0,block:!0,src:this.imgSrc,blank:this.imgBlank,blankColor:this.imgBlankColor,width:this.computedWidth,height:this.computedHeight,alt:this.imgAlt}}));var i=t(this.contentTag,{class:this.contentClasses},[this.caption?t(this.captionTag,{domProps:{innerHTML:this.caption}}):t(!1),this.text?t(this.textTag,{domProps:{innerHTML:this.text}}):t(!1),e.default]);return t("div",{class:["carousel-item"],style:{background:this.background},attrs:{id:this.safeId(),role:"listitem"}},[n,i])},props:{imgSrc:{type:String,default:function(){return this&&this.src?(be("b-carousel-slide: prop 'src' has been deprecated. Use 'img-src' instead"),this.src):null}},src:{type:String},imgAlt:{type:String},imgWidth:{type:[Number,String]},imgHeight:{type:[Number,String]},imgBlank:{type:Boolean,default:!1},imgBlankColor:{type:String,default:"transparent"},contentVisibleUp:{type:String},contentTag:{type:String,default:"div"},caption:{type:String},captionTag:{type:String,default:"h3"},text:{type:String},textTag:{type:String,default:"p"},background:{type:String}},computed:{contentClasses:function(){return["carousel-caption",this.contentVisibleUp?"d-none":"",this.contentVisibleUp?"d-"+this.contentVisibleUp+"-block":""]},computedWidth:function(){return this.imgWidth||this.$parent.imgWidth},computedHeight:function(){return this.imgHeight||this.$parent.imgHeight}}}},we={install:function(t){c(t,ye)}};f(we);var _e=we,ke={functional:!0,props:{tag:{type:String,default:"div"},fluid:{type:Boolean,default:!1}},render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.tag,a(i,{class:{container:!n.fluid,"container-fluid":n.fluid}}),r)}};function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ce=["start","end","center"],Se={functional:!0,props:{tag:{type:String,default:"div"},noGutters:{type:Boolean,default:!1},alignV:{type:String,default:null,validator:function(t){return E(Ce.concat(["baseline","stretch"]),t)}},alignH:{type:String,default:null,validator:function(t){return E(Ce.concat(["between","around"]),t)}},alignContent:{type:String,default:null,validator:function(t){return E(Ce.concat(["between","around","stretch"]),t)}}},render:function(t,e){var n,i=e.props,r=e.data,o=e.children;return t(i.tag,a(r,{staticClass:"row",class:(n={"no-gutters":i.noGutters},xe(n,"align-items-"+i.alignV,i.alignV),xe(n,"justify-content-"+i.alignH,i.alignH),xe(n,"align-content-"+i.alignContent,i.alignContent),n)}),o)}};function Te(t,e){return e+(t?Rt(t):"")}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ee(){return{type:[String,Number],default:null}}var Ae,Oe,Pe=(Ae=function(t,e,n){var i=t;if(!1!==n&&null!==n&&void 0!==n)return e&&(i+="-"+e),"col"!==t||""!==n&&!0!==n?(i+="-"+n).toLowerCase():i.toLowerCase()},Oe=C(null),function(){var t=JSON.stringify(arguments);return Oe[t]=Oe[t]||Ae.apply(null,arguments)}),Le=["sm","md","lg","xl"],Ie=Le.reduce(function(t,e){return t[e]={type:[Boolean,String,Number],default:!1},t},C(null)),Be=Le.reduce(function(t,e){return t[Te(e,"offset")]=Ee(),t},C(null)),Ne=Le.reduce(function(t,e){return t[Te(e,"order")]=Ee(),t},C(null)),Me=w(C(null),{col:_(Ie),offset:_(Be),order:_(Ne)}),je=w({},Ie,Be,Ne,{tag:{type:String,default:"div"},col:{type:Boolean,default:!1},cols:Ee(),offset:Ee(),order:Ee(),alignSelf:{type:String,default:null,validator:function(t){return E(["auto","start","end","center","baseline","stretch"],t)}}}),Fe={functional:!0,props:{tag:{type:String,default:"div"}},render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.tag,a(i,{staticClass:"form-row"}),r)}},De={bContainer:ke,bRow:Se,bCol:{functional:!0,props:je,render:function(t,e){var n,i=e.props,r=e.data,o=e.children,s=[];for(var l in Me)for(var c=Me[l],u=0;u1?n-1:0),r=1;r0;){var t=this[Ve].shift(),e=t.event,n=t.callback;this.$root.$off(e,n)}}},ze={mixins:[Ue],render:function(t){var e=t(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.id||null},on:{click:this.clickHandler}},[this.$slots.default]);return t("transition",{props:{enterClass:"",enterActiveClass:"collapsing",enterToClass:"",leaveClass:"",leaveActiveClass:"collapsing",leaveToClass:""},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[e])},data:function(){return{show:this.visible,transitioning:!1}},model:{prop:"visible",event:"input"},props:{id:{type:String,required:!0},isNav:{type:Boolean,default:!1},accordion:{type:String,default:null},visible:{type:Boolean,default:!1},tag:{type:String,default:"div"}},watch:{visible:function(t){t!==this.show&&(this.show=t)},show:function(t,e){t!==e&&this.emitState()}},computed:{classObject:function(){return{"navbar-collapse":this.isNav,collapse:!this.transitioning,show:this.show&&!this.transitioning}}},methods:{toggle:function(){this.show=!this.show},onEnter:function(t){t.style.height=0,K(t),t.style.height=t.scrollHeight+"px",this.transitioning=!0,this.$emit("show")},onAfterEnter:function(t){t.style.height=null,this.transitioning=!1,this.$emit("shown")},onLeave:function(t){t.style.height="auto",t.style.display="block",t.style.height=t.getBoundingClientRect().height+"px",K(t),this.transitioning=!0,t.style.height=0,this.$emit("hide")},onAfterLeave:function(t){t.style.height=null,this.transitioning=!1,this.$emit("hidden")},emitState:function(){this.$emit("input",this.show),this.$root.$emit("bv::collapse::state",this.id,this.show),this.accordion&&this.show&&this.$root.$emit("bv::collapse::accordion",this.id,this.accordion)},clickHandler:function(t){var e=t.target;this.isNav&&e&&"block"===getComputedStyle(this.$el).display&&(nt(e,"nav-link")||nt(e,"dropdown-item"))&&(this.show=!1)},handleToggleEvt:function(t){t===this.id&&this.toggle()},handleAccordionEvt:function(t,e){this.accordion&&e===this.accordion&&(t===this.id?this.show||this.toggle():this.show&&this.toggle())},handleResize:function(){this.show="block"===getComputedStyle(this.$el).display}},created:function(){this.listenOnRoot("bv::toggle::collapse",this.handleToggleEvt),this.listenOnRoot("bv::collapse::accordion",this.handleAccordionEvt)},mounted:function(){this.isNav&&"undefined"!=typeof document&&(window.addEventListener("resize",this.handleResize,!1),window.addEventListener("orientationchange",this.handleResize,!1),this.handleResize()),this.emitState()},beforeDestroy:function(){this.isNav&&"undefined"!=typeof document&&(window.removeEventListener("resize",this.handleResize,!1),window.removeEventListener("orientationchange",this.handleResize,!1))}},qe={hover:!0,click:!0,focus:!0},We="__BV_boundEventListeners__",Ge=function(t,e,n,i){var r=_(e.modifiers||{}).filter(function(t){return!qe[t]});e.value&&r.push(e.value);var o=function(){i({targets:r,vnode:t})};return _(qe).forEach(function(i){if(n[i]||e.modifiers[i]){t.elm.addEventListener(i,o);var r=t.elm[We]||{};r[i]=r[i]||[],r[i].push(o),t.elm[We]=r}}),r},Ye=Ge,Ke="undefined"!=typeof window,Xe={click:!0},Je="__BV_toggle__",Ze={bToggle:{bind:function(t,e,n){var i=Ye(n,e,Xe,function(t){var e=t.targets,n=t.vnode;e.forEach(function(t){n.context.$root.$emit("bv::toggle::collapse",t)})});Ke&&n.context&&i.length>0&&(it(t,"aria-controls",i.join(" ")),it(t,"aria-expanded","false"),"BUTTON"!==t.tagName&&it(t,"role","button"),t[Je]=function(e,n){-1!==i.indexOf(e)&&(it(t,"aria-expanded",n?"true":"false"),n?et(t,"collapsed"):tt(t,"collapsed"))},n.context.$root.$on("bv::collapse::state",t[Je]))},unbind:function(t,e,n){t[Je]&&(n.context.$root.$off("bv::collapse::state",t[Je]),t[Je]=null)}}},Qe={install:function(t){d(t,Ze)}};f(Qe);var tn=Qe,en={bCollapse:ze},nn={install:function(t){c(t,en),t.use(tn)}};f(nn);var rn=nn,on=n("Zgw8"),an={mounted:function(){"undefined"!=typeof document&&document.documentElement.addEventListener("click",this._clickOutListener)},beforeDestroy:function(){"undefined"!=typeof document&&document.documentElement.removeEventListener("click",this._clickOutListener)},methods:{_clickOutListener:function(t){this.$el.contains(t.target)||this.clickOutListener&&this.clickOutListener()}}},sn=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("Failed to construct '"+this.constructor.name+"'. 1 argument required, "+arguments.length+" given.");w(this,t.defaults(),n,{type:e}),k(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}});var i=!1;this.preventDefault=function(){this.cancelable&&(i=!0)},x(this,"defaultPrevented",{enumerable:!0,get:function(){return i}})}return sn(t,null,[{key:"defaults",value:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null}}}]),t}();var cn="top-start",un="top-end",dn="bottom-start",fn="bottom-end",pn={mixins:[an,Ue],props:{disabled:{type:Boolean,default:!1},text:{type:String,default:""},dropup:{type:Boolean,default:!1},right:{type:Boolean,default:!1},offset:{type:[Number,String],default:0},noFlip:{type:Boolean,default:!1},popperOpts:{type:Object,default:function(){}}},data:function(){return{visible:!1,inNavbar:null,visibleChangePrevented:!1}},created:function(){this._popper=null},mounted:function(){this.listenOnRoot("bv::dropdown::shown",this.rootCloseListener),this.listenOnRoot("clicked::link",this.rootCloseListener),this.listenOnRoot("bv::link::clicked",this.rootCloseListener)},deactivated:function(){this.visible=!1,this.setTouchStart(!1),this.removePopper()},beforeDestroy:function(){this.visible=!1,this.setTouchStart(!1),this.removePopper()},watch:{visible:function(t,e){if(this.visibleChangePrevented)this.visibleChangePrevented=!1;else if(t!==e){var n=t?"show":"hide",i=new ln(n,{cancelable:!0,vueTarget:this,target:this.$refs.menu,relatedTarget:null});if(this.emitEvent(i),i.defaultPrevented)return this.visibleChangePrevented=!0,void(this.visible=e);"show"===n?this.showMenu():this.hideMenu()}},disabled:function(t,e){t!==e&&t&&this.visible&&(this.visible=!1)}},computed:{toggler:function(){return this.$refs.toggle.$el||this.$refs.toggle}},methods:{emitEvent:function(t){var e=t.type;this.$emit(e,t),this.emitOnRoot("bv::dropdown::"+e,t)},showMenu:function(){if(!this.disabled){if(this.emitOnRoot("bv::dropdown::shown",this),null===this.inNavbar&&this.isNav&&(this.inNavbar=Boolean(Q(".navbar",this.$el))),!this.inNavbar)if(void 0===on.default)be("b-dropdown: Popper.js not found. Falling back to CSS positioning.");else{var t=this.dropup&&this.right||this.split?this.$el:this.$refs.toggle;t=t.$el||t,this.createPopper(t)}this.setTouchStart(!0),this.$emit("shown"),this.$nextTick(this.focusFirstItem)}},hideMenu:function(){this.setTouchStart(!1),this.emitOnRoot("bv::dropdown::hidden",this),this.$emit("hidden"),this.removePopper()},createPopper:function(t){this.removePopper(),this._popper=new on.default(t,this.$refs.menu,this.getPopperConfig())},removePopper:function(){this._popper&&this._popper.destroy(),this._popper=null},getPopperConfig:function(){var t=dn;this.dropup&&this.right?t=un:this.dropup?t=cn:this.right&&(t=fn);var e={placement:t,modifiers:{offset:{offset:this.offset||0},flip:{enabled:!this.noFlip}}};return this.boundary&&(e.modifiers.preventOverflow={boundariesElement:this.boundary}),w(e,this.popperOpts||{})},setTouchStart:function(t){var e=this;"ontouchstart"in document.documentElement&&S(document.body.children).forEach(function(n){t?dt("mouseover",e._noop):ft("mouseover",e._noop)})},_noop:function(){},rootCloseListener:function(t){t!==this&&(this.visible=!1)},clickOutListener:function(){this.visible=!1},show:function(){this.disabled||(this.visible=!0)},hide:function(){this.disabled||(this.visible=!1)},toggle:function(t){var e=(t=t||{}).type,n=t.keyCode;"click"!==e&&("keydown"!==e||n!==Tt.ENTER&&n!==Tt.SPACE&&n!==Tt.DOWN)||(this.disabled?this.visible=!1:(this.$emit("toggle",t),t.defaultPrevented||(t.preventDefault(),t.stopPropagation(),this.visible=!this.visible)))},click:function(t){this.disabled?this.visible=!1:this.$emit("click",t)},onKeydown:function(t){var e=t.keyCode;e===Tt.ESC?this.onEsc(t):e===Tt.TAB?this.onTab(t):e===Tt.DOWN?this.focusNext(t,!1):e===Tt.UP&&this.focusNext(t,!0)},onEsc:function(t){this.visible&&(this.visible=!1,t.preventDefault(),t.stopPropagation(),this.$nextTick(this.focusToggler))},onTab:function(t){this.visible&&(this.visible=!1)},onFocusOut:function(t){this.$refs.menu.contains(t.relatedTarget)||(this.visible=!1)},onMouseOver:function(t){var e=t.target;e.classList.contains("dropdown-item")&&!e.disabled&&!e.classList.contains("disabled")&&e.focus&&e.focus()},focusNext:function(t,e){var n=this;this.visible&&(t.preventDefault(),t.stopPropagation(),this.$nextTick(function(){var i=n.getItems();if(!(i.length<1)){var r=i.indexOf(t.target);e&&r>0?r--:!e&&r=1&&Number(t)<=11||(be("b-form-group: label-cols must be a value between 1 and 11"),!1)}},breakpoint:{type:String,default:"sm"},labelTextAlign:{type:String,default:null},label:{type:String,default:null},labelFor:{type:String,default:null},labelSize:{type:String,default:null},labelSrOnly:{type:Boolean,default:!1},labelClass:{type:[String,Array],default:null},description:{type:String,default:null},invalidFeedback:{type:String,default:null},feedback:{type:String,default:null},validFeedback:{type:String,default:null},validated:{type:Boolean,default:!1}},computed:{groupClasses:function(){return["b-form-group","form-group",this.validated?"was-validated":null,this.stateClass]},labelClasses:function(){return["col-form-label",this.labelSize?"col-form-label-"+this.labelSize:null,this.labelTextAlign?"text-"+this.labelTextAlign:null,this.horizontal?null:"pt-0",this.labelClass]},labelLayoutClasses:function(){return[this.horizontal?"col-"+this.breakpoint+"-"+this.labelCols:null]},inputLayoutClasses:function(){return[this.horizontal?"col-"+this.breakpoint+"-"+(12-Number(this.labelCols)):null]},hasLabel:function(){return this.label||this.$slots.label},hasDescription:function(){return this.description||this.$slots.description},hasInvalidFeedback:function(){return!0!==this.computedState&&(this.invalidFeedback||this.feedback||this.$slots["invalid-feedback"]||this.$slots.feedback)},hasValidFeedback:function(){return!1!==this.computedState&&(this.validFeedback||this.$slots["valid-feedback"])},labelId:function(){return this.hasLabel?this.safeId("_BV_label_"):null},descriptionId:function(){return this.hasDescription?this.safeId("_BV_description_"):null},invalidFeedbackId:function(){return this.hasInvalidFeedback?this.safeId("_BV_feedback_invalid_"):null},validFeedbackId:function(){return this.hasValidFeedback?this.safeId("_BV_feedback_valid_"):null},describedByIds:function(){return[this.descriptionId,this.invalidFeedbackId,this.validFeedbackId].filter(function(t){return t}).join(" ")||null}},watch:{describedByIds:function(t,e){t!==e&&this.setInputDescribedBy(t,e)}},methods:{legendClick:function(t){var e=t.target?t.target.tagName:"";if(!/^(input|select|textarea|label)$/i.test(e)){var n=X("input:not(:disabled),textarea:not(:disabled),select:not(:disabled)",this.$refs.content).filter(G);n[0]&&n[0].focus&&n[0].focus()}},setInputDescribedBy:function(t,e){if(this.labelFor&&"undefined"!=typeof document){var n=J("#"+this.labelFor,this.$refs.content);if(n){var i="aria-describedby",r=(ot(n,i)||"").split(/\s+/);e=(e||"").split(/\s+/),(r=r.filter(function(t){return-1===e.indexOf(t)}).concat(t||"").join(" ").trim())?it(n,i,r):rt(n,i)}}}},mounted:function(){var t=this;this.$nextTick(function(){t.setInputDescribedBy(t.describedByIds)})}},Bn={bFormGroup:In,bFormFieldset:In},Nn={install:function(t){c(t,Bn)}};f(Nn);var Mn=Nn,jn={data:function(){return{localChecked:this.checked,hasFocus:!1}},model:{prop:"checked",event:"input"},props:{value:{},checked:{},buttonVariant:{type:String,default:null}},computed:{computedLocalChecked:{get:function(){return this.is_Child?this.$parent.localChecked:this.localChecked},set:function(t){this.is_Child?this.$parent.localChecked=t:this.localChecked=t}},is_Child:function(){return Boolean(this.$parent&&this.$parent.is_RadioCheckGroup)},is_Disabled:function(){return Boolean(this.is_Child&&this.$parent.disabled||this.disabled)},is_Required:function(){return Boolean(this.is_Child?this.$parent.required:this.required)},is_Plain:function(){return Boolean(this.is_Child?this.$parent.plain:this.plain)},is_Custom:function(){return!this.is_Plain},get_Size:function(){return this.is_Child?this.$parent.size:this.size},get_State:function(){return this.is_Child&&"boolean"==typeof this.$parent.get_State?this.$parent.get_State:this.computedState},get_StateClass:function(){return"boolean"==typeof this.get_State?this.get_State?"is-valid":"is-invalid":""},is_Stacked:function(){return Boolean(this.is_Child&&this.$parent.stacked)},is_Inline:function(){return!this.is_Stacked},is_ButtonMode:function(){return Boolean(this.is_Child&&this.$parent.buttons)},get_ButtonVariant:function(){return this.buttonVariant||(this.is_Child?this.$parent.buttonVariant:null)||"secondary"},get_Name:function(){return(this.is_Child?this.$parent.name||this.$parent.safeId():this.name)||null},buttonClasses:function(){return["btn","btn-"+this.get_ButtonVariant,this.get_Size?"btn-"+this.get_Size:"",this.is_Disabled?"disabled":"",this.is_Checked?"active":"",this.hasFocus?"focus":""]}},methods:{handleFocus:function(t){this.is_ButtonMode&&t.target&&("focus"===t.type?this.hasFocus=!0:"blur"===t.type&&(this.hasFocus=!1))}}},Fn={props:{name:{type:String},id:{type:String},disabled:{type:Boolean},required:{type:Boolean,default:!1}}},Dn={props:{size:{type:String,default:null}},computed:{sizeFormClass:function(){return[this.size?"form-control-"+this.size:null]},sizeBtnClass:function(){return[this.size?"btn-"+this.size:null]}}},Rn={computed:{custom:function(){return!this.plain}},props:{plain:{type:Boolean,default:!1}}},Hn="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};function Vn(t){return null!==t&&"object"===(void 0===t?"undefined":Hn(t))}var Un=function t(e,n){if(e===n)return!0;var i=Vn(e),r=Vn(n);if(!i||!r)return!i&&!r&&String(e)===String(n);try{var o=T(e),a=T(n);if(o&&a)return e.length===n.length&&e.every(function(e,i){return t(e,n[i])});if(o||a)return!1;var s=_(e),l=_(n);return s.length===l.length&&s.every(function(i){return t(e[i],n[i])})}catch(t){return!1}},zn={mixins:[de,jn,Fn,Dn,Ln,Rn],render:function(t){var e=this,n=t("input",{ref:"check",class:[this.is_ButtonMode?"":this.is_Plain?"form-check-input":"custom-control-input",this.get_StateClass],directives:[{name:"model",rawName:"v-model",value:this.computedLocalChecked,expression:"computedLocalChecked"}],attrs:{id:this.safeId(),type:"checkbox",name:this.get_Name,disabled:this.is_Disabled,required:this.is_Required,autocomplete:"off","true-value":this.value,"false-value":this.uncheckedValue,"aria-required":this.is_Required?"true":null},domProps:{value:this.value,checked:this.is_Checked},on:{focus:this.handleFocus,blur:this.handleFocus,change:this.emitChange,__c:function(t){var n=e.computedLocalChecked,i=t.target;if(T(n)){var r=e.value,o=e._i(n,r);i.checked?o<0&&(e.computedLocalChecked=n.concat([r])):o>-1&&(e.computedLocalChecked=n.slice(0,o).concat(n.slice(o+1)))}else e.computedLocalChecked=i.checked?e.value:e.uncheckedValue}}}),i=t(this.is_ButtonMode?"span":"label",{class:this.is_ButtonMode?null:this.is_Plain?"form-check-label":"custom-control-label",attrs:{for:this.is_ButtonMode?null:this.safeId()}},[this.$slots.default]);return this.is_ButtonMode?t("label",{class:[this.buttonClasses]},[n,i]):t("div",{class:[this.is_Plain?"form-check":this.labelClasses,{"form-check-inline":this.is_Plain&&!this.is_Stacked},{"custom-control-inline":!this.is_Plain&&!this.is_Stacked}]},[n,i])},props:{value:{default:!0},uncheckedValue:{default:!1},indeterminate:{type:Boolean,default:!1}},computed:{labelClasses:function(){return["custom-control","custom-checkbox",this.get_Size?"form-control-"+this.get_Size:"",this.get_StateClass]},is_Checked:function(){var t=this.computedLocalChecked;if(T(t)){for(var e=0;e0&&this.onFileChange(t))},traverseFileTree:function(t,e){var n=this;return new Promise(function(i){e=e||"",t.isFile?t.file(function(t){t.$path=e,i(t)}):t.isDirectory&&t.createReader().readEntries(function(r){for(var o=[],a=0;a=n&&a.bottom>=i&&a.left<=o&&a.top<=r&&(this.isShown=!0,this.setListeners(!1))}},onScroll:function(){this.isShown?this.setListeners(!1):(clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(this.checkView,parseInt(this.throttle,10)||100))}}}},wi={install:function(t){c(t,yi)}};f(wi);var _i=wi;function ki(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xi={bJumbotron:{functional:!0,props:{fluid:{type:Boolean,default:!1},containerFluid:{type:Boolean,default:!1},header:{type:String,default:null},headerTag:{type:String,default:"h1"},headerLevel:{type:[Number,String],default:"3"},lead:{type:String,default:null},leadTag:{type:String,default:"p"},tag:{type:String,default:"div"},bgVariant:{type:String,default:null},borderVariant:{type:String,default:null},textVariant:{type:String,default:null}},render:function(t,e){var n,i=e.props,r=e.data,o=[],s=(0,e.slots)();return(i.header||s.header)&&o.push(t(i.headerTag,{class:ki({},"display-"+i.headerLevel,Boolean(i.headerLevel))},s.header||i.header)),(i.lead||s.lead)&&o.push(t(i.leadTag,{staticClass:"lead"},s.lead||i.lead)),s.default&&o.push(s.default),i.fluid&&(o=[t(ke,{props:{fluid:i.containerFluid}},o)]),t(i.tag,a(r,{staticClass:"jumbotron",class:(n={"jumbotron-fluid":i.fluid},ki(n,"text-"+i.textVariant,Boolean(i.textVariant)),ki(n,"bg-"+i.bgVariant,Boolean(i.bgVariant)),ki(n,"border-"+i.borderVariant,Boolean(i.borderVariant)),ki(n,"border",Boolean(i.borderVariant)),n)}),o)}}},Ci={install:function(t){c(t,xi)}};f(Ci);var Si=Ci,Ti={bLink:B},$i={install:function(t){c(t,Ti)}};f($i);var Ei=$i,Ai={functional:!0,props:{tag:{type:String,default:"div"},flush:{type:Boolean,default:!1}},render:function(t,e){var n=e.props,i=e.data,r=e.children,o={staticClass:"list-group",class:{"list-group-flush":n.flush}};return t(n.tag,a(i,o),r)}};function Oi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Pi=["a","router-link","button","b-link"],Li=I();delete Li.href.default,delete Li.to.default;var Ii={bListGroup:Ai,bListGroupItem:{functional:!0,props:w({tag:{type:String,default:"div"},action:{type:Boolean,default:null},button:{type:Boolean,default:null},variant:{type:String,default:null}},Li),render:function(t,e){var n,i=e.props,r=e.data,o=e.children,s=i.button?"button":i.href||i.to?B:i.tag,l=Boolean(i.href||i.to||i.action||i.button||E(Pi,i.tag));return t(s,a(r,{staticClass:"list-group-item",class:(n={},Oi(n,"list-group-item-"+i.variant,Boolean(i.variant)),Oi(n,"list-group-item-action",l),Oi(n,"active",i.active),Oi(n,"disabled",i.disabled),n),attrs:"button"===s&&i.disabled?{disabled:!0}:{},props:i.button?{}:P(Li,i)}),o)}}},Bi={install:function(t){c(t,Ii)}};f(Bi);var Ni=Bi,Mi={functional:!0,props:{tag:{type:String,default:"div"}},render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.tag,a(i,{staticClass:"media-body"}),r)}};var ji={functional:!0,props:{tag:{type:String,default:"div"},verticalAlign:{type:String,default:"top"}},render:function(t,e){var n,i,r,o=e.props,s=e.data,l=e.children;return t(o.tag,a(s,{staticClass:"d-flex",class:(n={},i="align-self-"+o.verticalAlign,r=o.verticalAlign,i in n?Object.defineProperty(n,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[i]=r,n)}),l)}},Fi={bMedia:{functional:!0,props:{tag:{type:String,default:"div"},rightAlign:{type:Boolean,default:!1},verticalAlign:{type:String,default:"top"},noBody:{type:Boolean,default:!1}},render:function(t,e){var n=e.props,i=e.data,r=e.slots,o=e.children,s=n.noBody?o:[],l=r();return n.noBody||(l.aside&&!n.rightAlign&&s.push(t(ji,{staticClass:"mr-3",props:{verticalAlign:n.verticalAlign}},l.aside)),s.push(t(Mi,l.default)),l.aside&&n.rightAlign&&s.push(t(ji,{staticClass:"ml-3",props:{verticalAlign:n.verticalAlign}},l.aside))),t(n.tag,a(i,{staticClass:"media"}),s)}},bMediaAside:ji,bMediaBody:Mi},Di={install:function(t){c(t,Fi)}};f(Di);var Ri=Di;function Hi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Vi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ui=".sticky-top",zi=".navbar-toggler",qi={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},Wi={mixins:[de,Ue],components:{bBtn:bt,bBtnClose:s},render:function(t){var e=this,n=this.$slots,i=t(!1);if(!this.hideHeader){var r=n["modal-header"];if(!r){var o=t(!1);this.hideHeaderClose||(o=t("b-btn-close",{props:{disabled:this.is_transitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerTextVariant},on:{click:function(t){e.hide("header-close")}}},[n["modal-header-close"]])),r=[t(this.titleTag,{class:["modal-title"]},[n["modal-title"]||this.title]),o]}i=t("header",{ref:"header",class:this.headerClasses,attrs:{id:this.safeId("__BV_modal_header_")}},[r])}var a=t("div",{ref:"body",class:this.bodyClasses,attrs:{id:this.safeId("__BV_modal_body_")}},[n.default]),s=t(!1);if(!this.hideFooter){var l=n["modal-footer"];if(!l){var c=t(!1);this.okOnly||(c=t("b-btn",{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.is_transitioning},on:{click:function(t){e.hide("cancel")}}},[n["modal-cancel"]||this.cancelTitle])),l=[c,t("b-btn",{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.is_transitioning},on:{click:function(t){e.hide("ok")}}},[n["modal-ok"]||this.okTitle])]}s=t("footer",{ref:"footer",class:this.footerClasses,attrs:{id:this.safeId("__BV_modal_footer_")}},[l])}var u=t("div",{ref:"content",class:["modal-content"],attrs:{tabindex:"-1",role:"document","aria-labelledby":this.hideHeader?null:this.safeId("__BV_modal_header_"),"aria-describedby":this.safeId("__BV_modal_body_")},on:{focusout:this.onFocusout,click:function(t){t.stopPropagation(),e.$root.$emit("bv::dropdown::shown")}}},[i,a,s]),d=t("div",{class:this.dialogClasses},[u]),f=t("div",{ref:"modal",class:this.modalClasses,directives:[{name:"show",rawName:"v-show",value:this.is_visible,expression:"is_visible"}],attrs:{id:this.safeId(),role:"dialog","aria-hidden":this.is_visible?null:"true"},on:{click:this.onClickOut,keydown:this.onEsc}},[d]);f=t("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{"before-enter":this.onBeforeEnter,enter:this.onEnter,"after-enter":this.onAfterEnter,"before-leave":this.onBeforeLeave,leave:this.onLeave,"after-leave":this.onAfterLeave}},[f]);var p=t(!1);this.hideBackdrop||!this.is_visible&&!this.is_transitioning||(p=t("div",{class:this.backdropClasses,attrs:{id:this.safeId("__BV_modal_backdrop_")}}));var h=t(!1);return this.is_hidden||(h=t("div",{attrs:{id:this.safeId("__BV_modal_outer_")}},[f,p])),t("div",{},[h])},data:function(){return{is_hidden:this.lazy||!1,is_visible:!1,is_transitioning:!1,is_show:!1,is_block:!1,scrollbarWidth:0,isBodyOverflowing:!1,return_focus:this.returnFocus||null}},model:{prop:"visible",event:"change"},props:{title:{type:String,default:""},titleTag:{type:String,default:"h5"},size:{type:String,default:"md"},centered:{type:Boolean,default:!1},buttonSize:{type:String,default:""},noFade:{type:Boolean,default:!1},noCloseOnBackdrop:{type:Boolean,default:!1},noCloseOnEsc:{type:Boolean,default:!1},noEnforceFocus:{type:Boolean,default:!1},headerBgVariant:{type:String,default:null},headerBorderVariant:{type:String,default:null},headerTextVariant:{type:String,default:null},headerClass:{type:[String,Array],default:null},bodyBgVariant:{type:String,default:null},bodyTextVariant:{type:String,default:null},modalClass:{type:[String,Array],default:null},bodyClass:{type:[String,Array],default:null},footerBgVariant:{type:String,default:null},footerBorderVariant:{type:String,default:null},footerTextVariant:{type:String,default:null},footerClass:{type:[String,Array],default:null},hideHeader:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideHeaderClose:{type:Boolean,default:!1},hideBackdrop:{type:Boolean,default:!1},okOnly:{type:Boolean,default:!1},okDisabled:{type:Boolean,default:!1},cancelDisabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!1},returnFocus:{default:null},headerCloseLabel:{type:String,default:"Close"},cancelTitle:{type:String,default:"Cancel"},okTitle:{type:String,default:"OK"},cancelVariant:{type:String,default:"secondary"},okVariant:{type:String,default:"primary"},lazy:{type:Boolean,default:!1},busy:{type:Boolean,default:!1}},computed:{modalClasses:function(){return["modal",{fade:!this.noFade,show:this.is_show,"d-block":this.is_block},this.modalClass]},dialogClasses:function(){var t;return["modal-dialog",(t={},Hi(t,"modal-"+this.size,Boolean(this.size)),Hi(t,"modal-dialog-centered",this.centered),t)]},backdropClasses:function(){return["modal-backdrop",{fade:!this.noFade,show:this.is_show||this.noFade}]},headerClasses:function(){var t;return["modal-header",(t={},Hi(t,"bg-"+this.headerBgVariant,Boolean(this.headerBgVariant)),Hi(t,"text-"+this.headerTextVariant,Boolean(this.headerTextVariant)),Hi(t,"border-"+this.headerBorderVariant,Boolean(this.headerBorderVariant)),t),this.headerClass]},bodyClasses:function(){var t;return["modal-body",(t={},Hi(t,"bg-"+this.bodyBgVariant,Boolean(this.bodyBgVariant)),Hi(t,"text-"+this.bodyTextVariant,Boolean(this.bodyTextVariant)),t),this.bodyClass]},footerClasses:function(){var t;return["modal-footer",(t={},Hi(t,"bg-"+this.footerBgVariant,Boolean(this.footerBgVariant)),Hi(t,"text-"+this.footerTextVariant,Boolean(this.footerTextVariant)),Hi(t,"border-"+this.footerBorderVariant,Boolean(this.footerBorderVariant)),t),this.footerClass]}},watch:{visible:function(t,e){t!==e&&this[t?"show":"hide"]()}},methods:{show:function(){if(!this.is_visible){var t=new ln("show",{cancelable:!0,vueTarget:this,target:this.$refs.modal,relatedTarget:null});this.emitEvent(t),t.defaultPrevented||this.is_visible||(nt(document.body,"modal-open")?this.$root.$once("bv::modal::hidden",this.doShow):this.doShow())}},hide:function(t){if(this.is_visible){var e=new ln("hide",{cancelable:!0,vueTarget:this,target:this.$refs.modal,relatedTarget:null,isOK:t||null,trigger:t||null,cancel:function(){be("b-modal: evt.cancel() is deprecated. Please use evt.preventDefault()."),this.preventDefault()}});"ok"===t?this.$emit("ok",e):"cancel"===t&&this.$emit("cancel",e),this.emitEvent(e),!e.defaultPrevented&&this.is_visible&&(this._observer&&(this._observer.disconnect(),this._observer=null),this.is_visible=!1,this.$emit("change",!1))}},doShow:function(){var t=this;this.is_hidden=!1,this.$nextTick(function(){t.is_visible=!0,t.$emit("change",!0),t._observer=ue(t.$refs.content,t.adjustDialog.bind(t),qi)})},onBeforeEnter:function(){this.is_transitioning=!0,this.checkScrollbar(),this.setScrollbar(),this.adjustDialog(),tt(document.body,"modal-open"),this.setResizeEvent(!0)},onEnter:function(){this.is_block=!0,this.$refs.modal.scrollTop=0},onAfterEnter:function(){var t=this;this.is_show=!0,this.is_transitioning=!1,this.$nextTick(function(){t.focusFirst();var e=new ln("shown",{cancelable:!1,vueTarget:t,target:t.$refs.modal,relatedTarget:null});t.emitEvent(e)})},onBeforeLeave:function(){this.is_transitioning=!0,this.setResizeEvent(!1)},onLeave:function(){this.is_show=!1},onAfterLeave:function(){var t=this;this.is_block=!1,this.resetAdjustments(),this.resetScrollbar(),this.is_transitioning=!1,et(document.body,"modal-open"),this.$nextTick(function(){t.is_hidden=t.lazy||!1,t.returnFocusTo();var e=new ln("hidden",{cancelable:!1,vueTarget:t,target:t.lazy?null:t.$refs.modal,relatedTarget:null});t.emitEvent(e)})},emitEvent:function(t){var e=t.type;this.$emit(e,t),this.$root.$emit("bv::modal::"+e,t)},onClickOut:function(t){this.is_visible&&!this.noCloseOnBackdrop&&this.hide("backdrop")},onEsc:function(t){t.keyCode===Tt.ESC&&this.is_visible&&!this.noCloseOnEsc&&this.hide("esc")},onFocusout:function(t){var e=this.$refs.content;!this.noEnforceFocus&&this.is_visible&&e&&!e.contains(t.relatedTarget)&&e.focus()},setResizeEvent:function(t){var e=this;["resize","orientationchange"].forEach(function(n){t?dt(window,n,e.adjustDialog):ft(window,n,e.adjustDialog)})},showHandler:function(t,e){t===this.id&&(this.return_focus=e||null,this.show())},hideHandler:function(t){t===this.id&&this.hide()},modalListener:function(t){t.vueTarget!==this&&this.hide()},focusFirst:function(){if("undefined"!=typeof document){var t=this.$refs.content,e=this.$refs.modal,n=document.activeElement;n&&t&&t.contains(n)||t&&(e&&(e.scrollTop=0),t.focus())}},returnFocusTo:function(){var t=this.returnFocus||this.return_focus||null;"string"==typeof t&&(t=J(t)),t&&(t=t.$el||t,G(t)&&t.focus())},getScrollbarWidth:function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t),this.scrollbarWidth=t.getBoundingClientRect().width-t.clientWidth,document.body.removeChild(t)},adjustDialog:function(){if(this.is_visible){var t=this.$refs.modal,e=t.scrollHeight>document.documentElement.clientHeight;!this.isBodyOverflowing&&e&&(t.style.paddingLeft=this.scrollbarWidth+"px"),this.isBodyOverflowing&&!e&&(t.style.paddingRight=this.scrollbarWidth+"px")}},resetAdjustments:function(){var t=this.$refs.modal;t&&(t.style.paddingLeft="",t.style.paddingRight="")},checkScrollbar:function(){var t=st(document.body);this.isBodyOverflowing=t.left+t.right' instead."),t(n.tag,a(i,{class:{nav:!n.isNavBar,"navbar-nav":n.isNavBar,"nav-tabs":n.tabs&&!n.isNavBar,"nav-pills":n.pills&&!n.isNavBar,"flex-column":n.vertical&&!n.isNavBar,"nav-fill":n.fill,"nav-justified":n.justified}}),r)}},er=I(),nr={tag:{type:String,default:"span"}},ir={functional:!0,props:{id:{type:String,default:null}},render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(Sn,a(i,{attrs:{id:n.id},props:{inline:!0}}),r)}},rr={mixins:[de,pn],render:function(t){var e=t("a",{class:this.toggleClasses,ref:"toggle",attrs:{href:"#",id:this.safeId("_BV_button_"),disabled:this.disabled,"aria-haspopup":"true","aria-expanded":this.visible?"true":"false"},on:{click:this.toggle,keydown:this.toggle}},[this.$slots["button-content"]||this.$slots.text||t("span",{domProps:{innerHTML:this.text}})]),n=t("div",{class:this.menuClasses,ref:"menu",attrs:{"aria-labelledby":this.safeId("_BV_button_")},on:{mouseover:this.onMouseOver,keydown:this.onKeydown}},[this.$slots.default]);return t("li",{attrs:{id:this.safeId()},class:this.dropdownClasses},[e,n])},computed:{isNav:function(){return!0},dropdownClasses:function(){return["nav-item","b-nav-dropdown","dropdown",this.dropup?"dropup":"",this.visible?"show":""]},toggleClasses:function(){return["nav-link",this.noCaret?"":"dropdown-toggle",this.disabled?"disabled":"",this.extraToggleClasses?this.extraToggleClasses:""]},menuClasses:function(){return["dropdown-menu",this.right?"dropdown-menu-right":"dropdown-menu-left",this.visible?"show":"",this.extraMenuClasses?this.extraMenuClasses:""]}},props:{noCaret:{type:Boolean,default:!1},extraToggleClasses:{type:String,default:""},extraMenuClasses:{type:String,default:""},role:{type:String,default:"menu"}}},or={bNav:tr,bNavItem:{functional:!0,props:er,render:function(t,e){var n=e.props,i=e.data,r=e.children;return t("li",a(i,{staticClass:"nav-item"}),[t(B,{staticClass:"nav-link",props:n},r)])}},bNavText:{functional:!0,props:nr,render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.tag,a(i,{staticClass:"navbar-text"}),r)}},bNavForm:ir,bNavItemDropdown:rr,bNavItemDd:rr,bNavDropdown:rr,bNavDd:rr},ar={install:function(t){c(t,or),t.use(_n)}};f(ar);var sr=ar;function lr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var cr={functional:!0,props:{tag:{type:String,default:"nav"},type:{type:String,default:"light"},variant:{type:String},toggleable:{type:[Boolean,String],default:!1},toggleBreakpoint:{type:String,default:null},fixed:{type:String},sticky:{type:Boolean,default:!1}},render:function(t,e){var n,i=e.props,r=e.data,o=e.children,s=i.toggleBreakpoint||(!0===i.toggleable?"sm":i.toggleable)||"sm";return t(i.tag,a(r,{staticClass:"navbar",class:(n={},lr(n,"navbar-"+i.type,Boolean(i.type)),lr(n,"bg-"+i.variant,Boolean(i.variant)),lr(n,"fixed-"+i.fixed,Boolean(i.fixed)),lr(n,"sticky-top",i.sticky),lr(n,"navbar-expand-"+s,!1!==i.toggleable),n)}),o)}},ur={functional:!0,props:{tag:{type:String,default:"ul"},fill:{type:Boolean,default:!1},justified:{type:Boolean,default:!1}},render:function(t,e){var n=e.props,i=e.data,r=e.children;return t(n.tag,a(i,{staticClass:"navbar-nav",class:{"nav-fill":n.fill,"nav-justified":n.justified}}),r)}},dr=I();dr.href.default=void 0,dr.to.default=void 0;var fr=w(dr,{tag:{type:String,default:"div"}}),pr={mixins:[Ue],render:function(t){return t("button",{class:["navbar-toggler"],attrs:{type:"button","aria-label":this.label,"aria-controls":this.target,"aria-expanded":this.toggleState?"true":"false"},on:{click:this.onClick}},[this.$slots.default||t("span",{class:["navbar-toggler-icon"]})])},data:function(){return{toggleState:!1}},props:{label:{type:String,default:"Toggle navigation"},target:{type:String,required:!0}},methods:{onClick:function(){this.$root.$emit("bv::toggle::collapse",this.target)},handleStateEvt:function(t,e){t===this.target&&(this.toggleState=e)}},created:function(){this.listenOnRoot("bv::collapse::state",this.handleStateEvt)}},hr={bNavbar:cr,bNavbarNav:ur,bNavbarBrand:{functional:!0,props:fr,render:function(t,e){var n=e.props,i=e.data,r=e.children,o=Boolean(n.to||n.href);return t(o?B:n.tag,a(i,{staticClass:"navbar-brand",props:o?P(dr,n):{}}),r)}},bNavbarToggle:pr,bNavToggle:pr},mr={install:function(t){c(t,hr),t.use(sr),t.use(rn),t.use(_n)}};f(mr);var vr=mr,gr=function(t){return Array.apply(null,{length:t})};var br={disabled:{type:Boolean,default:!1},value:{type:Number,default:1},limit:{type:Number,default:5},size:{type:String,default:"md"},align:{type:String,default:"left"},hideGotoEndButtons:{type:Boolean,default:!1},ariaLabel:{type:String,default:"Pagination"},labelFirstPage:{type:String,default:"Goto first page"},firstText:{type:String,default:"«"},labelPrevPage:{type:String,default:"Goto previous page"},prevText:{type:String,default:"‹"},labelNextPage:{type:String,default:"Goto next page"},nextText:{type:String,default:"›"},labelLastPage:{type:String,default:"Goto last page"},lastText:{type:String,default:"»"},labelPage:{type:String,default:"Goto page"},hideEllipsis:{type:Boolean,default:!1},ellipsisText:{type:String,default:"…"}},yr={components:{bLink:B},data:function(){return{showFirstDots:!1,showLastDots:!1,currentPage:this.value}},props:br,render:function(t){var e=this,n=[],i=function(n,i,r,o){return o=o||n,e.disabled||e.isActive(o)?t("li",{class:["page-item","disabled"],attrs:{role:"none presentation","aria-hidden":"true"}},[t("span",{class:["page-link"],domProps:{innerHTML:r}})]):t("li",{class:["page-item"],attrs:{role:"none presentation"}},[t("b-link",{class:["page-link"],props:e.linkProps(n),attrs:{role:"menuitem",tabindex:"-1","aria-label":i,"aria-controls":e.ariaControls||null},on:{click:function(t){e.onClick(n,t)},keydown:function(t){t.keyCode===Tt.SPACE&&(t.preventDefault(),e.onClick(n,t))}}},[t("span",{attrs:{"aria-hidden":"true"},domProps:{innerHTML:r}})])])},r=function(){return t("li",{class:["page-item","disabled","d-none","d-sm-flex"],attrs:{role:"separator"}},[t("span",{class:["page-link"],domProps:{innerHTML:e.ellipsisText}})])};n.push(this.hideGotoEndButtons?t(!1):i(1,this.labelFirstPage,this.firstText)),n.push(i(this.currentPage-1,this.labelPrevPage,this.prevText,1)),n.push(this.showFirstDots?r():t(!1)),this.pageList.forEach(function(i){var r=void 0,o=e.makePage(i.number);if(e.disabled)r=t("span",{class:["page-link"],domProps:{innerHTML:o}});else{var a=e.isActive(i.number);r=t("b-link",{class:e.pageLinkClasses(i),props:e.linkProps(i.number),attrs:{role:"menuitemradio",tabindex:a?"0":"-1","aria-controls":e.ariaControls||null,"aria-label":e.labelPage+" "+i.number,"aria-checked":a?"true":"false","aria-posinset":i.number,"aria-setsize":e.numberOfPages},domProps:{innerHTML:o},on:{click:function(t){e.onClick(i.number,t)},keydown:function(t){t.keyCode===Tt.SPACE&&(t.preventDefault(),e.onClick(i.number,t))}}})}n.push(t("li",{key:i.number,class:e.pageItemClasses(i),attrs:{role:"none presentation"}},[r]))}),n.push(this.showLastDots?r():t(!1)),n.push(i(this.currentPage+1,this.labelNextPage,this.nextText,this.numberOfPages)),n.push(this.hideGotoEndButtons?t(!1):i(this.numberOfPages,this.labelLastPage,this.lastText));var o=t("ul",{ref:"ul",class:["pagination","b-pagination",this.btnSize,this.alignment],attrs:{role:"menubar","aria-disabled":this.disabled?"true":"false","aria-label":this.ariaLabel||null},on:{keydown:function(t){var n=t.keyCode,i=t.shiftKey;n===Tt.LEFT?(t.preventDefault(),i?e.focusFirst():e.focusPrev()):n===Tt.RIGHT&&(t.preventDefault(),i?e.focusLast():e.focusNext())}}},n);return this.isNav?t("nav",{},[o]):o},watch:{currentPage:function(t,e){t!==e&&this.$emit("input",t)},value:function(t,e){t!==e&&(this.currentPage=t)}},computed:{btnSize:function(){return this.size?"pagination-"+this.size:""},alignment:function(){return"center"===this.align?"justify-content-center":"end"===this.align||"right"===this.align?"justify-content-end":""},pageList:function(){this.currentPage>this.numberOfPages?this.currentPage=this.numberOfPages:this.currentPage<1&&(this.currentPage=1),this.showFirstDots=!1,this.showLastDots=!1;var t=this.limit,e=1;this.numberOfPages<=this.limit?t=this.numberOfPages:this.currentPage3?this.hideEllipsis||(t=this.limit-1,this.showLastDots=!0):this.numberOfPages-this.currentPage+23?(this.hideEllipsis||(this.showFirstDots=!0,t=this.limit-1),e=this.numberOfPages-t+1):(this.limit>3&&!this.hideEllipsis&&(this.showFirstDots=!0,this.showLastDots=!0,t=this.limit-2),e=this.currentPage-Math.floor(t/2)),e<1?e=1:e>this.numberOfPages-t&&(e=this.numberOfPages-t+1);var n=function(t,e){return gr(e).map(function(e,n){return{number:n+t,className:null}})}(e,t);if(n.length>3){var i=this.currentPage-e;if(0===i)for(var r=3;ri+1;s--)n[s].className="d-none d-sm-flex"}}return n}},methods:{isActive:function(t){return t===this.currentPage},pageItemClasses:function(t){return["page-item",this.disabled?"disabled":"",this.isActive(t.number)?"active":"",t.className]},pageLinkClasses:function(t){return["page-link",this.disabled?"disabled":"",this.isActive(t.number)?"btn-primary":""]},getButtons:function(){return X("a.page-link",this.$el).filter(function(t){return G(t)})},setBtnFocus:function(t){this.$nextTick(function(){t.focus()})},focusCurrent:function(){var t=this,e=this.getButtons().find(function(e){return parseInt(ot(e,"aria-posinset"),10)===t.currentPage});e&&e.focus?this.setBtnFocus(e):this.focusFirst()},focusFirst:function(){var t=this.getButtons().find(function(t){return!Y(t)});t&&t.focus&&t!==document.activeElement&&this.setBtnFocus(t)},focusLast:function(){var t=this.getButtons().reverse().find(function(t){return!Y(t)});t&&t.focus&&t!==document.activeElement&&this.setBtnFocus(t)},focusPrev:function(){var t=this.getButtons(),e=t.indexOf(document.activeElement);e>0&&!Y(t[e-1])&&t[e-1].focus&&this.setBtnFocus(t[e-1])},focusNext:function(){var t=this.getButtons(),e=t.indexOf(document.activeElement);ethis.numberOfPages?t=this.numberOfPages:t<1&&(t=1),this.currentPage=t,this.$nextTick(function(){var t=e.target;G(t)&&n.$el.contains(t)&&t.focus?t.focus():n.focusCurrent()}),this.$emit("change",this.currentPage)},makePage:function(t){return t},linkProps:function(t){return{href:"#"}}}}},_r={install:function(t){c(t,wr)}};f(_r);var kr,xr,Cr=_r,Sr="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},Tr=(kr="activeClass",xr=I(),kr=A(kr),_(xr).reduce(function(t,e){return E(kr,e)&&(t[e]=xr[e]),t},{})),$r={bPaginationNav:{mixins:[yr],props:w({numberOfPages:{type:Number,default:1},baseUrl:{type:String,default:"/"},useRouter:{type:Boolean,default:!1},linkGen:{type:Function,default:null},pageGen:{type:Function,default:null}},Tr),computed:{isNav:function(){return!0}},methods:{onClick:function(t,e){this.currentPage=t},makePage:function(t){return this.pageGen&&"function"==typeof this.pageGen?this.pageGen(t):t},makeLink:function(t){if(this.linkGen&&"function"==typeof this.linkGen)return this.linkGen(t);var e=""+this.baseUrl+t;return this.useRouter?{path:e}:e},linkProps:function(t){var e=this.makeLink(t),n={href:"string"==typeof e?e:void 0,target:this.target||null,rel:this.rel||null,disabled:this.disabled};return(this.useRouter||"object"===(void 0===e?"undefined":Sr(e)))&&(n=w(n,{to:e,exact:this.exact,activeClass:this.activeClass,exactActiveClass:this.exactActiveClass,append:this.append,replace:this.replace})),n}}}},Er={install:function(t){c(t,$r)}};f(Er);var Ar=Er,Or="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},Pr=function(){function t(t,e){for(var n=0;n